/* Playtopia festival app. Each section of the app (Program, Games, Map…) has one colour and its tones (see "Sections"),
   with white cards on a pale page, Anton headlines and a dark menu bar. */
@font-face{font-family:"Anton";src:url(/fonts/anton.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url(/fonts/plex-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url(/fonts/plex-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url(/fonts/plex-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url(/fonts/plex-700.woff2) format("woff2");font-weight:700;font-display:swap}
:root{
  --navy:#2563E0; --night:#1A4BB5; --ink:#1D1B33; --muted:#1D1B33;
  --sky:#70B4FF; --blue:#2569EA; --muted2:#2E4A8F; --soft:#DDF6FF; --soft2:#C4EBFF; --pale:#B5D7FF; --cyan:#A9F0FC; --cream:#FFFFFF;
  --coral:#F35C59; --coral-t:#FEE3D6; --orange:#FF965A; --lime:#B2FF9E; --white:#FFFFFF; --pink:#FF4FB8;
  --line:rgba(37,99,224,.16);
  --lift:0 1px 2px rgba(26,75,181,.05),0 10px 28px rgba(26,75,181,.08);
  /* white cards on the pale section page, and round icon buttons */
  --card-shadow:0 1px 2px rgba(29,27,51,.05),0 4px 10px rgba(29,27,51,.06);
  --btn-shadow:0 3px 12px rgba(29,27,51,.14);
  --display:"Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body:"IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme:light;
}

/* ======== Sections: one colour and its tones per section ========
   Program pink · Games blue · Vote red · Food & nearby coral · Venue map yellow · More dark · Shmooze purple (styles.css)
   --s main (headers), --s-deep (tab bars, main buttons), --s-light (selected tab, soft fills), --s-pale (page), white cards on top.
   body[data-sec] is set by festival.js on every screen; before the first draw the page is plain light blue. */
body[data-sec=program]{--s:#FF4FA0;--s-deep:#A3135A;--s-light:#FFC2DD;--s-pale:#FFEAF3;--s-on:#1D1B33;--s-nav:#FF4FA0}
body[data-sec=games]{--s:#6E9BFF;--s-deep:#1E3F99;--s-light:#C9D9FF;--s-pale:#E8EFFF;--s-on:#1D1B33;--s-nav:#6E9BFF}
body[data-sec=vote]{--s:#F35C59;--s-deep:#A8302C;--s-light:#FFD3CB;--s-pale:#FFEDEA;--s-on:#1D1B33;--s-nav:#F35C59}
body[data-sec=food]{--s:#FF8A3D;--s-deep:#E0651F;--s-light:#FFD3B5;--s-pale:#FFF1E6;--s-on:#1D1B33;--s-nav:#FF8A3D}
body[data-sec=map]{--s:#FFC94A;--s-deep:#FBB548;--s-light:#FFE9A8;--s-pale:#FFF6D9;--s-on:#1D1B33;--s-nav:#FFC94A}
body[data-sec=more]{--s:#1D1B33;--s-deep:#1D1B33;--s-light:#C9C6D9;--s-pale:#EFEEF4;--s-on:#FFFFFF;--s-nav:#C9C6D9}
body[data-sec=news]{--s:#FFC94A;--s-deep:#1D1B33;--s-light:#FFE9A8;--s-pale:#FFF6D9;--s-on:#1D1B33;--s-nav:#FFC94A}
body[data-sec=home]{--s:#1D1B33;--s-deep:#1D1B33;--s-light:#C9C6D9;--s-pale:#EFEEF4;--s-on:#FFFFFF;--s-nav:#FFC94A}
/* Everything inside a section uses that section's tones: the older accent colours point at them */
body[data-sec]{background:var(--s-pale);
  --coral:var(--s-deep);--orange:var(--s-deep);--navy:var(--s-deep);--blue:var(--s-deep);--night:var(--s-deep);--pink:var(--s-deep);
  --lime:var(--s-light);--cyan:var(--s-light);--sky:var(--s-light);--soft:var(--s-light);--soft2:var(--s-light);--pale:var(--s-light);--coral-t:var(--s-light);
  --muted2:#1D1B33}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:#C4E1FF;color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.12;margin:0;text-wrap:balance;letter-spacing:.005em}
p{margin:0}
a{color:inherit}
button,input{font:inherit;color:inherit}
img{max-width:100%}
/* Keyboard focus shows on any background: a dark ring with a white one inside it */
:focus-visible{outline:3px solid #1D1B33;outline-offset:2px}
:focus-visible:not(input):not(textarea):not(select){box-shadow:0 0 0 2px #fff!important}
/* People who ask for less motion get none; this has to win over every animation and transition below */
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* shell */
.phone{max-width:520px;margin:0 auto;min-height:100vh;padding-bottom:calc(112px + env(safe-area-inset-bottom,0px));position:relative}
body[data-sec] .phone{background:var(--s-pale)}
.topbar{display:flex;align-items:center;gap:12px;padding:calc(18px + env(safe-area-inset-top,0px)) 22px 4px;color:var(--ink)}
body[data-sec] .topbar{background:var(--s);color:var(--s-on);padding-bottom:6px}
.topbar img{height:46px;width:auto;display:block}
.topbar .t{font-family:var(--display);font-size:20px}
.topbar .sp{flex:1}
.phead{padding:22px 22px 26px;margin-bottom:18px;display:grid;gap:12px;justify-items:start;background:var(--s);color:var(--s-on)}
.phead h1{font-size:clamp(46px,13.5vw,62px);line-height:1.05}
.phead.long h1{font-size:clamp(34px,9.5vw,46px);line-height:1.1}
.phead .ttlh{font-size:clamp(34px,10vw,46px);line-height:1.08}
.phead .sub{font-size:15px;font-weight:500;max-width:36ch}
.phead .eyebrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.eyebrow{font-family:var(--display);text-transform:uppercase;letter-spacing:.06em;font-size:13px}
.back{width:42px;height:42px;border-radius:50%;background:#fff;border:0;display:grid;place-items:center;cursor:pointer;box-shadow:var(--btn-shadow);color:var(--s-deep)}
.phead .back,.topbar .back{background:var(--s-light);color:#1D1B33}
.body{padding:0 22px 36px;display:grid;gap:22px}
.muted{opacity:.8}
.small{font-size:14px}
.tiny{font-size:12px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.body>p,.plist>p{color:var(--ink)}
.onblue{color:var(--ink);padding:4px 4px 0}

/* buttons */
.btn{font-family:var(--display);text-transform:uppercase;letter-spacing:.03em;border:0;border-radius:40px;padding:13px 24px;background:var(--s-deep);color:#fff;font-size:17px;line-height:1.1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.btn:hover{filter:brightness(1.05);transform:translateY(-1px)}
.btn.soft,.btn.cream{background:var(--s-light);color:#1D1B33}
.btn.sm{padding:10px 18px;font-size:15px}
.btn.wide{width:100%}
.btn svg{width:18px;height:18px}
/* outlined buttons (calendar, directions, sign out): white with a soft shadow */
.obtn{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;border:0;border-radius:40px;padding:8px 6px;white-space:nowrap;color:var(--s-deep);background:#fff;box-shadow:var(--btn-shadow);text-decoration:none;font-weight:700;font-size:13px;cursor:pointer;font-family:var(--body)}
.obtn svg{width:18px;height:18px;flex:none}
.obtn.sm{min-height:38px;padding:6px 14px;font-size:13px}
/* "Are you sure?" on the account page */
.askbox{display:grid;gap:10px;text-align:center}
.askbox .obtns{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.obtn.danger{background:#FF5A61;color:#fff}
label.obtn{cursor:pointer;position:relative}
.calbtns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}

/* filter chips: light, the picked ones deep; map category chips white */
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px}
.chips::-webkit-scrollbar{display:none}
.chips:not(.segtabs){flex-wrap:wrap;overflow:visible}
.chips.nbchips{flex-wrap:nowrap;overflow-x:auto;gap:6px}
.chip{flex:none;border:0;border-radius:22px;padding:7px 12px;background:var(--s-light);color:#1D1B33;font-weight:600;font-size:13px;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.chip[aria-pressed=true]{background:var(--s-deep);color:#fff}
.chip[aria-pressed=true] svg{color:#fff}
.nbchips .chip{padding:7px 11px}
.chip.pinchip{background:#fff;color:var(--ink);box-shadow:var(--card-shadow)}
.chip.pinchip[aria-pressed=true]{background:var(--ink);color:#fff;box-shadow:none}
.pinchip i{width:10px;height:10px;border-radius:50%;display:inline-block}
/* the icons in the In the area chips carry their own colour inline; these win over it */
.nbchips svg{color:var(--s-deep)!important}
body[data-sec=food] .nbchips svg{color:#FF8A3D!important}

/* tab bars (program days, map floors, Speakers/Games): a deep track, the chosen tab light */
.daytabs,.segtabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;background:var(--s-deep);border-radius:999px;padding:5px}
.daytabs{margin:0 22px 18px}
.daytabs.inset{justify-content:flex-start}
.segtabs{overflow:visible}
.daytabs button,.segtabs .chip{flex:none;background:transparent;color:#fff;border:0;border-radius:999px;box-shadow:none;min-height:44px;margin:0;padding:0 6px;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:400;font-size:15px;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;text-decoration:none;cursor:pointer}
.daytabs button[aria-pressed=true],.segtabs .chip[aria-pressed=true]{background:var(--s-light);color:#1D1B33}
.segtabs .chip{text-align:center}
.segtabs .chip:not([aria-pressed=true]){box-shadow:var(--card-shadow)}

/* tags */
.tags{display:flex;gap:6px;flex-wrap:wrap}
.tag{display:inline-block;font-family:var(--display);font-size:12px;letter-spacing:.06em;text-transform:uppercase;border-radius:20px;padding:3px 10px;line-height:1.4;white-space:nowrap;background:var(--s-light);color:#1D1B33}
.tag.now,.tag.m-answer,.tag.meet{background:var(--s-deep);color:#fff}
.tag.now{font-size:13px;padding:4px 12px}
.tag.next,.tag.m-waiting,.tag.m-ok{background:var(--s);color:var(--s-on)}

/* white cards on the section page */
.card,.tbub,.frow span,.grow2,.vrow,.myvote,.nbrow,.nbsel,.morerow,.fcard,.news,.acc,.notice,.lrow,.links a,.srow2{background:#fff;border:0;box-shadow:var(--card-shadow)}
.card{border-radius:28px;padding:24px 22px;display:grid;gap:18px;min-width:0}
.card.blue{background:var(--s-light)}
.card.small{gap:8px;font-size:14px}
.card .lbl{margin-top:4px}
.h3{font-size:26px}
.privacy .h3{font-size:22px}
.notice{border-radius:20px;padding:16px 18px;font-size:14px;font-weight:500;display:grid;gap:4px}
.notice b{font-weight:700}
.notice.soft{margin-top:10px}
.empty{padding:28px 10px;text-align:center;display:grid;gap:10px;justify-items:center}
.empty h3{font-size:26px}
.empty p{max-width:34ch}
.links{display:grid;gap:10px}
.links a{display:flex;align-items:center;gap:12px;border-radius:18px;padding:14px 16px;font-weight:600;text-decoration:none}
.links a svg{flex:none}
.card .links a{background:transparent;border:0;border-bottom:1px solid var(--s-light);border-radius:0}
.card .links a:last-child{border-bottom:0}

/* program: each talk its own white bubble, time on the left */
.sheet{display:grid;gap:12px;align-content:start;padding:0 16px 24px;min-height:0}
.tlist{display:grid;gap:12px}
.trow{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:start;cursor:pointer}
.trow>.tt{padding-top:20px}
.tt{display:flex;flex-direction:column;line-height:1.3}
.tt b{font-weight:700;font-size:16px}
.tt small{font-size:12px;font-weight:600;color:var(--muted2)}
.tt small.dy{font-family:var(--display);font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.tbub{border-radius:24px;padding:18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;min-width:0;color:var(--ink);overflow-wrap:anywhere}
.trow.live .tbub{border:2px solid var(--s-deep);padding:15px}
.detail .tbub{border:0}
.tbub .tags{display:flex;flex-wrap:wrap;gap:6px}
.tm{display:flex;flex-direction:column;gap:14px;min-width:0}
.ttl{font-family:var(--display);font-weight:400;font-size:22px;line-height:1.15;letter-spacing:.005em;color:var(--ink);text-decoration:none}
.ttl:hover{text-decoration:underline}
.frow{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;font-size:16px}
.frow b{font-weight:700}
.frow span{border-radius:16px;padding:10px 14px;font-weight:600;font-size:15px}
.frow span .tag{font-style:normal;margin-left:6px}
.spk{display:flex;align-items:center;gap:8px;min-width:0}
.spk>span:last-child{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.spk b{font-weight:700;font-size:14px}
.spk small{font-size:13px;color:var(--muted2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spk .stack .av{box-shadow:0 0 0 2px var(--white)}
.loc{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:var(--muted2)}
.loc svg{width:14px;height:14px;flex:none}
.hiddenn{padding:0 20px 10px;font-size:14px;font-weight:600}
/* "Now" line in today's program */
.nowline{display:flex;align-items:center;gap:10px;color:var(--coral);font-family:var(--body);font-weight:500;font-size:13px;letter-spacing:.06em;text-transform:uppercase;padding:2px 4px;scroll-margin:120px}
.nowline::before,.nowline::after{content:"";flex:1;height:2px;background:var(--coral);border-radius:2px}
/* section labels all the same, like the A–Z letters */
.daylabel,.azl,.vlbl{font-family:var(--display);font-weight:400;font-size:24px;letter-spacing:.005em;text-transform:none;line-height:1.1}
.daylabel{color:var(--ink);padding:14px 4px 0}
.daylabel:first-child{padding-top:0}
.azl{margin-top:6px}
.vlbl{margin-top:4px}
/* saved hearts, liked games and other round icon buttons: white with a soft shadow, filled in the section's deep tone when on */
.star,.ht,.heartbtn{border:0;background:#fff;color:var(--s-deep);box-shadow:var(--btn-shadow);display:grid;place-items:center;cursor:pointer;border-radius:50%}
.star{flex:none;width:44px;height:44px}
.star svg{width:22px;height:22px}
.star[aria-pressed=true],.ht.on,.heartbtn.on{background:var(--s-deep);color:#fff}
body[data-sec=food] .ht,body[data-sec=food] .star{color:#E0651F}
body[data-sec=food] .ht.on,body[data-sec=food] .star[aria-pressed=true]{background:#E0651F;color:#fff}
.who{display:flex;align-items:center;gap:10px;min-width:0}
.who>span:last-child{display:grid;min-width:0;line-height:1.3}
.who b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.who small{font-size:13px;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stack{display:flex}
.stack .av+.av{margin-left:-10px}
.av{flex:none;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:var(--sky);color:#1D1B33;font-family:var(--display)}
.av img{width:100%;height:100%;object-fit:cover;display:block}
/* Shmooze meetings in My schedule */
.meetrow{text-decoration:none;color:inherit}
.meetrow .ttl{font-family:var(--display);font-size:22px;line-height:1.1;display:block}
.meetrow .with{display:block;font-weight:600}
.meetic{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--ink);flex:none}
.meetic svg{width:22px;height:22px}

/* talk and speaker pages */
.detail{display:grid;gap:20px;align-content:start;border-radius:22px;padding:0 22px 24px;min-height:0;box-shadow:var(--card-shadow)}
.prose{font-size:16px;line-height:1.6;display:grid;gap:14px}
.prose p,.prose ul,.prose ol{margin:0}
.prose ul,.prose ol{padding-left:20px}
.prose a{color:var(--s-deep);font-weight:600}
.prose img{border-radius:18px}
.tdesc{font-size:16px;line-height:1.55}
.bigav{width:150px;height:150px;border-radius:50%;overflow:hidden;background:var(--soft)}
.bigav img{width:100%;height:100%;object-fit:cover}
.hero-img{width:100%;border-radius:18px;display:block;aspect-ratio:16/9;object-fit:cover}
/* talk info: time block, date + room in icon circles */
.tinfo{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center}
.ti-t{background:var(--lime);border-radius:20px;padding:14px 18px;display:grid;place-content:center;text-align:center;line-height:1}
.ti-t b{font-family:var(--display);font-weight:400;font-size:30px;display:block}
.ti-t small{font-size:12px;font-weight:700;display:block;margin-top:6px}
.ti-r{display:grid;gap:10px;min-width:0}
.ti-r div{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:center;font-weight:700;font-size:15px}
.ti-r i{width:32px;height:32px;border-radius:50%;background:var(--lime);display:grid;place-items:center}
.ti-r svg{width:16px;height:16px}
/* round action buttons (save, calendar, map, share, like, vote) */
.gacts{display:flex;justify-content:space-around;gap:10px}
.gact{display:grid;justify-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--ink);text-decoration:none;background:none;border:0;cursor:pointer;font-family:inherit;padding:0}
.gact span{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;border:0;background:#fff;color:var(--s-deep);box-shadow:var(--btn-shadow)}
.gact span svg{width:24px;height:24px}
.gact.on span,.gact.saved span,.gact.voted span{background:var(--s-deep);color:#fff}
/* speakers and games as lists */
.slist{display:grid;gap:10px}
.srow2{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center;border-radius:20px;padding:12px 14px;color:var(--ink);text-decoration:none}
.srow2 b{display:block;font-size:16px}.srow2 small{display:block;font-size:13px}
.srow2 .tk{display:block;font-size:13px;font-weight:600;color:var(--s-deep);margin-top:3px}
.srow2>svg{width:20px;height:20px;display:none}
.grow2{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border-radius:20px;padding:10px 12px 10px 10px}
.gr-l{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:center;color:var(--ink);text-decoration:none;min-width:0}
.gr-l img,.gr-l .ph{width:120px;height:auto;aspect-ratio:460/215;border-radius:4px;object-fit:cover;display:block;background:var(--soft)}
.gr-l b{display:block;font-size:16px;line-height:1.3}.gr-l small{display:block;font-size:13px;margin:2px 0 5px}
.stchip{display:inline-flex;align-items:center;gap:5px;margin-top:4px;font-family:var(--display);font-size:12px;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;background:var(--cyan);color:var(--ink);border-radius:20px;padding:3px 3px 3px 8px;line-height:18px}
.stchip svg{flex:none}
.stchip b{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;line-height:1;background:var(--ink);color:#fff;font-weight:400}
.bth{display:inline-block;font-family:var(--display);font-size:12px;letter-spacing:.03em;background:var(--cyan);border-radius:10px;padding:2px 8px}
.ht{width:40px;height:40px}
.ht svg{width:20px;height:20px}

/* lists */
.search{position:relative}
.search svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:18px;height:18px}
.search input{width:100%;border:0;background:#fff;border-radius:30px;padding:13px 16px 13px 44px;font-size:16px}
.search input:focus{outline:none;box-shadow:0 0 0 2px var(--s-deep)}
.plist{display:grid;gap:12px}
.game{background:var(--white);border-radius:22px;overflow:hidden;box-shadow:var(--lift);display:grid;align-content:start;text-decoration:none;color:var(--ink);border:0;padding:0;text-align:left;cursor:pointer}
.game .img{aspect-ratio:16/10;background:var(--soft);overflow:hidden;position:relative}
.game .img img{width:100%;height:100%;object-fit:cover;display:block}
.game .tx{padding:12px 14px 16px;display:grid;gap:2px}
.game b{font-size:15px;line-height:1.25}
.game small{font-size:12.5px;opacity:.85;line-height:1.35}
.booth{position:absolute;left:8px;top:8px;background:var(--ink);color:#fff;font-family:var(--display);font-size:12px;letter-spacing:.05em;text-transform:uppercase;border-radius:20px;padding:3px 9px}
.gtags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.gtags i{font-style:normal;font-size:11.5px;font-weight:600;background:var(--soft);border-radius:12px;padding:2px 8px}
.heartbtn{position:absolute;top:10px;right:10px;width:42px;height:42px}
.heartbtn svg{width:22px;height:22px}
/* My schedule: games you liked in two columns */
.plist.likedgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.likedgrid .game{min-width:0}
.likedgrid .game .img{aspect-ratio:1/1;height:auto}
.likedgrid .game .tx{padding:12px 14px 14px}
.likedgrid .game .tx b{font-size:15px;line-height:1.25}
.likedgrid .game .tx small{font-size:12px}
.likedgrid .game .gtags{display:none}
.likedgrid .heartbtn{width:36px;height:36px;top:8px;right:8px}
.likedgrid .heartbtn svg{width:18px;height:18px}
.likedgrid .booth{font-size:11px}

/* info */
.acc{border-radius:24px;overflow:hidden}
.acc summary{list-style:none;cursor:pointer;padding:18px 20px;display:flex;align-items:center;gap:12px;font-family:var(--display);font-size:21px;line-height:1.15}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"";margin-left:auto;flex:none;width:12px;height:12px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(45deg);transition:transform .2s}
.acc[open] summary::after{transform:rotate(-135deg)}
.acc .prose{padding:0 20px 22px}

/* account */
.acct{display:block;border-radius:50%;box-shadow:0 0 0 3px rgba(255,255,255,.85)}
.acct .av{background:var(--navy);color:#fff}
/* Sign in button in the top bar, in the section's deep tone */
.signin{font-family:var(--display);text-transform:uppercase;letter-spacing:.04em;font-size:15px;border:0;border-radius:30px;padding:9px 16px;text-decoration:none;box-shadow:none;background:var(--s-deep);color:#fff}
body[data-sec=more] .topbar .signin{background:#C9C6D9;color:#1D1B33}
body[data-sec=news] .topbar .signin{background:#1D1B33;color:#FFC94A}
.lbl{font-weight:600;font-size:15px}
.inp{width:100%;border:0;background:#EEF2F7;border-radius:16px;padding:14px 16px;font-size:16px;color:var(--ink)}
.inp:focus{outline:none;box-shadow:0 0 0 2px var(--s-deep)}
.inp.code{font-family:var(--display);font-size:34px;letter-spacing:.35em;text-align:center;padding:12px 10px}
/* Code inputs: a clear hint, not something that looks like a filled-in code */
.inp.code::placeholder{font-family:var(--body);font-size:17px;letter-spacing:0;color:#5A6F99;font-weight:500}
.err{background:var(--coral-t);border-radius:14px;padding:12px 14px;font-size:14px;font-weight:600}
.linkbtn{background:none;border:0;color:var(--ink);text-decoration:underline;cursor:pointer;padding:0;font-size:14px;font-weight:600}
.regstate{display:flex;align-items:center;gap:8px;font-weight:700;font-size:16px}
.regstate.ok{color:#15803D}
/* your profile (one page for everyone; a Shmooze section for Shmooze people) */
.pform{display:grid;gap:16px}
.sechead{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pilltag{font-family:var(--display);font-size:12px;letter-spacing:.08em;text-transform:uppercase;background:var(--cyan);border-radius:20px;padding:4px 10px}
.pf-you{display:flex;align-items:flex-start;gap:16px}
.pf-you b{font-size:20px}
.pf-logo{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.pf-logo img{width:52px;height:52px;object-fit:contain;border-radius:12px;background:var(--soft)}
.tgl{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px}
.tglrow{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}
.tglrow b{display:block}.tglrow small{display:block;font-size:13px}
input.switch{appearance:none;-webkit-appearance:none;width:50px;height:30px;border-radius:20px;background:#b7c6e4;position:relative;flex:none;cursor:pointer;transition:background .15s;margin:0}
input.switch::after{content:"";position:absolute;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;transition:left .15s}
input.switch:checked{background:var(--navy)}
input.switch:checked::after{left:23px}
.lrows{display:grid}
.lrow{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 0;color:var(--ink);text-decoration:none}
.lrows .lrow{border-top:1px solid var(--s-light)}
.lrows .lrow:first-child{border-top:0}
.lr-ic{width:44px;height:44px;border-radius:50%;background:var(--soft);display:grid;place-items:center}
.lr-ic svg{width:20px;height:20px}
.lrow b{display:block;font-size:16px}.lrow small{display:block;font-size:13px}
.body>.obtn{width:100%;cursor:pointer;font-family:inherit}
/* Profile editor: Save stays at the top while you scroll, so edits aren't lost */
.savebar{position:sticky;top:8px;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:2px solid #9B6BFF;border-radius:999px;padding:8px 8px 8px 18px;box-shadow:0 8px 24px rgba(29,27,51,.16)}
.savebar span{font-weight:700;font-size:14px;color:#1D1B33}
body:has(.proto) .savebar{top:64px}

/* menu bar: dark, the current page in its section colour */
.bottomnav{position:fixed;bottom:calc(14px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(460px,calc(100% - 28px));background:#1D1B33;border-radius:32px;display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:7px;z-index:40;box-shadow:0 12px 30px rgba(29,27,51,.3)}
.bottomnav a{color:#fff;height:56px;border-radius:26px;display:grid;place-items:center;align-content:center;gap:2px;text-decoration:none;position:relative}
.bottomnav a[aria-current=page]{background:var(--s-nav);color:#1D1B33}
.bottomnav svg{width:22px;height:22px}
.bottomnav .nl{font-size:10.5px;font-weight:600;line-height:1;white-space:nowrap}
.badge{position:absolute;top:4px;right:calc(50% - 24px);background:var(--s-nav);color:#1D1B33;font-weight:700;font-size:11px;border-radius:10px;padding:0 6px;line-height:17px;box-shadow:0 0 0 2px #1D1B33}
/* the badge on the current page's button: dark, so it shows on the section colour */
.bottomnav a[aria-current=page] .badge{background:#1D1B33;color:#fff;box-shadow:none}
/* Six items in the bar while voting is on */
@media (max-width:959px){ .bottomnav.n6{grid-template-columns:repeat(6,1fr);gap:0;padding:6px} .bottomnav.n6 .nl{font-size:9.5px} .bottomnav.n6 a .badge{right:calc(50% - 22px)} }

/* toasts wrap instead of running off the screen */
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(98px + env(safe-area-inset-bottom,0px));z-index:90;background:var(--ink);color:#fff;padding:10px 18px;border-radius:20px;font-weight:600;font-size:14px;max-width:calc(100% - 32px);width:max-content;white-space:normal;text-align:center;line-height:1.35;box-shadow:0 6px 20px rgba(26,75,181,.35)}
.toast.tvote{background:var(--s-deep);color:#fff}
.toast.err{background:var(--coral);color:#fff}
.offline{background:var(--coral);color:#fff;text-align:center;font-weight:600;font-size:13px;padding:6px 16px;padding-top:calc(6px + env(safe-area-inset-top,0px))}
.preview{background:var(--lime);color:var(--ink);text-align:center;font-weight:600;font-size:13px;padding:6px 16px;padding-top:calc(6px + env(safe-area-inset-top,0px))}

/* ===== Home: dark band with the art, your next talk, one full-width colour row per section ===== */
.newsstrip{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#FFC94A;color:var(--ink);text-decoration:none;font-weight:600;font-size:14px;line-height:1.3}
.ns-pill{flex:none;background:var(--ink);color:#FFC94A;border-radius:999px;padding:5px 10px;font-size:12px;line-height:1}
.ns-t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.newsstrip svg{flex:none;width:18px;height:18px}
.homeband{background:#1D1B33;color:#fff;padding:0 0 32px;display:grid;gap:20px}
.homeband .signin{background:#FFC94A;color:#1D1B33}
.hometop{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;box-sizing:content-box;padding:calc(19px + env(safe-area-inset-top,0px)) 22px 0}
.hometop .ht-l{font-family:var(--display);font-size:15px;letter-spacing:.08em;text-transform:uppercase;color:#FFC94A;line-height:1;padding-top:2px}
.homelogo{display:block;width:min(330px,86%);height:auto;justify-self:center;margin:-4px auto 0}
@media (min-width:960px){.homelogo{width:min(520px,60%);margin-top:-36px}.phone>.homeband .hometop{padding:26px 0 0}}
.homenote{margin:0;border-radius:0}
body[data-sec=home] .notice{box-shadow:0 1px 2px rgba(13,50,124,.08),0 4px 10px rgba(13,50,124,.08)}
.homec{display:grid;gap:22px;padding-top:22px;background:#EFEEF4}
/* "Next up for you" and the talk on now, full width under the band */
.nextcard,.gcard{display:grid;gap:14px;background:#FFE0EE;color:var(--ink);border:0;border-radius:0;padding:22px;margin:0;text-decoration:none}
.gcard{text-align:left;width:100%;min-width:0;cursor:pointer}
.nextcard.meetnext{background:#EDE5FF}
.nc-eye{justify-self:start;background:#FF4FA0;border-radius:999px;padding:4px 12px;font-family:var(--body);font-size:12px;font-weight:600}
.meetnext .nc-eye{background:#9B6BFF}
.nc-ttl{font-family:var(--display);font-size:25px;line-height:1.12;text-wrap:balance;overflow-wrap:anywhere;min-width:0}
.nc-sub{font-weight:600;font-size:14px;text-wrap:pretty;margin-top:-4px}
.gcard h2{font-size:25px;line-height:1.1;text-wrap:balance}
.gcard .time{font-weight:600;font-size:15px}
.gcard .tag.now{background:#FF4FA0;color:#1D1B33}
.gcard .arrowdot{display:none}
.arrowdot{flex:none;width:44px;height:44px;border-radius:50%;background:var(--navy);color:#fff;place-items:center}
.arrowdot svg{width:24px;height:24px}
.homerows{display:grid}
.hrow{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;padding:10px 22px;text-decoration:none;color:#1D1B33}
.hrow .hr-l{font-family:var(--display);font-size:34px;line-height:1}
.hrow .hr-s{font-size:14px;font-weight:600;text-align:right}
.hrow.s-program{background:#FF4FA0} .hrow.s-games{background:#6E9BFF} .hrow.s-food{background:#FF8A3D} .hrow.s-vote{background:#F35C59} .hrow.s-shmooze{background:#9B6BFF} .hrow.s-map{background:#FFC94A}
.hrow:hover{filter:brightness(1.04)}
/* sponsors: a plain grid of logos in the dark ink colour */
.sponsors{display:grid;gap:14px;margin:8px 0 4px}
.sponsors .daylabel{text-align:center;margin-bottom:28px}
.spgrid{display:flex;flex-wrap:wrap;justify-content:center;gap:24px 28px;align-items:center;padding:8px 0 4px}
.splogo{display:grid;place-items:center;flex:0 0 104px;height:46px;text-decoration:none;color:var(--ink)}
.splogo img{max-width:104px;max-height:46px;height:auto;object-fit:contain;filter:brightness(0) invert(11%) sepia(14%) saturate(2200%) hue-rotate(208deg) brightness(90%) contrast(96%)}
.splogo b{font-family:var(--display,Anton),sans-serif;font-weight:400;font-size:20px;text-align:center;line-height:1.1;color:#1D1B33}
@media (max-width:520px){.spgrid{gap:20px 22px}.splogo{flex-basis:84px;height:38px}.splogo img{max-height:38px;max-width:84px}}

/* ===== Games ===== */
/* Game page: the key art whole (its own 460×215 shape), on the section colour with space around it */
.ghero{position:relative;background:var(--s);padding:72px 22px 0}
.ghero img{width:100%;height:auto;aspect-ratio:460/215;object-fit:cover;display:block;border-radius:20px;box-shadow:0 10px 30px rgb(29 27 51 / .18)}
.ghero .back{position:absolute;left:22px;top:14px}
/* the game page keeps the top bar */
.topbar + .ghero .back{top:14px}
.gphead{padding-top:22px}
.gmeta{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;font-size:14px;font-weight:600}
.gdot{width:4px;height:4px;border-radius:50%;background:var(--ink);display:inline-block}
.boothchip{font-family:var(--display);font-size:14px;letter-spacing:.03em;background:var(--cyan);border-radius:12px;padding:3px 10px}
.gdesc{margin:0;font-size:16px;line-height:1.55}
.gvote{display:grid;gap:10px}
.gvote .savebtn,.body>a.savebtn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;border:0;border-radius:40px;padding:16px;font-family:var(--display);font-size:20px;text-transform:uppercase;letter-spacing:.03em;background:var(--s-deep);color:#fff;cursor:pointer;text-decoration:none}
.gvote .savebtn svg,.body>a.savebtn svg{width:22px;height:22px}
.gvote .small{text-align:center;margin:0}
.gvote .regstate{justify-content:center}
.gvnote{text-align:center;margin:0}

/* ===== Venue map ===== */
.mapbox{position:relative;width:min(100%,calc(74vh / var(--ratio)));justify-self:center;aspect-ratio:1/var(--ratio);background:#fff;border-radius:22px;overflow:hidden;touch-action:pan-y;box-shadow:var(--card-shadow);user-select:none;-webkit-user-select:none;scroll-margin-top:12px}
/* phones: taller than the plan (which then fills it and slides sideways), and short enough to sit above the bottom bar */
@media (max-width:600px){.mapbox{min-height:min(48vh,400px)}}
/* the plan at its own shape, as wide as the box (the script moves and zooms it) */
.maplayer{position:absolute;left:0;top:0;width:100%;aspect-ratio:1/var(--ratio);transform-origin:0 0}
.maplayer img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}
.mapart,.mapart svg{width:100%;height:100%;display:block;pointer-events:none}
.mapart text{font-family:var(--display);letter-spacing:.02em}
.mapart [class*="c-"]{transition:opacity .2s}
.mapart[data-f] [class*="c-"]{opacity:.22}
.mapart[data-f] .c-x,.mapart[data-games] .c-games,.mapart[data-talks] .c-talks,.mapart[data-food] .c-food,.mapart[data-shm] .c-shm,.mapart[data-wc] .c-wc{opacity:1}
/* a game's zone (or Kinekt station), lit up from the game's "Show on map" */
.mapart .zone.hl rect{fill:none;stroke:none} /* zones stay hidden: the game gets a pin instead */
.mapart .stn.hl{fill:#FFC94A;stroke-width:4;animation:zonehl 1.6s ease-in-out infinite}
/* a Shmooze meeting's table (or lounge), from the table number on the meeting */
.mapart circle.tbl.hl{fill:#FFC94A;stroke-width:3;animation:zonehl 1.6s ease-in-out infinite}
.mapart rect.tbl.hl{stroke:#1D1B33;stroke-width:2;vector-effect:non-scaling-stroke}
@keyframes zonehl{50%{opacity:.45}}
.mapart .zone rect,.mapart .stn{pointer-events:none}
.maphint{text-align:center;margin:0}
.zcard{display:grid;gap:10px}
.zcard h3{margin:2px 0 0}
.zcard .zx{flex:none;border:0;background:#fff;border-radius:50%;width:34px;height:34px;font-size:22px;line-height:1;cursor:pointer;color:var(--ink)}
.zlist{display:grid;gap:6px}
.zrow{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border-radius:14px;background:#fff;color:var(--ink);text-decoration:none}
.zrow small{display:block;color:var(--muted,#5C5878)}
.zrow.on{outline:2px solid var(--ink)}
.zst{display:grid;place-items:center;height:32px;border-radius:10px;background:#6E9BFF;color:#fff;font-family:var(--display);font-size:16px}
.noimg{display:grid;place-items:center;height:100%;font-weight:600;color:var(--muted2)}
.pin{position:absolute;width:26px;height:26px;margin:0;padding:0;border:2px solid #fff;border-radius:50% 50% 50% 0;background:var(--c);color:#fff;transform:translate(0,-100%) rotate(-45deg) scale(calc(1 / var(--z)));transform-origin:0 100%;display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 6px rgba(13,50,124,.35);transition:opacity .15s}
.pin span{transform:rotate(45deg);font-family:var(--display);font-size:12px;line-height:1}
.pin.dim{opacity:.22}
.pin.on{box-shadow:0 0 0 4px #FF7A00,0 2px 6px rgba(13,50,124,.35);z-index:3}
.pin.gpin{pointer-events:none}
.zoom{position:absolute;right:10px;bottom:10px;display:grid;gap:6px;z-index:4}
.zoom button{width:40px;height:40px;border-radius:12px;border:0;background:#fff;color:var(--ink);font-size:22px;font-weight:700;box-shadow:var(--lift);cursor:pointer}
.bubble{position:relative;background:#fff;border-radius:18px;padding:14px 16px;box-shadow:0 10px 30px rgba(13,50,124,.3);display:grid;gap:8px}
.bubble b{font-family:var(--display);font-weight:400;font-size:22px;line-height:1.1;padding-right:30px}
.bubble .dot{width:12px;height:12px;border-radius:50%}
.bubble .btn{justify-self:start}
.bsub{display:grid;gap:4px;font-size:14px;font-weight:600;color:var(--muted2)}
.bsub a{color:var(--ink)}
.bx{position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;background:none;font-size:26px;line-height:1;color:var(--ink);cursor:pointer}

/* ===== In the area (map, list, saved places) ===== */
.nbmap{position:relative;isolation:isolate;z-index:0;height:min(42vh,360px);border-radius:22px;overflow:hidden;background:#fff;box-shadow:var(--card-shadow)}
.nbleaf{position:absolute;inset:0;font-family:var(--body)}
.nbload{position:absolute;inset:0;display:grid;place-items:center;padding:22px;text-align:center;font-weight:600}
.nbtiles{filter:saturate(.55) brightness(1.04)}
.nbpin span{display:block;width:100%;height:100%;border-radius:50%;background:var(--c);border:3px solid #fff;box-sizing:border-box;box-shadow:0 1px 4px rgba(13,50,124,.4)}
.nbpin.on span{border-color:var(--ink)}
.nbpin b,.nbvenue b{position:absolute;left:50%;top:100%;transform:translate(-50%,4px);white-space:nowrap;background:var(--ink);color:#fff;font-size:12px;font-weight:700;padding:3px 9px;border-radius:12px}
.nbvenue span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--ink);color:#fff;border:3px solid #fff;box-sizing:border-box;box-shadow:0 2px 6px rgba(13,50,124,.45)}
.nbvenue span svg{width:16px;height:16px}
.nbvenue b{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(13,50,124,.3)}
.nbmap .leaflet-control-attribution{font-size:10px}
.nbbar{display:flex;justify-content:space-between;align-items:center;gap:12px}
.nbbar b{font-size:15px;color:var(--ink)}
.nbsel{position:relative;display:grid;gap:6px;border-radius:22px;padding:20px}
.nbsel b{font-family:var(--display);font-weight:400;font-size:24px;line-height:1.1;padding-right:36px}
.nbsel small{font-weight:600}
.nbsel p{margin:0}
.nbsel .calbtns{margin-top:8px}
.nbsel .bx{position:absolute;right:12px;top:12px;width:34px;height:34px;border-radius:50%;border:0;background:var(--soft);color:var(--ink);font-size:20px;cursor:pointer}
.nb-k{font-family:var(--display);font-size:13px;letter-spacing:.08em;text-transform:uppercase;display:flex;align-items:center;gap:8px}
.nb-k::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--c)}
.nblist{display:grid;gap:8px}
.nbrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;width:100%;text-align:left;border-radius:18px;padding:0;color:var(--ink);font:inherit;cursor:pointer}
.nbrow.on{outline:3px solid var(--ink);outline-offset:-3px}
.nbrow i{width:14px;height:14px;border-radius:50%;align-self:start;margin-top:5px}
.nbrow b{display:block;font-size:16px}
.nbrow small{display:block;font-size:13px;opacity:.8}
.nbrow small.nb-note{opacity:1;font-size:14px;margin:2px 0 3px;text-wrap:pretty}
.nb-hit{display:grid;grid-template-columns:14px minmax(0,1fr);gap:14px;align-items:start;width:100%;text-align:left;background:none;border:0;padding:14px 4px 14px 16px;color:var(--ink);font:inherit;cursor:pointer;text-decoration:none}
.nb-hit i{width:14px;height:14px;border-radius:50%;margin-top:5px}
.nbrow .ht{margin-right:14px;box-shadow:var(--card-shadow)}
/* food */
.fcard{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center;border-radius:22px;padding:14px;color:var(--ink);text-decoration:none}
.fcard img,.fic{width:64px;height:64px;border-radius:16px;object-fit:cover;background:var(--soft);display:grid;place-items:center}
.fic svg{width:28px;height:28px}
.fcard b{display:block;font-size:17px}
.fcard small{font-size:13px;color:var(--muted2)}

/* ===== Vote ===== */
.intro{padding:0 22px 22px;margin-top:24px;display:grid;gap:4px;font-size:16px;line-height:1.5}
.intro a{color:inherit;font-weight:700}
.votes{display:grid;gap:12px}
.votecard{display:grid;gap:12px;text-align:left;background:#fff;border:0;border-radius:22px;padding:18px;color:var(--ink);cursor:pointer;box-shadow:var(--lift);width:100%}
.votecard:disabled{cursor:default}
.votecard.done{box-shadow:inset 0 0 0 2px var(--pink)}
.vc-t b{display:block;font-family:var(--display);font-weight:400;font-size:24px;line-height:1.1}
.vc-t small{font-size:14px;color:var(--muted2)}
.vc-v{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;background:var(--soft);border-radius:14px;padding:10px 12px}
.vc-v svg{width:20px;height:20px;color:#EA580C;flex:none}
.myvote{border-radius:24px;padding:14px;display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;align-items:center}
.myvote img,.myvote .ph{width:110px;height:72px;border-radius:14px;object-fit:cover;display:block;background:var(--soft)}
.myvote b{display:block;font-size:19px;margin:2px 0}.myvote small{font-size:13px}
.myvote .linkbtn{font-size:13px}
.sortrow{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:600}
.vrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border-radius:20px;padding:10px 12px 10px 10px}
.vr-l{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:center;color:var(--ink);text-decoration:none;min-width:0}
.vr-l img,.vr-l .ph{width:120px;height:auto;aspect-ratio:460/215;border-radius:4px;object-fit:cover;display:block;background:var(--soft)}
.vr-l b{display:block;font-size:16px;line-height:1.3}.vr-l small{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vbtn{font-family:var(--display);text-transform:uppercase;font-size:14px;letter-spacing:.03em;border:0;border-radius:30px;padding:9px 16px;background:var(--s-light);color:#1D1B33;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.vbtn.on{background:var(--s-deep);color:#fff}
.vbtn.on svg{width:15px;height:15px}
/* vote page: sign-in prompt when signed out */
.vsign{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px 14px;align-items:center;background:#FFD6DC;border-radius:22px;padding:18px}
.vsign .vs-ic{width:44px;height:44px;border-radius:50%;background:#F35C59;color:#fff;display:grid;place-items:center}
.vsign .vs-ic svg{width:22px;height:22px}
.vsign b{display:block;font-family:var(--display,Anton),sans-serif;font-weight:400;font-size:22px;line-height:1.1}
.vsign small{display:block;font-size:14px;margin-top:4px}
.vsign .btn{background:#F35C59;color:#1D1B33;grid-column:1/-1;justify-self:stretch;text-align:center;justify-content:center}
@media (min-width:960px){.vsign{width:fit-content;max-width:640px;justify-self:start;margin-right:auto}.vsign .btn{grid-column:2;justify-self:start;padding-inline:28px}}
/* pop-up sheets (vote picker, sign-in prompt) */
.scrim{position:fixed;inset:0;background:rgba(13,50,124,.55);z-index:80;display:grid;place-items:end center}
@media (min-width:640px){.scrim{place-items:center}}
.sheet-modal{background:#fff;border-radius:28px 28px 0 0;width:min(560px,100%);max-height:88vh;overflow:auto;padding:22px 18px calc(22px + env(safe-area-inset-bottom,0px));display:grid;gap:12px;position:relative}
@media (min-width:640px){.sheet-modal{border-radius:28px}}
.sheet-modal h2{font-size:28px}
.sheet-modal .bx{position:static}
.sheet-modal.small{gap:14px;text-align:left}
.sheet-modal.picker{background:var(--soft)}
.pickl{display:grid;gap:8px}
.picklbl{font-family:var(--display);font-size:13px;letter-spacing:.08em;text-transform:uppercase;padding:6px 2px 0}
.pick{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;border:0;background:var(--soft);border-radius:16px;padding:8px;color:var(--ink);cursor:pointer}
.pick img,.pick .ph{width:72px;height:44px;border-radius:10px;object-fit:cover;background:#fff;display:block}
.pick b{display:block;font-size:15px}
.pick small{font-size:13px;color:var(--muted2)}
.pick.on{background:var(--s-light);box-shadow:inset 0 0 0 2px var(--s-deep)}
.pick svg{width:22px;height:22px;color:var(--pink);flex:none}
.pick.none{grid-template-columns:1fr;text-align:center;font-weight:700;background:#fff;box-shadow:inset 0 0 0 2px var(--line)}
.picker .pick{background:#fff}
.picker .pick.none{background:transparent}
.picker .pick img,.picker .pick .ph{background:var(--soft)}

/* ===== News ===== */
.newslist{display:grid;gap:14px}
.news{border-radius:22px;padding:22px;display:grid;gap:12px}
.news small{justify-self:start;background:#FFE9A8;color:#1D1B33;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600}
.news.latest small{background:#FFC94A}
.news h3{font-size:24px;line-height:1.15;text-wrap:pretty}
.news p{margin:0}

/* ===== More ===== */
.morelist{display:grid;gap:10px}
.morerow{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;border-radius:20px;padding:12px 14px;color:var(--ink);text-decoration:none}
.mr-ic{width:44px;height:44px;border-radius:50%;background:var(--soft);display:grid;place-items:center}
.mr-ic svg{width:22px;height:22px}
.morerow b{display:block;font-family:var(--display);font-weight:400;font-size:21px;line-height:1.1}
.morerow small{font-size:13px;color:var(--muted2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.morerow.mvote .mr-ic{background:var(--s-deep);color:#fff}

/* Team bar (staff only), same as Shmooze's */
.proto{position:sticky;top:0;z-index:60;background:var(--night);color:#fff;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top,0px));font-size:13px}
.proto b{font-family:var(--display);font-weight:400;letter-spacing:.08em;color:var(--lime);font-size:13px}
.proto .seg{display:inline-flex;background:rgba(255,255,255,.12);border-radius:30px;padding:3px}
.proto .seg a{color:#fff;padding:5px 12px;border-radius:30px;font-weight:600;font-size:13px;text-decoration:none;white-space:nowrap}
.proto .seg a[aria-current=page]{background:var(--cyan);color:var(--ink)}
.proto .sp{flex:1}
.proto .linkbtn{background:none;border:0;color:#fff;text-decoration:underline;cursor:pointer;padding:0;font-size:13px}
@media (max-width:600px){ .proto .who{display:none} }
@media (max-width:600px){ .proto{flex-wrap:nowrap;gap:8px;padding-inline:12px} .proto>b{display:none} .proto .seg a{padding:5px 9px} }

/* Turnstile check after a few wrong ticket numbers from one network */
.tsbox{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:rgba(29,27,51,.45);padding:16px}
.tscard{background:#fff;border-radius:22px;padding:20px;display:grid;gap:10px;justify-items:center;text-align:center;max-width:360px}
.tsw{min-height:65px}

/* In-app pop-up for Shmooze news (shmoozeNotes) */
.npop{position:fixed;left:0;right:0;top:12px;z-index:9999;display:flex;justify-content:center;padding:0 16px;pointer-events:none}
.npop-card{pointer-events:auto;width:100%;max-width:420px;background:#EDE5FF;color:#4B2A99;border:2px solid #9B6BFF;border-radius:18px;padding:14px 16px;box-shadow:0 12px 32px rgba(75,42,153,.35);display:grid;gap:6px;animation:npopIn .25s ease-out}
.npop-eye{margin:0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#4B2A99}
.npop-t{margin:0;font-size:15px;font-weight:600;line-height:1.35}
.npop-more{margin:0;font-size:13px;color:#4B2A99}
.npop-acts{display:flex;gap:8px;justify-content:flex-end;margin-top:6px}
.npop-go,.npop-ok{font:inherit;font-size:14px;font-weight:700;border-radius:999px;padding:8px 14px;cursor:pointer;text-decoration:none;border:2px solid #4B2A99}
.npop-go{background:#4B2A99;color:#fff}
.npop-ok{background:#fff;color:#4B2A99}
@keyframes npopIn{from{transform:translateY(-12px);opacity:0}to{transform:none;opacity:1}}

/* ======== Motion: buttons press, saves pop (off for people who ask for less motion, see the top) ======== */
@keyframes pt-pop{0%{transform:scale(1)}35%{transform:scale(1.28)}65%{transform:scale(.92)}100%{transform:scale(1)}}
@keyframes pt-toast{from{opacity:0;transform:translate(-50%,16px) scale(.96)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
/* press feedback */
.btn,.obtn,.chip,.star,.ht,.heartbtn,.vbtn,.back,.gact span,.signin,.morerow,.tbub,.fcard,.gcard,.newsstrip,.nextcard,.nbrow,.bottomnav a,.daytabs button,.pick{transition:transform .16s cubic-bezier(.2,.8,.2,1),background-color .22s ease,color .22s ease,box-shadow .22s ease,filter .16s}
.btn:active,.obtn:active,.chip:active,.vbtn:active,.signin:active,.daytabs button:active,.pick:active{transform:scale(.95)}
.star:active,.ht:active,.heartbtn:active,.back:active,.gact:active span,.bottomnav a:active{transform:scale(.88)}
.morerow:active,.tbub:active,.fcard:active,.gcard:active,.newsstrip:active,.nextcard:active,.nbrow:active{transform:scale(.98)}
.hrow{transition:transform .16s,padding-left .25s cubic-bezier(.2,.8,.2,1)}
@media (hover:hover){.hrow:hover{padding-left:30px}}
.pop,.pop svg{animation:pt-pop .45s cubic-bezier(.2,.8,.2,1)}
.toast{animation:pt-toast .32s cubic-bezier(.2,.8,.2,1) both}

/* ===== Desktop: full width =====
   The menu is a full-height sidebar on the left edge; the page's coloured bands run to the right edge of the window.
   Content runs the full width of the window, with a 48px margin either side. */
@media (min-width:960px){
  .phone{max-width:none;margin:0;padding:0;display:grid;grid-template-columns:264px minmax(0,1fr);column-gap:0;align-content:start}
  .phone>*{grid-column:2}
  .phone>:not(.bottomnav){padding-left:48px;padding-right:48px}
  .phone>.topbar{padding-top:24px;padding-bottom:8px}
  .phone>.body,.phone>.sheet{padding-top:28px;padding-bottom:48px}
  .phone>.homec{padding-top:22px}
  .phone>.detail{padding:0 22px 24px}
  .phead{padding-top:24px}
  .gphead{padding-top:22px}
  .phead h1{font-size:72px}
  .phead.long h1{font-size:52px}
  .phone>.bottomnav{grid-column:1;grid-row:1/span 99;align-self:stretch;position:sticky;top:0;left:auto;bottom:auto;transform:none;height:100vh;max-height:100vh;width:auto;margin:0;border-radius:0;padding:28px 18px;grid-template-columns:1fr;gap:6px;align-content:start;grid-auto-rows:max-content}
  .bottomnav a{height:auto;grid-auto-flow:column;justify-content:start;gap:14px;padding:13px 18px;border-radius:20px}
  .phone>.bottomnav{background:#2B2850}
  .bottomnav .nl{font-family:var(--display);font-weight:400;font-size:18px;letter-spacing:.01em}
  .bottomnav .badge{position:static;margin-left:auto}
  /* Home's coloured rows run edge to edge, their text lines up with the rest */
  .phone>.homerows{padding-inline:0}
  .phone>.homerows>.hrow,.phone.home>.nextcard,.phone.home>.gcard{padding-left:48px;padding-right:48px}
  .hrow{min-height:112px}.hrow .hr-l{font-size:56px}.hrow .hr-s{font-size:19px}
  @media (hover:hover){.phone>.homerows>.hrow:hover{padding-left:56px}}
  /* Day switcher: a bar, lined up with the content (not stretched by the padding) */
  .phone>.daytabs{padding:5px;margin:28px 0 0 48px;width:auto;justify-self:start;min-width:min(560px,100% - 96px)}
  .toast{bottom:32px}
}

/* Program: the day tabs stay at the top while the list scrolls under them */
.daytabs.sticky{position:sticky;top:calc(10px + env(safe-area-inset-top,0px));z-index:30;box-shadow:0 6px 18px rgba(29,27,51,.18)}
/* "Talk summary" and "Bio" headings */
.sechd{margin:6px 0 -4px}
/* the studio's name on a game links to its website */
.studiolink{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* Big desktop screens: the same design, scaled up evenly to fill the screen (like zooming the browser in),
   so nothing looks small or lost in empty space. Phones, tablets and laptops up to 1599px wide are unchanged. */
@media (min-width:1600px){ html{zoom:1.04} }
@media (min-width:1920px){ html{zoom:1.16} }
@media (min-width:2240px){ html{zoom:1.32} }
@media (min-width:2560px){ html{zoom:1.5} }

/* Desktop: tab and filter bars are the same length as the Program day tabs and the Venue map floor tabs,
   instead of running across the whole page */
@media (min-width:960px){
  .segtabs,.daytabs{max-width:560px}
}

/* Program: Playtopia Summit / Playtopia Dream Zone switch */
/* Folder tabs: the open tab joins the program panel below it; the other tab sits behind the panel's rounded
   corner and has an arrow, so it reads as a button (same as the website's program) */
.stagetabs{display:flex;margin:20px 22px 0;position:relative}
.stagetabs button{flex:1 1 50%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 14px 38px;margin-bottom:-20px;border:0;border-radius:20px 20px 0 0;background:#FF9AC9;color:#1D1B33;text-align:left;cursor:pointer;font:inherit;position:relative;z-index:0}
.stagetabs button[aria-pressed=true]{background:var(--s-light);z-index:2;cursor:default}
.stagetabs .st-t{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.stagetabs button b{font-family:var(--display);font-weight:400;font-size:22px;line-height:1.05;white-space:nowrap}
.stagetabs button small{font-size:13px;font-weight:600}
.stagetabs .st-ar{flex:none;width:32px;height:32px;border-radius:50%;background:#1D1B33;color:#fff;display:flex;align-items:center;justify-content:center}
.stagetabs .st-ar svg{width:15px;height:15px}
.stagetabs .st-ar{display:none}
.sheet.staged{position:relative;z-index:1;background:var(--s-light);border-radius:20px;margin:0 22px 24px;padding:36px 12px 16px}
.sheet.staged .tbub,.sheet.staged .frow span{background:var(--s-pale)}
.stageintro{margin:0 4px 4px;font-size:15px;line-height:1.5;font-weight:500;color:var(--s-on,#1D1B33)}
@media (min-width:960px){.phone>.stagetabs{margin:28px 0 0;max-width:none}.stagetabs button{flex:0 1 280px;padding:18px 20px 40px}.phone>.sheet.staged{margin:0 48px 48px;padding:40px 24px 24px}}

/* Vote stands out in the bottom bar while voting is open: a filled red star, the word stays white */
.bottomnav a.vote:not([aria-current=page]) svg{color:#F35C59;fill:#F35C59}
/* Long words and links wrap instead of pushing the page wider or off the edge */
body{overflow-wrap:break-word}
.newslist{grid-template-columns:minmax(0,1fr)}
.news{min-width:0}
.news h3,.news p{overflow-wrap:anywhere;min-width:0}
.phead h1{overflow-wrap:anywhere}
.npop-card>*{min-width:0;max-width:100%}
.npop-t{overflow-wrap:anywhere}
/* Dialogs take focus when they open; the ring is for the controls inside */
[role=dialog]:focus-visible{outline:none}

/* Venue map: the orange-yellow tabs and buttons take dark text; the floor switch fills the width on phones */
body[data-sec=map] .daytabs button,body[data-sec=map] .segtabs .chip,body[data-sec=map] .chip[aria-pressed=true],body[data-sec=map] .chip[aria-pressed=true] svg,body[data-sec=map] .btn{color:#1D1B33}
body[data-sec=map] .daytabs.inset{margin:0 0 18px}

/* Page headers: the section colour at the top, fading into the page colour */
body[data-sec] .phead{background:linear-gradient(180deg,var(--s) 0%,var(--s-pale) 100%);margin-bottom:0;padding-bottom:44px}
/* More: the white title stays on the dark part; the fade starts below it */
body[data-sec=more] .phead{background:linear-gradient(180deg,#1D1B33 0%,#1D1B33 34%,#26233F 46%,#3A3757 58%,#5E5B78 70%,#9896AD 84%,#D5D4E0 94%,#EFEEF4 100%);padding-bottom:150px}
/* Sign in: dark everywhere except More */
body[data-sec] .topbar .signin{background:#1D1B33;color:#fff}
body[data-sec=more] .topbar .signin{background:#C9C6D9;color:#1D1B33}

/* Vote: the closing time as a small coral label, a clear heading, then one short line */
.vintro{gap:10px;margin-top:24px}
.vintro .vlabel{margin:0;font-family:var(--display);font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:#F35C59}
.vintro .vhead{margin:0;font-family:var(--display);font-weight:400;font-size:30px;line-height:1.08}
.vintro .vline{margin:0;font-size:16px;line-height:1.5;text-wrap:pretty}
.vsign{background:#FFC6C4}
.vsign small{text-wrap:pretty}

/* Home sponsors on phones: the logos fade out under the floating menu, and the page ends with room so the last
   row sits clear above it. The heading and logos fade in as they scroll into view (see revealSponsors). */
@media (max-width:959px){
  body[data-sec=home] .phone{padding-bottom:calc(150px + env(safe-area-inset-bottom,0px))}
  body[data-sec=home]::after{content:"";position:fixed;left:0;right:0;bottom:0;height:130px;background:linear-gradient(180deg,rgb(239 238 244 / 0),#EFEEF4 60%);pointer-events:none;z-index:39}
}
.sponsors .fadein{opacity:0;transition:opacity .7s ease}
.sponsors .fadein.shown{opacity:1}
@media (prefers-reduced-motion:reduce){.sponsors .fadein{opacity:1;transition:none}}

/* Game page on desktop: key art and buttons line up on the left with the title */
@media (min-width:960px){
  .phone>.ghero{padding-top:72px}
  .phone>.ghero .back{left:48px}
  .ghero img{max-width:820px}
  .gacts{justify-content:flex-start;gap:40px}
}
/* Games list: rows a little less rounded; the heart sits on the light section tone */
.grow2{border-radius:14px}
.grow2 .ht:not(.on){background:var(--s-light);box-shadow:none}
.nw{white-space:nowrap}
@media (max-width:520px){.gr-l{grid-template-columns:100px minmax(0,1fr);gap:12px}.gr-l img,.gr-l .ph{width:100px}}

/* Game page: the Like / Website / Vote buttons sit closer under the title */
body[data-sec] .gphead{padding-bottom:20px}
.gphead + .body{padding-top:6px}

/* Tab switches (program days, map floors, Speakers / Games): the track in the section's main colour, with dark text */
body[data-sec] .daytabs,body[data-sec] .segtabs{background:var(--s)}
body[data-sec] .daytabs button,body[data-sec] .segtabs .chip{color:#1D1B33}
body[data-sec] .segtabs .chip:not([aria-pressed=true]){background:transparent;box-shadow:none}
/* A bit more room between the logo bar and the page title */
.phead{padding-top:36px}
@media (min-width:960px){.phead{padding-top:40px}}
.phead.gphead{padding-top:22px}
/* In the area: hearts on light orange, main orange once saved; the picked filter is dark like the other filters */
body[data-sec=food] .nbrow .ht{background:#FFD3B5;color:#1D1B33;box-shadow:none}
body[data-sec=food] .nbrow .ht.on{background:#FF8A3D;color:#1D1B33}
body[data-sec=food] .nbchips .chip[aria-pressed=true]{background:#1D1B33;color:#fff}
/* Venue map: picked filters are dark with white text */
body[data-sec=map] .chip.pinchip[aria-pressed=true]{color:#fff}
.hrow:active{transform:none}

/* Talk page: one white card with the time, day and room, and the speaker on a soft strip inside it */
.tcard{background:#fff;border-radius:20px;box-shadow:var(--card-shadow);padding:20px;display:grid;gap:18px}
.tc-top{display:flex;align-items:center;gap:20px}
.tc-time b{display:block;font-family:var(--display);font-weight:400;font-size:44px;line-height:1}
.tc-time small{display:block;font-size:14px;font-weight:600;margin-top:6px}
.tc-meta{display:grid;gap:8px;font-weight:600;font-size:15px;min-width:0}
.tc-meta span{display:flex;align-items:center;gap:8px}
.tc-meta svg{width:18px;height:18px;flex:none;color:var(--s-deep)}
.tc-who{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;background:var(--s-pale);border-radius:14px;padding:12px;color:inherit;text-decoration:none}
.tc-who b{display:block;font-size:16px;line-height:1.25}
.tc-who small{display:block;font-size:13px;line-height:1.4;margin-top:6px}
@media (min-width:960px){.tcard{max-width:640px}}
/* Speaker page: the save heart on the light section tone */
.detail .star:not([aria-pressed=true]){background:var(--s-pale);box-shadow:none}
/* Dark headers (More, Info, Privacy, Sign in): the content card slides up over the end of the fade */
body[data-sec=more] .phead + *{margin-top:-118px;position:relative}
/* Info: each link a rounded, clickable block on a light greyish blue, sized to its text, with space between */
.card .links{gap:12px}
.card .links a,.card .links a:last-child{background:#E4E3EF;border:0;border-radius:16px;box-shadow:none;padding:14px 20px}
.card .links a:hover{background:#D7D5E6}
/* Sign in (option A): a heading and short line, the ticket number big and clear, the notes at the bottom */
.signform{display:grid;gap:14px}
.signform .sf-h{margin:0;font-family:var(--display);font-weight:400;font-size:30px;line-height:1.1}
.signform .sf-lead{margin:0;font-size:16px;line-height:1.5}
.signform .sf-big{display:block;margin-top:8px;font-family:var(--display);font-weight:400;font-size:24px;line-height:1.15}
.signform .inp.code{font-size:22px;min-height:64px;text-align:center}
.signform .sf-help{font-size:14px}
.signform .sf-note{margin:4px 0 0;font-size:14px;line-height:1.5;opacity:.85}
/* Speaker page: two people get two photos side by side */
.bigavs{display:flex;gap:14px}
.bigavs .bigav{width:130px;height:130px}
/* Profile Save: greyed out until something changes, "Saving…" while saving, then "Saved" with a tick */
.savebar:not(.on){border-color:#E2DAF5;box-shadow:0 4px 14px rgba(29,27,51,.08)}
.pfsave[disabled]{cursor:default;transform:none;filter:none}
.pfsave.is-idle{background:#E9E4F5;color:#8A84A3}
.pfsave.is-saving{opacity:.75}
.pfsave.is-saved{background:#9B6BFF;color:#fff;display:inline-flex;align-items:center;gap:6px}

/* Sony Interactive Entertainment | PlayStation lockup: already in the ink colour with the diamond in its own colours,
   so no ink filter, and wider than the other logos so its small text stays readable */
.splogo:has(img[src*="Sony-Interactive-Entertainment"]){flex-basis:170px}
.splogo img[src*="Sony-Interactive-Entertainment"]{filter:none;max-width:170px}
@media (max-width:520px){.splogo:has(img[src*="Sony-Interactive-Entertainment"]){flex-basis:150px}.splogo img[src*="Sony-Interactive-Entertainment"]{max-width:150px}}
