:root {
  --bg: #f5f7f4; --surface: #ffffff; --surface-2: #eef2ee; --ink: #16302c; --muted: #5a6b68; --line: #dfe6e1;
  --brand: #1a8f7d; --brand-strong: #127a69; --brand-ink: #ffffff; --accent: #ff8a5c; --good: #1f9d55; --bad: #d64545; --warn: #b7791f;
  --shadow: 0 1px 2px rgba(20,50,45,.06), 0 8px 24px rgba(20,50,45,.07);
  --radius: 16px; --gutter: 16px;
  --font: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1716; --surface: #152321; --surface-2: #1b2d2b; --ink: #e6f1ee; --muted: #93a8a3; --line: #263836;
    --brand: #3ccfb7; --brand-strong: #5fe0cb; --brand-ink: #062a24; --accent: #ff9d78; --good: #4ade80; --bad: #ff7676; --warn: #f4c06a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55;
  padding-bottom: env(safe-area-inset-bottom);
  word-break: keep-all; overflow-wrap: break-word; /* Korean wraps at word boundaries, long tokens still break */
}
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 .8em; }
a { color: var(--brand-strong); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- header / nav */
#top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 1.05rem; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--brand); color: var(--brand-ink); }
.brand-text b { font-weight: 800; } .brand-text span { color: var(--muted); font-weight: 600; }
.top-nav { display: flex; gap: 4px; margin-left: 12px; flex: 1; }
.top-nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 650; }
.top-nav a:hover { background: var(--surface-2); color: var(--ink); }
.top-nav a.active { background: var(--brand); color: var(--brand-ink); }
.top-actions { display: flex; gap: 6px; align-items: center; flex: none; }
.top-actions .btn { white-space: nowrap; }
#tabbar { display: none; }
@media (max-width: 760px) {
  #top { gap: 8px; padding: 8px 12px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-text b { font-size: .98rem; }
  .top-actions { gap: 2px; }
  .top-actions .btn.small { padding: 6px 10px; }
  .top-nav, .brand-text span { display: none; }
  .top-nav { display: none; }
  .top-actions { margin-left: auto; }
  #tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  #tabbar a { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 6px 0; text-decoration: none; color: var(--muted); font-size: .75rem; font-weight: 650; border-radius: 12px; }
  #tabbar a.active { color: var(--brand-strong); background: var(--surface-2); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

main { max-width: 1120px; margin: 0 auto; padding: 24px var(--gutter) 48px; outline: none; }
.loading { padding: 64px 0; text-align: center; color: var(--muted); }
#foot { border-top: 1px solid var(--line); margin-top: 24px; }
.foot-inner { max-width: 1120px; margin: 0 auto; padding: 20px var(--gutter) 28px; }
.foot-inner p { margin: 0 0 .4em; }

/* ---------- controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform .08s ease, background .15s ease;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { background: var(--brand-strong); }
/* the crawler-readable content of index.html and the /g/<id> pages (src/shared/seo.js): shown only until the app boots */
.seo { max-width: 780px; margin: 0 auto; padding: 8px 0; }
.seo h2 { margin-top: 1.4em; }
.seo .seo-list { padding-left: 1.2em; display: grid; gap: 6px; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #2a1308; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.danger-ghost { color: var(--bad); border-color: transparent; background: transparent; }
.btn.small { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.btn.big { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
input[type=text], input[type=search], input[type=number], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  color: var(--ink); font: inherit;
}
textarea { resize: vertical; min-height: 96px; }
input[type=range] { width: 100%; accent-color: var(--brand); }
input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--brand); }
input[type=color] { width: 56px; height: 40px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
label { display: block; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card.narrow { max-width: 560px; margin: 40px auto; }
.card.flat { box-shadow: none; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 14px; }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .cols-2 { grid-template-columns: 1fr; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer; text-decoration: none; min-height: 36px;
}
.chip:hover { background: var(--surface-2); }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--surface-2); color: var(--muted); }
.badge.ok { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.badge.ai { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--ink); }
.badge.warn { background: color-mix(in srgb, var(--warn) 20%, transparent); color: var(--warn); }
.badge.level { background: transparent; border: 1.5px solid currentColor; }
.badge.level.easy { color: var(--good); }
.badge.level.normal { color: var(--warn); }
.badge.level.hard { color: var(--bad); }
.prefs { display: flex; gap: 10px 28px; flex-wrap: wrap; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.pref { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: center; }
.pref-label { font-weight: 750; font-size: .9rem; }
.badge.bad { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }

/* ---------- hero / sections */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; padding: 32px; border-radius: 24px; margin-bottom: 32px;
  background: radial-gradient(1200px 400px at 85% -10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent), var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding: 22px; } .hero-art { display: none; } }
.section { margin: 36px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.progress { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 999px; transition: width .4s ease; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.value .ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand-strong); margin-bottom: 10px; }

/* ---------- game cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.gcard {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .12s ease;
}
.gcard:hover { transform: translateY(-3px); }
.gcard .thumb { width: 100%; height: auto; aspect-ratio: 3 / 4; display: block; background: var(--surface-2); }
.gcard .meta { padding: 10px 12px 12px; display: grid; gap: 6px; }
.gcard .title { font-weight: 750; font-size: .98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcard .sub { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: .78rem; color: var(--muted); }
.gcard.done { outline: 3px solid var(--good); outline-offset: -3px; }
.gcard .donemark { position: absolute; top: 8px; right: 8px; background: var(--good); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: .78rem; font-weight: 800; }
.gcard .wrapthumb { position: relative; }

/* ---------- player */
.play-layout { display: grid; grid-template-columns: minmax(300px, 520px) 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .play-layout { grid-template-columns: 1fr; } }
.player { display: grid; gap: 10px; justify-items: center; }
.player:fullscreen { background: #000; align-content: center; }
.player-stage { position: relative; width: 100%; max-width: 480px; aspect-ratio: 3 / 4; max-height: calc(100dvh - 190px); border-radius: 20px; overflow: hidden; background: #0d1716; box-shadow: var(--shadow); }
.player:fullscreen .player-stage { max-width: none; max-height: none; height: calc(100dvh - 72px); width: auto; }
.player-iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-controls { display: flex; gap: 8px; }
.player-stuck { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center; background: rgba(0,0,0,.7); color: #fff; }
.facts { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.facts b { color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.check-list li { display: flex; gap: 8px; align-items: baseline; font-size: .93rem; }
.check-list .pending { color: var(--muted); } .check-list .pass { color: var(--good); } .check-list .warn { color: var(--warn); } .check-list .fail { color: var(--bad); }
details.how { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; background: var(--surface); }
details.how summary { cursor: pointer; font-weight: 700; }
pre.spec { max-height: 280px; overflow: auto; padding: 12px; border-radius: 12px; background: var(--surface-2); font-size: .8rem; line-height: 1.45; }
.board { width: 100%; border-collapse: collapse; }
.board td, .board th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.board .rank { width: 44px; font-weight: 800; color: var(--brand-strong); }

/* ---------- studio */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .studio { grid-template-columns: 1fr; } }
.examples { display: flex; gap: 8px; flex-wrap: wrap; }
.stages { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.stages li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.stages .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.stages .running .dot { background: var(--accent); animation: pulse 1s infinite; }
.stages .done .dot { background: var(--good); } .stages .warn .dot { background: var(--warn); } .stages .fail .dot { background: var(--bad); }
.stages small { color: var(--muted); margin-left: auto; text-align: right; }
@keyframes pulse { 50% { transform: scale(1.6); opacity: .5; } }
.notes { display: grid; gap: 8px; }
.note { padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); font-size: .93rem; }

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field-label { font-weight: 700; font-size: .93rem; }
.field-help { color: var(--muted); }
.range { display: grid; grid-template-columns: 1fr 52px; gap: 10px; align-items: center; }
.range-out { text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.sub-form { display: grid; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.list-form { display: grid; gap: 8px; }
.list-item { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--surface); }
.list-item summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; font-weight: 650; }
.list-item > .sub-form { margin-top: 10px; }
.list-item-inline { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }

/* ---------- misc */
.toast-box, #toasts { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(88px + env(safe-area-inset-bottom)); display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 650; animation: rise .25s ease; }
.toast.error { background: var(--bad); color: #fff; } .toast.ok { background: var(--good); color: #fff; }
.toast.out { opacity: 0; transition: opacity .4s; }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }
.modal-overlay { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(5,15,13,.55); padding: 16px; }
.modal { width: min(520px, 100%); max-height: 90dvh; overflow: auto; background: var(--surface); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.modal-body { margin: 10px 0 16px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.code-big { font-size: 2.2rem; font-weight: 850; letter-spacing: .25em; text-align: center; padding: 14px; border-radius: 16px; background: var(--surface-2); font-variant-numeric: tabular-nums; }
.empty { padding: 40px 12px; text-align: center; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- legal pages */
.legal { max-width: 800px; margin: 0 auto; }
.legal h1 { margin-bottom: .3em; }
.legal-sec { margin: 28px 0; scroll-margin-top: 80px; }
.legal-sec h2 { font-size: 1.15rem; margin-bottom: .6em; }
.legal ul, .legal ol { padding-left: 1.3em; display: grid; gap: 6px; margin: 0 0 .8em; }
.toc { padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin: 16px 0; }
.toc ol { margin: 8px 0 0; font-size: .93rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-strong); cursor: pointer; text-align: left; text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--line); border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
.legal-table th, .legal-table td { padding: 9px 11px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--surface-2); font-weight: 700; white-space: nowrap; }
.legal-table tr:last-child td { border-bottom: 0; }
.note.review { background: color-mix(in srgb, var(--warn) 18%, transparent); border-left: 4px solid var(--warn); }
/* shown while the main server (the owner's PC) is off and the edge answers from its snapshot */
.offline-banner { padding: 8px var(--gutter); text-align: center; font-size: .9rem; background: color-mix(in srgb, var(--warn) 18%, var(--surface)); border-bottom: 1px solid var(--line); }
.foot-links a { white-space: nowrap; }
/* legal tables: on phones every row becomes a labelled card instead of a sideways-scrolling grid */
@media (max-width: 640px) {
  .table-wrap { border: 0; overflow: visible; }
  .legal-table { min-width: 0; font-size: .92rem; }
  .legal-table thead { position: absolute; left: -9999px; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; margin-bottom: 10px; background: var(--surface); }
  .legal-table td { border-bottom: 1px dashed var(--line); padding: 8px 0; }
  .legal-table td:last-child { border-bottom: 0; }
  .legal-table td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
}

/* ---- the brain course (pages/course.js) ------------------------------------------------------------------------------------------------ */
.course-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.course-option { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 16px 8px; min-height: 96px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.course-option b { font-size: 1.5rem; }
.course-option:hover { background: var(--surface-2); }
.course-run { max-width: 520px; margin: 0 auto; display: grid; gap: 10px; }
.course-top { display: grid; gap: 8px; }
.course-title { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.course-frame { position: relative; display: grid; gap: 4px; }
.course-stage { position: relative; }
.course-slot { animation: course-in .28s ease-out; }
.course-preload { position: absolute; inset: 0; visibility: hidden; pointer-events: none; animation: none; }
@keyframes course-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.course-result { position: absolute; inset: 0 0 34px 0; display: grid; place-items: center; z-index: 5; border-radius: 20px; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(6px); padding: 16px; }
.course-result[hidden] { display: none; }
.course-result-card { display: grid; gap: 10px; justify-items: center; text-align: center; max-width: 360px; }
.course-result-card h2 { margin: 0; }
.course-result-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; background: color-mix(in srgb, var(--accent) 22%, transparent); }
.course-result-card.won .course-result-mark { background: color-mix(in srgb, var(--good) 20%, transparent); color: var(--good); }
.course-skip { text-align: center; }
.course-summary .course-done-mark { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--good) 18%, transparent); color: var(--good); display: grid; place-items: center; margin: 0 auto; }
.course-stats { display: flex; justify-content: center; gap: 28px; }
.course-stats b { display: block; font-size: 1.8rem; }
.course-stats span { color: var(--muted); font-size: .85rem; }
.course-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; text-align: left; }
.course-list li { display: flex; gap: 8px; }
@media (max-width: 420px) { .course-options { gap: 8px; } .course-option { padding: 12px 4px; } }

/* ---- the verification seal (components.js sealCard) ------------------------------------------------------------------------------------- */
.seal { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); display: grid; gap: 10px; }
.seal.verified { border-color: color-mix(in srgb, var(--good) 45%, var(--line)); }
.seal.attention { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.seal-head { display: flex; gap: 14px; align-items: center; }
.seal-head h3 { margin: 0; }
.seal-head p { margin: 2px 0 0; }
.seal-stamp { width: 58px; height: 58px; flex: none; border-radius: 50%; border: 3px double var(--good); color: var(--good); display: grid; place-items: center; align-content: center; gap: 0; transform: rotate(-8deg); font-weight: 800; line-height: 1; }
.seal-stamp small { font-size: .56rem; letter-spacing: .1em; }
.seal.pending .seal-stamp { border-color: var(--muted); color: var(--muted); }
.seal.attention .seal-stamp { border-color: var(--warn); color: var(--warn); }
.seal-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.seal-rows li { display: flex; gap: 8px; align-items: baseline; font-size: .93rem; }
.seal-rows .pass .seal-mark { color: var(--good); } .seal-rows .warn .seal-mark { color: var(--warn); } .seal-rows .fail .seal-mark { color: var(--bad); } .seal-rows .pending .seal-mark { color: var(--muted); }
.seal-made { display: flex; gap: 6px; align-items: center; color: var(--muted); margin: 0; }
.hero-note { margin: 12px 0 0; }

/* a game that arrived in a link, and the family-edition maker */
.link-notice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid color-mix(in srgb, var(--warn) 50%, var(--line)); background: color-mix(in srgb, var(--warn) 8%, var(--surface)); border-radius: 12px; padding: 10px 14px; }
.link-notice p { margin: 2px 0 0; }
button.course-option { text-align: left; font: inherit; color: inherit; cursor: pointer; }
button.course-option.on { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 35%, transparent); }
.course-option.kind { justify-items: start; text-align: left; min-height: 0; padding: 12px 14px; }
.course-option.kind b { font-size: 1.05rem; }
.form-error { color: var(--bad); margin: 0; }
