/* 0그릇 체험관 — design system (MotherDuck-inspired, clean) */

:root {
  --canvas: #f4efea;
  --yellow: #ffde00;
  --yellow-hover: #e6c800;
  --yellow-soft: #fff5b8;
  --yellow-tint: rgba(255, 222, 0, 0.22);
  --yellow-border: rgba(0, 0, 0, 0.12);

  --ink: #000000;
  --text: #383838;
  --text-strong: #1a1a1a;
  --muted: #666666;
  --muted-soft: #818181;
  --line: #e1d6cb;
  --surface: #ffffff;
  --surface-dim: #eceff1;

  --link: #0019d2;
  --teal: #38c1b0;
  --teal-deep: #2aab96;
  --sky: #6fc2ff;
  --sky-hover: #52b8f5;
  --sky-soft: #b8e4ff;
  --brutal: #000000;
  --code-bg: #22272e;
  --code-fg: #adbac7;
  --ok: #187108;
  --err: #d90000;

  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
  --r-sm: 8px;
  --r-md: 12px;
  --r-full: 9999px;

  --font: "Inter", "Pretendard", "Apple SD Gothic Neo", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --shell: 400px;
  --nav-h: 56px;

  /* legacy aliases */
  --primary: var(--yellow);
  --primary-active: var(--yellow-hover);
  --primary-soft: var(--yellow-soft);
  --primary-tint: var(--yellow-tint);
  --primary-tint-subtle: rgba(255, 222, 0, 0.1);
  --primary-border: var(--yellow-border);
  --primary-focus: rgba(255, 222, 0, 0.45);
  --surface-yellow-band: var(--yellow);
  --surface-card: var(--surface);
  --surface-soft: var(--surface-dim);
  --hairline: var(--line);
  --body: var(--text);
  --body-strong: var(--text-strong);
  --accent-blue: var(--link);
  --code-canvas: var(--code-bg);
  --code-ink: var(--code-fg);
  --paper: var(--canvas);
  --paper-dim: #ece8e2;
  --rust: var(--yellow);
  --rust-dim: var(--yellow-hover);
  --smoke: var(--muted);
  --green: var(--ok);
  --amber: var(--yellow-hover);
  --on-primary: #000;
  --on-yellow: #000;
  --radius-md: var(--r-sm);
  --radius: var(--r-md);
  --sans: var(--font);
  --serif: var(--font);
  --night: var(--canvas);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-strong);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
}

.hidden {
  display: none !important;
}

/* ── layout ── */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px 64px;
}

#main-shell {
  min-height: 100dvh;
  background: var(--yellow);
}

#main-shell .top-bar {
  background: color-mix(in srgb, var(--yellow) 90%, transparent);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  margin: 0 -20px 24px;
  padding: 0 20px;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.top-bar strong {
  color: var(--text-strong);
  font-weight: 600;
}

.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--yellow-soft);
  color: var(--text-strong);
}

/* ── screens ── */

.screen {
  display: none;
  animation: rise 0.28s ease;
}

.screen.active {
  display: block;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nav-dots {
  display: flex;
  gap: 5px;
  margin: 0 0 20px;
  padding: 0;
}

.nav-dots span {
  flex: 1;
  height: 3px;
  border-radius: var(--r-full);
  background: var(--line);
  transition: background 0.2s;
}

.nav-dots span.on {
  background: var(--yellow);
}

/* ── splash (MotherDuck community band) ── */

body.splash-mode {
  background: var(--surface);
  overflow-x: hidden;
}

body.splash-mode #main-shell {
  display: none;
}

.splash-landing {
  display: none;
  position: relative;
  min-height: 100dvh;
  background: var(--surface);
  color: var(--ink);
}

.splash-landing.active {
  display: block;
}

.splash-landing__inner {
  position: relative;
  max-width: 520px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 48px 20px 100px;
  text-align: center;
  background: var(--teal);
}

.splash-label {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 18px;
  background: var(--yellow);
  border: 2px solid var(--brutal);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.splash-headline {
  margin: 0 0 28px;
  font-size: clamp(1.75rem, 7vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.splash-tagline {
  margin: -12px 0 24px;
  font-size: 0.95rem;
  color: var(--text);
}

.splash-foot a {
  color: var(--link);
  font-weight: 600;
}

.splash-carousel-wrap {
  position: relative;
  margin: 0 -20px 24px;
}

.splash-carousel {
  display: flex;
  gap: 14px;
  padding: 4px 20px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.splash-carousel::-webkit-scrollbar {
  display: none;
}

.splash-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: center;
  padding: 18px;
  background: var(--surface);
  border: 2px solid var(--brutal);
  border-radius: 2px;
  text-align: left;
  box-shadow: 4px 4px 0 var(--brutal);
}

.splash-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.splash-card__avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid var(--brutal);
  border-radius: 2px;
  font-size: 1.15rem;
}

.splash-card__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.splash-card__handle {
  display: block;
  font-size: 12px;
  color: var(--muted-soft);
}

.splash-card__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.splash-card--link {
  padding: 0;
  transition: transform 0.12s, box-shadow 0.12s;
}

.splash-card--link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--brutal);
}

.splash-card__link {
  display: block;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}

.splash-card__cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--link);
}

.splash-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.splash-arrow {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid var(--brutal);
  border-radius: 2px;
  background: var(--surface);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}

.splash-arrow:hover {
  transform: translate(-2px, 2px);
  box-shadow: 2px 2px 0 var(--brutal);
}

.splash-arrow:active {
  transform: none;
  box-shadow: none;
}

.btn-md {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 48px;
  padding: 14px 28px;
  border: 2px solid var(--brutal);
  border-radius: 2px;
  background: var(--sky);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  box-shadow: -5px 5px 0 var(--brutal);
  transition: transform 0.12s, box-shadow 0.12s;
}

.btn-md:hover {
  transform: translate(-2px, 2px);
  box-shadow: -3px 3px 0 var(--brutal);
}

.btn-md:active {
  transform: translate(-5px, 5px);
  box-shadow: none;
}

.splash-enter {
  margin-top: 8px;
}

.splash-foot {
  margin: 20px 0 0;
  font-size: 0.875rem;
  color: var(--ink);
  opacity: 0.85;
}

.splash-wave {
  display: none;
}

body.splash-mode .top-bar,
body.splash-mode .nav-dots,
body.splash-mode .dev-nav {
  display: none;
}

/* ── card (content panel) ── */

.paper {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

/* 밴드(노랑·틸) 위 카드 = 흰색 · CTA·악센트 = 파랑 */
#main-shell .paper,
#main-shell .event-card {
  background: var(--surface);
  border: 2px solid var(--brutal);
  border-radius: 2px;
  box-shadow: 4px 4px 0 var(--brutal);
}

#main-shell .paper .stat {
  background: var(--sky-soft);
}

#main-shell .paper .ledger {
  background: color-mix(in srgb, var(--sky-soft) 30%, transparent);
}

#main-shell .paper .scorecard {
  background: color-mix(in srgb, var(--sky-soft) 30%, transparent);
}

#main-shell .paper .quote {
  background: var(--sky-soft);
  border-left-color: var(--link);
}

#main-shell .btn-primary {
  background: var(--sky);
  border: 2px solid var(--brutal);
  box-shadow: -4px 4px 0 var(--brutal);
}

#main-shell .btn-primary:hover {
  background: var(--sky-hover);
}

#main-shell .btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid var(--brutal);
}

#main-shell .nav-dots span.on {
  background: var(--brutal);
}

.paper + .paper {
  margin-top: 12px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

h1,
h2 {
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

h2 {
  font-size: 1.375rem;
}

.lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.lead strong {
  color: var(--text-strong);
}

/* ── buttons ── */

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--yellow-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-strong);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--surface-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}

.btn-ghost:hover {
  color: var(--text-strong);
}

.steps-simple {
  margin: 0 0 20px;
  padding-left: 1.25rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.steps-simple li + li {
  margin-top: 4px;
}

/* ── lists & blocks ── */

.timeline {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.timeline li {
  font-size: 14px;
}

.timeline li:not(.timeline-item--link) {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item--link {
  border-bottom: 1px solid var(--line);
}

.timeline-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 12px;
  margin: 0 -12px;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.timeline-link:hover {
  background: var(--sky-soft);
  border-color: var(--brutal);
  box-shadow: 2px 2px 0 var(--brutal);
}

.timeline-link:active {
  transform: translate(1px, 1px);
  box-shadow: none;
}

.timeline-link .d {
  flex: 1;
  font-weight: 600;
}

.timeline-arrow {
  flex: 0 0 auto;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--link);
}

.timeline li:last-child {
  border-bottom: none;
}

.timeline .t {
  flex: 0 0 40px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--yellow-hover);
  padding-top: 2px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.stat {
  padding: 14px 8px;
  border-radius: var(--r-sm);
  background: var(--surface-dim);
  text-align: center;
}

.stat .num {
  display: block;
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-strong);
}

.stat .lbl {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.quote {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--yellow-tint);
  font-size: 14px;
  color: var(--text);
}

.checklist {
  margin: 12px 0 0;
  padding-left: 1.15rem;
  font-size: 14px;
  color: var(--text);
}

.checklist li + li {
  margin-top: 6px;
}

.fine,
.fine-print {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.story-disclaimer {
  text-align: left;
  margin-top: 12px;
}

/* ── story reader ── */

.story-paper h2 {
  font-size: 1.2rem;
}

.story-body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.story-body p:last-child {
  margin-bottom: 0;
}

.story-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 16px;
}

.story-figure {
  margin: 0;
  width: 100%;
  max-width: 200px;
}

.story-figure img {
  display: block;
  width: 100%;
  border-radius: var(--r-sm);
}

.story-figure figcaption {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

.story-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}

.story-nav .btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.scorecard {
  margin: 16px 0;
  padding: 14px;
  border-radius: var(--r-sm);
  background: var(--surface-dim);
}

.score-item {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
}

.score-item.pass {
  color: var(--ok);
}

.score-item.fail {
  color: var(--err);
}

.score-item .mark {
  font-family: var(--mono);
  font-weight: 700;
}

.lesson-list {
  margin: 0 0 16px;
  padding-left: 1.15rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.lesson-list li + li {
  margin-top: 8px;
}

/* ── session / week ── */

.meter {
  height: 4px;
  border-radius: var(--r-full);
  background: var(--line);
  overflow: hidden;
  margin: 12px 0 16px;
}

.meter-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: var(--r-full);
  transition: width 0.35s ease;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin: 0 0 16px;
}

.day-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--surface-dim);
  font: inherit;
  font-size: 10px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.day-cell:not(:disabled):hover {
  border-color: var(--line);
}

.day-cell:disabled {
  opacity: 0.4;
  cursor: default;
}

.day-cell.done {
  background: rgba(24, 113, 8, 0.1);
  color: var(--ok);
}

.day-cell.zero {
  background: var(--yellow-tint);
  color: var(--yellow-hover);
  font-weight: 700;
}

.day-cell.current {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px var(--yellow-border);
}

.day-cell .bowls {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.session-event-panel {
  margin-top: 16px;
}

.session-event-panel + .ledger {
  margin-top: 14px;
}

.ledger {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  padding: 14px;
  border-radius: var(--r-sm);
  background: var(--surface-dim);
}

.ledger .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ledger .row.total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.ledger .minus {
  color: var(--muted);
}

.ledger-note {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font);
}

/* ── event / deck cards ── */

.event-card {
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  box-shadow: var(--shadow);
}

.event-card .type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 6px;
}

.event-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

.event-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}

.event-card .impact {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-strong);
}

.card-deck {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 16px 0;
}

.card-back {
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--yellow);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.card-back:hover {
  transform: translateY(-2px);
}

.card-back.picked {
  opacity: 0.35;
}

/* ── receipt ── */

.receipt {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-line;
  padding: 18px;
  border-radius: var(--r-sm);
  background: var(--code-bg);
  color: var(--code-fg);
}

.verdict {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--r-md);
  text-align: center;
  background: var(--yellow-tint);
  border: 1px solid var(--yellow-border);
}

.verdict h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--text-strong);
}

.verdict p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* ── forms (shared) ── */

.form-group {
  margin-bottom: 14px;
}

.form-group label,
.form-group .label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.form-group input,
.form-group select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  background: var(--surface);
  color: var(--text-strong);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 13px;
  cursor: pointer;
}

.chip.selected {
  border-color: var(--yellow);
  background: var(--yellow-tint);
  font-weight: 600;
}

/* ── dev nav ── */

.dev-nav {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.dev-nav summary {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted-soft);
  cursor: pointer;
  user-select: none;
}

.dev-nav__links {
  display: grid;
  gap: 4px;
  margin-top: 10px;
}

.dev-nav__links a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}

.dev-nav__links a:hover {
  background: var(--yellow-tint);
}

/* ── who / 누가 만듬? ── */

.badge--link {
  text-decoration: none;
  color: var(--text-strong);
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}

.badge--link:hover {
  background: var(--surface);
  border-color: var(--brutal);
}

.badge--link:active {
  transform: scale(0.98);
}

.who-page {
  background: var(--surface);
  color: var(--ink);
}

.who-shell {
  min-height: 100dvh;
  background: var(--teal);
}

.who-shell .top-bar {
  background: color-mix(in srgb, var(--teal) 88%, transparent);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.top-bar__back {
  color: var(--text-strong);
  font-weight: 600;
  text-decoration: none;
}

.top-bar__back:hover {
  color: var(--link);
}

.board-paper .board-lead {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}

.board-paper .who-body {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.board-paper .board-types {
  margin: 0 0 20px;
  padding: 0 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.board-paper .board-types li + li {
  margin-top: 2px;
}

.board-form-note {
  margin: 12px 0 0;
  text-align: left;
}

.board-answered {
  margin-top: 0;
}

.board-answered__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.board-answered__lead {
  margin: 0 0 16px;
  text-align: left;
}

.board-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.board-q {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--cream);
  border: 1px solid var(--line);
}

.board-q__tag {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.board-q__ask {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
}

.board-q__answer {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.board-q__foot {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.board-disclaimer {
  margin: 8px 0 24px;
  padding: 0 4px;
  text-align: left;
}

.btn.btn--disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.who-paper .who-body {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.who-fine {
  text-align: left;
  margin: 0 0 8px;
}

.who-paper {
  position: relative;
}

.who-like {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: none;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.55);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
}

.who-like:hover {
  background: rgba(255, 255, 255, 0.85);
}

.who-like:active {
  transform: scale(0.96);
}

.who-like__icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.75;
  transition: fill 0.15s, stroke 0.15s, transform 0.2s;
}

.who-like.is-liked .who-like__icon {
  fill: var(--err);
  stroke: var(--err);
}

.who-like.is-pop .who-like__icon {
  animation: who-like-pop 0.38s ease;
}

.who-like__count {
  min-width: 1ch;
  font-variant-numeric: tabular-nums;
}

@keyframes who-like-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.28);
  }
  100% {
    transform: scale(1);
  }
}

/* ── decision wall (F11) ── */

.dw-shell {
  padding-bottom: 24px;
}

.dw-hero {
  margin-bottom: 12px;
}

.dw-hero__num {
  font-family: var(--mono);
  color: var(--link);
}

.dw-lead {
  margin-bottom: 8px;
}

.dw-fine {
  margin: 0;
}

.dw-grid-wrap {
  margin-bottom: 12px;
}

.dw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.dw-card {
  margin: 0;
  padding: 16px 18px;
  background: var(--surface);
  border: 2px solid var(--brutal);
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--brutal);
}

.dw-card__verdict {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.dw-card__line {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.dw-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  color: var(--muted-soft);
}

.dw-card__tag {
  padding: 2px 8px;
  border: 1px solid var(--brutal);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  background: var(--sky-soft);
  color: var(--ink);
}

a.dw-card--entry {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--yellow);
  border-style: solid;
  box-shadow: 4px 4px 0 var(--brutal);
  min-height: 140px;
}

a.dw-card--entry:hover {
  background: var(--yellow-hover);
}

a.dw-card--entry:focus-visible {
  outline: 2px solid var(--brutal);
  outline-offset: 2px;
}

.dw-card__entry-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}

.dw-card__entry-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.dw-card__entry-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: color-mix(in srgb, var(--ink) 65%, transparent);
}

.dw-cta {
  margin-top: 0;
}

@media (min-width: 480px) {
  .dw-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
