html.birthday-menu-is-open {overflow:hidden}
#birthday-menu-reader {
  position:fixed; inset:0; margin:auto; box-sizing:border-box; overflow:hidden;
  width:min(860px,calc(100% - 32px)); max-width:none;
  height:min(960px,calc(100% - 32px)); height:min(960px,calc(100dvh - 32px)); max-height:none;
  padding:0; border:0; border-radius:18px; background:#fbf7ee; color:#352a1d;
}
#birthday-menu-reader[open] {display:grid; grid-template-rows:auto minmax(0,1fr) auto}
#birthday-menu-reader::backdrop {background:rgba(31,25,19,.72)}
#birthday-menu-reader [hidden] {display:none!important}
#birthday-menu-reader .birthday-menu-head,
#birthday-menu-reader .birthday-menu-tools {
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:10px 18px; margin:0; position:static; background:#fbf7ee; color:inherit;
}
#birthday-menu-reader #birthday-menu-title {font-weight:400; font-size:clamp(21px,3vw,30px)!important; line-height:1.14!important; margin:0!important}
#birthday-menu-reader .birthday-menu-surface {
  position:relative; min-width:0; min-height:0; overflow:auto; overscroll-behavior:contain;
  background:#f0e8d8; scrollbar-color:#bda57a #f0e8d8;
}
#birthday-menu-reader [data-menu-image] {display:block; width:100%; height:100%; max-width:none; object-fit:contain; object-position:center; border:0; border-radius:0}
#birthday-menu-reader .birthday-menu-surface.is-zoomed [data-menu-image] {width:max(1080px,135%); height:auto; object-fit:unset; margin:0 auto}
#birthday-menu-reader [data-menu-text] {
  max-width:62ch; margin:0 auto; padding:22px 18px; box-sizing:content-box;
  font:inherit; font-size:17px; line-height:1.6; white-space:pre-line; overflow-wrap:anywhere;
}
#birthday-menu-reader [data-menu-message] {margin:24px; font:inherit}
#birthday-menu-reader .birthday-menu-pager, #birthday-menu-reader .birthday-menu-modes {display:flex; align-items:center; gap:8px}
#birthday-menu-reader button, #birthday-menu-reader .birthday-menu-modes a {
  display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; color:inherit;
  min-height:44px; min-width:44px; padding:0 12px; text-decoration:none; font:inherit; font-size:14px;
  line-height:1.2; border:0; border-radius:10px; background:transparent; cursor:pointer;
}
#birthday-menu-reader [data-menu-close] {font-size:25px; line-height:1; border-radius:50%}
#birthday-menu-reader .birthday-menu-pager button {font-size:20px; background:#efddb7}
#birthday-menu-reader button:hover:not(:disabled), #birthday-menu-reader .birthday-menu-modes a:hover {background:#eddfbf}
#birthday-menu-reader button[aria-pressed=true] {background:#e8c476}
#birthday-menu-reader button:disabled {opacity:.4;cursor:default}
#birthday-menu-reader :focus-visible {outline:2px solid #946214; outline-offset:-3px}
#birthday-menu-reader [data-menu-counter] {font:inherit; font-size:14px; text-align:center; min-width:3.3em; white-space:nowrap; font-variant-numeric:tabular-nums}
@media(max-width:600px) {
  #birthday-menu-reader {width:calc(100% - 12px); height:calc(100% - 16px); height:calc(100dvh - 16px); border-radius:14px}
  #birthday-menu-reader .birthday-menu-head, #birthday-menu-reader .birthday-menu-tools {padding:6px 8px;gap:4px}
  #birthday-menu-reader .birthday-menu-tools {flex-wrap:wrap}
  #birthday-menu-reader .birthday-menu-pager, #birthday-menu-reader .birthday-menu-modes {gap:2px}
  #birthday-menu-reader .birthday-menu-modes button, #birthday-menu-reader .birthday-menu-modes a {padding:0 6px}
}
