[hidden] { display: none !important; }
#title-screen { position:fixed; inset:0; z-index:2; display:flex; align-items:center; justify-content:center; padding:clamp(24px,5vw,80px); background:#0a1015 url('page-bg.jpg') center/cover; overflow:hidden; }
.title-layout { position:relative; display:flex; align-items:center; gap:clamp(24px,4vw,64px); width:100%; max-width:1300px; margin-inline:auto; }
.title-art { position:relative; flex:1; min-width:0; aspect-ratio:1200 / 630; background:url('patsy-social-v1.jpg') center / contain no-repeat; filter:drop-shadow(0 16px 40px #0009); }
.title-content { position:relative; flex-shrink:0; width:min(440px,40vw); }
.eyebrow { color:#c59c53; font-size:10px; letter-spacing:2px; margin:0 0 18px 15px; }
.dossier { position:relative; color:#272018; padding:28px 30px 16px; background:#d8cbb2 url('menu-paper.webp') center / 100% 100%; box-shadow:0 12px 50px #0009; transform:rotate(.7deg); border-radius:3px 9px 7px 3px; }
.dossier>* { position:relative; }
.paperclip { position:absolute; top:-16px; left:22px; width:16px; height:52px; border:3px solid #aba89b; border-radius:10px; box-shadow:inset 0 0 1px #000,2px 2px 2px #0008; transform:rotate(-7deg); z-index:1; }
.file-tag { margin:0 0 16px; font-size:10px; letter-spacing:2px; padding-left:22px; opacity:.6; }
.ink-heading { color:#efe7d7; background:#171613 url('menu-ink.webp') center / 100% 100%; margin:0 -13px 22px; padding:22px 23px 18px; transform:rotate(-.6deg); }
h1 { font-size:clamp(24px,2.3vw,34px); line-height:1.12; margin:0; letter-spacing:-1.4px; }
.ink-heading>span { display:block; width:78%; height:3px; background:#c59c53; margin-top:18px; transform:rotate(-1deg); }
.dossier label { display:block; font-size:10px; letter-spacing:1.5px; margin:0 0 8px; }
.dossier input { width:100%; min-width:0; font:16px 'Azeret Mono',monospace; color:#241d15; background:#fff4; border:1px solid #55432f66; border-bottom:2px solid #6b573a; border-radius:2px; padding:13px 12px; outline-offset:3px; margin-bottom:18px; touch-action:manipulation; }
.dossier input:focus-visible,.dossier button:focus-visible { outline:3px solid #936e2d; outline-offset:3px; }
.dossier button { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; font:700 17px 'Azeret Mono',monospace; cursor:pointer; min-height:55px; border-radius:6px; padding:14px 18px; touch-action:manipulation; }
.dossier button.primary { color:#211b11; background:#c59c53 url('menu-paper.webp') center / cover; background-blend-mode:multiply; border:2px solid #493a24; box-shadow:0 3px 0 #261f17; }
.dossier button.secondary { color:#e9ddc7; background:#211e1b; border:2px solid #5f5749; }
.dossier button:hover { filter:brightness(1.1); }
.dossier button:disabled { opacity:.55; cursor:wait; }
.dossier button svg { height:25px; width:25px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; }
.choice-note { font-size:10px; line-height:1.6; margin:9px 0 17px; opacity:.8; }
#menu-status { font-size:11px; line-height:1.5; margin:10px 0; color:#693c26; min-height:0; }
#menu-status:empty { display:none; }
#invite-status,#exit-copy { font-size:13px; line-height:1.6; }
#invite-link { font-size:11px; }
#exit-panel .secondary { margin-top:16px; }
.dossier button.text-button { min-height:32px; padding:4px 0; justify-content:center; font-size:11px; border:0; background:none; text-decoration:underline; color:#41382c; }
.file-footer { border-top:1px solid #4f433a66; padding-top:12px; margin-top:8px; display:flex; justify-content:space-between; font-size:8px; letter-spacing:1px; opacity:.65; }
.file-footer span { padding-bottom:14px; }
.menu-fineprint { font-size:10px; line-height:1.7; color:#a69e90; text-align:center; margin:20px 0 0; }
@media (orientation:portrait) {
  #title-screen { display:block; padding:0; padding-top:env(safe-area-inset-top); }
  .title-layout { display:block; height:100%; }
  .title-art { position:absolute; inset:0 0 auto; height:35%; aspect-ratio:auto; background:url('patsy-social-v1.jpg') center center / contain no-repeat; }
  .title-art::after { content:''; position:absolute; inset:65% 0 0; background:linear-gradient(transparent,#0a1015); }
  .title-content { margin:0; position:absolute; top:29%; left:50%; transform:translateX(-50%); width:86%; max-width:440px; bottom:env(safe-area-inset-bottom); }
  .eyebrow { display:none; }
  .dossier { padding:20px 25px 12px; }
  .file-tag { font-size:8px; margin-bottom:10px; }
  .ink-heading { margin-bottom:16px; padding:15px 20px 13px; }
  h1 { font-size:25px; }
  .ink-heading>span { margin-top:12px; height:2px; }
  .dossier input { margin-bottom:14px; padding:11px; }
  #invite-link { font-size:16px; }
  .dossier button { min-height:48px; padding:10px 14px; font-size:15px; }
  .choice-note { margin:7px 0 12px; font-size:9px; }
  .menu-fineprint { margin-top:13px; font-size:9px; }
  .file-footer { padding-top:9px; font-size:7px; }
}
@media (max-height:720px) and (orientation:portrait) {
  .title-art { height:29%; }.title-content { top:24%; }
  .dossier { padding-top:14px; }.ink-heading { margin-bottom:12px; padding:12px 18px; }
  h1 { font-size:22px; }.ink-heading>span { margin-top:9px; }
  .menu-fineprint { display:none; }.file-footer { margin-top:4px; }
  .choice-note { margin:6px 0 9px; }.dossier input { margin-bottom:11px; }
}
@media (max-height:540px) and (orientation:landscape) {
  #title-screen { padding:12px; }.title-content { width:350px; }.eyebrow,.menu-fineprint,.file-footer { display:none; }
  .dossier { padding:18px 25px 12px; }.file-tag { margin-bottom:9px; }.ink-heading { padding:12px 20px; margin-bottom:12px; }
  h1 { font-size:23px; }.ink-heading>span { margin-top:10px; }.choice-note { margin:7px 0 10px; }
}
