:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #eeece7;
  --text: #1b1c20;
  --muted: #62646d;
  --line: #dddad3;
  --accent: #e8553d;
  --accent-text: #b8361f;
  --good: #1f8a52;
  --mid: #b98100;
  --bad: #c2382a;
  --radius: 12px;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 4px 14px rgb(0 0 0 / .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121317;
    --surface: #1b1d23;
    --surface-2: #24272f;
    --text: #ececef;
    --muted: #a2a5ae;
    --line: #30333c;
    --accent: #f06a50;
    --accent-text: #ff8c74;
    --good: #3cc47e;
    --mid: #e0a92a;
    --bad: #ef6656;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans", "Noto Sans JP", "PingFang SC", "Noto Sans SC", sans-serif;
}
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -.01em; }
h2 { font-size: 1.3rem; margin-top: 1.6em; }
h3 { font-size: 1.05rem; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.search { flex: 1; min-width: 0; }
.search input { width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.search.big input { padding: 12px 16px; font-size: 1.1rem; margin: 8px 0 24px; }
.top-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: .92rem; }
.langs { position: relative; }
.langs summary { cursor: pointer; list-style: none; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); min-width: 130px; }
.langs li a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--text); }
.langs li a[aria-current] { background: var(--surface-2); font-weight: 600; }
.who { color: var(--muted); max-width: 10em; overflow: hidden; text-overflow: ellipsis; }
.platforms-nav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.platforms-nav a { padding: 4px 12px; border-radius: 999px; color: var(--muted); white-space: nowrap; font-size: .92rem; }
.platforms-nav a[aria-current] { background: var(--text); color: var(--bg); }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent-text); }
.danger { color: var(--bad); }
@media (max-width: 640px) {
  .top-row { flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; }
  .brand span { font-size: .95rem; }
}

main { padding-bottom: 48px; }
.hero { padding-top: 40px; padding-bottom: 8px; }
.hero p { color: var(--muted); max-width: 46em; font-size: 1.08rem; }
.lead { color: var(--muted); }
.empty, .pending { color: var(--muted); padding: 20px; background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }

/* platform tiles */
.platform-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 136px; padding: 14px; border-radius: var(--radius); color: #fff; background: #555; box-shadow: var(--shadow); isolation: isolate; }
.tile:hover { text-decoration: none; filter: brightness(1.08); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 0%, rgb(255 255 255 / .22), transparent 55%); }
.tile strong { position: relative; font-size: 1.05rem; text-shadow: 0 1px 2px rgb(0 0 0 / .25); }
.tile-count { position: relative; font-size: .85rem; opacity: .85; }
.tile-icon { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgb(255 255 255 / .16); }
.tile-icon svg { width: 30px; height: 30px; }
/* 대표 게임 이미지 세 장을 오른쪽 위에 부채꼴로 겹친다 */
.tile-covers { position: absolute; top: 12px; right: 10px; display: flex; flex-direction: row-reverse; }
/* 위키미디어 이미지는 표지보다 로고·사진이 많아 자르지 않고 흰 카드 안에 통째로 담는다 */
.tile-covers img { width: 42px; height: 42px; object-fit: contain; padding: 4px; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / .28); margin-left: -14px; transition: transform .2s; }
.tile-covers img:nth-child(1) { transform: rotate(7deg); z-index: 3; }
.tile-covers img:nth-child(2) { transform: rotate(0deg) translateY(-3px); z-index: 2; }
.tile-covers img:nth-child(3) { transform: rotate(-7deg); z-index: 1; }
.tile:hover .tile-covers img:nth-child(1) { transform: rotate(11deg) translateX(3px); }
.tile:hover .tile-covers img:nth-child(3) { transform: rotate(-11deg) translateX(-3px); }
@media (prefers-reduced-motion: reduce) { .tile-covers img { transition: none; } }
.tile-switch { background: linear-gradient(135deg, #e60012, #ff5a4f); }
.tile-playstation { background: linear-gradient(135deg, #003791, #2a6fdb); }
.tile-xbox { background: linear-gradient(135deg, #0e7a0d, #3fae3c); }
.tile-steam { background: linear-gradient(135deg, #171a21, #2a475e); }
.tile-mobile { background: linear-gradient(135deg, #6b3fd4, #a77bff); }
.tile-other { background: linear-gradient(135deg, #5b5e66, #8a8d96); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.card-link { display: block; position: relative; color: var(--text); height: 100%; }
.card-link:hover { text-decoration: none; }
.card-link:hover h3 { color: var(--accent-text); }
.card-body { padding: 12px 14px 16px; }
.card h3 { font-size: 1rem; margin: 0 0 4px; }
.meta { color: var(--muted); font-size: .85rem; margin: 0; }
.card .summary { font-size: .9rem; color: var(--muted); margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .score { position: absolute; top: 10px; right: 10px; }

.cover { display: block; width: 100%; object-fit: cover; background: var(--surface-2); }
/* Commons 이미지는 로고·스크린샷 등 비율이 제각각이라 자르지 않는다 */
img.cover { object-fit: contain; padding: 8px; background: #fff; }
.cover.card { aspect-ratio: 16 / 9; border: 0; border-radius: 0; box-shadow: none; }
img.cover.card { padding: 16px 24px; }
.cover.hero { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.cover.generated { display: grid; place-items: center; background: linear-gradient(140deg, hsl(var(--h) 55% 38%), hsl(calc(var(--h) + 50) 60% 22%)); color: rgb(255 255 255 / .92); }
.cover.generated span { font-size: 2.6rem; font-weight: 800; letter-spacing: .04em; }
.cover.hero.generated span { font-size: 4rem; }

.score { display: inline-grid; place-items: center; min-width: 2.4em; height: 2.4em; padding: 0 .4em; border-radius: 10px; font-weight: 800; color: #fff; background: var(--muted); font-variant-numeric: tabular-nums; }
.score.high { background: var(--good); }
.score.mid { background: var(--mid); }
.score.low { background: var(--bad); }
.score.big { font-size: 1.6rem; min-width: 2.3em; height: 2.3em; border-radius: 14px; }

/* game page */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin: 18px 0 14px; }
.game-head { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.original { color: var(--muted); margin-top: -.4em; }
.scores-row { display: flex; gap: 20px; flex-wrap: wrap; margin: 12px 0 18px; }
.our-score, .user-score { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.credits { font-size: .78rem; color: var(--muted); margin: 8px 0 0; }
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; margin-top: 28px; }
@media (max-width: 900px) {
  .game-grid { grid-template-columns: 1fr; }
  .game-head { grid-template-columns: 140px 1fr; gap: 16px; }
}
@media (max-width: 520px) {
  .game-head { grid-template-columns: 1fr; }
  .cover.hero { max-width: 200px; }
}

.our-review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.our-review > header { border-bottom: 1px solid var(--line); margin-bottom: 18px; padding-bottom: 12px; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--accent-text); font-weight: 700; margin: 0 0 6px; }
.our-review .summary { font-size: 1.1rem; }
.our-review section { margin-top: 18px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.pros-cons > div { padding: 14px 16px; border-radius: 10px; background: var(--surface-2); }
.pros-cons ul { margin: 0; padding-left: 1.2em; }
.pros h3 { color: var(--good); }
.cons h3 { color: var(--bad); }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } .our-review { padding: 18px; } }
.verdict-row { display: flex; gap: 16px; align-items: flex-start; }
.verdict-row p { margin: 0; font-size: 1.05rem; }
.sources { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.sources ol { padding-left: 1.3em; }
.note { font-size: .82rem; color: var(--muted); }

.side-col section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; }
.side-col h2 { font-size: 1.05rem; margin-top: 0; }
.critics table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.critics th { text-align: left; font-weight: 500; padding: 6px 0; }
.critics td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.critics td.count { font-weight: 400; color: var(--muted); font-size: .8rem; width: 3em; }
.critics tr + tr { border-top: 1px solid var(--line); }
.read-more ul { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.read-more li { padding: 6px 0; }
.read-more small { display: block; color: var(--muted); }
.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #000; aspect-ratio: 16 / 9; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 44px; border-radius: 12px; background: #f00; }
.yt .play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 16px; border-color: transparent transparent transparent #fff; }
.yt iframe { width: 100%; height: 100%; border: 0; }

/* players */
.players { margin-top: 32px; }
.write { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; }
.write summary { cursor: pointer; font-weight: 600; }
.write form { display: grid; gap: 12px; margin-top: 12px; }
.write label { display: grid; gap: 4px; font-size: .92rem; }
input:not([type=range]):not([type=search]), select, textarea { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
textarea { resize: vertical; width: 100%; }
button[type=submit], .button { display: inline-block; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
.button:hover { text-decoration: none; filter: brightness(1.05); }
.form-actions { display: flex; gap: 16px; align-items: center; }
.form-msg { margin: 0; font-size: .88rem; color: var(--muted); min-height: 1.2em; }
.login-cta { margin: 0 0 16px; }
.login-cta.small { font-size: .9rem; }
.user-reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.user-review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.user-review > header { display: flex; gap: 12px; align-items: flex-start; }
.user-review h3 { margin: 0; }
.user-review > footer { display: flex; gap: 12px; margin-top: 8px; }
.vote { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 2px 12px; cursor: pointer; font-size: .85rem; }
.vote.on { border-color: var(--accent); color: var(--accent-text); }
.vote:disabled { cursor: default; opacity: .7; }
.comment-box { margin-top: 12px; }
section.comment-box { margin-top: 32px; }
.comment-box summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
.comments { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.comments li { padding: 8px 12px; background: var(--surface-2); border-radius: 8px; font-size: .93rem; }
.comments li time { color: var(--muted); font-size: .8rem; }
.comments li p { margin: 4px 0 0; white-space: pre-wrap; }
.comment-box form { display: grid; gap: 8px; justify-items: start; }

.list-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 12px 0 18px; }
.list-controls .sorts { margin: 0; }
.sorts { display: flex; gap: 8px; margin: 12px 0 18px; }
/* 출시 연도 범위: range 두 개를 한 트랙 위에 겹치고 손잡이만 잡히게 한다. --lo·--hi 는 선택 구간(%) */
.years { display: flex; align-items: center; gap: 10px; flex: 1 1 320px; max-width: 460px; color: var(--muted); font-size: .9rem; }
.years-label { white-space: nowrap; }
.years-range { position: relative; flex: 1; height: 28px; min-width: 140px; }
.years-range::before, .years-range::after { content: ''; position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; }
.years-range::before { left: 0; right: 0; background: var(--line); }
.years-range::after { left: var(--lo); right: calc(100% - var(--hi)); background: var(--accent); }
.years-range input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 1; }
.years-range input::-webkit-slider-runnable-track { background: none; height: 28px; }
.years-range input::-moz-range-track { background: none; }
.years-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; margin-top: 5px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); cursor: grab; }
.years-range input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); cursor: grab; }
.years-range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
.years-range input:focus-visible::-moz-range-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
.years-out { min-width: 92px; color: var(--text); font-variant-numeric: tabular-nums; font-weight: 600; }
.years button.years-apply { padding: 4px 12px; font-size: .85rem; }
.js .years-apply { display: none; }
.sorts a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .9rem; }
.sorts a[aria-current] { border-color: var(--text); color: var(--text); font-weight: 600; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; color: var(--muted); }

.prose { max-width: 760px; }
.prose li { margin-bottom: .5em; }

.bottom { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .9rem; padding: 24px 0 40px; }
.bottom .fine { font-size: .8rem; }

/* Discovery and image treatments */
html { scroll-padding-top: 150px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 30; padding: 12px 20px; background: var(--surface); }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.hero.wrap { padding-top: 32px; padding-bottom: 22px; }
.hero.wrap h1 { max-width: 24em; }
.featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; margin-bottom: 32px; }
.featured-art { min-width: 0; }
.featured-art > a { display: block; border-radius: 18px; overflow: hidden; }
.featured-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); letter-spacing: -.04em; margin: 0; }
.featured-copy > p:not(.kicker) { color: var(--muted); margin: 18px 0 24px; line-height: 1.8; }
.featured-copy .button { padding: 11px 22px; }
.platform-tiles { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.tile { min-height: 84px; padding: 12px; box-shadow: none; justify-content: center; }
.tile-icon { position: static; width: 27px; height: 27px; border-radius: 6px; margin-bottom: 8px; }
.tile-icon svg { width: 21px; height: 21px; }
.tile strong { font-size: .85rem; }
.tile-count { font-size: .72rem; }
.tile-covers { display: none; }
.cover { position: relative; overflow: hidden; isolation: isolate; }
.cover.card, .cover.feature { aspect-ratio: 16 / 9; border: 0; padding: 0; box-shadow: none; }
.cover.hero { aspect-ratio: 4 / 3; padding: 0; max-width: none; }
.cover img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.cover.media-logo { background: linear-gradient(145deg,hsl(var(--h) 35% 90%),#fff 60%,hsl(var(--h) 35% 94%)); }
.cover.media-logo img { object-fit: contain; padding: 30px; }
.cover.media-logo::after { content: ''; height: 5px; position: absolute; bottom: 0; left: 0; right: 0; background: hsl(var(--h) 40% 50%); }
.cover.generated, .cover.image-failed { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:24px; text-align:left; color:#fff; background:radial-gradient(ellipse at 110% -20%,hsl(calc(var(--h) + 35) 60% 50%),transparent 65%),linear-gradient(140deg,hsl(var(--h) 35% 24%),hsl(var(--h) 35% 12%)); }
.cover.generated::before, .cover.image-failed::before { content:''; position:absolute; width:170px; height:170px; border:1px solid #ffffff20; border-radius:32px; right:-40px; bottom:-90px; transform:rotate(35deg); z-index:-1; box-shadow:0 0 0 25px #ffffff06,0 0 0 50px #ffffff04; }
.cover .cover-eyebrow, .cover.generated .cover-eyebrow { font-size: .6rem; font-weight: 600; letter-spacing: .09em; opacity: .8; margin-bottom: 12px; }
.cover .cover-title { font-size:clamp(1.1rem,2vw,1.6rem); line-height:1.15; max-width:18ch; overflow-wrap:anywhere; letter-spacing:-.035em; }
.cover .cover-year, .cover.generated .cover-year { font-size:.7rem; font-weight:400; letter-spacing:.12em; margin-top:14px; opacity:.7; }
.cover.feature .cover-title { font-size:clamp(1.7rem,3vw,3rem); }
.cover.feature .cover-eyebrow { font-size:.7rem; }
.cover.feature.generated { padding:40px; }
.cover-fallback { display:none; }
.cover.image-failed .cover-fallback { display:flex; flex-direction:column; }
.card-link { height:auto; flex:1; }
article.card { display:flex; flex-direction:column; }
.card-body { padding:16px; }
.card .score { font-size:.78rem; box-shadow:0 1px 10px #0002; }
.card .summary { -webkit-line-clamp:2; line-height:1.6; }
.card-credit { padding:6px 16px 10px; font-size:.7rem; color:var(--muted); }
.card-credit summary, .image-credits summary { cursor:pointer; }
.genre-chips { display:flex; gap:8px; overflow-x:auto; padding:12px 0; scrollbar-width:thin; }
.genre-chips a { white-space:nowrap; border:1px solid var(--line); border-radius:7px; padding:5px 10px; font-size:.82rem; color:var(--muted); }
.genre-chips a[aria-current] { color:var(--accent-text); background:var(--surface); border-color:var(--accent-text); }
.sorts { flex-wrap:wrap; }
.library-link { color:var(--text); }
.game-head { grid-template-columns:minmax(220px,340px) minmax(0,1fr); align-items:center; }
.game-head h1 { font-size:clamp(1.7rem,3vw,2.7rem); letter-spacing:-.035em; }
.game-head .facts { margin-top:20px; font-size:.85rem; }
.steam-score { display:flex; flex-direction:column; gap:2px; }
.steam-score strong { font-size:1.3rem; color:var(--good); }
.steam-score span { font-size:.72rem; color:var(--muted); }
.save-control { display:flex; gap:12px; align-items:center; font-size:.85rem; }
.save-control select { max-width:180px; }
.image-credits { margin:12px 0; font-size:.75rem; color:var(--muted); }
.image-credits ul { padding-left:20px; }
.image-credits li { margin-bottom:8px; overflow-wrap:anywhere; }
.quick-take { display:grid; grid-template-columns:1.2fr 1fr; gap:36px; background:var(--surface); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:var(--radius); padding:26px; margin:28px 0 16px; }
.quick-verdict { font-size:1.13rem; line-height:1.8; margin:8px 0 16px; }
.quick-take h2 { font-size:.85rem; margin:0 0 8px; }
.quick-take ul { margin:0 0 16px; padding-left:18px; font-size:.88rem; }
.detail-nav { display:flex; flex-wrap:wrap; gap:8px 24px; padding:14px 0; border-bottom:1px solid var(--line); font-size:.88rem; }
.section-sources { font-size:.8rem; display:flex; gap:8px; }
.score-date { display:block; font-size:.7rem; color:var(--muted); font-weight:400; }
.image-gallery > div { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; }
.image-gallery figure { margin:0; }
.image-gallery .cover { aspect-ratio:16 / 9; border-radius:12px; }
.image-gallery figcaption { font-size:.75rem; margin-top:8px; }
.library-page { padding-top:32px; }
.saved-list { display:grid; gap:8px; }
.saved-row { display:flex; align-items:center; gap:16px; border:1px solid var(--line); border-radius:12px; background:var(--surface); padding:16px; }
.saved-row > a { flex:1; color:var(--text); font-weight:600; }
.saved-row select { max-width:150px; }
@media(max-width:760px) {
  .featured { grid-template-columns:1fr; gap:16px; }
  .featured-copy h2 { font-size:1.8rem; }
  .featured-copy > p:not(.kicker) { margin:10px 0 16px; }
  .platform-tiles { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .tile { min-height:70px; }
  .tile-icon { display:none; }
  .game-head { grid-template-columns:1fr; }
  .game-head .cover { aspect-ratio:16 / 9; width:100%; }
  .quick-take { grid-template-columns:1fr; gap:16px; padding:20px; }
  .quick-verdict { font-size:1rem; }
  .cover .cover-title { font-size:1.5rem; }
  .cover.feature.generated { padding:26px; }
  .saved-row { flex-wrap:wrap; gap:10px; }
  .saved-row > a { flex-basis:100%; }
}
@media(max-width:420px) {
  .top-row { gap:10px; }
  .top-actions { gap:8px; font-size:.78rem; }
  .brand span { font-size:.86rem; }
  .brand svg { width:22px; }
  .langs summary { padding:4px 6px; }
  .years { flex-wrap:wrap; }
  .years-range { min-width:100px; }
}
.card-score-label { position:absolute; top:13px; left:10px; padding:2px 7px; border-radius:5px; background:var(--surface); color:var(--muted); font-size:.62rem; }
.grid .cover.generated, .grid .cover.image-failed { padding-top:35px; }
@media (min-width:360px) and (max-width:640px) {
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .grid .cover { aspect-ratio:4 / 3; }
  .grid .cover.generated, .grid .cover.image-failed { padding:30px 12px 10px; }
  .grid .cover .cover-title { font-size:1rem; max-width:100%; }
  .grid .cover .cover-eyebrow, .grid .cover .cover-year { display:none; }
  .grid .cover.media-logo img { padding:25px 12px 12px; }
  .grid .card-body { padding:12px; }
  .grid .card h3 { font-size:.9rem; }
  .grid .card .meta { font-size:.68rem; }
  .grid .card .summary { font-size:.77rem; -webkit-line-clamp:2; }
  .grid .card-credit { padding:4px 12px 8px; font-size:.62rem; }
  .grid .card .score { font-size:.65rem; top:6px; right:6px; }
  .grid .card-score-label { top:8px; left:7px; font-size:.55rem; padding:1px 4px; }
}
.cover img[hidden] { display:none; }
