/* Warsaw City Chase.
   The board is Warsaw street furniture. Navy MSI street plates name each area, tasks are tram
   tickets with a yellow stub, and a claimed ticket gets the validator's stamp.
   City colours only: the flag's yellow and red, MSI plate blue, white paper, dark ink.
   Built for phones in sunlight: everything you read is dark on white. */

@font-face {
  font-family: "Archivo";
  src: url(/static/fonts/archivo-latin-ext.woff2) format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url(/static/fonts/archivo-latin.woff2) format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Brygada 1918: a Polish typeface revived for the independence centenary. Used only for the game title. */
@font-face {
  font-family: "Brygada 1918";
  src: url(/static/fonts/brygada-latin-ext.woff2) format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Brygada 1918";
  src: url(/static/fonts/brygada-latin.woff2) format("woff2");
  font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --wall: #1B355F;      /* the page: a deep MSI blue */
  --plate: #1F4C90;     /* street plates, a shade brighter than the wall */
  --red: #D4213D;
  --yellow: #FFD200;
  --paper: #FFFFFF;
  --ink: #1B1B1F;
  --ink-2: #55575E;
  --line: #D9DBE0;
  --violet: #5A2D82;
  --ok: #0E7A3E;
  --bad: #B3122E;
  --warn: #9A5A00;
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

/* Chrome colours flip between the navy wall and white paper. */
body { --fg: #fff; --bg: var(--wall); --muted: rgba(255,255,255,.74); --link: #fff; }
.card, .teamcard, .tile, .combo-row, .sheet, .paper { --fg: var(--plate); --bg: var(--paper); --muted: var(--ink-2); --link: var(--plate); color: var(--ink); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--wall); color: #fff;
  font: 400 18.5px/1.4 var(--sans);
  padding-bottom: env(safe-area-inset-bottom);
}
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

h1, h2, h3 { margin: 0 0 8px; font-stretch: 78%; font-weight: 800; line-height: 1.05; letter-spacing: -0.005em; }
h1 { font-size: 34px; }
h2 { font-size: 25px; }
h3 { font-size: 20px; }
p { margin: 6px 0; }
ul { padding-left: 22px; }
li { margin: 6px 0; }

.loading { padding: 60px 16px; text-align: center; font-size: 22px; font-stretch: 78%; font-weight: 700; }
.wrap { max-width: 620px; margin: 0 auto; padding: 12px 14px 96px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }

/* ---------- buttons ---------- */

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 56px; padding: 12px 18px;
  border: 2px solid var(--fg); border-radius: 6px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-stretch: 87%; font-size: 20px; line-height: 1.1;
  cursor: pointer; text-align: center; text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: transform .06s ease;
}
.btn:active { transform: translateY(2px); }
.btn.primary { background: var(--fg); color: var(--bg); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.bad { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.ghost { background: transparent; border-color: color-mix(in srgb, var(--fg) 45%, transparent); min-height: 48px; font-size: 17px; font-weight: 600; }
.btn:disabled { background: #C9CCD2; border-color: #C9CCD2; color: #6B6E76; cursor: default; }
.btn.small { width: auto; min-height: 44px; padding: 8px 14px; font-size: 17px; }
.linkbtn { background: none; border: 0; padding: 6px 2px; color: var(--link); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; cursor: pointer; }
.btns { display: grid; gap: 10px; }
.btns.two { grid-template-columns: 1fr 1fr; }

/* ---------- surfaces ---------- */

.card { background: var(--paper); border-radius: 8px; padding: 14px 16px; margin: 12px 0; }
.card.strong { border-top: 8px solid var(--yellow); }

input[type=text], input[type=time], input[type=number], textarea, select {
  width: 100%; min-height: 52px; padding: 10px 14px; border: 2px solid var(--plate); border-radius: 6px;
  background: #fff; color: var(--ink); font-size: 19px;
}
textarea { min-height: 96px; resize: vertical; }
label.field { display: block; font-weight: 700; margin: 16px 0 6px; }

.note { background: #FFF4BF; color: var(--ink); border-left: 6px solid var(--yellow); padding: 10px 14px; border-radius: 0 6px 6px 0; margin: 10px 0; }

.banner { border-radius: 6px; padding: 10px 14px; margin: 10px 0; font-weight: 600; background: var(--paper); color: var(--ink); border-left: 7px solid var(--plate); }
.banner.warn { border-color: var(--warn); background: #FFF6E5; }
.banner.bad { border-color: var(--bad); background: #FDEEF0; }
.banner.ok { border-color: var(--ok); background: #E9F6EE; }

/* ---------- teams ---------- */

.team-red { --tc: var(--red); --tc-ink: #fff; }
.team-white { --tc: #fff; --tc-ink: var(--ink); }
.dot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; background: var(--tc); border: 1.5px solid var(--ink); vertical-align: -1px; }

.teamcard { background: var(--paper); border-radius: 8px; overflow: hidden; margin: 12px 0; }
.teamcard > .head {
  background: var(--tc); color: var(--tc-ink); padding: 11px 16px 10px;
  font-size: 25px; font-weight: 800; font-stretch: 78%; line-height: 1.05;
  border-top: 7px solid var(--yellow);
}
.team-white.teamcard > .head { border-bottom: 1.5px solid var(--line); }
.teamcard > .body { padding: 12px 16px 16px; }
.teamcard > .body > div { padding: 2px 0; }

/* ---------- header: the flag, yellow over the team colour ---------- */

.top {
  position: sticky; top: 0; z-index: 5;
  background: var(--tc); color: var(--tc-ink);
  padding: calc(6px + env(safe-area-inset-top)) 16px 10px;
  border-top: 8px solid var(--yellow);
}
.team-white .top { box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.top .inner { max-width: 620px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.top .name { font-weight: 800; font-stretch: 74%; font-size: 27px; line-height: 1; }
.top .sub { font-size: 15px; margin-top: 4px; font-weight: 500; }
.top .score { text-align: right; line-height: 1; }
.top .score b { font-size: 42px; font-weight: 900; font-stretch: 70%; display: block; font-variant-numeric: tabular-nums; }
.top .score span { font-size: 13px; font-weight: 600; }

/* ---------- tabs and filters ---------- */

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4px 0 10px; border-bottom: 1.5px solid rgba(255,255,255,.3); }
.tab { min-height: 50px; border: 0; background: none; color: #fff; opacity: .78; font-weight: 700; font-stretch: 87%; font-size: 17px; line-height: 1.1; position: relative; cursor: pointer; padding: 8px 4px 10px; }
.tab.on { opacity: 1; box-shadow: inset 0 -4px 0 var(--yellow); }
.badge { position: absolute; top: 3px; right: 4px; background: var(--yellow); color: var(--ink); border-radius: 999px; min-width: 24px; height: 24px; font-size: 14px; font-weight: 800; line-height: 24px; padding: 0 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.chip { border: 1.5px solid var(--fg); background: transparent; color: var(--fg); border-radius: 999px; padding: 6px 15px; font-weight: 700; font-size: 16px; min-height: 40px; cursor: pointer; }
.chip.on { background: var(--fg); color: var(--bg); }

/* ---------- area headings: MSI street plates ---------- */

details.area { margin: 20px 0 8px; }
details.area > summary {
  list-style: none; cursor: pointer; position: relative;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  padding: 6px; background: var(--plate); border-radius: 3px; -webkit-tap-highlight-color: transparent;
}
details.area > summary::-webkit-details-marker { display: none; }
details.area > summary::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid #fff; pointer-events: none; }
/* street name on the navy field, the district on the red band below, as on the real plates */
details.area > summary .area-name { grid-row: 1; padding: 10px 14px 9px; font-size: 25px; font-weight: 800; font-stretch: 78%; line-height: 1.05; color: #fff; }
details.area > summary .area-count { grid-row: 1; font-size: 16px; font-weight: 700; color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; padding-right: 14px; }
details.area > summary .band { grid-row: 2; grid-column: 1 / -1; margin: 0 1.5px 1.5px; background: var(--red); color: #fff; padding: 3px 12px 4px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
details.area > summary::after { content: ""; grid-row: 1; width: 11px; height: 11px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); margin: 0 20px 5px 0; }
details.area:not([open]) > summary::after { transform: rotate(-45deg); margin: 4px 20px 0 0; }
details.area.combos > summary .band { background: var(--yellow); color: var(--ink); }

/* ---------- the ticket ---------- */

.tile {
  --notch: 10px;
  position: relative; display: flex; align-items: stretch; width: 100%; text-align: left;
  margin: 8px 0; padding: 0; border: 0; border-radius: 6px; background: var(--paper);
  cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent;
}
.tile:active { transform: translateY(1px); }
.tile .stub {
  position: relative; flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--yellow); border-right: 3px dotted var(--wall); padding: 10px 4px 10px 13px;
}
/* notches where the ticket tears */
.tile .stub::before, .tile .stub::after {
  content: ""; position: absolute; right: calc(var(--notch) * -1 - 1.5px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2);
  border-radius: 50%; background: var(--wall);
}
.tile .stub::before { top: calc(var(--notch) * -1); }
.tile .stub::after { bottom: calc(var(--notch) * -1); }
.tile .stub .serial {
  position: absolute; left: 3px; top: 8px; bottom: 8px; writing-mode: vertical-rl; overflow: hidden;
  font-size: 9.5px; font-weight: 600; letter-spacing: .06em; color: rgba(27,27,31,.55); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.tile .stub b { font-size: 33px; font-weight: 900; font-stretch: 68%; line-height: .95; font-variant-numeric: tabular-nums; }
.tile .stub span { font-size: 12.5px; font-weight: 700; }
.tile .body { flex: 1; min-width: 0; padding: 11px 14px 12px 16px; }
.tile .t { font-weight: 800; font-stretch: 78%; font-size: 22px; line-height: 1.05; }
.tile .task { color: var(--ink-2); font-size: 16.5px; margin-top: 4px; line-height: 1.3; }
.tile.done .body { padding-right: 104px; }
.tile.done .labels { display: none; } /* the stamp needs the room; the sheet still shows them */
.tile.unavail { opacity: .5; }
.tile.unavail .stub { background: var(--line); }

/* validator stamp */
.stamp {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%) rotate(-7deg);
  padding: 5px 9px 4px; text-align: center; line-height: 1;
  color: var(--violet); border: 2.5px solid currentColor; border-radius: 5px;
  font-stretch: 72%; font-weight: 800; mix-blend-mode: multiply; pointer-events: none; opacity: .92;
}
.stamp .when { display: block; font-size: 23px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.stamp .what { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; margin-top: 3px; }
.stamp.good { color: var(--ok); }
.stamp.no { color: var(--bad); }

/* the punch grid: numbered squares, a hole through each one you've earned */
.punch { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 2px; }
.punch i {
  position: relative; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #B9BCC3; border-radius: 3px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.punch i.step { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.punch i.hole::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--wall); }
.sheet .punch { margin: 4px 0 14px; }
.sheet .punch i { width: 36px; height: 36px; font-size: 15px; }
.sheet .punch i.hole::after { inset: 7px; }

.labels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.label { font-size: 13.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: #EEF0F3; color: var(--ink-2); }
.label.who { background: #FFF1A8; color: var(--ink); }
.label.stranger { background: #DCE8FB; color: var(--plate); }
.label.day { background: #FBE0E5; color: var(--bad); }

.state { display: inline-block; margin-top: 8px; font-size: 14.5px; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.st-none { display: none; }
.st-draft, .st-queued, .st-uploading { color: var(--warn); background: #FFF1D6; }
.st-problem, .st-rejected, .st-ref_rejected { color: var(--bad); background: #FDE4E8; }
.st-submitted { color: var(--violet); background: #EFE7F6; }
.st-accepted, .st-approved { color: var(--ok); background: #E1F3E8; }
.tile .state-line { margin-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }

/* points stub used on sheets and grading */
.pts {
  flex: none; min-width: 62px; text-align: center; padding: 7px 8px 6px;
  background: var(--yellow); color: var(--ink); border-radius: 6px;
  font-size: 30px; font-weight: 900; font-stretch: 68%; line-height: 1;
}
.pts small { display: block; font-size: 12px; font-weight: 700; font-stretch: 100%; margin-top: 2px; }

/* ---------- sheets and overlays ---------- */

#sheet:empty, #overlay:empty { display: none; }
.sheet { position: fixed; inset: 0; z-index: 20; background: var(--paper); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sheet .bar {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: var(--plate); color: #fff; --fg: #fff; --bg: var(--plate); --muted: rgba(255,255,255,.78);
  border-top: 8px solid var(--yellow); padding: calc(6px + env(safe-area-inset-top)) 12px 8px;
}
.sheet .bar .btn { width: auto; min-height: 44px; }
.sheet h1 { font-size: 34px; }
.sheet .fineprint { margin: 10px 0 4px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.sheet .state { margin-bottom: 10px; }
.overlay { position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: var(--wall); color: #fff; }
.overlay .wrap { padding-top: calc(14px + env(safe-area-inset-top)); }
.grade-head {
  padding: calc(12px + env(safe-area-inset-top)) 16px 14px; background: var(--tc); color: var(--tc-ink);
  border-top: 8px solid var(--yellow);
}
.grade-head h1 { font-size: 30px; margin: 2px 0 0; }
.grade-head + .wrap { padding-top: 14px; }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.ph { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #C9CDD1; }
.ph img, .ph video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph .x { position: absolute; top: 5px; right: 5px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; background: rgba(27,27,31,.8); color: #fff; font-size: 19px; font-weight: 800; cursor: pointer; }
.ph .tag { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(27,27,31,.78); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 6px; }
.full img, .full video { width: 100%; max-height: 72vh; object-fit: contain; background: #000; border-radius: 6px; display: block; margin: 10px 0; }

.rungs { display: grid; gap: 8px; margin: 10px 0 14px; }
.rung { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; border: 2px solid var(--plate); border-radius: 6px; background: var(--paper); color: var(--ink); font-weight: 700; text-align: left; cursor: pointer; }
.rung > span:last-child { font-stretch: 75%; font-weight: 900; font-size: 22px; white-space: nowrap; }
.rung.on { background: var(--plate); color: #fff; }
.rung.on > span:last-child { color: var(--yellow); }
.rung:disabled { opacity: .4; }
.tile-img { display: block; height: 130px; width: auto; margin: 12px 0; padding: 12px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 6px; }
input.hidden-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- join and lobby: the title is a street plate ---------- */

.hero { position: relative; margin: 6px 0 16px; padding: 6px; background: var(--plate); border-radius: 3px; }
.hero::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid #fff; pointer-events: none; }
.hero .band { margin: 1.5px 1.5px 0; background: var(--red); color: #fff; padding: 4px 14px; font-size: 15px; font-weight: 700; }
.hero h1 { font-family: "Brygada 1918", Georgia, serif; font-size: 46px; font-stretch: 100%; font-weight: 700; line-height: .98; letter-spacing: 0; color: #fff; margin: 0; padding: 14px 16px 8px; }
.hero h1 span { display: block; }
.hero p { margin: 0; padding: 0 16px 16px; font-size: 19px; color: #fff; }

.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.who-grid .btn { min-height: 84px; font-size: 26px; font-stretch: 78%; font-weight: 800; background: var(--paper); color: var(--plate); border-color: var(--paper); }
.who-grid .btn.primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ---------- countdown: the flag ---------- */

.countdown {
  position: fixed; inset: 0; display: grid; grid-template-rows: 1fr auto;
  background: var(--yellow); color: var(--ink); text-align: center;
  font-size: 22px; font-weight: 700; font-stretch: 80%;
}
.countdown .up { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; }
.countdown .n { font-size: min(60vw, 55vh); font-weight: 900; font-stretch: 62%; line-height: .85; font-variant-numeric: tabular-nums; }
.countdown .fin { background: var(--red); color: #fff; padding: 22px 24px calc(22px + env(safe-area-inset-bottom)); font-size: 24px; }
.countdown.finish { z-index: 50; background: var(--red); color: #fff; }

/* game over: the flag turned over */
.gameover {
  position: fixed; inset: 0; z-index: 45; display: grid; grid-template-rows: 1fr auto;
  background: var(--red); color: #fff; text-align: center; font-size: 21px; font-weight: 600;
}
.gameover .up { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; }
.gameover .up .small { font-size: 17px; opacity: .85; }
.gameover .big { font-family: "Brygada 1918", Georgia, serif; font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: 0; overflow-wrap: anywhere; }
.gameover .fin { background: var(--yellow); color: var(--ink); --fg: var(--ink); --bg: var(--yellow); padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); }
.gameover .fin b { display: block; font-size: 48px; font-weight: 900; font-stretch: 70%; line-height: 1; }
.gameover .fin p { margin: 8px 0 16px; font-size: 18px; font-weight: 500; }
.countdown.finish .fin { background: var(--yellow); color: var(--ink); }

.reveal-team { opacity: 0; animation: pop .45s cubic-bezier(.2,.9,.3,1.2) forwards; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) rotate(-2deg); } to { opacity: 1; transform: none; } }
.dice { font-size: 88px; text-align: center; animation: spin 1s ease-out 1; }
@keyframes spin { from { transform: rotate(-540deg) scale(.4); } to { transform: none; } }

/* ---------- scores ---------- */

table.score { width: 100%; border-collapse: collapse; font-size: 18px; }
table.score td { padding: 7px 2px; border-bottom: 1.5px dashed var(--line); }
table.score td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
table.score tr.total td { border-bottom: 0; padding-top: 10px; font-size: 30px; font-weight: 900; font-stretch: 70%; }

.combo-row { display: flex; gap: 12px; align-items: center; padding: 10px 14px; background: var(--paper); border-bottom: 1.5px dashed var(--line); }
.combo-row:first-of-type { margin-top: 8px; border-radius: 6px 6px 0 0; }
.combo-row:last-of-type { border-bottom: 0; border-radius: 0 0 6px 6px; }
.combo-row .prog { font-weight: 900; font-stretch: 70%; font-size: 24px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.combo-row.done .prog { color: var(--violet); }

#toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; max-width: 92vw; }
#toast div { background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 6px; font-weight: 700; border-top: 5px solid var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
  .reveal-team { opacity: 1; }
}
