:root {
  --ink: #FAFAFB;
  --muted: #B9BED3;
  --night: #040C1D;
  --night-soft: #10172A;
  --paper: #040C1D;
  --surface: #141C30;
  --line: #242B46;
  --lime: #c8ef70;
  --coral: #FEB683;
  --warm-light: #FAFAFB;
  --warm-border: #5F4B45;
  --editorial-label: #C49BB5;
  --briefing-night: #10172A;
  --chrome-warm: #1E1A28;
  --chrome-warm-line: #342D3E;
  --header-height: 68px;
  --blue: #C49BB5;
  --surface-raised: #10172A;
  --surface-hover: #1B2643;
  --control-line: #647099;
  --cream: #FEE9D0;
  --shadow: 0 18px 55px rgba(0, 0, 0, .28);
  --radius: 18px;
}

html { min-height: 100%; background: #040C1D; color-scheme: dark; font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; padding-top: var(--header-height); color: var(--ink); background: var(--paper); font-family: "Manrope", "Segoe UI", Inter, system-ui, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button, input, textarea, select { font: inherit; }
h2 { font-size: 1.35em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.container-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.container-narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 .6rem; color: #6871d9; font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.button-row.compact { margin-top: 1.2rem; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .65rem 1rem; border: 1px solid transparent; border-radius: 999px; font-size: .86rem; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--night); background: var(--lime); }
.button-secondary { border-color: #a9a597; background: transparent; }
.button-secondary.dark { color: var(--warm-light); border-color: #647099; }
.button-light { border-color: #4D3D61; border-radius: 14px; background: linear-gradient(180deg, #41334F 0%, #342840 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px rgba(0,0,0,.18); color: #FFF2E4; }
.button-danger { background: #ffe2dc; color: #972b1e; border-color: #ffc0b5; }
.button-small { min-height: 36px; padding: .4rem .8rem; font-size: .78rem; }
.text-link, .text-button { padding: 0; border: 0; color: #545ed0; background: none; font-size: .83rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.disabled-link { color: #8b8b8f; font-size: .82rem; font-weight: 700; }
.status-tag { display: inline-flex; width: fit-content; padding: .2rem .48rem; border-radius: 999px; color: #494f22; background: #edf9c8; font-size: .65rem; font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.site-header { position: fixed; z-index: 50; top: 0; right: 0; left: 0; border-bottom: 1px solid rgba(36,43,70,.86); background: linear-gradient(180deg, rgba(4,12,29,.88) 0%, rgba(3,12,28,.74) 100%); backdrop-filter: blur(14px); }
.site-nav { display: flex; min-height: 68px; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .45rem; color: var(--warm-light); font-family: inherit; font-size: 1.15rem; font-weight: 750; white-space: nowrap; }
.brand-wordmark-base { color: #FEE9D0; }
.brand-wordmark-accent { color: #EE936E; background: linear-gradient(180deg, #EE936E 0%, #A23461 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-logo { display:block; width:54px; height:48px; object-fit:contain; opacity:1; filter:none; mix-blend-mode:normal; }
.main-navigation { align-items: center; justify-content: space-between; gap: 1.5rem; }
.main-navigation > ul { display: flex; margin: 0 auto; padding: 0; align-items: center; gap: clamp(.85rem, 2vw, 1.8rem); list-style: none; }
.main-navigation > ul a { position: relative; display: block; padding: 1.45rem 0; color: var(--warm-light); font-size: .82rem; font-weight: 650; }
.main-navigation > ul a::after { position: absolute; right: 0; bottom: 1rem; left: 0; height: 2px; background: var(--coral); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.main-navigation > ul a:hover::after, .main-navigation > ul a.active::after { transform: scaleX(1); }
.account-nav { position: relative; display: flex; align-items: center; gap: .7rem; }
.account-nav form { display: flex; }
.account-nav .text-button, .profile-action-link { color: var(--coral); font-size: .76rem; font-weight: 800; text-decoration: none; text-underline-offset: 0; }
.account-nav .text-button:hover, .profile-action-link:hover { color: var(--coral); text-decoration: underline; text-underline-offset: 4px; }
.account-link { display: flex; padding: 0; border: 0; align-items: center; gap: .45rem; background: none; color: var(--warm-light); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.profile-toggle { cursor: pointer; }
.account-avatar { display: grid; width: 32px; height: 32px; overflow:hidden; place-items: center; border: 1px solid rgba(255,255,255,.68); border-radius: 50%; background: white; }.account-avatar img, .large-avatar img, .comment-avatar img { display:block; width:100%; height:100%; object-fit:cover; opacity:1; filter:none; mix-blend-mode:normal; }
.account-avatar-guest { background: #3F444D; }
.profile-popover { position: absolute; z-index: 100; top: calc(100% + .8rem); right: 0; width: min(340px, calc(100vw - 32px)); padding: 1.15rem; border: 1px solid transparent; border-radius: 14px; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(180deg, #EE936E 0%, #A23461 100%) border-box; box-shadow: 0 20px 48px rgba(0,0,0,.38), 0 0 28px rgba(162,52,97,.15); }
.profile-popover > header { display: flex; padding: .78rem 1.15rem; margin: -1.15rem -1.15rem 1rem; border-bottom: 1px solid rgba(238,147,110,.35); border-radius: 13px 13px 0 0; align-items: center; justify-content: space-between; background: linear-gradient(180deg, rgba(238,147,110,.18) 0%, rgba(162,52,97,.16) 100%); color: var(--cream); font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.profile-close { display: grid; width: 28px; height: 28px; padding: 0; border: 0; place-items: center; border-radius: 50%; background: #2d3344; color: var(--warm-light); cursor: pointer; font-size: 1.25rem; line-height: 1; }
.profile-close:hover { background: #202638; color: var(--warm-light); }
.profile-popover > p { color: var(--muted); font-size: .8rem; }
.menu-toggle { display: none; margin-left: auto; padding: .4rem; border: 0; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--warm-light); }

.hero-section { position: relative; overflow: hidden; margin-top: calc(var(--header-height) * -1); padding-top: var(--header-height); color: var(--warm-light); background: var(--night); }
.hero-section::before { position: absolute; z-index: 0; inset: 0; background: url("../images/space-background.png") center / cover no-repeat; content: ""; pointer-events: none; }
.hero-section::after { position: absolute; z-index: 1; inset: 0; background: none; content: ""; pointer-events: none; }
.hero-3d-canvas { position:absolute; z-index:2; inset:0; display:block; width:100%; height:100%; opacity:0; pointer-events:none; transition:opacity 1.25s ease; }
.hero-section.is-3d-ready .hero-3d-canvas { opacity:1; }
.hero-grid { position: relative; z-index: 3; display: grid; min-height: 500px; padding-block: 3rem; align-items: center; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
.hero-copy { display: block; max-width: 470px; padding-top: .8rem; align-self: start; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hero-copy .eyebrow { color: var(--coral); }
.hero-copy h1 { margin: 0; font-family: inherit; font-size: clamp(2.15rem, 4.25vw, 3.75rem); font-weight: 750; letter-spacing: 0; line-height: .9; }
.hero-copy h1 em { color: var(--coral); font-weight: 500; }
.hero-lead { margin: 1.35rem 0 .35rem; font-size: clamp(1.1rem, 1.75vw, 1.4rem); font-weight: 650; }
.hero-description { max-width: 450px; color: #b9bed3; font-size: .9rem; }
.hero-section .button-secondary { color: var(--warm-light); border-color: #5a627f; }
.home-briefing-card { --briefing-coral: var(--coral); --briefing-coral-border: var(--warm-border); --briefing-coral-line: #242B46; overflow:hidden; padding: 1.35rem 1.5rem; border: 1px solid var(--briefing-coral-border); border-radius: var(--radius); background: linear-gradient(180deg, rgba(16,23,42,.88) 0%, rgba(16,23,42,.74) 100%); box-shadow: 0 24px 80px rgba(0,0,0,.24); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.briefing-card-heading { display:flex; padding:.85rem 1.5rem; margin:-1.35rem -1.5rem .85rem; border-bottom:1px solid var(--briefing-coral-line); background:rgba(21,29,51,.7); color:var(--briefing-coral); font-size:.7rem; font-weight:850; letter-spacing:.14em; text-transform:uppercase; }
.briefing-section { padding: .9rem 0; border-top: 1px solid var(--briefing-coral-line); }
.briefing-section:first-of-type { border-top: 0; }
.briefing-section-heading { display: flex; margin-bottom: .6rem; align-items: center; justify-content: space-between; gap: .7rem; color: var(--editorial-label); font-size: .66rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.briefing-section-heading a { color: var(--briefing-coral); font-size: .62rem; letter-spacing: 0; text-transform: none; }
.briefing-watch-group + .briefing-watch-group { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--briefing-coral-line); }
.briefing-subsection-heading { display: flex; margin-bottom: .35rem; align-items: center; justify-content: space-between; gap: .7rem; color: var(--warm-light); font-size: .68rem; font-weight: 750; }
.briefing-subsection-heading a { color: var(--briefing-coral); font-size: .62rem; font-weight: 800; }
.objective-kicker { margin: 0 0 .35rem; color: var(--briefing-coral); font-size: .78rem; font-weight: 750; }
.objective-briefing h2 { margin: 0 0 .9rem; font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
.objective-briefing > p:last-child, .briefing-empty { margin: .75rem 0 0; color: #b9bed3; font-size: .75rem; }
.progress-track { overflow: hidden; height: 9px; border-radius: 99px; background: #353d5d; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lime), #e5fa9f); }
.progress-caption { display: flex; margin-top: .55rem; justify-content: space-between; font-size: .78rem; }
.briefing-row { display: grid; padding: .5rem 0; border-top: 1px solid var(--briefing-coral-line); align-items: center; gap: .65rem; grid-template-columns: auto 1fr; }
.briefing-row:first-of-type { border-top: 0; }
.briefing-row:hover strong { color: var(--briefing-coral); }
.briefing-icon { display: grid; width: 28px; height: 28px; overflow: hidden; place-items: center; border-radius: 8px; background: #3b4774; color: var(--briefing-coral); font-size: .8rem; }
.briefing-icon.video { background: #202a4b; color: var(--briefing-coral); }
.briefing-icon.cover { width: 32px; height: 42px; border: 1px solid rgba(196,155,181,.34); background: #202a4b; }
.briefing-icon.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.briefing-row strong, .briefing-row small { display: block; }
.briefing-row strong { font-family: Georgia, serif; font-size: .84rem; font-weight: 500; line-height: 1.2; }
.briefing-row small { overflow: hidden; margin-top: .18rem; color: #b9bed3; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }

.dashboard-section { display: grid; padding-block: 2.6rem; grid-template-columns: 1fr 1fr 1.08fr; gap: 1rem; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.dashboard-section .panel { padding: 1.2rem; }
.panel-header { display: flex; margin-bottom: .7rem; align-items: center; justify-content: space-between; gap: .8rem; }
.panel-header h2 { margin: 0; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.panel-header a { color: #575fc7; font-size: .7rem; font-weight: 750; }
.stack-list { display: grid; }
.editorial-row, .video-row { display: grid; padding: .8rem 0; border-top: 1px solid #e9e5db; align-items: center; gap: .75rem; grid-template-columns: auto 1fr auto; }
.editorial-row:first-child, .video-row:first-child { border-top: 0; }
.editorial-icon, .mini-video { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 10px; background: #ece9f8; color: #5860c2; font-size: 1.1rem; }
.mini-video { width: 72px; background: var(--night); color: var(--coral); }
.editorial-row strong, .video-row strong { display: block; font-family: Georgia, serif; font-size: .9rem; line-height: 1.25; }
.editorial-row small, .video-row small { display: -webkit-box; overflow: hidden; margin-top: .25rem; color: var(--muted); font-size: .7rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.profile-heading { display: flex; padding: .8rem 0 1rem; align-items: center; gap: .8rem; }
.large-avatar { display: grid; width: 62px; height: 62px; overflow:hidden; flex: 0 0 auto; place-items: center; border: 1px solid #a7a399; border-radius: 50%; background: #eeebdf; font-family: Georgia, serif; font-size: 1.35rem; }
.profile-heading strong, .profile-heading small { display: block; }
.profile-heading small { color: var(--muted); font-size: .72rem; }
.profile-email { margin-top: .12rem; overflow: hidden; max-width: 210px; text-overflow: ellipsis; white-space: nowrap; }
.profile-account-link { display:inline-block; margin:1rem 0 0; color: var(--coral); }
.profile-account-link:hover { color: var(--coral); }
.profile-popover .profile-account-link { display: block; width: fit-content; margin-top: 1rem; }
.profile-popover .button-light:hover { color: #FFF2E4; }
.profile-panel > p { color: var(--muted); font-size: .8rem; }
.coming-list { display: flex; padding: .55rem 0; border-top: 1px solid #e9e5db; justify-content: space-between; font-size: .72rem; }
.coming-list strong { color: #8a8d9c; font-size: .62rem; text-transform: uppercase; }

.section-heading { display: flex; margin-bottom: 1.5rem; align-items: end; justify-content: space-between; gap: 1rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.65rem, 3.1vw, 2.4rem); font-weight: 700; }
.section-heading > a, .section-heading > span { color: #575fc7; font-size: .78rem; font-weight: 750; }
.section-heading > .button-light { color: #FFF2E4; font-size: .86rem; }
.programs-section { padding: 3rem 0; border-block: 1px solid var(--warm-border); background: linear-gradient(180deg, #151B35 0%, #0A1229 100%); color: var(--warm-light); }
.programs-section .section-heading > a { color: var(--coral); }
.programs-section .section-heading > .button-light { color: #FFF2E4; }
.programs-section .eyebrow { color: var(--coral); }
.program-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1rem; }
.program-card { display: flex; min-height: 355px; overflow: hidden; padding: 0; border: 1px solid var(--warm-border); border-radius: 14px; background: #141C30; color: var(--warm-light); flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card.is-announced, .program-card.is-surprise { border-style: dashed; background: rgba(20, 28, 48, .68); }
.program-card.is-surprise .program-art { background: #3F444D; }
.program-card.is-surprise .program-art::before, .program-card.is-surprise .program-art::after { display: none; }
.surprise-mark { color: var(--warm-light); font-family: inherit; font-size: 3rem; font-weight: 850; text-shadow: 0 10px 30px rgba(0,0,0,.35); }
.program-card-ghost { min-height: 355px; border-style: dashed; border-color: rgba(95, 75, 69, .5); background: rgba(20, 28, 48, .24); box-shadow: inset 0 0 42px rgba(255,255,255,.025); opacity: .62; pointer-events: none; }
.program-card-ghost:hover { transform: none; box-shadow: inset 0 0 42px rgba(255,255,255,.025); }
.program-art.program-art-ghost { background: rgba(196,155,181,.18); }
.program-art-ghost::before, .program-art-ghost::after { display: none; }
.ghost-line { height: 8px; margin: .35rem .95rem 0; border-radius: 999px; background: rgba(250,250,251,.09); }
.ghost-line-label { width: 42%; height: 6px; margin-top: 0; background: rgba(196,155,181,.18); }
.ghost-line-title { width: 72%; height: 12px; margin-top: .85rem; background: rgba(250,250,251,.12); }
.ghost-line-short { width: 54%; }
.program-art { position: relative; display: grid; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; margin: 0 0 1rem; place-items: center; border-radius: 13px 13px 0 0; background: linear-gradient(135deg, #1b2140, #4f5caf); color: var(--warm-light); }
.program-art::before, .program-art::after { position: absolute; width: 140%; height: 1px; background: rgba(255,255,255,.3); content:""; transform: rotate(35deg); }
.program-art::after { transform: rotate(-35deg); }
.program-art:has(img)::before, .program-art:has(img)::after { display: none; }
.program-art img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.program-art span { position: relative; z-index: 1; font-family: Georgia,serif; font-size: 2rem; }
.card-label { margin: 0 .95rem .35rem; color: var(--editorial-label); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.program-card h3 { margin: 0 .95rem .5rem; font-size: 1.1rem; }
.program-card > p:not(.card-label) { margin-inline: .95rem; color: #b9bed3; font-size: .78rem; }
.program-card > a, .program-card > .card-action, .program-card > .disabled-link { margin: auto .95rem .95rem; color: var(--coral); font-size: .76rem; font-weight: 800; }

.galaxy-section { position: relative; overflow: hidden; padding: 3rem 0; border-bottom: 1px solid var(--warm-border); isolation: isolate; color: white; background: url('/images/green-galaxy-alt.png') center / cover no-repeat, linear-gradient(180deg, #151B35 0%, #0A1229 100%); }
.galaxy-grid { position: relative; z-index: 2; display: grid; align-items: center; grid-template-columns: .8fr 1.6fr; gap: 3rem; }
.galaxy-copy .eyebrow { color: var(--coral); }
.galaxy-copy h2 { margin: 0; font-size: clamp(1.65rem,2.75vw,2.6rem); font-weight: 700; line-height: 1.08; }
.galaxy-copy > p:not(.eyebrow) { color: #abb2ca; }
.game-galaxy { position: relative; min-height: 350px; height: 350px; isolation: isolate; }
.game-galaxy-canvas { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; pointer-events: none; touch-action: manipulation; transition: opacity .7s ease; }
.galaxy-section.is-3d-ready .game-galaxy-canvas { opacity: 1; pointer-events: auto; }
.galaxy-section.is-3d-ready .galaxy-grid { pointer-events: none; }
.galaxy-section.is-3d-ready .galaxy-copy, .galaxy-section.is-3d-ready .galaxy-copy * { pointer-events: auto; }
.galaxy-fallback-nodes { position: absolute; z-index: 2; inset: 0; transition: opacity .35s ease; }
.galaxy-section.is-3d-ready .galaxy-fallback-nodes, .galaxy-section.is-3d-ready .galaxy-core { opacity: 0; pointer-events: none; }
.galaxy-core, .game-node { position: absolute; display: grid; overflow: hidden; place-items: center; color: white; }
.galaxy-core { z-index: 3; top: 50%; left: 50%; width: 78px; height: 78px; border: 1px solid #ecffb2; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #fbffd9 0 7%, #c8ef70 26%, #89a946 58%, rgba(56,69,30,.8) 100%); box-shadow: 0 0 22px rgba(200,239,112,.9), 0 0 70px rgba(200,239,112,.45); transform: translate(-50%,-50%); pointer-events: none; }
.game-node { z-index: 3; width: 56px; height: 56px; border: 2px solid rgba(250,250,251,.9); border-radius: 50%; background: #2d385f; box-shadow: 0 0 0 3px rgba(20,28,48,.72), 0 0 24px rgba(127,145,255,.34); font-size: .9rem; font-weight: 850; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.game-node .game-node-cover { display: block; width: 100%; height: 100%; }
.game-node .game-node-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-node:hover { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(20,28,48,.72), 0 0 28px rgba(254,182,131,.56); transform: scale(1.08); }.game-node-locked { cursor: default; opacity: .72; }.game-node-locked:hover { border-color: rgba(250,250,251,.9); box-shadow: 0 0 0 3px rgba(20,28,48,.72), 0 0 24px rgba(127,145,255,.34); transform: none; }
.galaxy-game-access-links { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.galaxy-game-access-links:focus-within { z-index: 5; top: .7rem; left: .7rem; display: flex; width: auto; height: auto; overflow: visible; padding: .45rem; clip: auto; clip-path: none; border: 1px solid var(--warm-border); border-radius: 9px; background: #10172a; gap: .45rem; white-space: normal; }
.galaxy-game-access-links a { color: var(--warm-light); font-size: .72rem; font-weight: 750; }
.node-0 { top: 15%; left: 20%; }.node-1 { top: 61%; left: 17%; }.node-2 { top: 20%; right: 13%; }.node-3 { right: 24%; bottom: 9%; }.node-4 { top: 2%; left: 51%; }.node-5 { bottom: 3%; left: 48%; }.node-6 { top: 43%; left: 5%; }.node-7 { top: 46%; right: 1%; }
.community-section { padding-block: 1.5rem; border-top: 1px solid var(--warm-border); }
.comments-home-section { padding-block: 3rem; border-top: 0; border-bottom: 1px solid var(--warm-border); background: linear-gradient(180deg, #151B35 0%, #0A1229 100%); color: var(--warm-light); }
.comments-home-section .eyebrow { color: var(--coral); }
.comments-home-section .discussion-list { border-color: var(--warm-border); background: #141C30; }
.comments-home-section .discussion-list a { border-top-color: rgba(255,255,255,.1); }
.comments-home-section .discussion-list a:hover { background: rgba(254,182,131,.12); }
.comments-home-section .discussion-signal { color: var(--coral); }
.comments-home-section .discussion-copy strong { color: var(--warm-light); }
.comments-home-section .discussion-comment,
.comments-home-section .discussion-list span,
.comments-home-section .discussion-list time { color: #b9bed3; }
.comments-home-section .empty-community { border-color: var(--warm-border); background: #141C30; }
.comments-home-section .empty-community p { color: #b9bed3; }
.discussion-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.discussion-list a { display: grid; padding: .8rem 1rem; border-top: 1px solid #e8e4da; align-items: center; grid-template-columns: auto minmax(0,1fr) minmax(100px,.4fr) auto; gap: 1rem; }
.discussion-list a:first-child { border-top: 0; }
.discussion-list a:hover { background: #f3f0ff; }
.discussion-signal { color: #5c65cd; font-size: 1.2rem; }
.discussion-list span, .discussion-list time { color: var(--muted); font-size: .75rem; }
.discussion-copy { display:grid; min-width:0; gap:.25rem; }.discussion-copy strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.discussion-comment { display:-webkit-box; overflow:hidden; margin:0; color:var(--muted); font-size:.78rem; line-height:1.4; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.empty-community { display: grid; padding: 1.4rem; border: 1px dashed #aaa69b; border-radius: var(--radius); align-items: center; grid-template-columns: auto 1fr auto; gap: 1rem; }
.empty-community > span { font-size: 2rem; }
.empty-community h3, .empty-community p { margin: 0; }
.empty-community p { color: var(--muted); font-size: .8rem; }

.site-footer { padding-top: 2.4rem; color: #c7cada; background: var(--chrome-warm); }
.footer-grid { display: grid; padding-bottom: 2.4rem; grid-template-columns: repeat(3,1fr); gap: 3rem; }
.footer-grid h2 { margin: 0 0 .8rem; color: white; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid div > a, .footer-grid div > span { display: block; margin: .35rem 0; color: #aeb3c7; font-size: .76rem; }
.footer-grid small { margin-left: .3rem; color: #626a87; font-size: .58rem; text-transform: uppercase; }
.footer-grid p { color: #aeb3c7; font-size: .76rem; }
.newsletter-preview { display: flex; }
.newsletter-preview input { min-width: 0; padding: .55rem .65rem; border: 1px solid #3c4567; border-radius: 8px 0 0 8px; background: #171d34; color: white; }
.newsletter-preview button { padding-inline: .9rem; border: 1px solid #4D3D61; border-radius: 0 14px 14px 0; background: linear-gradient(180deg, #41334F 0%, #342840 100%); color: #FFF2E4; font-size: .7rem; font-weight: 750; }
.newsletter-preview button:disabled { cursor: default; opacity: 1; }
.footer-social-links { display:flex; align-items:center; flex-wrap:wrap; gap:.85rem; }.footer-social-link { display:grid; width:30px; height:30px; place-items:center; color:#aab1cf; }.footer-social-link svg { width:30px; height:30px; fill:currentColor; }.footer-bottom { display: flex; padding-block: 1rem; border-top: 1px solid var(--chrome-warm-line); justify-content: space-between; color: #777f99; font-size: .72rem; }.footer-bottom-links { display:flex; gap:1rem; }

.page-hero { padding: 5.3rem 0 4.8rem; color: white; background: linear-gradient(120deg, var(--night), #28305b); }
.profile-settings { padding-block:3rem 5rem; }.profile-image-editor { display:grid; padding-bottom:1rem; border-bottom:1px solid #e6e2d9; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:1rem; }.profile-image-preview { display:grid; width:112px; height:112px; overflow:hidden; place-items:center; border:1px solid #aaa69b; border-radius:50%; background:#eeebdf; font-family:Georgia,serif; font-size:2rem; }.profile-image-preview img { display:block; width:100%; height:100%; object-fit:cover; }.profile-image-editor label { display:block; }.profile-image-editor input[type="file"] { margin-top:.2rem; }.profile-image-editor p, .field-hint { margin:.55rem 0 0; color:var(--muted); font-size:.78rem; line-height:1.45; }.profile-image-editor .checkbox-label { margin-top:.75rem; color:var(--ink); font-size:.78rem; font-weight:600; letter-spacing:0; text-transform:none; }.profile-image-editor .checkbox-label input { width:auto; margin:0 .35rem 0 0; }.profile-settings .profile-account-link { width:fit-content; margin-top:1rem; }
.page-hero.compact { padding-block: 4rem; }
.page-hero .eyebrow { color: var(--coral); }
.page-hero h1 { max-width: 850px; margin: 0; font-family: inherit; font-size: clamp(2rem,4.2vw,3.75rem); font-weight: 750; letter-spacing: 0; line-height: 1; }
.page-hero p:last-child { max-width: 690px; margin: 1.4rem 0 0; color: #c0c5d9; font-size: 1.05rem; }
.program-detail-hero { background: linear-gradient(120deg,#27315f,#6c4c70); }
.game-detail-hero, .galaxy-page-hero { background: radial-gradient(circle at 70%,#334072,var(--night) 55%); }
.listing-section { padding-block: 4rem; }
.content-page { padding-block: 4rem; }
.content-page h2 { margin: 2.5rem 0 .7rem; font-size: 1.8rem; }
.content-page h2:first-child { margin-top: 0; }
.legal-completion-note { padding:1rem 1.1rem; border:1px solid #d9c68d; border-radius:10px; background:#fff9e7; color:#554713; font-size:.84rem; line-height:1.5; }.legal-definition-list { display:grid; margin:0; border-top:1px solid var(--line); }.legal-definition-list div { display:grid; padding:.7rem 0; border-top:1px solid var(--line); grid-template-columns:180px 1fr; gap:1rem; }.legal-definition-list div:first-child { border-top:0; }.legal-definition-list dt { color:var(--muted); font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.legal-definition-list dd { margin:0; }
.lead-copy { font-family: inherit; font-size: 1rem; line-height: 1.7; }
.large-card-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
.large-card { display: grid; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); grid-template-columns: 150px 1fr; gap: 1.2rem; }
.large-card.is-surprise { border-style: dashed; }
.large-card-art { display: grid; width: 100%; min-height: 0; aspect-ratio: 1 / 1; overflow:hidden; align-self:start; place-items: center; border-radius: 12px; color: white; background: linear-gradient(145deg,#242c51,#7785dd); font-family: Georgia,serif; font-size: 2.5rem; }.large-card-art img { width:100%; height:100%; object-fit:cover; }
.large-card.is-surprise .large-card-art { background: #3F444D; }
.large-card h2 { margin: 0 0 .4rem; font-size: 1.45rem; }
.large-card p { color: var(--muted); font-size: .82rem; }
.large-card a { color: #4f58c3; font-size: .8rem; font-weight: 750; }
.muted-card { border-style: dashed; opacity: .76; }
.video-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 10px 30px rgba(23,26,43,.05); }
.video-card-art { display: grid; aspect-ratio: 16/8.5; place-items: center; background: linear-gradient(145deg,#141a31,#3e4c83); color: var(--coral); font-size: 1.8rem; }
.video-card > span:last-child { display: flex; padding: 1rem; flex-direction: column; }
.video-card small { color: #5a63c8; font-weight: 700; }
.video-card strong { margin: .3rem 0; font-family: Georgia,serif; font-size: 1.05rem; }
.video-card span span { color: var(--muted); font-size: .78rem; }
.video-card .status-tag { margin-top: .7rem; }
.game-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.game-card { position: relative; display: flex; min-height: 270px; padding: 1.2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); flex-direction: column; }
.game-card::after { position: absolute; right: -35px; bottom: -50px; width: 150px; height: 150px; border: 1px solid #cdd1eb; border-radius: 50%; content:""; }
.game-symbol { display: grid; width: 58px; height: 58px; margin-bottom: 1rem; overflow:hidden; place-items: center; border-radius: 16px; background: #252d50; color: var(--coral); font-family: Georgia,serif; font-size: 1.5rem; transform: rotate(5deg); }.game-symbol img { width:100%; height:100%; object-fit:cover; transform:rotate(-5deg) scale(1.08); }
.game-card .status-tag { position: absolute; top: 1.2rem; right: 1.2rem; }
.game-card h2 { margin: 0; font-size: 1.25rem; }
.game-card p { color: var(--muted); font-size: .8rem; }
.game-card .card-action { position: relative; z-index: 1; }
.filter-preview { display: flex; margin-bottom: 1.5rem; align-items: center; gap: .5rem; flex-wrap: wrap; }
.filter-preview button { padding: .4rem .75rem; border: 1px solid #c8c4b8; border-radius: 99px; background:transparent; color: var(--muted); cursor:pointer; font-size: .72rem; }
.filter-preview button.active { color: var(--night); background: var(--lime); border-color: var(--lime); }
.game-card-locked { cursor:default; }.game-card-locked .card-action-disabled { color:var(--muted); }.game-card-surprise .game-symbol { border:1px dashed var(--lime); background:#252d50; color:var(--coral); }
.filter-preview small { margin-left: auto; color: #8c8d97; }
.empty-state { padding: 2rem; border: 1px dashed #aaa69b; border-radius: var(--radius); color: var(--muted); text-align: center; }
.empty-state.large { padding: 4rem 2rem; }
.empty-state.large > span { font-size: 3rem; }

.video-detail-header { padding: 1.1rem 0; color: white; background: var(--night); }
.video-detail-header h1 { max-width: 920px; margin: .8rem 0; font-family: Georgia,serif; font-size: clamp(2rem,4.6vw,3.9rem); font-weight: 500; line-height: .98; }
.video-detail-header p { max-width: 720px; color: #b8bed3; }
.breadcrumbs { display: flex; align-items: center; gap: .5rem; color: #9098b8; font-size: .75rem; }
.breadcrumbs a { color: var(--coral); }
.video-content { padding-block: 2rem 3rem; }
.youtube-player { overflow: hidden; border-radius: var(--radius); background: black; aspect-ratio: 16/9; }
.youtube-player iframe { width: 100%; height: 100%; border: 0; }
.player-placeholder { display: flex; min-height: 500px; padding: 2rem; border-radius: var(--radius); align-items: center; justify-content: center; background: radial-gradient(circle,#35416e,var(--night) 65%); color: white; flex-direction: column; text-align: center; }
.player-placeholder > span { color: var(--coral); font-size: 3rem; }
.player-placeholder strong { margin-top: 1rem; font-family: Georgia,serif; font-size: 1.6rem; }
.player-placeholder p { color: #abb2ca; }
.lets-play-layout { display:grid; padding-block:2rem 3rem; grid-template-columns:minmax(0,1fr) 340px; gap:1rem; }.lets-play-layout.single-episode { grid-template-columns:minmax(0,1fr); }
.player-column { min-width:0; }
.lets-play-player { overflow:hidden; border-radius:var(--radius); background:#000; aspect-ratio:16/9; }
.lets-play-player iframe { width:100%; height:100%; border:0; }
.lets-play-player .player-placeholder { min-height:100%; height:100%; }
.playlist-panel { min-width:0; overflow:hidden; padding:1rem; }
.playlist-panel > header { display:flex; padding-bottom:.85rem; border-bottom:1px solid var(--line); align-items:start; justify-content:space-between; gap:.75rem; }
.playlist-panel h2 { margin:0; font-size:1.3rem; font-weight:700; }
.playlist-panel ol { display:grid; max-height:440px; overflow-x:hidden; overflow-y:auto; padding:0; margin:.6rem 0 0; list-style:none; }
.playlist-panel li { border-top:1px solid #ebe7dc; }
.playlist-panel li:first-child { border-top:0; }
.playlist-panel a { display:grid; min-width:0; padding:.75rem .15rem; color:var(--ink); grid-template-columns:2rem minmax(0,1fr); align-items:baseline; column-gap:.35rem; }
.playlist-panel a > span { color:#777c8f; font-size:.68rem; font-weight:800; }
.playlist-panel a strong { overflow:hidden; font-size:.83rem; text-overflow:ellipsis; white-space:nowrap; }
.playlist-panel a small { color:var(--muted); font-size:.65rem; }
.playlist-panel a:hover, .playlist-panel a.active { color:#505ac2; }
.playlist-panel a.active { margin-inline:-.35rem; padding-inline:.5rem; border-radius:8px; background:#e7e9ff; }
.content-context { display:grid; padding-bottom:3rem; grid-template-columns:1fr 1fr; gap:1rem; }.content-context-wide { grid-template-columns:minmax(0,1fr); }.content-context-card { padding:1.1rem 1.2rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.content-context-card-combined { display:grid; overflow:hidden; padding:0; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }.content-context-panel { min-width:0; padding:1.1rem 1.2rem; }.content-context-panel + .content-context-panel { border-left:1px solid var(--line); }.content-context-card h2 { margin:.1rem 0 .7rem; font-size:1.3rem; font-weight:700; }.content-context-card > p:not(.card-label), .content-context-panel > p:not(.card-label) { margin:.2rem 0 .85rem; color:var(--muted); font-size:.82rem; line-height:1.5; }.content-context-card dl { display:grid; margin:0; border-top:1px solid #e5e1d8; }.content-context-card dl div { display:grid; padding:.55rem 0; border-top:1px solid #e5e1d8; grid-template-columns:100px 1fr; gap:.6rem; }.content-context-card dl div:first-child { border-top:0; }.content-context-card dt { color:var(--muted); font-size:.66rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.content-context-card dd { margin:0; font-size:.82rem; font-weight:650; }.content-context-card dd a, .context-link { color:#505ac2; font-size:.78rem; font-weight:750; }.context-link { display:inline-block; margin-top:.15rem; }.content-context-cover { display:block; width:100%; max-height:220px; margin:0 0 .9rem; border-radius:10px; object-fit:cover; }.content-info-details { margin-top:.9rem; }.content-info-details > summary { color:#505ac2; cursor:pointer; font-size:.78rem; font-weight:800; }.content-info-details[open] > summary { margin-bottom:.65rem; }.content-info-details-body { display:grid; padding-top:.65rem; gap:.75rem; }.content-info-details-body section { padding-top:.65rem; border-top:1px solid #e5e1d8; }.content-info-details-body section:first-child { padding-top:0; border-top:0; }.content-info-details-body h3 { margin:0 0 .3rem; color:var(--muted); font-size:.66rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.content-info-details-body p { margin:0; color:var(--muted); font-size:.78rem; line-height:1.45; }.content-info-details-body ul { display:grid; padding:0; margin:0; list-style:none; gap:.25rem; }.content-info-details-body li { font-size:.78rem; }.game-information-card { grid-column:1 / -1; }
.game-context-summary { display:grid; margin:0 0 .85rem; grid-template-columns:clamp(72px, 18%, 118px) minmax(0,1fr); align-items:start; gap:.85rem; }.game-context-cover { display:block; width:100%; max-height:150px; border:1px solid var(--line); border-radius:9px; background:var(--surface-raised); object-fit:contain; }.game-context-summary p { margin:.1rem 0 0; color:var(--muted); font-size:.82rem; line-height:1.5; }
.comments-section { padding-block:3.25rem 5rem; border-block:1px solid var(--warm-border); background:var(--coral); }.discussion-heading { margin-bottom:1.1rem; align-items:center; }.discussion-heading-title { display:flex; min-width:0; align-items:center; gap:.9rem; }
.comments-heading-meta { display:flex; align-items:center; gap:.6rem; color:#575fc7; font-size:.78rem; font-weight:750; }.info-hint { position:relative; }.info-hint summary { display:grid; width:24px; height:24px; padding:0; border:1px solid #8f96bd; border-radius:50%; place-items:center; color:#505ac2; cursor:pointer; font-family:Georgia,serif; font-size:.8rem; font-weight:700; list-style:none; }.info-hint summary::-webkit-details-marker { display:none; }.info-hint summary:hover, .info-hint[open] summary { border-color:#505ac2; background:#e7e9ff; }.info-hint-content { position:absolute; z-index:5; top:calc(100% + .45rem); right:0; width:min(310px,calc(100vw - 48px)); padding:.8rem .9rem; border:1px solid #cbc8bf; border-radius:10px; background:var(--surface); box-shadow:var(--shadow); color:var(--ink); font-size:.76rem; font-weight:400; }.info-hint-content p { margin:0; line-height:1.45; }.info-hint-content p + p { margin-top:.55rem; padding-top:.55rem; border-top:1px solid #e7e3d9; }.info-hint-premium { color:#6b5610; font-weight:700; }
.comment-toolbar { display:flex; margin:-.55rem 0 1rem; align-items:center; justify-content:space-between; gap:1rem; }
.comment-sort { display:flex; padding:.2rem; border:1px solid var(--line); border-radius:10px; background:var(--surface); gap:.2rem; }
.comment-sort a { padding:.38rem .65rem; border-radius:8px; color:var(--muted); font-size:.72rem; font-weight:800; }
.comment-sort a.active { background:#e7e9ff; color:#4d57c2; }
.comments-section .comment-sort { border-color:var(--warm-border); }
.comments-section .comment-sort a.active { background:var(--night); color:var(--warm-light); }
.comments-section .comments-heading-meta { color:#4f3a33; }
.comments-section .comment-item { border-color:rgba(95,75,69,.38); }
.premium-star-status { margin:0; color:var(--muted); font-size:.74rem; font-weight:700; text-align:right; }
.comment-composer { margin-bottom:1.3rem; }.comment-composer > summary { width:fit-content; cursor:pointer; list-style:none; }.comment-composer > summary::-webkit-details-marker { display:none; }.comment-composer[open] > summary { margin-bottom:.7rem; }.comment-composer[open] > summary::after { content:"Masquer"; margin-left:.55rem; font-size:.7rem; font-weight:700; }.comment-composer[open] > summary { color:var(--night); background:#e7e9ff; border-color:#7f88d4; }
.comment-form { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.comment-form label { display: block; margin-bottom: .5rem; font-weight: 750; }
.comment-form textarea, .comment-actions textarea { width: 100%; min-height: 110px; padding: .7rem; border: 1px solid #c7c4b9; border-radius: 10px; resize: vertical; }
.comment-form > div:last-child { display: flex; margin-top: .7rem; align-items: center; justify-content: space-between; gap: 1rem; }
.comment-form small { color: var(--muted); }
.signin-prompt { display: flex; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); align-items: center; gap: 1rem; background: var(--surface); }
.signin-prompt > span { font-size: 2rem; }.signin-prompt p { margin: 0 auto 0 0; }.signin-prompt p strong { display:block; }
.comment-thread { margin-top: 1.3rem; }
.comment-item { display: grid; padding: 1rem 0; border-top: 1px solid var(--line); grid-template-columns: 38px 1fr; gap: .8rem; }
.comment-body .comment-item { margin-left: 0; }
.comment-avatar { display: grid; width: 38px; height: 38px; overflow:hidden; place-items: center; border-radius: 50%; background: #30395f; color: white; font-family: Georgia,serif; }
.comment-body > header { display: flex; align-items: baseline; gap: .7rem; }.comment-body time { color: var(--muted); font-size: .68rem; }
.comment-body > p { margin: .4rem 0; white-space: pre-wrap; }
.deleted-comment { color: var(--muted); font-style: italic; }
.comment-reactions { display:flex; margin:.5rem 0 .35rem; align-items:center; gap:.45rem; }
.comment-reactions form { margin:0; }
.reaction-button { display:inline-flex; min-width:48px; min-height:32px; padding:.25rem .48rem; border:1px solid #d7d3c9; border-radius:9px; align-items:center; justify-content:center; gap:.32rem; background:#fffdf8; color:#4c5161; cursor:pointer; font-size:.76rem; font-weight:850; line-height:1; }
.reaction-button:hover:not(:disabled):not(.read-only), .reaction-button.active { border-color:#7a84df; background:#eceeff; color:#4650bb; }
.reaction-button.star { border-color:#d4c48f; background:#fff8dd; color:#69540c; }
.reaction-button.star:hover:not(:disabled):not(.read-only), .reaction-button.star.active { border-color:#c99b22; background:#ffeaa3; color:#4c3b04; }
.reaction-button.read-only, .reaction-button:disabled { cursor:default; opacity:.76; }
.comment-actions { display: flex; gap: 1rem; }
.comment-actions details { color: #5961c5; font-size: .72rem; }
.comment-actions details[open] { width: 100%; }
.comment-actions summary { cursor: pointer; font-weight: 700; }
.comment-actions form { display: flex; margin-top: .5rem; align-items: end; gap: .5rem; }
.comment-actions input { padding: .4rem; border: 1px solid var(--line); border-radius: 8px; }
.alert-message { margin-bottom: 1rem; padding: .8rem 1rem; border-radius: 10px; }.alert-message.success { background: #e8f7c5; }.alert-message.error { background: #ffe1dc; }

.article-list { display: grid; gap: 1rem; }
.article-list a { display:block; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.article-cover { display:block; width:100%; max-height:300px; margin:0 0 1rem; border-radius:10px; object-fit:cover; }
.article-list time { color: #656ed4; font-size: .7rem; font-weight: 700; }.article-list h2 { margin: .3rem 0;  }.article-list p { color: var(--muted); }.article-list span { color: #545ed0; font-size: .78rem; font-weight: 750; }
.community-feed { display: grid; gap: 1rem; }.community-feed article { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.community-feed header { display: flex; align-items: center; gap: .7rem; }.community-feed header div { display:flex; flex-direction:column; }.community-feed header a { color: #5962c8; font-size: .72rem; }.community-feed time { margin-left:auto; color:var(--muted); font-size:.7rem; }.community-feed p { margin: .8rem 0 0 3rem; }

.admin-content-block h2, .igdb-search-panel h2, .media-upload-form h2, .admin-home-settings h2 { font-family: inherit; }
.admin-navigation { border-bottom:1px solid var(--line); background:#f4f2eb; }.admin-navigation > div { display:flex; min-height:48px; align-items:center; gap:.35rem; overflow-x:auto; }.admin-navigation a { flex:0 0 auto; padding:.45rem .7rem; border-radius:8px; color:var(--muted); font-size:.75rem; font-weight:800; white-space:nowrap; }.admin-navigation a:hover { color:#505ac2; background:#e7e9ff; }.admin-navigation a.active { color:#454eb6; background:#dfe2ff; }
.admin-dashboard, .admin-content, .moderation-page { padding-block: 3rem 5rem; }
.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }.metric-grid article { padding:1.4rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.metric-grid strong { display:block; font-family:Georgia,serif; font-size:2.4rem; }.metric-grid span { color:var(--muted); font-size:.75rem; text-transform:uppercase; }
.attention-grid { display:grid; margin-top:1rem; grid-template-columns:1fr 1fr; gap:1rem; }.attention-grid a { display:grid; padding:1.3rem; border-radius:var(--radius); background:#e7e9ff; grid-template-columns:auto 1fr auto; align-items:center; gap:1rem; }.attention-grid strong { font-family:Georgia,serif; font-size:2rem; }.attention-grid span { font-size:.82rem; }.attention-grid em { color:#515bc0; font-style:normal; font-size:.75rem; font-weight:750; }
.admin-content-tabs { display:flex; padding-top:1.5rem; gap:.4rem; overflow-x:auto; }.admin-content-tabs a { flex:0 0 auto; padding:.5rem .75rem; border:1px solid var(--line); border-radius:8px; color:var(--muted); font-size:.75rem; font-weight:800; white-space:nowrap; }.admin-content-tabs a:hover { border-color:#aeb4e7; background:#f0f1ff; color:#505ac2; }.admin-content-tabs a.active { border-color:#7f88d4; background:#e7e9ff; color:#454eb6; }.admin-content { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }.admin-content-single { grid-template-columns:1fr; }.admin-content-block { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.admin-content-block > header { display:flex; padding:1rem; border-bottom:1px solid var(--line); align-items:center; justify-content:space-between; gap:.65rem; }.admin-content-block h2 { margin:0; font-family:Georgia,serif; }.admin-content-block header span { color:var(--muted); font-size:.7rem; }.admin-actions, .admin-list-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.35rem; }.admin-list > div { display:grid; padding:.75rem 1rem; border-top:1px solid #ece8df; grid-template-columns:1fr auto; gap:.15rem .7rem; }.admin-list > div:first-child { border-top:0; }.admin-list span, .admin-list small { color:var(--muted); font-size:.68rem; }.admin-list small { grid-column:1/-1; }.admin-edit-link, .admin-delete-form button { align-self:start; color:#525cc0; font-size:.7rem; font-weight:800; }.admin-delete-form { margin:0; }.admin-delete-form button { padding:0; border:0; background:none; color:#a5372e; cursor:pointer; }
.admin-form-section { padding-block:3rem 5rem; }.admin-form { display:grid; padding:1.5rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.admin-form label { margin:.8rem 0 .3rem; font-size:.75rem; font-weight:800; text-transform:uppercase; }.admin-form input, .admin-form textarea, .admin-form select { width:100%; padding:.7rem .8rem; border:1px solid #c5c1b6; border-radius:9px; background:white; }.admin-form > span { color:#a12e22; font-size:.72rem; }.admin-form > .button { width:fit-content; margin-top:1.3rem; }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.episode-editor { min-width:0; padding:1.25rem 0 0; margin:1.5rem 0 0; border:0; border-top:1px solid var(--line); }.episode-editor > legend { padding:0; color:var(--ink); font-size:.82rem; font-weight:850; text-transform:uppercase; }.episode-editor-toolbar { display:flex; padding:.25rem 0 .8rem; align-items:center; justify-content:space-between; gap:1rem; }.episode-editor-toolbar > span { color:var(--muted); font-size:.72rem; }.episode-editor-toolbar .button { gap:.4rem; }.episode-list { display:grid; }.episode-row { padding:1rem 0; border-top:1px solid var(--line); }.episode-row:first-child { border-top:0; }.episode-row.is-dragging { opacity:.55; border-top-color:var(--coral); }.episode-row > header { display:grid; grid-template-columns:36px minmax(0,1fr) auto; align-items:center; gap:.65rem; }.episode-row > header strong { font-size:.82rem; }.episode-drag-handle { display:grid; width:36px; height:36px; padding:0; border:1px solid var(--control-line); place-items:center; border-radius:8px; background:var(--surface-raised); color:var(--muted); cursor:grab; }.episode-drag-handle:active { cursor:grabbing; }.episode-delete { display:inline-flex; padding:.35rem 0; border:0; align-items:center; gap:.3rem; background:none; color:#FFC4BA; cursor:pointer; font-size:.72rem; font-weight:800; }.episode-delete > span:first-child { font-size:1.15rem; line-height:1; }.episode-fields { display:grid; padding-left:calc(36px + .65rem); grid-template-columns:minmax(0,1fr) minmax(0,1.45fr); gap:1rem; }.episode-fields > div { display:grid; min-width:0; }.episode-fields span { color:#ffafa5; font-size:.72rem; }.episode-list-empty { padding:1rem 0; border-top:1px solid var(--line); color:var(--muted); font-size:.78rem; }
.igdb-search-panel { display:grid; padding:1.25rem; margin-bottom:1.2rem; border:1px solid #cdd1ed; border-radius:var(--radius); background:#f3f4ff; grid-template-columns:1fr 1fr; gap:1.25rem; }.igdb-search-panel .eyebrow { color:#515bc0; }.igdb-search-panel h2 { margin:.15rem 0 .55rem; font-family:Georgia,serif; font-size:1.5rem; }.igdb-search-panel p { color:#5c6173; font-size:.78rem; line-height:1.5; }.igdb-search-form label { display:block; margin-bottom:.35rem; font-size:.67rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.igdb-search-form > div { display:flex; gap:.5rem; }.igdb-search-form input { width:100%; min-width:0; padding:.7rem .8rem; border:1px solid #bfc4dd; border-radius:9px; background:white; }.igdb-search-form .button { white-space:nowrap; }.igdb-search-status { min-height:1.3rem; margin:.55rem 0 0; }.igdb-search-results { display:grid; grid-column:1/-1; gap:.65rem; }.igdb-result { display:grid; overflow:hidden; min-height:100px; border:1px solid #d4d7e9; border-radius:10px; background:white; grid-template-columns:68px 1fr auto; align-items:center; gap:.85rem; }.igdb-result > img { width:68px; height:100%; min-height:100px; background:#dfe2ef; object-fit:cover; }.igdb-result > div { padding-block:.65rem; }.igdb-result h3 { margin:0; font-family:Georgia,serif; font-size:1rem; }.igdb-result p { margin:.25rem 0 0; color:var(--muted); font-size:.72rem; line-height:1.35; }.igdb-result .igdb-result-meta { color:#535ec4; font-size:.65rem; font-weight:800; }.igdb-result-actions { display:grid; padding-right:.8rem; gap:.4rem; }.igdb-result-actions .button { margin:0; white-space:nowrap; }.igdb-raw-data { overflow:hidden; padding:1rem; border:1px solid #cfd3e9; border-radius:10px; background:#fff; grid-column:1/-1; }.igdb-raw-data h3 { margin:0 0 .7rem; font-family:Georgia,serif; font-size:1rem; }.igdb-raw-data pre { max-height:32rem; overflow:auto; padding:.8rem; margin:0; border-radius:7px; background:#1f2435; color:#eef0ff; font:0.7rem/1.45 Consolas,Monaco,monospace; white-space:pre-wrap; word-break:break-word; }
.cover-image-picker { display:grid; padding:.9rem; margin-top:.65rem; border:1px solid #d8d4ca; border-radius:10px; background:#faf9f5; gap:.75rem; }.cover-image-preview { display:flex; min-height:100px; overflow:hidden; border:1px dashed #b9b5aa; border-radius:8px; align-items:center; justify-content:center; background:#f0eee7; }.cover-image-preview img { display:block; width:100%; max-height:260px; object-fit:contain; }.cover-image-preview span { padding:1rem; color:var(--muted); font-size:.75rem; text-align:center; }.cover-image-picker-grid { display:grid; max-height:250px; overflow:auto; grid-template-columns:repeat(auto-fill,minmax(92px,1fr)); gap:.5rem; }.cover-image-picker-option { display:grid; overflow:hidden; padding:0; border:1px solid #d6d2c8; border-radius:7px; cursor:pointer; background:white; color:var(--ink); text-align:left; }.cover-image-picker-option:hover, .cover-image-picker-option.selected { border-color:#5661ca; box-shadow:0 0 0 2px #dfe1ff; }.cover-image-picker-option img { display:block; width:100%; height:82px; background:#e6e4de; object-fit:cover; }.cover-image-picker-option span { overflow:hidden; padding:.35rem .4rem; font-size:.6rem; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.media-library { padding-block:3rem 5rem; }.media-upload-form { display:grid; padding:1.3rem; margin-bottom:2rem; grid-template-columns:1.2fr 1fr .8fr 1fr auto; align-items:end; gap:1rem; }.media-upload-form h2 { margin:.15rem 0; font-family:Georgia,serif; }.media-upload-form p { margin:0; color:var(--muted); font-size:.76rem; }.media-upload-form label { display:block; margin-bottom:.35rem; font-size:.67rem; font-weight:800; text-transform:uppercase; }.media-upload-form input, .media-upload-form select { width:100%; padding:.65rem; border:1px solid #c5c1b6; border-radius:9px; background:white; }.media-folder-tabs { display:flex; margin-bottom:2rem; gap:.4rem; overflow-x:auto; }.media-folder-tabs a { flex:0 0 auto; padding:.45rem .7rem; border:1px solid var(--line); border-radius:8px; color:var(--muted); font-size:.72rem; font-weight:800; white-space:nowrap; }.media-folder-tabs a:hover { border-color:#aeb4e7; background:#f0f1ff; color:#505ac2; }.media-folder-tabs a.active { border-color:#7f88d4; background:#e7e9ff; color:#454eb6; }.media-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }.media-card { overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.media-card > img { display:block; width:100%; height:150px; background:#e8e8e8; object-fit:cover; }.media-card > div { padding:.8rem; }.media-folder-label { display:block; width:fit-content; padding:.18rem .38rem; margin-bottom:.45rem; border-radius:999px; background:#e7e9ff; color:#505ac2; font-size:.6rem; font-weight:800; text-transform:uppercase; }.media-card strong, .media-card small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.media-card small, .media-card p { color:var(--muted); font-size:.68rem; }.media-card p { margin:.45rem 0 0; }.pagination { display:flex; margin-top:1.5rem; align-items:center; justify-content:center; gap:.75rem; }.pagination span { color:var(--muted); font-size:.75rem; }
.media-card-actions { margin-top:.8rem; }
.admin-home-settings { padding:0 0 4rem; }.admin-home-settings > article { padding:1.2rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }.admin-home-settings header { display:flex; padding-bottom:1rem; border-bottom:1px solid #e6e1d7; align-items:center; justify-content:space-between; gap:1rem; }.admin-home-settings .eyebrow { margin-bottom:.25rem; }.admin-home-settings h2 { margin:0; font-family:Georgia,serif; font-size:1.35rem; font-weight:500; }.admin-home-settings-summary { display:grid; padding-top:1rem; grid-template-columns:1fr 1fr; gap:1rem; }.admin-home-settings-summary div { display:grid; gap:.15rem; }.admin-home-settings-summary span { color:var(--muted); font-size:.65rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }.admin-home-settings-summary strong { font-family:Georgia,serif; font-size:1rem; font-weight:500; }.admin-home-settings-summary small { color:var(--muted); font-size:.72rem; }.admin-settings-fieldset { display:grid; padding:.9rem; margin:.9rem 0 0; border:1px solid #d8d4ca; border-radius:10px; gap:.2rem; }.admin-settings-fieldset legend { padding:0 .25rem; font-size:.75rem; font-weight:800; text-transform:uppercase; }.admin-settings-fieldset > p { margin:0 0 .5rem; color:var(--muted); font-size:.75rem; line-height:1.45; }.admin-form .checkbox-label { display:flex; margin:.45rem 0 .35rem; align-items:center; gap:.5rem; font-size:.78rem; letter-spacing:0; text-transform:none; }.admin-form .checkbox-label input { width:auto; }
.moderation-page { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }.moderation-list { display:grid; gap:.7rem; }.moderation-list > article { padding:1rem; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.moderation-list header { display:flex; justify-content:space-between; gap:.5rem; }.moderation-list header a, .moderation-list header span { color:#5a63c7; font-size:.7rem; }.moderation-list p { white-space:pre-wrap; }.moderation-list footer { display:flex; gap:.5rem; }

@media (max-width: 900px) { .igdb-search-panel { grid-template-columns:1fr; } }
@media (max-width: 650px) { .igdb-search-form > div, .igdb-result { grid-template-columns:1fr; align-items:stretch; }.igdb-search-form > div { flex-direction:column; }.igdb-result > img { width:100%; height:150px; }.igdb-result > div { padding:.8rem .85rem 0; }.igdb-result-actions { padding:0 .8rem .8rem; }.igdb-result-actions .button { width:100%; } }
@media (min-width: 901px) { .main-navigation { display: flex !important; } }
@media (max-width: 1050px) {
  .dashboard-section { grid-template-columns: 1fr 1fr; }.profile-panel { grid-column:1/-1; }.program-grid { grid-template-columns:repeat(3,1fr); }.galaxy-grid { grid-template-columns:.7fr 1.3fr; }.video-card-grid, .game-card-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 900px) {
  .site-nav { flex-wrap:wrap; }.menu-toggle { display:block; }.main-navigation { width:100%; padding-bottom:1rem; }.main-navigation:not(.show) { display:none !important; }.main-navigation.show { display:flex; align-items:stretch; flex-direction:column; }.main-navigation > ul { width:100%; align-items:stretch; flex-direction:column; gap:0; }.main-navigation > ul a { padding:.65rem 0; }.main-navigation > ul a::after { bottom:.4rem; }.account-nav { padding-top:.7rem; border-top:1px solid var(--line); }
  .hero-grid { min-height:0; padding-block:3rem; grid-template-columns:1fr; gap:3rem; }.objective-card { max-width:540px; }.program-grid { grid-template-columns:repeat(2,1fr); }.large-card-grid { grid-template-columns:1fr; }.footer-grid { grid-template-columns:1fr 1fr; }.video-content, .lets-play-layout { grid-template-columns:1fr; }.player-placeholder { min-height:380px; }.video-metadata { display:none; }.admin-content, .moderation-page { grid-template-columns:1fr; }.media-upload-form { grid-template-columns:1fr 1fr; }.media-upload-form > div { grid-column:1/-1; }.media-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .container-shell, .container-narrow { width:min(100% - 24px,1180px); }.hero-copy h1 { font-size:2.35rem; }.button-row .button { width:100%; }.dashboard-section { grid-template-columns:1fr; }.profile-panel { grid-column:auto; }.programs-section .section-heading { align-items:flex-start; flex-direction:column; }.programs-section .section-heading .button { width:100%; }.program-grid, .video-card-grid, .game-card-grid, .media-grid { grid-template-columns:1fr; }.program-card { min-height:330px; }.galaxy-grid { grid-template-columns:1fr; }.game-galaxy { height:300px; margin-inline:-10px; }.discussion-list a { grid-template-columns:auto 1fr; }.discussion-list a > span:not(.discussion-signal), .discussion-list time { display:none; }.empty-community { grid-template-columns:1fr; text-align:center; }.empty-community > .button { width:100%; }.footer-grid { grid-template-columns:1fr; gap:1.7rem; }.large-card { grid-template-columns:1fr; }.large-card-art { min-height:120px; }.filter-preview small { width:100%; margin-left:0; }.signin-prompt { align-items:flex-start; flex-direction:column; }.signin-prompt .button { width:100%; }.comment-toolbar { align-items:flex-start; flex-direction:column; }.comment-sort { width:100%; }.comment-sort a { flex:1; text-align:center; }.premium-star-status { text-align:left; }.comment-form > div:last-child { align-items:flex-start; flex-direction:column; }.comment-form .button { width:100%; }.comment-item { grid-template-columns:30px 1fr; gap:.5rem; }.comment-avatar { width:30px; height:30px; }.comment-body > header { align-items:flex-start; flex-direction:column; gap:0; }.comment-actions { flex-direction:column; gap:.3rem; }.comment-actions form { align-items:stretch; flex-direction:column; }.community-feed header { align-items:flex-start; }.community-feed time { display:none; }.community-feed p { margin-left:0; }.metric-grid { grid-template-columns:1fr 1fr; }.attention-grid { grid-template-columns:1fr; }.attention-grid a { grid-template-columns:auto 1fr; }.attention-grid em { grid-column:1/-1; }.admin-content-block { min-width:0; }.form-grid, .media-upload-form { grid-template-columns:1fr; }.profile-image-editor { grid-template-columns:1fr; justify-items:start; }
}
@media (max-width: 650px) { .footer-bottom { align-items:flex-start; flex-direction:column; gap:.65rem; }.footer-bottom-links { flex-wrap:wrap; } }
@media (max-width: 650px) { .legal-definition-list div { grid-template-columns:1fr; gap:.2rem; } }
@media (max-width: 650px) { .hero-copy h1 { font-size:2.15rem; } }
.game-reference-editor { display:grid; padding:.9rem; margin:.9rem 0 0; border:1px solid #d8d4ca; border-radius:10px; gap:.65rem; }.game-reference-editor legend { padding:0 .25rem; font-size:.75rem; font-weight:800; text-transform:uppercase; }.game-reference-editor > p { margin:0; color:var(--muted); font-size:.72rem; line-height:1.45; }.game-reference-list { display:grid; gap:.5rem; }.game-reference-row { display:grid; grid-template-columns:minmax(150px,.8fr) minmax(0,1fr) auto; align-items:center; gap:.5rem; }.game-platform-row { grid-template-columns:minmax(0,1fr) auto; }.game-reference-add-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.5rem; }.game-reference-row .button, .game-reference-add-controls .button { margin:0; white-space:nowrap; }

/* Palette sombre partagée avec la page d'accueil. */
html { color-scheme: dark; }
body { background: var(--paper); color: var(--ink); }
::selection { background: rgba(254,182,131,.34); color: var(--cream); }
.eyebrow { color: var(--editorial-label); }
.button-primary, .button-light, .btn-primary { border-color: var(--editorial-label); border-radius: 999px; background: linear-gradient(180deg, #4C3B5A 0%, #342840 100%); box-shadow: none; color: var(--cream); }
.button-secondary { border-color: var(--warm-border); color: var(--warm-light); }
.button-secondary:hover { border-color: var(--coral); color: var(--cream); }
.button-danger { border-color: #80444a; background: #3A1D27; color: #FFC4BA; }
.text-link, .text-button, .panel-header a, .section-heading > a, .section-heading > span { color: var(--coral); }
.text-link:hover, .text-button:hover, .panel-header a:hover, .section-heading > a:hover { color: var(--cream); }
.disabled-link { color: #7C859F; }
.status-tag { border: 1px solid rgba(196,155,181,.5); background: rgba(196,155,181,.16); color: #E6CDE0; }

.profile-popover > header { color: var(--editorial-label); }
.large-avatar, .profile-image-preview { border-color: var(--warm-border); background: var(--surface-raised); color: var(--cream); }
.large-avatar-guest { background: #3F444D; }
.profile-image-editor { border-bottom-color: var(--line); }

.page-hero { border-bottom: 1px solid var(--warm-border); background: linear-gradient(135deg, #0D1228 0%, #040C1D 72%); }
.program-detail-hero { background: linear-gradient(135deg, #151B35 0%, #040C1D 75%); }
.game-detail-hero, .galaxy-page-hero { background: radial-gradient(circle at 70%, #1E2C47 0%, #0D1228 38%, #040C1D 76%); }
.page-hero p:last-child { color: var(--muted); }
.listing-section, .content-page, .profile-settings, .video-content, .lets-play-layout, .admin-dashboard, .admin-content, .admin-form-section, .media-library, .moderation-page { background: var(--paper); }

.panel, .large-card, .video-card, .game-card, .article-list a, .community-feed article, .content-context-card, .comment-form, .signin-prompt, .admin-content-block, .admin-form, .metric-grid article, .media-card, .admin-home-settings > article, .moderation-list > article { border-color: var(--line); background: var(--surface); color: var(--ink); }
.editorial-row, .video-row, .coming-list, .discussion-list a, .playlist-panel li, .content-context-card dl, .content-context-card dl div, .content-info-details-body section, .admin-list > div, .admin-home-settings header { border-color: var(--line); }
.editorial-icon { background: rgba(196,155,181,.18); color: var(--coral); }
.discussion-list { border-color: var(--line); background: var(--surface); }
.discussion-list a:hover, .article-list a:hover, .community-feed article:hover { background: var(--surface-hover); }
.discussion-signal, .article-list time, .article-list span, .community-feed header a, .large-card a, .video-card small { color: var(--coral); }

.large-card-art { background: linear-gradient(145deg, #10172A, #2D385F); }
.game-card::after { border-color: var(--line); }
.filter-preview button { border-color: var(--warm-border); color: var(--muted); }
.filter-preview button:hover, .filter-preview button.active { border-color: var(--editorial-label); background: rgba(196,155,181,.18); color: var(--cream); }
.filter-preview small { color: var(--muted); }
.empty-state, .empty-community { border-color: var(--warm-border); background: rgba(16,23,42,.48); color: var(--muted); }

.playlist-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.playlist-panel > header { border-bottom-color: var(--line); }
.playlist-panel a { color: var(--ink); }
.playlist-panel a > span { color: var(--muted); }
.playlist-panel a:hover, .playlist-panel a.active { color: var(--coral); }
.playlist-panel a.active { background: rgba(196,155,181,.18); }
.content-context-panel + .content-context-panel { border-left-color: var(--line); }
.content-context-card dl { border-top-color: var(--line); }
.content-context-card dd a, .context-link, .content-info-details > summary { color: var(--coral); }
.content-info-details > summary:hover { color: var(--cream); }

.comments-section { border-block-color: var(--warm-border); background: linear-gradient(180deg, #0D1228 0%, #040C1D 100%); color: var(--warm-light); }
.comments-section .comments-heading-meta, .comments-heading-meta { color: var(--coral); }
.comments-section .comment-item { border-color: var(--line); }
.info-hint summary { border-color: var(--editorial-label); background: var(--surface-raised); color: var(--editorial-label); }
.info-hint summary:hover, .info-hint[open] summary { border-color: var(--coral); background: rgba(196,155,181,.2); color: var(--coral); }
.info-hint-content { border-color: var(--line); background: var(--surface); color: var(--ink); }
.info-hint-content p + p { border-top-color: var(--line); }
.info-hint-premium { color: var(--coral); }
.comment-sort { border-color: var(--line); background: var(--surface-raised); }
.comment-sort a.active, .comments-section .comment-sort a.active { background: rgba(196,155,181,.24); color: var(--cream); }
.comment-composer[open] > summary { border-color: var(--editorial-label); background: rgba(196,155,181,.18); color: var(--cream); }
.comment-form textarea, .comment-actions textarea, .comment-actions input { border-color: var(--line); background: var(--surface-raised); color: var(--ink); }
.reaction-button { border-color: var(--line); background: var(--surface-raised); color: var(--warm-light); }
.reaction-button:hover:not(:disabled):not(.read-only), .reaction-button.active { border-color: var(--editorial-label); background: rgba(196,155,181,.2); color: var(--cream); }
.reaction-button.star { border-color: var(--warm-border); background: rgba(254,182,131,.12); color: var(--coral); }
.reaction-button.star:hover:not(:disabled):not(.read-only), .reaction-button.star.active { border-color: var(--coral); background: rgba(254,182,131,.24); color: var(--cream); }
.comment-actions details { color: var(--coral); }
.alert-message.success { border: 1px solid #536D54; background: #182A25; color: #D0E7C7; }
.alert-message.error { border: 1px solid #80444A; background: #3A1D27; color: #FFC4BA; }

.legal-completion-note { border-color: var(--warm-border); background: rgba(254,182,131,.12); color: var(--cream); }
.legal-definition-list, .legal-definition-list div { border-color: var(--line); }

.admin-navigation { border-bottom-color: var(--line); background: var(--surface-raised); }
.admin-navigation a, .admin-content-tabs a, .media-folder-tabs a { border-color: var(--line); color: var(--muted); }
.admin-navigation a:hover, .admin-content-tabs a:hover, .media-folder-tabs a:hover { border-color: var(--editorial-label); background: rgba(196,155,181,.12); color: var(--cream); }
.admin-navigation a.active, .admin-content-tabs a.active, .media-folder-tabs a.active { border-color: var(--editorial-label); background: rgba(196,155,181,.24); color: var(--cream); }
.attention-grid a { border: 1px solid rgba(196,155,181,.36); background: rgba(196,155,181,.14); }
.attention-grid em, .admin-edit-link { color: var(--coral); }
.admin-list > div { border-top-color: var(--line); }
.admin-delete-form button { color: #FFAAA0; }
.admin-home-settings header { border-bottom-color: var(--line); }
.admin-settings-fieldset, .game-reference-editor { border-color: var(--line); }

.igdb-search-panel { border-color: var(--line); background: var(--surface-raised); }
.igdb-search-panel .eyebrow, .igdb-result .igdb-result-meta { color: var(--editorial-label); }
.igdb-search-panel p { color: var(--muted); }
.igdb-search-form input, .igdb-result, .igdb-raw-data, .cover-image-picker, .cover-image-picker-option { border-color: var(--line); background: var(--surface); color: var(--ink); }
.igdb-result > img, .cover-image-preview { background: var(--surface-raised); }
.cover-image-preview { border-color: var(--warm-border); }
.cover-image-picker-option:hover, .cover-image-picker-option.selected { border-color: var(--editorial-label); box-shadow: 0 0 0 2px rgba(196,155,181,.22); }
.media-folder-label { background: rgba(196,155,181,.18); color: #E6CDE0; }

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea, select, .form-control, .form-select { border-color: var(--control-line) !important; background-color: var(--surface-raised) !important; color: var(--ink) !important; }
input::placeholder, textarea::placeholder, .form-control::placeholder { color: #8C96B3 !important; }
input:focus, textarea:focus, select:focus, .form-control:focus, .form-select:focus { border-color: var(--coral) !important; box-shadow: 0 0 0 .2rem rgba(254,182,131,.18) !important; }
select option { background: var(--surface-raised); color: var(--ink); }
input[type="checkbox"], input[type="radio"], .form-check-input { accent-color: var(--coral); }
.form-check-input { border-color: var(--warm-border); background-color: var(--surface-raised); }
.form-check-input:checked { border-color: var(--coral); background-color: var(--coral); }
.button-primary:hover, .button-primary:focus, .button-light:hover, .button-light:focus, .btn-primary:hover, .btn-primary:focus { border-color: var(--coral); background: linear-gradient(180deg, #5A476B 0%, #3E304A 100%); color: var(--cream); }
.btn-link { color: var(--coral); }
.btn-link:hover { color: var(--cream); }
.nav-pills .nav-link { color: var(--muted); }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background: rgba(196,155,181,.24); color: var(--cream); }
.text-muted { color: var(--muted) !important; }
.text-danger, .field-validation-error, .validation-summary-errors { color: #FFAAA0 !important; }
@media (max-width: 650px) { .game-reference-row { grid-template-columns:1fr; }.game-reference-row .button { width:100%; } }
@media (max-width: 650px) { .admin-home-settings-summary { grid-template-columns:1fr; }.admin-home-settings header { align-items:flex-start; flex-direction:column; }.admin-home-settings header .button { width:100%; } }
@media (max-width: 650px) { .discussion-heading { align-items:flex-start; flex-direction:column; gap:.8rem; }.discussion-heading-title { width:100%; flex-wrap:wrap; }.discussion-heading-title h2 { font-size:2rem; }.comments-heading-meta { align-self:flex-end; } }
@media (max-width: 650px) { .content-context { grid-template-columns:1fr; }.content-context-card-combined { grid-template-columns:1fr; }.content-context-panel + .content-context-panel { border-top:1px solid var(--line); border-left:0; }.content-context-card dl div { grid-template-columns:1fr; gap:.1rem; } }
@media (max-width: 650px) { .episode-editor-toolbar { align-items:flex-start; flex-direction:column; }.episode-fields { padding-left:0; grid-template-columns:1fr; gap:0; }.episode-delete > span:last-child { display:none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } *, *::before, *::after { transition-duration:.01ms !important; } }

