/* CPA020 demo hub. Tokens first; dark mode follows the system. No inline styles anywhere (CSP). */
:root {
  --bg: #f4f5f1; --surface: #ffffff; --surface-2: #eef1ec; --ink: #1b211e; --muted: #5b6660; --line: #dde2dc;
  --accent: #2f6f5e; --accent-ink: #ffffff; --accent-soft: #e2efe9;
  --cog: #2f7d64; --cog-soft: #e3f2ec; --music: #5b4fc4; --music-soft: #ecebfb;
  --warn-bg: #fff3d9; --warn-ink: #6b4a00; --err: #a3261b;
  --radius: 16px; --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 6px 20px rgba(20, 30, 25, .06);
  --tabbar-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121614; --surface: #1b211e; --surface-2: #232b27; --ink: #e7ece9; --muted: #a2aea8; --line: #313b36;
    --accent: #6cc3a8; --accent-ink: #0c1411; --accent-soft: #20342d;
    --cog: #6cc3a8; --cog-soft: #1f342d; --music: #a9a0ff; --music-soft: #27243f;
    --warn-bg: #3a2f14; --warn-ink: #f3dc9f; --err: #ff8e83;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
a { color: var(--accent); }
h1 { font-size: 1.45rem; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.01em; }
h2 { font-size: 1.12rem; margin: 0 0 12px; }
h3 { font-size: 1.05rem; margin: 4px 0 6px; }
.small { color: var(--muted); font-size: 14px; }
.eyebrow { margin: 0 0 4px; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .02em; }

/* ---------- top bar + tabs ---------- */
header.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 20px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; }
.logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--cog) 0 50%, var(--music) 50% 100%); }
.tabs { display: flex; align-items: center; gap: 4px; }
.tab-form { margin: 0; }
.tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none;
  font: inherit; font-size: 15px; font-weight: 600; background: none; border: 0; cursor: pointer; min-height: 44px; }
.tab:hover { background: var(--surface-2); color: var(--ink); }
.tab.on { background: var(--accent-soft); color: var(--accent); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 699px) {
  /* backdrop-filter would make the header the containing block of the fixed tab bar */
  header.top { padding: 10px 16px; backdrop-filter: none; background: var(--surface); }
  body.has-tabs { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; justify-content: space-around; gap: 0;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding: 4px 4px env(safe-area-inset-bottom);
    background: var(--surface); border-top: 1px solid var(--line); }
  .tabs > a, .tab-form { flex: 1; }
  .tab { flex-direction: column; justify-content: center; gap: 2px; width: 100%; height: 100%; padding: 6px 0; border-radius: 12px; font-size: 12px; }
  .tab.on { background: none; }
  .tab.on .ico { background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; width: 44px; height: 26px; }
}

main { max-width: 980px; margin: 0 auto; padding: 20px; }
@media (max-width: 699px) { main { padding: 16px; } }
footer { max-width: 980px; margin: 0 auto 32px; padding: 0 20px; color: var(--muted); font-size: 13px; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow); }
.notice { background: var(--warn-bg); color: var(--warn-ink); padding: 10px 12px; border-radius: 12px; }
.error { color: var(--err); font-weight: 700; }
.guardian { display: none; background: var(--warn-bg); color: var(--warn-ink); padding: 10px 14px; border-radius: 12px; margin: 0 0 12px; }
.guardian.show { display: block; }
.guardian-check { display: none; margin-top: 8px; } .guardian-check.show { display: inline-flex; }

/* ---------- pending strip ---------- */
.pending { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; }
.pending h2 { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.pending ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pending li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pending .pt { flex: 1 1 180px; font-weight: 600; }
.pending small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cog); flex: none; }
.m-music .dot { background: var(--music); }
.pill { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-size: 14px; font-weight: 700; }
.pill.ghost, .pill:nth-of-type(2) { background: var(--surface-2); color: var(--ink); }

/* ---------- hero + segmented ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 4px 0 16px; }
.chips-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; }
.seg-link, .seg-opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer; }
.seg-link.on, .seg-opt input:checked + span { background: var(--surface); box-shadow: var(--shadow); color: var(--accent); }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- collapsibles ---------- */
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "▾"; margin-left: 8px; color: var(--muted); }
details[open] > summary::after { content: "▴"; }
.quick > summary, .changes > summary { display: flex; align-items: baseline; gap: 10px; font-weight: 700; }
.quick > summary small, .changes > summary small { color: var(--muted); font-weight: 400; }
.quick form { margin-top: 14px; }
.changes { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.changes ul { margin: 10px 0 0; padding-left: 20px; }

/* ---------- activity groups + cards ---------- */
.group { margin: 22px 0 8px; }
.section-title { margin-top: 26px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
@media (max-width: 699px) { .grid { grid-template-columns: 1fr; } }
.act { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 16px 14px; box-shadow: var(--shadow); overflow: hidden; }
.act::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--cog); }
.act.m-music::before { background: var(--music); }
.act-head { display: flex; justify-content: space-between; align-items: center; }
.mod { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--cog-soft); color: var(--cog); }
.m-music .mod { background: var(--music-soft); color: var(--music); }
.rank { font-size: 13px; color: var(--muted); font-weight: 600; }
.desc { margin: 0; color: var(--muted); font-size: 15px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.tag { background: var(--surface-2); border-radius: 8px; padding: 2px 9px; font-size: 13.5px; color: var(--ink); text-decoration: none; }
.link-tag { color: var(--accent); font-weight: 600; }
.why { margin: 2px 0 4px; font-size: 15px; }
.why > summary { color: var(--muted); font-weight: 600; font-size: 14px; }
.reasons { margin: 6px 0 4px; padding-left: 18px; }
.reasons .r-inference { font-weight: 600; }
.start { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: auto; padding-top: 8px; }
.pick { display: flex; flex-direction: column; gap: 2px; flex: 1 1 120px; font-size: 13px; color: var(--muted); font-weight: 600; }
.pick select { font: inherit; font-size: 15px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  min-height: 44px; padding: 6px 10px; }
.go { flex: 1 1 100%; }
.more { margin-top: 12px; }
.more > summary { font-weight: 700; color: var(--accent); padding: 8px 0; }
.empty { color: var(--muted); }

/* ---------- forms, buttons ---------- */
fieldset { border: 0; padding: 0; margin: 0 0 18px; } legend { font-weight: 700; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--surface-2); cursor: pointer; min-height: 44px; }
.chip input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.chip:has(input:checked) { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
label[for] { display: block; font-weight: 700; margin-bottom: 6px; }
input[name="code"] { width: 100%; font-size: 1.3rem; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); letter-spacing: 2px; margin-bottom: 12px; }
button[type="submit"]:not(.tab), .btn { display: inline-flex; justify-content: center; align-items: center; background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 12px; padding: 12px 18px; font: inherit; font-weight: 700; min-height: 48px; cursor: pointer; text-decoration: none; }
.btn.ghost { background: var(--surface-2); color: var(--ink); }
form > button[type="submit"]:not(.tab):not(.go) { width: 100%; }
@media (min-width: 700px) { form > button[type="submit"]:not(.tab):not(.go) { width: auto; } }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 16px; }
.row-actions .btn { flex: 1 1 200px; }
.inline { display: inline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- tables (feedback, history, admin) ---------- */
table.obs { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
table.obs th, table.obs td { text-align: left; border-bottom: 1px solid var(--line); padding: 7px 4px; vertical-align: top; word-break: break-word; }
table.obs th { width: 40%; color: var(--muted); font-weight: 600; }

/* ---------- daily check-in ---------- */
.checkin-cta { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.checkin-cta small { display: block; color: var(--muted); font-size: 14px; }
.ci-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex: none; }
.ci-ico .ico { width: 24px; height: 24px; }
.ci-go { margin-left: auto; white-space: nowrap; flex: none; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.checkin-done { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); margin: 0 0 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.checkin-done > span:nth-child(2) { flex: 1; min-width: 0; line-height: 1.4; }
.checkin-done .ci-ico { width: 32px; height: 32px; border-radius: 10px; }
.checkin-done a { flex: none; font-weight: 600; white-space: nowrap; }
.chips.big .chip { min-width: 84px; justify-content: center; }
.pick.wide { max-width: 280px; }

/* ---------- release stamp (bottom-right corner, above the phone tab bar) ---------- */
.release { position: fixed; right: 8px; bottom: 6px; z-index: 10; margin: 0; padding: 1px 6px; border-radius: 6px;
  font-size: 11px; color: var(--muted); background: color-mix(in srgb, var(--bg) 85%, transparent); pointer-events: none; }
@media (max-width: 699px) { body.has-tabs .release { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 4px); } }

/* ---------- sign-in (code / email) and privacy ---------- */
.login-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.login-card input[name="email"] { width: 100%; font-size: 1.1rem; padding: 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); margin-bottom: 12px; }
.login-card.muted { opacity: .75; }
.chip.consent { align-items: flex-start; border-radius: 14px; margin: 0 0 10px; font-size: 14.5px; line-height: 1.45; }
.chip.consent input { margin-top: 3px; flex: none; }
.policy { padding-left: 20px; } .policy li { margin-bottom: 8px; }
.inline-form { display: inline; margin: 0; }
.ghost-btn { background: var(--surface-2) !important; color: var(--ink) !important; }
.danger { background: var(--err) !important; color: #fff !important; }

/* ---------- 나만의 주제 ---------- */
.my-topics { list-style: none; padding: 0; margin: 8px 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.my-topics li { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); border-radius: 999px; padding: 4px 6px 4px 12px; }
.topic-add input[name="word"] { width: 100%; font-size: 1.05rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); margin-bottom: 10px; }
/* HQ017 help-first page */
.help-lines { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.help-call { display: flex; gap: 10px; align-items: baseline; padding: 12px 14px; border: 1px solid var(--line, #ccc); border-radius: 12px; text-decoration: none; color: inherit; }
.help-call strong { font-size: 1.3em; }

/* HQ018 opinion board */
.board-add textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; border: 1px solid var(--line, #ccc); border-radius: 12px; margin: 6px 0 10px; resize: vertical; }
.board-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.board-post { border: 1px solid var(--line, #ddd); border-radius: 12px; padding: 10px 12px; overflow-wrap: anywhere; }
.board-post > p { margin: 4px 0; }
.board-reply { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--accent-soft); }
.board-reply p { margin: 2px 0; }
.tag.new { background: var(--accent); color: var(--accent-ink); }

/* HQ019 P2 "나의 세계" — original look: drawn with SVG shapes and these colours only (no images, fonts or url()) */
:root { --w-sea: #cfe8ef; --w-wave: #9ccfdc; --w-land: #b9dca4; --w-sand: #e9dcae; --w-spot: #fffaf0; --w-flower: #f2a7a0; --w-flower2: #f6d27a;
  --w-stem: #5f9b62; --w-hill: #8fc48a; --w-note: #3d6f8f; --w-badge-cog: #f4c27a; --w-badge-music: #9cc3e8; --w-ring: #ffffff; }
@media (prefers-color-scheme: dark) { :root { --w-sea: #1d3a44; --w-wave: #2e5a68; --w-land: #3e6a45; --w-sand: #6b6243; --w-spot: #2b2a24;
  --w-flower: #c9726b; --w-flower2: #c9a34b; --w-stem: #8cc28f; --w-hill: #4f8a54; --w-note: #bfe0f5; --w-badge-cog: #b9884a; --w-badge-music: #4f7aa3; --w-ring: #e7ece9; } }
.world-map { width: 100%; max-width: 640px; height: auto; display: block; margin: 8px auto 12px; }
.w-sea { fill: var(--w-sea); } .w-wave { fill: none; stroke: var(--w-wave); stroke-width: 2; stroke-linecap: round; }
.w-land { fill: var(--w-land); } .w-sand { fill: var(--w-sand); opacity: .55; }
.w-spot { fill: var(--w-spot); stroke: var(--w-stem); stroke-width: 1.5; stroke-dasharray: 3 3; }
.w-flower { fill: var(--w-flower); } .w-flower2 { fill: var(--w-flower2); } .w-stem { stroke: var(--w-stem); stroke-width: 2.5; fill: none; }
.w-hill { fill: var(--w-hill); } .w-note { fill: var(--w-note); stroke: var(--w-note); stroke-width: 2; }
.w-label { font-size: 11px; font-weight: 700; text-anchor: middle; fill: var(--ink); }
.w-badge-cog { fill: var(--w-badge-cog); } .w-badge-music { fill: var(--w-badge-music); }
.w-mark { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.w-ring { fill: none; stroke: var(--w-ring); stroke-width: 3; }
.world-map a:focus-visible circle, .world-map a:focus-visible g { stroke: var(--accent); stroke-width: 4; }
.world-map a .w-zone { transition: transform .2s ease; transform-box: fill-box; transform-origin: center; }
.world-map a:hover .w-zone { transform: translateY(-2px); }
.world-stage { background: var(--surface); border-radius: 22px; padding: 16px; margin-bottom: 14px; }
.zone-buttons, .game-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.btn.big { min-height: 56px; font-size: 1.1em; padding: 12px 22px; }
.spot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 10px 0; }
.spot-btn { min-height: 52px; } .spot-btn.taken { opacity: .75; }
.art-preview { display: flex; justify-content: center; margin: 8px 0; }
.art-img { width: min(256px, 80vw); height: auto; border-radius: 18px; background: #fff; }
.art-badge { display: grid; place-items: center; gap: 4px; width: 180px; height: 180px; border-radius: 50%; text-align: center; padding: 16px; }
.art-cog { background: var(--w-badge-cog); } .art-music { background: var(--w-badge-music); }
.item-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.item-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.big-text main { font-size: 1.2em; } body.big-text main button, body.big-text main .btn { min-height: 60px; font-size: 1.05em; }
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .world-map a .w-zone { transition: none; } .world-map a:hover .w-zone { transform: none; } }

/* HQ020 vertical switch (shared rule for PERSONA, COG and MUSIC): on above, off below, both names always shown;
   the current one gets colour, weight and a check mark, and "지금: …" says it in words. */
.vt-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.vt-title { font-weight: 600; } .vt-title small { display: block; font-weight: 400; color: var(--muted); }
.vtoggle { position: relative; display: inline-block; cursor: pointer; }
.vtoggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.vt-body { display: grid; grid-template-rows: auto auto auto; justify-items: center; gap: 4px; min-width: 64px; }
.vt-opt { font-size: .9em; color: var(--muted); padding: 2px 6px; border-radius: 8px; }
.vt-opt::before { content: '\2713\00a0'; visibility: hidden; }
.vt-track { position: relative; width: 30px; height: 52px; border-radius: 15px; background: var(--surface-2); border: 2px solid var(--line); }
.vt-knob { position: absolute; left: 3px; top: 25px; width: 20px; height: 20px; border-radius: 50%; background: var(--muted); transition: top .15s ease; }
.vtoggle input:checked + .vt-body .vt-track { background: var(--accent-soft); border-color: var(--accent); }
.vtoggle input:checked + .vt-body .vt-knob { top: 3px; background: var(--accent); }
.vtoggle input:checked + .vt-body .vt-on, .vtoggle input:not(:checked) + .vt-body .vt-off { color: var(--ink); font-weight: 700; background: var(--accent-soft); }
.vtoggle input:checked + .vt-body .vt-on::before, .vtoggle input:not(:checked) + .vt-body .vt-off::before { visibility: visible; }
.vtoggle input:focus-visible + .vt-body .vt-track { outline: 3px solid var(--accent); outline-offset: 2px; }
.vt-now { font-size: .9em; font-weight: 700; min-width: 7em; }
.vt-row .now-on { display: none; } .vt-row:has(input:checked) .now-on { display: inline; } .vt-row:has(input:checked) .now-off { display: none; }
.toggle-form { margin: 0; } .toggle-form .vt-apply { margin-top: 6px; } .js .toggle-form .vt-apply { display: none; }
body.big-text .vt-track { width: 38px; height: 64px; border-radius: 19px; } body.big-text .vt-knob { width: 26px; height: 26px; top: 31px; }
body.big-text .vtoggle input:checked + .vt-body .vt-knob { top: 4px; }
@media (prefers-reduced-motion: reduce) { .vt-knob { transition: none; } }

/* HQ020 island chooser on "어디에 둘까요?": buttons over the drawing, same form as the list */
.place-map { position: relative; max-width: 640px; margin: 8px auto 4px; }
.place-map .world-map { margin: 0; }
.place-map button.map-spot { position: absolute; transform: translate(-50%, -50%); width: 48px; height: 48px; min-height: 48px; padding: 0; border-radius: 50%;
  border: 3px dashed var(--w-stem); background: var(--w-spot); color: var(--ink); font-weight: 700; display: grid; place-items: center; }
.place-map button.map-spot.taken { border-style: solid; background: var(--w-badge-cog); }
.place-map button.map-spot:hover, .place-map button.map-spot:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; background: var(--accent-soft); }
.ms-1 { left: 20.59%; top: 62.5%; } .ms-2 { left: 32.35%; top: 46.67%; } .ms-3 { left: 47.06%; top: 66.67%; } .ms-4 { left: 57.65%; top: 43.33%; }
.ms-5 { left: 69.41%; top: 62.5%; } .ms-6 { left: 79.41%; top: 45%; } .ms-7 { left: 37.65%; top: 81.67%; } .ms-8 { left: 66.47%; top: 81.67%; }
@media (max-width: 420px) { .place-map button.map-spot { width: 44px; height: 44px; min-height: 44px; } }

/* HQ020 more places on the island */
.w-block { fill: var(--w-flower2); } .w-block2 { fill: var(--w-badge-music); } .w-sign { fill: var(--w-spot); stroke: var(--w-stem); stroke-width: 2; }
.w-roof { fill: var(--w-flower); } .w-house { fill: var(--w-spot); stroke: var(--w-stem); stroke-width: 1.5; }
.w-glyph { font-size: 10px; font-weight: 700; text-anchor: middle; fill: var(--ink); }

/* HQ020 activity cards: a moving picture on top (module SVG via <img>, or a still icon), one short line below */
.act-preview { display: grid; place-items: center; height: 108px; margin: -4px -4px 8px; border-radius: 14px; background: var(--surface-2); overflow: hidden; }
.act-preview img, .act-preview svg { width: 100%; max-width: 220px; height: 100px; object-fit: contain; }
.act-line { margin: 4px 0; overflow: hidden; text-overflow: ellipsis; }
.ci-a { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ci-b { fill: var(--w-flower2); } .ci-t { font-size: 22px; font-weight: 800; fill: var(--accent); }
.cat-drawing .ci-b { fill: var(--w-flower); } .cat-music .ci-b { fill: var(--w-badge-music); }
.w-tree { fill: var(--w-stem); } .w-tree2 { fill: var(--w-hill); }

/* HQ022 drawing-topic group tiles (symbols from COG v1.5, shown as <img>) */
.sym-tiles .sym-tile { flex-direction: column; gap: 4px; min-width: 84px; min-height: 84px; justify-content: center; text-align: center; }
.sym-tile img { width: 40px; height: 40px; }
