:root {
  --bg: #fff7d6;
  --card: #ffffff;
  --ink: #2b2417;
  --muted: #8a7f66;
  --sun: #ffd84d;
  --sun-dark: #e6b800;
  --ok: #3cb371;
  --warn: #ff8c42;
  --bad: #d3455b;
  --line: #f0e6c2;
  --radius: 16px;
}
* { box-sizing: border-box; }
/* Правило класса с display перебивает браузерное [hidden] — кнопки шапки
   оставались видимыми при hidden=true (у ребёнка так торчали «Взрыв» и
   «История»). Возвращаем атрибуту силу. */
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body { min-height: 100vh; padding-bottom: 40px; }

/* ---------- шапка: строка с именем и строка кнопок во всю ширину */
header { background: var(--sun); position: sticky; top: 0; z-index: 5; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px; }
.logo { font-size: 26px; }
.famname { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.grow { flex: 1; }
#who { display: inline-flex; align-items: center; gap: 6px; max-width: 45vw; overflow: hidden; }
#who .whoname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.bar button.ghost { padding: 6px 8px; font-size: 18px; }
#logout { font-size: 15px; }
#nav { display: flex; gap: 4px; padding: 0 6px 6px; }
button.tab { flex: 1; background: rgba(255,255,255,.55); padding: 8px 4px; border-radius: 12px; white-space: nowrap;
  display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; }
button.tab .lbl { overflow: hidden; text-overflow: ellipsis; }
button.tab.on { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
button.tab { position: relative; }
button.tab .cnt { position: absolute; top: 2px; right: 6px; background: var(--bad); color: #fff; font-size: 12px; line-height: 18px;
  min-width: 18px; padding: 0 5px; border-radius: 9px; text-align: center; }
button.tab.boom { background: #1a1a1a; color: #ffb000; box-shadow: 0 0 0 2px #ffb000 inset; }
button.tab.boom:disabled { opacity: .35; }
@media (max-width: 759px) {
  #who .whoname { display: none; }
  button.tab { padding: 10px 2px; font-size: 14px; flex-direction: column; gap: 0; }
  button.tab .ico { font-size: 20px; }
  .bar button.ghost { padding: 6px 5px; }
}

/* полоса «нет сети» и счётчик очереди */
#offbar { display: none; background: #2b2417; color: #ffd84d; text-align: center; padding: 6px 12px; font-size: 15px; position: sticky; top: 0; z-index: 6; }
body.offline #offbar { display: block; }
.qbtn { background: var(--warn) !important; color: #fff; font-size: 14px !important; font-weight: 700; border-radius: 999px; }
.task .t .pend { color: var(--warn); }

/* ---------- две панели */
main { max-width: 1100px; margin: 0 auto; padding: 16px; }
.layout { display: grid; gap: 16px; grid-template-columns: 340px 1fr; align-items: start; }
.panel { display: grid; gap: 16px; min-width: 0; }
body:not(.left-on) #left, body:not(.right-on) #right { display: none; }
body:not(.left-on) .layout, body:not(.right-on) .layout { grid-template-columns: 1fr; }
@media (max-width: 759px) {
  main { padding: 12px; }
  .layout { grid-template-columns: 1fr; }
}
.ptitle { margin: 0; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }

.card { background: var(--card); border-radius: var(--radius); padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05); }
h1, h2, h3, h4 { margin: 0 0 8px; }
h4 { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; margin-top: 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }

button, .btn { font: inherit; border: 0; border-radius: 12px; padding: 10px 16px;
  background: #f3ecd2; color: var(--ink); cursor: pointer; font-weight: 600;
  touch-action: manipulation; }
button:active { transform: translateY(1px); }
button:disabled { opacity: .5; cursor: default; }
button.primary { background: var(--sun); }
button.ok { background: var(--ok); color: #fff; }
button.warn { background: var(--warn); color: #fff; }
button.bad { background: var(--bad); color: #fff; }
button.ghost { background: transparent; padding: 6px 10px; }
button.small { padding: 6px 10px; font-size: 14px; }
button.wide { width: 100%; }
button.mic { width: 56px; height: 56px; border-radius: 50%; font-size: 26px; padding: 0;
  background: #fff; border: 3px solid var(--sun-dark); }
button.mic.on { background: var(--bad); border-color: var(--bad); color: #fff;
  animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(211,69,91,.5); } 50% { box-shadow: 0 0 0 12px rgba(211,69,91,0); } }

input, select, textarea { font: inherit; border: 2px solid var(--line); border-radius: 12px;
  padding: 10px 12px; background: #fffdf5; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--sun-dark); }
textarea { min-height: 96px; resize: vertical; }
.interim { color: var(--muted); font-style: italic; min-height: 1.4em; }

/* ---------- вход и «без семьи» */
.login { max-width: 440px; margin: 40px auto 0; text-align: center; }
.login h1 { font-size: 40px; }
.login form { display: grid; gap: 10px; margin-top: 16px; }
.login .row button { flex: 1; }
.msg { min-height: 1.4em; color: var(--muted); }
.msg.err { color: var(--bad); }
.nofam { max-width: 520px; margin: 24px auto 0; display: grid; gap: 16px; }
.invite { display: flex; gap: 10px; align-items: center; background: #fffbe6; border-radius: 12px; padding: 10px 14px; }
.invite .w { flex: 1; }

/* ---------- дети слева */
.kid { background: var(--card); border-radius: var(--radius); padding: 12px 14px; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.05); border: 3px solid transparent; }
.kid:hover { border-color: var(--line); }
.kid.sel { border-color: var(--sun-dark); background: #fffbe6; }
.kid .kidhead { display: flex; align-items: center; gap: 10px; }
.kid .kidhead b { font-size: 20px; flex: 1; }
.kid .kidmeta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.kid .kidacts { margin-top: 10px; display: grid; gap: 8px; }
.ava { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: #fff3c4;
  align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.ava.mini { width: 28px; height: 28px; font-size: 17px; }
.ava.big { width: 72px; height: 72px; font-size: 44px; margin: 0 auto; }
.coins { font-weight: 800; font-size: 20px; white-space: nowrap; }
.bigcoins { font-size: 44px; font-weight: 800; text-align: center; padding: 8px 0; }
.balance { font-size: 28px; font-weight: 800; }
.balance.minus { color: var(--bad); }
.plus { color: #7c5cff; }
.kidname { display: inline-block; background: var(--sun); font-size: 13px; font-weight: 700;
  padding: 1px 8px; border-radius: 10px; margin-right: 6px; vertical-align: middle; }
.mecard { text-align: center; cursor: pointer; }
.mecard h2 { margin-top: 6px; }
.member { display: flex; gap: 8px; align-items: center; padding: 4px 0; }
.member .w { flex: 1; min-width: 0; }
.member small { color: var(--muted); }

.ban { background: #2b2b2b; color: #ffd84d; border-radius: 12px; padding: 10px 14px; margin: 6px 0;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ban .rules { flex-basis: 100%; color: #f7dcdc; font-size: 15px; }
.ban .left { font-weight: 800; }

/* ---------- «сегодня» и шаблоны */
.today .trow { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); cursor: pointer; }
.today .trow:first-of-type { border-top: 0; }
.today .trow b { min-width: 90px; }
.today .tstat { flex: 1; color: var(--muted); }
.today .plus { color: var(--ok); font-weight: 700; } .today .minus { color: var(--bad); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.chip { background: #fff3c4; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.ban.big { font-size: 20px; }
.ban.big .left { font-size: 28px; flex-basis: 100%; font-variant-numeric: tabular-nums; }

/* ---------- задания справа */
.task { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.task:first-of-type { border-top: 0; }
.task .t { flex: 1; min-width: 0; cursor: pointer; }
.task .t:hover { color: var(--sun-dark); }
.task .t small { display: block; color: var(--muted); }
.task .t .cmt { color: #4a7c59; }
.task .t .note { color: var(--bad); }
.task .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.task.done .t { color: var(--muted); }
.badge { display: inline-block; background: var(--warn); color: #fff; font-size: 12px;
  padding: 1px 8px; border-radius: 10px; margin-left: 6px; vertical-align: middle; }
.empty { color: var(--muted); padding: 6px 0; }
.stars { color: #e6a700; letter-spacing: 1px; }

.preview { margin-top: 12px; border-top: 2px dashed var(--line); padding-top: 12px; }
.preview .item { display: grid; grid-template-columns: 140px 1fr 130px 40px; gap: 6px; margin-bottom: 10px; }
.preview .item button { padding: 0; }
.badge.rep { background: #7c9cff; }
.badge.due { background: #8a7f66; }
.badge.due.now { background: var(--ok); }
.badge.due.late, .badge.late { background: var(--bad); }
.preview .item { grid-template-columns: 130px 1fr 120px 120px 40px; }
@media (max-width: 760px) { .preview .item { grid-template-columns: 1fr 1fr 40px; } .preview .item input { grid-column: 1 / -1; } }
a.btn { display: inline-block; text-decoration: none; }
@media (max-width: 600px) { .preview .item { grid-template-columns: 1fr 1fr 40px; } .preview .item input { grid-column: 1 / -1; } }
.ops .op { display: grid; grid-template-columns: 1fr 90px 1fr 36px; gap: 6px; margin-bottom: 6px; align-items: center; }
@media (max-width: 480px) { .ops .op { grid-template-columns: 1fr 80px 36px; } .ops .op input.reason { grid-column: 1 / -1; } }

/* остаток лимитов виден заранее, а не в момент отказа */
.limits { display: grid; gap: 8px; margin-top: 10px; }
.lim { display: grid; gap: 3px; font-size: 13px; color: var(--muted); }
.lim i { display: block; height: 6px; border-radius: 3px; background: var(--ok); }
.lim.near i { background: var(--warn); }
.lim.full i { background: var(--bad); }
.lim { background: linear-gradient(var(--line), var(--line)) no-repeat center bottom / 100% 6px; }
.plan { margin: 8px 0 0; }
.start ol { margin: 0 0 10px; padding-left: 22px; }
.start li { margin-bottom: 6px; }

/* ---------- крупный режим для младших
   Меняем только размеры и плотность: то же приложение, но пальцем и без
   мелкого текста. Кнопка «выполнено» — во всю ширину, промахнуться нельзя. */
body.simple { font-size: 20px; }
body.simple .card { padding: 18px; border-radius: 22px; }
body.simple h3 { font-size: 26px; }
body.simple h4 { font-size: 16px; }
body.simple .task { display: block; padding: 14px 0; }
body.simple .task .t { font-size: 22px; font-weight: 600; cursor: default; }
body.simple .task .t small { font-size: 15px; }
body.simple .task .t .cmt { display: none; }
body.simple .task .t .cmt:last-of-type { display: block; }
body.simple .task .acts { margin-top: 10px; }
body.simple .task .acts button { flex: 1; padding: 16px; font-size: 20px; border-radius: 16px; }
body.simple .bigcoins { font-size: 60px; }
body.simple .ava.big { width: 96px; height: 96px; font-size: 56px; }
body.simple button.tab { padding: 14px 4px; font-size: 16px; }
body.simple button.tab .ico { font-size: 26px; }
body.simple .rw, body.simple .sk { padding: 16px; }
body.simple .rw button, body.simple .sk button { padding: 14px 8px; font-size: 17px; }
body.simple .interim, body.simple .muted.small { font-size: 16px; }
body.simple #dict textarea { min-height: 120px; font-size: 20px; }

/* столбики по дням в карточке «Неделя» */
.spark { display: flex; gap: 3px; align-items: flex-end; height: 28px; flex-basis: 100%; margin-top: 4px; }
.spark i { flex: 1; border-radius: 3px; }

/* ---------- скины: рамки аватара и витрина */
.ava.fr-mint { box-shadow: 0 0 0 3px #5eead4; }
.ava.fr-violet { box-shadow: 0 0 0 3px #a78bfa; }
.ava.fr-gold { box-shadow: 0 0 0 3px #e6b800, 0 0 10px rgba(230,184,0,.6); }
.ava.fr-fire { box-shadow: 0 0 0 3px #ff8c42, 0 0 12px rgba(255,107,53,.7); }
.ava.fr-rainbow { box-shadow: 0 0 0 3px #f472b6, 0 0 0 6px #38bdf8; animation: hue 4s linear infinite; }
@keyframes hue { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(360deg); } }
.skgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.sk { background: #fffbe6; border-radius: 14px; padding: 10px; display: grid; gap: 6px; justify-items: center; text-align: center; border: 3px solid transparent; }
.sk.on { border-color: var(--sun-dark); background: #fff; }
.sk b { font-size: 14px; }
.sk button { width: 100%; }
.sp { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; font-size: 26px; }
.sp.boom { box-shadow: inset 0 0 12px rgba(0,0,0,.35); }

/* ---------- достижения и неделя */
.badges { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; justify-content: center; }
.bdg { background: #fff3c4; border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.kid .badges { justify-content: flex-start; }
.wk { padding: 8px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.wk:first-of-type { border-top: 0; }
.wk .badges { flex-basis: 100%; justify-content: flex-start; margin: 0; }
.wk .plus { color: var(--ok); font-weight: 700; } .wk .minus { color: var(--bad); font-weight: 700; }

/* ---------- каталог наград */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rw { background: #fffbe6; border-radius: 14px; padding: 12px; display: grid; gap: 4px; justify-items: center; text-align: center; border: 2px solid transparent; }
.rw.poor { opacity: .7; }
.rw .ri { font-size: 40px; line-height: 1; }
.rw b { font-size: 15px; }
.rw .rp { font-weight: 800; }
.rw button { width: 100%; }

/* ---------- желания */
.wish { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.wish:first-of-type { border-top: 0; }
.wish .w { flex: 1; min-width: 0; }
.wish .w small { display: block; color: var(--muted); }
.wish.granted .w { color: var(--muted); text-decoration: line-through; }
.wish .price { font-weight: 800; white-space: nowrap; }
.wishadd { display: grid; grid-template-columns: 1fr 140px; gap: 8px; align-items: end; }
@media (max-width: 480px) { .wishadd { grid-template-columns: 1fr; } }

/* ---------- история */
.ledger .l { display: flex; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); align-items: baseline; }
.ledger .l:first-child { border-top: 0; }
.ledger .d { font-weight: 800; min-width: 56px; }
.ledger .d.plus { color: var(--ok); } .ledger .d.minus { color: var(--bad); }
.ledger small { color: var(--muted); }
.feed .f { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.feed .f:first-child { border-top: 0; }
.feed .f .ico { font-size: 20px; flex-shrink: 0; }
.feed .f .w { flex: 1; min-width: 0; white-space: pre-wrap; word-break: break-word; }
.feed .f small { display: block; color: var(--muted); }

table { width: 100%; border-collapse: collapse; }
td, th { padding: 6px 4px; text-align: left; border-top: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
th { border-top: 0; color: var(--muted); font-weight: 600; }
td select, td input { padding: 6px 8px; }
.tablewrap { overflow-x: auto; }

/* ---------- окно */
#modal { position: fixed; inset: 0; z-index: 30; background: rgba(40,30,10,.55);
  display: flex; align-items: flex-end; justify-content: center; }
#modal[hidden] { display: none; }
.mcard { position: relative; background: var(--card); border-radius: 20px 20px 0 0; width: min(100%, 640px);
  max-height: 92vh; overflow: auto; padding: 20px 16px 24px; box-shadow: 0 -8px 30px rgba(0,0,0,.25); }
@media (min-width: 760px) { #modal { align-items: center; } .mcard { border-radius: 20px; } }
.mclose { position: absolute; top: 8px; right: 8px; font-size: 18px; }
.mbody { display: grid; gap: 12px; }
.mbody h3 { padding-right: 36px; }
.avagrid { display: flex; flex-wrap: wrap; gap: 6px; }
.avagrid button { width: 48px; height: 48px; font-size: 26px; padding: 0; background: #fff3c4; border: 3px solid transparent; }
.avagrid button.on { border-color: var(--sun-dark); }
button.lang { flex: 1; border: 3px solid transparent; }
button.lang.on { border-color: var(--sun-dark); background: var(--sun); }
.starpick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.starpick button { padding: 10px 4px; display: grid; gap: 2px; }
.starpick button b { color: #e6a700; font-size: 18px; }
.starpick button small { color: var(--muted); }
.qr { display: grid; justify-items: center; gap: 8px; }
.qr svg { width: min(70vw, 320px); height: auto; border-radius: 12px; background: #fff; }
.qr code { font-size: 12px; color: var(--muted); word-break: break-all; }
.comments { display: grid; gap: 6px; }
.comments .c { background: #fbf6e6; border-radius: 10px; padding: 8px 12px; }
.comments .c small { color: var(--muted); display: block; }
.tabs { display: flex; gap: 6px; }
.tabs button { flex: 1; }
.tabs button.on { background: var(--sun); }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: #2b2417; color: #fff; padding: 10px 18px; border-radius: 12px; z-index: 60;
  max-width: 90vw; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
#toast.err { background: var(--bad); }

/* ---------- пусковая консоль */
#launch { position: fixed; inset: 0; z-index: 40; background: radial-gradient(circle at 50% 30%, #3a1f1f, #120808 70%);
  display: flex; align-items: center; justify-content: center; color: #ffd84d; }
#launch[hidden] { display: none; }
.console { display: grid; gap: 14px; justify-items: center; width: min(92vw, 480px); }
.ltitle { font-weight: 900; font-size: 28px; letter-spacing: .2em; }
.ltarget { font-size: 20px; color: #fff; }
.pad { position: relative; width: min(80vw, 380px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #555, #222 70%); box-shadow: 0 20px 60px rgba(0,0,0,.6), inset 0 0 0 10px #333;
  display: flex; align-items: center; justify-content: center; overflow: visible; }
button.nuke { width: 78%; height: 78%; border-radius: 50%; padding: 0; font-size: clamp(60px, 22vw, 130px);
  background: radial-gradient(circle at 40% 35%, #ff6b6b, #c40000 60%, #7a0000);
  box-shadow: 0 18px 0 #6a0000, 0 30px 40px rgba(0,0,0,.6), inset 0 -10px 25px rgba(0,0,0,.35), inset 0 12px 25px rgba(255,255,255,.35);
  transform: translateY(-8px); transition: transform .08s, box-shadow .08s; }
button.nuke:disabled { opacity: 1; filter: saturate(.5) brightness(.8); }
button.nuke.pressed, button.nuke:not(:disabled):active { transform: translateY(8px);
  box-shadow: 0 2px 0 #6a0000, 0 8px 20px rgba(0,0,0,.6), inset 0 -6px 20px rgba(0,0,0,.4); }
.cover { position: absolute; inset: -6%; border-radius: 50% 50% 46% 46% / 55% 55% 42% 42%;
  background: linear-gradient(160deg, rgba(180,230,255,.45), rgba(120,180,220,.25) 55%, rgba(80,120,160,.35));
  border: 3px solid rgba(220,245,255,.7); box-shadow: inset 0 0 40px rgba(255,255,255,.35), 0 10px 30px rgba(0,0,0,.4);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12%;
  color: #fff; font-weight: 800; text-shadow: 0 1px 3px #000; touch-action: none; user-select: none; cursor: grab;
  transition: transform .25s; }
.cover.drag { transition: none; cursor: grabbing; }
.cover.off { transform: translateY(-140%) rotate(-8deg) !important; opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.2,.8,.3,1), opacity .4s; }

#boom { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 50; }
/* Трясём main, а не body: transform на body делает body опорой для fixed,
   и холст взрыва уезжает вместе с прокруткой страницы. */
.shake main { animation: shake .12s infinite; }
@keyframes shake { 0% { transform: translate(6px, -4px); } 50% { transform: translate(-6px, 5px); } 100% { transform: translate(4px, 6px); } }

/* ---------- панель администратора: воронка и числа
   Полоска внутри строки, а не отдельный график: так видно и подпись, и
   долю, и потерю относительно предыдущего шага — ради неё всё и затевалось. */
.funnel { display: grid; gap: 6px; margin: 8px 0 14px; }
.funnel .step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.funnel .bar { position: absolute; left: 0; top: 0; bottom: 0; background: #ffeaa7; }
.funnel .lbl { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 7px 10px; font-size: 15px; }
.funnel .drop { color: var(--bad); }
.nums { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.num { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px 12px; min-width: 96px; }
.num b { display: block; font-size: 20px; line-height: 1.1; }
.num small { color: var(--muted); font-size: 13px; }
.row.tight { align-items: baseline; gap: 8px; }
/* Строка семьи у администратора: подпись стала длиннее (заданий, когда были
   живы), и select во всю ширину выжимал её в столбик по одному слову. */
.member > select { flex: 0 1 auto; width: auto; max-width: 45%; }
/* Приглашение от другой семьи — первое, что видит новичок на экране «без
   семьи»: оно объясняет, откуда он пришёл и что получит. */
.card.ref { border: 2px solid var(--sun-dark); background: #fffdf0; }
#refurl { font-size: 15px; }
