.knowledge-page { background: var(--black); }
.knowledge-page [hidden] { display: none !important; }
.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; }
.knowledge-hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.knowledge-hero > img, .knowledge-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.knowledge-hero > img { object-fit: cover; object-position: center; }
.knowledge-hero--strategy > img { object-position: center 58%; }
.knowledge-hero--control > img { object-position: center 42%; }
.knowledge-hero--tech > img { object-position: center 60%; }
.knowledge-hero--memes > img { object-position: center 45%; filter: saturate(.75) contrast(1.08); }
.knowledge-hero--races > img { object-position: center 48%; filter: saturate(.7) contrast(1.08); }
.knowledge-hero-overlay { background: rgba(0,0,0,.64); box-shadow: inset 520px 0 300px rgba(0,0,0,.65), inset 0 -160px 140px rgba(0,0,0,.8); }
.knowledge-hero-content { position: relative; z-index: 2; padding-top: 90px; }
.knowledge-hero h1 { max-width: 850px; margin: 20px 0 0; font-family: "F1 Wide", sans-serif; font-size: clamp(54px, 7vw, 94px); line-height: .94; }
.knowledge-hero h1 span { color: #d8fa43; }
.knowledge-hero p:not(.hero-label) { max-width: 670px; margin: 24px 0 0; color: #d0d2d5; font-size: 17px; line-height: 1.8; }
.knowledge-hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 9px 11px; color: var(--black); background: #d8fa43; font-size: 11px; font-weight: 700; }
.knowledge-hero-badge svg { width: 15px; height: 15px; }

.knowledge-subnav { position: sticky; z-index: 85; top: var(--header-height); color: #c8c9cc; background: #121316; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.knowledge-subnav .site-container { min-height: 56px; display: flex; align-items: center; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.knowledge-subnav .site-container::-webkit-scrollbar { display: none; }
.knowledge-subnav a { flex: 0 0 auto; font-size: 12px; }
.knowledge-subnav a:hover, .knowledge-subnav a[aria-current="page"] { color: #d8fa43; }

.knowledge-section { padding: 108px 0 116px; color: var(--ink); background: var(--paper); }
.knowledge-section-dark { color: var(--white); background: #111215; }
.knowledge-section-blue { color: var(--white); background: #10213a; }
.knowledge-heading { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 38px; }
.knowledge-heading h2 { max-width: 860px; margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.08; }
.knowledge-heading > div > p { max-width: 700px; margin: 23px 0 0; color: var(--paper-muted); font-size: 15px; line-height: 1.85; }
.knowledge-section-dark .knowledge-heading > div > p, .knowledge-section-blue .knowledge-heading > div > p { color: #aeb4bd; }

.strategy-duel { display: grid; grid-template-columns: 1fr 1fr; margin-top: 66px; border: 1px solid var(--paper-line); }
.strategy-column { padding: 34px; }
.strategy-column + .strategy-column { border-left: 1px solid var(--paper-line); }
.strategy-column > span { color: var(--red); font-family: "F1 Wide", sans-serif; font-size: 11px; }
.strategy-column h3 { margin: 14px 0 12px; font-size: 34px; }
.strategy-column > p { min-height: 76px; margin: 0; color: var(--paper-muted); line-height: 1.75; }
.strategy-sequence { margin-top: 32px; border-top: 2px solid var(--ink); }
.strategy-step { display: grid; grid-template-columns: 48px 92px 1fr; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--paper-line); align-items: start; }
.strategy-step b { color: var(--red); font-family: "F1 Wide", sans-serif; font-size: 10px; }
.strategy-step strong { font-size: 13px; }
.strategy-step p { margin: 0; color: var(--paper-muted); font-size: 13px; line-height: 1.65; }
.strategy-verdict { margin-top: 28px; padding: 18px; color: #24330b; background: #d8fa43; font-size: 13px; line-height: 1.7; }

.condition-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.condition { min-height: 270px; padding: 28px 28px 34px 0; }
.condition + .condition { padding-left: 28px; border-left: 1px solid var(--line); }
.condition svg { width: 25px; height: 25px; color: #d8fa43; }
.condition h3 { margin: 54px 0 12px; font-size: 21px; }
.condition p { margin: 0; color: #aeb4bd; font-size: 13px; line-height: 1.75; }

.strategy-lab { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); gap: 66px; margin-top: 66px; }
.lab-controls { border-top: 2px solid var(--white); }
.lab-control { padding: 22px 0; border-bottom: 1px solid var(--line); }
.lab-control-head { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.lab-control label { font-size: 14px; font-weight: 700; }
.lab-control output { color: #d8fa43; font-family: "F1 Wide", sans-serif; font-size: 12px; }
.lab-control p { margin: 8px 0 14px; color: #8f949c; font-size: 11px; line-height: 1.6; }
.lab-control input[type="range"] { width: 100%; accent-color: var(--red); }
.lab-result { min-height: 420px; padding: 34px; color: var(--ink); background: #d8fa43; display: flex; flex-direction: column; }
.lab-result small { font-family: "F1 Wide", sans-serif; font-size: 10px; }
.lab-result h3 { margin: 52px 0 12px; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; }
.lab-result > p { margin: 0; color: #354415; font-size: 15px; line-height: 1.75; }
.lab-margins { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: auto; padding-top: 30px; border-top: 1px solid rgba(7,7,7,.28); }
.lab-margin span { display: block; color: #536526; font-size: 10px; }
.lab-margin strong { display: block; margin-top: 8px; font-family: "F1 Wide", sans-serif; font-size: 25px; }
.lab-disclaimer { margin: 17px 0 0; color: #868a91; font-size: 10px; line-height: 1.65; }

.strategy-terms, .system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 60px; background: var(--paper-line); }
.strategy-term, .system-item { min-height: 230px; padding: 25px; background: var(--paper); }
.strategy-term small, .system-item small { color: var(--red); font-family: "F1 Wide", sans-serif; font-size: 10px; }
.strategy-term h3, .system-item h3 { margin: 48px 0 11px; font-size: 19px; }
.strategy-term p, .system-item p { margin: 0; color: var(--paper-muted); font-size: 13px; line-height: 1.7; }

.flag-console { display: grid; grid-template-columns: 280px 1fr; gap: 0; margin-top: 62px; border: 1px solid var(--paper-line); }
.flag-list { border-right: 1px solid var(--paper-line); }
.flag-list button { width: 100%; display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: center; padding: 18px; border: 0; border-bottom: 1px solid var(--paper-line); color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.flag-list button.is-active { color: var(--white); background: var(--red); }
.flag-dot { width: 22px; height: 14px; border: 1px solid rgba(7,7,7,.25); }
.flag-dot-yellow { background: #f4c430; }
.flag-dot-double { background: linear-gradient(#f4c430 0 42%, #111 42% 58%, #f4c430 58%); }
.flag-dot-red { background: var(--red); }
.flag-dot-blue { background: #3f86f5; }
.flag-dot-black-white { background: linear-gradient(135deg, #111 0 50%, #fff 50%); }
.flag-dot-check { background: repeating-conic-gradient(#fff 0 25%, #111 0 50%) 0 / 7px 7px; }
.flag-panel { min-height: 430px; padding: 42px; }
.flag-panel > span { color: var(--red); font-family: "F1 Wide", sans-serif; font-size: 11px; }
.flag-panel h3 { margin: 48px 0 16px; font-size: 42px; }
.flag-panel > p { max-width: 660px; color: var(--paper-muted); font-size: 15px; line-height: 1.8; }
.flag-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--paper-line); }
.flag-actions strong { display: block; font-size: 12px; }
.flag-actions span { display: block; margin-top: 8px; color: var(--paper-muted); font-size: 12px; line-height: 1.65; }

.control-compare { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 62px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-mode { min-height: 310px; padding: 28px; }
.control-mode + .control-mode { border-left: 1px solid var(--line); }
.control-mode small { color: #d8fa43; font-family: "F1 Wide", sans-serif; font-size: 10px; }
.control-mode h3 { margin: 66px 0 14px; font-size: 26px; }
.control-mode p { margin: 0; color: #aeb4bd; font-size: 13px; line-height: 1.75; }

.tech-switcher { display: flex; margin-top: 62px; border-bottom: 1px solid var(--line); }
.tech-switcher button { position: relative; padding: 0 28px 17px 0; margin-right: 26px; border: 0; color: #969ba3; background: transparent; font-weight: 700; cursor: pointer; }
.tech-switcher button.is-active { color: var(--white); }
.tech-switcher button.is-active::after { content: ""; position: absolute; right: 28px; bottom: -1px; left: 0; height: 2px; background: #d8fa43; }
.tech-panel { display: grid; grid-template-columns: 1fr 1fr; min-height: 390px; border-bottom: 1px solid var(--line); }
.tech-copy { padding: 42px 42px 42px 0; }
.tech-copy small { color: #d8fa43; font-family: "F1 Wide", sans-serif; font-size: 10px; }
.tech-copy h3 { margin: 56px 0 14px; font-size: 39px; }
.tech-copy p { margin: 0; color: #aeb4bd; line-height: 1.8; }
.tech-visual { position: relative; display: grid; place-items: center; border-left: 1px solid var(--line); overflow: hidden; }
.tech-wing { width: 58%; height: 22px; background: #67d9ec; transform: rotate(-13deg); transition: transform 220ms ease, background-color 220ms ease; }
.tech-panel[data-tech-panel="straight"] .tech-wing { transform: rotate(0); background: #d8fa43; }
.tech-visual::before, .tech-visual::after { content: ""; position: absolute; left: 18%; right: 18%; height: 1px; background: rgba(255,255,255,.18); }
.tech-visual::before { top: 34%; }
.tech-visual::after { bottom: 34%; }

.system-grid { background: #34373d; }
.system-item { color: var(--white); background: #181a1e; }
.system-item p { color: #aeb4bd; }

.knowledge-sources { padding: 84px 0; color: var(--white); background: var(--red); }
.knowledge-source-grid { display: grid; grid-template-columns: 230px 1fr; gap: 60px; }
.knowledge-source-grid h2 { margin: 0; font-size: 39px; }
.source-list-simple { border-top: 1px solid rgba(255,255,255,.35); }
.source-list-simple a { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.35); color: #ffd9d7; font-size: 12px; line-height: 1.55; }
.source-list-simple a:hover { color: var(--white); }
.source-list-simple svg { flex: 0 0 auto; width: 15px; height: 15px; }

.meme-note { display: grid; grid-template-columns: 180px 1fr; gap: 34px; margin-top: 58px; padding: 24px 28px; color: #2e1c00; background: #f0b323; }
.meme-note strong { font-family: "F1 Wide", sans-serif; font-size: 11px; }
.meme-note p { margin: 0; font-size: 13px; line-height: 1.75; }
.meme-tools { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: end; margin-top: 62px; }
.meme-dictionary-section { background: #17191d; }
.meme-dictionary-section .meme-search { border-bottom-color: #5c6068; background: #24262b; }
.meme-dictionary-section .meme-search input { color: var(--white); }
.meme-dictionary-section .meme-search input::placeholder { color: #8d9199; }
.meme-dictionary-section .meme-search button { color: #a8abb2; }
.meme-dictionary-section .meme-filters button { color: #b8bbc2; border-color: #50535a; }
.meme-dictionary-section .meme-count { color: #92969e; }
.meme-search { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-bottom: 1px solid #8b8d91; background: var(--white); }
.meme-search svg { width: 19px; height: 19px; color: var(--red); }
.meme-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 13px; }
.meme-search button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; color: #777; background: transparent; cursor: pointer; }
.meme-search button svg { width: 15px; height: 15px; }
.meme-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.meme-filters button { padding: 8px 12px; color: #5f6268; border: 1px solid #b9bab7; background: transparent; font-size: 12px; cursor: pointer; }
.meme-filters button.is-active, .meme-filters button:hover { color: var(--white); border-color: var(--red); background: var(--red); }
.meme-count { grid-column: 1 / -1; margin: 0; color: var(--paper-muted); font-size: 12px; }
.meme-count strong { color: var(--red); font-family: "F1 Wide", sans-serif; }
.meme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.meme-card { min-width: 0; min-height: 360px; display: flex; flex-direction: column; padding: 24px; color: var(--white); border-top: 3px solid var(--red); background: #24262b; box-shadow: inset 0 0 0 1px #30333a; }
.meme-card-meta { display: flex; justify-content: space-between; gap: 12px; color: #808187; font-size: 10px; }
.meme-card-meta span:first-child { color: var(--red); font-family: "F1 Wide", sans-serif; }
.meme-card blockquote { margin: 52px 0 18px; font-family: "F1 Wide", sans-serif; font-size: 24px; line-height: 1.15; }
.meme-card h3 { margin: 0 0 11px; font-size: 18px; }
.meme-card p { margin: 0; color: #b8bbc2; font-size: 13px; line-height: 1.72; }
.meme-card footer { margin-top: auto; padding-top: 22px; border-top: 1px solid #3b3e45; }
.meme-card footer span { display: block; color: #8f939b; font-size: 11px; line-height: 1.55; }
.meme-card footer a { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--red); font-size: 11px; font-weight: 700; }
.meme-card footer svg { width: 13px; height: 13px; }
.meme-card--radio { --radio-accent: #e10600; position: relative; isolation: isolate; min-height: 420px; color: var(--white); border-top: 0; background: #15171b; box-shadow: inset 0 0 0 1px #292c32; overflow: hidden; }
.meme-card--radio::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 4px; background: var(--radio-accent); }
.meme-card--radio::after { content: ""; position: absolute; z-index: -1; right: -64px; bottom: -64px; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.022), 0 0 0 68px rgba(255,255,255,.018); }
.radio-accent-ferrari { --radio-accent: #ff1e20; }
.radio-accent-mercedes { --radio-accent: #00a19c; }
.radio-accent-redbull { --radio-accent: #3671c6; }
.radio-accent-mclaren { --radio-accent: #ff8000; }
.radio-accent-lotus { --radio-accent: #d7b742; }
.radio-accent-racecontrol { --radio-accent: #f5c542; }
.radio-accent-generic { --radio-accent: #d8fa43; }
.meme-card--radio .meme-card-meta { color: #82868f; }
.meme-card--radio .meme-card-meta span:first-child { color: var(--radio-accent); }
.radio-signal { display: grid; grid-template-columns: minmax(88px, auto) minmax(72px, 1fr) auto; gap: 14px; align-items: center; min-height: 76px; margin: 17px -24px 0; padding: 11px 24px; border-top: 1px solid #34373e; border-bottom: 1px solid #34373e; background: #0d0f12; }
.radio-identity { min-width: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.radio-mode { grid-column: 1 / -1; margin-bottom: 4px; color: var(--radio-accent); font-family: "F1 Wide", sans-serif; font-size: 8px; line-height: 1.2; }
.radio-identity strong { color: var(--white); font-family: "F1 Wide", sans-serif; font-size: 17px; line-height: 1; }
.radio-channel { min-width: 0; color: #7d818a; font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-waveform { height: 33px; display: flex; align-items: center; justify-content: center; gap: 2px; overflow: hidden; }
.radio-waveform i { flex: 1 1 2px; max-width: 3px; height: var(--bar-height); min-height: 3px; background: var(--radio-accent); opacity: .9; transform-origin: center; animation: radio-pulse 900ms ease-in-out infinite alternate; animation-delay: var(--bar-delay); }
.radio-status { display: inline-flex; align-items: center; gap: 5px; color: #a9adb5; font-family: "F1 Wide", sans-serif; font-size: 7px; white-space: nowrap; }
.radio-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--radio-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--radio-accent) 18%, transparent); animation: radio-live 1.2s ease-in-out infinite; }
.meme-card--radio blockquote { margin: 28px 0 18px; padding-left: 14px; color: var(--white); border-left: 3px solid var(--radio-accent); font-size: 25px; }
.meme-card--compact-quote blockquote { font-size: 19px; }
.meme-card--radio h3 { color: var(--white); }
.meme-card--radio > p { color: #b4b7be; }
.meme-card--radio footer { border-top-color: #383b42; }
.meme-card--radio footer span { color: #8f939b; }
.meme-card--radio footer a { color: var(--radio-accent); }
@keyframes radio-pulse { from { transform: scaleY(.36); opacity: .45; } to { transform: scaleY(1); opacity: 1; } }
@keyframes radio-live { 50% { opacity: .35; } }
.meme-empty { margin: 38px 0 0; color: var(--paper-muted); text-align: center; }
.nickname-section { padding-top: 92px; background: #e7e7e3; border-top: 1px solid #c9c9c4; }
.nickname-tools { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: 58px; }
.nickname-search { width: min(540px, 100%); display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-bottom: 1px solid #888a8e; background: var(--white); }
.nickname-search > svg { width: 19px; height: 19px; color: var(--red); }
.nickname-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 13px; }
.nickname-search button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; color: #777; background: transparent; cursor: pointer; }
.nickname-search button svg { width: 15px; height: 15px; }
.nickname-tools > p { margin: 0; color: var(--paper-muted); font-size: 12px; }
.nickname-tools > p strong { color: var(--red); font-family: "F1 Wide", sans-serif; }
.nickname-roster-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 54px; padding-bottom: 13px; border-bottom: 2px solid var(--ink); }
.nickname-roster-title span { color: var(--red); font-family: "F1 Wide", sans-serif; font-size: 12px; }
.nickname-roster-title strong { color: #686a70; font-size: 12px; }
.nickname-roster-title--legacy { margin-top: 62px; }
.nickname-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; background: #c9c9c4; border: 1px solid #c9c9c4; }
.nickname-grid.is-filtered { display: block; background: transparent; border: 0; }
.nickname-grid.is-filtered .nickname-card { max-width: 640px; border: 1px solid #c9c9c4; }
.nickname-card { min-width: 0; min-height: 305px; display: grid; grid-template-columns: 58px minmax(0, 1fr); background: var(--paper); }
.nickname-index { display: flex; align-items: center; justify-content: center; color: #85878b; border-right: 1px solid var(--paper-line); font-family: "F1 Wide", sans-serif; font-size: 12px; writing-mode: vertical-rl; }
.nickname-card > div:last-child { padding: 24px 22px; }
.nickname-card small { color: var(--red); font-family: "F1 Wide", sans-serif; font-size: 9px; line-height: 1.5; }
.nickname-card--caution small { color: #7b5700; }
.nickname-card h3 { margin: 38px 0 13px; font-size: 18px; line-height: 1.25; }
.nickname-names { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px !important; }
.nickname-names strong, .nickname-names span { display: inline-flex; align-items: center; min-height: 29px; padding: 5px 8px; color: var(--white); background: var(--red); font-size: 12px; line-height: 1.3; }
.nickname-names span { color: #34363a; background: #deded9; }
.nickname-card > div:last-child > p:last-child { margin: 0; color: var(--paper-muted); font-size: 12px; line-height: 1.72; }
.nickname-empty { margin: 38px 0 0; color: var(--paper-muted); text-align: center; }
.community-band { padding: 86px 0; color: var(--white); background: #10213a; }
.community-band .knowledge-heading > div > p { color: #aeb4bd; }
.community-rules { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.community-rule { padding: 28px; }
.community-rule + .community-rule { border-left: 1px solid var(--line); }
.community-rule small { color: #67d9ec; font-family: "F1 Wide", sans-serif; }
.community-rule h3 { margin: 45px 0 12px; font-size: 21px; }
.community-rule p { margin: 0; color: #aeb4bd; font-size: 13px; line-height: 1.75; }

.race-availability { display: flex; gap: 14px; align-items: flex-start; margin-top: 55px; padding: 20px 22px; color: #332300; background: #f0b323; }
.race-availability svg { flex: 0 0 auto; width: 19px; height: 19px; }
.race-availability p { margin: 0; font-size: 12px; line-height: 1.75; }
.race-tools { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 22px 38px; margin-top: 58px; align-items: end; }
.race-search { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-bottom: 1px solid #888a8e; background: var(--white); }
.race-search > svg { width: 19px; height: 19px; color: var(--red); }
.race-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 13px; }
.race-search button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; color: #777; background: transparent; cursor: pointer; }
.race-search button svg { width: 15px; height: 15px; }
.race-filters, .spoiler-toggle { display: flex; flex-wrap: wrap; gap: 8px; }
.race-filters button, .spoiler-toggle button { padding: 8px 12px; color: #606269; border: 1px solid #b9bab7; background: transparent; font-size: 12px; cursor: pointer; }
.race-filters button.is-active, .race-filters button:hover, .spoiler-toggle button.is-active { color: var(--white); border-color: var(--red); background: var(--red); }
.race-tools-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.race-count { margin: 0; color: var(--paper-muted); font-size: 12px; }
.race-count strong { color: var(--red); font-family: "F1 Wide", sans-serif; }
.race-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.race-card { min-width: 0; min-height: 500px; display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: 200px minmax(0, 300px); background: var(--white); border-top: 3px solid var(--ink); overflow: hidden; }
.race-year { grid-row: 1 / -1; display: flex; justify-content: center; padding: 24px 17px; color: var(--white); background: var(--ink); font-family: "F1 Wide", sans-serif; font-size: 22px; writing-mode: vertical-rl; text-orientation: mixed; }
.race-media { position: relative; grid-column: 2; grid-row: 1; min-width: 0; height: 100%; margin: 0; overflow: hidden; background: #c9c9c4; }
.race-media::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.62)); pointer-events: none; }
.race-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 420ms ease; }
.race-card:hover .race-media img { transform: scale(1.025); }
.race-media figcaption { position: absolute; z-index: 2; right: 12px; bottom: 10px; left: 12px; color: rgba(255,255,255,.82); font-size: 8px; line-height: 1.4; text-align: right; }
.race-media figcaption a:hover { color: var(--white); }
.race-card-content { grid-column: 2; grid-row: 2; min-width: 0; min-height: 300px; display: flex; flex-direction: column; padding: 23px 24px; }
.race-card-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.race-card-meta span { padding: 5px 7px; color: #676970; border: 1px solid #d1d1cd; font-size: 9px; }
.race-card-meta span:first-child { color: var(--red); border-color: rgba(225,6,0,.35); }
.race-card h3 { margin: 27px 0 12px; font-size: 23px; line-height: 1.25; }
.race-card-content > p { margin: 0; color: var(--paper-muted); font-size: 13px; line-height: 1.75; }
.race-result { min-height: 54px; display: flex; align-items: flex-start; margin-top: 18px !important; padding-top: 15px; color: var(--ink) !important; border-top: 1px solid var(--paper-line); font-weight: 700; overflow-wrap: anywhere; }
.race-links { min-height: 43px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 9px; margin-top: auto; padding-top: 24px; }
.race-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 10px; border: 1px solid #c5c6c2; color: #55575d; font-size: 10px; font-weight: 700; }
.race-link-primary { color: var(--white); border-color: #1677ff; background: #1677ff; }
.classic-races-page .race-link-primary { display: none; }
.classic-races-page .race-link-primary.is-verified { display: inline-flex; }
.race-link svg { width: 13px; height: 13px; }
.race-card--featured { grid-column: 1 / -1; grid-template-columns: 76px minmax(0, 1.12fr) minmax(340px, .88fr); grid-template-rows: 470px; min-height: 470px; border-top-color: var(--red); }
.race-card--featured .race-year { grid-column: 1; grid-row: 1; background: var(--red); }
.race-card--featured .race-media { grid-column: 2; grid-row: 1; }
.race-card--featured .race-card-content { grid-column: 3; grid-row: 1; min-height: 0; padding: 30px; }
.race-card-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--red); font-family: "F1 Wide", sans-serif; font-size: 9px; }
.race-card-kicker svg { width: 14px; height: 14px; }
.race-card--featured h3 { margin-top: 34px; font-size: 29px; }
.race-empty { margin: 38px 0 0; color: var(--paper-muted); text-align: center; }
.watch-guide { padding: 86px 0; color: var(--white); background: #10213a; }
.watch-guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.watch-guide article { min-height: 245px; padding: 27px; }
.watch-guide article + article { border-left: 1px solid var(--line); }
.watch-guide small { color: #67d9ec; font-family: "F1 Wide", sans-serif; }
.watch-guide h3 { margin: 48px 0 11px; font-size: 20px; }
.watch-guide p { margin: 0; color: #aeb4bd; font-size: 13px; line-height: 1.75; }

@media (max-width: 960px) {
  .knowledge-heading { grid-template-columns: 120px 1fr; }
  .strategy-lab { gap: 38px; }
  .system-grid, .strategy-terms { grid-template-columns: repeat(2, 1fr); }
  .meme-grid { grid-template-columns: repeat(2, 1fr); }
  .nickname-grid { grid-template-columns: repeat(2, 1fr); }
  .race-card { grid-template-columns: 64px 1fr; }
  .race-card--featured { grid-template-columns: 64px minmax(0, 1fr) minmax(300px, .85fr); }
  .watch-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .watch-guide article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .watch-guide article:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .motion-ready .classic-races-page .reveal { opacity: 1; transform: none; }
  .knowledge-hero { min-height: 580px; align-items: flex-start; }
  .knowledge-hero-overlay { background: rgba(0,0,0,.65); box-shadow: inset 0 -180px 120px rgba(0,0,0,.84); }
  .knowledge-hero-content { padding-top: 145px; }
  .knowledge-hero h1 { font-size: 48px; }
  .knowledge-hero p:not(.hero-label) { font-size: 14px; }
  .knowledge-subnav { top: var(--header-height); }
  .knowledge-subnav .site-container { gap: 22px; }
  .knowledge-section { padding: 76px 0 84px; }
  .knowledge-heading { grid-template-columns: 1fr; gap: 18px; }
  .knowledge-heading h2 { font-size: 39px; }
  .strategy-duel, .strategy-lab, .source-line, .tech-panel { grid-template-columns: 1fr; }
  .strategy-column { padding: 26px 0; }
  .strategy-column + .strategy-column { border-top: 1px solid var(--paper-line); border-left: 0; }
  .strategy-column > p { min-height: 0; }
  .strategy-step { grid-template-columns: 38px minmax(0, 1fr); gap: 8px 12px; }
  .strategy-step strong { align-self: center; }
  .strategy-step p { grid-column: 2; }
  .condition-grid, .control-compare { grid-template-columns: 1fr; }
  .condition, .condition + .condition, .control-mode, .control-mode + .control-mode { min-height: 0; padding: 25px 0; border-left: 0; }
  .condition + .condition, .control-mode + .control-mode { border-top: 1px solid var(--line); }
  .condition h3, .control-mode h3 { margin-top: 28px; }
  .lab-result { min-height: 0; padding: 26px 20px; }
  .lab-result h3 { margin-top: 36px; font-size: 36px; }
  .lab-margins { gap: 12px; padding-top: 24px; }
  .lab-margin strong { font-size: 20px; }
  .system-grid, .strategy-terms { grid-template-columns: 1fr; }
  .strategy-term, .system-item { min-height: 0; }
  .flag-console { grid-template-columns: 1fr; }
  .flag-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; border-right: 0; border-bottom: 1px solid var(--paper-line); }
  .flag-list button { min-width: 0; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding: 15px 12px; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); font-size: 12px; }
  .flag-list button:nth-child(even) { border-right: 0; }
  .flag-list button:nth-last-child(-n + 2) { border-bottom: 0; }
  .flag-panel { min-height: 0; padding: 28px 0 0; }
  .flag-panel h3 { margin-top: 32px; font-size: 36px; }
  .flag-actions { grid-template-columns: 1fr; gap: 20px; }
  .tech-copy { padding: 30px 0; }
  .tech-copy h3 { margin-top: 34px; }
  .tech-visual { min-height: 260px; border-top: 1px solid var(--line); border-left: 0; }
  .knowledge-source-grid { grid-template-columns: 1fr; gap: 30px; }
  .meme-note, .meme-tools { grid-template-columns: 1fr; }
  .meme-note { gap: 10px; }
  .meme-count { grid-column: auto; }
  .meme-grid, .community-rules { grid-template-columns: 1fr; }
  .meme-card { min-height: 0; }
  .meme-card blockquote { margin-top: 34px; }
  .meme-card footer { margin-top: 28px; }
  .meme-card--radio { min-height: 0; }
  .radio-signal { grid-template-columns: minmax(86px, auto) minmax(70px, 1fr) auto; }
  .nickname-tools { align-items: flex-start; flex-direction: column; }
  .nickname-roster-title { align-items: flex-start; flex-direction: column; gap: 7px; }
  .nickname-grid { grid-template-columns: 1fr; }
  .nickname-card { min-height: 0; grid-template-columns: 48px minmax(0, 1fr); }
  .nickname-card > div:last-child { padding: 22px 18px; }
  .nickname-card h3 { margin-top: 28px; }
  .community-rule { padding: 25px 0; }
  .community-rule + .community-rule { border-top: 1px solid var(--line); border-left: 0; }
  .race-tools { grid-template-columns: 1fr; }
  .race-tools-bottom { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .race-grid, .watch-guide-grid { grid-template-columns: 1fr; }
  .race-card, .race-card--featured { min-height: 0; grid-column: auto; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: 178px auto; }
  .race-card--featured .race-year { grid-column: 1; grid-row: 1 / -1; }
  .race-media, .race-card--featured .race-media { grid-column: 2; grid-row: 1; }
  .race-card-content, .race-card--featured .race-card-content { grid-column: 2; grid-row: 2; min-height: 0; padding: 20px 18px; }
  .race-year { padding: 20px 12px; font-size: 18px; }
  .race-card h3 { margin-top: 27px; font-size: 20px; }
  .race-card--featured h3 { margin-top: 25px; }
  .race-result { min-height: 0; }
  .race-links { margin-top: 28px; }
  .race-link { justify-content: center; flex: 1 1 auto; }
  .watch-guide article { min-height: 0; padding: 25px 0; }
  .watch-guide article + article, .watch-guide article:nth-child(4) { border-top: 1px solid var(--line); border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .radio-waveform i, .radio-status::before { animation: none; }
  .race-media img { transition: none; }
}
