:root {
  --ink: #17201c;
  --muted: #718078;
  --paper: #f4f6f0;
  --card: #fbfcf8;
  --line: #dce3db;
  --green: #107c10;
  --lime: #c5f467;
  --purple: #7144d7;
  --orange: #e86f31;
  --blue: #2b83d6;
  --teal: #0f8f84;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Space Grotesk", sans-serif; }
.shell { width: calc(100% - clamp(28px, 6vw, 112px)); margin: 0 auto; padding: 58px 0 34px; }
.hero { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 48px; }
.eyebrow, footer, .status, .stat-label, .tier-count, .game-meta, .hero-mark small { font-family: "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow { margin: 0 0 20px; color: var(--green); font-size: 11px; font-weight: 500; }
h1 { margin: 0; font-size: clamp(42px, 6vw, 82px); line-height: .94; letter-spacing: -.075em; font-weight: 600; }
h1 em { color: var(--green); font-style: normal; }
.intro { max-width: 410px; margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.hero-mark { display: flex; align-items: center; gap: 15px; color: var(--green); }
.hero-mark span { font-size: 58px; line-height: 1; }
.hero-mark small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.toolbar { display: flex; gap: 14px; justify-content: space-between; border-top: 1px solid var(--ink); padding: 18px 0; }
.search-wrap { display: flex; align-items: center; width: min(350px, 100%); gap: 9px; border-bottom: 1px solid var(--line); color: var(--green); }
.search-wrap span { font-size: 27px; transform: rotate(-20deg); }
input { width: 100%; border: 0; outline: 0; background: transparent; padding: 11px 0; color: var(--ink); font: inherit; }
.view-toggle { display: flex; gap: 5px; }
.sort-wrap { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
select { border: 1px solid var(--line); border-radius: 99px; padding: 9px 28px 9px 12px; color: var(--ink); background: var(--card); font: 12px "DM Mono", monospace; }
button { border: 1px solid var(--line); border-radius: 99px; padding: 9px 15px; color: var(--muted); background: transparent; font: 500 12px "DM Mono", monospace; cursor: pointer; }
button:hover, button.active { border-color: var(--ink); color: var(--ink); background: var(--lime); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 26px; border-left: 1px solid var(--line); }
.stat { padding: 12px 18px; border-right: 1px solid var(--line); }
.stat-number { display: block; margin-bottom: 5px; font-size: 30px; letter-spacing: -.05em; }
.stat-label { color: var(--muted); font-size: 10px; }
.tier-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; }
.tier { min-height: 450px; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--card); }
.tier-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 16px; color: white; }
.tier-head.essential { background: var(--orange); } .tier-head.premium { background: var(--purple); } .tier-head.ultimate { background: var(--green); } .tier-head.console { background: var(--teal); } .tier-head.pc { background: var(--blue); }
.tier-name { margin: 0; font-size: 22px; letter-spacing: -.05em; }
.tier-count { font-size: 10px; opacity: .85; }
.games { padding: 5px 18px 15px; }
.game { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.3; }
.game:last-child { border-bottom: 0; }
.game img { width: 38px; height: 52px; flex: 0 0 38px; border-radius: 3px; object-fit: cover; background: var(--line); }
.game-copy { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 4px; width: 100%; }
.game-name { min-width: 0; overflow-wrap: anywhere; }
.game-meta { grid-column: 1; color: var(--muted); font-size: 9px; white-space: normal; }
.status { margin: 20px 0 0; color: var(--muted); font-size: 11px; }
footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 50px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }

@media (max-width: 900px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } .hero { align-items: flex-start; } }
@media (max-width: 600px) { .shell { width: min(100% - 28px, 1400px); padding-top: 32px; } .hero-mark { display: none; } .toolbar { display: block; } .search-wrap { width: 100%; margin-bottom: 14px; } .view-toggle { overflow-x: auto; } .view-toggle button { white-space: nowrap; } .sort-wrap { margin-top: 12px; } .stats { grid-template-columns: repeat(2, 1fr); } .stat { padding: 10px 12px; } .tier-grid { grid-template-columns: 1fr; } footer { display: block; } footer span { display: block; margin-bottom: 8px; } }
