.birthday-gate { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: var(--bg-1); }
.birthday-gate > section { width: min(460px,100%); }
.birthday-gate h2, .birthday-setup h2 { font-size: 23px; margin: 18px 0 12px; }
.birthday-gate p, .birthday-setup p { color: var(--text-2); font-size: 14px; line-height: 1.65; }
.birthday-gate .btn.ghost, .birthday-setup .btn.ghost { margin-top: 12px; }
.birthday-form input[type=date], .auth-form input[type=date] { min-width: 0; max-width: 100%; color-scheme: inherit; }
.modal-foot [hidden], .go-live [hidden] { display: none !important; }
.modal-foot:has(#gl-go) { flex-wrap: wrap; }
.birthday-deadline { border-left: 2px solid var(--gold); padding: 8px 12px; background: var(--gold-soft); }
.account-birthday { margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.account-birthday h3 { margin: 0 0 10px; }
.account-birthday p { margin: 0 0 8px; }
.account-birthday small { display: block; color: var(--muted); line-height: 1.6; }
.account-birthday .btn { margin-top: 12px; }
.birthday-reminder { display: inline-block; text-align: left; margin-top: 10px; color: var(--gold); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.admin-birthday { display: block; color: var(--text-2); font-size: 12px; margin-top: 6px; }
.pp-greet > div { min-width: 0; }
.pp-greet h1 { overflow-wrap: anywhere; }

/* Keep the avatar's own layout rules: the old > div selector stretched it into the text column. */
.cos-top { display: grid; grid-template-columns: 80px minmax(0,1fr) auto; gap: 22px; align-items: center; padding: 26px 22px; }
.cos-top > .av { width: 80px; height: 80px; display: block; flex: none; }
.cos-top > div:not(.av) { min-width: 0; overflow-wrap: anywhere; }
.cos-top > div:not(.av) > b { font-size: 17px !important; line-height: 1.5; }
.cos-top > .btn { max-width: 100%; }
.pbadge .pbadge-tip { display: none !important; }
.badge-tooltip { position: fixed; z-index: 10000; pointer-events: none; width: max-content; max-width: min(260px,calc(100vw - 16px)); border-radius: 6px; border: 1px solid #343640; padding: 10px 12px; background: #111217; color: #f3f5f9; box-shadow: 0 5px 22px #0006; font: 12px/1.5 var(--font); overflow-wrap: anywhere; }
.badge-tooltip b { display: block; font-weight: 600; }
.badge-tooltip span { display: block; color: #bbc2cf; margin-top: 3px; }

.curtain { background: #16181e; transition: opacity .6s ease; }
.curtain.lift { clip-path: none; opacity: 0; }
.cur-grid, .cur-ring, .cur-edge { display: none; }
.cur-glow { background: radial-gradient(ellipse at center,rgba(245,197,24,.045),transparent 60%); animation: none; }
.cur-center { gap: 20px; padding: 24px; margin-top: -2vh; }
.cur-cube { width: 82px; height: 82px; filter: none; }
.cur-word { font: 650 clamp(22px,4.6vw,30px)/1.2 var(--font); letter-spacing: -.025em; }
.cur-word span.g { text-shadow: none; }
.cur-message { font: 450 14px/1.65 var(--font); color: #c3cad7; max-width: 360px; min-height: 46px; text-align: center; margin: 2px 0 0; }
.cur-bar { width: 240px; max-width: 80vw; height: 3px; }
.cur-status { font-size: 11px; letter-spacing: 0; color: #8993a7; }
@media(max-width:760px) {
  .cos-top { grid-template-columns: 64px minmax(0,1fr); padding: 24px 18px; gap: 20px; }
  .cos-top > .av { width: 64px; height: 64px; }
  .cos-top > .btn { grid-column: 1 / -1; width: 100%; }
}
@media(prefers-reduced-motion:reduce) { .curtain { transition: opacity .15s; } }
