/* Kids Hub — shared styles. Kid screens use .kid on <body>; parent mode uses .grownup. */
:root {
  --cream: #fff8ee;
  --paper: #ffffff;
  --ink: #2b2140;
  --ink-soft: #6b6280;
  --line: #ece3d4;
  --red: #e4483f;
  --red-deep: #b9302a;
  --green: #2e9b6a;
  --green-deep: #1f7550;
  --gold: #f5b82e;
  --sky: #4f8fe8;
  --plum: #8a5cd6;
  --radius: 22px;
  --shadow: 0 6px 0 rgba(43, 33, 64, 0.12), 0 14px 30px rgba(43, 33, 64, 0.10);
  --font-fun: 'Baloo 2', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --font-ui: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/* ---------- Kid screens ---------- */
body.kid {
  font-family: var(--font-fun);
  background:
    radial-gradient(circle at 12% 8%, #ffe9c7 0 18%, transparent 19%),
    radial-gradient(circle at 92% 88%, #ffe0dc 0 16%, transparent 17%),
    var(--cream);
  user-select: none;
  -webkit-user-select: none;
  padding: max(20px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}
.kid h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.05;
  text-align: center;
  margin: 12px 0 28px;
  font-weight: 800;
}

.kid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.kid-tile {
  border: 0;
  background: var(--paper);
  border-radius: 28px;
  padding: 18px 12px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.12s ease;
}
.kid-tile:active { transform: translateY(4px) scale(0.98); }
.kid-tile .name { font-size: 1.5rem; font-weight: 700; }

.avatar {
  --size: 120px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--tile, var(--gold));
  display: grid;
  place-items: center;
  font-size: calc(var(--size) * 0.55);
  overflow: hidden;
  flex: none;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.12);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3cf;
  color: #7a5200;
  border-radius: 999px;
  padding: 4px 14px 4px 10px;
  font-weight: 800;
  font-size: 1.3rem;
}

/* Hub after picking a kid */
.hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 26px;
}
.hub-who { display: flex; align-items: center; gap: 14px; }
.hub-who .avatar { --size: 72px; }
.hub-who .name { font-size: 2rem; font-weight: 800; }
.back-btn {
  border: 0;
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 1.1rem;
}
.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.door {
  position: relative;
  border: 0;
  border-radius: 32px;
  min-height: clamp(260px, 34vh, 420px);
  padding: 24px;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.12s ease;
}
.door:active { transform: translateY(4px) scale(0.99); }
.door .icon { font-size: 5.5rem; line-height: 1; position: absolute; top: 22px; right: 26px; }
.door .label { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.door .sub { font-size: 1.15rem; opacity: 0.9; margin-top: 6px; }
.door.santa { background: linear-gradient(150deg, var(--red) 0%, var(--red-deep) 100%); }
.door.print { background: linear-gradient(150deg, var(--plum) 0%, #5d3aa8 100%); }
.door.soon::after {
  content: 'Coming soon';
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: 999px;
}

.grownup-link {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1.2rem;
  opacity: 0.6;
}

.center-card {
  max-width: 460px;
  margin: 8vh auto 0;
  background: var(--paper);
  border-radius: 32px;
  padding: 32px 26px;
  box-shadow: var(--shadow);
  text-align: center;
}
.code-input {
  width: 100%;
  font: 800 2.4rem/1 var(--font-fun);
  letter-spacing: 0.35em;
  text-align: center;
  text-transform: uppercase;
  padding: 16px 8px 12px 20px;
  border: 3px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
}
.code-input:focus { border-color: var(--sky); }
.big-btn {
  margin-top: 18px;
  width: 100%;
  border: 0;
  border-radius: 20px;
  padding: 16px;
  background: var(--green);
  color: #fff;
  font: 800 1.6rem/1 var(--font-fun);
  box-shadow: 0 5px 0 var(--green-deep);
}
.big-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--green-deep); }
.big-btn:disabled { opacity: 0.6; }
.msg { min-height: 1.6em; margin-top: 14px; font-size: 1.15rem; color: var(--red-deep); }
.empty { text-align: center; color: var(--ink-soft); font-size: 1.3rem; margin-top: 10vh; }

/* ---------- Parent mode ---------- */
body.grownup { font-size: 16px; }
.gu-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: max(10px, env(safe-area-inset-top)) 16px 0;
}
.gu-bar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 960px; margin: 0 auto; }
.gu-title { font: 800 1.35rem/1.2 var(--font-fun); margin: 0; }
.gu-who { color: var(--ink-soft); font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabs { display: flex; gap: 4px; overflow-x: auto; max-width: 960px; margin: 8px auto 0; scrollbar-width: none; }
.tabs button {
  border: 0;
  background: none;
  padding: 10px 14px;
  border-bottom: 3px solid transparent;
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
}
.tabs button[aria-selected='true'] { color: var(--ink); border-bottom-color: var(--red); }
main.gu { max-width: 960px; margin: 0 auto; padding: 18px 16px 60px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}
.card h2 { font-size: 1.05rem; margin: 0 0 12px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row > .grow { flex: 1 1 180px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list .meta { color: var(--ink-soft); font-size: 0.85rem; }
.list .main { flex: 1; min-width: 0; }
.list .avatar { --size: 44px; }
.pill { font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; background: #f2ecff; color: #5d3aa8; font-weight: 600; }
.pill.off { background: #f0f0f0; color: #777; }
label.field { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; color: var(--ink-soft); }
input, select {
  font: inherit;
  color: var(--ink);
  padding: 9px 11px;
  border: 1px solid #d9cfbf;
  border-radius: 10px;
  background: #fff;
  min-width: 0;
}
input[type='color'] { padding: 2px; height: 40px; width: 56px; }
.btn {
  border: 1px solid #d9cfbf;
  background: #fff;
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.danger { color: var(--red-deep); }
.btn.small { padding: 5px 10px; font-size: 0.85rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.chip .avatar { --size: 30px; box-shadow: none; }
.chip[aria-pressed='true'] { border-color: var(--green); background: #e9f7f0; }
.amount-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.amount-btns .btn { min-width: 56px; font-size: 1.05rem; }
.delta-pos { color: var(--green-deep); font-weight: 700; }
.delta-neg { color: var(--red-deep); font-weight: 700; }
.code-display {
  font: 800 2.6rem/1 var(--font-fun);
  letter-spacing: 0.25em;
  text-align: center;
  padding: 18px;
  background: var(--cream);
  border-radius: 14px;
  margin-top: 12px;
}
.secret { font-family: ui-monospace, Menlo, monospace; word-break: break-all; background: var(--cream); padding: 10px; border-radius: 10px; font-size: 0.85rem; }
.toast {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  max-width: calc(100vw - 32px);
  z-index: 50;
}
.toast.error { background: var(--red-deep); }
dialog {
  border: 0;
  border-radius: 18px;
  padding: 20px;
  width: min(480px, calc(100vw - 32px));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
dialog::backdrop { background: rgba(43, 33, 64, 0.4); }
dialog form { display: grid; gap: 12px; }
dialog .avatar { --size: 84px; margin: 0 auto; }
.muted { color: var(--ink-soft); font-size: 0.9rem; }

.chip.app-toggle { padding: 3px 10px; font-size: 0.8rem; color: var(--ink-soft); }
.chip.app-toggle[aria-pressed='false'] { opacity: 0.55; text-decoration: line-through; }
.chip.app-toggle[aria-pressed='true'] { color: var(--green-deep); }

/* Catalog (parent mode) */
.toy-list li.toy-draft { display: grid; gap: 10px; align-items: stretch; }
.toy-pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.toy-pic { margin: 0; display: grid; gap: 4px; }
.toy-pic img, .toy-pic-busy, .toy-pic-empty {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--cream);
}
.toy-pic-busy, .toy-pic-empty { display: grid; place-items: center; color: var(--ink-soft); font-size: 0.85rem; }
.toy-pic-busy { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .toy-pic-busy { animation: none; } }
.toy-pic figcaption { font-size: 0.75rem; color: var(--ink-soft); text-align: center; }
.toy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.toy-tile { display: grid; gap: 6px; }
.toy-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.toy-tile-name { font-weight: 600; font-size: 0.9rem; line-height: 1.25; }
.btn:disabled { opacity: 0.5; cursor: default; }

/* ---------- Whimsy: decorations for kid screens ---------- */
.wordmark {
  font-family: 'Chewy', 'Baloo 2', ui-rounded, system-ui, sans-serif;
  font-weight: 400;
  display: block; text-align: center; text-wrap: balance;
  letter-spacing: 0.01em; line-height: 1.08;
}
/* The margin keeps a visible gap even where whitespace collapses. */
.wordmark .word { display: inline-block; white-space: nowrap; }
.wordmark .word:not(:last-child) { margin-right: 0.22em; }
.wordmark .ch {
  display: inline-block; position: relative;
  text-shadow:
    3px 0 0 var(--wm-outline, #fff), -3px 0 0 var(--wm-outline, #fff), 0 3px 0 var(--wm-outline, #fff), 0 -3px 0 var(--wm-outline, #fff),
    2px 2px 0 var(--wm-outline, #fff), -2px 2px 0 var(--wm-outline, #fff), 2px -2px 0 var(--wm-outline, #fff), -2px -2px 0 var(--wm-outline, #fff),
    0 7px 0 rgba(43, 33, 64, 0.18);
  animation: bob 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.22s);
}
.wordmark .hat::before {
  content: ''; position: absolute; left: -0.08em; top: -0.4em; width: 0.66em; height: 0.53em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 80'%3E%3Cpath d='M12 62 C20 30 44 6 70 10 C84 12 92 30 90 46 C80 36 70 34 60 38 C50 44 40 56 36 62 Z' fill='%23e4483f' stroke='%238f1f1a' stroke-width='3'/%3E%3Crect x='6' y='56' width='60' height='18' rx='9' fill='white' stroke='%23d8d0c4' stroke-width='2'/%3E%3Ccircle cx='90' cy='50' r='10' fill='white' stroke='%23d8d0c4' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-14deg);
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-0.06em) rotate(calc(var(--r) * -1)); } }

.bunting { height: 64px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='64' viewBox='0 0 240 64'%3E%3Cpath d='M0 6 Q120 34 240 6' fill='none' stroke='%232b2140' stroke-width='2.5'/%3E%3Cpath d='M12 12 L48 12 L30 50 Z' fill='%23e4483f'/%3E%3Ccircle cx='30' cy='24' r='4' fill='white' opacity='.55'/%3E%3Cpath d='M72 19 L108 19 L90 57 Z' fill='%23f5b82e'/%3E%3Ccircle cx='90' cy='31' r='4' fill='white' opacity='.55'/%3E%3Cpath d='M132 19 L168 19 L150 57 Z' fill='%234f8fe8'/%3E%3Ccircle cx='150' cy='31' r='4' fill='white' opacity='.55'/%3E%3Cpath d='M192 12 L228 12 L210 50 Z' fill='%232e9b6a'/%3E%3Ccircle cx='210' cy='24' r='4' fill='white' opacity='.55'/%3E%3C/svg%3E") 0 0 / 240px 64px repeat-x; }
.lights { height: 46px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='46' viewBox='0 0 240 46'%3E%3Cpath d='M0 5 Q30 20 60 5 T120 5 T180 5 T240 5' fill='none' stroke='%231d3b2a' stroke-width='2.5'/%3E%3Crect x='26' y='11.5' width='8' height='7' rx='2' fill='%231d3b2a'/%3E%3Cellipse cx='30' cy='27.5' rx='7' ry='10' fill='%23ff5a4f'%3E%3Canimate attributeName='opacity' values='1;.45;1' dur='1.6s' begin='0.0s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Cellipse cx='27.5' cy='23.5' rx='2' ry='3.5' fill='white' opacity='.6'/%3E%3Crect x='86' y='11.5' width='8' height='7' rx='2' fill='%231d3b2a'/%3E%3Cellipse cx='90' cy='27.5' rx='7' ry='10' fill='%23ffd23f'%3E%3Canimate attributeName='opacity' values='1;.45;1' dur='2.0s' begin='0.3s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Cellipse cx='87.5' cy='23.5' rx='2' ry='3.5' fill='white' opacity='.6'/%3E%3Crect x='146' y='11.5' width='8' height='7' rx='2' fill='%231d3b2a'/%3E%3Cellipse cx='150' cy='27.5' rx='7' ry='10' fill='%234fb3ff'%3E%3Canimate attributeName='opacity' values='1;.45;1' dur='2.4000000000000004s' begin='0.6s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Cellipse cx='147.5' cy='23.5' rx='2' ry='3.5' fill='white' opacity='.6'/%3E%3Crect x='206' y='11.5' width='8' height='7' rx='2' fill='%231d3b2a'/%3E%3Cellipse cx='210' cy='27.5' rx='7' ry='10' fill='%235fe39a'%3E%3Canimate attributeName='opacity' values='1;.45;1' dur='2.8000000000000003s' begin='0.8999999999999999s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3Cellipse cx='207.5' cy='23.5' rx='2' ry='3.5' fill='white' opacity='.6'/%3E%3C/svg%3E") 0 0 / 240px 46px repeat-x; }

.awning {
  height: 64px;
  background: repeating-linear-gradient(90deg, #e4483f 0 56px, #fff7ef 56px 112px);
  -webkit-mask: radial-gradient(circle at 28px 0, #000 27px, transparent 28px) 0 100% / 56px 28px repeat-x,
                linear-gradient(#000, #000) 0 0 / 100% calc(100% - 27px) no-repeat;
          mask: radial-gradient(circle at 28px 0, #000 27px, transparent 28px) 0 100% / 56px 28px repeat-x,
                linear-gradient(#000, #000) 0 0 / 100% calc(100% - 27px) no-repeat;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.12));
}

.band { position: relative; overflow: hidden; overflow: clip; contain: paint; }
/* iOS Safari can let animated children widen the page; never allow sideways scrolling on kid screens. */
html:has(body.kid), body.kid { overflow-x: hidden; overflow-x: clip; }
.band .drift { position: absolute; animation: drift linear infinite; will-change: transform; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
.band .spin { animation: spin 40s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.flake { position: absolute; top: -12px; color: #fff; opacity: 0.85; pointer-events: none; animation: fall linear infinite; }
@keyframes fall { to { transform: translate(var(--sway, 20px), 260px) rotate(200deg); } }
.edge { display: block; width: 100%; height: 56px; }

@media (prefers-reduced-motion: reduce) {
  .wordmark .ch, .band .drift, .band .spin, .flake { animation: none !important; }
  .lights { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='46' viewBox='0 0 240 46'%3E%3Cpath d='M0 5 Q30 20 60 5 T120 5 T180 5 T240 5' fill='none' stroke='%231d3b2a' stroke-width='2.5'/%3E%3Crect x='26' y='11.5' width='8' height='7' rx='2' fill='%231d3b2a'/%3E%3Cellipse cx='30' cy='27.5' rx='7' ry='10' fill='%23ff5a4f'%3E%3C/ellipse%3E%3Cellipse cx='27.5' cy='23.5' rx='2' ry='3.5' fill='white' opacity='.6'/%3E%3Crect x='86' y='11.5' width='8' height='7' rx='2' fill='%231d3b2a'/%3E%3Cellipse cx='90' cy='27.5' rx='7' ry='10' fill='%23ffd23f'%3E%3C/ellipse%3E%3Cellipse cx='87.5' cy='23.5' rx='2' ry='3.5' fill='white' opacity='.6'/%3E%3Crect x='146' y='11.5' width='8' height='7' rx='2' fill='%231d3b2a'/%3E%3Cellipse cx='150' cy='27.5' rx='7' ry='10' fill='%234fb3ff'%3E%3C/ellipse%3E%3Cellipse cx='147.5' cy='23.5' rx='2' ry='3.5' fill='white' opacity='.6'/%3E%3Crect x='206' y='11.5' width='8' height='7' rx='2' fill='%231d3b2a'/%3E%3Cellipse cx='210' cy='27.5' rx='7' ry='10' fill='%235fe39a'%3E%3C/ellipse%3E%3Cellipse cx='207.5' cy='23.5' rx='2' ry='3.5' fill='white' opacity='.6'/%3E%3C/svg%3E"); }
}

label.field { min-width: 0; }
select { max-width: 100%; }

/* Shopping list (parent mode) */
.shop-list li { align-items: flex-start; }
.shop-thumb { width: 64px; height: 64px; flex: none; border-radius: 12px; object-fit: cover; background: var(--cream); border: 1px solid var(--line); }
.shop-list li.is-bought .shop-thumb { opacity: 0.5; }
.shop-list li.is-bought strong { text-decoration: line-through; color: var(--ink-soft); }
.shop-kid .avatar { --size: 48px; box-shadow: none; }

/* Catalog (parent mode, compact) */
.checker {
  background-color: #fff;
  background-image: conic-gradient(#ece6dc 25%, transparent 0 50%, #ece6dc 0 75%, transparent 0);
  background-size: 14px 14px;
}
.thumb {
  width: 64px; height: 64px; flex: none; padding: 0; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background-color: var(--cream); display: grid; place-items: center;
}
.thumb:not(:disabled) { cursor: zoom-in; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb-empty { color: var(--ink-soft); }
.thumb-busy { font-size: 0.65rem; color: var(--ink-soft); animation: pulse 1.2s ease-in-out infinite; }
.thumbs { display: flex; gap: 6px; }
.toy-row { flex-wrap: wrap; align-items: flex-start; }
.toy-row-main { flex: 1 1 260px; min-width: 0; display: grid; gap: 6px; }
.toy-row-status { font-size: 0.8rem; min-height: 1.2em; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.toy-row-actions { gap: 6px; }
.toy-line .thumb { width: 48px; height: 48px; }
.toy-line-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toy-line .btn.small { padding: 4px 9px; }
input.compact, select.compact { padding: 6px 9px; font-size: 0.9rem; }
.warn { color: #9a5a00; }
.okay { color: var(--green-deep); }
.linkish { border: 0; background: none; padding: 0; color: var(--sky); text-decoration: underline; font-size: inherit; }
.zoom .zoom-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; background-color: var(--cream); }
.zoom .zoom-frame.checker { background-color: #fff; }
.zoom img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
