/* 놀이도감 — reference rebuild. Soft teal app encyclopedia. */

:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --ink: #12211e;
  --muted: #5f6f6c;
  --line: #e3eae8;
  --track: #e7eeec;
  --accent: #0f766e;
  --accent-deep: #115e59;
  --accent-ink: #0f766e;
  --accent-soft: #e7f6f3;
  --pink: #e24b86;
  --pink-soft: #fff0f6;
  --shadow: 0 10px 28px rgba(18, 33, 30, .06);
  --shadow-soft: 0 8px 22px rgba(18, 33, 30, .05);
  --radius: 20px;
  --sans: "Plus Jakarta Sans", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --wide: 720px;
  --pad: 16px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --dock: 64px;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(1200px 420px at 50% -80px, rgba(15, 118, 110, .08), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(15, 118, 110, .18); }
[hidden] { display: none !important; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.chrome {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 247, 246, .92);
  backdrop-filter: blur(16px);
  padding-top: var(--safe-t);
  border-bottom: 1px solid transparent;
}
.topbar,
.trends,
.filters,
main,
.note,
.dock {
  width: min(100%, var(--wide));
  margin-left: auto;
  margin-right: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--pad) 2px;
}
.brand-wrap { margin: 0; font-size: inherit; font-weight: inherit; }
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  text-align: left;
  min-height: 48px;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--accent);
  box-shadow: 0 8px 16px rgba(15, 118, 110, .24);
}
.logo-block { display: flex; flex-direction: column; gap: 0; }
.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.crumb {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.icon-btn:active { background: var(--accent-soft); }

.search-wrap { display: block; padding: 8px var(--pad) 6px; }
.search {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235f6f6c' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px 50%;
  background-size: 18px;
  box-shadow: var(--shadow-soft);
  padding: 0 16px 0 42px;
  outline: none;
  font-weight: 500;
}
.search::placeholder { color: #8a9895; font-weight: 500; }
.search:focus { box-shadow: 0 0 0 2px var(--accent); }

.trends, .filters { padding-bottom: 0; }
.trends, .pills, .home-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px var(--pad) 10px;
  scrollbar-width: none;
}
.trends::-webkit-scrollbar, .pills::-webkit-scrollbar, .home-cats::-webkit-scrollbar { display: none; }
.trend, .chip {
  border: 0;
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
.trend.is-on, .chip.is-on {
  background: var(--accent);
  color: #fff;
}
.pills { padding-top: 0; padding-bottom: 12px; }

main {
  padding: 8px 0 calc(28px + var(--dock) + var(--safe-b));
}

.discover {
  margin: 4px var(--pad) 12px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, #14756c 0%, #0f766e 42%, #1a8f84 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, .22);
}
.discover-copy { max-width: 100%; }
.greet {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  opacity: .85;
}
.discover-kicker {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
}
.discover .daily { margin: 0; }
.discover .daily-kicker { display: none; }
.discover .daily-text {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.45;
}
.discover .daily-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  opacity: .78;
}
.discover-season {
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  background: #fff;
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 13px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px var(--pad) 8px;
}
.section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.section-head span,
.stats {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.hero { margin-bottom: 4px; }
.rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 var(--pad) 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail-card {
  flex: 0 0 78%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.rail-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.rail-media .thumb { aspect-ratio: 16 / 9; border-radius: 0; }
.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}
.badge-season { background: var(--accent); color: #fff; }
.rail-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.rail-sub { color: var(--muted); font-size: 12px; font-weight: 700; }

.count {
  margin: 0;
  padding: 2px var(--pad) 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.group { margin-top: 4px; }
.group + .group { margin-top: 18px; }
.grid {
  display: grid;
  gap: 12px;
  padding: 0 var(--pad);
}
.card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.thumb {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--track);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb { aspect-ratio: 1; }
.card .thumb img { position: absolute; inset: 0; }
.thumb-fallback {
  display: grid;
  place-items: center;
}
.thumb-emoji { font-size: 28px; line-height: 1; }
.card-body { min-width: 0; display: flex; flex-direction: column; }
.card-meta { display: flex; align-items: center; gap: 8px; }
.pill {
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
}
.num { color: var(--muted); font-size: 12px; font-weight: 700; }
.card-title {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.blurb {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.card-actions .btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 999px;
}
.card-actions .btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.card-actions .btn:active:not(:disabled) { filter: none; opacity: .75; }

.btn, .back, .choice, .tile { border-radius: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn:disabled { opacity: .45; cursor: default; }
.btn:active:not(:disabled) { background: var(--accent-deep); }

.home-jumps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px var(--pad) 0;
}
.home-jumps .btn { width: 100%; }

.duo-banner, .me-card, .me-panel .me-lead {
  margin: 0 var(--pad) 12px;
}
.duo-banner, .me-card {
  padding: 16px;
  border-radius: 20px;
  background: var(--accent-soft);
}
.duo-banner strong, .me-card h3 {
  display: block;
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.03em;
}
.duo-banner p, .me-card p, .me-lead {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
}
.me-panel { padding-top: 4px; }
.me-panel > .eyebrow, .me-panel > h2 { padding: 0 var(--pad); }
.me-panel > h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.me-tallies { display: grid; gap: 8px; padding: 0 var(--pad) 12px; }
.me-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.me-row strong { font-size: 15px; letter-spacing: -0.03em; }
.me-row span, .me-empty { color: var(--muted); font-size: 13px; font-weight: 600; }
.me-empty { margin: 0; padding: 8px 2px 12px; }

.empty {
  margin: 24px var(--pad);
  padding: 28px 16px;
  text-align: center;
}
.empty-mark {
  display: inline-block;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: var(--accent-soft);
}
.empty strong { display: block; font-size: 18px; font-weight: 800; }
.empty p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.noscript { margin: 16px; }

.note {
  padding: 8px var(--pad) 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.note p { margin: 0 0 8px; }
.note a { color: var(--accent-ink); text-underline-offset: 2px; }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  max-width: none;
  padding: 6px 8px calc(6px + var(--safe-b));
  background: rgba(255, 255, 255, .94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.dock-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.dock-btn.is-on { color: var(--accent); }
.dock-btn svg { display: block; }

.sheet { position: fixed; inset: 0; z-index: 70; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(18, 33, 30, .42); }
.sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  width: min(100%, var(--wide));
  padding: 10px var(--pad) calc(18px + var(--safe-b));
  border-radius: 24px 24px 0 0;
  background: var(--surface);
}
.sheet-grab {
  width: 36px;
  height: 4px;
  margin: 4px auto 12px;
  border-radius: 999px;
  background: var(--line);
}
.sheet-panel h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.sheet-panel p { margin: 0 0 10px; color: #374151; font-size: 14px; }
.sheet-panel .sheet-actions { margin-top: 8px; }

.play {
  width: min(100%, 640px);
  margin: 0 auto;
  /* top inset lives in the sticky .play-head */
  padding: 0 var(--pad) calc(28px + var(--safe-b));
}
.play-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.back {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}
.progress-label { color: var(--muted); font-size: 13px; font-weight: 800; }
.bar {
  height: 6px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}
.play .thumb {
  aspect-ratio: 16 / 9;
  margin: 0 0 14px;
  border-radius: 20px;
}
.play .thumb img { position: static; height: 100%; }
.eyebrow {
  margin: 0 0 6px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
}
.play h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.25;
}
.intro, .prompt, .result-body, .disclaimer, .result-kicker, .tally {
  margin: 0 0 10px;
  font-size: 15px;
}
.disclaimer, .result-kicker, .prompt, .tally { color: var(--muted); font-size: 14px; }
.choices { display: grid; gap: 10px; }
.choice {
  width: 100%;
  height: auto;
  min-height: 56px;
  padding: 14px 16px;
  border: 0;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: left;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal;
}
.choice:hover, .choice:focus-visible { background: var(--accent-soft); }
.choice:active { background: #d5f0ea; }
.sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.play .sheet-actions .btn { width: 100%; }
.play .share-row { margin-top: 8px; }
.result-page { padding-bottom: calc(36px + var(--safe-b)); }
.result-hero {
  margin: 0 0 12px;
  padding: 18px 16px 8px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.result-mark {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
}
.result-type {
  margin: 0;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
}
.result-hero .eyebrow { margin-bottom: 8px; }
.result-hero h2 { font-size: 32px; margin-bottom: 8px; }
.result-lead { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.result-page .result-body { font-size: 16px; line-height: 1.55; }
.result-bars {
  margin: 8px 0 12px;
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.result-bars h3 { margin: 0 0 4px; font-size: 16px; }
.result-bars .result-kicker { margin-bottom: 4px; }
.result-meter { margin: 12px 0 14px; }
.result-meter-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 800;
}
.result-meter-name { letter-spacing: -0.03em; }
.result-meter-top span:last-child { color: var(--muted); font-weight: 700; }
.result-meter.is-lead .result-meter-name { color: var(--accent-ink); }
.result-track {
  height: 8px;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
}
.result-track span {
  display: block;
  height: 100%;
  background: #b7d4cf;
  border-radius: inherit;
}
.result-meter.is-lead .result-track span { background: var(--accent); }
.result-actions { margin-top: 8px; }

.result-hero-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.result-hero-copy { min-width: 0; flex: 1; }
.result-hero-copy h2 { font-size: 28px; margin-bottom: 6px; }
.result-avatar {
  position: relative;
  flex: 0 0 188px;
  width: 188px;
  height: 188px;
  border-radius: 40px;
  overflow: hidden;
  background: var(--accent-soft);
  box-shadow: var(--shadow-soft);
}
.result-avatar img,
.result-avatar svg,
.result-face {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.result-character svg {
  animation: nori-char-bob 2.8s ease-in-out infinite;
}
@keyframes nori-char-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.result-avatar-emoji {
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 22px;
  line-height: 1;
}
.result-badge {
  display: inline-flex;
  margin: 0 0 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.result-tagline {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.result-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.result-chips li {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
}
.result-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.result-ring {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.result-ring-svg { width: 64px; height: 64px; display: block; }
.result-ring-copy { display: flex; flex-direction: column; min-width: 0; }
.result-ring-copy strong {
  font-size: 18px;
  letter-spacing: -0.04em;
  color: var(--accent-ink);
  line-height: 1.1;
}
.result-ring-copy span {
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.result-donut-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 4px;
}
.result-donut { width: 120px; flex: none; }
.result-donut svg { width: 120px; height: 120px; display: block; }
.result-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}
.result-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-size: 13px;
  font-weight: 700;
}
.result-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: none;
}
.result-legend span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-legend b {
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
}
.result-spark { margin-top: 6px; }
.result-spark-svg { width: 100%; height: 48px; display: block; }
.result-chart-note { margin: 8px 0 0; }

.insight {
  display: grid;
  gap: 10px;
  margin: 4px 0 14px;
}
.insight-card {
  padding: 16px;
  border-radius: 20px;
  background: var(--accent-soft);
  border: 1px solid #c9ebe4;
  box-shadow: var(--shadow-soft);
}
.insight-card h3 {
  margin: 0 0 8px;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.insight-summary {
  margin: 0;
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.03em;
}
.insight-moments {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.insight-moments li {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.insight-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.insight-split p,
.insight-card > p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.insight-links { display: grid; gap: 8px; }
.insight-link {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 2px;
  align-items: baseline;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  text-align: left;
}
.insight-link:hover,
.insight-link:focus-visible { background: #f7fffd; }
.insight-link-kind {
  grid-row: 1 / span 2;
  align-self: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
}
.insight-link-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.insight-link-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.insight-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 560px) {
  .insight-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .result-hero-top { flex-direction: column; align-items: center; text-align: center; }
  .result-hero-copy { display: flex; flex-direction: column; align-items: center; }
  .result-chips { justify-content: center; }
  .result-avatar { width: 152px; height: 152px; flex-basis: 152px; border-radius: 34px; }
}
@media (max-width: 420px) {
  .result-hero-top { align-items: center; }
  .result-avatar { width: 140px; height: 140px; flex-basis: 140px; border-radius: 32px; }
  .result-donut { width: 96px; }
  .result-donut svg { width: 96px; height: 96px; }
}

.copied { min-height: 1.2em; margin: 10px 0 0; color: var(--accent-ink); font-size: 14px; font-weight: 700; }

.pair { display: grid; gap: 10px; }
.tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  min-height: 120px;
  padding: 16px;
  border: 0;
  text-align: left;
}
.tile-a { background: var(--accent-soft); }
.tile-b { background: var(--pink-soft); }
.side-label { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.tile-a .side-label { color: var(--accent-deep); }
.tile-b .side-label { color: var(--pink); }
.opt { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.35; }
.tile-a:active { background: #d5f0ea; }
.tile-b:active { background: #fce4ef; }

.draw-stage { text-align: left; }
.draw-stage .thumb { margin-top: 4px; }
.draw-line {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.03em;
}
.draw-wait { margin: 4px 0 0; color: var(--muted); }
.draw-stage.is-shuffling .thumb { opacity: .55; }

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.is-play { background: var(--bg); }
body.is-play .chrome,
body.is-play .hero,
body.is-play .discover,
body.is-play .count,
body.is-play .note,
body.is-play .dock { display: none !important; }
body.is-play main {
  width: min(100%, 720px);
  max-width: none;
  padding: 0;
}

.daily-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
}
.daily-text {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.45;
}
.daily-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.duo-box,
.local-tally,
.next-box {
  margin: 4px 0 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.duo-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.duo-box p,
.local-tally,
.next-kicker { margin: 0 0 4px; }
.duo-note,
.local-tally,
.next-kicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.next-box { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.next-box .btn { margin-top: 0; width: 100%; }

@media (min-width: 900px) {
  :root { --pad: 24px; --wide: 960px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .card { grid-template-columns: 120px 1fr; }
  .rail-card { flex-basis: 300px; flex-grow: 0; }
  .pair { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 200px; }
  .play .sheet-actions:not(.share-row) { flex-direction: row; flex-wrap: wrap; }
  .play .sheet-actions:not(.share-row) .btn { width: auto; min-width: 140px; }
  .dock { left: 50%; right: auto; transform: translateX(-50%); width: min(100%, 960px); border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .draw-stage.is-shuffling .thumb { opacity: 1; }
  .is-enter,
  .result-hero,
  .result-character svg,
  .result-track span,
  .fit-stack span,
  #listView[data-motion="stagger"] .card,
  #rail[data-motion="stagger"] .rail-card,
  .share-row .btn.is-ack,
  .ripple {
    animation: none !important;
  }
  .bar span,
  .dock-indicator,
  .choice,
  .tile,
  .share-row .btn,
  .dock-btn {
    transition: none !important;
  }
}

.play-analysis {
  display: grid;
  gap: 10px;
  margin: 4px 0 14px;
}
.analysis-card {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #d7efea;
  box-shadow: var(--shadow-soft);
}
.analysis-card h3 {
  margin: 0 0 4px;
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.analysis-rule {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.type-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.type-row {
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: #f7fbfa;
  border: 1px solid transparent;
}
.type-row.is-match {
  background: var(--accent-soft);
  border-color: #99f6e4;
  box-shadow: inset 3px 0 0 var(--accent);
}
.type-row-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.type-thumb {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--accent-soft);
}
.type-thumb svg { width: 100%; height: 100%; display: block; }
.type-name { flex: 1; min-width: 0; }
.type-row strong {
  font-size: 15px;
  letter-spacing: -0.03em;
}
.type-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.type-flag {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.factor-list { display: grid; gap: 12px; }
.factor-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 800;
}
.factor-name { letter-spacing: -0.03em; }
.factor-top b {
  color: var(--accent-ink);
  font-size: 15px;
  letter-spacing: -0.03em;
}
.factor-row.is-lead .factor-name { color: var(--accent-ink); }
.factor-row .result-track span { background: #b7d4cf; }
.factor-row.is-lead .result-track span { background: var(--accent); }
.factor-detail {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.fit-stack {
  display: flex;
  height: 16px;
  margin: 0 0 10px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--track);
}
.fit-stack span { display: block; height: 100%; min-width: 0; }
.fit-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.fit-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.fit-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: none;
}
.fit-legend span { flex: 1; min-width: 0; }
.fit-legend b { color: var(--accent-ink); font-weight: 800; }
.fit-legend li.is-lead span { color: var(--accent-ink); }

/* Motion — Soft Teal. prefers-reduced-motion strips this above. */
:root { --ease: cubic-bezier(.22, 1, .36, 1); }

#main.is-enter {
  animation: nori-fade-slide 380ms var(--ease) both;
}
@keyframes nori-fade-slide {
  from { opacity: 0; transform: translate3d(var(--slide, 0px), 12px, 0); }
  to { opacity: 1; transform: none; }
}

#listView[data-motion="stagger"] .card,
#rail[data-motion="stagger"] .rail-card {
  animation: nori-card-in 460ms var(--ease) both;
}
.grid .card:nth-child(2),
#rail[data-motion="stagger"] .rail-card:nth-child(2) { animation-delay: 45ms; }
.grid .card:nth-child(3),
#rail[data-motion="stagger"] .rail-card:nth-child(3) { animation-delay: 90ms; }
.grid .card:nth-child(4),
#rail[data-motion="stagger"] .rail-card:nth-child(4) { animation-delay: 135ms; }
.grid .card:nth-child(5),
#rail[data-motion="stagger"] .rail-card:nth-child(5) { animation-delay: 180ms; }
.grid .card:nth-child(6),
#rail[data-motion="stagger"] .rail-card:nth-child(6) { animation-delay: 225ms; }
.grid .card:nth-child(7) { animation-delay: 270ms; }
.grid .card:nth-child(n+8) { animation-delay: 300ms; }
@keyframes nori-card-in {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: none; }
}

.bar span {
  transition: width 480ms var(--ease);
}

.choice,
.tile {
  position: relative;
  overflow: hidden;
  transition: transform 140ms var(--ease), background-color 140ms linear;
}
.choice:active,
.tile:active { transform: scale(.985); }
.ripple {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(15, 118, 110, .22);
  transform: scale(0);
  animation: nori-ripple 560ms ease-out forwards;
}
.ripple-b { background: rgba(226, 75, 134, .22); }
@keyframes nori-ripple {
  to { transform: scale(1); opacity: 0; }
}

.result-hero {
  animation: nori-hero-in 520ms var(--ease) both;
}
@keyframes nori-hero-in {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: none; }
}
.result-track span,
.fit-stack span {
  transform-origin: left center;
  animation: nori-grow 700ms var(--ease) both;
}
.factor-row:nth-child(2) .result-track span,
.result-meter:nth-child(2) .result-track span { animation-delay: 60ms; }
.factor-row:nth-child(3) .result-track span,
.result-meter:nth-child(3) .result-track span { animation-delay: 110ms; }
.factor-row:nth-child(4) .result-track span,
.result-meter:nth-child(4) .result-track span { animation-delay: 160ms; }
.factor-row:nth-child(5) .result-track span,
.result-meter:nth-child(5) .result-track span { animation-delay: 210ms; }
.factor-row:nth-child(n+6) .result-track span,
.result-meter:nth-child(n+6) .result-track span { animation-delay: 250ms; }
@keyframes nori-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.dock-indicator {
  position: absolute;
  left: 0;
  top: 6px;
  z-index: 0;
  height: 52px;
  width: 0;
  border-radius: 16px;
  background: var(--accent-soft);
  pointer-events: none;
  transition: transform 320ms var(--ease), width 320ms var(--ease), height 320ms var(--ease), top 320ms var(--ease);
}
.dock-btn {
  position: relative;
  z-index: 1;
  transition: color 220ms var(--ease);
}

.share-row .btn { transition: transform 160ms var(--ease); }
.share-row .btn:active:not(:disabled) { transform: scale(.98); }
.share-row .btn.is-ack { animation: nori-ack 520ms var(--ease); }
@keyframes nori-ack {
  0% { transform: scale(.97); box-shadow: 0 0 0 0 rgba(15, 118, 110, .32); }
  100% { transform: scale(1); box-shadow: 0 0 0 12px rgba(15, 118, 110, 0); }
}

.card-group .variant-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.variant-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.variant-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.variant-link {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--accent-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 4px 0;
}
.card-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.type-pct {
  margin-left: auto;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.result-hero[data-shade="lean"] .result-badge {
  background: #ccfbf1;
  color: var(--accent-ink);
}

.result-gap {
  margin: 0 0 6px;
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 800;
}
.result-now {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}
.result-fold {
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.result-fold summary {
  cursor: pointer;
  min-height: 48px;
  padding: 14px 16px;
  font-weight: 800;
  list-style: none;
}
.result-fold summary::-webkit-details-marker { display: none; }
.result-more { padding: 0 12px 12px; }
.result-more .result-body { margin-top: 0; }

/* ───────────────────────────────────────────────────────────
   Mobile UX pass (2026-10-06). Phone-first (~390×844), desktop ≥900px unchanged.
   ─────────────────────────────────────────────────────────── */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--chrome-h, 0px) + 8px);
}
button, a, summary, input, .choice, .tile, .rail-card { touch-action: manipulation; }
button, summary, .rail-card { -webkit-touch-callout: none; }
.choice, .tile, .dock-btn, .back, .rail-card, summary { -webkit-user-select: none; user-select: none; }

/* Skip link: hidden until keyboard focus */
.skip-link {
  position: fixed;
  left: 12px;
  top: calc(8px + var(--safe-t));
  z-index: 100;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(calc(-100% - 64px - var(--safe-t)));
  transition: transform 160ms var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: none; outline: 2px solid #fff; outline-offset: -5px; box-shadow: var(--shadow); }
.search-wrap { width: min(100%, var(--wide)); margin-left: auto; margin-right: auto; }
main:focus { outline: none; }

/* Sticky play header: back + step + progress stay visible while scrolling */
.play-head {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0 calc(-1 * var(--pad)) 14px;
  padding: calc(8px + var(--safe-t)) var(--pad) 10px;
  background: rgba(244, 247, 246, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 14px -14px rgba(18, 33, 30, .45);
}
.play-head .play-top { margin-bottom: 8px; }
.play-head .play-top:only-child { margin-bottom: 0; }
.play-head .bar { margin: 0; }
.back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px 0 10px;
  border-radius: 999px;
  color: var(--ink);
}
.back svg { flex: none; }
.back:active { background: var(--accent-soft); }
.progress-label { font-variant-numeric: tabular-nums; }

/* Titles: 2-line clamp, no layout jump */
.rail-title,
.card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.rail-title { min-height: calc(2 * 1.35em); }

/* Recommended rail: snap, hidden scrollbar, peeking next card */
.rail {
  scroll-padding-inline: var(--pad);
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

/* Section folds (도감 분류, 회차) */
.group-fold + .group-fold { margin-top: 10px; }
.group + .group-fold { margin-top: 12px; }
.fold-head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 var(--pad);
  padding: 10px 12px 10px 16px;
  min-height: 56px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.fold-head::-webkit-details-marker { display: none; }
.fold-head h2 { flex: 1; min-width: 0; font-size: 17px; }
.section-head .fold-meta { display: inline-flex; align-items: baseline; gap: 8px; }
.section-head .fold-hint { color: var(--accent-ink); font-weight: 800; }
.group-fold[open] > summary .fold-hint { display: none; }
.fold-chev,
.section-head .fold-chev {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent-soft);
}
.fold-chev::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translate(-50%, -70%) rotate(45deg);
  transition: transform 200ms var(--ease);
}
details[open] > summary .fold-chev::before { transform: translate(-50%, -25%) rotate(-135deg); }
.fold-head:active { background: var(--accent-soft); }
.fold-body { padding-top: 10px; }
.section-note {
  margin: 0 var(--pad) 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* Result fold: big, obvious tap target */
.result-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px 10px 16px;
}
.result-fold .fold-title { flex: 1; min-width: 0; }
.result-fold .fold-hint { color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.result-fold[open] > summary .fold-hint { display: none; }
.result-fold[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }

/* Me sheet never taller than the screen */
.sheet-panel {
  max-height: calc(100dvh - var(--safe-t) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Dock: ≥48px targets, respects side + bottom insets */
.dock {
  padding-left: max(8px, env(safe-area-inset-left, 0px));
  padding-right: max(8px, env(safe-area-inset-right, 0px));
}
.dock-btn { min-height: 52px; min-width: 48px; }

body.is-play { overscroll-behavior-y: none; }

/* Phones + tablets below desktop: home rails, sticky section heads */
@media (max-width: 899px) {
  .rail-card { flex-basis: 82%; }
  .grid-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    scrollbar-width: none;
    padding: 2px var(--pad) 14px;
  }
  .grid-rail::-webkit-scrollbar { display: none; }
  .grid-rail > .card {
    flex: 0 0 84%;
    scroll-snap-align: start;
    grid-template-columns: 88px 1fr;
    box-shadow: var(--shadow-soft);
  }
  .grid-rail .card-title { min-height: calc(2 * 1.3em); }
  .grid-rail .blurb { -webkit-line-clamp: 2; }
  .group-sticky > .section-head,
  .group-sticky[open] > .fold-head {
    position: sticky;
    top: var(--chrome-h, 0px);
    z-index: 20;
  }
  .group-sticky > .section-head:not(.fold-head) {
    background: rgba(244, 247, 246, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}
@media (min-width: 641px) and (max-width: 899px) {
  .rail-card { flex-basis: 46%; }
  .grid-rail > .card { flex-basis: 360px; }
}

/* Phones */
@media (max-width: 640px) {
  /* tighter first screen */
  .topbar { padding-top: 6px; }
  .logo-mark { width: 36px; height: 36px; border-radius: 12px; }
  .search-wrap { padding: 6px var(--pad) 4px; }
  .search { height: 46px; }
  .trends { padding-bottom: 8px; }
  .discover { margin: 2px var(--pad) 10px; padding: 14px 16px; border-radius: 20px; }
  .discover-kicker { font-size: 20px; margin-bottom: 6px; }
  .discover-season { margin-top: 10px; min-height: 44px; }
  .section-head { padding: 6px var(--pad); }
  .group + .group { margin-top: 12px; }
  .group-fold + .group-fold { margin-top: 10px; }
  .hero { margin-bottom: 0; }
  .count { padding-bottom: 6px; }
  .trend, .chip { min-height: 44px; }

  /* thumb targets on play screens */
  .choices { gap: 12px; }
  .choice { min-height: 60px; padding: 16px 18px; font-size: 16px; }
  .pair { gap: 12px; }
  .tile { min-height: 136px; padding: 18px; }
  .play[data-screen="quiz-question"] h2 { font-size: 22px; line-height: 1.32; }
  .play[data-screen="balance"] h2 { font-size: 22px; }
  .play .sheet-actions .btn { min-height: 52px; }

  /* list cards */
  .card-actions .btn { min-height: 44px; padding: 0 14px; }
  .variant-row { min-height: 44px; flex-wrap: wrap; }
  .variant-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    text-decoration: none;
  }

  /* result */
  .result-hero-copy h2 { font-size: 26px; }
  .share-row { flex-direction: column; }
  .share-row .btn { width: 100%; min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .fold-chev::before { transition: none !important; }
}
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }


/* 월드컵 토너먼트 */
.worldcup-pair {
  display: grid;
  gap: 12px;
}
.worldcup-pair .balance-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  text-align: left;
}
.worldcup-pair .balance-tile .thumb,
.worldcup-pair .balance-tile img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

/* leftovers 2026-10-10: 홈 놀이 월드컵 슬롯 (Soft Teal) */
.cup-slot { margin: 4px 0 18px; }
.cup-card {
  display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center;
  width: 100%; padding: 12px; border: 1px solid #cdeee7; border-radius: var(--radius);
  background: linear-gradient(135deg, #e7f6f3 0%, #f4fbf9 60%, #ffffff 100%);
  box-shadow: var(--shadow-soft); color: var(--ink); text-align: left; font: inherit; cursor: pointer;
  transition: transform .18s var(--ease, ease), box-shadow .18s ease;
}
.cup-card:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.cup-card:focus-visible { outline: 3px solid rgba(15, 118, 110, .45); outline-offset: 2px; }
.cup-art { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: #cceee8; }
.cup-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cup-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cup-kicker { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.cup-title { font-size: 17px; font-weight: 800; line-height: 1.3; }
.cup-desc { font-size: 13px; line-height: 1.45; color: var(--muted); }
.cup-cta { align-self: flex-start; margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
@media (max-width: 380px) {
  .cup-card { grid-template-columns: 96px 1fr; gap: 10px; padding: 10px; }
  .cup-title { font-size: 15px; }
  .cup-desc { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .cup-card { transition: none; } .cup-card:hover { transform: none; } }
