/* AI Mở Studio - Modern Kids & Educational Game Platform Style. No external resources. */
:root {
  --bg: #F8FAFD;
  --surface: #FFFFFF;
  --band: #F0F4FA;
  --ink: #181E32;
  --ink-soft: #4F5874;
  --line: #E2E8F0;
  --accent: #315EE8;
  --teal: #315EE8;
  --teal-hover: #2145BC;
  --yellow: #FFD13B;
  --yellow-hover: #F2C124;
  --coral: #EF5148;
  --mint: #E7F7F0;
  --tag: #EDF2F9;
  --sky-top: #EDF3FE;
  --sky-bottom: #F8FAFD;
  --hero-ink: #181E32;
  --shadow: 0 4px 14px rgba(24, 32, 66, .06), 0 1px 3px rgba(24, 32, 66, .04);
  --radius: 20px;
  --font: ui-rounded, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1424;
    --surface: #171E34;
    --band: #13192B;
    --ink: #F3F5FC;
    --ink-soft: #A3AFCE;
    --line: #263152;
    --accent: #5D85FF;
    --tag: #1F2844;
    --mint: #15312C;
    --sky-top: #151D36;
    --sky-bottom: #0F1424;
    --hero-ink: #F3F5FC;
    --shadow: 0 4px 18px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --bg: #0F1424;
  --surface: #171E34;
  --band: #13192B;
  --ink: #F3F5FC;
  --ink-soft: #A3AFCE;
  --line: #263152;
  --accent: #5D85FF;
  --tag: #1F2844;
  --mint: #15312C;
  --sky-top: #151D36;
  --sky-bottom: #0F1424;
  --hero-ink: #F3F5FC;
  --shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
  --ink-soft: #B8C5C2;
  --line: #2B4542;
  --accent: #6CCBC3;
  --tag: #21393A;
  --mint: #1F3B38;
  --sky-top: #183A55;
  --sky-bottom: #0F1E1D;
  --hero-ink: #F3EBDD;
  --shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 6px 18px rgba(0, 0, 0, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
code { font: .92em/1.4 ui-monospace, Consolas, "Cascadia Mono", Menlo, monospace; background: var(--tag); padding: .1em .35em; border-radius: 6px; overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); color: var(--ink); }
h3 { font-size: 1.12rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.section { padding: 56px 16px; }
@media (min-width: 720px) { .section { padding: 72px 28px; } }
.section-lead { color: var(--ink-soft); max-width: 760px; margin: 0 0 28px; font-size: 1.05rem; }
.band { background: var(--band); border-block: 1px solid var(--line); }
.note { color: var(--ink-soft); margin-top: 24px; }
.small { font-size: .92rem; color: var(--ink-soft); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 58px; }
.brand { font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 1.05rem; }
.topbar nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { color: var(--ink-soft); text-decoration: none; padding: 8px 10px; border-radius: 10px; white-space: nowrap; font-weight: 600; font-size: .95rem; }
.topbar nav a:hover { background: var(--tag); color: var(--ink); }
@media (max-width: 640px) {
  .topbar-in { flex-direction: column; align-items: stretch; gap: 0; padding-top: 6px; }
  .brand { padding: 4px 0; }
  .topbar nav { margin-left: -10px; margin-right: -16px; padding-right: 16px; }
}

/* ---------- hero */
.hero { background: linear-gradient(145deg, var(--sky-top), var(--sky-bottom)); color: var(--hero-ink); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; padding-top: 36px; padding-bottom: 40px; }
@media (min-width: 860px) { .hero-in { grid-template-columns: 1.15fr 0.85fr; padding-top: 52px; padding-bottom: 56px; } }
.hero-text { padding-bottom: 8px; }
.logo { width: min(440px, 92%); display: block; margin: 0 0 14px -6px; filter: drop-shadow(0 6px 16px rgba(24, 32, 66, .08)); }
.hero h1 { font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.7rem); font-weight: 900; margin-bottom: .4em; color: var(--hero-ink); letter-spacing: -0.02em; }
.lead { font-size: 1.12rem; max-width: 620px; margin: 0 0 28px; line-height: 1.6; color: var(--ink-soft); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { margin: 18px 0 0; font-size: .92rem; opacity: .88; color: var(--ink-soft); }

/* ---------- hero showcase (Modern Game Preview Hub) */
.hero-showcase {
  position: relative;
  justify-self: center;
  width: min(390px, 100%);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.showcase-main {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 24px 20px 22px;
  box-shadow: 0 20px 40px -10px rgba(24, 32, 66, 0.12), 0 1px 3px rgba(24, 32, 66, 0.05);
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
}
.showcase-main:hover { transform: translateY(-4px); }
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FFD13B, #FFA800);
  color: #201c39;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(255, 168, 0, 0.3);
}
.showcase-screen {
  background: linear-gradient(145deg, #F0F4FF, #EBF1FF);
  border: 1.5px solid #D5E2FF;
  border-radius: 20px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.showcase-preview-icon {
  font-size: 3.8rem;
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12));
  animation: floatIcon 3.5s ease-in-out infinite;
}
.showcase-preview-title { font-size: 1.35rem; font-weight: 900; color: #181E32; margin-top: 6px; }
.showcase-preview-desc { font-size: 0.88rem; color: #576384; margin-bottom: 12px; }
.showcase-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #315EE8, #2045BC);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 10px 24px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(49, 94, 232, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.showcase-play-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(49, 94, 232, 0.5); }
.showcase-badge-float {
  position: absolute;
  background: var(--surface);
  border: 1.5px solid var(--line);
  box-shadow: 0 10px 24px -4px rgba(24, 32, 66, 0.14);
  border-radius: 18px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatBadge 4.5s ease-in-out infinite;
  z-index: 2;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.showcase-badge-float:hover { border-color: var(--accent); transform: scale(1.04); }
.showcase-badge-float .icon { font-size: 1.6rem; }
.showcase-badge-float b { display: block; font-size: 0.88rem; line-height: 1.2; }
.showcase-badge-float small { font-size: 0.76rem; color: var(--ink-soft); }
.float-1 { top: -10px; left: -24px; animation-delay: 0s; }
.float-2 { bottom: 16px; right: -24px; animation-delay: 2s; }
.float-3 { bottom: -18px; left: 8px; animation-delay: 3s; }
@keyframes floatIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 859px) {
  .hero-showcase { width: min(330px, 92%); margin-top: 10px; }
  .float-1 { left: -6px; top: -6px; }
  .float-2 { right: -6px; bottom: 6px; }
  .float-3 { display: none; }
}

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px;
  font-weight: 800; font-size: 1.02rem; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-yellow { background: linear-gradient(135deg, #FFD13B, #F8B815); color: #181E32; box-shadow: 0 4px 14px rgba(248, 184, 21, 0.35); }
.btn-yellow:hover { box-shadow: 0 6px 18px rgba(248, 184, 21, 0.45); }
.btn-teal { background: linear-gradient(135deg, #315EE8, #2045BC); color: #fff; box-shadow: 0 4px 14px rgba(49, 94, 232, 0.35); }
.btn-teal:hover { box-shadow: 0 6px 18px rgba(49, 94, 232, 0.48); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .92rem; }
.btn-sm.btn-yellow { box-shadow: 0 2px 8px rgba(248, 184, 21, 0.28); }

/* ---------- features + screenshots */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.feature p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.f-ico { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.shots figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.shots img { display: block; width: 100%; border-radius: 10px; aspect-ratio: 20 / 9; object-fit: cover; background: var(--tag); }
.shots figcaption { text-align: center; color: var(--ink-soft); font-size: .92rem; padding-top: 8px; }

/* ---------- game list */
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 2px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 6px 14px; min-height: 40px; font: 600 .95rem var(--font); cursor: pointer;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip .n { opacity: .7; font-weight: 500; margin-left: 2px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; color: var(--ink-soft); font-weight: 600; min-height: 40px; }
.check input { width: 20px; height: 20px; accent-color: var(--teal); }
.search {
  margin-left: auto; min-width: 0; width: 240px; max-width: 100%; min-height: 42px; padding: 8px 14px;
  border: 2px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 1rem var(--font);
}
.search:focus { border-color: var(--accent); outline: none; }
@media (max-width: 640px) { .search { margin-left: 0; width: 100%; } }
.count { color: var(--ink-soft); font-size: .95rem; margin: 6px 0 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
@media (max-width: 360px) { .grid { grid-template-columns: 1fr; } }
.card {
  display: grid; grid-template-columns: 86px 1fr; grid-template-rows: 1fr auto; gap: 4px 14px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s cubic-bezier(0.16, 1, 0.3, 1), border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -4px rgba(24, 32, 66, 0.12), 0 4px 8px -2px rgba(24, 32, 66, 0.05);
  border-color: #CBD5E1;
}
.card .icon {
  width: 86px; height: 86px; border-radius: 20px; grid-row: 1 / 3; align-self: start; object-fit: cover; background: var(--tag);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}
.card:hover .icon { transform: scale(1.04); }
.card .icon.ph { display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }
.card h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.card p { margin: 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.48; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 8px 0 0; }
.tags li { background: var(--tag); color: var(--ink-soft); border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 600; }
.tags li.a8 { background: var(--mint); color: #0D9488; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; grid-column: 2; }
.empty { text-align: center; padding: 32px 0; color: var(--ink-soft); }

/* ---------- downloads */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.dl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.dl p { color: var(--ink-soft); }
.dl-main { border: 2px solid var(--teal); }
.hash { margin-top: 16px; font-size: .9rem; }
.hash summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.hash code { font-size: .78rem; }
.pack-list { padding-left: 1.2em; margin: 0 0 12px; }
.pack-list li { margin: 6px 0; }
.pack-list .meta { color: var(--ink-soft); font-size: .9rem; }

/* ---------- steps, timeline */
.steps, .timeline { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 860px; }
.steps li, .timeline li { counter-increment: step; position: relative; padding: 14px 16px 14px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before, .timeline li::before {
  content: counter(step); position: absolute; left: 14px; top: 12px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: #1F2A2A;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.timeline li::before { background: var(--teal); color: #fff; }
.ai-box { margin-top: 28px; background: var(--mint); border-radius: var(--radius); padding: 22px; max-width: 860px; }
.ai-box pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; white-space: pre-wrap; margin: 0 0 12px; }
.ai-box pre code { background: none; padding: 0; font-size: .95rem; }

/* ---------- faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.faq p { color: var(--ink-soft); margin: 0 0 12px; }

/* ---------- footer */
.footer { border-top: 1px solid var(--line); }
.footer-in { display: flex; align-items: flex-end; gap: 16px; padding-top: 28px; }
.footer-in p { flex: 1; margin: 0 0 24px; color: var(--ink-soft); font-size: .92rem; text-align: center; }
.footer-in img { width: 48px; flex: none; }
@media (max-width: 520px) { .footer-in img { display: none; } }

/* ---------- guide page (lam-cung-ai.html) */
.guide-hero { background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom)); color: var(--hero-ink); padding: 36px 0 28px; }
.guide-hero-in { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: end; }
@media (min-width: 860px) { .guide-hero-in { grid-template-columns: 1fr 220px; } }
.guide-hero-in img { width: 200px; justify-self: center; display: block; }
@media (max-width: 859px) { .guide-hero-in img { display: none; } }
.guide-hero h1 { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); max-width: 820px; color: var(--hero-ink); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .82rem; margin: 0 0 8px; opacity: .8; }
.stats { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.stats li { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.stats b { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--accent); }
.stats span { color: var(--ink-soft); font-size: .92rem; }

.guide-layout { display: grid; grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 56px; }
@media (min-width: 1000px) { .guide-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 40px; } }
.toc details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; }
.toc summary { cursor: pointer; font-weight: 800; padding: 8px 0; }
.toc ol { margin: 0 0 10px; padding-left: 1.3em; }
.toc li { margin: 4px 0; }
.toc a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 1000px) { .toc { position: sticky; top: 76px; align-self: start; max-height: calc(100vh - 96px); overflow: auto; } }

.article { min-width: 0; max-width: 820px; }
.article section { padding: 8px 0 28px; }
.article h2 { margin-top: 12px; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { font-size: 1.02rem; }
.tldr { padding-left: 1.2em; }
.tldr li { margin: 8px 0; }
.guide-timeline { margin: 20px 0; }

.principles { display: grid; gap: 14px; }
.principle { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px 66px; box-shadow: var(--shadow); }
.principle h3 { margin: 0 0 6px; font-size: 1.08rem; }
.principle p { margin: 0 0 10px; color: var(--ink-soft); }
.principle .eg { color: var(--ink); background: var(--mint); border-radius: 10px; padding: 10px 12px; font-size: .95rem; margin-bottom: 4px; }
.p-num { position: absolute; left: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: #1F2A2A; display: flex; align-items: center; justify-content: center; font-weight: 800; }
@media (max-width: 480px) { .principle { padding-left: 18px; padding-top: 62px; } }

.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap caption { text-align: left; font-weight: 800; padding: 12px 14px 4px; caption-side: top; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 10px 14px; border-top: 1px solid var(--line); }
.table-wrap thead th { background: var(--tag); border-top: 0; }

.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 12px 0 8px; }
.flow-step { flex: 1 1 150px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); }
.flow-step b { display: block; margin-bottom: 4px; }
.flow-step span { color: var(--ink-soft); font-size: .9rem; line-height: 1.4; display: block; }
.flow-step.accent { border: 2px solid var(--teal); }
.flow-step.side { border-style: dashed; }
.flow-arrow { align-self: center; font-size: 1.4rem; color: var(--accent); font-weight: 800; }
@media (max-width: 700px) {
  .flow { flex-direction: column; }
  .flow-step { flex: 0 0 auto; }
  .flow-arrow { transform: rotate(90deg); line-height: 1; }
}

.steps-plain { padding-left: 1.3em; }
.steps-plain li { margin: 8px 0; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 16px 0; }
.card-plain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card-plain h3 { margin-top: 0; }
.card-plain p { color: var(--ink-soft); }
.anatomy { padding-left: 1.3em; }
.anatomy li { margin: 10px 0; }
.callout { background: var(--mint); border-left: 5px solid var(--teal); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.callout b { display: block; margin-bottom: 4px; }
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 16px 0; }
.use { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.use > span { font-size: 1.8rem; display: block; }
.use h3 { margin: 6px 0; }
.use p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.checklist li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 44px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .8rem; display: flex; align-items: center; justify-content: center; font-weight: 800; }

.prompt { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin: 14px 0; overflow: hidden; }
.prompt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; background: var(--tag); font-weight: 800; }
.prompt pre { margin: 0; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.prompt code { background: none; padding: 0; font: .97rem/1.6 var(--font); }
.copy { border: 2px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 4px 12px; min-height: 36px; font: 700 .88rem var(--font); cursor: pointer; flex: none; }
.copy:hover { border-color: var(--accent); }
.doc-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.doc-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.doc-list a { font-weight: 800; display: block; }
.doc-list span { color: var(--ink-soft); font-size: .93rem; }
.back-home { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.guide-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; background: var(--surface); border: 2px solid var(--teal); border-radius: var(--radius); padding: 20px 22px; max-width: 860px; }
.guide-cta p { margin: 0; flex: 1 1 320px; color: var(--ink-soft); }
.guide-cta p b { color: var(--ink); }
