/* Fonts served from this site (no Google request). Fredoka and Nunito, SIL Open Font License: assets/fonts/. */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/fredoka-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/fredoka-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  --sky-top: #5ccfc0;
  --sky-bottom: #e4fbf5;
  --bg: #f6f5f2;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6b6b70;
  --line: #e4e2dc;
  --accent: #e8730c;
  --accent-soft: #fdf0e3;
  --accent-text: #a8460a;   /* orange for text: 4.5:1+ on white, cream and mint */
  --btn-bg: #c2410c;        /* white text on it: 5:1+ */
  --btn-text: #ffffff;
  --good: #1f8a4c;
  --bad: #c0392b;
  --radius: 16px;
  --logo-edge: #f26b1d;
  --logo-shadow: #1d2b53;
  --card-edge: #f2d2a6;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --card-edge: #3a3a42;
    --sky-top: #081c24;
    --sky-bottom: #123a40;
    --bg: #141416;
    --card: #1e1e21;
    --text: #ececef;
    --muted: #9a9aa2;
    --line: #2f2f34;
    --accent: #ff9a3d;
    --accent-soft: #33261a;
    --accent-text: #ffad5c;
    --btn-bg: #ff9a3d;
    --btn-text: #1a1206;
    --good: #4cc77f;
    --bad: #ff6b5b;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--sky-bottom);
  color: var(--text);
  font: 600 15px/1.5 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1, h2, .big, button, .count { font-family: "Fredoka", "Nunito", system-ui, sans-serif; }

/* ---------- moving background: things floating up ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(var(--sky-top), var(--sky-bottom));
}
.float {
  position: absolute; left: var(--x); bottom: -90px; width: var(--w);
  animation: rise var(--d) linear var(--delay) infinite;
  opacity: .9;
}
.float img { display: block; width: 100%; height: auto; image-rendering: pixelated; animation: sway 4s ease-in-out infinite alternate; }
.bubble {
  aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.9) 0 12%, rgba(255,255,255,.15) 13% 60%, rgba(255,255,255,.35) 100%);
  border: 1.5px solid rgba(255,255,255,.7);
  opacity: .7;
}
@keyframes rise {
  from { translate: 0 0; }
  to { translate: 0 calc(-100vh - 200px); }
}
@keyframes sway {
  from { transform: translateX(-10px) rotate(-8deg); }
  to { transform: translateX(10px) rotate(8deg); }
}
.stars { display: none; }
@media (prefers-color-scheme: dark) {
  .float { opacity: .45; }
  .stars {
    display: block; position: absolute; inset: 0;
    background-image:
      radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 60%, #fff, transparent),
      radial-gradient(1.5px 1.5px at 55% 15%, #fff, transparent), radial-gradient(1px 1px at 75% 45%, #fff, transparent),
      radial-gradient(1.5px 1.5px at 90% 75%, #fff, transparent), radial-gradient(1px 1px at 20% 85%, #fff, transparent),
      radial-gradient(1px 1px at 65% 90%, #fff, transparent), radial-gradient(1.5px 1.5px at 42% 38%, #fff, transparent);
    animation: twinkle 4s ease-in-out infinite alternate;
  }
}
@keyframes twinkle { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .float, .float img, .stars, .logo-scroll { animation: none; }
  .float { bottom: auto; top: calc(var(--w) * 3 + 10%); }
}

/* ---------- logo: white sticker letters, orange edge, navy shadow ---------- */
.logo {
  isolation: isolate;
  display: flex; align-items: center; gap: 4px;
  margin: 0; font-size: 56px; font-weight: 700; line-height: 1.1; letter-spacing: 1px;
  rotate: -2deg;
}
.logo .word { position: relative; color: #fff; }
.logo .word::before {
  content: attr(data-text);
  position: absolute; inset: 0; z-index: -1;
  color: var(--logo-edge);
  -webkit-text-stroke: 14px var(--logo-edge);
  text-shadow: 5px 7px 0 var(--logo-shadow);
}
.logo .word::after { /* thin shine on the top of each letter */
  content: attr(data-text);
  position: absolute; inset: 0;
  color: transparent;
  background: linear-gradient(rgba(255,255,255,0) 55%, rgba(255,186,120,.55) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.logo-scroll {
  width: 58px; height: 56px; image-rendering: pixelated;
  filter: drop-shadow(3px 4px 0 var(--logo-shadow));
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -7px; rotate: 8deg; } }
.tagline {
  display: inline-block; margin: 12px 0 0; padding: 4px 12px; border-radius: 999px;
  font-weight: 800; color: #1d2b53; background: rgba(255,255,255,.75);
}
@media (prefers-color-scheme: dark) { .tagline { color: #ffe3c2; background: rgba(0,0,0,.35); } }
a { color: var(--accent-text); }

.top, main, footer { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.top { padding-top: 32px; padding-bottom: 10px; }

.card {
  background: var(--card);
  border: 2px solid var(--card-edge);
  border-radius: var(--radius);
  padding: 18px;
  margin: 16px 0;
  box-shadow: 0 5px 0 var(--card-edge), 0 14px 30px rgba(20, 40, 80, .12);
}
.card h2 { margin: 0 0 12px; font-size: 19px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card h2 b {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-text); font-size: 12px;
}
.card h2 small { font-weight: 400; color: var(--muted); font-size: 13px; }

input, select, button {
  font: inherit; color: inherit;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 0;
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; border-radius: 6px; }
input:focus-visible, select:focus-visible { outline-offset: -1px; }
button { background: var(--btn-bg); color: var(--btn-text); border: 0; font-weight: 600; cursor: pointer; }
button.ghost { background: transparent; color: var(--muted); padding: 4px 8px; }

/* search */
.search { position: relative; }
.search input { width: 100%; }
.results {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px);
  list-style: none; margin: 0; padding: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  max-height: 320px; overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.results li { display: flex; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.results li[aria-selected="true"], .results li:hover { background: var(--accent-soft); }
.results img { width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; }
.results .meta { color: var(--muted); font-size: 12px; margin-left: auto; white-space: nowrap; }

.item-info { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.item-info img { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.item-info .name { font-weight: 700; }
.item-info .sub { color: var(--muted); font-size: 13px; }

/* rolls */
.rolls { display: grid; gap: 10px; margin-bottom: 12px; }
.roll { display: grid; grid-template-columns: 64px 1fr 56px; gap: 10px; align-items: center; }
.roll .lbl { font-weight: 600; font-size: 13px; }
.roll input[type=range] { width: 100%; accent-color: var(--accent); padding: 0; border: 0; background: none; }
.roll .val { text-align: right; font-variant-numeric: tabular-nums; }
.roll .val small { display: block; color: var(--muted); font-size: 11px; }
.roll .note { grid-column: 2 / -1; margin-top: -6px; font-size: 12px; color: var(--muted); }
.roll .note.key { color: var(--accent-text); }
.row-inline { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; flex-wrap: wrap; }

/* slots left */
.slots-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-weight: 600; }
.slots-left small { font-weight: 400; color: var(--muted); font-size: 13px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.stepper input { width: 48px; text-align: center; border: 0; border-radius: 0; padding: 6px 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step { background: var(--bg); color: var(--text); border-radius: 0; padding: 6px 12px; font-size: 16px; line-height: 1; }
.stepper.small .step { padding: 4px 10px; }
.stepper .count { min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.label { margin: 0 0 8px; font-size: 13px; color: var(--muted); }

/* passed scrolls */
.scroll-rows { display: grid; gap: 8px; }
.scroll-row, .picker li > button {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
}
.scroll-row img, .picker img { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
.nm { display: grid; min-width: 0; }
.nm b { font-size: 14px; }
.nm small { color: var(--muted); font-size: 12px; }
.nm small a { text-decoration: none; }
.row-price { grid-column: 1 / -1; }
.price-field { margin-top: 12px; max-width: none; }
.add-btn { margin-top: 10px; width: 100%; background: var(--accent-soft); color: var(--accent-text); }

/* scroll picker */
.picker { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.picker input { width: 100%; margin-bottom: 8px; }
.picker ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 360px; overflow-y: auto; }
.picker li > button { width: 100%; text-align: left; background: var(--card); color: var(--text); font-weight: 600; cursor: pointer; }
.picker li > button:hover, .picker li > button:focus-visible { background: var(--accent-soft); }
.picker li.empty { display: block; color: var(--muted); cursor: default; border: 0; }
.picker .pr { font-size: 12px; color: var(--muted); }
.warn { color: var(--bad); font-size: 13px; }

.price-input { display: flex; gap: 6px; align-items: center; }
.price-input input { flex: 1; width: 100%; }
.price-input select { flex: none; width: 72px; padding: 8px 4px; }
.price-input input { min-width: 0; }
.range-fields { display: flex; gap: 6px; align-items: center; flex: 1; min-width: 0; }
.dash { color: var(--muted); }
.price-input a { font-size: 12px; white-space: nowrap; text-decoration: none; }
.price-field { display: grid; gap: 4px; font-size: 13px; color: var(--muted); max-width: 320px; }
.tag { font-size: 11px; color: var(--muted); }

/* result */
.final { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.chip { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.chip b { color: var(--good); }
.estimate { border-top: 1px solid var(--line); padding-top: 14px; }
.big { font-size: 34px; font-weight: 800; letter-spacing: -1px; color: var(--accent-text); line-height: 1.1; }
.range { color: var(--muted); font-size: 13px; margin-top: 2px; }
.breakdown { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 12px; font-size: 14px; }
.breakdown span:nth-child(even) { text-align: right; font-variant-numeric: tabular-nums; }
.hint { color: var(--muted); font-size: 13px; }
.how { margin-top: 14px; font-size: 13px; color: var(--muted); }
.how summary { cursor: pointer; }
.how code { background: var(--bg); padding: 2px 6px; border-radius: 4px; }

.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 20;
  max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
footer { color: var(--text); font-size: 12px; padding-bottom: 32px; }

@media (max-width: 480px) {
  .logo { font-size: 42px; }
  .logo-scroll { width: 44px; height: 42px; }
  .big { font-size: 28px; }
}

/* price list page */
.admin-bar { display: grid; gap: 8px; margin-bottom: 8px; }
.admin-bar input[type=search] { width: 100%; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.price-list li { display: grid; grid-template-columns: 32px 1fr 150px; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.price-list img { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
.price-list input { width: 100%; }
#items { margin-top: 8px; }
@media (max-width: 480px) { .price-list li { grid-template-columns: 32px 1fr 120px; } }

/* ---------- donate ---------- */
.top { position: relative; }
.donate {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: #ffc439; color: #253b80; text-decoration: none;
  font: 700 14px "Fredoka", system-ui, sans-serif;
  box-shadow: 0 3px 0 #d9a21b;
}
.donate:hover { filter: brightness(1.05); }
.donate:active { translate: 0 2px; box-shadow: 0 1px 0 #d9a21b; }
.top-actions { position: absolute; right: 16px; top: 36px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .top-actions { position: static; margin-top: 12px; justify-content: flex-start; } }
.discord {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: #4752c4; color: #fff; text-decoration: none;
  font: 700 14px "Fredoka", system-ui, sans-serif;
  box-shadow: 0 3px 0 #3c45b8;
}
.discord:hover { filter: brightness(1.08); }
.discord:active { translate: 0 2px; box-shadow: 0 1px 0 #3c45b8; }
footer .community { font-weight: 800; }

/* ---------- phones ---------- */
@media (max-width: 560px) {
  /* 16px keeps iPhone Safari from zooming in when a box is tapped (and then needing a sideways scroll). */
  input, select, button { font-size: 16px; }
  .top, main, footer { padding: 0 12px; }
  .top { padding-top: 20px; }
  .card { padding: 14px; margin: 12px 0; }
  .price-input { flex-wrap: wrap; }
  .price-input .range-fields { flex: 1 1 100%; }
  .row-price { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .row-price input { flex: 1 1 0; }
  .price-input > a { flex: 1 1 100%; text-align: right; }
  .scroll-row { grid-template-columns: 32px 1fr auto; padding: 8px; }
  .roll { grid-template-columns: 54px 1fr 48px; gap: 8px; }
  .results .meta { display: none; }
  .breakdown { font-size: 14px; grid-template-columns: max-content minmax(0, 1fr); }
  .breakdown span:nth-child(even) { overflow-wrap: anywhere; }
  .float:nth-of-type(2n) { display: none; } /* fewer floaters on a small screen */
  .float { opacity: .6; }
}

.formula {
  margin: 6px 0 10px; padding: 10px 12px; border-radius: 8px;
  background: var(--bg); color: var(--text); font-size: 12.5px; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
@media (max-width: 560px) { .formula { font-size: 11px; padding: 8px; } }
.how p { margin: 8px 0; }

/* chance of an item like this */
.odds { margin: 4px 0 14px; padding: 12px; border-radius: 12px; background: var(--accent-soft); }
.odds:empty { display: none; }
.odds-main { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.odds-main span { font-weight: 700; }
.odds-main b { font: 700 22px "Fredoka", sans-serif; color: var(--accent-text); margin-left: auto; }
.odds-main small { color: var(--muted); }
.odds .breakdown { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* result card */
.card-wrap { display: grid; justify-items: center; gap: 10px; margin: 4px 0 16px; }
.item-card { width: 100%; max-width: 360px; height: auto; border-radius: 12px; box-shadow: 0 10px 28px rgba(20, 27, 68, .35); }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ghost-btn { background: var(--accent-soft); color: var(--accent-text); }

/* item categories (chips) and class filter */
.cats { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px 6px; scrollbar-width: thin; }
.cat {
  flex: none; position: relative; width: 50px; height: 50px; padding: 0;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--bg); border: 2px solid var(--line); color: var(--text);
  box-shadow: 0 3px 0 var(--line); cursor: pointer;
}
.cat img { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
.cat .all { font: 700 13px "Fredoka", sans-serif; }
.cat small {
  position: absolute; right: 3px; bottom: 1px; font: 800 10px "Nunito", sans-serif; color: var(--muted);
}
.cat.on { background: var(--accent-soft); border-color: var(--accent); box-shadow: 0 3px 0 var(--accent); }
.cat.on small { color: var(--accent-text); }
.cat:active { translate: 0 2px; box-shadow: 0 1px 0 var(--line); }
.search-row { display: flex; gap: 8px; align-items: flex-start; }
.search-row .search { flex: 1; min-width: 0; }
.search-row select { flex: none; }
.results li.none { color: var(--muted); cursor: default; }
@media (max-width: 560px) {
  .search-row { flex-direction: column; align-items: stretch; }
  .search-row select { width: 100%; }
}

/* ---------- accessibility ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 8px;
  background: var(--btn-bg); color: var(--btn-text); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.a11y-btn {
  position: fixed; left: 14px; bottom: 14px; z-index: 30; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; background: #1d4ed8; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.a11y-panel {
  position: fixed; left: 14px; bottom: 72px; z-index: 30; width: 230px; padding: 14px;
  display: grid; gap: 10px; border-radius: 12px; background: var(--card); color: var(--text);
  border: 2px solid var(--card-edge); box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.a11y-panel label { display: flex; gap: 8px; align-items: center; font-size: 15px; cursor: pointer; }
.a11y-panel input { width: 20px; height: 20px; accent-color: var(--btn-bg); }
/* options */
html.a11y-big { font-size: 118%; }
html.a11y-big body { font-size: 17.5px; }
html.a11y-big .breakdown, html.a11y-big .hint, html.a11y-big .label, html.a11y-big .nm small, html.a11y-big footer { font-size: 15px; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; }
html.a11y-still .sky .float { display: none; }
html.a11y-links a { text-decoration: underline !important; }
html.a11y-contrast { --text: #000; --muted: #2b2b2b; --line: #555; --accent-text: #7a2e00; --card-edge: #000; }
html.a11y-contrast .sky { background: #fff; }
html.a11y-contrast .sky .float { display: none; }
html.a11y-contrast .card { box-shadow: none; }
@media (prefers-color-scheme: dark) {
  html.a11y-contrast { --text: #fff; --muted: #e5e5e5; --line: #bbb; --accent-text: #ffc285; --card: #000; --bg: #111; --card-edge: #fff; }
  html.a11y-contrast .sky { background: #000; }
}

/* Bigger on computer screens: the whole page content (not the background) is scaled up. */
@media (min-width: 900px) {
  .top, main, footer { zoom: 1.2; }
}
@media (min-width: 1400px) {
  .top, main, footer { zoom: 1.32; }
}

/* read a finished item */
.reader-entry { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.read-btn { background: var(--btn-bg); color: var(--btn-text); }
.link-btn { background: none; color: var(--accent-text); padding: 4px; text-decoration: underline; font-weight: 700; }
.reader { border: 2px dashed var(--card-edge); border-radius: 12px; padding: 12px; margin-bottom: 14px; background: var(--bg); }
.reader-status { margin: 0 0 10px; font-weight: 700; }
.reader progress { width: 100%; height: 10px; accent-color: var(--btn-bg); }
.reader-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.reader-grid label, .reader-stats { font-size: 13px; color: var(--muted); }
.reader-grid label { display: grid; gap: 4px; }
.reader-grid input { width: 100%; }
.reader-stats { width: 100%; border-collapse: collapse; margin: 10px 0; }
.reader-stats th { text-align: left; font-weight: 700; padding: 4px 6px 4px 0; color: var(--text); }
.reader-stats thead th { color: var(--muted); font-size: 12px; }
.reader-stats td { padding: 3px 4px; }
.reader-stats input { width: 100%; }
.reader-opts { border: 0; padding: 0; margin: 4px 0 10px; display: grid; gap: 6px; }
.reader-opts legend { font-weight: 800; margin-bottom: 4px; }
.reader-opts label { display: flex; gap: 8px; align-items: center; font-size: 14px; flex-wrap: wrap; }
.reader-opts small { color: var(--muted); }
.reader-actions { display: flex; gap: 8px; }
.reader-actions button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 560px) { .reader-grid { grid-template-columns: 1fr 1fr; } .reader-grid label:first-child { grid-column: 1 / -1; } }

/* note shown only on the backup addresses */
.moved { display: none; margin: 0; padding: 8px 16px; text-align: center; font-weight: 700; background: var(--card); color: var(--text); }
html.old-address .moved { display: block; }
