/* Hallmark · v2.0.0 · shape: app screen · genre: playful · theme: concept_05 · signature: inline play guide */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V4 · tightened controls and removed inactive favorite icon */
/* Hallmark · waive 72 · cards below the desktop screenshot fold are naturally clipped by scrolling · visible guides retain 20px inner padding and readable spacing */
/* Hallmark · answered F5 · lime chevron disc is the selected concept_05 expansion affordance and marks open state */
:root {
  color-scheme: dark;
  --bg: #172D33;
  --paper: #243B41;
  --ink: #F7F8EE;
  --muted: #C6D4CF;
  --line: #45595C;
  --accent: #D9F28A;
  --accent-ink: #193137;
  --accent-soft: #324C49;
  --shadow-card: 0 12px 30px -20px #0A1D20;
  font-family: Inter, "Noto Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; }
button, summary { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:active, summary:active { transform: translateY(1px); }
button:disabled, input:disabled { opacity: .55; cursor: not-allowed; }
button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.screen { width: 100%; max-width: 560px; margin: auto; min-height: 100svh; padding: max(28px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(36px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: -.3px; }
.mark { width: 27px; height: 27px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.mark svg { width: 16px; height: 16px; }
.circle-mark { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); }
h1, h2, h3, p { margin: 0; }
h1 { margin-top: 28px; font-size: 35px; font-weight: 800; letter-spacing: -1.3px; line-height: 1.04; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.intro { background: var(--accent); color: var(--accent-ink); padding: 16px; border-radius: 18px; margin: 20px 0 12px; }
.intro strong { display: block; font-size: 17px; font-weight: 800; }
.intro span { display: block; font-size: 14px; line-height: 1.5; margin-top: 4px; }
.age-note { font-size: 12px; line-height: 1.5; color: var(--muted); }
.search-panel { margin-top: 20px; }
.search-panel[hidden], .clear-search[hidden] { display: none; }
.search-panel label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.search-field { display: flex; align-items: stretch; gap: 8px; }
.search-field input { width: 100%; min-width: 0; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.search-field input::placeholder { color: var(--muted); }
.search-field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.clear-search { padding: 0 16px; min-height: 52px; border: 1px solid var(--line); border-radius: 11px; background: transparent; font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.chip { min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 11px; font-size: 14px; font-weight: 750; background: var(--paper); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.section-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
h2 { font-size: 18px; line-height: 1.4; letter-spacing: -.35px; }
.count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.activity { background: var(--paper); border: 1px solid var(--line); border-radius: 21px; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-card); overflow-anchor: none; }
.activity[open] { border-color: var(--accent); box-shadow: inset 0 0 0 .5px var(--accent), var(--shadow-card); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 88px; padding: 20px; }
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline-offset: -5px; border-radius: 20px; }
.card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.card-main strong { font-size: 18px; font-weight: 750; line-height: 1.3; letter-spacing: -.4px; }
.card-main small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.expand-icon { width: 37px; height: 37px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.activity[open] .expand-icon { background: var(--accent); color: var(--accent-ink); }
.chev { transition: transform 160ms ease; }
.activity[open] .chev { transform: rotate(180deg); }
.activity[open] summary { border-bottom: 1px solid var(--line); }
.guide { padding: 20px; }
.media { display: grid; gap: 12px; margin-bottom: 20px; }
.media img, .media video { display: block; width: 100%; max-height: 310px; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--accent-soft); object-fit: contain; }
.preparation { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 20px; overflow-wrap: anywhere; }
.preparation strong { display: block; color: var(--ink); margin-bottom: 8px; font-size: 16px; }
.guide h3 { font-size: 16px; margin-bottom: 16px; }
.guide ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.guide li { display: grid; grid-template-columns: 31px minmax(0, 1fr); align-items: start; gap: 12px; font-size: 16px; line-height: 1.6; counter-increment: steps; overflow-wrap: anywhere; }
.guide li::before { content: counter(steps); width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 800; }
.safety { margin-top: 20px; padding: 16px; border-radius: 12px; background: var(--accent-soft); color: var(--muted); font-size: 14px; line-height: 1.6; }
.collapse, .retry { border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 16px; min-height: 52px; padding: 12px; width: 100%; margin-top: 16px; }
.message { color: var(--muted); line-height: 1.6; padding: 16px 0; }
footer { color: var(--muted); font-size: 13px; text-align: center; line-height: 1.6; margin-top: 28px; }
.skip-link { position: fixed; z-index: 1; top: 12px; left: 12px; transform: translateY(-200%); padding: 16px; background: var(--accent); color: var(--accent-ink); border-radius: 10px; }
.skip-link:focus { transform: none; }
@media (max-width: 374px) { .screen { padding-left: 16px; padding-right: 16px; } summary, .guide { padding: 16px; } .chip { padding-inline: 12px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
