:root {
  color-scheme: dark;
  --paper: #f3eadc;
  --muted: #bbb7aa;
  --gold: #dfbb77;
  --gold-bright: #f2d394;
  --line: #524d40;
  --ink: #0a1011;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  font: 100%/1.5 var(--sans);
  background: #080d0e;
  color: var(--paper);
}
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 38% 0%, #17201c 0, transparent 47rem), #0a0f10 }
button, select, input { font: inherit }
button, select, a { -webkit-tap-highlight-color: transparent }
button, a, select { touch-action: manipulation }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: .25em }
button { cursor: pointer; color: inherit }
button:disabled, input:disabled { cursor: default }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid #f8d783; outline-offset: 4px }
.sr { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap }
.masthead { display: flex; align-items: center; gap: clamp(1.25rem,3vw,3rem); padding: .8rem clamp(1rem,3.8vw,4.5rem); min-height: 3.8rem; border-bottom: 1px solid var(--line); background: #090e0fed }
.wordmark { font: 1.05rem var(--serif); text-decoration: none; text-transform: uppercase; letter-spacing: .24em; white-space: nowrap }
.world-link { padding-left: clamp(1rem,2.7vw,2.8rem); border-left: 1px solid #716750; color: #d7cdba; text-decoration: none; font-size: .9rem }
.world-link:hover, .cinema-nav a:hover, .music-toggle:hover { color: var(--gold-bright) }
.locale { margin-left: auto; position: relative; display: flex; align-items: center; }
.locale::after { content: ''; pointer-events: none; position: absolute; right: .15rem; top: 44%; border: solid var(--gold); border-width: 0 1px 1px 0; width: .38rem; height: .38rem; transform: rotate(45deg) }
.locale select { appearance: none; border: 0; background: transparent; padding: .55rem 1.22rem .55rem .65rem; max-width: 9.5rem; color: var(--paper); cursor: pointer; font-size: .9rem }
.locale option { color: #fff; background: #151a1b }
.pub-main { width: min(100%, 112rem); margin: 0 auto; padding: 0 clamp(1rem,3.8vw,4.5rem) 2.4rem }
.room-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: clamp(1.5rem,3vw,3rem) 0 1.2rem }
.room-heading h1, .menu h2, .information h2, .order-heading h2 { font: 400 clamp(2.6rem,5.1vw,5.25rem)/1.08 var(--serif); margin: 0; letter-spacing: -.045em; text-wrap: balance }
.location, .eyebrow, .service-caption { color: var(--gold); font: 600 .78rem/1.5 var(--sans); text-transform: uppercase; letter-spacing: .16em; margin: 0 0 .45rem }
.room-actions { display: flex; align-items: center; position: relative; gap: 1rem; padding-bottom: .35rem; flex-shrink: 0 }
.enter-link, .music-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; color: var(--paper); font-size: .95rem; min-height: 42px; white-space: nowrap }
.music-toggle { background: transparent; padding: .4rem; border: 0 }
.music-toggle span { color: var(--gold); font: 1.35rem var(--serif) }
.enter-link { border: 1px solid #a48a5a; border-radius: 2px; padding: .45rem .95rem; text-decoration: none; color: var(--gold-bright) }
.enter-link:hover, .cinema-button:hover { border-color: var(--gold-bright); background: #352c1b }
.music-panel { position: absolute; top: calc(100% + .35rem); right: 0; z-index: 4; min-width: 11rem; border: 1px solid var(--line); padding: .45rem; background: #141a19; box-shadow: 0 .6rem 2rem #0009 }
.music-panel button { display: block; width: 100%; padding: .6rem .7rem; border: 0; background: none; text-align: left; font-size: .95rem }
.music-panel button:hover, .music-panel button[aria-pressed=true] { color: var(--gold); background: #292a21 }
.bar-layout { display: grid; grid-template-columns: minmax(0,2.6fr) minmax(17rem,1fr); gap: .85rem; align-items: stretch }
.room-image { position: relative; margin: 0; aspect-ratio: 16/8.5; min-width: 0; background: #201b13; overflow: hidden; border: 1px solid var(--line) }
.room-image>img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block }
.conversation { display: flex; flex-direction: column; min-height: 0; overflow: hidden; max-height: 100%; border: 1px solid var(--line); background: linear-gradient(145deg,#141b19,#101515 65%) }
.chat-tabs { display: flex; border-bottom: 1px solid var(--line); padding: 0 .8rem; flex: none }
.chat-tabs button { font: 1.25rem var(--serif); border: 0; border-bottom: 2px solid transparent; background: transparent; padding: .85rem 1rem .75rem; color: var(--muted) }
.chat-tabs [aria-selected=true] { border-bottom-color: var(--gold); color: var(--paper) }
.chat-content { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: auto; scrollbar-color: #675c44 transparent; padding: 1.15rem }
.thread { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem }
.message { width: fit-content; max-width: 100%; }
.message b { display: block; color: var(--muted); font: 550 .78rem/1.5 var(--sans); letter-spacing: .035em; margin-bottom: .25rem; overflow-wrap: anywhere }
.message p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; background: #ebe4d6; color: #1c211f; padding: .56rem .8rem; border-radius: .1rem .7rem .7rem .7rem; font-size: .95rem }
.message.own { align-self: flex-end }
.message.own p { color: var(--paper); background: #38453d; border-radius: .7rem .1rem .7rem .7rem }
.room-empty, .lock-copy { color: var(--muted); font-size: .9rem }
.lock-copy { display: flex; align-items: flex-start; gap: .6rem; padding-top: 1.5rem; margin: auto 0 0; line-height: 1.45 }
.lock-copy svg { color: var(--gold); flex: 0 0 1rem; margin-top: .07rem }
.compose { display: flex; margin: 0 .8rem .8rem; border: 1px solid #696452; border-radius: .3rem; background: #0a100f; overflow: hidden }
.compose:focus-within { outline: 1px solid var(--gold) }
.compose input { background: transparent; border: 0; color: var(--paper); width: 100%; padding: .7rem; min-width: 0 }
.compose input:focus-visible { outline: none }
.compose input::placeholder { color: #a4a79a }
.compose button { background: transparent; border: 0; color: var(--gold); padding: 0 .85rem; display: grid; place-items: center }
.compose button:disabled { color: #7d8277 }
.statusline:empty { display: none }
.statusline { margin: 0 .85rem .65rem; font-size: .86rem; color: var(--gold) }
.menu { margin-top: 1.6rem; scroll-margin-top: 1rem }
.menu-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1rem }
.menu h2,.information h2,.order-heading h2 { font-size: clamp(1.75rem,2.6vw,2.75rem) }
.happy-note { border-left: 2px solid #9a7f4e; padding: .05rem 0 .05rem .8rem; margin: 0; font-size: .88rem; color: #cac5b6; max-width: 31rem }
.happy-note b { color: var(--gold); margin-right: .25rem }
.drink-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: .65rem }
.drink-card { display: grid; grid-template-columns: clamp(3.2rem,4.7vw,4.8rem) 1fr auto; align-items: center; gap: .78rem; min-height: 5.3rem; min-width: 0; padding: 0 .85rem 0 0; overflow: hidden; border: 1px solid #595241; border-radius: 4px; background: linear-gradient(120deg,#25271f,#131916 70%); text-align: left; transition: background-color .18s,border-color .18s }
.drink-card:hover, .drink-card:focus-visible { border-color: #bc9a62; background: #282d25 }
.drink-card img { object-fit: cover; width: 100%; height: 100%; min-height: 5.3rem; max-height: 6rem; background: #27261d }
.drink-card span { min-width: 0 }
.drink-card strong { display: block; font: 400 1.13rem/1.25 var(--serif); overflow-wrap: anywhere }
.drink-card small { display: block; color: var(--muted); font-size: .8rem; margin-top: .15rem }
.drink-card b { color: #e6ca94; font-variant-numeric: tabular-nums; font-size: .95rem; font-weight: 530; }
.information { margin-top: 2.25rem; padding: 1.65rem 0 .5rem; border-top: 1px solid var(--line); font-size: .95rem; color: #c9c7bc; scroll-margin-top: 1rem }
.information h2 { color: var(--paper); font-size: 1.65rem }
.information>p { max-width: 65ch; margin: .55rem 0 1rem }
.legal-content { overflow-wrap: anywhere }
.legal-content h3,.legal-content strong,.legal-content summary,.legal-content dt { color: var(--paper) }
.legal-content h3 { margin: .75rem 0 .15rem; font-size: 1rem }
.legal-content p { max-width: 72ch; margin: .35rem 0 .8rem }
.legal-content summary { padding: .4rem 0; cursor: pointer }
.payment-status { margin: 1rem 0 0; color: var(--gold-bright) }
.served { position: absolute; bottom: 1rem; left: 1rem; border: 1px solid #8e754e; border-radius: .25rem; padding: .8rem 1rem; display: grid; grid-template-columns: auto auto; align-items: center; gap: .2rem .8rem; background: #0c1511f2; box-shadow: 0 3px 22px #0006 }
.service-caption { font-size: .69rem; grid-column: 1; margin: 0 }
.served>strong { font: 1.25rem var(--serif); grid-column: 1 }
#sip { border: 1px solid #827351; background: #222820; color: var(--gold-bright); border-radius: .2rem; display: flex; align-items: center; gap: .45rem; padding: .42rem .65rem; grid-column: 2; grid-row: 1/3 }
#glass { width: 1.08rem; height: 1.35rem; display: inline-block; border: 1px solid #e8d8ae; border-radius: .1rem .1rem .28rem .28rem; background: linear-gradient(to top,var(--liquid,#e6a84d) 0 var(--level,100%), transparent var(--level,100%)); transform: perspective(35px) rotateX(-15deg) }
#glass.cocktail { clip-path: polygon(0 0,100% 0,58% 67%,58% 88%,80% 92%,80% 100%,20% 100%,20% 92%,42% 88%,42% 67%); background: linear-gradient(to top,#9edef6 0 32%,#2d99ca 32% var(--level,100%),#b5ced3 var(--level,100%)); transform: none }
#glass.tumbler { width: 1.16rem; height: 1rem; border-radius: .1rem .1rem .22rem .22rem; transform: none }
#sip-count { grid-column: 1/-1; color: #c8c3b4; font-size: .8rem }
dialog { color: var(--paper); border: 1px solid #786d54; border-radius: .4rem; background: #111918; padding: 0; width: min(28rem, calc(100% - 1.2rem)); max-height: 90dvh; overflow-y: auto; box-shadow: 0 1rem 6rem #000a }
dialog::backdrop { background: #030707be }
.order-wrap { padding: 1.4rem }
.order-heading,.order-product,.total { display: flex; align-items: center; justify-content: space-between; gap: 1rem }
.close { width: 2.3rem; height: 2.3rem; background: transparent; border: 0; color: var(--muted); font-size: 1.65rem }
.order-product { justify-content: start; padding: 1.2rem 0; border-bottom: 1px solid var(--line) }
.order-product img { object-fit: cover; border-radius: .2rem }
.order-product strong { font: 1.45rem var(--serif) }
.order-product p { margin: .12rem 0 0; color: var(--muted) }
.size-options { display: flex; flex-wrap: wrap; gap: .85rem 1.5rem; border: 0; margin: .9rem 0; padding: 0 }
.size-options legend,.nickname-label { color: var(--muted); font-size: .9rem }
.size-options label { display: flex; gap: .3rem; align-items: center; cursor: pointer; padding: .15rem 0 }
.size-options input { accent-color: var(--gold) }
.nickname-label { display: block; margin: .85rem 0 }
.nickname-label input,.name-form input { display: block; width: 100%; padding: .55rem .7rem; border: 1px solid #736d5b; border-radius: .2rem; color: var(--paper); background: #0b100f }
.total { padding-top: .8rem; border-top: 1px solid var(--line); font-size: 1.15rem }
.order-description,.checkout-note,#order-terms { font-size: .88rem }
.order-description { color: var(--muted); margin: .8rem 0 .25rem }
.start-service { display: flex; align-items: flex-start; gap: .55rem; margin-top: .8rem; font-size: .88rem; cursor: pointer }
.start-service input { width: 1.15rem; height: 1.15rem; flex-shrink: 0; accent-color: var(--gold) }
.checkout-note { color: var(--gold); margin: .7rem 0 .4rem }
.gold-button { border: 1px solid #e4c181; color: #211a0d; background: #e3c184; border-radius: .2rem; padding: .64rem 1.15rem; font-weight: 620 }
.gold-button:hover:enabled { background: #f1d198 }
.gold-button:disabled { background: #3c4035; color: #c9cabb; border-color: #656853 }
.pay { width: 100%; margin-top: .4rem }
.stripe-note { color: var(--muted); display: block; text-align: center; margin: .55rem 0 0; font-size: .78rem }
html[data-mode=enter] .masthead, html[data-mode=enter] .pub-main { display: none }
html[data-mode=enter],html[data-mode=enter] body { background: #000 }
.cinema { position: relative; display: grid; place-items: center; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; isolation: isolate; background: #000 }
.cinema video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000 }
.curtain { position: absolute; inset: 0; pointer-events: none; background: #000; opacity: 1; transition: opacity .42s ease }
.curtain.clear { opacity: 0 }
.cinema-nav { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: max(1.2rem,env(safe-area-inset-top)) max(1.15rem,4vw) 2.7rem; background: linear-gradient(#000b,transparent) }
.cinema-nav a:last-child { color: #efe8da; font-size: .92rem }
.volume { position: absolute; right: max(1rem,3vw); bottom: max(1rem,env(safe-area-inset-bottom)); width: 2.8rem; height: 2.8rem; display: grid; place-items: center; background: #101413ba; border: 1px solid #938875; border-radius: 100% }
.volume[aria-pressed=true] .soundwave { display: none }
.cinema-controls { position: absolute; bottom: max(9%,calc(1.1rem + env(safe-area-inset-bottom))); left: 50%; transform: translateX(-50%); width: min(calc(100% - 2rem),30rem); text-align: center }
.cinema-controls>div:not([hidden]),.name-form { display: block; width: fit-content; max-width: 100%; margin: auto; background: #101512e8; border: 1px solid #857350; padding: .5rem; border-radius: .35rem; box-shadow: 0 .4rem 1.6rem #0005 }
.cinema-controls button,.cinema-button { min-height: 2.75rem; padding: .54rem 1.15rem }
.cinema-button,#film-retry { color: var(--paper); text-decoration: none; display: inline-flex; align-items: center; background: none; border: 1px solid transparent; border-radius: .2rem }
#load-error p { margin: .4rem .8rem .6rem }
.name-form { text-align: left; padding: .85rem }
.name-form label { display: block; font: 1.35rem var(--serif); margin: .15rem 0 .65rem }
.name-form div { display: flex; gap: .5rem }
.name-form input { min-width: 0 }
@media(min-width:1500px) { .drink-grid { grid-template-columns: repeat(4,minmax(0,1fr)) } }
@media(max-width:850px) {
  .bar-layout { grid-template-columns: minmax(0,1.8fr) minmax(15rem,1fr) }
  .room-image { aspect-ratio: 4/3 }
  .room-actions { gap: .45rem }
}
@media(max-width:650px) {
  .masthead { gap: .75rem; padding: .6rem 1rem; min-height: 3.3rem }
  .wordmark { font-size: .91rem; letter-spacing: .17em }
  .world-link { display: none }
  .pub-main { padding-inline: .85rem }
  .room-heading { align-items: start; padding: 1.3rem 0 .8rem; flex-wrap: wrap; gap: .55rem }
  .room-actions { padding: 0; width: 100%; justify-content: space-between; flex-direction: row-reverse }
  .room-actions .enter-link,.room-actions .music-toggle { min-height: 2.45rem }
  .music-panel { right: 0 }
  .bar-layout { display: flex; flex-direction: column; gap: .6rem }
  .room-image { aspect-ratio: 16/10 }
  .conversation { height: 14.5rem }
  .chat-content { padding: .8rem .95rem }
  .chat-tabs button { padding: .6rem .8rem; font-size: 1.12rem }
  .lock-copy { padding-top: .7rem }
  .compose { margin-bottom: .6rem }
  .menu-heading { align-items: flex-start; flex-direction: column; gap: .7rem }
  .drink-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem }
  .drink-card { grid-template-columns: 2.8rem minmax(0,1fr); gap: .1rem .5rem; min-height: 4.7rem; padding-right: .35rem }
  .drink-card img { grid-row: span 2; min-height: 4.7rem; max-height: 5.8rem }
  .drink-card span { align-self: end; padding-top: .3rem }
  .drink-card strong { font-size: 1.02rem }
  .drink-card small { font-size: .72rem }
  .drink-card b { align-self: start; padding-bottom: .2rem; font-size: .86rem }
  dialog { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: .65rem .65rem 0 0; max-height: 94dvh }
  .order-wrap { padding-bottom: max(1.4rem,env(safe-area-inset-bottom)) }
  .cinema-nav { padding-inline: 1rem }
  .cinema-controls { bottom: max(12%,calc(3.8rem + env(safe-area-inset-bottom))) }
}
@media(max-width:360px) { .drink-grid { grid-template-columns: 1fr } }
@media(max-height:500px) and (orientation:landscape) { .cinema-controls { bottom: 4% } .cinema-nav { padding-block: .55rem 1.35rem } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition-duration: .001ms!important; scroll-behavior: auto!important } }
