/* ModCompass game-world themes. Original interfaces and illustrations, no game logos or sprites. */
:root{color-scheme:dark;--paper:#0c1522;--surface:#142135;--surface-soft:#192940;--ink:#eaf0f8;--muted:#a5b4c9;--line:#304059;--yellow:#f4cf61;--world-accent:#f4cf61;--world-soft:#ea6567;--glow:#bc414116}
body{--world-accent:#f4cf61;--world-soft:#ea6567;background:radial-gradient(ellipse at 88% 0,var(--glow),transparent 45%),var(--paper);color:var(--ink)}
body[data-world=zelda]{--paper:#0b1c19;--surface:#122c25;--surface-soft:#1a372e;--ink:#ecf2e7;--muted:#a1b8a8;--line:#355347;--world-accent:#e6c37d;--world-soft:#73b99a;--glow:#8ac57c15}
body[data-world=general]{--paper:#101423;--surface:#1a2034;--surface-soft:#222b43;--ink:#ecedf9;--muted:#acb3cf;--line:#394465;--world-accent:#b2a3ff;--world-soft:#65d5cd;--glow:#9883fe17}
body[data-world=film]{--paper:#1a1221;--surface:#291c33;--surface-soft:#34263e;--ink:#f6edf8;--muted:#c0a9c9;--line:#584060;--world-accent:#f4b898;--world-soft:#c596ec;--glow:#c77dae17}
body[data-world=all]{--paper:#101923;--surface:#192737;--surface-soft:#203348;--ink:#edf4f8;--muted:#aec0cd;--line:#354c60;--world-accent:#f4cf61;--world-soft:#82c2c9}
body[data-game="pokemon-feuerrot"],body[data-game="pokemon-rot"],body[data-game="pokemon-rubin"],body[data-game="pokemon-omega-rubin"]{--world-accent:#ffad81;--world-soft:#e86466;--glow:#e05f3319}
body[data-game="pokemon-blattgruen"],body[data-game="pokemon-smaragd"]{--world-accent:#8bddae;--world-soft:#63c998;--glow:#33b27917}
body[data-game="pokemon-blau"],body[data-game="pokemon-saphir"],body[data-game="pokemon-alpha-saphir"]{--world-accent:#8bcafb;--world-soft:#70a9ed;--glow:#547efa17}
body[data-game="pokemon-silber"],body[data-game="pokemon-kristall"],body[data-game="pokemon-platin"]{--world-accent:#c0d6ea;--world-soft:#83c9d8}
body[data-game="zelda-twilight"]{--paper:#18181d;--surface:#26272b;--surface-soft:#303135;--line:#50514f;--world-accent:#e4c195;--world-soft:#aebdab;--muted:#bdbdb1}
body[data-game="zelda-majora"]{--world-accent:#c4b1f4;--world-soft:#97c9aa;--glow:#ad7ddf17}
header{background:#101a2a;border-bottom:1px solid var(--line);border-top:4px solid var(--world-soft);padding:19px 4%;min-height:94px;color:var(--ink)}
body[data-world=zelda] header,body[data-world=film] header,body[data-world=general] header,body[data-world=all] header{background:var(--surface)}
header .brand,footer .brand{color:var(--ink);font-size:22px;letter-spacing:1px}.brand-accent{color:var(--world-accent)}.brand small{color:var(--muted);letter-spacing:2px;font-size:8px}.logo.world-glyph,footer .logo.world-glyph{background:var(--surface-soft);border:1px solid var(--world-soft);color:var(--world-accent);border-radius:9px;width:43px;height:43px;padding:7px}.brand-o{color:var(--ink)}
nav{gap:23px}nav button,header .quiet{color:var(--muted);font-size:13px}nav button.active{color:var(--ink)}nav button.active:after{background:var(--world-accent)}.header-actions{gap:13px}.header-actions b{background:var(--surface-soft);color:var(--world-accent)}.language-control{border-color:var(--line);color:var(--ink)}.language-control select{background:var(--surface-soft);color:var(--ink)}.language-control>span{color:var(--world-accent)}
.button{background:var(--world-accent);border-color:var(--world-accent);color:#101b29;border-radius:6px;font-size:13px;font-weight:750;padding:12px 18px}.button:hover{background:var(--ink);border-color:var(--ink);color:#101b29}.button.secondary{background:var(--surface-soft);border-color:var(--line);color:var(--ink)}.button.secondary:hover{background:var(--surface);border-color:var(--world-accent)}.text-link,.source-link{color:var(--world-accent)}a:hover,button:hover{color:var(--world-accent)}.button:hover{color:#101b29}
.language-status,.language-status button{color:var(--muted)}.hero{gap:48px;align-items:center;padding-top:42px}.hero .eyebrow,.eyebrow{color:var(--world-accent);font-size:10px}.hero h1{font-size:clamp(48px,5.7vw,80px)!important;color:var(--ink);font-weight:800;line-height:1.02;letter-spacing:-3px;margin:23px 0}.hero h1 em{color:var(--world-accent)}.hero-copy>p{color:var(--muted);font-size:15px;line-height:1.85;max-width:530px}.hero-bottom>span{color:var(--muted)}
.visual-hero{height:auto;min-height:350px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:0 20px 70px #0004;position:relative}.visual-hero:before{content:none;display:block;padding:12px 19px;color:var(--muted);font-family:ui-monospace,monospace;font-size:9px;letter-spacing:2px;border-bottom:1px solid var(--line)}.hero-media{position:static;height:auto}.hero-media:after{display:none}.hero-media .original-profile{height:270px}.hero-media .original-profile svg{height:100%;width:100%;transform:none}.hero-media-label{position:static;padding:20px 23px;border-top:1px solid var(--line);background:var(--surface)}.hero-media-label h2{color:var(--ink);font-size:25px;margin:7px 0}.hero-media-label p{color:var(--muted);font-size:12px}.hero-media-label button{color:var(--world-accent);font-size:12px;margin-top:12px}.hero-media-label .live-tag{background:none;padding:0;color:var(--world-accent);font-size:9px;letter-spacing:1px}.hero-corner{color:var(--world-accent);background:none;top:9px;border:0;max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}.hero-with-video .hero-corner{display:none}
.intro-strip{border-color:var(--line);padding:24px 0;margin-top:10px}.intro-strip strong{color:var(--ink);font-family:ui-sans-serif,system-ui,sans-serif;font-weight:750;font-size:29px}.intro-strip span,.intro-strip p,.intro-strip small{color:var(--muted)}.tiny-shield{color:var(--world-accent)!important}
.world-switcher{background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--world-soft);padding:20px;border-radius:9px;flex-direction:row;align-items:center;flex-wrap:wrap}.world-switcher p{color:var(--muted)}.world-buttons button{background:var(--surface-soft);color:var(--muted);border:1px solid var(--line);padding:11px 13px;border-radius:6px}.world-buttons button[aria-pressed=true]{background:var(--world-accent);border-color:var(--world-accent);color:#102022}.world-buttons button:hover{background:var(--surface-soft);color:var(--ink);border-color:var(--world-accent)}.world-buttons button[aria-pressed=true]:hover{background:var(--world-accent);color:#102022}
.media-explainer{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px;padding:12px 0}.media-explainer p{margin:0}.preview-light{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--world-soft);margin-right:6px}.media-explainer button{font-size:11px}.weekly-strip{margin:6px 0 38px;background:var(--surface-soft);border:1px solid var(--line);border-radius:7px;color:var(--ink)}.weekly-strip .eyebrow{color:var(--world-accent)}.weekly-strip button{color:var(--ink)}.weekly-strip .mini-tag{background:var(--surface);color:var(--world-accent)}.weekly-strip .round{background:var(--surface);color:var(--world-accent);border-color:var(--line)}.strip-divider{border-color:var(--line)}
.catalog-section{grid-template-columns:212px minmax(0,1fr);gap:34px}.filters{border-color:var(--line)}.filter-heading h2{color:var(--ink);font-size:16px}.label{color:var(--muted)}.generation-grid button{background:var(--surface);color:var(--muted);border-color:var(--line);border-radius:5px}.generation-grid button.active{background:var(--world-accent);border-color:var(--world-accent);color:#182229}.filter-note,.aside-note p{color:var(--muted)}.filters select,.results-top select,.matrix-series select{background:var(--surface);color:var(--ink);border-color:var(--line);border-radius:5px}.check-filter{color:var(--muted)}.aside-note{background:var(--surface);border-color:var(--line);border-radius:8px}.aside-note h3{color:var(--ink)}.aside-note>span{color:var(--world-accent)}.filter-heading .text-link{color:var(--muted)}
.section-heading h2,.extra-view h2,#modal-content h2{color:var(--ink);font-size:31px;letter-spacing:-1px}.search-box{background:var(--surface);border-color:var(--line);padding:14px}.search-box input{color:var(--ink);font-size:14px;background:transparent}.search-box input::placeholder{color:var(--muted);opacity:.9}.search-box>span{color:var(--world-accent)}kbd{background:var(--surface-soft);color:var(--muted);border-color:var(--line)}.icon-button{background:var(--surface-soft);color:var(--muted);border-color:var(--line)}.catalog-tabs{border-color:var(--line);gap:15px;flex-wrap:wrap}.catalog-tabs button{color:var(--muted);font-size:12px}.catalog-tabs button.active{color:var(--world-accent);border-color:var(--world-accent)}.catalog-tabs button span{background:var(--surface-soft);color:var(--muted);font-size:10px}.results-top p,.results-top p b{color:var(--muted)}.results-top p b{color:var(--ink)}
.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.card{background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:none;transition:border-color .15s,transform .15s}.card:hover{border-color:var(--world-soft);transform:translateY(-2px)}.card-art,.card-art.graphics,.card-art.adventure,.card-art.balance,.card-art.interface,.card-art.engine{height:232px;background:var(--surface-soft);padding:0}.card-art:before{display:none}.original-profile{--scene-bg:#152837;--scene-ground:#214247;--scene-shadow:#153037;--scene-mid:#3d7370;--scene-light:#93c3a8;--scene-gold:#e6bf68;position:relative;width:100%;height:100%;overflow:hidden}.original-profile[data-profile=zelda]{--scene-bg:#17322a;--scene-ground:#274c3b;--scene-shadow:#17382d;--scene-mid:#4c785b;--scene-light:#b6c19b;--scene-gold:#d9b976}.original-profile[data-profile=general]{--scene-bg:#1b2541;--scene-ground:#2d4363;--scene-shadow:#152139;--scene-mid:#527096;--scene-light:#a5c7d8;--scene-gold:#b4a7ff}.original-profile[data-profile=film]{--scene-bg:#291d35;--scene-mid:#695179;--scene-shadow:#35253e;--scene-light:#d8b7dd;--scene-gold:#e8b797}.original-profile[data-visual=balance]{--scene-mid:#79636f;--scene-light:#dabaa0;--scene-gold:#f0c377}.original-profile[data-visual=rogue]{--scene-mid:#456c83;--scene-light:#8cbed0;--scene-gold:#edc766}.original-profile svg{height:100%;width:100%;filter:none!important;object-fit:cover;display:block}.profile-index{top:17px;left:16px;background:none;border:0;color:var(--scene-light);font-size:8px;padding:0;font-weight:700;letter-spacing:1.7px}.profile-edition{display:none}.profile-label,.hero-profile .profile-label{right:12px;left:auto;bottom:10px;background:#0b182bc9;border:0;color:#c3d2da;font-size:8px;text-transform:none;padding:4px 6px}.kind-badge{top:14px;left:13px;background:#0d1b2ddd;color:#f6dfa0;border:1px solid #ffffff20;border-radius:4px;font-size:8px;z-index:2}.original-profile .profile-index{top:46px}.bookmark{top:13px;right:13px;background:#0d1b2dc9;border:1px solid #ffffff50;color:#edf2f8;width:32px;height:32px;z-index:2}.bookmark.selected{background:var(--world-accent);color:#132033}.card-body{padding:20px}.card-eyebrow{color:var(--world-accent);font-size:9px}.project-title{color:var(--ink);font-size:20px;font-weight:750}.project-title:hover{color:var(--world-accent)}.creator{color:var(--muted);font-size:11px}.description{color:var(--muted);font-size:13px;line-height:1.75}.chip{background:var(--surface-soft);color:var(--muted);font-size:10px;border:1px solid var(--line);border-radius:4px}.generation-chip{background:var(--surface-soft);color:var(--world-accent)}.card-status{color:var(--muted);border-color:var(--line);font-size:10px}.dot.declared{background:#75b891}.card-footer{border-color:var(--line);padding:14px 20px;gap:12px}.compare-check,.card-footer button{color:var(--muted);font-size:11px}.card-footer button{color:var(--world-accent);text-align:right}.catalog-footnote{color:var(--muted)}.image-credit{color:var(--muted);font-size:10px}.image-credit .source-link{font-size:10px}
.card-art.with-media{background:#313843}.media-open{height:100%;width:100%;display:block;padding:0}.media-open img{height:100%;width:100%;object-fit:contain;display:block}.media-caption{position:absolute;left:0;right:0;bottom:0;padding:6px 10px;background:#0d192adb;color:#cfdae6;font-size:9px;pointer-events:none}
.card-art.has-video{height:auto;display:block;background:var(--surface)}.media-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 15px;border-bottom:1px solid var(--line);min-height:44px}.media-banner .kind-badge,.media-banner .bookmark{position:static}.media-banner .bookmark{width:26px;height:26px;font-size:16px}.youtube-preview{background:var(--surface-soft);width:100%;overflow:hidden}.youtube-choice{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:13px;padding:26px;min-height:300px;background:radial-gradient(circle at 50% 0,#c6505520,transparent 70%),var(--surface-soft)}.youtube-choice strong{font-size:14px;line-height:1.55;color:var(--ink);max-width:390px}.youtube-choice small{font-size:11px;line-height:1.6;color:var(--muted);max-width:350px}.video-mark{display:grid;place-items:center;width:43px;height:31px;background:#d94b4f;border-radius:8px;color:#fff;font-size:14px;padding-left:2px}.video-policy-links{display:flex;gap:13px;font-size:10px;color:var(--muted)}.video-policy-links a{text-decoration:underline;text-underline-offset:3px}.youtube-preview iframe{display:block;width:100%;height:300px;border:0;background:#000}.youtube-preview.compact .youtube-choice{min-height:240px;padding:18px 15px;gap:10px}.youtube-preview.compact .youtube-choice strong{font-size:12px}.youtube-preview.compact iframe{height:220px}.youtube-preview.compact .button{font-size:12px;padding:10px 13px}.video-original{display:block;font-size:10px;text-align:center;color:var(--muted);padding:9px;border-top:1px solid var(--line)}.video-original:hover{color:var(--world-accent)}.project-videos{display:grid;gap:18px}.project-videos .youtube-preview{border-radius:9px;border:1px solid var(--line)}.project-videos iframe{height:360px}.video-art{height:auto;border-color:var(--line);border-radius:8px}.video-art>span{display:none}.youtube-panel{background:var(--surface);border-color:var(--line);gap:28px}.youtube-panel h3{color:var(--ink)}
.community-banner{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--world-soft);border-radius:10px;padding:34px}.community-banner h2,.community-banner .eyebrow{color:var(--ink)}.community-banner .eyebrow{color:var(--world-accent)}.community-banner p{color:var(--muted)}.community-banner:after{color:#ffffff0a}footer{background:var(--surface);border-color:var(--line)}footer p,footer button,footer .footer-legal{color:var(--muted)}footer .footer-legal:hover,footer .footer-legal:focus-visible{color:var(--ink)}.compare-tray{background:var(--surface);border-color:var(--world-accent);color:var(--ink)}.compare-tray .button{background:var(--world-accent);color:#14212b}.compare-tray small{color:var(--muted)}.notice{background:var(--surface-soft);border-color:var(--line);color:var(--muted)}.extra-view>p,#modal-content p{color:var(--muted)}.feature,.game-card{background:var(--surface);border-color:var(--line);border-radius:9px}.feature h3,.game-card h3{color:var(--ink)}.feature p,.feature small{color:var(--muted)}.feature-symbol{color:var(--world-accent)}.detail-meta>div{background:var(--surface-soft);border-color:var(--line)}.detail-meta strong{color:var(--ink)}.detail-meta small{color:var(--muted)}.similar-list button{background:var(--surface-soft);color:var(--ink)}.table-scroll{border-color:var(--line)}th{background:var(--surface-soft);color:var(--ink)}td,td:first-child{color:var(--muted);border-color:var(--line)}td:first-child{color:var(--ink)}.pill{background:var(--surface-soft);color:var(--muted)}.pill.declared{background:#235343;color:#b8e4ca}.row-muted{color:var(--muted)}dialog{background:var(--surface);border-color:var(--line);color:var(--ink)}dialog::backdrop{background:#050a14cc}#modal-content h3{color:var(--ink)}.empty{background:var(--surface);color:var(--ink)}.empty p{color:var(--muted)}.full-preview figcaption,.project-gallery figcaption{color:var(--muted);font-size:11px}.full-preview figcaption .source-link,.project-gallery figcaption .source-link{font-size:11px}form input,form select,form textarea{background:var(--surface-soft);color:var(--ink);border-color:var(--line)}form label,form small{color:var(--muted)}pre{background:var(--surface-soft);color:var(--muted);border-color:var(--line)}.community-tile,.inbox-row{background:var(--surface-soft);border-color:var(--line);color:var(--ink)}.community-tile small,.inbox-row span,.inbox-row small{color:var(--muted)}.community-tile:hover{background:var(--surface)}#toast{background:var(--surface-soft);color:var(--ink);border:1px solid var(--line)}.cards.list .card-art{height:100%;min-height:210px}.cards.list .has-video{min-width:240px}.cards.list .card{grid-template-columns:280px minmax(0,1fr)}
@media(min-width:1350px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.project-title{font-size:18px}.card-body{padding:18px}.card-footer{padding:14px;flex-wrap:wrap}.card-art{height:220px}}
@media(max-width:1100px){header{gap:16px;min-height:94px;padding:16px 4%}header .brand{font-size:20px}nav{gap:16px}.header-actions{gap:9px}.hero{gap:28px}.hero h1{font-size:60px!important}.catalog-section{grid-template-columns:185px minmax(0,1fr);gap:24px}.cards{gap:17px}.card-body{padding:16px}.project-title{font-size:18px}.card-footer{padding:13px;flex-wrap:wrap}.youtube-preview.compact iframe{height:210px}.card-art{height:210px}}
@media(max-width:760px){header{padding:16px 5% 0}header .brand{font-size:19px}.logo.world-glyph{width:35px;height:35px}nav{height:45px;width:100%;order:3;overflow-x:auto}.hero{grid-template-columns:1fr;gap:25px;padding-top:26px}.hero h1{font-size:54px!important;letter-spacing:-2px}.hero-copy>p{font-size:14px}.visual-hero{box-shadow:none}.hero-media .original-profile{height:250px}.hero-media-label h2{font-size:24px}.world-switcher{padding:16px;gap:16px}.world-buttons button{font-size:11px;padding:10px}.media-explainer{align-items:flex-start;font-size:10px}.media-explainer button{font-size:10px;max-width:140px}.intro-strip strong{font-size:26px}.catalog-section{grid-template-columns:1fr}.section-heading h2{font-size:27px}.cards{gap:16px}.card-art{height:220px}.project-title{font-size:19px}.card-body{padding:17px}.description{font-size:13px}.card-footer{font-size:11px}.profile-label{font-size:8px}.profile-index{font-size:8px}.youtube-panel{grid-template-columns:1fr;padding:16px}.video-art{height:auto}.project-videos iframe{height:240px}.cards.list .card{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:620px){.cards{grid-template-columns:1fr}.card-art{height:235px}.youtube-preview.compact iframe{height:240px}.card-art.has-video{height:auto}.cards.list .card{display:flex;flex-direction:column}.cards.list .card-art{height:235px;min-width:0}.cards.list .has-video{height:auto}.hero h1{font-size:50px!important}.hero-bottom{flex-wrap:wrap}.hero-media-label{padding:18px}.media-explainer{flex-wrap:wrap}.community-banner{padding:25px}.section-heading h2{font-size:27px}.catalog-tabs button{font-size:12px}.intro-strip{gap:20px}.intro-strip p{display:none}}
@media(prefers-reduced-motion:reduce){.card{transition:none}.card:hover{transform:none}}

.youtube-choice{position:relative}.youtube-choice>:not(.youtube-backdrop){position:relative;z-index:1}.youtube-backdrop{position:absolute;inset:0;opacity:.24;pointer-events:none}.youtube-backdrop .profile-index{display:none}.youtube-backdrop .profile-label{bottom:4px;font-size:7px}.youtube-choice .video-mark{box-shadow:0 0 0 8px #d94b4f0c}
@media(max-width:760px){footer{display:flex;flex-direction:column;align-items:flex-start;gap:20px;padding:26px 5%}footer>div{display:flex;flex-wrap:wrap;gap:12px;width:100%;min-width:0}footer .footer-legal{flex:0 0 100%;margin-top:8px}footer p{max-width:100%}}

.youtube-thumbnail{display:block;width:100%;padding:0;background:#080d14;height:300px}.youtube-thumbnail img{width:100%;height:100%;object-fit:contain;display:block}.youtube-thumbnail:focus-visible{outline:3px solid var(--world-accent);outline-offset:-3px}.thumbnail-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:var(--surface-soft);border-top:1px solid var(--line);color:var(--muted);font-size:11px}.thumbnail-caption button{color:var(--world-accent);font-size:11px;padding:0}.compact .youtube-thumbnail{height:220px}.compact .thumbnail-caption{font-size:10px}.compact .thumbnail-caption button{font-size:10px}@media(max-width:620px){.compact .youtube-thumbnail{height:240px}}
/* Original franchise palettes and navigation motifs; no game logos or copied UI. */
body[data-world="mario"]{--world-accent:#ffd268;--world-soft:#dd6267;--surface:#1e293f;--surface-soft:#25344c;--world-deep:#10192b}
body[data-world="sonic"]{--world-accent:#8dcaff;--world-soft:#639fe6;--surface:#142940;--surface-soft:#203a55;--world-deep:#0d1b2c}
body[data-world="banjo"]{--world-accent:#f4ce7b;--world-soft:#8bbb91;--surface:#24312b;--surface-soft:#314236;--world-deep:#131e1a}
body[data-world="metroid"]{--world-accent:#f8b46c;--world-soft:#8ab794;--surface:#1d2e30;--surface-soft:#2a3e3e}
body[data-world="megaman"]{--world-accent:#75d7f3;--world-soft:#7da2f1;--surface:#182b3e;--surface-soft:#254159}
body[data-world="dragonball"]{--world-accent:#f4b56c;--world-soft:#719dc9;--surface:#29263b;--surface-soft:#37334b}
body[data-world="doom"],body[data-world="perfectdark"]{--world-accent:#eead75;--world-soft:#a86e6f;--surface:#2c272c;--surface-soft:#3a3238}
body[data-world="starfox"],body[data-world="starwars"]{--world-accent:#9acbef;--world-soft:#c48f65;--surface:#1b2a3b;--surface-soft:#283c51}
body[data-world="jak"],body[data-world="goemon"],body[data-world="tombraider"],body[data-world="donkeykong"]{--world-accent:#e2ce89;--world-soft:#80aa98;--surface:#21322e;--surface-soft:#30453e}
.original-profile[data-profile="mario"]{--scene-bg:#1e293f;--scene-mid:#a15a69;--scene-light:#d59787;--scene-gold:#ffd268;--scene-ground:#304a62;--scene-shadow:#172034}
.original-profile[data-profile="sonic"],.original-profile[data-profile="megaman"],.original-profile[data-profile="starfox"]{--scene-bg:#122943;--scene-mid:#376b94;--scene-light:#86c7e9;--scene-gold:#e3c67f;--scene-ground:#254d6a;--scene-shadow:#0d1c30}
.original-profile[data-profile="banjo"],.original-profile[data-profile="donkeykong"],.original-profile[data-profile="jak"],.original-profile[data-profile="goemon"],.original-profile[data-profile="tombraider"]{--scene-bg:#172b25;--scene-mid:#416d57;--scene-light:#9ac8a5;--scene-gold:#e8c571;--scene-ground:#29483b;--scene-shadow:#0e211b}
.original-profile[data-profile="dragonball"],.original-profile[data-profile="metroid"]{--scene-bg:#25223a;--scene-mid:#636590;--scene-light:#9eb5cf;--scene-gold:#ecb570;--scene-ground:#403b60;--scene-shadow:#1d1b2e}
.world-switcher{align-items:flex-start}.world-switcher>div:first-child{max-width:190px}.world-buttons{flex-wrap:wrap;gap:9px;flex:1;justify-content:flex-start}.world-buttons button{gap:8px}.world-buttons button small{font-size:9px;opacity:.75;font-variant-numeric:tabular-nums}.more-worlds{display:flex;flex-direction:column;gap:5px;min-width:190px;max-width:270px;flex:1;color:var(--muted);font-size:10px}.more-worlds select{background:var(--surface-soft);border:1px solid var(--line);border-radius:6px;color:var(--ink);padding:10px 12px;max-width:100%;font-size:12px}.availability{display:inline-block;align-self:flex-start;background:#234634;color:#b3ddba;font-size:9px;padding:5px 7px;border:1px solid #6b9b7140;border-radius:4px;margin-bottom:10px}.availability.experimental{background:#493b29;color:#efd096;border-color:#b9944840}.availability.source{background:#29384b;color:#b7cde7;border-color:#7397c340}.video-context{font-size:11px;line-height:1.65;color:var(--muted);margin:8px 0 18px}.original-profile .profile-label{max-width:90%}
@media(max-width:760px){.world-switcher>div:first-child{max-width:none;width:100%}.world-buttons{width:100%}.more-worlds{max-width:none;flex-basis:100%;margin-top:3px}.world-buttons button{padding:10px;flex:1 1 auto}.world-buttons button small{font-size:8px}}

.preview-heading{display:block;padding:12px 19px;color:var(--muted);font-family:ui-monospace,monospace;font-size:9px;letter-spacing:2px;border-bottom:1px solid var(--line)}

.profile-project{position:absolute;left:16px;bottom:37px;max-width:78%;font-size:14px;line-height:1.3;font-weight:750;color:#edf2f5;background:#0d1929d9;padding:6px 9px;border-left:2px solid var(--scene-gold);text-align:left}.hero-profile .profile-project{font-size:18px;bottom:48px}

.conflict-notice{border-left:3px solid #df8f80;background:#452c2c;color:#f2c3bc}.pill.incompatible{background:#543035;color:#f0c0c2}.pill.tested{background:#21445f;color:#aed6f4}

body[data-world=nfs]{--paper:#141714;--surface:#252c22;--surface-soft:#333b2b;--ink:#f1f4e8;--muted:#b8c2a8;--line:#4b5542;--world-accent:#e8d17c;--world-soft:#b6cd80;--glow:#9aa92f16}
body[data-world=kingdomhearts]{--paper:#101624;--surface:#1a253a;--surface-soft:#23324a;--ink:#edf5fb;--muted:#afc3d4;--line:#3c5269;--world-accent:#b4e4ec;--world-soft:#c0b2ef;--glow:#7c88d21a}

.requirements-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.requirements-grid>div{border:1px solid var(--line);border-radius:8px;padding:17px;background:var(--surface)}.requirements-grid h3{font-size:15px}.requirements-list{list-style:none;margin:0;padding:0}.requirements-list li{display:flex;align-items:flex-start;flex-direction:column;gap:7px;padding:12px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.requirements-list .requirement-project{margin:0;padding:0;color:var(--world-accent);font-size:14px;line-height:1.5;text-align:start}.requirements-list small{color:var(--muted);font-size:10px;line-height:1.6}.requirement-version{font-size:12px;color:var(--ink)}.requirement-version code{background:var(--surface-soft);padding:3px 6px;border-radius:3px}.requirements-note{font-size:12px;color:var(--muted);line-height:1.7}.optional-heading{margin-top:24px!important}.project-section .requirement-project.text-link{margin:0}@media(max-width:600px){.requirements-grid{grid-template-columns:1fr}}

.original-profile{background:var(--scene-bg)}.card-art .original-profile{position:absolute;inset:0;width:100%;height:100%;background:var(--scene-bg)}

body[data-world=smash]{--paper:#111522;--surface:#20263b;--surface-soft:#2c3450;--ink:#eef1fc;--muted:#b6bed9;--line:#4b5577;--world-accent:#efb389;--world-soft:#9fbcf4;--glow:#928df51a}
.original-profile[data-profile=smash]{--scene-bg:#1a233b;--scene-mid:#4c6190;--scene-light:#aac3ec;--scene-gold:#efb389;--scene-ground:#293955;--scene-shadow:#121a2e}

body[data-world=castlevania]{--paper:#171320;--surface:#2b2236;--surface-soft:#3b2e49;--ink:#f5ecf8;--muted:#c6b5d0;--line:#604c6c;--world-accent:#ecc891;--world-soft:#be98d1;--glow:#ad71d51a}
body[data-world=rayman]{--paper:#121c26;--surface:#223746;--surface-soft:#2e4b59;--ink:#f1f6f4;--muted:#b3d0cf;--line:#4c707b;--world-accent:#f1c277;--world-soft:#90d3c5;--glow:#6dcdb117}
body[data-world=ridgeracer]{--paper:#101924;--surface:#1b2b42;--surface-soft:#263f59;--ink:#edf4fa;--muted:#aac4da;--line:#426682;--world-accent:#a1ddfa;--world-soft:#e6aa83;--glow:#419ccb17}
body[data-world=silenthill]{--paper:#191b1a;--surface:#2d3330;--surface-soft:#3d4640;--ink:#f0efe7;--muted:#bdc3b4;--line:#5b685f;--world-accent:#d5c39c;--world-soft:#a6baab;--glow:#9faf9315}
.original-profile[data-profile=castlevania]{--scene-bg:#271c35;--scene-ground:#493352;--scene-shadow:#1a1525;--scene-mid:#765481;--scene-light:#c6a2d3;--scene-gold:#ecc891}
.original-profile[data-profile=rayman]{--scene-bg:#193c47;--scene-ground:#2c605c;--scene-shadow:#142b36;--scene-mid:#4e9085;--scene-light:#9bdac4;--scene-gold:#f1c277}
.original-profile[data-profile=ridgeracer]{--scene-bg:#14283f;--scene-ground:#244964;--scene-shadow:#0f1d30;--scene-mid:#44799a;--scene-light:#a1ddfa;--scene-gold:#e6aa83}
.original-profile[data-profile=silenthill]{--scene-bg:#24302c;--scene-ground:#3b4941;--scene-shadow:#1a231f;--scene-mid:#607b6a;--scene-light:#aec7b3;--scene-gold:#d5c39c}

.conflict-notice.conditional-rule{border-left-color:#e5b867;background:#3b3424;color:#f1dec0}

body[data-world=lostodyssey]{--paper:#191622;--surface:#2c2638;--surface-soft:#3d344b;--ink:#f7efe4;--muted:#d0bfb1;--line:#695567;--world-accent:#efc894;--world-soft:#a6ced0;--glow:#c38aa819}
.original-profile[data-profile=lostodyssey]{--scene-bg:#30243b;--scene-ground:#564259;--scene-shadow:#1e1929;--scene-mid:#866478;--scene-light:#bcd9d6;--scene-gold:#efc894}

body[data-game=pokemon-pinball-gbc]{--paper:#101e28;--surface:#1c3343;--surface-soft:#284959;--ink:#f1f5e8;--muted:#adc9ca;--line:#476f80;--world-accent:#f3ca80;--world-soft:#9fdfc7;--glow:#68cebf19}
.original-profile[data-visual=pinball]{--scene-bg:#173744;--scene-ground:#2c5963;--scene-shadow:#102631;--scene-mid:#457f83;--scene-light:#b5e1cc;--scene-gold:#f3ca80}

/* Own skateboard, circuit and motorcycle motifs; these illustrations are not game screenshots. */
body[data-world=skate]{--paper:#111b20;--surface:#20353b;--surface-soft:#2b4950;--ink:#edf6f3;--muted:#b2ceca;--line:#456b73;--world-accent:#b0e4d1;--world-soft:#e99e87;--glow:#6cbda519}
body[data-world=fzero]{--paper:#14132b;--surface:#262342;--surface-soft:#363257;--ink:#f2eefc;--muted:#c4b9df;--line:#655885;--world-accent:#91e1ea;--world-soft:#dfa2d6;--glow:#a47bc91b}
body[data-world=roadrash]{--paper:#1c1816;--surface:#342a26;--surface-soft:#483832;--ink:#f8f0e4;--muted:#d0bba8;--line:#76564b;--world-accent:#efb581;--world-soft:#b7c397;--glow:#d08d6018}
body[data-world=beetleracing]{--paper:#111e28;--surface:#1f3545;--surface-soft:#2b4b5e;--ink:#eff6f3;--muted:#b4ced8;--line:#4e7485;--world-accent:#edd48c;--world-soft:#9cd8d6;--glow:#66b6c817}
.original-profile[data-profile=skate]{--scene-bg:#173339;--scene-ground:#2c5757;--scene-shadow:#112629;--scene-mid:#4e7d7c;--scene-light:#b7ddd4;--scene-gold:#e99e87}
.original-profile[data-profile=fzero]{--scene-bg:#211c3b;--scene-ground:#453464;--scene-shadow:#14152b;--scene-mid:#675387;--scene-light:#91e1ea;--scene-gold:#dfa2d6}
.original-profile[data-profile=roadrash]{--scene-bg:#34261f;--scene-ground:#664637;--scene-shadow:#201b19;--scene-mid:#805e48;--scene-light:#c6d5b1;--scene-gold:#efb581}
.original-profile[data-profile=beetleracing]{--scene-bg:#193545;--scene-ground:#2a5964;--scene-shadow:#102633;--scene-mid:#4f8e95;--scene-light:#b5e1d3;--scene-gold:#edd48c}

/* Original water, snow and dossier palettes; no game artwork or logos. */
body[data-world=waverace]{--paper:#101d29;--surface:#19374b;--surface-soft:#254b60;--ink:#edf7f5;--muted:#b0d3d9;--line:#467d91;--world-accent:#f0d58b;--world-soft:#8ddbd9;--glow:#70c4da19}
body[data-world=snowboardkids]{--paper:#152033;--surface:#273d57;--surface-soft:#36536e;--ink:#f2f8fd;--muted:#bdd5e8;--line:#6287a5;--world-accent:#f6c498;--world-soft:#acd9fa;--glow:#8ac7f21a}
body[data-world=jamesbond]{--paper:#191b21;--surface:#2c303b;--surface-soft:#3b414e;--ink:#f3f1e9;--muted:#c5c5b8;--line:#686d7b;--world-accent:#dfc393;--world-soft:#a9bebc;--glow:#c3ac8419}
.original-profile[data-profile=waverace]{--scene-bg:#133849;--scene-ground:#277d89;--scene-shadow:#112934;--scene-mid:#3ea7ad;--scene-light:#c4ebe3;--scene-gold:#f0d58b}
.original-profile[data-profile=snowboardkids]{--scene-bg:#243e59;--scene-ground:#608fad;--scene-shadow:#183047;--scene-mid:#a8cbdc;--scene-light:#eef9fd;--scene-gold:#f6c498}
.original-profile[data-profile=jamesbond]{--scene-bg:#2a2e39;--scene-ground:#4a515d;--scene-shadow:#191e29;--scene-mid:#697b85;--scene-light:#bacbca;--scene-gold:#dfc393}

/* Shared image galleries retain sources and licenses next to every preview. */
.gallery-slider{display:block;min-width:0;margin:24px 0;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}.gallery-toolbar h3{font-size:14px;margin:0}.gallery-controls{display:flex;align-items:center;gap:9px}.gallery-controls button{display:grid;place-items:center;background:var(--surface-soft);color:var(--world-accent);width:34px;height:34px;border:1px solid var(--line);border-radius:6px;font-size:21px}.gallery-controls button:disabled{opacity:.35;cursor:default}.gallery-position{font-size:11px;min-width:42px;text-align:center;font-variant-numeric:tabular-nums}.gallery-stage{margin:0}.gallery-stage>button,.gallery-stage>div{display:block;padding:0;width:100%;aspect-ratio:16/9;background:#080e15;border:0}.gallery-stage img{display:block;width:100%;height:100%;object-fit:contain}.gallery-credit{padding:12px 16px;font-size:11px;color:var(--muted);line-height:1.7;border-top:1px solid var(--line);overflow-wrap:anywhere}.gallery-credit a{color:var(--world-accent)}.gallery-credit small{display:block;font-size:10px;opacity:.85}.gallery-context{font-size:12px;line-height:1.7;color:var(--muted);padding:0 16px;margin:8px 0 16px}.gallery-rail{display:flex;gap:9px;overflow-x:auto;padding:12px 16px;border-top:1px solid var(--line);max-width:100%;box-sizing:border-box}.gallery-rail button{position:relative;flex:0 0 120px;width:120px;height:75px;padding:0;border:2px solid transparent;border-radius:5px;overflow:hidden;background:#080e15}.gallery-rail button[aria-pressed=true]{border-color:var(--world-accent)}.gallery-rail img{width:100%;height:100%;object-fit:contain;display:block}.gallery-rail span{position:absolute;bottom:3px;right:3px;padding:2px 5px;background:#101a2cdd;color:#fff;font-size:9px}.gallery-slider button:focus-visible,.gallery-lightbox button:focus-visible{outline:3px solid var(--world-accent);outline-offset:-3px}.gallery-lightbox{max-width:1100px;width:92vw;max-height:92vh;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);overflow:auto}.gallery-lightbox::backdrop{background:#050910e6}.gallery-lightbox .gallery-stage>div{aspect-ratio:auto;height:min(62vh,650px)}.gallery-lightbox .gallery-toolbar{position:sticky;top:0;background:var(--surface);z-index:1}.gallery-empty{padding:16px;color:var(--muted);font-size:12px}.gallery-count{align-self:flex-start;color:var(--world-accent);font-size:10px;padding:7px 0;text-align:left}.project-media-section{margin-top:28px}.project-media-section>h2{font-size:22px;margin-bottom:15px}@media(max-width:620px){.gallery-toolbar{padding:10px}.gallery-controls{gap:5px}.gallery-controls button{width:31px;height:31px}.gallery-rail{padding:10px}.gallery-rail button{flex-basis:95px;width:95px;height:62px}.gallery-credit{padding:10px;font-size:10px}.gallery-lightbox{width:96vw;max-height:94vh}.gallery-lightbox .gallery-stage>div{height:53vh}.gallery-context{font-size:11px}}

.project-stats{color:var(--muted);font-size:11px;line-height:1.6}.feature-media{height:210px;position:relative;overflow:hidden;margin:-24px -24px 24px}.feature-media>img,.feature-media .youtube-preview,.feature-media .original-profile{width:100%;height:100%;object-fit:cover}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.weekly-strip{flex-wrap:wrap}.weekly-strip button:not(.round){flex:1;text-align:left;min-width:150px;font-size:12px}.weekly-strip .eyebrow{font-size:9px}.weekly-strip .mini-tag{font-size:9px}@media(max-width:850px){.feature-grid{grid-template-columns:1fr}.feature-media{height:250px}.weekly-strip .eyebrow{width:100%}.weekly-strip .strip-divider{display:none}}

.feature-credit{margin:0 0 16px;color:var(--muted);font-size:10px}.feature-credit a{font-size:10px}.feature-media{margin-bottom:12px}
