:root {
  --bg: #0f1020;
  --panel: #17182b;
  --panel-light: #20223a;
  --card: #1b1d31;
  --text: #f6f6fb;
  --muted: #999caf;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #7b61ff;
  --accent-bright: #9a85ff;
  --cyan: #55d7e8;
  --radius: 13px;
  --sidebar: 270px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.overline { margin: 0 0 8px; color: var(--accent-bright); font-size: 11px; font-weight: 800; letter-spacing: .15em; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  height: 72px; padding: 0 28px;
  display: grid; grid-template-columns: 260px minmax(260px, 680px) 1fr;
  gap: 24px; align-items: center;
  background: rgba(15, 16, 32, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
}
.logo { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 800; white-space: nowrap; }
.logo b { color: var(--accent-bright); }
.logo-icon { width: 34px; height: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 5px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #5136d6); box-shadow: 0 6px 22px rgba(123,97,255,.35); transform: rotate(-4deg); }
.logo-icon i { display: block; border-radius: 2px; background: white; opacity: .92; }
.search { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; background: var(--panel-light); }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(123,97,255,.16); }
.search svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; }
.search input::placeholder { color: #7d8095; }
.search kbd { padding: 2px 7px; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; background: #151628; font-size: 11px; }
.total-badge { justify-self: end; display: flex; align-items: baseline; gap: 7px; }
.total-badge strong { font-size: 20px; }.total-badge span { color: var(--muted); font-size: 9px; letter-spacing: .12em; }

.page-shell { width: 100%; min-height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar); }
.content { min-width: 0; padding: 48px clamp(22px, 4vw, 64px) 90px; }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.intro h1 { margin: 0; font-size: clamp(33px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.intro-copy { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.sort-control { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.sort-control select { height: 38px; padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--text); background: var(--panel); cursor: pointer; }
.active-filter { min-height: 52px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.active-filter > span { font-size: 17px; font-weight: 750; }.active-filter strong { color: var(--muted); font-size: 12px; font-weight: 500; }

.game-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 18px 10px; }
.game-card { min-width: 0; }
.game-card-link { display: block; color: inherit; text-decoration: none; }
.game-card-link:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 5px; border-radius: 10px; }
.thumb { aspect-ratio: 4 / 3; overflow: hidden; position: relative; border-radius: 10px; background: var(--panel-light); box-shadow: 0 7px 20px rgba(0,0,0,.18); transition: transform .18s ease, box-shadow .18s ease; }
.game-card:hover .thumb { transform: translateY(-4px); box-shadow: 0 13px 28px rgba(0,0,0,.35); }
.thumb img { width: 100%; height: 100%; display: block; object-fit: cover; image-rendering: auto; transition: transform .2s ease, opacity .12s ease; }
.thumb img.is-changing { opacity: .35; }
.game-card:hover .thumb img { transform: scale(1.035); }
.thumb::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(5,5,12,.72)); opacity: 0; transition: opacity .18s; }
.game-card:hover .thumb::after { opacity: 1; }
.platform-chip { position: absolute; z-index: 2; left: 8px; bottom: 8px; padding: 4px 7px; border-radius: 5px; color: #fff; background: rgba(15,16,32,.82); backdrop-filter: blur(6px); font-size: 9px; font-weight: 800; }
.platform-chip.is-3d { background: rgba(123,97,255,.88); }
.preview-chip { position: absolute; z-index: 2; top: 7px; right: 7px; padding: 4px 6px; border-radius: 5px; color: rgba(255,255,255,.86); background: rgba(15,16,32,.72); backdrop-filter: blur(5px); font-size: 8px; font-weight: 800; letter-spacing: .06em; opacity: .8; }
.game-card.is-previewing .preview-chip { color: #fff; background: rgba(123,97,255,.9); opacity: 1; }
.card-copy { padding: 10px 3px 0; }
.card-copy h2 { margin: 0 0 5px; overflow: hidden; color: #f2f2f8; font-size: 14px; line-height: 1.35; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.card-meta { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--muted); font-size: 11px; }
.card-meta span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.card-meta i { flex: 0 0 auto; width: 3px; height: 3px; border-radius: 50%; background: #56596e; }
.image-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: #6f7288; background: linear-gradient(135deg, #24263e, #17182a); font-size: 27px; font-weight: 900; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 5px; }
.pagination[hidden] { display: none; }
.pagination-top .page-button { min-width: 29px; height: 29px; border: 0; border-radius: 6px; color: #878a9d; background: transparent; font-weight: 500; }
.pagination-top .page-button:hover:not(:disabled) { color: #fff; border: 0; background: transparent; }
.pagination-top .page-button.active { color: #fff; font-weight: 900; }
.pagination-top .page-arrow { color: #696c80; font-weight: 500; }
.pagination-bottom { width: min(680px, 100%); min-height: 50px; margin: 42px auto 0; padding: 8px 10px; overflow-x: auto; }
.pagination-bottom .page-button { min-width: 35px; height: 35px; font-size: 15px; }
.pagination-bottom .page-arrow { font-size: 24px; }
.pagination-bottom .page-edge { font-size: 24px; letter-spacing: 0; line-height: 1; }
.pagination-bottom .page-ellipsis { font-size: 15px; }
.pagination-bottom .page-button:hover:not(:disabled) { background: #30324f; }
.pagination-bottom .page-button.active { color: #fff; border-color: var(--accent); background: var(--accent); box-shadow: 0 3px 10px rgba(123,97,255,.25); font-weight: 900; }
.page-button { min-width: 31px; height: 31px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; color: #aeb0bf; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; line-height: 1; vertical-align: middle; }
.page-button:hover:not(:disabled) { color: #fff; border-color: var(--line); background: var(--panel-light); }
.page-button:disabled { opacity: .28; cursor: default; }
.page-arrow { font-size: 18px; line-height: 1; }
.page-edge { font-size: 18px; letter-spacing: 0; line-height: 1; }
.page-icon { width: 17px; height: 17px; display: block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pagination-bottom .page-icon { width: 19px; height: 19px; }
.page-ellipsis { width: 22px; height: 31px; display: inline-flex; align-items: center; justify-content: center; color: #66697c; text-align: center; font-size: 11px; line-height: 1; }
.empty { padding: 90px 20px; text-align: center; color: var(--muted); }
.empty > span { width: 58px; height: 58px; display: inline-grid; place-items: center; border-radius: 17px; color: #fff; background: var(--panel-light); font-size: 28px; font-weight: 900; }
.empty h2 { margin: 20px 0 7px; color: var(--text); font-size: 21px; }.empty p { margin: 0 0 22px; }.empty button { padding: 10px 18px; border: 0; border-radius: 8px; background: var(--accent); cursor: pointer; }

.category-sidebar { position: sticky; top: 72px; align-self: start; height: calc(100vh - 72px); padding: 48px 24px; overflow-y: auto; border-left: 1px solid var(--line); background: rgba(23,24,43,.5); }
.category-sidebar > * { position: static; }
.sidebar-head { display: flex; align-items: start; justify-content: space-between; }
.sidebar-head h2 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.category-nav { margin-top: 26px; }
.category-group { margin-bottom: 27px; }
.category-group h3 { margin: 0 0 8px; color: #707388; font-size: 10px; letter-spacing: .13em; }
.category-button { width: 100%; min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 11px; border: 0; border-radius: 8px; color: #c1c3d0; background: transparent; cursor: pointer; text-align: left; font-size: 13px; transition: background .14s, color .14s; }
.category-button:hover { color: #fff; background: var(--panel-light); }
.category-button.active { color: #fff; background: linear-gradient(90deg, rgba(123,97,255,.28), rgba(123,97,255,.08)); box-shadow: inset 3px 0 var(--accent); }
.category-name { display: flex; align-items: center; gap: 10px; }
.category-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; color: var(--accent-bright); background: rgba(123,97,255,.12); font-size: 12px; font-weight: 800; }
.category-count { color: #777a8f; font-size: 10px; }
.category-button.active .category-count { color: #bcb0ff; }
.category-tail { display: flex; align-items: center; gap: 8px; }
.subcategory-list { display: none; margin-left: 26px; border-left: 1px solid transparent; }
.genre-accordion.open .subcategory-list { display: block; padding: 4px 0 7px 10px; }
.subcategory-button { width: 100%; min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 9px; border: 0; border-radius: 6px; color: #8f92a5; background: transparent; cursor: pointer; text-align: left; font-size: 11px; }
.subcategory-button:hover { color: #fff; background: rgba(255,255,255,.05); }
.subcategory-button.active { color: #fff; background: rgba(123,97,255,.18); }
.subcategory-button span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.subcategory-button small { flex: 0 0 auto; color: #686b7e; font-size: 9px; }
.subcategory-button.active small { color: #bcb0ff; }
.mobile-close, .mobile-category, .sidebar-backdrop { display: none; }

footer { min-height: 95px; padding: 28px clamp(22px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); background: #0c0d1a; }
footer span { color: #d9dae4; font-weight: 800; } footer small { font-size: 9px; letter-spacing: .1em; }

/* Game detail */
.detail-body { background: radial-gradient(circle at 72% 12%, rgba(123,97,255,.12), transparent 32rem), var(--bg); }
.detail-topbar { grid-template-columns: 1fr auto; }
.detail-back { justify-self: end; display: inline-flex; align-items: center; gap: 7px; color: #c9cad5; text-decoration: none; font-size: 13px; font-weight: 700; }
.detail-back:hover { color: #fff; }
.detail-back svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.detail-main { min-height: calc(100vh - 167px); padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 84px) 90px; }
.detail-hero { width: min(1500px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr); gap: clamp(34px, 5vw, 82px); align-items: start; }
.detail-gallery { min-width: 0; }
.detail-stage { position: relative; width: 100%; aspect-ratio: 16 / 10; display: block; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; color: #fff; background: #090a13; box-shadow: 0 30px 80px rgba(0,0,0,.45); cursor: zoom-in; }
.detail-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); pointer-events: none; }
.detail-stage > img { width: 100%; height: 100%; display: block; object-fit: contain; background: radial-gradient(circle, #1f2136, #0b0c16 72%); image-rendering: auto; }
.detail-expand { position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(10,11,21,.78); backdrop-filter: blur(10px); opacity: .75; transition: opacity .18s, transform .18s; }
.detail-stage:hover .detail-expand { opacity: 1; transform: scale(1.05); }
.detail-expand svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.detail-thumbnails { margin-top: 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.detail-thumbnails button { position: relative; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: #0b0c16; cursor: pointer; opacity: .55; transition: opacity .16s, border-color .16s, transform .16s; }
.detail-thumbnails button:hover { opacity: .85; transform: translateY(-2px); }
.detail-thumbnails button.active { border-color: var(--accent-bright); opacity: 1; box-shadow: 0 6px 20px rgba(123,97,255,.25); }
.detail-thumbnails img { width: 100%; height: 100%; display: block; object-fit: cover; }
.detail-thumbnails span { position: absolute; left: 6px; bottom: 5px; padding: 3px 5px; border-radius: 4px; color: #fff; background: rgba(9,10,19,.76); font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.detail-copy { position: sticky; top: 112px; padding-top: 10px; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.detail-platform, .detail-genre { padding: 6px 9px; border-radius: 6px; color: #d9d2ff; background: rgba(123,97,255,.15); font-size: 10px; font-weight: 800; }
.detail-platform.is-3d { color: #c8f8ff; background: rgba(85,215,232,.14); }
.detail-genre { color: #bfc1cf; background: rgba(255,255,255,.07); }
.detail-copy h1 { margin: 0; max-width: 13ch; font-size: clamp(38px, 4.3vw, 72px); line-height: .98; letter-spacing: -.055em; overflow-wrap: anywhere; }
.detail-original { margin: 17px 0 0; color: #a7a9ba; font-size: clamp(14px, 1.2vw, 18px); line-height: 1.5; }
.detail-facts { margin: 42px 0 0; border-top: 1px solid var(--line); }
.detail-facts > div { min-height: 54px; display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.detail-facts dt { color: #777a8e; font-size: 11px; font-weight: 700; }
.detail-facts dd { margin: 0; color: #e9e9f0; font-size: 13px; font-weight: 650; }
.detail-note { margin: 18px 0 0; color: #676a7d; font-size: 10px; line-height: 1.6; }
.detail-actions { margin-top: 24px; }
.play-game-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-bright)); box-shadow: 0 12px 30px rgba(123,97,255,.28); text-decoration: none; font-size: 14px; font-weight: 850; }
.play-game-button:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(123,97,255,.36); }
.play-body { min-height: 100vh; background: radial-gradient(circle at 50% 0, rgba(123,97,255,.14), transparent 35rem), #070810; }
.play-main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 72px; }
.play-heading { margin-bottom: 18px; }
.play-heading h1 { margin: 4px 0 7px; font-size: clamp(28px, 4vw, 48px); }
.play-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.emulator-shell { width: 100%; aspect-ratio: 4 / 3; min-height: 420px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #000; box-shadow: 0 28px 80px rgba(0,0,0,.5); }
.emulator-shell #game { width: 100%; height: 100%; }
.emulator-error { width: 100%; height: 100%; min-height: 420px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 28px; color: #ececf5; text-align: center; }
.emulator-error strong { font-size: 20px; }
.emulator-error p { max-width: 620px; margin: 0; color: #999caf; font-size: 13px; line-height: 1.7; }
.play-help { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: #8d90a3; font-size: 11px; }
.play-debug-status { margin: 14px 0 0; padding: 12px 14px; overflow: auto; border: 1px solid rgba(255,95,95,.28); border-radius: 8px; color: #ff9d9d; background: rgba(80,12,20,.2); font: 11px/1.55 Consolas, monospace; white-space: pre-wrap; }
.detail-image-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: #55586d; font-size: clamp(22px, 4vw, 52px); font-weight: 900; letter-spacing: .08em; }
.detail-not-found { min-height: calc(100vh - 167px); padding: 100px 20px; text-align: center; }
.detail-not-found strong { color: var(--accent-bright); font-size: 12px; letter-spacing: .18em; }
.detail-not-found h1 { margin: 16px 0 8px; font-size: 36px; }.detail-not-found p { color: var(--muted); }
.detail-not-found a { display: inline-block; margin-top: 18px; padding: 11px 17px; border-radius: 8px; color: #fff; background: var(--accent); text-decoration: none; font-weight: 700; }
.detail-footer { min-height: 95px; }
.image-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 64px 8vw; background: rgba(4,5,12,.94); backdrop-filter: blur(12px); }
.image-lightbox[hidden] { display: none; }
.image-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 20px 50px rgba(0,0,0,.6)); }
.lightbox-open { overflow: hidden; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 2; display: grid; place-items: center; border: 0; color: #fff; background: rgba(255,255,255,.09); cursor: pointer; }
.lightbox-close { top: 22px; right: 25px; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1; }
.lightbox-nav { top: 50%; width: 48px; height: 70px; border-radius: 12px; transform: translateY(-50%); font-size: 46px; font-weight: 200; }
.lightbox-prev { left: 22px; }.lightbox-next { right: 22px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(123,97,255,.72); }
.lightbox-count { position: absolute; bottom: 25px; left: 50%; padding: 7px 12px; border-radius: 18px; color: #d5d6df; background: rgba(255,255,255,.08); transform: translateX(-50%); font-size: 11px; font-weight: 800; letter-spacing: .08em; }

@media (max-width: 1680px) { .game-grid { grid-template-columns: repeat(7, minmax(0,1fr)); } }
@media (max-width: 1480px) { .game-grid { grid-template-columns: repeat(6, minmax(0,1fr)); } }
@media (max-width: 1240px) { .game-grid { grid-template-columns: repeat(5, minmax(0,1fr)); } }
@media (max-width: 1080px) {
  :root { --sidebar: 238px; }
  .topbar { grid-template-columns: 220px minmax(240px,1fr) auto; }
  .game-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .topbar { height: auto; min-height: 70px; padding: 12px 18px; grid-template-columns: 1fr auto; gap: 10px; }
  .search { grid-column: 1 / -1; grid-row: 2; }.total-badge { grid-column: 2; grid-row: 1; }
  .page-shell { display: block; }.content { padding: 38px 18px 80px; }.game-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .category-sidebar { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(310px, 88vw); height: auto; padding: 28px 22px; overflow-y: auto; border-left: 1px solid var(--line); background: #17182b; transform: translateX(105%); transition: transform .22s ease; }
  .category-sidebar.open { transform: translateX(0); }.category-sidebar > * { position: static; }.category-nav { margin-top: 27px; }
  .mobile-close { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 9px; background: var(--panel-light); cursor: pointer; font-size: 24px; }
  .mobile-category { position: fixed; z-index: 45; right: 17px; bottom: 18px; height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 17px; border: 0; border-radius: 24px; color: #fff; background: var(--accent); box-shadow: 0 9px 30px rgba(0,0,0,.42); cursor: pointer; font-weight: 700; }
  .mobile-category svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  .sidebar-backdrop { position: fixed; z-index: 55; inset: 0; background: rgba(4,5,12,.7); backdrop-filter: blur(2px); }.sidebar-backdrop.open { display: block; }
  .detail-topbar { min-height: 70px; grid-template-columns: 1fr auto; }
  .detail-main { padding: 26px 18px 70px; }
  .detail-hero { grid-template-columns: 1fr; gap: 38px; }
  .detail-copy { position: static; padding-top: 0; }
  .detail-copy h1 { max-width: 16ch; }
  .detail-badges { margin-bottom: 20px; }
  .detail-facts { margin-top: 30px; }
}
@media (max-width: 600px) {
  .logo { font-size: 16px; }.logo-icon { width: 31px; height: 31px; }.total-badge span { display: none; }
  .intro { align-items: start; }.intro-copy { max-width: 250px; }.sort-control > span { display: none; }.sort-control select { width: 105px; }
  .active-filter { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .pagination-top { width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .page-button { min-width: 28px; height: 28px; padding: 0 5px; }.pagination { gap: 3px; }
  .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 11px; }.card-copy h2 { font-size: 13px; }.card-meta { font-size: 10px; }
  footer { align-items: start; flex-direction: column; gap: 7px; }
  .detail-back { font-size: 0; }.detail-back svg { width: 24px; }
  .detail-stage { aspect-ratio: 4 / 3; border-radius: 13px; }
  .detail-thumbnails { grid-template-columns: repeat(5, 74px); gap: 8px; padding-bottom: 5px; overflow-x: auto; }
  .detail-thumbnails button { border-radius: 8px; }
  .detail-copy h1 { font-size: clamp(36px, 13vw, 56px); }
  .detail-facts > div { grid-template-columns: 80px 1fr; }
  .image-lightbox { padding: 60px 14px; }
  .lightbox-nav { top: auto; bottom: 18px; width: 45px; height: 45px; border-radius: 50%; transform: none; font-size: 34px; }
  .lightbox-prev { left: 18px; }.lightbox-next { right: 18px; }
  .lightbox-count { bottom: 27px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
