:root {
  color-scheme: light;
  --paper: #f4f7fa;
  --white: #fff;
  --ink: #182d43;
  --muted: #586b7e;
  --line: #dde5ed;
  --blue: #1463df;
  --teal: #087f72;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 2; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .page-container, .footer-inner { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 850; letter-spacing: -.6px; }
.brand-caption { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.brick-mark { display: grid; grid-template-columns: repeat(2, 15px); gap: 3px; transform: rotate(-9deg); }
.brick-mark i { width: 15px; height: 12px; background: var(--blue); border-radius: 3px; }
.brick-mark i:nth-child(2) { background: #23b4a0; }
.brick-mark i:nth-child(3) { background: #92d8cb; }
.section-nav { display: flex; gap: 8px; font-size: 13px; font-weight: 700; }
.section-nav a { padding: 10px 14px; border-radius: 8px; color: var(--muted); }
.section-nav a:first-child { color: var(--blue); background: #edf4ff; }
.section-nav a:hover { color: var(--blue); }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-block: 36px 28px; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #0d9c85; }
h1 { margin-top: 8px; font-size: clamp(36px, 4vw, 48px); font-weight: 900; line-height: 1.2; letter-spacing: -2px; }
.title-dot { color: var(--blue); }
.intro-copy { margin-top: 10px; font-size: 14px; color: var(--muted); }
.benefits { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 4px; padding: 0; list-style: none; }
.benefits li { padding: 6px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.play-layout { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: 22px; align-items: stretch; }
.game-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 8px 30px #182d4306; }
.game-card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.game-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.mini-bricks { font-size: 22px; line-height: 1; color: var(--blue); }
.game-category { font-size: 11px; color: var(--muted); }
.game-frame { display: block; width: 100%; height: 560px; border: 0; background: #161512; }
.game-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 11px; color: var(--muted); }
.game-card-footer p { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.game-card-footer a { flex-shrink: 0; color: var(--blue); font-weight: 700; padding-block: 4px; }
.info-symbol { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-right: 3px; border: 1px solid #9babbc; border-radius: 50%; font-size: 9px; font-style: italic; }
.quick-guide { padding: 26px 22px; background: #e9f2f6; border: 1px solid #d9e7eb; border-radius: 16px; }
.quick-guide h2 { margin-top: 10px; font-size: 26px; line-height: 1.4; letter-spacing: -1px; }
.quick-steps { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 24px; }
.quick-steps li { display: flex; align-items: baseline; gap: 12px; }
.step-number { color: var(--teal); font-size: 11px; font-weight: 800; }
.quick-steps strong { font-size: 13px; }
.quick-steps p { margin-top: 6px; font-size: 12px; color: var(--muted); }
.pause-note { display: flex; gap: 10px; align-items: center; padding-top: 20px; border-top: 1px solid #ccdce4; }
.pause-icon { display: grid; place-items: center; background: var(--white); width: 30px; height: 34px; border-radius: 7px; color: var(--teal); font-size: 15px; flex-shrink: 0; }
.pause-note p { font-size: 11px; color: var(--muted); }
kbd { display: inline-block; font-family: inherit; font-size: .85em; font-weight: 700; padding: 1px 5px; color: var(--ink); background: var(--white); border: 1px solid #cbd7e3; border-bottom-width: 2px; border-radius: 4px; line-height: 1.6; }
.life-note { margin-top: 20px; color: var(--muted); font-size: 11px; }
.content-section { padding-top: 52px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { margin-top: 6px; font-size: 24px; letter-spacing: -.8px; line-height: 1.45; word-break: keep-all; }
.section-number { font-size: 32px; font-weight: 800; color: #c6d3e0; }
.section-description { color: var(--muted); font-size: 14px; max-width: 820px; margin-bottom: 20px; }
.control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.control-card { display: flex; align-items: flex-start; gap: 18px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.device-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: #edf4ff; color: var(--blue); font-size: 23px; }
.touch-icon { background: #e5f5f0; color: var(--teal); }
h3 { font-size: 15px; letter-spacing: -.3px; line-height: 1.5; }
.control-card p, .item-card p, .tip p { margin-top: 10px; font-size: 13px; color: var(--muted); }
.small-note { margin-top: 14px; font-size: 12px; color: var(--muted); }
.item-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.item-card { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.item-token { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 10px; font-size: 17px; font-weight: 850; }
.item-wide .item-token { color: #145aba; background: #eaf2ff; }
.item-slow .item-token { color: #7c5908; background: #fff5da; }
.item-multi .item-token { color: #ad453b; background: #fff0ec; }
.item-life .item-token { color: #087563; background: #e5f5f0; }
.tips-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 28px 32px; border-radius: 12px; background: #eaf0f8; }
.tip-label { display: block; color: var(--blue); font-size: 11px; font-weight: 800; margin-bottom: 8px; }
.faq-list { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding-inline: 24px; }
.faq-list details + details { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; line-height: 1.6; word-break: keep-all; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--blue); font-weight: 500; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-bottom: 20px; max-width: 820px; font-size: 13px; color: var(--muted); }
.back-to-play { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 22px 24px; border-radius: 12px; background: var(--blue); color: var(--white); font-size: 15px; font-weight: 750; }
.back-to-play > span { font-size: 12px; font-weight: 500; }
.back-to-play:hover { background: #0b52c2; }
.site-footer { margin-top: 64px; padding-block: 32px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p { font-size: 13px; }
.footer-inner p span { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.language-nav { display: flex; gap: 4px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.language-nav a { padding: 8px 10px; border-radius: 6px; }
.language-nav a:hover, .language-nav a[aria-current="page"] { color: var(--blue); background: #e4edfa; }

@media (max-width: 1020px) {
  .intro { align-items: start; }
  .benefits { max-width: 220px; justify-content: end; }
  .play-layout { grid-template-columns: minmax(0, 1fr); }
  .quick-guide { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 24px; padding: 22px; }
  .quick-guide > .eyebrow { grid-column: 1; }
  .quick-guide h2 { grid-column: 1; grid-row: 2; font-size: 23px; }
  .quick-guide h2 br { display: none; }
  .quick-steps { grid-column: 2; grid-row: 1 / 4; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; }
  .quick-steps li { display: block; }
  .step-number { display: block; margin-bottom: 6px; }
  .pause-note { grid-column: 1 / -1; margin-top: 18px; padding-top: 16px; }
  .pause-note br, .life-note br { display: none; }
  .life-note { grid-column: 1 / -1; margin-top: 8px; }
  .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .header-inner, .page-container, .footer-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 70px; gap: 12px; }
  .brand { font-size: 17px; gap: 9px; }
  .brand-caption { font-size: 9px; }
  .brick-mark { grid-template-columns: repeat(2, 12px); }
  .brick-mark i { width: 12px; height: 10px; }
  .section-nav { gap: 0; font-size: 11px; }
  .section-nav a { padding: 8px; }
  .section-nav a:last-child { display: none; }
  .intro { display: block; padding-block: 26px 22px; }
  .intro-copy { font-size: 13px; max-width: 280px; }
  .benefits { justify-content: start; max-width: none; margin-top: 14px; gap: 6px; }
  .benefits li { padding: 5px 8px; font-size: 10px; }
  .play-layout { gap: 16px; }
  .game-card { border-radius: 12px; }
  .game-card-header { padding: 14px; }
  .game-label { font-size: 12px; }
  .game-category { font-size: 10px; }
  .game-frame { height: 480px; }
  .game-card-footer { align-items: start; flex-direction: column; gap: 6px; padding: 12px 14px; }
  .quick-guide { display: block; padding: 22px; border-radius: 12px; }
  .quick-guide h2 { font-size: 22px; margin-top: 6px; }
  .quick-steps { grid-template-columns: none; gap: 16px; margin-top: 20px; }
  .quick-steps li { display: flex; gap: 12px; }
  .step-number { margin: 0; }
  .quick-steps p { margin-top: 3px; }
  .content-section { padding-top: 38px; }
  .section-heading h2 { font-size: 21px; }
  .section-number { font-size: 25px; }
  .section-description { font-size: 13px; }
  .control-grid, .tips-grid { grid-template-columns: minmax(0, 1fr); }
  .control-card { padding: 20px; gap: 14px; }
  .device-icon { width: 34px; height: 34px; font-size: 20px; }
  .item-grid { gap: 10px; }
  .item-card { padding: 18px 14px; }
  .item-card p { font-size: 12px; }
  .item-token { margin-bottom: 12px; }
  .tips-grid { padding: 24px; gap: 24px; }
  .faq-list { padding-inline: 18px; }
  .faq-list summary { font-size: 13px; gap: 12px; padding-block: 18px; }
  .back-to-play { align-items: start; flex-direction: column; gap: 8px; padding: 20px; }
  .footer-inner { flex-direction: column; align-items: start; gap: 18px; }
  .language-nav { gap: 0; }
  .language-nav a { padding-inline: 8px; }
  .site-footer { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
