/* Sto pól — dodatki do wspólnego systemu wyglądu (../wspolne/system.css), motyw „matematyka”.
   Znaczenia kolorów jak w pozostałych grach: zielony = dobrze, czerwony = źle, bursztynowy = tu patrz,
   fiolet = kolor przedmiotu (matematyka). Złoto = pole utrwalone (pamiętasz też po przerwie). */
:root { --gold: #e0a63a; --card-w: 340px; }

/* --- nagłówek: przycisk gracza (nie jest „restartem”, więc bez czerwieni) ------------------- */
#playerBtn:hover { background: var(--focus-tint); border-color: var(--ink); color: var(--ink); }
.link.danger { color: var(--bad); }
.btn.alt { background: var(--bad); }

/* --- plansza ------------------------------------------------------------------------------ */
.stage { overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #fffdf6, #f1ead8); }
.stage > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#map { touch-action: manipulation; }
#pond { touch-action: none; cursor: pointer; }
.stage > .stage-label { position: absolute; left: 14px; top: 12px; z-index: 2; }
.stage[data-mode="pond"] > .stage-label { top: auto; bottom: 12px; }

/* --- karta z pytaniem i klawiaturą (wyprawa, wyścig) --------------------------------------- */
.play {
  position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-panel); box-shadow: 4px 6px 0 rgba(38, 48, 42, .2);
}
.stage.wide .play { right: 12px; top: 12px; bottom: 12px; width: var(--card-w); justify-content: center; }
.stage.tall .play { left: 10px; right: 10px; bottom: 10px; }
.qbox { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.qtag { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 24px; font: 700 12px var(--type); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); text-align: center; }
.qtag .pic { width: 28px; height: 28px; }
.qtag.boss { color: var(--accent); }
.q { display: flex; align-items: center; justify-content: center; gap: .28em; min-height: 1.15em; font: 700 46px/1.15 var(--type); white-space: nowrap; }
.q .dot { color: var(--accent); }
.q .ans { min-width: 2.2em; padding: 0 .12em; border-bottom: 4px solid var(--focus); text-align: center; }
.q .ans.copy { border-bottom-color: var(--ok); background: var(--ok-tint); border-radius: 6px 6px 0 0; }
.q .ans.short { min-width: 1.6em; } /* wynik dzielenia: najwyżej 2 cyfry */
/* okienko (6 · □ = 42): brakująca liczba w ramce, jak w zeszycie — w pytaniu i w zapisie działań */
.q .ans.okno { min-width: 1.6em; border: 3px solid var(--focus); border-radius: 8px; }
.q .ans.okno.copy { border-color: var(--ok); }
.okno { padding: 0 .2em; border: 1.5px solid currentColor; border-radius: 4px; }
.q.shake { animation: shake .35s; }
.fb { min-height: 22px; text-align: center; font: 600 15.5px/1.3 var(--body); color: var(--ink-soft); }
.fb.ok { color: var(--ok); }
.fb.no { color: var(--bad); }
.idk { padding: 5px 14px; border: 1.5px dashed var(--ink-soft); border-radius: var(--r-pill); background: none; font: 600 13.5px var(--body); color: var(--ink-soft); }
.idk:hover { border-style: solid; color: var(--ink); background: var(--focus-tint); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.keypad button {
  min-height: 54px; border: 2px solid var(--ink); border-radius: var(--r-card); background: var(--white); font: 700 26px var(--type);
  box-shadow: var(--lift-sm); touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.keypad button:hover { background: var(--focus-tint); }
.keypad .k-ok { background: var(--focus); color: #fff; font-size: 20px; }
.keypad .k-ok:hover { background: #b5651f; }
.keypad .k-back { font-size: 22px; }
/* fizyczny klawisz wciska przycisk na ekranie — ten sam wygląd co :active */
.keypad button.pressed, .idk.pressed { transform: translateY(2px) scale(.96); box-shadow: none; filter: brightness(.9); }
@keyframes shake { 25% { transform: translateX(-7px); } 75% { transform: translateX(7px); } }

/* --- podpowiedź: jak to policzyć ----------------------------------------------------------- */
.teach {
  position: absolute; z-index: 3; overflow: auto; padding: 12px 16px 14px; background: var(--card);
  border: 2px solid var(--accent); border-radius: 16px; box-shadow: 4px 6px 0 rgba(38, 48, 42, .2); animation: rise .25s ease-out both;
}
.stage.wide .teach { left: 14px; top: 58px; right: calc(var(--card-w) + 30px); max-height: calc(100% - 72px); }
.stage.tall .teach { left: 10px; right: 10px; top: 10px; max-height: calc(100% - var(--play-h, 360px) - 30px); }
.teach .tag { background: var(--accent); }
.teach .big { margin: 6px 0 4px; font: 700 30px var(--type); }
.teach .big b { color: var(--ok); }
.teach p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.4; }
.teach .extra { font-size: 14.5px; color: var(--ink-soft); }
.teach .swap { font-weight: 700; color: var(--sky); }
.arrwrap { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.arrwrap .arr { max-width: 100%; height: auto; }
.arrwrap small { font-size: 13px; color: var(--ink-soft); }
.skip { font: 14px/1.5 var(--type); color: var(--ink-soft); }
.skip b { color: var(--ok); font-size: 16px; }

/* --- wyścig z cieniem ------------------------------------------------------------------------ */
.race { position: absolute; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 10px 14px; }
.stage.wide .race { left: 12px; top: 60px; bottom: 12px; right: calc(var(--card-w) + 24px); }
.stage.tall .race { left: 10px; right: 10px; top: 10px; bottom: calc(var(--play-h, 360px) + 20px); }
.race-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.clock { font: 700 34px var(--type); font-variant-numeric: tabular-nums; }
.ghostlbl { font: 600 14px var(--body); color: var(--ink-soft); }
.track { position: relative; height: 156px; flex: none; background: #e2ecc8; border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--lift); overflow: hidden; }
.road { position: absolute; left: 30px; right: 30px; top: 50%; border-top: 3px dashed var(--focus); }
.road i { position: absolute; top: -8px; width: 2px; height: 13px; background: rgba(38, 48, 42, .35); }
.flag { position: absolute; bottom: 6px; font: 700 10.5px var(--type); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.f-start { left: 10px; } .f-meta { right: 10px; }
.runner { position: absolute; left: calc(30px + var(--p, 0) * (100% - 60px)); width: 64px; height: 64px; transform: translateX(-50%); }
.runner .pic { width: 100%; height: 100%; display: block; }
.runner.ghost { top: 6px; opacity: .4; filter: grayscale(.85); }
.runner.me { bottom: 12px; transition: left .22s ease-out; }
.runner.me.hop { animation: hop .25s ease-out; }
@keyframes hop { 50% { transform: translate(-50%, -10px); } }
.count { font: 700 120px/1 var(--type); color: var(--card); text-shadow: 3px 4px 0 var(--ink); animation: stamp .45s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes stamp { from { opacity: 0; transform: scale(2.2); } }

/* --- wskaźniki łowów -------------------------------------------------------------------------- */
.hud {
  position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 8px 14px; pointer-events: none;
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: var(--lift-sm);
}
.meter { display: flex; flex-direction: column; }
.meter span { font: 700 10px var(--type); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.meter b { font: 700 20px var(--type); font-variant-numeric: tabular-nums; }
.meter.time { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; width: 170px; }
.meter.time span { grid-column: 1 / -1; }
.bar { position: relative; height: 11px; border: 1.5px solid var(--ink); border-radius: var(--r-pill); background: var(--white); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--ok); }
.bar i.low { background: var(--bad); }
.sr { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- dymek nad polem mapy ---------------------------------------------------------------------- */
.tip {
  position: absolute; z-index: 4; max-width: 240px; padding: 8px 12px 9px; pointer-events: none;
  background: var(--ink); color: var(--paper); border-radius: 10px; font: 14px/1.35 var(--body); box-shadow: var(--lift-sm);
}
.tip b { display: block; font: 700 18px var(--type); }
.tip span { display: block; }
.tip .due { color: #f2c27a; }
.tip .lm { color: #bfe0a8; }

/* --- nakładki: gracze, ustawienia gier, wyniki, atlas, legitymacja ---------------------------- */
.over { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 16px; background: rgba(38, 32, 24, .34); overflow: auto; }
.over.clear { background: transparent; pointer-events: none; }
.ocard {
  width: min(560px, 100%); max-height: 100%; overflow: auto; padding: 18px 22px 20px; background: var(--card);
  border: 2px solid var(--ink); border-radius: var(--r-panel); box-shadow: 4px 6px 0 rgba(38, 48, 42, .25); animation: rise .3s ease-out both;
}
.ocard.ok { border-color: var(--ok); background: #f4f8ec; }
.ocard.wide { width: min(820px, 100%); }
.ocard h2 { margin: 8px 0 6px; font: 700 25px/1.15 var(--type); }
.ocard p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.4; }
.ocard .lbl { margin-top: 14px; font: 700 12px var(--type); text-transform: uppercase; letter-spacing: .1em; color: var(--focus); }
.ocard .note { padding: 9px 12px; background: var(--white); border: 1.5px dashed var(--line); border-radius: 10px; font-size: 14.5px; }
.ocard .hard { font: 700 17px/1.6 var(--type); }
.ocard .hard span { display: inline-block; margin: 0 10px 0 0; white-space: nowrap; }
.ocard .row { margin-top: 16px; }
.sumgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 8px; margin: 12px 0 4px; }
.sumgrid div { padding: 9px 8px; background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; text-align: center; }
.sumgrid b { display: block; font: 700 24px var(--type); }
.sumgrid small { font-size: 12.5px; line-height: 1.2; color: var(--ink-soft); }
.pt-head { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 14px; }
.pt-head .pic { width: 76px; height: 76px; }
.pt-head h2 { margin: 6px 0 2px; }
.pt-head .why { margin: 0; font-weight: 600; }
.rankline { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; }
.rankline .pic { width: 60px; height: 60px; }
.rankline p { margin: 0; }
.tpick { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.tchip { min-width: 46px; min-height: 46px; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); font: 700 18px var(--type); box-shadow: 2px 2px 0 rgba(38, 48, 42, .12); }
.tchip.on { background: var(--ink); color: var(--paper); }
.tchip:hover:not(.on) { background: var(--focus-tint); }
.tchip.all { font: 700 14px var(--type); }
.tempo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tchip.wide { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; font-size: 15px; }
.tchip.wide small { font: 500 12px/1.25 var(--body); opacity: .85; }
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 12px 0 6px; }
.pcard { display: grid; grid-template-columns: 42px 1fr; column-gap: 8px; align-items: center; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); text-align: left; box-shadow: 2px 2px 0 rgba(38, 48, 42, .12); }
.pcard .pic { grid-row: span 2; width: 42px; height: 42px; }
.pcard b { font: 700 16px var(--type); }
.pcard small { font-size: 12.5px; color: var(--ink-soft); }
.pcard.on { border-color: var(--focus); background: var(--focus-tint); }
.pcard:hover { background: var(--focus-tint); }
.newp { margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed var(--line); }
.newp label.name { display: block; font: 700 12px var(--type); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.newp input[type="text"] { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); font: 600 18px var(--body); color: var(--ink); }
.range { margin: 12px 0 0; padding: 0; border: 0; }
.range legend { padding: 0; font: 700 12px var(--type); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.range label { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; font-size: 15px; cursor: pointer; }
.range small { color: var(--ink-soft); }
.pset { margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed var(--line); }
.atlas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.acard { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 10px 12px; background: var(--white); border: 2px solid var(--hue, var(--ink)); border-radius: var(--r-card); }
.acard .pic { width: 56px; height: 56px; }
.acard .an { display: block; font: 700 15px var(--type); }
.acard p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.35; }
.acard.locked { border: 1.5px dashed var(--ink-soft); background: var(--paper); }
.acard .lockn { display: grid; place-items: center; width: 56px; height: 56px; border: 1.5px dashed var(--ink-soft); border-radius: 50%; font: 700 22px var(--type); color: var(--ink-soft); }

/* legitymacja odkrywcy (także do druku) */
.idcard { position: relative; width: min(440px, 100%); margin: 6px auto 0; padding: 14px 16px 12px; background: #fffdf6; border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: 4px 5px 0 rgba(38, 48, 42, .2); overflow: hidden; }
.id-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); font: 700 11.5px var(--type); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.id-top b { font-size: 19px; color: var(--ink); letter-spacing: 0; text-transform: none; }
.id-body { display: grid; grid-template-columns: 96px 1fr; gap: 14px; margin-top: 10px; }
.id-pic { display: grid; place-items: center; width: 96px; height: 112px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--accent-tint); }
.id-pic .pic { width: 80px; height: 80px; }
.idcard dl { margin: 0; }
.idcard dt { margin-top: 5px; font: 700 10.5px var(--type); text-transform: uppercase; letter-spacing: .1em; color: var(--focus); }
.idcard dt:first-child { margin-top: 0; }
.idcard dd { margin: 0; font: 600 15px var(--body); }
.id-pats { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: 12px; }
.id-stamp { position: absolute; right: 12px; bottom: 50px; padding: 3px 10px; border: 3px double var(--bad); border-radius: 6px; color: var(--bad); font: 700 14px var(--type); letter-spacing: .12em; transform: rotate(-10deg); opacity: .85; }

/* --- panel boczny ------------------------------------------------------------------------------- */
h3.sub { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 18px 0 8px; }
h3.sub span { font: 600 13px var(--body); color: var(--ink-soft); }
.box p + p { margin-top: 6px; }
.box ul { margin: 0; padding-left: 18px; }
.box li { font-size: 14.5px; line-height: 1.4; margin: 3px 0; }
.box .small { font-size: 13.5px; color: var(--ink-soft); }
.box.patron { border-color: var(--hue, var(--ink)); }
.box.patron .pt-head { grid-template-columns: 52px 1fr; gap: 10px; margin-bottom: 8px; }
.box.patron .pt-head .pic { width: 52px; height: 52px; }
.box.patron .pt-head b { display: block; font: 700 16px var(--type); }
.box.patron .pt-head small { font-size: 13.5px; color: var(--ink-soft); }
.bigbtn {
  display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; text-align: left;
  background: var(--focus); color: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--lift);
}
.bigbtn:hover { background: #b5651f; }
.bigbtn .pic { width: 54px; height: 54px; padding: 3px; background: var(--card); border: 2px solid var(--ink); border-radius: 50%; }
.bigbtn b { display: block; font: 700 20px var(--type); }
.bigbtn small { display: block; margin-top: 2px; font: 600 13.5px/1.3 var(--body); }
.bigbtn .arrow { font: 700 26px var(--type); }
.goal { margin: 8px 2px 0; font: 600 14px var(--body); color: var(--ink-soft); }
.goal.done { color: var(--ok); }
.chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.chip { display: flex; flex-direction: column; align-items: stretch; gap: 5px; padding: 7px 6px 8px; background: var(--card); border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--lift-sm); }
.chip b { font: 700 19px/1 var(--type); text-align: center; }
.chip i { display: block; height: 6px; border-radius: var(--r-pill); background: var(--paper-2); overflow: hidden; }
.chip em { display: block; height: 100%; background: var(--hue, var(--ok)); }
.chip:hover { background: var(--focus-tint); }
.chip.done { border-color: var(--hue); }
.chip.done b { color: var(--hue); }
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.gcard { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--lift-sm); text-align: left; }
.gcard .pic { width: 46px; height: 46px; }
.gcard b { display: block; font: 700 15.5px var(--type); }
.gcard small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: var(--ink-soft); }
.gcard:hover { background: var(--focus-tint); }
.atlas-row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.pat { display: grid; place-items: center; aspect-ratio: 1; padding: 1px; border: 1.5px dashed var(--ink-soft); border-radius: 50%; background: var(--card); font: 700 11px var(--type); color: var(--ink-soft); }
.pat.got { border: 2px solid var(--hue); background: var(--white); }
.pat .pic { width: 100%; height: 100%; }
.stats { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.pips { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px; padding: 0; list-style: none; }
.pips li { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink-soft); background: var(--card); }
.pips li.boss { border-radius: 4px; }
.pips li.ok { background: var(--ok); border-color: var(--ink); }
.pips li.ok.fast { box-shadow: 0 0 0 2px var(--gold); }
.pips li.no { background: var(--bad); border-color: var(--ink); }
.pips li.now { border: 2px solid var(--focus); background: var(--focus-tint); }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ladder li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; padding: 3px 8px; border-radius: 10px; font-size: 14px; }
.ladder li .pic { width: 34px; height: 34px; }
.ladder li b { font: 700 14px var(--type); }
.ladder li small { color: var(--ink-soft); }
.ladder li.on { background: var(--focus-tint); outline: 2px solid var(--focus); }
.log { list-style: none; margin: 0; padding: 0; }
.log li { position: relative; padding: 6px 0 6px 20px; border-bottom: 1px dashed var(--line); font-size: 14.5px; line-height: 1.35; }
.log li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.log li.no::before { content: "✗"; color: var(--bad); }
.log li.muted::before { content: ""; }
.log li.muted { color: var(--ink-soft); }
.log b { font-family: var(--type); }

/* komunikat: na planszy (we wspólnym systemie jest przyklejony do okna) */
.stage .toast { position: absolute; bottom: 22px; z-index: 7; max-width: min(520px, 90%); padding: 10px 18px; line-height: 1.35; }
.stage .toast b { color: #f2c27a; }
.stage[data-mode="drill"] .toast, .stage[data-mode="race"] .toast { top: 14px; bottom: auto; transform: translate(-50%, -20px); }
.stage[data-mode="drill"] .toast.show, .stage[data-mode="race"] .toast.show { transform: translate(-50%, 0); }

/* --- druk legitymacji ---------------------------------------------------------------------- */
.print-area { display: none; }
@media print {
  body { display: block; height: auto; background: #fff; }
  body > :not(.print-area) { display: none !important; }
  .print-area { display: block !important; padding: 15mm; }
  .print-area .idcard { box-shadow: none; }
}

/* --- telefon i wąski tablet (wspólny system już układa nagłówek i biurko w kolumnę) ------------ */
@media (max-width: 900px) {
  .stage { overflow: hidden; height: min(calc(100vw + 6px), 640px); }
  .stage:not([data-mode="home"]) { height: calc(100vh - 24px); height: calc(100svh - 24px); min-height: 540px; max-height: 920px; }
  .stage > .stage-label { display: none; }
  .play { gap: 8px; padding: 10px 12px 12px; }
  .q { font-size: 38px; }
  .keypad { gap: 7px; }
  .keypad button { min-height: 48px; font-size: 24px; }
  .hud { left: 10px; right: 10px; top: 8px; justify-content: space-between; gap: 10px; padding: 6px 10px; }
  .meter b { font-size: 17px; }
  .meter.time { width: 130px; }
  .clock { font-size: 28px; }
  .track { height: 140px; }
  .runner { width: 56px; height: 56px; }
  .games { grid-template-columns: 1fr; }
  .ocard { padding: 16px 16px 18px; }
  .ocard h2 { font-size: 22px; }
  .tempo { grid-template-columns: 1fr; }
  .count { font-size: 96px; }
}

/* --- telefon: pieczątki tabliczek w jednym rzędzie, w szerokości ekranu (28.10.2026) ------------------------------------------
   10 pieczątek po 32 px z odstępem 6 px to 374 px, a na iPhonie (375 px, po 16 px marginesu) jest 343 px — strona przewijała
   się w bok. Na wąskim ekranie pieczątka ma 1/10 dostępnej szerokości (od 24 do 32 px) i zostaje kołem; odstęp 3 px.
   Sprawdzone na żywej stronie przy 375 px (pieczątka 31 px) i 320 px (26 px). Tylko Tabliczka — wspolne/system.css bez zmian. */
@media (max-width: 480px) {
  .stamps { gap: 3px; }
  .stamps li { --kolko: clamp(24px, calc((100vw - 63px) / 10), 32px); min-width: var(--kolko); width: var(--kolko); height: var(--kolko); padding: 0; }
}
