/* Shared 5408Game identity: charcoal, warm ivory and antique gold. */
.related-grid img[src$="/games/aeslg/cover.webp"]{object-fit:contain;background:#0b1420}
:root{color-scheme:dark;--red:#c6a369;--red-deep:#17191d;--deep:#0b0c0f;--ink:#eee8dd;--paper:#0d0f12;--gold:#c6a369;--line:#6f614748;--muted:#b5afa5;--link:#dfc18d}
body{background:#0d0f12;background-image:radial-gradient(ellipse at 70% 0,#8f703b12,transparent 45%);color:var(--ink)}
p{color:#b8b4ac}h1,h2,h3{color:#f2eee7}a:hover{color:#e3c386}::selection{background:#c6a369;color:#101114}
.site-header{background:#090a0d;border-bottom:1px solid #b3945a66;color:#f5f1e8;height:88px}
.brand{font-size:24px;gap:12px;letter-spacing:.01em}.brand img{filter:none;border:0;padding:0;width:37px;height:52px;object-fit:contain}.brand-small{font:9px/1.8 var(--sans);letter-spacing:.22em;color:#c7b387}
.site-header nav{gap:29px;font-size:13px}.nav-cta{border-color:#b99a60;color:#ddc18e;background:#b99a600c}
.site-header nav a:not(.nav-cta):after{background:#c6a369}.site-header nav a[aria-current]{color:#e4c994}
.eyebrow{color:#c6a369}.eyebrow.pale{color:#dfc18d}.text-link,.guide-actions .text-link,td a{color:#dfc18d;border-color:#796342}.text-link:hover{color:#fff0cd}
.page-heading{background:linear-gradient(135deg,#1b1b1b,#101216 65%);border-color:var(--line);padding-top:70px;padding-bottom:54px}.page-heading h1{font-size:clamp(30px,3.6vw,48px)}
.section{padding-top:78px;padding-bottom:78px}.products-section{padding-top:32px}.section-title{margin-bottom:40px}
.world-ribbon{background:#14161a;border-color:var(--line)}.world-ribbon a,.world-ribbon a:first-child{border-color:var(--line)}.world-ribbon a span{color:#c6a369}.world-ribbon a:hover{background:#25211b}
.card-art,.feature-media,.related-grid a,.guide-cover{background:#17191d;border-color:#74603e}.card-copy p{color:#b8b4ac}.card-copy h3{color:#f1e7d6}
.lineup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 30px}.lineup-grid .game-card,.lineup-grid .game-card:nth-child(-n+2){grid-column:span 1}
.lineup-grid .game-card.featured-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);background:linear-gradient(110deg,#181b20,#1e1b16);border:1px solid #9b7c4766;align-items:center}
.lineup-grid .featured-card .card-art{border:0;padding:0;align-self:stretch}.lineup-grid .featured-card .card-art img{height:100%;min-height:390px;object-fit:cover}.lineup-grid .featured-card .card-art:after{inset:12px}
.lineup-grid .featured-card .card-copy{padding:38px 32px}.lineup-grid .featured-card h3{font-size:clamp(25px,2.7vw,38px);line-height:1.6;margin:17px 0 20px}.lineup-grid .featured-card p{font-size:15px;line-height:2.1}.lineup-grid .featured-card .text-link{margin-top:22px}
.lineup-grid .game-card:not(.featured-card) .card-art img{height:310px;object-fit:cover}.hook-list li{color:#d7bd8d;border-color:#756044;background:#d7bd8d06}
.product-tools button,.gallery-tools button{border-color:#6a5a40;color:#bcb7ac}.product-tools button:hover,.gallery-tools button:hover{border-color:#c6a369;color:#ead9b5}.product-tools button[aria-pressed=true],.gallery-tools button[aria-pressed=true]{background:#c6a369;border-color:#c6a369;color:#171513}
.your-story-hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);height:auto;min-height:560px;background:#101216;align-items:stretch;overflow:hidden}
.your-story-hero .hero-art{position:static;grid-column:2;grid-row:1;z-index:0;width:100%;height:100%;object-fit:cover;object-position:57% center;opacity:1}
.your-story-hero .hero-copy{grid-column:1;grid-row:1;padding:68px 8% 60px 13%;align-self:center;max-width:none;z-index:1}.your-story-hero .hero-shade{display:none}.your-story-hero:after{display:none}
.your-story-hero h1{font-size:clamp(35px,4.1vw,62px);line-height:1.6;letter-spacing:.035em}.your-story-hero h1 span{color:#e2c38b}.your-story-hero .hero-series{margin:24px 0 18px;font-size:12px;letter-spacing:.14em}.your-story-hero .hero-desc{font-size:14px;line-height:2.2}.your-story-hero .hero-actions{gap:20px}.your-story-hero .button{gap:23px;padding:12px 20px}.your-story-hero .development-tag{font-size:10px;color:#b5a88c}
.theme-ken{display:grid;grid-template-columns:1fr 1fr;min-height:560px;background:#101216}.theme-ken .hero-art{position:static;grid-column:2;grid-row:1;z-index:0;height:100%;object-position:58% center}.theme-ken .hero-shade{display:none}.theme-ken .game-hero-copy{grid-column:1;grid-row:1;padding:55px 10% 55px 13%;max-width:none}.theme-ken h1{font-size:clamp(30px,3.6vw,49px);letter-spacing:.025em}.theme-ken:after{display:none}
.theme-ken .game-subtitle{font-size:22px}.theme-ken .game-lead{font-size:14px}.theme-ken .breadcrumb{margin-bottom:24px}
.showcase-band,.studio-promises{background:linear-gradient(110deg,#17191e,#111215);border-color:#6c5836}.systems,.more-games,.credits,.team-section{background:#14161a;border-color:var(--line)}.section-nav{background:#15171b;color:#d8c39b;border-color:#796342}.section-nav a:hover,.section-nav a.active{background:#332b1e;color:#ffeac1}.button.red{background:#c6a369;color:#141414;border-color:#c6a369}
.strategy-tip,.guide-copy .guide-tip{background:#c6a3690b;border-color:#796342}.strategy-tip>span{background:#c6a369;color:#111}.system-symbol{color:#d9bb84}.gallery-note,.faq details,.guide-row{border-color:var(--line)}.guide-row:hover{background:#c6a3690b}.guide-row>b{color:#dfc18d}
thead{background:#29251e;color:#e0c593}th,td{border-color:var(--line)}.table-featured{display:block;font:10px/1.8 var(--sans);color:#d2b67f;margin-top:5px}
.footer{background:#090a0d;border-top:1px solid #aa8a5066}.footer-top p{color:#bfb5a1}.footer-brand img{width:135px;height:auto;max-height:148px;object-fit:contain}.footer-bottom{color:#aaa297}.footer-games{color:#d2c8b4}
input,select,textarea{background:#1a1d22;color:#f2eee6;border-color:#756044}.skip{background:#16181d;color:#e5c58c}.story-body strong{color:#e0c18a}.story-seal{border-color:#b99a60;color:#d9bb84;outline-color:#796342}.team-member,.team-lead{background:#1a1c21;border-color:#5c4d34;color:#f2eee6}.team-lead{background:linear-gradient(110deg,#24221e,#191b20)}.team-member h3 span{color:#d0b785}.team-member p,.team-lead p{color:#bab6ae}.member-age,.portrait-note{color:#c0b18f!important}.team-portrait{background:#111215;border-color:#796342}.team-portrait img{aspect-ratio:1;object-fit:contain}
.guide-shortcuts a{background:#191c21;color:#d6bd8e;border-color:#655638}.guide-shortcuts a:hover{background:#29251e}.guide-shortcuts a:first-child{border-color:#bf9c5c;background:#b99a600c}.guide-shortcuts span{color:#c6a369}.game-guide{border-color:#655638}.guide-copy .guide-lead,.guide-dossier-intro{color:#e0d4bd}.guide-steps strong{color:#e2cfab}.guide-steps li::marker,.guide-tip strong{color:#d1ad70}
.guide-metrics b{color:#e2c18a}.guide-metrics span,.guide-expand-note,.guide-dossier .guide-data-note{color:#afa48e}.guide-topic{background:#171a1f;border-color:#615236}.guide-topic[open]>summary{background:#25231e;border-color:#615236}.guide-topic>summary::after{color:#d7b574}.guide-topic>summary>span{color:#baaa89}.guide-topic>summary:focus-visible,.guide-table-scroll:focus-visible{outline-color:#d7b574}
.guide-fact,.guide-unit-dossier{background:#1d2026;border-color:#544a37}.guide-fact h4,.guide-subheading,.guide-unit-heading h4{color:#e5cfab}.guide-fact-art,.guide-unit-art{background:radial-gradient(ellipse at center bottom,#9b7b3f30,transparent 75%);border-color:#554830}.guide-unit-dossier dt{color:#d4b67e}.guide-unit-dossier dd{color:#bbb6ac}.guide-unit-jumps a{background:#22252a;color:#d3ba8c;border-color:#6f5b3c}
.guide-table-scroll{background:#191c21;border-color:#655638}.guide-table-scroll caption,.guide-table-scroll thead{background:#29251e;color:#d7c39f}.guide-table-scroll th,.guide-table-scroll td{border-color:#514834}.guide-table-scroll tbody tr:nth-child(even){background:#202329}.guide-lesson{border-color:#514834}.guide-pattern{background:#202329;border-color:#655638}.guide-pattern figcaption{color:#baaf98}.guide-pattern-grid span{background:#30333a;border-color:#7b6846}.guide-pattern-grid .is-cleared{background:#866b3f;border-color:#a58952}.guide-pattern-grid .is-origin{background:#5c4425}.guide-list .section-title{padding-top:24px}.guide-featured-label{display:block;color:#dfbf83;font:11px/1.8 var(--sans);letter-spacing:.12em;margin-bottom:12px}
.bandit-wiki-portal{background:#14161a}.bandit-wiki-intro,.bandit-system-links a,.bandit-hero-card,.bandit-unit-roster a{background:#1d2026;color:#e9dbc1;border-color:#655638}.bandit-hero-data h3,.bandit-portal-subtitle h3,.bandit-system-links h3{color:#e5cfab}
.story-scale{display:flex;gap:26px;flex-wrap:wrap;padding:22px 0 0;margin:22px 0 0;border-top:1px solid #a58a5540}.story-scale div{display:flex;flex-direction:column;gap:2px}.story-scale dt{font:30px/1.4 Georgia,serif;color:#e7cc97}.story-scale dd{font:11px/1.8 var(--sans);color:#b8af9b;margin:0}.featured-card .story-scale{gap:22px;margin-top:22px;padding-top:18px}.featured-card .story-scale dt{font-size:28px}
.guide-fact-art:has(img[src^="/assets/games/ken/"]){height:auto;aspect-ratio:16/9;padding:0;background:#111}.guide-fact-art img[src^="/assets/games/ken/"]{object-fit:contain;object-position:center}.your-story-hero .hero-art{object-fit:contain;background:#08090b}.theme-ken .hero-art{object-fit:contain;background:#08090b}
@media(max-width:760px){.lineup-grid .game-card.featured-card:first-child{grid-column:auto;display:flex;flex-direction:column}.lineup-grid .featured-card .story-scale{gap:24px}.story-scale dt{font-size:28px}}
/* The generated encyclopedia reuses the same identity and readable dark surfaces. */
.studio-bar{background:#090a0d;color:#e0c18a}.studio-brand{display:flex;align-items:center;gap:10px}.studio-brand img{height:32px;width:25px;object-fit:contain}.wiki-masthead,.wiki-article,.table-scroll,.category-grid>a{background:#171a1f}.wiki-brand,.wiki-article h1,.wiki-article h2,.wiki-article h3{color:#eee4d3}.wiki-search input,.index-tools input,.index-tools select{background:#22252a;color:#eee4d3}.wiki-search button,.index-tools,.article-toc,.infobox,.portal-intro,.wiki-pills>a,.featured-people>a,.rule-detail{background:#202329;color:#e1d4bd}.wiki-sidebar nav>a,.page-outline nav a,.breadcrumbs a{color:#baad94}.wiki-article .infobox>h2,.wiki-article caption,.wiki-article thead th{background:#2c2820;color:#d6bf91}.wiki-article tbody tr:nth-child(even){background:#202329}.wiki-article tbody tr:hover{background:#2b2a25}.category-grid>a:hover{background:#25231e}.wiki-notice{background:#27231d;color:#d2c3a6}.infobox>a{background:radial-gradient(ellipse,#3b3527,#202329)}
@media(max-width:1100px){.site-header nav{gap:18px}.brand{font-size:22px}.your-story-hero .hero-copy{padding-left:9%;padding-right:6%}.your-story-hero h1{font-size:39px}.your-story-hero .hero-actions{align-items:flex-start;flex-direction:column}.lineup-grid .featured-card .card-copy{padding:28px 24px}.lineup-grid .featured-card h3{font-size:28px}.lineup-grid .featured-card .card-art img{min-height:400px}.theme-ken .game-hero-copy{padding:45px 8%}.theme-ken h1{font-size:34px}}
@media(max-width:760px){.site-header{height:74px}.site-header nav{top:74px;background:#14161a}.site-header .brand{font-size:23px;gap:10px}.site-header .brand img{width:29px;height:42px}.brand-small{font-size:8px}.page-heading{padding:48px 7% 38px}.page-heading h1{font-size:30px}.page-heading p{font-size:13px}.section{padding-top:50px;padding-bottom:50px}.products-section{padding-top:25px}.lineup-grid{grid-template-columns:1fr;gap:32px}.lineup-grid .game-card,.lineup-grid .game-card:nth-child(-n+2){grid-column:auto}.lineup-grid .featured-card{display:flex;flex-direction:column;grid-column:auto;align-items:stretch}.lineup-grid .featured-card .card-art img{height:auto;min-height:0;aspect-ratio:1672/941}.lineup-grid .featured-card .card-copy{padding:25px 22px}.lineup-grid .featured-card h3{font-size:28px;margin:12px 0}.lineup-grid .featured-card p{font-size:14px}.lineup-grid .game-card:not(.featured-card) .card-art img{height:auto;aspect-ratio:1000/650}.your-story-hero{display:flex;flex-direction:column;min-height:0}.your-story-hero .hero-art{height:auto;aspect-ratio:1672/941;object-fit:contain;order:0}.your-story-hero .hero-copy{padding:34px 8% 42px;order:1;width:100%}.your-story-hero h1{font-size:36px}.your-story-hero .hero-series{margin:18px 0 12px}.your-story-hero .hero-actions{flex-direction:row;align-items:center;margin-top:25px}.your-story-hero .hero-desc{font-size:13px}.your-story-hero .hero-desc br{display:none}.your-story-hero .development-tag{padding-top:22px}.theme-ken{display:flex;flex-direction:column;min-height:0}.theme-ken .hero-art{height:auto;aspect-ratio:1672/941;object-fit:contain}.theme-ken .game-hero-copy{padding:33px 8% 40px}.theme-ken h1{font-size:31px}.theme-ken .game-lead{font-size:13px}.theme-ken .hero-actions{margin-top:24px}.footer-top{gap:22px}.footer-brand img{width:110px;max-height:125px}.guide-shortcuts{gap:8px}.guide-shortcuts a{flex:1 1 45%;font-size:12px;padding:10px}.guide-shortcuts a:first-child{flex-basis:100%}.game-guide{scroll-margin-top:30px}.guide-copy h2{font-size:28px}.table-featured{white-space:normal}.team-lead h3{font-size:28px}}

@media(min-width:761px){.lineup-grid .featured-card .card-art{min-height:420px;background:#090a0d}.lineup-grid .featured-card .card-art img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:contain}}

/* Show the actual App interactions without the rejected over-character menus. */
.feature-media.app-interaction-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px;background:#111419;align-items:start}
.app-shot{min-width:0;margin:0}.app-shot .shot-link{background:#0c0e11;border:1px solid #6e5a3b}.app-shot img{width:100%;height:430px;object-fit:contain;background:#0c0e11}.app-shot figcaption{text-align:center;font:12px/1.8 var(--sans);letter-spacing:.1em;color:#dfc18d;padding-top:12px}
.guide-fact-art.guide-phone-art:has(img[src^="/assets/games/ken/"]){height:410px;aspect-ratio:auto;background:#111419;padding:12px}.guide-fact-art.guide-phone-art img{object-fit:contain;object-position:center}
.gallery-phone .shot-link{background:#111419}.gallery-phone img{object-fit:contain;object-position:center}
@media(max-width:1100px){.app-shot img{height:420px}}
@media(max-width:760px){.feature-media.app-interaction-media{grid-template-columns:1fr;gap:24px;padding:16px}.app-shot img{height:auto;max-height:470px}.guide-fact-art.guide-phone-art:has(img[src^="/assets/games/ken/"]){height:430px;padding:10px}}

/* Equal full-composition cover frames and aligned copy for paired game cards. */
.lineup-grid .game-card:not(.featured-card){display:flex;flex-direction:column}
.lineup-grid .game-card:not(.featured-card) .card-art img{height:auto;aspect-ratio:1672/941;object-fit:contain;background:#0b1420}
.lineup-grid .game-card:not(.featured-card) .card-copy{display:flex;flex-direction:column;flex:1}
.lineup-grid .game-card:not(.featured-card) .card-copy .text-link{align-self:flex-start;margin-top:auto;padding-top:18px}

/* Individual, source-backed story introductions in every character table. */
.character-intro-cell{min-width:240px;max-width:390px;white-space:normal!important}.character-intro{display:block;color:#e2e4df;font-size:15px;line-height:1.85}.character-game-note{display:block;margin-top:7px;color:#b5aa91;font-size:12px;line-height:1.6}.character-intro-cell .character-game-note::before{content:"";display:inline-block;width:12px;height:1px;background:#b19b6759;vertical-align:middle;margin-right:7px}
