/* Khair Bus Friends — clean and chunky, in the spirit of Duolingo:
   flat bright colours, cards with a thick bottom edge, buttons that press down,
   a thick progress bar with a shine, and springy little animations. */
:root {
  --blue: #1cb0f6;
  --blue-dark: #1590d0;
  --blue-soft: #ddf4ff;
  --blue-line: #84d8ff;
  --green: #58c322;
  --green-dark: #46a015;
  --green-soft: #e4f9d4;
  --green-line: #a5e07a;
  --gold: #ffc800;
  --title-blue: #1cb0f6;
  --title-green: #58c322;
  --ink: #3c3c3c;
  --ink-soft: #777;
  --muted: #afafaf;
  --line: #e5e5e5;
  --tint: #f7f7f7;
  --bg: #fff;
  --brand: #1cb0f6;        /* their poster sky blue, as a solid page colour */
  --brand-dark: #1590d0;
  --header: #58cc5a;       /* fresh green, for the header band */
  --header-dark: #3ea842;
  --sun: #ffd43b;          /* sunny yellow for stickers */
  --sun-dark: #e0a800;
  --danger: #ff4b4b;
  --radius: 16px;
  --spring: cubic-bezier(.3, 1.6, .6, 1);
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* quick taps (adding foods one by one) shouldn't zoom the phone in; pinch-zoom still works */
html, body, button, a, input, .choice, .hero-logo, .thanks-friend, .peek { touch-action: manipulation; }
html { background: #fff; }
body { margin: 0; min-height: 100vh; font-family: var(--font); font-size: 17px; font-weight: 500; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-tap-highlight-color: transparent; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-weight: 800; line-height: 1.2; margin: 0 0 .35em; }
p { margin: 0 0 .8em; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue-line); outline-offset: 2px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt { margin-top: 28px; }
.section-title { margin: 32px 0 12px; font-size: 1.4rem; }
.fun-title { font-weight: 800; color: var(--title-green); }
.fun-title .w1 { color: var(--title-blue); }

/* ---------- header ---------- */

.preview-banner { padding: 6px 16px; background: #fff4cc; color: #7a5c00; font-size: .85rem; font-weight: 700; text-align: center; }
/* header: a white band with their hand-drawn lime squiggle along the bottom edge */
.site-head { position: relative; z-index: 2; }
.head-band { position: relative; background: var(--header) url(../img/crayon.svg) 0 0 / 200px 200px; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 84px; padding-top: 10px; }
.head-wave { height: 28px; margin-top: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28'%3E%3Cdefs%3E%3Cfilter id='c' x='-5%25' y='-30%25' width='110%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.4'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M0 0H120V12Q90 -4 60 12Q30 28 0 12Z' fill='%2358cc5a'/%3E%3Cpath d='M0 12Q30 28 60 12Q90 -4 120 12' fill='none' stroke='%23ffffff' stroke-width='5' stroke-linecap='round' filter='url(%23c)'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 54px; height: 54px; }
.brand .logo-official { width: auto; height: 52px; }
.brand-title { font-size: clamp(1.55rem, 6.5vw, 2.2rem); line-height: 1.15; }
.brand-bg .site-head .fun-title, .brand-bg .site-head .fun-title .w1 { text-shadow: none; }
.site-head .brand-title, .brand-bg .site-head .brand-title { color: #e3fbb8; text-shadow: 0 3px 0 var(--header-dark); }
.site-head .brand-title .w1, .brand-bg .site-head .brand-title .w1 { color: #fff; text-shadow: 0 3px 0 var(--header-dark); }
.spark { position: absolute; z-index: 1; pointer-events: none; }
.spark-1 { top: 10px; left: 18px; width: 30px; transform: rotate(-14deg); }
.spark-2 { bottom: -6px; left: 62px; width: 22px; transform: rotate(18deg); }
.head-nav { display: flex; align-items: center; gap: 8px; }

/* ---------- buttons: they press down ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 11px 22px; border: 0; border-radius: var(--radius); font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; user-select: none; transition: transform .08s, box-shadow .08s, filter .15s, background .15s; }
.btn:active:not(:disabled) { transform: translateY(4px); box-shadow: none !important; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dark); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 0 var(--blue-dark); }
.btn-primary:hover:not(:disabled), .btn-blue:hover:not(:disabled) { filter: brightness(1.06); }
.btn-ghost { background: #fff; color: var(--blue); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.btn-ghost:hover { background: var(--tint); }
.btn-danger { background: #fff; color: var(--danger); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.btn-on-dark { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .4); }
.btn:disabled { background: var(--line); color: var(--muted); box-shadow: none; border-color: var(--line); cursor: default; }
.btn-sm { min-height: 40px; padding: 7px 14px; border-radius: 12px; font-size: .92rem; }
.btn-wide { width: min(100%, 440px); }
.lost-home { display: flex; margin: 26px auto 0; }
.btn-link { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 700; text-decoration: underline; cursor: pointer; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-weight: 700; font-size: .95rem; }
.input { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s; }
.input:focus { outline: none; border-color: var(--blue-line); background: #fff; }
textarea.input { resize: vertical; }
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.form-error { margin: 4px 0 0; color: var(--danger); font-weight: 700; }

/* ---------- cards & pills ---------- */

.card { padding: 18px; background: #fff; border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line); }
.pill { padding: 3px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: .8rem; font-weight: 800; white-space: nowrap; }
.pill.closed { background: var(--tint); color: var(--muted); }
.pill.extra { background: var(--blue-soft); color: var(--blue-dark); }
.empty { padding: 28px; border: 2px dashed var(--blue-line); border-radius: 20px; background: rgba(255, 255, 255, .7); color: var(--ink-soft); text-align: center; list-style: none; }
.notice { margin: 0 0 16px; padding: 14px 18px; border-radius: 16px; background: #fff; color: var(--ink-soft); font-weight: 700; }

/* ---------- progress bar with a shine ---------- */

.bar { position: relative; display: flex; height: 14px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar.big { height: 20px; }
.bar-fill, .bar-mine { position: relative; height: 100%; border-radius: 999px; transition: width .6s var(--spring); }
.bar-fill { z-index: 1; background: var(--green); }
.bar-mine { margin-inline-start: -10px; background: var(--blue); }
.bar-fill::after, .bar-mine::after { content: ""; position: absolute; top: 25%; inset-inline: 8px; height: 25%; border-radius: 999px; background: rgba(255, 255, 255, .3); }

/* ---------- springy bits ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } }
@keyframes bump { 35% { transform: scale(.94); } 70% { transform: scale(1.03); } }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-1.5deg); } }
@keyframes jump { 0% { transform: translateY(40px) scale(.6); opacity: 0; } 60% { transform: translateY(-14px) scale(1.05); opacity: 1; } }
@keyframes flash { 0%, 100% { box-shadow: inset 0 0 0 0 transparent; } 20%, 60% { box-shadow: inset 0 0 0 3px var(--green); } }

/* the waving bus */
.hero-logo { position: relative; animation: bob 5s ease-in-out infinite; }
.hero-logo img { width: 100%; height: auto; }
.hero-logo .hand { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-logo .rays { position: absolute; top: 2%; left: 54%; width: 16%; transform: scaleX(-1); animation: rays 2.8s ease-in-out infinite; }
.wave-hand { transform-box: view-box; transform-origin: 302px 184px; animation: wave 2.8s ease-in-out infinite; }
@keyframes rays { 0%, 62%, 100% { opacity: 0; } 12%, 45% { opacity: 1; } }
@keyframes wave {
  0%, 62%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-24deg); }
  20%, 40% { transform: rotate(10deg); }
  50% { transform: rotate(-12deg); }
}

/* ---------- home ---------- */

.welcome { padding: 22px 0 6px; text-align: center; }
.welcome .hero-logo { width: min(280px, 74vw); margin: 4px auto 14px; }
.brand-bg .welcome .hero-logo > img:first-child { filter: drop-shadow(0 7px 0 var(--brand-dark)); }
.welcome .hero-logo .rays { top: -9%; left: 55%; }
.welcome h1 { margin: 0; font-size: clamp(2rem, 7vw, 2.8rem); }

.ev-list { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.ev-list > li { animation: rise .45s var(--spring) both; animation-delay: calc(var(--i, 0) * 70ms); }
.ev-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px 16px 16px; background: #fff; border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line); color: inherit; text-decoration: none; transition: transform .08s, box-shadow .08s, background .15s; }
.ev-card:hover { background: var(--tint); }
.ev-card:active { transform: translateY(4px); box-shadow: none; }
.ev-icon { flex: none; display: grid; place-items: center; width: 84px; height: 84px; margin-top: 10px; }
.ev-icon img { width: 100%; height: 100%; object-fit: contain; }
.ev-main { display: flex; flex: 1; flex-direction: column; gap: 5px; min-width: 0; }
.ev-title { font-size: 1.3rem; font-weight: 800; line-height: 1.25; }
.ev-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.ev-card .info-chip { padding: 4px 10px; background: var(--blue-soft); box-shadow: none; color: var(--blue-dark); font-size: .88rem; animation: none; }
.ev-card .info-chip .ic { color: var(--blue); }
.ev-card .bar-ride { margin-top: 10px; }
.ev-card .ride-bus { width: 38px; }
.ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.ev-btn { min-height: 38px; padding: 6px 18px; font-size: 1rem; pointer-events: none; }
.ev-card:active .ev-btn { transform: translateY(3px); box-shadow: none; }
.ev-left { color: var(--green-dark); font-size: .9rem; font-weight: 700; }
.ev-go { flex: none; color: var(--line); }
.ev-card:hover .ev-go { color: var(--blue); }
.past .ev-go { color: var(--green); }

/* ---------- event page: like a lesson ---------- */

.lesson-bar { position: sticky; top: 0; z-index: 20; }
.lesson-in { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.close-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; }
.close-btn:hover { background: rgba(255, 255, 255, .15); }
.lesson-bar .bar { background: rgba(255, 255, 255, .35); }
.lesson-bar .bar-fill { background-color: var(--sun); }
.lesson-mid { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.sticky-title:not([hidden]) + .bar-ride { margin-top: 12px; }
.sticky-title { overflow: hidden; color: #fff; font-size: .95rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; animation: rise .25s ease both; }

.lesson { padding-top: 8px; padding-bottom: 48px; }
.ini-hero h1 { margin: 6px 0 2px; font-size: clamp(1.7rem, 6vw, 2.4rem); }
.info-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
.info-chips:empty { display: none; }
.info-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 18px 8px 16px 10px / 10px 16px 8px 18px; background: #fff; box-shadow: 0 3px 0 var(--line); color: var(--ink); font-size: .98rem; font-weight: 700; text-decoration: none; animation: pop .4s var(--spring) both; }
.info-chip:nth-child(2) { animation-delay: .06s; } .info-chip:nth-child(3) { animation-delay: .12s; } .info-chip:nth-child(4) { animation-delay: .18s; }
.info-chip .ic { flex: none; color: var(--blue); }
a.info-chip:active { transform: translateY(3px); box-shadow: none; }

/* the chef asks */
.prompt { display: flex; align-items: flex-end; gap: 12px; margin: 14px 0 20px; }
.prompt-char { flex: none; width: 110px; height: auto; }
.bubble { position: relative; user-select: none; margin-bottom: 26px; padding: 12px 18px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font-size: 1.15rem; font-weight: 700; animation: pop .45s var(--spring) .15s both; }
.bubble::before { content: ""; position: absolute; top: 50%; right: -9px; width: 16px; height: 16px; margin-top: -8px; border-top: 2px solid var(--line); border-right: 2px solid var(--line); background: #fff; transform: rotate(45deg); }

/* the foods, like picture answers: tap to choose */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.choice { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 4px 0 var(--line); transition: border-color .15s, background .15s, box-shadow .15s; animation: rise .45s var(--spring) both; animation-delay: calc(var(--i, 0) * 45ms); }
.choice.bump { animation: bump .32s var(--spring); }
.choice-hit { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 10px 6px; border: 0; border-radius: 16px 16px 0 0; background: none; color: inherit; text-align: center; cursor: pointer; }
.choice-hit:disabled { cursor: default; }
.choice-img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: 12px; background: #fff; }
.choice-img img { max-width: 86%; max-height: 86%; object-fit: contain; transition: transform .2s var(--spring); }
.choice-hit:not(:disabled):active .choice-img img { transform: scale(.92); }
.choice-img img.placeholder { max-width: 60%; opacity: .5; }
.choice-name { font-size: 1.1rem; font-weight: 800; line-height: 1.25; }
.choice-unit { color: var(--ink-soft); font-size: .85rem; }
.choice-foot { display: flex; flex-direction: column; gap: 8px; padding: 2px 12px 12px; }
.choice .bar { height: 10px; }
.choice-left { margin: 0; color: var(--ink-soft); font-size: .92rem; font-weight: 700; text-align: center; }
.choice-left b { color: var(--ink); font-size: 1.1rem; }
.choice-left.done { display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--green-dark); }
.choice.is-picked { border-color: var(--blue-line); background: var(--blue-soft); box-shadow: 0 4px 0 var(--blue-line); }
.choice.is-picked .choice-name { color: var(--blue-dark); }
.choice.is-full { box-shadow: none; }
.choice.is-full .choice-img img { opacity: .4; filter: grayscale(.7); }
.mine-badge { position: absolute; top: 8px; left: 8px; min-width: 36px; padding: 2px 9px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; text-align: center; box-shadow: 0 3px 0 var(--blue-dark); animation: pop .35s var(--spring); }
.stepper { display: flex; align-items: center; justify-content: center; gap: 6px; animation: rise .25s ease both; }
.step-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 3px 0 var(--line); color: var(--blue); font-size: 1.35rem; font-weight: 800; line-height: 1; cursor: pointer; transition: transform .08s, box-shadow .08s; }
.step-btn:active:not(:disabled) { transform: translateY(3px); box-shadow: none; }
.step-btn.plus { background: var(--blue); border-color: var(--blue); box-shadow: 0 3px 0 var(--blue-dark); color: #fff; }
.step-btn:disabled { opacity: .35; cursor: default; }
.qty { width: 48px; height: 40px; border: 2px solid var(--blue-line); border-radius: 12px; background: #fff; text-align: center; font-size: 1.15rem; font-weight: 800; color: var(--blue-dark); }
.qty:focus { outline: none; border-color: var(--blue); }

/* something else */
.extra-card { max-width: 560px; }
/* their heart hands sitting on top of the card */
.extra-card { position: relative; margin-top: 46px; }
#extraCard .section-title { margin-bottom: 0; }
.card-hands { position: absolute; top: -44px; left: 22px; width: 84px; height: auto; rotate: -8deg; pointer-events: none; animation: beat 2.6s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 10%, 30% { transform: scale(1.1); } 20% { transform: scale(.96); } }
.extra-form { display: grid; grid-template-columns: 1fr 80px auto; gap: 8px; align-items: end; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.tag-list:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 2px solid var(--line); border-radius: 12px; box-shadow: 0 2px 0 var(--line); font-weight: 700; animation: pop .3s var(--spring); }
.tag.mine { padding-inline-end: 5px; border-color: var(--blue-line); background: var(--blue-soft); box-shadow: 0 2px 0 var(--blue-line); color: var(--blue-dark); }
.tag button { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 8px; background: #fff; color: inherit; font-size: 1rem; cursor: pointer; }

/* who's bringing what — like a leaderboard */
.board { margin-top: 8px; }
.board .section-title { display: flex; align-items: center; gap: 8px; }
.rows { margin: 0; padding: 0; border: 2px solid var(--line); border-radius: 18px; background: #fff; list-style: none; overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; transition: background .3s; }
.who-list .row { align-items: flex-start; }
.row + .row { border-top: 2px solid var(--line); }
.row.mine { background: var(--green-soft); }
.row.flash { animation: flash 1.6s; }
.avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; font-size: 1.2rem; font-weight: 800; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15); }
.row-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.row-main b { font-weight: 700; }
.row-sub { color: var(--ink-soft); font-size: .92rem; }
.minis { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mini { display: inline-flex; align-items: center; gap: 6px; padding: 3px; padding-inline-end: 4px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-size: .88rem; font-weight: 700; }
.mini:not(:has(img)) { padding-inline-start: 10px; }
.mini img { width: 28px; height: 28px; object-fit: contain; border-radius: 8px; }
.mini b { min-width: 26px; padding: 1px 7px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 800; text-align: center; }
.row.mine .mini { border-color: var(--green-line); }
.row.mine .mini b { background: var(--green-soft); color: var(--green-dark); }
.count { flex: none; min-width: 44px; padding: 4px 10px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 800; text-align: center; }
.row.all-done { justify-content: center; gap: 6px; color: var(--green-dark); font-weight: 700; }

/* bottom bar: grey until something is chosen */
.lesson-foot { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--line); }
.foot-form { display: flex; align-items: center; gap: 10px; }
.foot-form .input { flex: 1; min-width: 0; }
.foot-form .btn { flex: none; min-width: 120px; }
body.has-basket main { padding-bottom: 120px; }

/* done screen */
.complete { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); background: var(--brand) url(../img/crayon.svg) 0 0 / 200px 200px; text-align: center; overflow: hidden; animation: rise .25s ease; }
.thanks-friend { position: relative; width: min(180px, 46vw); transform-origin: 50% 100%; animation: jump .7s var(--spring) both, sway 3.4s ease-in-out .7s infinite; }
.thanks-friend img { display: block; width: 100%; height: auto; }
.thanks-friend > img:first-child { filter: drop-shadow(0 6px 0 var(--brand-dark)); }
.thanks-friend .thanks-heart { position: absolute; left: 36.7%; top: 69.8%; width: 15.8%; animation: heartbeat 1.8s ease-in-out .8s infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes heartbeat { 0%, 50%, 100% { transform: scale(1); } 12% { transform: scale(1.3); } 25% { transform: scale(1.05); } 37% { transform: scale(1.22); } }
.complete h2 { margin: 0; font-size: clamp(1.8rem, 7vw, 2.4rem); animation: pop .5s var(--spring) .2s both; }
.stats { display: flex; gap: 12px; animation: rise .5s var(--spring) .35s both; }
.stat { display: flex; flex-direction: column; min-width: 120px; padding: 10px 14px 8px; background: #fff; border-radius: 26px 10px 22px 12px / 10px 24px 12px 22px; box-shadow: 0 5px 0 var(--brand-dark); }
.stat:nth-child(2) { rotate: 2deg; } .stat:first-child { rotate: -2deg; }
.stat-label { color: var(--ink-soft); font-size: .9rem; font-weight: 700; }
.stat-val { color: var(--c); font-size: 2rem; font-weight: 800; line-height: 1.2; }
.complete .btn { margin-top: 10px; animation: rise .5s var(--spring) .5s both; }
.confetti { position: absolute; top: 60%; height: auto; pointer-events: none; }

.toast { position: fixed; top: 76px; left: 50%; z-index: 60; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; text-align: center; opacity: 0; transform: translate(-50%, -12px); transition: opacity .2s, transform .3s var(--spring); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- team dashboard ---------- */

.admin-page .brand-title { font-size: clamp(1.15rem, 4.5vw, 1.6rem); }
.team-pill { padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--header-dark); font-size: .8rem; font-weight: 800; }
.who { color: rgba(255, 255, 255, .9); font-size: .9rem; font-weight: 700; }
.login { max-width: 420px; margin: 56px auto; padding: 26px; background: #fff; border: 2px solid var(--line); border-radius: 22px; box-shadow: 0 4px 0 var(--line); }
.login-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }

.admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; padding: 24px 16px; }
.side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ini-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ini-list button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 3px 0 var(--line); text-align: start; cursor: pointer; transition: transform .08s, box-shadow .08s; }
.ini-list button:active { transform: translateY(3px); box-shadow: none; }
.ini-list button[aria-current="true"] { border-color: var(--blue-line); background: var(--blue-soft); box-shadow: 0 3px 0 var(--blue-line); }

.panel { min-width: 0; padding: 22px; background: #fff; border: 2px solid var(--line); border-radius: 22px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.panel-head h2 { margin: 0; overflow-wrap: anywhere; }
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 12px 0 22px; padding: 4px; background: #fff; border: 2px solid var(--line); border-radius: 16px; overflow-x: auto; scrollbar-width: none; }
.tab { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 8px 16px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-soft); font-weight: 700; white-space: nowrap; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--blue-soft); color: var(--blue-dark); }
.count-pill { min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .78rem; line-height: 22px; text-align: center; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; width: max-content; max-width: 100%; padding: 4px; border: 2px solid var(--line); border-radius: 16px; }
.seg label { position: relative; padding: 8px 16px; border-radius: 12px; color: var(--ink-soft); font-weight: 700; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--green-soft); color: var(--green-dark); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--blue-line); }

.photo-field { display: flex; align-items: center; gap: 12px; min-height: 50px; }
.photo-preview { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photo-field .btn { position: relative; }

.edit-items { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 12px; }
.edit-head, .edit-row { display: grid; grid-template-columns: 46px minmax(0, 2fr) minmax(0, 1.4fr) 84px 72px 96px 42px; gap: 8px; align-items: center; }
.edit-head { padding: 0 4px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.edit-head span:nth-child(n+4) { text-align: center; }
.row-img { position: relative; display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border: 2px dashed var(--line); border-radius: 12px; background: #fff; color: var(--muted); cursor: pointer; }
.row-img img { width: 100%; height: 100%; object-fit: contain; }
.row-img:has(img) { border-style: solid; }
.c-need { text-align: center; }
.num { font-weight: 800; text-align: center; }
.c-left.ok { color: var(--green-dark); }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 3px 0 var(--line); color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--danger); }
.icon-btn:active { transform: translateY(3px); box-shadow: none; }
/* second tap deletes: the button turns red and says so */
.icon-btn.armed, .btn-danger.armed { width: auto; padding: 0 12px; border-color: var(--danger); background: var(--danger); box-shadow: 0 3px 0 #c93636; color: #fff; font-size: .9rem; font-weight: 800; white-space: nowrap; animation: pop .25s var(--spring); }
.savebar.bump { animation: bump .4s var(--spring); }
.danger-zone { margin-top: 32px; padding-top: 16px; border-top: 2px solid var(--line); }

.savebar { position: sticky; bottom: 12px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding: 10px; padding-inline-start: 18px; border-radius: 18px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); animation: rise .25s var(--spring); }
.savebar div { display: flex; gap: 8px; }

.people-head { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.by-item { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.by-item-row { padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; }
.by-item-top { display: flex; align-items: baseline; gap: 8px; }
.by-item-n { margin-inline-start: auto; color: var(--blue-dark); font-weight: 800; white-space: nowrap; }
.by-item-n.ok { color: var(--green-dark); }
.names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.name-chip { padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: .88rem; font-weight: 700; }
.people { width: 100%; border: 2px solid var(--line); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.people td { padding: 12px 10px; border-top: 2px solid var(--line); vertical-align: top; }
.people tr:first-child td { border-top: 0; }
.people td:last-child { width: 56px; text-align: end; }

/* ---------- public pages on the solid brand green ---------- */

body.brand-bg { background: var(--brand) url(../img/crayon.svg) 0 0 / 200px 200px; }   /* faint crayon strokes, like their posters */
.brand-bg main { padding-bottom: 40px; }
.brand-bg .fun-title, .brand-bg .fun-title .w1 { color: #fff; text-shadow: 0 3px 0 var(--brand-dark); }
.brand-bg .section-title { color: #fff; }
.brand-bg .info-chip { box-shadow: 0 3px 0 var(--brand-dark); }
.brand-bg .ev-card, .brand-bg .choice, .brand-bg .card, .brand-bg .rows { border-color: #fff; box-shadow: 0 4px 0 var(--brand-dark); }
.brand-bg .choice.is-picked { border-color: var(--blue-line); box-shadow: 0 4px 0 var(--blue-dark); }
.brand-bg .choice.is-full { box-shadow: 0 4px 0 var(--brand-dark); }
.brand-bg .ev-card:hover { background: #fff; }
.brand-bg .empty { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .9); }
.brand-bg .bubble { border-color: #fff; }
.brand-bg .bubble::before { border-color: #fff; }

/* the bus rides the progress bar */
.bar-ride { position: relative; --p: 0; }
.ride-bus { position: absolute; z-index: 2; top: 50%; inset-inline-start: clamp(0px, calc(var(--p) * 1% - 22px), calc(100% - 44px)); width: 44px; height: auto; translate: 0 -62%; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .12)); transition: inset-inline-start .7s var(--spring); animation: bob 1.4s ease-in-out infinite; pointer-events: none; }

/* fun bars: candy stripes sliding along the fill, a finish flag, the bus hops when it moves */
.bar-ride .bar { height: 18px; }
.bar-ride .bar.big { height: 20px; }
.bar-ride .bar-fill { background-image: linear-gradient(-45deg, rgba(255, 255, 255, .28) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, .28) 75%, transparent 75%); background-size: 16px 16px; animation: stripes .9s linear infinite; }
@keyframes stripes { to { background-position: -16px 0; } }
.bar-goal { position: absolute; z-index: 2; top: 50%; inset-inline-end: 7px; display: flex; align-items: center; gap: 3px; translate: 0 -50%; color: var(--ink-soft); font-size: 12px; font-weight: 800; line-height: 1; white-space: nowrap; pointer-events: none; }
.bar-goal .flag { width: 12px; height: 14px; }
.lesson-bar .bar-goal { color: #2a7a2e; }
.ride-bus.hop { animation: ride-hop .6s var(--spring); }
@keyframes ride-hop { 40% { transform: translateY(-9px) rotate(-6deg); } 70% { transform: translateY(0) rotate(2deg); } }

/* the chef cheers when you pick something */
@keyframes hop { 40% { transform: translateY(-16px) rotate(-5deg); } 70% { transform: translateY(0) rotate(2deg); } }
.holder.cheer { animation: hop .55s var(--spring); }
.bubble.cheer { animation: pop .4s var(--spring); }
.spark-pop { position: fixed; z-index: 25; height: auto; pointer-events: none; }

/* the friend peeks over the names list */
.peek-wrap { position: relative; margin-top: 46px; }
#whoWrap .section-title { margin-bottom: 0; }
.peek-wrap .rows { position: relative; z-index: 1; }
.peek { position: absolute; top: -66px; left: 22px; z-index: 0; width: 74px; height: auto; animation: peek 4s ease-in-out infinite; }
@keyframes peek { 0%, 100% { transform: translateY(6px) rotate(-3deg); } 50% { transform: translateY(0) rotate(3deg); } }

/* countdown sticker on the event card */
.ev-card { position: relative; }
.sticker { position: absolute; top: -16px; inset-inline-start: 12px; z-index: 2; padding: 3px 14px; border: 3px solid #fff; border-radius: 14px 8px 16px 10px / 10px 14px 8px 16px; background: var(--sun); color: #5a3a00; font-size: 1rem; font-weight: 800; rotate: -7deg; box-shadow: 0 4px 0 var(--sun-dark); animation: pop .5s var(--spring) .35s both; }
.ev-list { gap: 26px; padding-bottom: 14px; }

/* hand-drawn feel: clearly uneven corners and a slight tilt, like cut-out paper */
.ev-card { border-radius: 44px 16px 38px 14px / 16px 40px 14px 36px; rotate: -.6deg; }
.choice { border-radius: 36px 12px 30px 14px / 12px 32px 14px 28px; rotate: -.7deg; }
.choice:nth-child(even) { border-radius: 12px 34px 14px 30px / 32px 12px 28px 14px; rotate: .6deg; }
.choice:nth-child(3n) { rotate: .9deg; }
.card, .rows { border-radius: 40px 14px 34px 16px / 14px 36px 16px 32px; }
.bubble { border-radius: 26px 10px 24px 12px / 10px 24px 12px 22px; rotate: -1.5deg; }
.choice-hit { border-radius: 32px 12px 0 0 / 12px 30px 0 0; }

/* loading: the bus drives along a dashed road */
.loader { display: grid; place-items: center; padding: 36px 0; list-style: none; animation: appear .3s .2s both; }
.scene { position: relative; width: 300px; max-width: 100%; height: 120px; overflow: hidden; }
.scene .layer { position: absolute; left: 0; bottom: 0; width: 600px; max-width: none; height: 120px; animation: scroll linear infinite; }
.scene .clouds { animation-duration: 9s; }
.scene .trees { animation-duration: 3.6s; }
.scene .ground { animation-duration: 1.5s; }
@keyframes scroll { from { transform: translateX(-300px); } to { transform: translateX(0); } }
.scene-bus { position: absolute; z-index: 1; bottom: 11px; left: 50%; width: 84px; margin-left: -42px; animation: cruise 3.2s ease-in-out infinite; }
.scene-bus img { display: block; width: 100%; height: auto; animation: bob .45s ease-in-out infinite; }
@keyframes cruise { 50% { transform: translateX(-14px); } }
@keyframes appear { from { opacity: 0; } }

/* someone else just signed up */
.live-pop { position: fixed; inset-inline: 0; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 7px 18px 7px 8px; border: 3px solid #fff; border-radius: 26px 12px 24px 14px / 12px 24px 14px 26px; background: var(--sun); color: #5a3a00; font-size: 1.05rem; font-weight: 800; box-shadow: 0 4px 0 var(--sun-dark); opacity: 0; translate: 0 30px; scale: .8; transition: opacity .2s, translate .45s var(--spring), scale .45s var(--spring); pointer-events: none; }
.live-pop.show { opacity: 1; translate: 0 0; scale: 1; }
.live-pop .avatar { width: 36px; height: 36px; font-size: 1rem; }
body.has-basket .live-pop { bottom: calc(96px + env(safe-area-inset-bottom)); }

/* numbers tick when others sign up */
.tick { display: inline-block; animation: pop .45s var(--spring); }

/* an item reaches its full amount: a big green check stamps on */
.choice-img { position: relative; }
.full-stamp { position: absolute; inset: 0; display: grid; place-items: center; width: 68px; height: 68px; margin: auto; border: 4px solid #fff; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dark); rotate: -8deg; }
.full-stamp.stamp { animation: stamp .6s var(--spring); }
@keyframes stamp { 0% { transform: scale(2.6); opacity: 0; } 55% { transform: scale(.88); opacity: 1; } }

/* tap the big bus: hop + honk */
.welcome .hero-logo { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.welcome .hero-logo:focus-visible { outline: 3px solid #fff; outline-offset: 6px; border-radius: 20px; }
.welcome .hero-logo.hop { animation: hop .55s var(--spring); }
.honk { position: absolute; top: 2%; left: -6%; z-index: 3; padding: 5px 14px; border: 3px solid #fff; border-radius: 16px 8px 18px 10px / 10px 16px 8px 18px; background: var(--sun); color: #5a3a00; font-size: 1.15rem; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 0 var(--sun-dark); pointer-events: none; animation: honk 1.3s var(--spring) forwards; }
@keyframes honk {
  0% { transform: scale(.3) rotate(-20deg); opacity: 0; }
  20% { transform: scale(1.1) rotate(-8deg); opacity: 1; }
  30%, 75% { transform: scale(1) rotate(-8deg); opacity: 1; }
  100% { transform: translateY(-18px) rotate(-8deg); opacity: 0; }
}

/* their little characters as avatars */
.avatar.face { overflow: hidden; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .05); }
.avatar.face img { display: block; width: 100%; height: 100%; }

/* hearts float up from the friend */
.thanks-friend, .peek { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.float-heart { position: fixed; z-index: 60; height: auto; pointer-events: none; }

/* everything covered: confetti + the bus drives across */
.party-layer { position: fixed; inset: 0; z-index: 45; overflow: hidden; pointer-events: none; }
.party-layer .confetti { top: 70%; }
.drive-bus { position: absolute; bottom: calc(110px + env(safe-area-inset-bottom)); left: 100%; width: 130px; height: auto; filter: drop-shadow(0 5px 0 var(--brand-dark)); animation: bob .45s ease-in-out infinite; }

/* the little chef that peeks up from behind the bottom bar */
.peek-chef { position: fixed; z-index: 29; bottom: calc(66px + env(safe-area-inset-bottom)); inset-inline-start: 14px; display: flex; align-items: flex-start; gap: 4px; visibility: hidden; transform: translateY(130%); transition: transform .45s var(--spring), visibility 0s .45s; pointer-events: none; }
.peek-chef.show { visibility: visible; transform: translateY(0); transition: transform .45s var(--spring), visibility 0s; }
.peek-chef img { width: 78px; height: auto; filter: drop-shadow(0 4px 0 var(--brand-dark)); }
/* yellow sticker bubble so it stands out over the white food cards */
.peek-chef .bubble { margin: 8px 0 0; padding: 7px 14px; border: 3px solid #fff; background: var(--sun); color: #5a3a00; font-size: 1.05rem; font-weight: 800; white-space: nowrap; animation: none; box-shadow: 0 4px 0 var(--sun-dark); }
.peek-chef .bubble::before { border-color: #fff; background: var(--sun); }
.peek-chef .bubble.cheer { animation: pop .4s var(--spring); }

/* a finished event: celebrate it */
.sticker-done { inset-inline-start: auto; inset-inline-end: 14px; background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dark); rotate: 5deg; }
.done-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.faces { display: flex; }
.faces .avatar { width: 34px; height: 34px; border: 2px solid #fff; }
.faces .avatar + .avatar { margin-inline-start: -10px; }
.done-text { color: var(--ink-soft); font-size: .95rem; font-weight: 700; }
.done-text b { color: var(--green-dark); font-size: 1.1rem; }
.card-spark { position: absolute; z-index: 1; width: 20px; height: auto; pointer-events: none; animation: twinkle 2.2s ease-in-out infinite; }
.card-spark.cs1 { top: 14px; inset-inline-end: 18px; }
.card-spark.cs2 { bottom: 10px; inset-inline-end: 12px; width: 15px; animation-delay: 1.1s; }
@keyframes twinkle { 50% { transform: scale(.65) rotate(25deg); opacity: .55; } }

.done-banner { position: relative; display: flex; align-items: center; gap: 14px; margin: 20px 0 22px; padding: 14px 18px; border: 2px solid #fff; border-radius: 40px 14px 34px 16px / 14px 36px 16px 32px; background: #fff; box-shadow: 0 5px 0 var(--brand-dark); animation: pop .5s var(--spring) both; }
.done-friend { flex: none; width: 74px; height: auto; transform-origin: 50% 100%; animation: sway 3.4s ease-in-out infinite; }
.done-words { display: flex; flex-direction: column; gap: 4px; }
.done-title { color: var(--green-dark); font-size: 1.6rem; font-weight: 800; line-height: 1.2; }

/* no events right now */
.empty.soon { display: flex; align-items: center; justify-content: center; gap: 12px; border: 2px solid #fff; border-radius: 40px 14px 34px 16px / 14px 36px 16px 32px; background: #fff; box-shadow: 0 5px 0 var(--brand-dark); color: var(--blue-dark); font-size: 1.15rem; }
.empty.soon img { width: 58px; height: auto; transform-origin: 50% 100%; animation: sway 3.4s ease-in-out infinite; }

/* box events: their art of the friend holding the box; tap him to see what's inside */
.holder { position: relative; flex: none; width: 110px; animation: bob 4.5s ease-in-out infinite; }
.holder .prompt-char { display: block; width: 100%; }
.holder.tappable { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.holder.tappable .prompt-char { transform-origin: 50% 90%; animation: wiggle 5s ease-in-out 2s infinite; }
/* a little wiggle now and then: tap me! */
@keyframes wiggle { 0%, 84%, 100% { transform: none; } 88% { transform: rotate(-5deg) scale(1.04); } 92% { transform: rotate(4deg) scale(1.04); } 96% { transform: rotate(-2deg); } }
.sticker ~ .ev-main .ev-title { margin-top: 10px; }

.box-intro { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); background: var(--brand) url(../img/crayon.svg) 0 0 / 200px 200px; text-align: center; overflow: hidden; }
.bi-title { margin: 0; font-size: clamp(1.6rem, 6vw, 2.1rem); }
.bi-items { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 1px; width: min(100%, 345px); margin: 0; padding: 0; list-style: none; }
/* sticker cutouts with a little label stuck on, each at a slight tilt */
.bi-item { display: flex; flex-direction: column; align-items: center; width: 83px; rotate: -3deg; }
.bi-item:nth-child(even) { rotate: 3deg; }
.bi-item:nth-child(3n) { rotate: -1deg; }
.bi-sticker { width: 78px; height: 78px; object-fit: contain; filter: drop-shadow(0 3px 0 var(--brand-dark)); }
.bi-item b { position: relative; width: max-content; max-width: 96px; margin-top: -13px; padding: 2px 6px; border: 2px solid #fff; border-radius: 10px 6px 10px 6px; background: var(--sun); color: #5a3a00; font-size: .72rem; font-weight: 800; line-height: 1.15; text-align: center; box-shadow: 0 2px 0 var(--sun-dark); }
.bi-who { width: min(140px, 38vw); height: auto; transform-origin: 0 0; filter: drop-shadow(0 6px 0 var(--brand-dark)); }
.bi-count { margin: 0; color: #fff; font-size: 1.25rem; font-weight: 800; text-shadow: 0 3px 0 var(--brand-dark); }
.bi-count b { color: var(--sun); font-size: 1.7rem; }
@media (max-height: 700px) {
  .box-intro { gap: 10px; }
  .bi-item { width: 78px; }
  .bi-item b { font-size: .68rem; }
  .bi-sticker { width: 60px; height: 60px; }
  .bi-who { width: 84px; }
}

/* ---------- smaller screens ---------- */

@media (max-width: 820px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .ini-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .ini-list li { flex: none; width: 210px; }
}
@media (max-width: 680px) {
  .panel { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .edit-head { display: none; }
  .edit-row { grid-template-columns: 46px 1fr 1fr 42px; grid-template-areas: "img name name del" "img unit need need" "coming coming left left"; padding: 10px; border-radius: 16px; background: var(--tint); }
  .c-img { grid-area: img; align-self: start; }
  .c-name { grid-area: name; } .c-unit { grid-area: unit; } .c-need { grid-area: need; text-align: start; }
  .c-coming { grid-area: coming; } .c-left { grid-area: left; } .c-del { grid-area: del; }
  .c-coming, .c-left { text-align: start; font-size: .9rem; }
  .c-coming::before, .c-left::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 700; }
  .people tr { display: grid; grid-template-columns: 1fr auto; }
  .people td { border: 0; padding: 4px 10px; }
  .people tr + tr { border-top: 2px solid var(--line); }
  .people td:nth-child(2) { grid-row: 2; padding-bottom: 12px; }
  .people td:last-child { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
}
@media (max-width: 560px) {
  .brand img { width: 44px; height: 44px; }
  .brand .logo-official { height: 42px; }
  .who { display: none; }
  .admin-page .logo-official { display: none; }
  .extra-form { grid-template-columns: 1fr 70px auto; }
  .extra-form .btn { padding: 11px 16px; }
  .prompt-char, .holder { width: 92px; }
  .foot-form .btn { min-width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
