/* Росомахи: коміксний стиль. Чорний контур, жорсткі тіні, точки як у старих коміксах, синьо-жовтий акцент. */
:root {
  --ink: #17181C;
  --paper: #FFF4D6;
  --card: #FFFFFF;
  --muted: #6E6459;
  --ua-blue: #0057B7;
  --ua-yellow: #FFD500;
  --blue: #2463EB;
  --blue-soft: #DCE8FF;
  --orange: #FF6A1F;
  --orange-soft: #FFE3D2;
  --green: #12924A;
  --green-soft: #D8F5E2;
  --red: #E4373B;
  --red-soft: #FFE0E0;
  --pink: #FF5FA2;
  --f-body: 'Balsamiq Sans', 'Comic Sans MS', 'Segoe UI', system-ui, sans-serif;
  --f-head: 'Rubik', 'Segoe UI', system-ui, sans-serif;
  --f-logo: 'Rubik Bubbles', 'Rubik', system-ui, sans-serif;
  --f-hand: 'Pangolin', 'Balsamiq Sans', 'Comic Sans MS', cursive;
  --r: 16px;
  --sh: 4px 4px 0 var(--ink);
  --pc: var(--blue);
  --pc-soft: var(--blue-soft);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.4 var(--f-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(23, 24, 28, .09) 1.3px, transparent 1.5px);
  background-size: 14px 14px;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
[hidden] { display: none !important; }

.col {
  max-width: 480px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px calc(env(safe-area-inset-bottom, 0px) + 110px);
}
.boot { padding: 40vh 0; text-align: center; font: 800 20px var(--f-head); }

.c-blue { --pc: var(--blue); --pc-soft: var(--blue-soft); }
.c-orange { --pc: var(--orange); --pc-soft: var(--orange-soft); }

/* ---------- заголовки ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 12px; }
.top.small { display: block; margin-bottom: 14px; }
.logo {
  margin: 0;
  font: 400 34px/1 var(--f-logo);
  color: var(--ua-yellow);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ua-blue);
  letter-spacing: .5px;
  transform: rotate(-2deg);
}
.logo.big { font-size: 46px; text-align: center; }
.h1 {
  margin: 0;
  font: 900 26px/1.1 var(--f-head);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.h2 {
  margin: 26px 0 10px;
  font: 900 19px/1.2 var(--f-head);
  text-transform: uppercase;
  display: inline-block;
  background: var(--ua-yellow);
  border: 3px solid var(--ink);
  padding: 4px 12px;
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-1.2deg);
}
.h3 { margin: 0 0 10px; font: 800 17px/1.25 var(--f-head); }
.h3 small { display: block; font: 400 13px var(--f-body); color: var(--muted); margin-top: 2px; }
.lead { margin: -6px 0 14px; font: 18px/1.35 var(--f-hand); }
.muted { color: var(--muted); }
.tiny { font-size: 13px; color: var(--muted); }
.center { text-align: center; }
.hint { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }

.daybadge {
  display: grid; justify-items: center; line-height: 1;
  background: var(--card); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink);
  padding: 6px 10px; transform: rotate(2deg); min-width: 64px;
}
.daybadge b { font: 900 24px var(--f-head); }
.daybadge small { font-size: 11px; color: var(--muted); }

/* ---------- картки й кнопки ---------- */
.card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 14px;
  margin: 0 0 14px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 10px 16px;
  font: 800 16px/1.15 var(--f-head);
  text-decoration: none; text-align: center;
  background: var(--ua-yellow);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--sh);
  transition: transform .06s, box-shadow .06s;
}
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:disabled { opacity: .55; }
.btn.big { display: flex; width: 100%; min-height: 58px; font-size: 18px; text-transform: uppercase; }
.btn.ghost { background: var(--card); }
.btn.danger { color: var(--red); }
.btn.danger.armed { background: var(--red); color: #fff; }
.cta { margin: 4px 0 12px; }
.kick { width: 100%; margin-bottom: 8px; }

.chip-btn {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 40px; padding: 6px 12px;
  background: var(--card); border: 2.5px solid var(--ink); border-radius: 999px;
  font-size: 15px; box-shadow: 2px 2px 0 var(--ink);
}
.chip-btn.on { background: var(--ua-yellow); font-weight: 700; }
.chip-btn:active { transform: translate(2px, 2px); box-shadow: none; }

/* ---------- герой ---------- */
.hero { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 6px; margin: 0 0 8px; }
.hero-pic .mascot { width: 112px; height: auto; filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, .12)); }
.bubble {
  position: relative;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--sh);
  padding: 12px 14px;
  font: 18px/1.3 var(--f-hand);
}
.bubble::before {
  content: ''; position: absolute; left: -14px; top: 26px;
  border: 10px solid transparent; border-right: 14px solid var(--ink);
}
.bubble::after {
  content: ''; position: absolute; left: -8px; top: 29px;
  border: 7px solid transparent; border-right: 10px solid var(--card);
}
.countdown { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.pill { background: var(--card); border: 2.5px solid var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 13.5px; }

/* ---------- картки гравців ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pcard {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 4px 4px 0 var(--pc);
  padding: 10px;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.pcard::before { content: ''; position: absolute; inset: 0 0 auto; height: 8px; background: var(--pc); border-bottom: 2.5px solid var(--ink); }
.pc-top { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.ava { width: 40px; height: 40px; flex: none; }
.ava.big { width: 70px; height: 70px; }
.pc-who { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pc-name { font: 800 15px/1.1 var(--f-head); overflow-wrap: anywhere; max-width: 100%; }
.you { font-size: 11px; background: var(--pc); color: #fff; border-radius: 6px; padding: 1px 6px; border: 2px solid var(--ink); }
.pc-w { font: 900 30px/1 var(--f-head); margin: 8px 0 2px; letter-spacing: -.5px; }
.pc-w small { font-size: 14px; font-weight: 600; }
.pc-d { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.win { color: var(--green); }
.fail { color: var(--red); }
.bar { height: 14px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--pc-soft); overflow: hidden; margin: 8px 0 3px; }
.bar i {
  display: block; height: 100%; background: var(--pc);
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px);
  border-right: 2.5px solid var(--ink);
}
.bar.wide { --pc: var(--ua-blue); --pc-soft: #FFF0A8; }
.bar-cap { font-size: 12.5px; }
.bar-cap.muted { margin: 10px 0 4px; }
.dots { display: flex; gap: 3px; margin: 9px 0 6px; }
.dot {
  flex: 1; display: grid; place-items: center; aspect-ratio: 1; max-width: 22px;
  border: 2px solid var(--ink); border-radius: 6px; font-size: 9px; font-weight: 700; color: var(--muted); background: #fff;
}
.dot.on { background: var(--pc); color: #fff; }
.dot.today { outline: 2.5px solid var(--ua-yellow); outline-offset: 1px; }
.dot.fut { opacity: .35; }
.pc-streak { font-size: 13px; font-weight: 700; }

/* ---------- мем дня ---------- */
.meme {
  position: relative;
  margin: 14px 0 4px;
  border: 3px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh);
  background-color: var(--ua-blue);
  background-image: radial-gradient(rgba(255, 255, 255, .16) 2px, transparent 2.4px);
  background-size: 12px 12px;
  padding: 26px 12px 54px;
  text-align: center;
  overflow: hidden;
}
.meme-label {
  position: absolute; top: -3px; left: 14px;
  background: var(--ua-yellow); border: 3px solid var(--ink); border-top: 0; border-radius: 0 0 10px 10px;
  font: 900 12px var(--f-head); text-transform: uppercase; padding: 3px 10px;
}
.meme-top, .meme-bot {
  font: 900 21px/1.12 var(--f-head);
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 5px var(--ink);
  paint-order: stroke fill;
  letter-spacing: .2px;
}
.meme-pic { display: grid; place-items: center; margin: 8px 0; }
.meme-pic .mascot { width: 150px; height: auto; }
.meme-next {
  position: absolute; right: 10px; bottom: 10px;
  background: var(--card); border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 12px;
  font: 700 14px var(--f-body); box-shadow: 2px 2px 0 var(--ink);
}

/* ---------- стрічка ---------- */
.feed { display: grid; gap: 12px; }
.fi {
  background: var(--card);
  border: 3px solid var(--ink);
  border-left: 10px solid var(--pc);
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 10px 12px;
}
.fi-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.fi-name { font: 800 16px var(--f-head); }
.fi-date { color: var(--muted); font-size: 14px; }
.fi-edit { margin-left: auto; text-decoration: none; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--pc-soft); border: 2px solid var(--ink); border-radius: 10px; padding: 2px 8px; font-size: 14px; }
.chip em { font-style: normal; font-weight: 700; }
.verdict, .verdict.win, .verdict.fail { margin: 10px 0 0; font: 17px/1.3 var(--f-hand); color: var(--ink); }
.verdict b { font: 900 13px var(--f-head); padding: 2px 7px; border: 2px solid var(--ink); border-radius: 6px; margin-right: 4px; vertical-align: 1px; }
.verdict.win b { background: var(--green-soft); }
.verdict.meh b { background: var(--ua-yellow); }
.verdict.fail b { background: var(--red-soft); }
.note { margin: 8px 0 0; font: 16px/1.35 var(--f-hand); color: #3b3530; }
.pokes { list-style: none; margin: 10px 0 0; padding: 8px 10px; background: #FFF9E8; border: 2px dashed var(--ink); border-radius: 10px; display: grid; gap: 4px; font-size: 14.5px; }
.pokes .x { border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; padding: 0 4px; }
.react { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.re {
  min-width: 40px; min-height: 40px; padding: 4px 8px;
  background: #fff; border: 2px solid var(--ink); border-radius: 12px; font-size: 19px; box-shadow: 2px 2px 0 var(--ink);
}
.re:active { transform: translate(2px, 2px); box-shadow: none; }
.re.tease { font: 700 14px var(--f-body); }
.empty { display: grid; justify-items: center; text-align: center; font: 17px/1.35 var(--f-hand); }
.mascot.small { width: 90px; height: auto; }

/* ---------- запис дня ---------- */
.daybar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.datepick { position: relative; overflow: hidden; }
.datepick input { position: absolute; inset: 0; opacity: 0; width: 100%; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.num { display: grid; gap: 3px; min-width: 0; }
.num small { font-size: 12px; color: var(--muted); }
.nl { font-weight: 700; font-size: 14.5px; }
.inp {
  display: flex; align-items: center;
  border: 2.5px solid var(--ink); border-radius: 12px; background: #fff; overflow: hidden;
}
.inp:focus-within { box-shadow: 0 0 0 3px var(--ua-yellow); }
.inp input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px; font: 800 20px var(--f-head); background: transparent; }
.inp i { font-style: normal; padding: 0 10px; color: var(--muted); font-size: 14px; }
.card > .num { margin-bottom: 12px; }
.acts, .moods { display: flex; flex-wrap: wrap; gap: 8px; }
.act-rows { display: grid; gap: 8px; margin-top: 10px; }
.act-row { display: grid; gap: 6px; padding: 8px; background: #FFF9E8; border: 2px dashed var(--ink); border-radius: 12px; }
.act-row > span { font-weight: 700; }
.mins { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mins i { font-style: normal; color: var(--muted); font-size: 13px; }
.mini { min-width: 42px; min-height: 36px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; font-weight: 700; }
.mini.on { background: var(--ua-yellow); }
details.card > summary { list-style: none; cursor: pointer; margin: 0; position: relative; padding-right: 30px; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  width: 26px; height: 26px; display: grid; place-items: center;
  border: 2.5px solid var(--ink); border-radius: 8px; background: var(--ua-yellow); font: 900 18px/1 var(--f-head);
}
details[open].card > summary { margin-bottom: 10px; }
details[open].card > summary::after { content: '−'; }
.ta {
  width: 100%; margin-top: 10px; padding: 10px;
  border: 2.5px solid var(--ink); border-radius: 12px; background: #fff;
  font: 16px/1.35 var(--f-hand); resize: vertical;
}
.ta:focus { outline: 0; box-shadow: 0 0 0 3px var(--ua-yellow); }
.entry .btn.ghost { width: 100%; }

/* ---------- шторка й результат ---------- */
.sheet-back {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(23, 24, 28, .45);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.sheet-back.on { opacity: 1; }
.sheet {
  width: 100%; max-width: 480px; max-height: 92vh; overflow: auto;
  background: var(--paper);
  border: 3px solid var(--ink); border-bottom: 0;
  border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(env(safe-area-inset-bottom, 0px) + 18px);
  transform: translateY(30px); transition: transform .2s;
}
.sheet-back.on .sheet { transform: none; }
.sheet-h { margin: 0 0 12px; font: 900 20px var(--f-head); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.row { display: flex; gap: 10px; margin-top: 12px; }
.row .btn { flex: 1; }
.result, .result.win, .result.fail { text-align: center; color: var(--ink); }
.burst {
  display: inline-grid; place-items: center;
  min-width: 230px; min-height: 92px; padding: 18px 26px;
  margin: 2px auto 0;
  background: var(--ua-yellow);
  clip-path: polygon(50% 0, 58% 16%, 75% 4%, 74% 22%, 95% 16%, 85% 34%, 100% 46%, 85% 56%, 96% 76%, 75% 72%, 72% 94%, 57% 80%, 46% 100%, 38% 80%, 20% 92%, 22% 72%, 2% 74%, 14% 56%, 0 42%, 16% 32%, 6% 12%, 26% 20%, 30% 2%, 42% 16%);
  filter: drop-shadow(0 0 0 var(--ink));
}
.result.win .burst { background: #7CE3A2; }
.result.fail .burst { background: #FF8A8C; }
.burst span { font: 900 21px/1 var(--f-head); text-transform: uppercase; transform: rotate(-4deg); }
.result-pic .mascot { width: 170px; height: auto; margin: 0 auto; }
.result-text { font: 21px/1.3 var(--f-hand); margin: 6px 0 10px; }
.result-sub { font-size: 15px; margin: 6px 0; }
.result .btn { margin-top: 14px; }

/* ---------- графіки ---------- */
.seg { display: flex; gap: 6px; margin: 0 0 10px; flex-wrap: wrap; }
.seg.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.seg.scroll::-webkit-scrollbar { display: none; }
.seg.inline { margin: 0; }
.seg-b {
  flex: none; min-height: 40px; padding: 6px 12px;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 12px; font-weight: 700; font-size: 14.5px;
  box-shadow: 2px 2px 0 var(--ink); white-space: nowrap;
}
.seg-b.on { background: var(--ink); color: #fff; }
.chart { width: 100%; height: auto; }
.chart .grid { stroke: rgba(23, 24, 28, .12); stroke-width: 1.2; stroke-dasharray: 3 4; }
.chart .tick { font: 600 10.5px var(--f-head); fill: var(--muted); }
.chart .goal { font-weight: 800; }
.chart-empty { padding: 50px 10px; text-align: center; font: 18px var(--f-hand); color: var(--muted); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; font-weight: 700; font-size: 14px; }
.legend i { display: inline-block; width: 18px; height: 10px; border: 2px solid var(--ink); border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.stack { display: grid; gap: 14px; }
.rc { border-left: 8px solid var(--pc); padding-left: 10px; }
.rc-name { font: 800 16px var(--f-head); }
.rc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0 4px; }
.rc-grid.two { grid-template-columns: repeat(2, 1fr); }
.rc-grid div { background: var(--pc-soft); border: 2px solid var(--ink); border-radius: 10px; padding: 6px; text-align: center; }
.rc-grid small { display: block; font-size: 12px; color: var(--muted); }
.rc-grid b { font: 900 18px var(--f-head); }
.rc-say { margin: 6px 0 0; font: 16px/1.3 var(--f-hand); }
.totals { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 5px; font-size: 14.5px; }

/* ---------- цілі ---------- */
.goals-form { border-top: 10px solid var(--pc); }
.gf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.name-f { flex: 1; display: grid; gap: 4px; }
.name-f input, .txt input {
  width: 100%; padding: 10px; border: 2.5px solid var(--ink); border-radius: 12px; background: #fff; font: 700 17px var(--f-body);
}
.name-f input:focus, .txt input:focus { outline: 0; box-shadow: 0 0 0 3px var(--ua-yellow); }
.txt { display: grid; gap: 4px; margin-top: 12px; }
.unit-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.goals-form .btn { margin-top: 14px; }
.goal-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.badges-h { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 0 8px; font-family: var(--f-head); }
.badges-h b { color: var(--pc); font-size: 17px; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.badge {
  display: grid; justify-items: center; text-align: center; gap: 2px; padding: 8px 4px;
  border: 2px dashed rgba(23, 24, 28, .35); border-radius: 12px; background: #FAF6EC; color: var(--muted);
}
.badge.on { border: 2.5px solid var(--ink); background: var(--ua-yellow); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.badge .bi { font-size: 24px; line-height: 1.1; }
.badge b { font: 800 12px/1.15 var(--f-head); }
.badge small { font-size: 10.5px; line-height: 1.15; }
hr { border: 0; border-top: 2.5px dashed rgba(23, 24, 28, .25); margin: 16px 0; }

/* ---------- ще ---------- */
.stack-btns { display: grid; gap: 10px; margin-top: 10px; }
.rules ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; font: 16.5px/1.35 var(--f-hand); }
.bye { display: flex; align-items: center; gap: 12px; }
.bye p { margin: 0 0 8px; }

/* ---------- вхід ---------- */
.login { padding-top: 6vh; display: grid; justify-items: center; text-align: center; gap: 6px; }
.login-pic .mascot { width: 170px; height: auto; }
.login-sub { font: 19px/1.35 var(--f-hand); margin: 8px 0 14px; }
.login-form { width: 100%; display: grid; gap: 10px; text-align: left; }
.login-form label { font-weight: 700; }
.login-form input {
  width: 100%; padding: 12px; text-align: center; letter-spacing: 4px;
  border: 3px solid var(--ink); border-radius: 14px; font: 900 28px var(--f-head); background: #fff;
}
.login-form input:focus { outline: 0; box-shadow: 0 0 0 4px var(--ua-yellow); }

/* ---------- нижнє меню ---------- */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  max-width: 480px; margin: 0 auto;
  background: var(--card);
  border: 3px solid var(--ink); border-bottom: 0;
  border-radius: 20px 20px 0 0;
  padding: 6px 6px calc(env(safe-area-inset-bottom, 0px) + 6px);
}
.tab { display: grid; justify-items: center; gap: 1px; text-decoration: none; padding: 4px 0; color: var(--muted); font-weight: 700; }
.tab .ti { font-size: 22px; line-height: 1.1; filter: grayscale(.6); }
.tab .tl { font-size: 11.5px; }
.tab.on { color: var(--ink); }
.tab.on .ti { filter: none; transform: scale(1.12); }
.tab.plus { align-self: center; }
.tab.plus span {
  display: grid; place-items: center; width: 60px; height: 60px; margin-top: -30px;
  background: var(--ua-yellow); border: 3px solid var(--ink); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  font: 900 36px/1 var(--f-head); color: var(--ink);
}
.tab.plus:active span { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- тост ---------- */
.toast {
  position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 60;
  transform: translate(-50%, -200%);
  visibility: hidden;
  width: min(440px, calc(100% - 32px));
  background: var(--card); border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--sh);
  padding: 12px 14px; font: 17px/1.3 var(--f-hand); text-align: center;
  transition: transform .25s, visibility .25s;
}
.toast.on { transform: translate(-50%, 0); visibility: visible; }

@media (max-width: 360px) {
  .pc-w { font-size: 25px; }
  .grid2 { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
