:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #111111;
  --surface-soft: #1a1a1a;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --line: #2d2d2d;
  --warm: #d7b66f;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(a, button):focus-visible { outline: 3px solid var(--warm); outline-offset: 5px; }
[hidden] { display: none !important; }
.page { width: min(100% - 64px, 1240px); margin: 0 auto; padding: 34px 0 70px; }
.eyebrow { margin: 0 0 18px; color: var(--warm); font-size: .72rem; font-weight: 750; letter-spacing: .17em; }
.hero { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: center; margin-bottom: 24px; }
.hero h1 { margin: 0; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 750; letter-spacing: -.065em; line-height: 1.28; word-break: keep-all; }
.hero h1 span { color: var(--warm); }
.intro { color: var(--muted); line-height: 1.8; margin: 14px 0 0; font-size: .92rem; word-break: keep-all; }
.hero-note { padding: 18px 20px; border-left: 1px solid #5b4d32; background: linear-gradient(110deg, #16140e, transparent); }
.hero-note .eyebrow { margin-bottom: 12px; font-size: .65rem; }
.hero-note strong { font-size: 1.05rem; font-weight: 650; }
.hero-note p { margin: 9px 0 0; font-size: .85rem; color: var(--muted); line-height: 1.75; word-break: keep-all; }
.journey { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 0; margin: 0 0 22px; list-style: none; border-block: 1px solid var(--line); }
.journey li { padding: 0 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; }
.journey li:first-child { padding-left: 0; }
.journey li + li { border-left: 1px solid var(--line); }
.step { grid-row: span 2; color: var(--warm); font-size: .72rem; padding-top: 3px; font-variant-numeric: tabular-nums; }
.journey strong { font-weight: 650; font-size: .94rem; }
.journey p { margin: 7px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.7; word-break: keep-all; }
.collection-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; font-size: .83rem; color: var(--muted); }
.collection-nav a { padding-block: 8px; }
.collection-nav a:first-child { color: var(--text); }
.collection-nav a:hover, .own-games:hover { color: var(--warm); }
.collection-nav span { color: var(--warm); font-size: .7rem; margin-right: 7px; }
.own-games { margin-left: auto; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; padding: 16px 20px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 28px; }
.filter-row { display: flex; gap: 18px; align-items: baseline; }
.filter-row + .filter-row { margin-top: 0; }
.filter-label { flex: 0 0 34px; font-size: .75rem; color: var(--muted); }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { border: 1px solid #393939; border-radius: 30px; padding: 7px 14px; min-height: 36px; background: transparent; color: #ccc; font-size: .78rem; cursor: pointer; }
.filter-chip[aria-pressed="true"] { border-color: var(--warm); background: var(--warm); color: #14110b; font-weight: 750; }
.filter-chip:hover { border-color: var(--warm); }
.filter-status { grid-column: 1 / -1; display: flex; gap: 15px; flex-wrap: wrap; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--line); }
.filter-status p { margin: 0; color: var(--muted); font-size: .75rem; }
.text-button { color: var(--warm); background: none; border: 0; padding: 4px 0; font-size: .78rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.shelf-section { margin: 0 0 50px; scroll-margin-top: 100px; }
.shelf-heading { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.shelf-heading .eyebrow { margin-bottom: 9px; font-size: .65rem; }
.shelf-heading h2 { margin: 0; font-size: 1.5rem; font-weight: 650; letter-spacing: -.04em; }
.section-count { vertical-align: middle; display: inline-block; margin-left: 9px; font-size: .75rem; color: var(--muted); font-weight: 450; letter-spacing: 0; }
.shelf-heading > p { color: var(--muted); font-size: .8rem; margin: 0; text-align: right; line-height: 1.7; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 26px; }
.game-card { min-width: 0; }
.game-link { display: block; height: 100%; border-radius: 5px; }
.case-stage { position: relative; padding: 4px 30px 22px 4px; isolation: isolate; }
.case-stage::after { content: ""; position: absolute; bottom: 6px; left: -10px; right: -10px; height: 9px; border-top: 1px solid #65553e; background: linear-gradient(#322c23, #191613); box-shadow: 0 8px 12px #000; z-index: -1; }
.jewel-case { position: relative; width: 100%; aspect-ratio: 1; padding: 5px; border: 1px solid #727475; border-radius: 3px; background: linear-gradient(110deg, #878d90, #252a2c 4%, #595f63 6%, #25292b 8%, #777d80 9%, #c0c3c3 10%, #2b3032 11%); box-shadow: -3px 5px 12px #000b, 1px 1px 2px #ffffff30 inset; transition: transform 180ms ease, box-shadow 180ms ease; }
.jewel-case::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 8px; border-right: 1px solid #ffffff30; background: linear-gradient(90deg, #8b9196aa, #31383b88, #b3bbc299); pointer-events: none; }
.jewel-case::after { content: ""; pointer-events: none; position: absolute; inset: 0; border: 1px solid #ffffff20; background: linear-gradient(123deg, #ffffff17, transparent 27%, transparent 64%, #ffffff0a); }
.cover { position: relative; width: 100%; height: 100%; overflow: hidden; background: #182c31; }
.cover-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover--contain { background: #112c36; }
.cover--contain .cover-art { object-fit: contain; }
.cover-kicker, .cover-title, .cover-volume { position: absolute; left: 7.5%; right: 5%; color: #fff; }
.cover-kicker { top: 7%; font-size: clamp(.5rem, .65vw, .65rem); font-weight: 650; letter-spacing: .13em; }
.cover-title { top: 16%; font-size: clamp(1.1rem, 1.65vw, 1.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.28; word-break: keep-all; text-shadow: 0 2px 12px #0005; }
.cover-volume { bottom: 6%; font-size: .53rem; font-weight: 600; letter-spacing: .12em; opacity: .9; }
.disc { position: absolute; z-index: -1; width: 77%; aspect-ratio: 1; right: 1px; top: 11%; border: 1px solid #a9acad; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 2px, #f2f5f71c 3px 4px), conic-gradient(from 15deg, #909ca2, #f4f6f7 10%, #9aadb4 22%, #d5e9e9 28%, #a8a4b1 36%, #faf8eb 42%, #959ca0 50%, #e7eeee 59%, #9aaab2 69%, #d0c8d7 75%, #e9ebdc 83%, #949da4 92%, #cbd2d5); box-shadow: 2px 3px 8px #0009; }
.disc::after { content: ""; position: absolute; inset: 42%; border: 6px solid #b5babe; border-radius: 50%; background: #111; box-shadow: 0 0 0 1px #777, 0 0 0 6px #d5d9dc80; }
.card-copy { padding: 12px 5px 0; }
.card-category { margin: 0 0 8px; color: var(--warm); font-size: .67rem; line-height: 1.7; }
.card-title { margin: 0; font-size: 1.08rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.55; word-break: keep-all; }
.card-description { margin: 8px 0 13px; color: var(--muted); font-size: .8rem; line-height: 1.8; word-break: keep-all; }
.cover-source { margin: -3px 0 13px; color: #aaa; font-size: .75rem; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; }
.card-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.badge { display: inline-block; border: 1px solid #3d3d3d; border-radius: 4px; padding: 5px 8px; font-size: .65rem; color: #d2d2d2; line-height: 1.6; }
.card-action { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .78rem; font-weight: 650; }
.new-tab { font-size: .63rem; font-weight: 400; color: var(--muted); }
.game-link:hover .jewel-case, .game-link:focus-visible .jewel-case { transform: translateY(-4px); box-shadow: -3px 9px 18px #000b; }
.game-link:hover .card-action { color: var(--warm); }
.research-note { display: flex; gap: 18px; align-items: baseline; border-left: 2px solid var(--warm); background: #14120d; padding: 16px 20px; margin: -3px 0 26px; }
.research-note strong { font-size: .8rem; flex-shrink: 0; color: var(--warm); }
.research-note p { font-size: .8125rem; line-height: 1.8; margin: 0; color: #c4c0b7; }
#research-grid .card-category, #research-grid .badge { font-size: .75rem; }
#research-grid .card-description { font-size: .8125rem; }
.research-evidence { margin-top: 14px; }
.research-evidence p { margin: 0; font-size: .8125rem; line-height: 1.8; }
.award-name { color: #ddd; }
.award-grade { color: var(--warm); }
.research-evidence .requirements { margin-top: 10px; color: var(--muted); }
.research-evidence .verification { margin-top: 7px; color: #cbbfa7; font-size: .75rem; }
.empty-results { text-align: center; padding: 40px 20px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 35px; }
.empty-results p { color: var(--muted); font-size: .9rem; }
.closing-note { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; gap: 28px; }
.closing-note p { color: var(--muted); font-size: .76rem; line-height: 1.9; margin: 0; }
.closing-note strong { color: var(--text); font-weight: 600; }
.closing-note a { color: var(--warm); white-space: nowrap; font-size: .8rem; align-self: start; padding-block: 4px; }
.closing-links { display: grid; gap: 10px; align-content: start; }
.padlet-link { display: inline-flex; align-items: baseline; gap: 6px; color: var(--warm); text-decoration: underline; text-underline-offset: .24em; }
.padlet-link:hover { color: var(--text); }
.fallback-list { line-height: 2; }
.fallback-list a { text-decoration: underline; }

@media (min-width: 1800px) { .cover-kicker { font-size: .65rem; } }
@media (max-width: 1050px) {
  .page { width: min(100% - 48px, 900px); padding-top: 36px; }
  .hero { grid-template-columns: 1fr 260px; gap: 25px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 23px; }
  .cover-title { font-size: 1.35rem; }
  .cover-kicker { font-size: .55rem; }
  .journey li { padding-inline: 14px; }
  .filters { grid-template-columns: 1fr; }
}
@media (max-width: 730px) {
  .page { width: calc(100% - 36px); padding-top: 30px; }
  .hero { display: block; margin-bottom: 26px; }
  .hero h1 { font-size: 2.05rem; }
  .hero-note { margin-top: 22px; padding: 15px 18px; }
  .hero-note .eyebrow { margin-bottom: 7px; }
  .hero-note p { margin-top: 5px; }
  .intro { font-size: .86rem; line-height: 1.9; margin-top: 15px; }
  .eyebrow { font-size: .64rem; margin-bottom: 13px; }
  .journey { grid-template-columns: 1fr; gap: 18px; padding-block: 20px; margin-bottom: 22px; }
  .journey li, .journey li:first-child { padding: 0; border: 0; }
  .journey p { margin-top: 4px; }
  .collection-nav { gap: 10px 18px; margin-bottom: 19px; font-size: .75rem; }
  .own-games { margin-left: 0; }
  .filters { padding: 16px 14px 12px; margin-bottom: 30px; }
  .filter-row { gap: 10px; }
  .filter-label { flex-basis: 27px; font-size: .7rem; }
  .filter-chip { font-size: .73rem; padding: 7px 11px; min-height: 38px; }
  .filter-status p { font-size: .71rem; }
  .shelf-heading { display: block; margin-bottom: 19px; }
  .shelf-heading h2 { font-size: 1.35rem; }
  .shelf-heading > p { margin-top: 10px; text-align: left; font-size: .76rem; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 15px; }
  .case-stage { padding: 3px 16px 16px 2px; }
  .case-stage::after { left: -4px; right: -4px; bottom: 4px; height: 6px; }
  .jewel-case { padding: 3px; }
  .jewel-case::before { width: 5px; }
  .disc { width: 80%; top: 10%; right: 0; }
  .cover-kicker { font-size: .41rem; letter-spacing: .07em; }
  .cover-title { font-size: clamp(.88rem, 4vw, 1.3rem); }
  .cover-volume { font-size: .4rem; }
  .card-copy { padding: 9px 1px 0; }
  .card-category { font-size: .6rem; margin-bottom: 6px; }
  .card-title { font-size: .94rem; }
  .card-description { font-size: .74rem; line-height: 1.8; margin: 7px 0 10px; }
  .badge { font-size: .59rem; padding: 4px 6px; }
  .card-action { font-size: .7rem; margin-top: 12px; padding-top: 10px; }
  .new-tab { font-size: .58rem; }
  .research-note { display: block; padding: 13px 15px; }
  .research-note p { margin-top: 5px; }
  .closing-note { display: block; }
  .closing-note a { display: inline-block; margin-top: 18px; }
}
@media (max-width: 359px) {
  .game-grid { grid-template-columns: 1fr; padding-inline: 25px; }
  .cover-title { font-size: 1.5rem; }
  .cover-kicker { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .game-link:hover .jewel-case, .game-link:focus-visible .jewel-case { transform: none; }
}
@media (forced-colors: active) {
  .filter-chip[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -4px; }
  .jewel-case, .badge { border: 1px solid CanvasText; }
}
