@charset "UTF-8";

:root {
    --paper: #f3f5ef;
    --paper-strong: #ffffff;
    --ink: #0d100e;
    --ink-soft: #171b18;
    --text: #222824;
    --muted: #6c746e;
    --line: #dce1d9;
    --line-dark: #303730;
    --lime: #c8f45a;
    --lime-deep: #92c525;
    --mint: #55dfbd;
    --coral: #ff674e;
    --amber: #ffbf45;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(15, 21, 16, 0.08);
    --font-ui: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
    --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --container: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    border: 0;
    font: inherit;
}

button,
select {
    cursor: pointer;
}

img {
    border: 0;
    max-width: 100%;
    vertical-align: middle;
}

svg {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5 {
    letter-spacing: 0;
}

::selection {
    background: var(--lime);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 3px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--white);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-shell {
    min-height: 100vh;
    overflow: hidden;
}

.icon,
[data-lucide] {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.signal-bar {
    background: var(--ink);
    color: #b9c2b9;
    border-bottom: 1px solid #262c27;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.signal-bar__inner {
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.signal-label {
    color: #eef4e9;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.signal-dot,
.status-light {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(200, 244, 90, 0.12);
}

.signal-note {
    margin-right: auto;
}

.signal-index {
    color: #727b73;
    white-space: nowrap;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(15, 20, 16, 0.08);
}

.header-main {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    position: relative;
    background: var(--ink);
    color: var(--lime);
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    background: var(--lime);
}

.brand-mark::before {
    width: 8px;
    height: 1px;
    right: 4px;
    top: 5px;
}

.brand-mark::after {
    width: 1px;
    height: 8px;
    left: 5px;
    bottom: 4px;
}

.brand-mark span {
    font-family: var(--font-mono);
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-1px);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-size: 21px;
    font-weight: 800;
    color: var(--ink);
}

.brand-copy small {
    margin-top: 6px;
    color: #8a918b;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.14em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 2px;
}

.nav-link {
    height: 100%;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    color: #485049;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-link [data-lucide] {
    width: 15px;
    height: 15px;
    color: #8c958d;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: -1px;
    left: 13px;
    height: 2px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-link.is-active [data-lucide] {
    color: var(--lime-deep);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-search {
    height: 40px;
    width: 224px;
    padding: 0 8px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: #f7f8f4;
    transition: border-color 180ms ease, background 180ms ease;
}

.header-search:focus-within {
    border-color: #a6b0a5;
    background: var(--white);
}

.header-search > [data-lucide] {
    width: 15px;
    height: 15px;
    color: #7e877f;
    flex: 0 0 auto;
}

.header-search input {
    width: 100%;
    min-width: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    outline: 0;
}

.header-search input::placeholder {
    color: #99a099;
}

.header-search button {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--ink);
    background: var(--lime);
}

.header-search button [data-lucide] {
    width: 14px;
    height: 14px;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    display: none;
    place-items: center;
    background: var(--ink);
    color: var(--white);
}

.mobile-nav {
    border-top: 1px solid var(--line);
    background: var(--paper-strong);
}

.mobile-nav__inner {
    padding-top: 18px;
    padding-bottom: 22px;
}

.mobile-search {
    height: 46px;
    padding-left: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.mobile-search input {
    min-width: 0;
    flex: 1;
    background: transparent;
    outline: 0;
}

.mobile-search button {
    align-self: stretch;
    padding: 0 20px;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
}

.mobile-nav nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.mobile-nav nav a {
    min-height: 47px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 20px 1fr 14px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    font-weight: 600;
}

.mobile-nav nav a.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.mobile-nav nav a [data-lucide]:last-child {
    width: 14px;
    height: 14px;
    color: #8f978f;
}

.mobile-nav__meta {
    padding-top: 14px;
    display: flex;
    gap: 20px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
}

/* Shared layout */
.section {
    padding: 76px 0;
}

.section--tight {
    padding: 46px 0;
}

.section--dark {
    position: relative;
    background: var(--ink);
    color: var(--white);
}

.section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 56px 56px;
}

.section--dark > .container {
    position: relative;
}

.section-head {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
}

.section-head__copy {
    max-width: 700px;
}

.eyebrow {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #69726b;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--coral);
}

.section--dark .eyebrow {
    color: #919b92;
}

.section-title {
    margin-bottom: 0;
    color: var(--ink);
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.14;
    font-weight: 800;
}

.section-title em {
    color: transparent;
    font-style: normal;
    -webkit-text-stroke: 1px #899188;
}

.section--dark .section-title {
    color: var(--white);
}

.section--dark .section-title em {
    -webkit-text-stroke-color: #505950;
}

.section-subtitle {
    max-width: 560px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.section--dark .section-subtitle {
    color: #a1aaa2;
}

.section-link {
    flex: 0 0 auto;
    padding-bottom: 3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.section-link [data-lucide] {
    width: 15px;
    height: 15px;
    transition: transform 160ms ease;
}

.section-link:hover [data-lucide] {
    transform: translate(2px, -2px);
}

.section--dark .section-link {
    border-color: #596158;
    color: var(--white);
}

.btn {
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn [data-lucide] {
    width: 16px;
    height: 16px;
}

.btn--lime {
    background: var(--lime);
    color: var(--ink);
}

.btn--lime:hover {
    background: #d4fb73;
}

.btn--ink {
    background: var(--ink);
    color: var(--white);
}

.btn--outline {
    border-color: var(--line-dark);
    color: var(--white);
    background: rgba(255,255,255,0.03);
}

.btn--outline:hover {
    border-color: #747d74;
    background: rgba(255,255,255,0.07);
}

.btn--light-outline {
    border-color: var(--line);
    color: var(--ink);
    background: var(--white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.text-link [data-lucide] {
    width: 14px;
    height: 14px;
}

.tag {
    min-height: 24px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: #586159;
    background: var(--white);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.tag--lime {
    border-color: rgba(146, 197, 37, 0.3);
    background: rgba(200, 244, 90, 0.12);
    color: #698e16;
}

.tag--coral {
    border-color: rgba(255, 103, 78, 0.3);
    background: rgba(255, 103, 78, 0.1);
    color: #ce412c;
}

.tag--mint {
    border-color: rgba(48, 181, 148, 0.28);
    background: rgba(85, 223, 189, 0.12);
    color: #188b70;
}

.tag--amber {
    border-color: rgba(201, 139, 12, 0.28);
    background: rgba(255, 191, 69, 0.13);
    color: #9b6813;
}

.tag--dark {
    border-color: #353d35;
    background: #202520;
    color: #c6cec5;
}

.avatar-fallback {
    display: grid;
    place-items: center;
    background: #e7eadf;
    color: #576055;
    font-weight: 800;
}

/* Hero */
.home-hero {
    padding: 20px 0 0;
}

.hero-console {
    min-height: 570px;
    position: relative;
    overflow: hidden;
    background: #111511;
    color: var(--white);
    isolation: isolate;
}

.hero-console__bg {
    position: absolute;
    z-index: -3;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52%;
    background-position: center;
    background-size: cover;
    filter: saturate(0.86) contrast(1.05);
    opacity: 0.55;
}

.hero-console::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    background: linear-gradient(90deg, #111511 0%, rgba(17,21,17,0.86) 26%, rgba(17,21,17,0.2) 100%);
}

.hero-console::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.hero-grid {
    min-height: 570px;
    padding: 48px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(310px, 0.78fr);
    align-items: center;
    gap: 54px;
}

.hero-kicker {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-kicker span:first-child {
    padding: 5px 8px;
    background: var(--lime);
    color: var(--ink);
    font-weight: 800;
}

.hero-title {
    max-width: 700px;
    margin-bottom: 24px;
    font-size: clamp(44px, 6.4vw, 86px);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-title span {
    display: block;
    margin-top: 13px;
    color: #9ba49b;
    font-size: 0.3em;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hero-description {
    max-width: 590px;
    margin-bottom: 27px;
    color: #bbc4bb;
    font-size: 15px;
    line-height: 1.8;
}

.hero-meta {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-meta span {
    padding: 6px 9px;
    border: 1px solid #3c443c;
    background: rgba(255, 255, 255, 0.025);
    color: #c3cbc2;
    font-family: var(--font-mono);
    font-size: 10px;
}

.hero-meta strong {
    color: var(--white);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-visual {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-poster {
    width: min(100%, 340px);
    aspect-ratio: 1 / 1.18;
    position: relative;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(12, 15, 12, 0.54);
    backdrop-filter: blur(12px);
    box-shadow: 28px 28px 0 rgba(0,0,0,0.18);
}

.hero-poster::before,
.hero-poster::after {
    content: "";
    position: absolute;
    background: var(--lime);
}

.hero-poster::before {
    width: 28px;
    height: 2px;
    top: -1px;
    left: 18px;
}

.hero-poster::after {
    width: 2px;
    height: 28px;
    top: 18px;
    right: -1px;
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.9) contrast(1.06);
}

.hero-poster__label {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(11, 14, 11, 0.88);
    backdrop-filter: blur(8px);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.08em;
}

.hero-poster__label strong {
    color: var(--lime);
}

.hero-rating {
    position: absolute;
    z-index: 2;
    top: 30px;
    right: -18px;
    width: 92px;
    padding: 12px 10px;
    background: var(--lime);
    color: var(--ink);
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.hero-rating strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 32px;
    line-height: 1;
}

.hero-rating span {
    display: block;
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.08em;
}

.hero-corner-index {
    position: absolute;
    left: 24px;
    bottom: 20px;
    color: #667066;
    font-family: var(--font-mono);
    font-size: 9px;
    writing-mode: vertical-rl;
}

.intel-ticker {
    margin-top: 12px;
    min-height: 42px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    border: 1px solid var(--line);
    background: var(--white);
}

.ticker-label {
    align-self: stretch;
    padding: 0 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.ticker-label [data-lucide] {
    width: 14px;
    height: 14px;
    color: var(--lime);
}

.ticker-window {
    min-width: 0;
    overflow: hidden;
}

.ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    animation: ticker 42s linear infinite;
}

.ticker-window:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #4e574f;
    font-size: 12px;
    white-space: nowrap;
}

.ticker-item::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--coral);
    border-radius: 50%;
}

.ticker-item time {
    color: #949c95;
    font-family: var(--font-mono);
    font-size: 9px;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Homepage */
.metric-strip {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.metric-item {
    min-height: 112px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-right: 1px solid var(--line);
}

.metric-item:last-child {
    border-right: 0;
}

.metric-item::before {
    content: attr(data-index);
    position: absolute;
    top: 12px;
    right: 14px;
    color: #b8bfb7;
    font-family: var(--font-mono);
    font-size: 8px;
}

.metric-item strong {
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: clamp(25px, 2.5vw, 34px);
    line-height: 1;
}

.metric-item span {
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
}

.featured-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
    gap: 22px;
}

.lead-story {
    min-height: 470px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.lead-story__media {
    position: absolute;
    inset: 0;
}

.lead-story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    transition: transform 400ms ease;
}

.lead-story:hover .lead-story__media img {
    transform: scale(1.025);
}

.lead-story__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,11,9,.04) 30%, rgba(8,11,9,.92) 100%);
}

.lead-story__content {
    position: relative;
    padding: 44px;
}

.lead-story__meta {
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.lead-story__meta time,
.lead-story__meta span {
    color: #d2d8d1;
    font-family: var(--font-mono);
    font-size: 10px;
}

.lead-story h3 {
    max-width: 780px;
    margin-bottom: 14px;
    font-size: clamp(26px, 3.3vw, 48px);
    line-height: 1.16;
    font-weight: 800;
    text-wrap: balance;
}

.lead-story p {
    max-width: 720px;
    margin-bottom: 22px;
    color: #c0c7bf;
    font-size: 14px;
}

.story-stack {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    background: var(--white);
}

.story-compact {
    min-height: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--line);
    transition: background 160ms ease;
}

.story-compact:last-child {
    border-bottom: 0;
}

.story-compact:hover {
    background: #f8faf5;
}

.story-compact__top {
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.story-compact time {
    color: #8f978f;
    font-family: var(--font-mono);
    font-size: 9px;
}

.story-compact h3 {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 750;
}

.story-compact p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.story-compact__game {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #687069;
    font-size: 10px;
}

.story-compact__game img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.article-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.article-card:hover {
    transform: translateY(-3px);
    border-color: #c9d0c7;
    box-shadow: var(--shadow);
}

.article-card__media {
    aspect-ratio: 16 / 9.4;
    position: relative;
    overflow: hidden;
    background: #e5e8e1;
}

.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.article-card:hover .article-card__media img {
    transform: scale(1.03);
}

.article-card__index {
    position: absolute;
    top: 11px;
    right: 11px;
    padding: 4px 7px;
    background: rgba(13,16,14,.85);
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 8px;
}

.article-card__body {
    padding: 20px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.article-card__meta {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #8b938c;
    font-family: var(--font-mono);
    font-size: 9px;
}

.article-card h3 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.4;
    font-weight: 750;
}

.article-card__summary {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.article-card__footer {
    margin-top: auto;
    padding-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #edf0ea;
    color: #7c847d;
    font-size: 10px;
}

.article-card__footer [data-lucide] {
    width: 14px;
    height: 14px;
    color: var(--ink);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.game-card {
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.game-card:hover {
    transform: translateY(-3px);
    border-color: #bdc5ba;
    box-shadow: var(--shadow);
}

.game-card__media {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: #e7eae2;
}

.game-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.game-card:hover .game-card__media img {
    transform: scale(1.035);
}

.game-card__rank {
    position: absolute;
    top: 8px;
    left: 8px;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    background: rgba(13,16,14,0.88);
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 9px;
}

.game-card__score {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 6px;
    background: var(--lime);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 800;
}

.game-card__body {
    padding: 13px 5px 6px;
}

.game-card__genre {
    display: block;
    margin-bottom: 5px;
    color: #8b938c;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.game-card h3 {
    margin-bottom: 6px;
    overflow: hidden;
    color: var(--ink);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-card__highlight {
    margin-bottom: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-grid--dark .game-card {
    border-color: #2c332c;
    background: #171b17;
}

.game-grid--dark .game-card__body h3 {
    color: var(--white);
}

.game-grid--dark .game-card__highlight {
    color: #8d978e;
}

.category-matrix {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.category-tile {
    min-height: 205px;
    padding: 26px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
}

.category-tile::after {
    content: attr(data-code);
    position: absolute;
    right: 17px;
    bottom: -22px;
    color: #f0f2ec;
    font-family: var(--font-mono);
    font-size: 78px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.category-tile__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.category-tile h3 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}

.category-tile__count {
    color: #818a82;
    font-family: var(--font-mono);
    font-size: 10px;
    white-space: nowrap;
}

.category-tile p {
    max-width: 430px;
    margin: 16px 0 22px;
    color: var(--muted);
    font-size: 12px;
}

.category-tile .text-link {
    position: relative;
    z-index: 1;
    align-self: flex-start;
}

.category-tile--coral {
    background: #fff3ef;
    border-color: #f2d9d2;
}

.category-tile--mint {
    background: #eaf9f4;
    border-color: #cdebe2;
}

.category-tile--amber {
    background: #fff8e8;
    border-color: #efe2c5;
}

.category-tile--lime {
    background: #f2f8e5;
    border-color: #dce8c9;
}

.ranking-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
}

.rank-row {
    min-height: 83px;
    padding: 14px 0;
    display: grid;
    grid-template-columns: 34px 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #2c332c;
}

.rank-row__number {
    color: #687168;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
}

.rank-row:nth-child(1) .rank-row__number,
.rank-row:nth-child(2) .rank-row__number,
.rank-row:nth-child(3) .rank-row__number {
    color: var(--lime);
}

.rank-row img {
    width: 54px;
    height: 54px;
    border-radius: 4px;
    object-fit: cover;
}

.rank-row__info {
    min-width: 0;
}

.rank-row__info h3 {
    margin-bottom: 3px;
    overflow: hidden;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row__info p {
    margin-bottom: 0;
    overflow: hidden;
    color: #818b82;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row__score {
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
}

.genre-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.genre-chip {
    min-height: 36px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    background: var(--white);
    color: #3f4841;
    font-size: 12px;
    transition: border-color 160ms ease, background 160ms ease;
}

.genre-chip:hover {
    border-color: #aeb8aa;
    background: #f9faf6;
}

.genre-chip span {
    color: #949c95;
    font-family: var(--font-mono);
    font-size: 9px;
}

.genre-chip:nth-child(4n+1) span {
    color: #79a61e;
}

.genre-chip:nth-child(4n+2) span {
    color: #d74c36;
}

.genre-chip:nth-child(4n+3) span {
    color: #168c70;
}

/* Page headers */
.page-head {
    padding: 58px 0 42px;
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.page-head::after {
    content: attr(data-code);
    position: absolute;
    top: 50%;
    right: 3vw;
    transform: translateY(-50%);
    color: #1f241f;
    font-family: var(--font-mono);
    font-size: clamp(100px, 18vw, 240px);
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.page-head .container {
    position: relative;
    z-index: 1;
}

.page-head--light {
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.page-head--light::after {
    color: #e6e9e2;
}

.page-head h1 {
    max-width: 850px;
    margin-bottom: 12px;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 850;
    line-height: 1.08;
}

.page-head p {
    max-width: 680px;
    margin-bottom: 0;
    color: #a4ada4;
    font-size: 14px;
}

.page-head--light p {
    color: var(--muted);
}

.breadcrumbs {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #8e978f;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.breadcrumbs a:hover {
    color: var(--lime);
}

.breadcrumbs [data-lucide] {
    width: 10px;
    height: 10px;
}

.page-head--light .breadcrumbs {
    color: #7d867e;
}

.page-head--light .breadcrumbs a:hover {
    color: var(--ink);
}

/* Article listing */
.listing-shell {
    padding: 38px 0 80px;
}

.listing-top {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.listing-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.listing-tabs a {
    min-height: 37px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    background: var(--white);
    color: #626b63;
    font-size: 11px;
    font-weight: 600;
}

.listing-tabs a.is-active,
.listing-tabs a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.listing-count {
    color: #8c948c;
    font-family: var(--font-mono);
    font-size: 10px;
    white-space: nowrap;
}

.listing-feature {
    margin-bottom: 26px;
}

.article-grid--listing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-empty {
    padding: 76px 24px;
    border: 1px solid var(--line);
    background: var(--white);
    text-align: center;
}

.listing-empty [data-lucide] {
    width: 34px;
    height: 34px;
    margin: 0 auto 15px;
    color: #a3aba3;
}

.listing-empty h2 {
    margin-bottom: 8px;
    font-size: 24px;
}

.listing-empty p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* Game library */
.library-hero {
    padding: 50px 0;
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.library-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 44px 44px;
}

.library-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
}

.library-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(42px, 5.8vw, 72px);
    line-height: 1.02;
    font-weight: 850;
}

.library-hero p {
    max-width: 660px;
    margin-bottom: 0;
    color: #aeb7ae;
    font-size: 14px;
}

.library-hero__stats {
    display: flex;
    gap: 28px;
}

.library-hero__stat {
    min-width: 88px;
    padding-left: 15px;
    border-left: 1px solid #343b34;
}

.library-hero__stat strong {
    display: block;
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 27px;
    line-height: 1;
}

.library-hero__stat span {
    display: block;
    margin-top: 8px;
    color: #858f86;
    font-size: 10px;
}

.filter-panel {
    margin: -28px 0 32px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 14px 45px rgba(15, 21, 16, 0.06);
}

.filter-form {
    padding: 20px 22px;
}

.filter-search-row {
    display: flex;
    gap: 9px;
}

.filter-search {
    min-height: 46px;
    padding: 0 14px;
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    background: #f8f9f5;
}

.filter-search [data-lucide] {
    width: 16px;
    height: 16px;
    color: #7c857d;
}

.filter-search input {
    width: 100%;
    min-width: 0;
    background: transparent;
    outline: 0;
}

.filter-search-row .btn {
    min-width: 94px;
}

.filter-grid {
    margin-top: 13px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 9px;
    align-items: end;
}

.filter-field {
    min-width: 0;
}

.filter-field label {
    display: block;
    margin-bottom: 6px;
    color: #8a928b;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.filter-field select {
    width: 100%;
    height: 40px;
    padding: 0 34px 0 11px;
    appearance: none;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3e%3cpath d='M1 1l4 4 4-4' fill='none' stroke='%236c746e'/%3e%3c/svg%3e") no-repeat right 11px center;
    color: #39413a;
    font-size: 11px;
    outline: 0;
}

.filter-reset {
    height: 40px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    color: #626b63;
    background: var(--paper);
    font-size: 11px;
}

.filter-reset [data-lucide] {
    width: 14px;
    height: 14px;
}

.library-toolbar {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.library-toolbar p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.library-toolbar p strong {
    color: var(--ink);
    font-family: var(--font-mono);
}

.sort-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sort-links a {
    padding: 5px 9px;
    border: 1px solid transparent;
    color: #717a72;
    font-size: 10px;
}

.sort-links a.is-active {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
    font-weight: 700;
}

.library-main {
    padding-bottom: 80px;
}

.game-grid--library {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.game-card--library .game-card__media {
    aspect-ratio: 1 / 0.92;
}

.game-card--library .game-card__body {
    padding: 15px 7px 8px;
}

.game-card--library h3 {
    font-size: 17px;
}

.game-card__meta-row {
    margin-top: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #8b938c;
    font-family: var(--font-mono);
    font-size: 8px;
}

.game-card__platforms {
    display: flex;
    gap: 4px;
}

.platform-dot {
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border: 1px solid #d9ded6;
    border-radius: 50%;
    color: #667067;
    font-family: var(--font-mono);
    font-size: 7px;
    font-weight: 700;
}

.platform-dot.android {
    border-color: #bcdda6;
    background: #eef8e7;
    color: #55852a;
}

.platform-dot.ios {
    border-color: #cfd5cf;
    background: #f2f4f1;
    color: #444b45;
}

.platform-dot.harmony {
    border-color: #f0cfb7;
    background: #fff3ea;
    color: #a65b29;
}

/* Pagination */
.pagination {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.page-number,
.page-arrow {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--white);
    color: #596259;
    font-family: var(--font-mono);
    font-size: 11px;
}

.page-number:hover,
.page-arrow:hover,
.page-number.is-current {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.page-total {
    margin-left: 6px;
    color: #8a928b;
    font-family: var(--font-mono);
    font-size: 9px;
}

/* Game detail */
.game-detail-hero {
    min-height: 490px;
    position: relative;
    overflow: hidden;
    background: #101410;
    color: var(--white);
    isolation: isolate;
}

.game-detail-hero__bg {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-position: center;
    background-size: cover;
    filter: blur(9px) saturate(0.75);
    transform: scale(1.06);
    opacity: 0.36;
}

.game-detail-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,14,11,.98), rgba(11,14,11,.55));
}

.game-detail-hero__inner {
    min-height: 490px;
    padding: 54px 0;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 230px;
    align-items: center;
    gap: 38px;
}

.game-detail-icon {
    aspect-ratio: 1;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.04);
}

.game-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-detail-copy .breadcrumbs {
    margin-bottom: 18px;
}

.game-detail-copy h1 {
    margin-bottom: 10px;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.04;
    font-weight: 850;
}

.game-detail-highlight {
    max-width: 700px;
    margin-bottom: 22px;
    color: #bdc6bc;
    font-size: 16px;
    line-height: 1.75;
}

.game-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.game-detail-tags span {
    padding: 5px 9px;
    border: 1px solid #3c443c;
    color: #c5cdc4;
    font-family: var(--font-mono);
    font-size: 9px;
}

.game-score-panel {
    padding: 22px;
    border: 1px solid #333a33;
    background: rgba(14,18,14,.75);
    backdrop-filter: blur(12px);
}

.game-score-panel__label {
    margin-bottom: 11px;
    color: #8d978e;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.1em;
}

.game-score-panel__value {
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
}

.game-score-panel__value span {
    color: #677067;
    font-size: 16px;
}

.game-score-panel__bar {
    height: 4px;
    margin: 18px 0 11px;
    background: #2c332c;
}

.game-score-panel__bar span {
    height: 100%;
    display: block;
    background: var(--lime);
}

.game-score-panel p {
    margin-bottom: 18px;
    color: #8e988f;
    font-size: 10px;
}

.game-downloads {
    display: grid;
    gap: 7px;
}

.game-downloads .btn {
    justify-content: space-between;
    min-height: 40px;
    font-size: 11px;
}

.game-details {
    padding: 54px 0 80px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 34px;
}

.detail-main {
    min-width: 0;
}

.detail-panel {
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--white);
}

.detail-panel + .detail-panel {
    margin-top: 20px;
}

.detail-panel__head {
    margin-bottom: 23px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 15px;
}

.detail-panel__head h2 {
    margin-bottom: 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.2;
}

.detail-panel__head span {
    color: #8a928b;
    font-family: var(--font-mono);
    font-size: 9px;
}

.game-description {
    color: #444c46;
    font-size: 15px;
    line-height: 1.95;
}

.game-description p:last-child {
    margin-bottom: 0;
}

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
}

.game-info-row {
    min-height: 54px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #edf0ea;
}

.game-info-row span {
    color: #858e86;
    font-size: 11px;
}

.game-info-row strong {
    color: #2d352f;
    font-size: 12px;
    text-align: right;
}

.detail-sidebar {
    position: sticky;
    top: 102px;
}

.side-card {
    border: 1px solid var(--line);
    background: var(--white);
}

.side-card + .side-card {
    margin-top: 18px;
}

.side-card__head {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.side-card__head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 750;
}

.side-card__head span {
    color: #949c95;
    font-family: var(--font-mono);
    font-size: 8px;
}

.side-game-list {
    padding: 6px 18px 14px;
}

.side-game-row {
    padding: 12px 0;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid #eff1ec;
}

.side-game-row:last-child {
    border-bottom: 0;
}

.side-game-row img {
    width: 46px;
    height: 46px;
    border-radius: 4px;
    object-fit: cover;
}

.side-game-row h3 {
    margin-bottom: 2px;
    overflow: hidden;
    color: var(--ink);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-game-row p {
    margin: 0;
    color: #939b94;
    font-size: 9px;
}

.side-game-row > span {
    color: #6e9970;
    font-family: var(--font-mono);
    font-size: 10px;
}

.side-article-list {
    padding: 5px 18px 15px;
}

.side-article-list a {
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid #edf0ea;
    color: #3f4841;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.side-article-list a:last-child {
    border-bottom: 0;
}

.side-article-list time {
    display: block;
    margin-top: 4px;
    color: #949c95;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 400;
}

/* Article detail */
.article-head {
    padding: 52px 0 42px;
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.article-head::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 52px 52px;
}

.article-head .container {
    position: relative;
}

.article-head__inner {
    max-width: 980px;
}

.article-head h1 {
    margin: 16px 0 22px;
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 1.14;
    font-weight: 820;
    text-wrap: balance;
}

.article-head__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    color: #9da69e;
    font-size: 11px;
}

.article-head__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-head__meta [data-lucide] {
    width: 13px;
    height: 13px;
}

.article-head__meta strong {
    color: #d7dfd6;
    font-weight: 500;
}

.article-body-wrap {
    padding: 46px 0 80px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 34px;
}

.article-main {
    min-width: 0;
}

.article-cover {
    margin-bottom: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #dfe3da;
}

.article-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.article-content {
    padding: 42px 48px;
    border: 1px solid var(--line);
    background: var(--white);
    color: #343c36;
    font-size: 16px;
    line-height: 2;
    overflow-wrap: anywhere;
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-content > *:last-child {
    margin-bottom: 0;
}

.article-content p {
    margin-bottom: 1.1em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 1.8em 0 0.7em;
    color: var(--ink);
    line-height: 1.35;
}

.article-content h2 {
    padding-left: 14px;
    border-left: 4px solid var(--lime);
    font-size: 26px;
}

.article-content h3 {
    font-size: 21px;
}

.article-content img {
    height: auto;
    margin: 24px auto;
    border-radius: 4px;
}

.article-content a {
    color: #49720d;
    border-bottom: 1px solid rgba(73, 114, 13, 0.3);
}

.article-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 3px solid var(--coral);
    background: #f7f8f3;
    color: #586159;
}

.article-content ul,
.article-content ol {
    padding-left: 1.5em;
}

.article-content table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    font-size: 13px;
}

.article-content th,
.article-content td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    text-align: left;
}

.article-source {
    margin-top: 20px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--line);
    background: #f8f9f5;
    font-size: 11px;
    color: var(--muted);
}

.article-source p {
    margin: 0;
}

.article-source a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-weight: 700;
}

.article-source [data-lucide] {
    width: 14px;
    height: 14px;
}

.article-related-game {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
}

.article-related-game__media {
    aspect-ratio: 16 / 9;
    background: #e4e7df;
}

.article-related-game__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-related-game__body {
    padding: 20px;
}

.article-related-game__body span {
    color: #909891;
    font-family: var(--font-mono);
    font-size: 8px;
}

.article-related-game__body h2 {
    margin: 7px 0;
    font-size: 20px;
}

.article-related-game__body p {
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 11px;
}

/* Search */
.search-page {
    padding: 54px 0 80px;
}

.search-form-large {
    max-width: 850px;
    margin-bottom: 46px;
    display: flex;
    border-bottom: 2px solid var(--ink);
}

.search-form-large [data-lucide] {
    width: 23px;
    height: 23px;
    align-self: center;
    color: #747d75;
}

.search-form-large input {
    min-width: 0;
    flex: 1;
    padding: 15px 16px;
    background: transparent;
    color: var(--ink);
    font-size: clamp(20px, 3vw, 34px);
    outline: 0;
}

.search-form-large button {
    min-width: 96px;
    align-self: stretch;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
}

.search-summary {
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 12px;
}

.search-summary strong {
    color: var(--ink);
}

.search-section + .search-section {
    margin-top: 48px;
}

.search-section__head {
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-section__head h2 {
    margin: 0;
    font-size: 22px;
}

.search-section__head span {
    color: #909890;
    font-family: var(--font-mono);
    font-size: 9px;
}

.search-article-list {
    border-top: 1px solid var(--line);
}

.search-article-row {
    min-height: 92px;
    padding: 18px 4px;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.search-article-row img {
    width: 105px;
    height: 64px;
    object-fit: cover;
}

.search-article-row h3 {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.4;
}

.search-article-row p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.search-article-row time {
    color: #909890;
    font-family: var(--font-mono);
    font-size: 9px;
    white-space: nowrap;
}

/* Rankings */
.ranking-page {
    padding: 44px 0 80px;
}

.ranking-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.ranking-block {
    border: 1px solid var(--line);
    background: var(--white);
}

.ranking-block__head {
    padding: 24px 25px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.ranking-block__head h2 {
    margin: 0;
    font-size: 27px;
}

.ranking-block__head span {
    color: #929a93;
    font-family: var(--font-mono);
    font-size: 9px;
}

.ranking-list {
    padding: 0 22px;
}

.ranking-list .rank-row {
    grid-template-columns: 34px 58px minmax(0, 1fr) auto;
    border-bottom-color: var(--line);
}

.ranking-list .rank-row__info h3 {
    color: var(--ink);
}

.ranking-list .rank-row__info p {
    color: #8a928b;
}

.ranking-list .rank-row__number {
    color: #8b948c;
}

.ranking-list .rank-row:nth-child(1) .rank-row__number,
.ranking-list .rank-row:nth-child(2) .rank-row__number,
.ranking-list .rank-row:nth-child(3) .rank-row__number {
    color: #78a51e;
}

.ranking-list .rank-row__score {
    color: #6d9717;
}

/* Footer */
.site-footer {
    background: #0c0f0d;
    color: #a1aaa2;
}

.footer-top {
    padding: 60px 0 44px;
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.7fr 1.2fr;
    gap: 48px;
}

.brand--footer .brand-mark {
    border: 1px solid #3a423a;
}

.brand--footer .brand-copy strong {
    color: var(--white);
}

.footer-brand > p {
    max-width: 360px;
    margin: 19px 0 21px;
    color: #818b82;
    font-size: 12px;
    line-height: 1.8;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7e887f;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.06em;
}

.footer-status strong {
    color: var(--lime);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-column h2 {
    margin-bottom: 8px;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-column a {
    color: #8e978f;
    font-size: 12px;
}

.footer-column a:hover {
    color: var(--lime);
}

.footer-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.footer-data span {
    padding-bottom: 10px;
    border-bottom: 1px solid #242a25;
    color: #727c73;
    font-size: 9px;
}

.footer-data strong {
    display: block;
    margin-bottom: 3px;
    color: #d7ded6;
    font-family: var(--font-mono);
    font-size: 16px;
}

.footer-bottom {
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid #222823;
    color: #626b63;
    font-size: 9px;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono);
    white-space: nowrap;
}

.footer-legal a:hover {
    color: var(--lime);
}

.back-to-top {
    position: fixed;
    z-index: 90;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--white);
    border: 1px solid #3b433b;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--lime);
    color: var(--ink);
}

/* Responsive */
@media (max-width: 1120px) {
    .header-main {
        gap: 16px;
    }

    .nav-link {
        padding: 0 9px;
    }

    .header-search {
        width: 185px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
        gap: 34px;
    }

    .game-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .game-grid--library {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .game-detail-hero__inner {
        grid-template-columns: 210px minmax(0, 1fr) 210px;
        gap: 28px;
    }

    .footer-top {
        grid-template-columns: 1.4fr 0.7fr 0.7fr;
    }

    .footer-column--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 940px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: grid;
    }

    .header-search {
        width: 240px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero-console__bg {
        width: 100%;
        opacity: 0.2;
    }

    .hero-console::before {
        width: 100%;
        background: linear-gradient(90deg, rgba(17,21,17,.9), rgba(17,21,17,.4));
    }

    .hero-visual {
        display: none;
    }

    .hero-console,
    .hero-grid {
        min-height: 500px;
    }

    .featured-layout {
        grid-template-columns: 1fr;
    }

    .story-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
        border-top: 0;
    }

    .story-compact {
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .story-compact:last-child {
        border-right: 0;
    }

    .category-matrix {
        grid-template-columns: 1fr 1fr;
    }

    .game-detail-hero__inner {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .game-score-panel {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 22px;
    }

    .game-score-panel__label,
    .game-score-panel p {
        display: none;
    }

    .game-score-panel__bar {
        margin: 0;
    }

    .game-downloads {
        grid-column: 3;
        grid-row: 1;
        grid-template-columns: 1fr 1fr;
    }

    .game-downloads .btn {
        min-width: 140px;
    }

    .detail-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .side-card + .side-card {
        margin-top: 0;
    }

    .ranking-panel,
    .ranking-columns {
        grid-template-columns: 1fr;
    }

    .filter-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .filter-reset {
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .signal-bar__inner {
        gap: 12px;
    }

    .signal-note,
    .signal-index {
        display: none;
    }

    .header-main {
        min-height: 64px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy small {
        font-size: 7px;
    }

    .header-search {
        width: 40px;
        padding: 0;
        justify-content: center;
        border: 0;
        background: transparent;
    }

    .header-search input,
    .header-search button {
        display: none;
    }

    .header-search > [data-lucide] {
        width: 19px;
        height: 19px;
        color: var(--ink);
    }

    .mobile-nav nav {
        grid-template-columns: 1fr;
    }

    .home-hero {
        padding-top: 12px;
    }

    .hero-console,
    .hero-grid {
        min-height: 465px;
    }

    .hero-grid {
        padding: 34px 0;
    }

    .hero-kicker {
        margin-bottom: 17px;
        font-size: 8px;
    }

    .hero-title {
        margin-bottom: 18px;
        font-size: clamp(40px, 13vw, 62px);
    }

    .hero-title span {
        margin-top: 9px;
        font-size: 0.27em;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions .btn {
        flex: 1;
    }

    .intel-ticker {
        grid-template-columns: 1fr;
    }

    .ticker-label {
        min-height: 34px;
        justify-content: center;
    }

    .metric-strip {
        grid-template-columns: 1fr 1fr;
    }

    .metric-item {
        min-height: 92px;
        padding: 18px;
    }

    .metric-item:nth-child(2) {
        border-right: 0;
    }

    .metric-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .section {
        padding: 54px 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 31px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .lead-story {
        min-height: 420px;
    }

    .lead-story__content {
        padding: 27px;
    }

    .lead-story h3 {
        font-size: 27px;
    }

    .story-stack {
        grid-template-columns: 1fr;
        border-top: 1px solid var(--line);
    }

    .story-compact {
        padding: 19px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .article-grid,
    .article-grid--listing {
        grid-template-columns: 1fr;
    }

    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .game-card__body {
        padding: 12px 3px 5px;
    }

    .game-grid--library {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-matrix {
        grid-template-columns: 1fr;
    }

    .category-tile {
        min-height: 180px;
        padding: 22px;
    }

    .ranking-panel {
        gap: 0;
    }

    .rank-row {
        grid-template-columns: 28px 48px minmax(0, 1fr) auto;
        gap: 11px;
    }

    .rank-row img {
        width: 48px;
        height: 48px;
    }

    .page-head {
        padding: 38px 0 31px;
    }

    .page-head::after {
        right: -5vw;
        opacity: 0.65;
    }

    .page-head h1 {
        font-size: 39px;
    }

    .listing-shell {
        padding-top: 25px;
    }

    .listing-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .library-hero {
        padding: 38px 0 55px;
    }

    .library-hero__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .library-hero__stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .filter-panel {
        margin-top: 0;
    }

    .filter-form {
        padding: 14px;
    }

    .filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-reset {
        grid-column: 1 / -1;
    }

    .library-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .game-detail-hero__inner {
        padding: 34px 0;
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 20px;
    }

    .game-detail-hero {
        min-height: 0;
    }

    .game-detail-copy h1 {
        font-size: 35px;
    }

    .game-detail-highlight {
        grid-column: 1 / -1;
        font-size: 13px;
    }

    .game-detail-tags {
        grid-column: 1 / -1;
    }

    .game-score-panel {
        display: block;
    }

    .game-score-panel__label {
        display: block;
    }

    .game-score-panel p {
        display: block;
    }

    .game-downloads {
        grid-template-columns: 1fr 1fr;
    }

    .game-downloads .btn {
        min-width: 0;
    }

    .game-details {
        padding-top: 30px;
    }

    .detail-panel {
        padding: 22px;
    }

    .game-info-grid {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        grid-template-columns: 1fr;
    }

    .article-head {
        padding: 38px 0 31px;
    }

    .article-head h1 {
        font-size: 34px;
    }

    .article-body-wrap {
        padding-top: 26px;
    }

    .article-content {
        padding: 25px 20px;
        font-size: 15px;
        line-height: 1.9;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-source {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-page {
        padding-top: 34px;
    }

    .search-form-large button {
        min-width: 70px;
    }

    .search-article-row {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 13px;
    }

    .search-article-row img {
        width: 80px;
        height: 58px;
    }

    .search-article-row time {
        display: none;
    }

    .ranking-page {
        padding-top: 30px;
    }

    .ranking-block__head {
        padding: 20px;
    }

    .ranking-list {
        padding: 0 16px;
    }

    .footer-top {
        padding: 45px 0 35px;
        grid-template-columns: 1fr 1fr;
        gap: 34px 22px;
    }

    .footer-brand,
    .footer-column--wide {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 430px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .filter-reset {
        grid-column: auto;
    }

    .game-details .breadcrumbs {
        display: none;
    }

    .game-downloads {
        grid-template-columns: 1fr;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
