/* JavaScript 없이 제공되는 HOWBIG 경제 개념 전용 화면이다. */
:root {
  --color-bg: #f1f0f6;
  --color-surface: #fff;
  --color-text: #080908;
  --color-muted: #667085;
  --color-primary: #34521d;
  --color-primary-strong: #263e16;
  --color-lavender: #d6b7e5;
  --color-orange: #e35419;
  --color-success: #0b7a53;
  --color-error: #c33b32;
  --color-border: #c0c0ba;
  --color-focus: #2f6fed;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: var(--color-bg); }
a { color: inherit; }

.concept-topbar {
  display: flex;
  width: min(100% - 40px, 1120px);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.concept-wordmark { color: #191c2b; font-size: 1.25rem; font-weight: 900; letter-spacing: -0.05em; text-decoration: none; }
.concept-topbar__game { padding: 10px 14px; border: 1px solid #dadce5; border-radius: 999px; background: #fff; color: #46406f; font-size: .875rem; font-weight: 800; text-decoration: none; }
.concept-topbar__game:hover { border-color: #5b4fe9; color: #3e34c5; }
.concept-main { width: min(100% - 40px, 880px); margin: 0 auto; padding: 26px 0 80px; }
.concept-page .concept-main { max-width: 760px; }
.concept-breadcrumb { display: flex; gap: 8px; color: #667085; font-size: .875rem; }
.concept-breadcrumb a { color: #5b4fe9; font-weight: 750; text-decoration: none; }
.concept-eyebrow, .concept-section-label { margin: 0; color: #5b4fe9; font-size: .875rem; font-weight: 850; letter-spacing: -.01em; }

.concept-hero { margin: 38px 0 28px; }
.concept-hero h1 { max-width: 14ch; margin: 8px 0 16px; font-size: clamp(2.35rem, 7vw, 4.5rem); letter-spacing: -.075em; line-height: 1.02; }
.concept-answer { max-width: 33em; margin: 0; color: #454b5e; font-size: clamp(1.06rem, 2.8vw, 1.3rem); font-weight: 650; letter-spacing: -.025em; line-height: 1.65; }

.concept-visual { position: relative; overflow: hidden; margin: 34px 0; padding: clamp(16px, 4vw, 30px); border: 1px solid #dadce5; border-radius: 28px; background: #fff; box-shadow: 0 18px 48px rgb(34 37 61 / 7%); }
.concept-visual::before { position: absolute; z-index: 0; top: -65px; right: -48px; width: 170px; height: 170px; border-radius: 50%; background: #eeecff; content: ""; }
.concept-visual svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.concept-visual__image { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; background: #f7f5ef; }
.concept-visual figcaption { position: relative; z-index: 1; margin-top: 6px; color: #667085; font-size: .875rem; line-height: 1.5; text-align: center; }

.concept-example { margin-top: 44px; padding: 24px; border: 1px solid #dadce5; border-radius: 22px; background: #fff; }
.concept-example h2 { margin: 6px 0 18px; font-size: clamp(1.35rem, 4vw, 1.75rem); letter-spacing: -.05em; }
.concept-example dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.concept-example dl div { padding: 15px 16px; border-radius: 15px; background: #f6f4ff; }
.concept-example dt { color: #667085; font-size: .82rem; font-weight: 750; }
.concept-example dd { margin: 5px 0 0; font-size: 1.05rem; font-weight: 850; overflow-wrap: anywhere; }
.concept-example__conclusion { margin: 16px 0 0; color: #31374a; font-weight: 650; line-height: 1.65; }

.concept-explainer { margin-top: 44px; }
.concept-explainer h2 { margin: 6px 0 18px; font-size: clamp(1.45rem, 4vw, 1.95rem); letter-spacing: -.055em; }
.concept-explainer__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.concept-explainer__steps li { min-height: 196px; padding: 18px; border: 1px solid #dadce5; border-radius: 20px; background: #fff; box-shadow: 0 12px 28px rgb(34 37 61 / 5%); }
.concept-explainer__step-number { display: grid; width: 30px; height: 30px; margin-bottom: 24px; place-items: center; border-radius: 50%; background: #5b4fe9; color: #fff; font-size: .78rem; font-weight: 850; }
.concept-explainer__steps strong, .concept-explainer__steps b { display: block; }
.concept-explainer__steps strong { color: #667085; font-size: .86rem; }
.concept-explainer__steps b { margin-top: 5px; font-size: 1.02rem; letter-spacing: -.035em; }
.concept-explainer__steps p { margin: 10px 0 0; color: #4d5364; font-size: .88rem; line-height: 1.55; }
.concept-explainer__why, .concept-explainer__watch { margin-top: 14px; padding: 20px 22px; border-radius: 20px; }
.concept-explainer__why { background: #eeecff; }
.concept-explainer__why p:last-child { margin: 7px 0 0; color: #31374a; font-weight: 620; line-height: 1.7; }
.concept-explainer__watch { border: 1px solid #c9f36b; background: #fbfff1; }
.concept-explainer__watch ul { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.concept-explainer__watch li { display: flex; align-items: flex-start; gap: 8px; color: #31374a; font-size: .94rem; font-weight: 650; line-height: 1.5; }
.concept-explainer__watch li::before { flex: 0 0 auto; width: 9px; height: 9px; margin-top: .38em; border-radius: 50%; background: #0b7a53; content: ""; }

.concept-misconception, .concept-related { margin-top: 34px; }
.concept-misconception h2, .concept-related h2 { margin: 6px 0 15px; font-size: clamp(1.35rem, 4vw, 1.75rem); letter-spacing: -.05em; }
.concept-misconception { display: grid; grid-template-columns: auto 1fr; gap: 15px; padding: 22px; border: 1px solid #ffd0c8; border-radius: 22px; background: #fff4f1; }
.concept-misconception > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: #ff8066; font-weight: 900; }
.concept-misconception h2 { margin-top: 4px; }
.concept-misconception p:last-child { margin: 0; color: #54413f; font-weight: 600; line-height: 1.65; }

.concept-related-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.concept-related-card { display: grid; min-height: 116px; grid-template-columns: 1fr auto; align-content: start; gap: 7px; padding: 16px; border: 1px solid #dadce5; border-radius: 18px; background: #fff; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.concept-related-card:hover { border-color: #5b4fe9; transform: translateY(-2px); }
.concept-related-card span { grid-column: 1 / -1; color: #667085; font-size: .78rem; font-weight: 700; }
.concept-related-card strong { align-self: end; letter-spacing: -.03em; }
.concept-related-card b { align-self: end; color: #5b4fe9; }
.concept-game-cta { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; margin-top: 44px; padding: 20px 22px; border-radius: 22px; color: #fff; background: #5b4fe9; box-shadow: 0 14px 25px rgb(91 79 233 / 26%); text-decoration: none; }
.concept-game-cta:hover { background: #4a3dd6; }
.concept-game-cta span { grid-column: 1 / -1; color: #dedaff; font-size: .8rem; font-weight: 700; }
.concept-game-cta strong { font-size: 1.1rem; letter-spacing: -.035em; }
.concept-game-cta b { font-size: 1.3rem; }
.concept-disclaimer { margin-top: 18px; color: #667085; font-size: .8rem; line-height: 1.55; text-align: center; }
.concept-sources { margin-top: 28px; padding: 16px 0; border-top: 1px solid #dadce5; color: #667085; font-size: .84rem; }
.concept-sources summary { cursor: pointer; color: #454b5e; font-weight: 800; }
.concept-sources li { margin-top: 8px; }
.concept-sources a { color: #5b4fe9; }

.concept-index-hero { position: relative; overflow: hidden; min-height: 310px; padding: 42px 38px; border-radius: 32px; background: #191c2b; color: #fff; }
.concept-index-hero .concept-eyebrow { color: #c9f36b; }
.concept-index-hero h1 { position: relative; z-index: 1; max-width: 8ch; margin: 10px 0 18px; font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: -.085em; line-height: .98; }
.concept-index-hero h1 em { color: #c9f36b; font-style: normal; }
.concept-index-hero > p { position: relative; z-index: 1; max-width: 27em; margin: 0; color: #ced2e0; font-weight: 600; line-height: 1.55; }
.concept-orbits i { position: absolute; border: 2px solid #5b4fe9; border-radius: 50%; opacity: .75; }
.concept-orbits i:nth-child(1) { top: 42px; right: 84px; width: 194px; height: 194px; }
.concept-orbits i:nth-child(2) { top: 98px; right: 142px; width: 78px; height: 78px; border-color: #c9f36b; background: #c9f36b; }
.concept-orbits i:nth-child(3) { top: 235px; right: 35px; width: 48px; height: 48px; border-color: #ff8066; background: #ff8066; }
.concept-category-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 0; }
.concept-category-nav a { padding: 9px 12px; border: 1px solid #dadce5; border-radius: 999px; background: #fff; color: #4b5264; font-size: .82rem; font-weight: 800; text-decoration: none; }
.concept-category-nav a:hover { border-color: #5b4fe9; color: #4135c3; }
.concept-category-section { margin-top: 42px; scroll-margin-top: 18px; }
.concept-category-section h2 { margin: 0 0 -17px; font-size: 1.15rem; letter-spacing: -.045em; }
.concept-index-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
.concept-index-card { position: relative; min-height: 172px; padding: 20px; border: 1px solid #dadce5; border-radius: 22px; background: #fff; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.concept-index-card:hover { box-shadow: 0 14px 28px rgb(34 37 61 / 10%); transform: translateY(-3px); }
.concept-index-card strong { display: block; margin: 0; font-size: 1.25rem; letter-spacing: -.05em; }
.concept-index-card p { margin: 9px 22px 0 0; color: #667085; font-size: .88rem; font-weight: 600; line-height: 1.55; }
.concept-index-card b { position: absolute; right: 20px; bottom: 17px; color: #5b4fe9; font-size: 1.2rem; }
.concept-empty, .concept-not-found { margin-top: 100px; padding: 40px; border: 1px solid #dadce5; border-radius: 26px; background: #fff; text-align: center; }
.concept-not-found h1 { font-size: clamp(2rem, 7vw, 3.5rem); letter-spacing: -.07em; }
.concept-not-found .concept-game-cta { width: min(100%, 320px); margin: 24px auto 0; text-align: left; }

@media (max-width: 560px) {
  .concept-topbar, .concept-main { width: min(100% - 32px, 880px); }
  .concept-topbar { min-height: 66px; }
  .concept-main { padding-top: 18px; }
  .concept-hero { margin-top: 30px; }
  .concept-visual { border-radius: 23px; }
  .concept-explainer__steps { grid-template-columns: 1fr; }
  .concept-example dl { grid-template-columns: 1fr; }
  .concept-explainer__steps li { min-height: 0; }
  .concept-explainer__step-number { margin-bottom: 14px; }
  .concept-related-grid, .concept-index-grid { grid-template-columns: 1fr; }
  .concept-index-hero { min-height: 330px; padding: 32px 25px; border-radius: 25px; }
  .concept-orbits { transform: scale(.74); transform-origin: bottom right; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* UI v10: React 공개 화면과 정적 개념 화면이 같은 시각 언어를 사용한다. */
.concept-topbar,
.concept-main {
  width: min(calc(100% - 48px), 720px);
}

.concept-topbar {
  min-height: 72px;
  border-bottom: 1px solid rgb(192 192 186 / 70%);
}

.concept-wordmark {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 900;
}

.concept-topbar__game {
  padding: 9px 13px;
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: .82rem;
}

.concept-topbar__game:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
}

.concept-main,
.concept-page .concept-main {
  max-width: 720px;
  padding: 34px 0 88px;
}

.concept-breadcrumb {
  color: var(--color-muted);
}

.concept-breadcrumb a,
.concept-sources a {
  color: var(--color-primary);
}

.concept-eyebrow,
.concept-section-label {
  color: var(--color-primary);
}

.concept-index-hero {
  min-height: 300px;
  padding: clamp(30px, 6vw, 46px);
  border: 1px solid var(--color-primary);
  border-radius: 28px;
  background: linear-gradient(145deg, #fff 0%, #f5eff8 100%);
  color: var(--color-text);
}

.concept-index-hero .concept-eyebrow {
  color: var(--color-primary);
}

.concept-index-hero h1 {
  max-width: 9ch;
  color: var(--color-primary-strong);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

.concept-index-hero h1 em {
  color: var(--color-primary);
}

.concept-index-hero > p {
  max-width: 25em;
  color: var(--color-muted);
}

.concept-orbits i {
  border-color: var(--color-lavender);
  opacity: 1;
}

.concept-orbits i:nth-child(1) {
  top: 38px;
  right: 58px;
  width: 184px;
  height: 184px;
  border-width: 0;
  background: rgb(214 183 229 / 72%);
}

.concept-orbits i:nth-child(2) {
  top: 116px;
  right: 120px;
  width: 62px;
  height: 62px;
  border: 0;
  background: var(--color-orange);
}

.concept-orbits i:nth-child(3) {
  top: 190px;
  right: 51px;
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--color-primary);
}

.concept-category-nav {
  margin-top: 22px;
}

.concept-category-nav a {
  border-color: var(--color-border);
  background: rgb(255 255 255 / 76%);
  color: var(--color-text);
}

.concept-category-nav a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.concept-category-section {
  margin-top: 46px;
  scroll-margin-top: 24px;
}

.concept-category-section h2 {
  color: var(--color-primary-strong);
  font-size: 1.3rem;
}

.concept-index-grid {
  gap: 12px;
}

.concept-index-card,
.concept-related-card,
.concept-example,
.concept-explainer__steps li,
.concept-visual,
.concept-empty,
.concept-not-found {
  border-color: var(--color-border);
  background: var(--color-surface);
  box-shadow: none;
}

.concept-index-card {
  min-height: 172px;
  border-radius: 22px;
}

.concept-index-card:hover,
.concept-related-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 22px rgb(52 82 29 / 10%);
  transform: translateY(-2px);
}

.concept-index-card b,
.concept-related-card b {
  color: var(--color-primary);
}

.concept-index-card strong,
.concept-related-card strong,
.concept-index-card p,
.concept-answer,
.concept-explainer__steps p,
.concept-misconception p {
  overflow-wrap: anywhere;
}

.concept-index-card p,
.concept-related-card span,
.concept-visual figcaption,
.concept-disclaimer,
.concept-sources,
.concept-explainer__steps strong {
  color: var(--color-muted);
}

.concept-hero {
  margin: 42px 0 30px;
}

.concept-hero h1 {
  color: var(--color-primary-strong);
}

.concept-answer {
  color: #424840;
}

.concept-visual {
  border-radius: 24px;
}

.concept-visual::before {
  background: rgb(214 183 229 / 32%);
}

.concept-visual__image {
  background: var(--color-bg);
}

.concept-explainer__steps li {
  border-radius: 20px;
}

.concept-explainer__step-number {
  background: var(--color-primary);
}

.concept-explainer__why {
  background: rgb(214 183 229 / 32%);
}

.concept-example dl div {
  background: rgb(214 183 229 / 22%);
}

.concept-example dt {
  color: var(--color-muted);
}

.concept-example__conclusion {
  color: #31362e;
}

.concept-explainer__why p:last-child,
.concept-explainer__watch li {
  color: #31362e;
}

.concept-explainer__watch {
  border-color: rgb(227 84 25 / 42%);
  background: #fff8f3;
}

.concept-explainer__watch li::before {
  background: var(--color-orange);
}

.concept-misconception {
  border-color: rgb(195 59 50 / 30%);
  background: #fff6f4;
}

.concept-misconception > span {
  background: var(--color-error);
}

.concept-related-card {
  border-radius: 18px;
}

.concept-game-cta {
  border: 1px solid var(--color-primary);
  border-radius: 18px;
  background: var(--color-primary);
  box-shadow: none;
}

.concept-game-cta:hover {
  background: var(--color-primary-strong);
}

.concept-game-cta span {
  color: #e5eedf;
}

.concept-sources {
  border-top-color: var(--color-border);
}

.concept-sources summary {
  color: var(--color-text);
}

.concept-empty,
.concept-not-found {
  border-radius: 24px;
}

.concept-not-found h1 {
  color: var(--color-primary-strong);
}

.concept-topbar a:focus-visible,
.concept-main a:focus-visible,
.concept-sources summary:focus-visible,
.concept-public-footer a:focus-visible,
.concept-public-footer button:focus-visible,
.concept-consent-panel button:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.concept-public-footer {
  width: min(calc(100% - 48px), 1160px);
  margin: 72px auto 0;
  padding: 32px 0 48px;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  color: var(--color-text-muted);
}

.concept-public-footer p { margin: 6px 0 0; }
.concept-public-footer nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.concept-public-footer a,
.concept-public-footer button { display: inline-flex; min-height: 44px; align-items: center; color: var(--color-text); font: inherit; font-weight: 700; text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer; }
.concept-public-footer [data-public-install-guide] { flex-basis: 100%; max-width: 300px; line-height: 1.55; }

.concept-consent-panel {
  position: fixed;
  z-index: 30;
  right: 24px;
  bottom: 24px;
  width: min(560px, calc(100% - 48px));
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgb(25 28 43 / 18%);
}

.concept-consent-panel[hidden] { display: none; }
.concept-consent-panel h2 { margin: 6px 0 10px; }
.concept-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.concept-consent-actions button { min-height: 46px; padding: 0 18px; border: 1px solid var(--color-primary); border-radius: 999px; background: #fff; color: var(--color-primary-strong); font: inherit; font-weight: 800; cursor: pointer; }

@media (max-width: 760px) {
  .concept-topbar,
  .concept-main {
    width: min(calc(100% - 32px), 720px);
  }

  .concept-topbar {
    min-height: 64px;
  }

  .concept-main,
  .concept-page .concept-main {
    padding-top: 24px;
  }

  .concept-index-hero {
    min-height: 360px;
    padding: 30px 24px 104px;
    border-radius: 24px;
  }

  .concept-index-hero h1 {
    max-width: 8ch;
  }

  .concept-orbits {
    transform: none;
  }

  .concept-orbits i:nth-child(1) {
    top: auto;
    right: 18px;
    bottom: -54px;
    width: 134px;
    height: 134px;
  }

  .concept-orbits i:nth-child(2) {
    top: auto;
    right: 88px;
    bottom: 17px;
    width: 42px;
    height: 42px;
  }

  .concept-orbits i:nth-child(3) {
    top: auto;
    right: 44px;
    bottom: 16px;
    width: 24px;
    height: 24px;
  }

  .concept-index-grid,
  .concept-related-grid,
  .concept-example dl,
  .concept-explainer__steps {
    grid-template-columns: 1fr;
  }

  .concept-explainer__steps li {
    min-height: 0;
  }

  .concept-visual {
    border-radius: 22px;
  }

  .concept-public-footer {
    width: min(calc(100% - 32px), 720px);
    grid-template-columns: 1fr;
  }

  .concept-consent-panel {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }
}
