/* DevFest Belgium Connect. Palette and slanted type follow the event logo: black, yellow, red. */
:root {
  --bg: #f6f2e9;
  --surface: #ffffff;
  --surface-2: #ede8dc;
  --text: #15120f;
  --muted: #6c655b;
  --line: #e2dccf;
  --ink: #15120f;
  --on-ink: #f6f2e9;
  --yellow: #ffd21f;
  --yellow-soft: #fff1b3;
  --yellow-text: #7a5c00;
  --red: #e3262e;
  --red-soft: #fde2e1;
  --green: #17824a;
  --green-soft: #dcf2e5;
  --shadow: 0 1px 0 rgba(21, 18, 15, .04), 0 6px 20px -8px rgba(21, 18, 15, .18);
  --radius: 20px;
  --nav-h: 66px;
  --display: Poppins, "Arial Black", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0c0a;
    --surface: #1b1814;
    --surface-2: #29251f;
    --text: #f6f1e7;
    --muted: #a8a094;
    --line: #37322a;
    --ink: #000000;
    --yellow-soft: #3a3110;
    --yellow-text: #ffd21f;
    --red: #ff5257;
    --red-soft: #3f1b1c;
    --green: #5fd08a;
    --green-soft: #15331f;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .05);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: 23px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: 17px; line-height: 1.3; font-weight: 600; }
h3 { font-size: 15px; line-height: 1.35; font-weight: 600; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.boot { padding: 34vh 24px; text-align: center; color: var(--muted); }
.shell { max-width: 540px; margin: 0 auto; min-height: 100dvh; padding: 0 16px calc(var(--nav-h) + 44px + env(safe-area-inset-bottom, 0px)); }
.shell.bare { padding-bottom: 40px; }
main.enter { animation: fade .25s ease-out; }
main > .announce, main > .hero + .card { margin-top: 12px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* type helpers */
.display { font: italic 800 28px/1.02 var(--display); text-transform: uppercase; letter-spacing: -.015em; text-wrap: balance; }
.display.xl { font-size: 34px; }
.ribbon { display: inline-block; padding: 3px 12px 2px; background: var(--yellow); color: #15120f; font: italic 800 12px/1.5 var(--display); letter-spacing: .04em; text-transform: uppercase; transform: skewX(-10deg); }
.ribbon.red { background: var(--red); color: #fff; }
.ribbon.dark { background: var(--text); color: var(--bg); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.stack.lg { gap: 18px; }
.row { display: flex; align-items: center; gap: 10px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.break-word { overflow-wrap: anywhere; }
.icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.icon svg { width: 100%; height: 100%; }
.tricolor { height: 6px; background: linear-gradient(90deg, #15120f 0 33.300%, #ffd21f 33.300% 66.600%, #e3262e 66.600%); }

.top { display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top, 0px)) 0 12px; }
.top .logo { height: 40px; width: auto; }
.top .title { font: italic 800 16px/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.top .sub { font-size: 12px; color: var(--muted); }
.top a { text-decoration: none; }

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card.flat { box-shadow: inset 0 0 0 1px var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 2px 10px; }
.section-head h2 { font: italic 800 17px/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.section-head a, .section-head button { font-size: 13px; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* hero */
.hero { position: relative; overflow: hidden; border-radius: 26px; padding: 22px 20px 20px; color: #f6f2e9; background: #15120f; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; top: -30%; bottom: -30%; width: 74px; transform: skewX(-18deg); }
.hero::before { right: 64px; background: #ffd21f; }
.hero::after { right: -24px; background: #e3262e; }
.hero .display { max-width: 68%; margin-top: 12px; }
.hero p { max-width: 64%; margin-top: 8px; font-size: 13.5px; opacity: .85; }
.hero .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.count { display: flex; gap: 8px; margin-top: 16px; }
.count div { min-width: 58px; padding: 8px 6px 6px; border-radius: 14px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(4px); text-align: center; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .95; }
.count b { display: block; font: italic 800 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.600s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 14px; border: 0; background: var(--yellow); color: #15120f; font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: transform .12s; }
.btn:active { transform: scale(.97); }
.btn.block { width: 100%; }
.btn.ink { background: var(--text); color: var(--bg); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.500px var(--line); color: var(--text); font-weight: 600; }
.btn.soft { background: var(--surface-2); color: var(--text); font-weight: 600; }
.btn.done { background: var(--green-soft); color: var(--green); }
.btn.danger { background: transparent; box-shadow: inset 0 0 0 1.500px var(--line); color: var(--red); font-weight: 600; }
.btn.red { background: var(--red); color: #fff; }
.btn.linkedin { background: #0a66c2; color: #fff; }
.btn.light { background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 11px; }
.btn[disabled] { opacity: .6; cursor: default; }
.linkbtn { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.iconbtn { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; color: var(--muted); }

/* chips and tags */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 4px; margin: 0 -16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.multi { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.chip { flex: none; min-height: 38px; padding: 0 15px; border-radius: 12px; border: 0; box-shadow: inset 0 0 0 1.500px var(--line); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; font-weight: 600; }
.chip.alert { background: var(--red); color: #fff; box-shadow: none; font-weight: 600; }
.chip.alert[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--text); }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 7px; background: var(--surface-2); color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.tag.t1 { background: var(--yellow); color: #15120f; }
.tag.t2 { background: var(--red); color: #fff; }
.tag.t0 { background: var(--text); color: var(--bg); }
.tag.live { background: var(--red); color: #fff; letter-spacing: .05em; }
.tag.shared { background: var(--green-soft); color: var(--green); }
.tag.warn { background: var(--yellow-soft); color: var(--yellow-text); }
@media (prefers-color-scheme: dark) { .tag.t2, .tag.live, .btn.red { color: #15120f; } }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 15px; background: var(--surface-2); }
.seg button { min-height: 40px; border: 0; border-radius: 11px; background: transparent; font-weight: 600; font-size: 13.5px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.banner { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--yellow-soft); color: var(--text); font-size: 13.5px; font-weight: 500; }
.banner .icon { color: var(--yellow-text); }
.announce { display: flex; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--yellow); color: #15120f; font-weight: 500; }
.announce small { display: block; font: italic 800 11px/1.6 var(--display); letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

/* forms */
label.field, .field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1.500px var(--line); background: var(--surface); font-size: 16px; }
textarea.input { min-height: 88px; resize: vertical; }
.input:focus { outline: none; box-shadow: inset 0 0 0 2.500px var(--text); }
.searchbox { position: relative; }
.searchbox .icon { position: absolute; left: 14px; top: 15px; color: var(--muted); pointer-events: none; }
.searchbox .input { padding-left: 44px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); font-weight: 400; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: #15120f; }
@media (prefers-color-scheme: dark) { .check input { accent-color: #ffd21f; } }
.setting { display: flex; gap: 14px; align-items: center; }
/* meeting tables */
.meeting { display: grid; gap: 10px; margin-bottom: 9px; }
.meeting .name { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.tableno { flex: none; display: grid; place-content: center; justify-items: center; gap: 3px; width: 60px; height: 60px; border-radius: 16px; background: var(--yellow); color: #15120f; }
.tableno small { font-size: 10px; font-weight: 600; line-height: 1; text-transform: uppercase; letter-spacing: .05em; }
.tableno b { font: italic 800 24px/1 var(--display); }
.seg.three button { font-size: 12.5px; padding: 0 4px; }
select.input { font: inherit; color: inherit; padding-right: 36px; }
.tablecard .num { font: italic 800 190px/1.05 var(--display); }
.switch { flex: none; position: relative; width: 52px; height: 32px; padding: 0; border: 0; border-radius: 16px; background: var(--line); transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--green); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.switch:disabled { opacity: .55; cursor: default; }
.error { color: var(--red); font-size: 13.5px; font-weight: 600; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.steps { display: flex; gap: 6px; }
.steps i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.steps i.on { background: var(--text); }
.perks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.perks li { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.perks .icon { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--yellow); color: #15120f; }
.perks li:nth-child(2) .icon { background: var(--red); color: #fff; }
.perks li:nth-child(3) .icon { background: var(--text); color: var(--bg); }

/* schedule */
.timehead { display: flex; align-items: center; gap: 10px; margin: 18px 2px 8px; font: italic 800 15px/1 var(--display); font-variant-numeric: tabular-nums; }
.timehead::after { content: ""; flex: 1; height: 1.500px; background: var(--line); }
.timehead.now { color: var(--red); }
.timehead.now::after { background: var(--red); }
.talk { position: relative; display: flex; gap: 6px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 13px 4px 13px 20px; margin-bottom: 9px; overflow: hidden; }
.talk::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--text); }
.talk.t1::before { background: var(--yellow); }
.talk.t2::before { background: var(--red); }
.talk.past { opacity: .5; }
.talk.live { box-shadow: 0 0 0 2px var(--red), var(--shadow); }
.talk .body { flex: 1; min-width: 0; cursor: pointer; }
.talk .tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.talk .who { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-top: 7px; }
.talk .who .avatar { width: 24px; height: 24px; font-size: 10px; margin-right: -14px; box-shadow: 0 0 0 2px var(--surface); }
.talk .who .avatar:last-of-type { margin-right: 0; }
.talk .meta { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.star { color: var(--muted); }
.star[aria-pressed="true"] { color: #e5a800; }
.star[aria-pressed="true"] .icon { animation: pop .3s; }
@keyframes pop { 50% { transform: scale(1.35); } }
.star .icon { width: 23px; height: 23px; }
.pause { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px; margin-bottom: 9px; border-radius: 14px; background: repeating-linear-gradient(-45deg, transparent 0 8px, color-mix(in srgb, var(--line) 55%, transparent) 8px 9.500px); box-shadow: inset 0 0 0 1.500px var(--line); color: var(--muted); font-size: 13.5px; font-weight: 500; }
.pause.past { opacity: .5; }
.pause .meta { margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; }
.empty { text-align: center; color: var(--muted); padding: 40px 20px; }
.empty .icon { width: 38px; height: 38px; margin-bottom: 8px; opacity: .55; }
.jump { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 52px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.speakers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.speakers button { display: grid; justify-items: center; gap: 4px; padding: 18px 10px 14px; border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.speakers .name { font-weight: 600; line-height: 1.25; margin-top: 6px; }
.speakers .role { font-size: 12px; color: var(--muted); line-height: 1.3; }

/* avatars + people */
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 700 16px/1 var(--display); color: #fff; background: #4a433a; overflow: hidden; box-shadow: inset 0 0 0 1.500px rgba(255, 255, 255, .14); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 78px; height: 78px; font-size: 27px; }
.avatar.md { width: 60px; height: 60px; font-size: 21px; }
.avatar.sm { width: 34px; height: 34px; font-size: 12px; }
.pile { display: flex; }
.pile .avatar { margin-right: -10px; box-shadow: 0 0 0 2.500px var(--surface); }
.person { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 9px; }
.person .info { flex: 1; min-width: 0; cursor: pointer; }
.person .name { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.person .role { color: var(--muted); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.person .tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.rail { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.match { flex: none; width: 164px; scroll-snap-align: start; display: grid; gap: 6px; justify-items: start; align-content: start; padding: 14px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.match .name { font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.match .why { font-size: 12px; color: var(--muted); line-height: 1.35; min-height: 32px; overflow-wrap: anywhere; }
.match .btn { width: 100%; margin-top: 2px; }

/* goal ring */
.goal { display: flex; align-items: center; gap: 14px; }
.ring { flex: none; position: relative; width: 62px; height: 62px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; stroke: var(--surface-2); }
.ring circle.bar { stroke: var(--red); stroke-linecap: round; transition: stroke-dashoffset .6s; }
.ring.full circle.bar { stroke: var(--green); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: italic 800 17px/1 var(--display); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.tile { display: grid; gap: 2px; padding: 14px 12px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; }
.tile b { font: italic 800 26px/1 var(--display); }
.tile span { font-size: 12px; color: var(--muted); }
.links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.links a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font-weight: 600; font-size: 13.5px; text-decoration: none; }

/* badge with personal QR */
.badge-card { position: relative; overflow: hidden; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.badge-card .head { position: relative; padding: 30px 18px 20px; background: #15120f; color: #f6f2e9; isolation: isolate; overflow: hidden; }
.badge-card .head::before, .badge-card .head::after { content: ""; position: absolute; z-index: -1; top: -40%; bottom: -40%; width: 46px; transform: skewX(-18deg); }
.badge-card .head::before { right: 34px; background: #ffd21f; }
.badge-card .head::after { right: -16px; background: #e3262e; }
.badge-card .slot { position: absolute; top: 11px; left: 50%; width: 54px; height: 9px; margin-left: -27px; border-radius: 6px; background: var(--bg); }
.badge-card .who { display: flex; align-items: center; gap: 12px; text-align: left; padding-right: 86px; }
.badge-card .who .avatar { box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.badge-card .who .display { font-size: 22px; overflow-wrap: anywhere; }
.badge-card .who .small { opacity: .8; overflow-wrap: anywhere; }
.badge-card .body { padding: 18px 18px 16px; }
.qr { width: min(62vw, 240px); margin: 0 auto 12px; padding: 12px; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1.500px #e2dccf; }
.qr svg { display: block; width: 100%; height: auto; }
.code { font: italic 800 13px/1 var(--display); letter-spacing: .22em; }

/* scanner */
.scanner { position: fixed; inset: 0; z-index: 60; background: #000; color: #fff; display: flex; flex-direction: column; }
.scanner video { flex: 1; min-height: 0; width: 100%; object-fit: cover; }
.scanner .frame { position: absolute; left: 50%; top: 44%; width: min(68vw, 300px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 28px; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5); border: 4px solid #ffd21f; pointer-events: none; }
.scanner .bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px calc(24px + env(safe-area-inset-bottom, 0px)); text-align: center; display: grid; gap: 12px; justify-items: center; background: linear-gradient(transparent, rgba(0, 0, 0, .85) 45%); }

/* connected celebration */
.met { position: relative; text-align: center; padding-top: 6px; }
.met .pair { display: flex; justify-content: center; align-items: center; margin: 4px 0 14px; }
.met .pair .avatar { box-shadow: 0 0 0 4px var(--bg); animation: slide-l .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.met .pair .avatar + .avatar { margin-left: -14px; animation-name: slide-r; }
@keyframes slide-l { from { transform: translateX(-50px); opacity: 0; } }
@keyframes slide-r { from { transform: translateX(50px); opacity: 0; } }
.confetti { position: absolute; left: 50%; top: 40px; width: 0; height: 0; pointer-events: none; }
.confetti i { position: absolute; width: 8px; height: 14px; border-radius: 2px; animation: burst .9s ease-out both; }
@keyframes burst { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* venue */
.plan { padding: 12px; }
.plan svg { display: block; width: 100%; height: auto; }
.plan img { display: block; width: 100%; border-radius: 12px; }
.plan .room { cursor: pointer; }
.plan .room rect { stroke: var(--bg); stroke-width: 3; }
.plan .room.sel rect { stroke: var(--text); }
.plan .r-t1 rect { fill: var(--yellow); }
.plan .r-t2 rect { fill: var(--red); }
.plan .r-hall rect { fill: var(--surface-2); }
.plan .r-misc rect { fill: var(--surface-2); }
.plan .r-desk rect { fill: var(--text); }
.plan text { fill: var(--text); font: italic 800 11.500px var(--display); text-transform: uppercase; text-anchor: middle; pointer-events: none; }
.plan text.s { font: 500 8.500px Poppins, system-ui, sans-serif; text-transform: none; fill: var(--muted); }
.plan .r-t1 text, .plan .r-t1 text.s { fill: #15120f; }
.plan .r-t2 text, .plan .r-t2 text.s { fill: #fff; }
.plan .r-desk text, .plan .r-desk text.s { fill: var(--bg); }
.plan .arrow { fill: var(--text); }
.plan .livedot { fill: #fff; stroke: #15120f; stroke-width: 2; animation: blink 1.400s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.photos { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photos::-webkit-scrollbar { display: none; }
.photos figure { flex: none; width: 74%; scroll-snap-align: center; }
.photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; display: block; background: var(--surface-2); }
.photos figcaption { font-size: 12px; color: var(--muted); margin-top: 5px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.partners a { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.500px var(--line); }
.partners img { max-height: 100%; object-fit: contain; }

/* floating nav */
.nav { position: fixed; z-index: 40; left: 0; right: 0; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 0 12px; pointer-events: none; }
.nav .inner { pointer-events: auto; max-width: 480px; margin: 0 auto; height: var(--nav-h); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border-radius: 24px; background: #15120f; box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.nav a { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 0; color: #a8a094; font-size: 10.5px; font-weight: 600; text-decoration: none; }
.nav a .icon { width: 23px; height: 23px; }
.nav a[aria-current="page"] { color: #ffd21f; }
.nav a.fab .bubble { width: 58px; height: 58px; margin-top: -30px; border-radius: 20px; display: grid; place-items: center; background: #ffd21f; color: #15120f; box-shadow: 0 0 0 5px var(--bg), 0 8px 18px rgba(0, 0, 0, .35); transform: rotate(-4deg); }
.nav a.fab .bubble .icon { width: 28px; height: 28px; }
.nav a.fab { color: #f6f2e9; }
.badge { position: absolute; top: 3px; left: calc(50% + 7px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #e3262e; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* sheet + toast */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .55); display: flex; align-items: flex-end; justify-content: center; animation: dim .2s; }
@keyframes dim { from { background: transparent; } }
.sheet { width: 100%; max-width: 540px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-radius: 28px 28px 0 0; padding: 6px 18px calc(26px + env(safe-area-inset-bottom, 0px)); animation: up .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes up { from { transform: translateY(60px); opacity: 0; } }
.sheet .grab { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 6px 0; margin: 0 -6px; }
.close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; }
.speaker { display: flex; gap: 12px; align-items: flex-start; }
.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pre { white-space: pre-line; overflow-wrap: anywhere; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(var(--nav-h) + 36px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 14px; background: #15120f; color: #f6f2e9; font-size: 13.5px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .1); text-align: center; animation: up .25s; }
.meter { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--red); transition: width .5s; }
.meter.full i { background: var(--green); }

/* organiser pages */
.wide { max-width: 940px; margin: 0 auto; padding: 24px 16px 60px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 12px; color: var(--muted); font-weight: 600; }
.poster { max-width: 720px; margin: 0 auto; padding: 0 0 40px; text-align: center; background: #fff; color: #15120f; min-height: 100dvh; }
.poster .inner { padding: 30px 28px 0; }
.poster img.logo { height: 150px; }
.poster .display { font-size: 54px; margin-top: 14px; }
.poster .lead { font-size: 20px; color: #6c655b; margin-top: 10px; }
.poster .qr { width: min(80vw, 400px); margin: 28px auto 12px; padding: 18px; border-radius: 30px; box-shadow: inset 0 0 0 5px #15120f; }
.poster ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; text-align: left; font-size: 14.5px; }
.poster li { counter-increment: step; padding: 16px; border-radius: 18px; background: #f6f2e9; }
.poster li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: italic 800 17px var(--display); margin-bottom: 8px; background: #ffd21f; transform: rotate(-4deg); }
.poster li:nth-child(2)::before { background: #e3262e; color: #fff; }
.poster li:nth-child(3)::before { background: #15120f; color: #fff; }
.poster .url { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
@media print { .noprint { display: none !important; } * { -webkit-print-color-adjust: exact; print-color-adjust: exact; } @page { margin: 10mm; } }

/* live: trivia, polls, Q&A */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.duo-card { display: grid; gap: 2px; align-content: start; justify-items: start; padding: 14px; border: 0; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); text-align: left; text-decoration: none; }
.duo-card .icon { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--text); color: var(--bg); margin-bottom: 6px; }
.duo-card b { font: italic 800 15px/1.2 var(--display); text-transform: uppercase; }
.duo-card span.sub { font-size: 12px; color: var(--muted); line-height: 1.35; }
.duo-card.hot { background: var(--red); color: #fff; }
.duo-card.hot .icon { background: #fff; color: #e3262e; }
.duo-card.hot span.sub { color: inherit; opacity: .9; }
@media (prefers-color-scheme: dark) { .duo-card.hot { color: #15120f; } .duo-card.hot .icon { background: #15120f; color: #ff5257; } }
.q { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px 12px 10px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.q.answered { opacity: .6; }
.q .vote { flex: none; display: grid; justify-items: center; gap: 0; min-width: 48px; padding: 6px 4px 5px; border: 0; border-radius: 13px; background: var(--surface-2); font: italic 800 16px/1.1 var(--display); }
.q .vote .icon { width: 18px; height: 18px; }
.q .vote[aria-pressed="true"] { background: var(--yellow); color: #15120f; }
.q .text { overflow-wrap: anywhere; line-height: 1.4; }
.q .by { font-size: 12px; color: var(--muted); margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.opt { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 10px 14px; border: 0; border-radius: 14px; background: var(--surface-2); text-align: left; font-weight: 600; overflow: hidden; isolation: isolate; }
.opt .fill { position: absolute; z-index: -1; inset: 0 auto 0 0; background: color-mix(in srgb, var(--text) 13%, transparent); transition: width .5s; }
.opt .pct { margin-left: auto; font: italic 800 14px/1 var(--display); font-variant-numeric: tabular-nums; }
.opt.picked { box-shadow: inset 0 0 0 2.500px var(--text); }
.opt .mine { flex: none; padding: 2px 7px; border-radius: 7px; background: var(--text); color: var(--bg); font-size: 11px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.opt.right { background: var(--green-soft); color: var(--green); }
.opt.right .fill { background: color-mix(in srgb, var(--green) 25%, transparent); }
.opt.wrong { box-shadow: inset 0 0 0 2.500px var(--red); }
.opt[disabled] { cursor: default; }
.board { display: grid; gap: 2px; }
.board .line { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; }
.board .line.me { background: var(--yellow-soft); }
.board .rank { width: 24px; text-align: center; font: italic 800 16px/1 var(--display); }
.board .pts { margin-left: auto; font: italic 800 15px/1 var(--display); font-variant-numeric: tabular-nums; }
.stars { display: flex; gap: 2px; }
.stars button { width: 44px; height: 44px; border: 0; background: none; color: var(--line); display: grid; place-items: center; }
.stars button .icon { width: 30px; height: 30px; }
.stars button.on { color: #e5a800; }
.points { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border-radius: 12px; background: var(--text); color: var(--bg); font-size: 12px; }
.points b { font: italic 800 20px/1 var(--display); }

/* organiser console + stage */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: none; }
.modrow { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.modrow:first-of-type { border-top: 0; }
.stage { min-height: 100dvh; padding: 4vh 4vw; background: #15120f; color: #f6f2e9; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4vw; align-content: start; }
.stage .display { font-size: clamp(30px, 4vw, 60px); }
.stage .side { text-align: center; }
.stage .side .qr { width: 100%; }
.stage .side p { font-size: 17px; margin-top: 8px; }
.stage .sq { display: flex; gap: 22px; align-items: center; padding: 20px 24px; border-radius: 22px; background: rgba(255, 255, 255, .08); font-size: clamp(20px, 2.200vw, 32px); line-height: 1.3; margin-top: 16px; }
.stage .sq b { flex: none; min-width: 74px; padding: 10px 0; border-radius: 16px; background: #ffd21f; color: #15120f; text-align: center; font: italic 800 30px/1 var(--display); }
.stage .sq small { display: block; font-size: 15px; opacity: .65; margin-top: 4px; }
.stage .opt { min-height: 78px; font-size: clamp(20px, 2.200vw, 32px); background: rgba(255, 255, 255, .1); color: #f6f2e9; margin-top: 14px; padding: 14px 24px; border-radius: 20px; }
.stage .opt .fill { background: rgba(255, 255, 255, .16); }
.stage .opt.right { background: #1f9d55; color: #fff; }
.stage .opt .pct { font-size: 26px; }
.stage .board .line { font-size: 19px; }
.stage select { width: 100%; margin-top: 18px; padding: 8px; border-radius: 10px; font: inherit; }
@media (max-width: 800px) { .stage { grid-template-columns: minmax(0, 1fr); } }
.board .ribbon { justify-self: start; margin-bottom: 6px; }

/* awareness */
.bell { position: relative; color: var(--text); background: var(--surface); box-shadow: var(--shadow); margin-right: -2px; }
.bell .pip { position: absolute; top: 9px; right: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--surface); }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.note.go { cursor: pointer; }
.note > .icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--surface-2); }
.sheet:focus { outline: none; }
.perks li span { line-height: 1.4; }

/* points, tasks, rewards */
/* bingo card: the tasks as a 3x3 grid */
.bingo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bingo .cell { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 5px; min-height: 112px; padding: 11px 6px 9px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.bingo .tick { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); font-size: 10.5px; font-weight: 600; color: var(--muted); }
.bingo .tick .icon { width: 17px; height: 17px; }
.bingo .label { align-self: center; font-size: 12px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.bingo .pts { font: italic 800 12px/1 var(--display); color: var(--muted); }
.bingo .cell.done .tick { background: var(--green); color: var(--surface); box-shadow: none; }
.bingo .cell.done .pts { color: var(--green); }
.bingo .cell.win { background: var(--yellow); color: #15120f; }
.bingo .cell.win .tick { background: #15120f; color: var(--yellow); }
.bingo .cell.win .pts { color: #15120f; }
.task { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.task .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--line); margin-top: 1px; }
.task .tick .icon { width: 17px; height: 17px; }
.task.done .tick { background: var(--green); color: var(--surface); box-shadow: none; }
.task.done .name { text-decoration: line-through; text-decoration-color: var(--muted); }
.task .name { font-weight: 600; }
.task .plus { font: italic 800 16px/1.6 var(--display); }
.task.done .plus { color: var(--green); }
.card.goal.ready { background: var(--yellow); color: #15120f; }
.card.goal.ready .muted { color: #15120f; }
.claimcode { justify-self: center; padding: 18px 28px; border-radius: 20px; background: var(--text); color: var(--bg); font: italic 800 56px/1 var(--display); letter-spacing: .14em; }
.claimcode.used { opacity: .45; text-decoration: line-through; }
.boothsheet { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; color: #15120f; }
.boothcard { text-align: center; padding: 0 28px 28px; border: 1px dashed #c9c2b3; break-inside: avoid; }
.boothcard .display { font-size: 30px; margin: 8px 0 14px; }
.boothcard .qr { width: 70%; margin-bottom: 14px; }
.boothcard p { font-size: 14px; }
.seg.lang { max-width: 260px; margin: 0 auto; }
.seg.lang button { min-height: 34px; font-size: 13px; }

/* Ask Gemini for my ideal schedule */
.peek summary { cursor: pointer; font-weight: 600; font-size: 13px; padding: 6px 0; }
.peek textarea.input { margin-top: 6px; min-height: 200px; line-height: 1.4; }
.planlist { display: grid; gap: 8px; }
.planrow { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.planrow .when { min-width: 48px; font: italic 800 15px/1.300 var(--display); font-variant-numeric: tabular-nums; }
.planrow .what { font-weight: 600; line-height: 1.300; overflow-wrap: anywhere; }
