/* White page, black type, casino-felt green for open tables, wine red for taken ones. */
:root{
  color-scheme:light;
  --bg:#ffffff; --panel:#f7f6f3; --raise:#efede8; --line:#dad7cf;
  --ink:#111112; --muted:#6a665e;
  --felt:#1b7a57; --felt-dim:#e7f4ee;
  --steel:#3d64a0; --steel-dim:#e9eef7;
  --wine:#b3263a; --wine-dim:#fbe9ec;
  --display:"Bodoni Moda","Didot","Times New Roman",serif;
  --body:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.wrap{max-width:980px;margin:0 auto;padding:20px 16px 80px;display:flex;flex-direction:column;gap:20px}
header{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px}
header img{height:96px;width:96px;object-fit:contain;flex:none}
header .ttl{flex:1 1 220px}
.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
h1{font-family:var(--display);font-weight:700;font-size:clamp(26px,7vw,42px);line-height:1.05;margin:4px 0 0;text-wrap:balance}
.sub{color:var(--muted);font-size:14px;margin-top:6px}
.btn{border:1px solid var(--line);background:var(--raise);border-radius:10px;padding:11px 16px;font-weight:600;cursor:pointer;min-height:44px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;text-align:center;color:var(--ink)}
.btn:hover{border-color:var(--muted)}
.btn.primary{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn.lock{background:var(--wine);border-color:var(--wine);color:#fff}
.btn.wa{background:#1f8f5f;border-color:#1f8f5f;color:#fff}
.btn.ghost{background:transparent}
.btn.sm{min-height:36px;padding:6px 12px;font-size:14px}
.btn[disabled]{opacity:.5;cursor:default}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.stat{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px}
.stat b{display:block;font-family:var(--display);font-size:24px;font-variant-numeric:tabular-nums;line-height:1.1}
.stat span{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}
.dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}
.dot.a{background:var(--felt)} .dot.h{background:var(--steel)} .dot.b{background:var(--wine)}
.notice{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:12px 14px;color:var(--muted);font-size:14px}
.notice.mine{border-color:var(--steel);background:var(--steel-dim);color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.chip{border:1px solid var(--line);background:transparent;border-radius:999px;padding:8px 14px;font-size:14px;cursor:pointer;min-height:38px}
.chip[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink);font-weight:600}
.bar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mapScroll{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.map{position:relative;min-width:860px;aspect-ratio:1000/760}
.mt{position:absolute;border-radius:8px;border:1.5px solid var(--felt);background:var(--felt-dim);font-family:var(--display);font-weight:700;font-size:15px;cursor:pointer;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;padding:0;line-height:1;text-align:center}
.mt i{font-style:normal;font-family:var(--body);font-weight:600;font-size:10px;opacity:.85}
.mt.round{border-radius:50%;font-size:11px;font-family:var(--body)}
.mt.held{border-style:dashed;border-color:var(--steel);background:var(--steel-dim)}
.mt.booked{border-color:var(--wine);background:var(--wine);color:#fff;text-decoration:line-through}
.mt.dim{opacity:.22}
.lm{position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);border:1px solid var(--line);border-radius:8px;line-height:1.2;padding:2px;background:var(--bg)}
.lm.zone{background:var(--wine-dim);border-color:var(--wine);color:var(--ink);font-family:var(--display);font-size:16px;letter-spacing:.14em}
.lm.label{border:0;background:transparent}
.lm.dj{background:var(--raise);color:var(--ink)}
.lm.door{border-style:dashed}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}
.tile{position:relative;text-align:left;border-radius:12px;padding:12px 12px 10px;min-height:92px;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;gap:6px;border:1.5px solid var(--felt);background:var(--felt-dim)}
.tile .lbl{font-family:var(--display);font-weight:700;font-size:22px;line-height:1}
.tile .price{font-weight:600;font-size:14px;font-variant-numeric:tabular-nums}
.tile .state{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--felt)}
.tile.held{border:1.5px dashed var(--steel);background:var(--steel-dim)} .tile.held .state{color:var(--steel)}
.tile.booked{border-color:var(--wine-dim);background:var(--wine-dim);color:var(--muted)} .tile.booked .lbl{text-decoration:line-through} .tile.booked .state{color:var(--wine)}
h2{font-family:var(--display);font-weight:500;font-size:22px;margin:0 0 10px;display:flex;justify-content:space-between;align-items:baseline;gap:10px}
h2 small{font-family:var(--body);font-size:13px;color:var(--muted)}
.empty{border:1px dashed var(--line);border-radius:14px;padding:28px 18px;text-align:center;color:var(--muted)}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:flex-end;justify-content:center;z-index:10}
.overlay[hidden]{display:none}
.sheet{background:var(--bg);border:1px solid var(--line);border-bottom:0;border-radius:18px 18px 0 0;width:100%;max-width:560px;max-height:92%;overflow-y:auto;padding:18px 16px 28px;display:flex;flex-direction:column;gap:14px}
@media(min-width:700px){.overlay{align-items:center}.sheet{border-radius:18px;border-bottom:1px solid var(--line)}}
.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.sheet-head h3{font-family:var(--display);font-size:28px;margin:0;line-height:1.08;text-wrap:balance}
.x{border:1px solid var(--line);background:transparent;border-radius:50%;width:40px;height:40px;cursor:pointer;flex:none;font-size:18px}
.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border:1px solid currentColor;white-space:nowrap}
.pill.a{color:var(--felt)} .pill.h{color:var(--steel)} .pill.b{color:var(--wine)} .pill.x0{color:var(--muted)}
.box{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px}
.box h4,h5{margin:0;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);font-weight:600}
.row{display:flex;justify-content:space-between;gap:14px;align-items:baseline;font-variant-numeric:tabular-nums}
.row span{color:var(--muted);font-size:14px}
.row b{text-align:right}
.row.big b{font-family:var(--display);font-size:26px}
.pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
.inc{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px}
.addon{display:flex;justify-content:space-between;align-items:center;gap:12px}
.step{display:flex;align-items:center;gap:10px}
.qty{min-width:22px;text-align:center;font-variant-numeric:tabular-nums}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fields .full{grid-column:1/-1}
@media(max-width:420px){.fields{grid-template-columns:1fr}}
label{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--muted)}
input,textarea,select{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:11px 12px;color:var(--ink);width:100%;min-height:44px}
textarea{min-height:84px;resize:vertical}
.actions{display:flex;gap:10px;flex-wrap:wrap}
.actions .btn{flex:1 1 150px}
.msg{font-size:14px;color:var(--steel);min-height:1.2em}
.msg.err{color:var(--wine)}
.small{font-size:13px;color:var(--muted)}
hr{border:0;border-top:1px solid var(--line);margin:4px 0;width:100%}
.bk{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px}
.ref{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em}
@media(prefers-reduced-motion:no-preference){.sheet{animation:up .18s ease-out}@keyframes up{from{transform:translateY(16px);opacity:.6}to{transform:none;opacity:1}}}

.lm.zone{align-items:flex-start;padding-top:6px}
.lm.game{border:0;background:transparent;flex-direction:column;justify-content:flex-start;gap:1px;padding:0;font-size:8px;letter-spacing:.03em;color:var(--ink);line-height:1.1;z-index:1}
.lm.game svg{width:100%;height:auto;display:block}
.lm.riser{align-items:flex-end;padding-bottom:5px;background:var(--raise);border:1.5px solid var(--muted);border-radius:12px;color:var(--ink);font-weight:700;box-shadow:0 3px 0 var(--line)}
.lm.v{writing-mode:vertical-rl}
/* Tier colours for open tables; one look each for on hold and booked, whatever the tier. */
.t-evvip{--tb:#6a45b8;--tf:#efe9fb}
.t-vvip{--tb:#1b7a57;--tf:#e4f4ec}
.t-vip{--tb:#2468ad;--tf:#e5effa}
.t-cocktail{--tb:#8b6a3c;--tf:#f5efe4}
.mt,.tile{border-color:var(--tb,var(--felt));background:var(--tf,var(--felt-dim))}
.tile .state{color:var(--tb,var(--felt))}
.mt.held,.tile.held,.sw.held{border:1.5px dashed #7a7a7a;background:repeating-linear-gradient(45deg,#dcdcdc 0 5px,#f6f6f6 5px 10px);color:#555}
.tile.held .state{color:#555}
.mt.booked,.tile.booked,.sw.booked{border:1.5px solid #111;background:#111;color:#fff}
.tile.booked .state{color:#fff}
.dot.h{background:#8a8a8a} .dot.b{background:#111}
.pill.h{color:#5e5e5e} .pill.b{color:#111}
.sw{display:inline-block;width:14px;height:14px;border-radius:4px;border:1.5px solid var(--tb);background:var(--tf);vertical-align:-2px}
.legend{gap:14px}
.key{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.tip{position:fixed;z-index:20;background:#111;color:#fff;font-size:13px;font-weight:600;padding:7px 11px;border-radius:8px;pointer-events:none;white-space:nowrap;transform:translate(-50%,-135%);box-shadow:0 4px 14px rgba(0,0,0,.25)}
.lm.reserved{background:#111;border-color:#111;color:#fff;font-family:var(--display);font-size:16px;letter-spacing:.08em;font-weight:700;text-transform:none;border-radius:10px}
.lm.dp,.sw.dp{background:var(--wine);border-color:var(--wine);color:#fff;font-weight:700;font-size:9px;letter-spacing:.04em;border-radius:999px;padding:0}
details.cat{border-top:1px solid var(--line);padding-top:8px;display:flex;flex-direction:column;gap:10px}
details.cat summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:36px;list-style:none}
details.cat summary::-webkit-details-marker{display:none}
details.cat summary::before{content:"+";font-weight:700;width:18px;flex:none}
details.cat[open] summary::before{content:"−"}
details.cat summary b{flex:1}
details.cat .addon{padding:6px 0 6px 18px}
[hidden]{display:none!important}
.notice.tix{border-color:var(--line);background:var(--panel);margin-top:8px}
.notice.swap{border-radius:999px;text-align:center;font-size:13px;padding:9px 16px}
.lm.reserved{font-size:11px;letter-spacing:.04em;line-height:1.15;border-radius:8px;padding:2px 4px;text-align:center}
.lm.wc{flex-direction:column;gap:2px;padding:4px;font-size:8px;letter-spacing:.06em;background:#fff}
.lm.wc svg{width:70%;height:auto;display:block}

/* Casino Royale flair: a black hero band with a fanned hand of spades, and a row of suits. */
.hero{background:#111112;color:#fff;border-radius:18px;padding:22px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow:hidden;position:relative}
.hero::before{content:"";position:absolute;inset:6px;border:1px solid rgba(255,255,255,.22);border-radius:13px;pointer-events:none}
.hero-txt{flex:1 1 55%;min-width:0;position:relative}
.hero-eye{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.7)}
.hero-h{font-family:var(--display);font-weight:700;font-size:clamp(22px,5.6vw,38px);line-height:1.08;margin:8px 0 8px}
.hero-sub{font-size:14px;color:rgba(255,255,255,.78)}
.cards{flex:0 0 44%;width:44%;max-width:300px;min-width:140px;height:auto;aspect-ratio:300/190;display:block;position:relative}
.cards .idx{font-family:var(--display);font-weight:700;font-size:15px;fill:#111;text-anchor:middle}
.cards .face{font-family:var(--display);font-weight:700;font-size:44px;fill:#111}
.cards .mono{font-family:var(--display);font-weight:700;font-size:8.500px;letter-spacing:.12em;fill:#fff}
.cards use[href="#sp"]{fill:#111}
@media (prefers-reduced-motion:no-preference){.cards{animation:cardsIn .6s cubic-bezier(.2,.8,.2,1) both}}
@keyframes cardsIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}
.suits{display:flex;justify-content:center;gap:18px;font-size:18px;color:var(--ink);opacity:.5;letter-spacing:0}
.suits span:nth-child(even){color:var(--wine);opacity:.9}
@media (max-width:420px){.hero{padding:18px 16px}.cards{width:44%}}

/* Phone polish */
body:has(.overlay:not([hidden])){overflow:hidden}
.sheet{padding-bottom:calc(28px + env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.wrap{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
.mapScroll{-webkit-overflow-scrolling:touch;scroll-behavior:auto;overscroll-behavior-x:contain}
.stickybar{position:sticky;bottom:calc(-28px - env(safe-area-inset-bottom));margin:0 -16px calc(-28px - env(safe-area-inset-bottom));padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:2;box-shadow:0 -6px 16px rgba(0,0,0,.06)}
.stickybar.off{display:none}
.stickybar .bt{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.stickybar .bt span{font-size:12px;color:var(--muted)}
.stickybar .bt b{font-family:var(--display);font-size:20px}
.stickybar .btn{min-height:44px;padding:10px 20px}
@media (pointer:coarse){.chip{min-height:44px;padding:10px 16px}.btn.sm{min-height:42px}.step .x{min-width:44px;min-height:44px}}
@media (max-width:520px){
  .wrap{padding-top:14px;gap:16px}
  header{gap:12px}
  header img{height:72px;width:72px}
  header h1{font-size:26px;line-height:1.1}
  header .sub{font-size:13px}
  .hero{padding:16px 16px}
  .hero-h{margin:6px 0}
  .hero-sub{font-size:13px}
  .stats{gap:8px}
  .map{min-width:900px}
  footer{justify-content:center;text-align:center}
}
