/* Shared user/operator surfaces; imagery and historical rune rules stay intact. */
:root{--classic-canvas:#0c1113;--classic-panel:#142126;--classic-ink:#e8dec2;--classic-muted:#b8b49f;--classic-edge:#786844;--classic-paper-color:#efe4c8;--classic-paper-ink:#332919}
/* Block ellipsis keeps Android's large system text inside the center header cell. */
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive>.app>header>#home#home{display:block!important;align-content:center!important;text-align:center!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .operatorTestDrafts .set{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .operatorTestDrafts :is(input,textarea,select){width:100%!important;min-width:0!important;min-height:44px!important;box-sizing:border-box!important;color:#332919!important;background:#fff8e8!important;padding:8px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .operatorTestDrafts button{min-height:44px!important;white-space:normal!important;margin:4px 0!important}
body.nostalgia218Fidelity #view#view .hmNews:has(.finalVideoPlaying){overflow-y:auto!important}
body.nostalgia218Fidelity #view#view .finalVideoPlaying{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;height:auto!important;min-height:100%!important;gap:8px!important}
body.nostalgia218Fidelity #view#view .finalVideoPlaying .finalVideoPlayer{order:0!important}
body.nostalgia218Fidelity #view#view .classicVideoInfo{order:1!important;padding:8px 12px!important;width:100%!important;background:#efe4c8!important;color:#332919!important;font-size:13px!important;line-height:1.6!important;text-align:left!important}
body.nostalgia218Fidelity #view#view .classicVideoInfo p{margin:4px 0!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.nostalgia218Fidelity #view#view .classicVideoInfo button{min-height:44px!important;background:#16303d!important;color:#eee0b5!important;border:1px solid #796442!important;padding:8px 12px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .mnode em{position:static!important;align-self:flex-end!important;margin-top:auto!important;height:auto!important;min-height:0!important;width:auto!important;line-height:1.35!important;font-size:10px!important;padding:2px 4px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .mnode{height:auto!important;min-height:90px!important;padding-bottom:3px!important;overflow:visible!important;gap:4px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .masteryLabel{display:block!important;overflow:visible!important;white-space:normal!important;-webkit-line-clamp:unset!important;font-size:10px!important;line-height:1.4!important;overflow-wrap:anywhere}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view :is(.onlineBoard,.bdp,.bdBody,.councilPage){background:var(--classic-paper-color)!important;color:var(--classic-paper-ink)!important;border-color:var(--classic-edge)!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bdBody{line-height:1.7!important;overflow-wrap:anywhere}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .classicSkillAvailability{font-size:12px!important;color:#c3ba9f!important;line-height:1.6!important;padding-top:6px!important;border-top:1px dotted #655e44!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .set{grid-template-columns:minmax(0,1fr) minmax(100px,42%)!important;gap:12px!important;padding-block:12px!important;min-height:56px!important;color:var(--classic-ink)!important;line-height:1.6!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .classicPreferences :is(select,input[type=range]){min-width:0!important;width:100%!important;min-height:44px!important;font:inherit!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .classicPreferences select{background:var(--classic-panel)!important;color:var(--classic-ink)!important;border:1px solid var(--classic-edge)!important;padding:8px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .classicPreferences :is(p,.hint){font-size:14px!important;color:var(--classic-muted)!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .settingsActions button{font-size:14px!important;min-height:52px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal:has(.classicSummonerDetail){background:var(--classic-paper-color)!important;color:var(--classic-paper-ink)!important;border:3px double #96713b!important;box-shadow:inset 0 0 24px #a77c3938,0 8px 24px #0009!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .classicSummonerDetail{background:repeating-linear-gradient(7deg,#b28b3410 0 1px,transparent 1px 5px),linear-gradient(110deg,#ddc998,#f4e8c8 35%,#e9d9ad)!important;color:var(--classic-paper-ink)!important;padding:18px 14px!important;line-height:1.7!important;border:1px solid #b49a64!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .classicSummonerDetail header{position:static!important;display:flex!important;align-items:flex-start!important;gap:12px!important;height:auto!important;min-height:72px!important;background:none!important;color:inherit!important;border-bottom:1px solid #a68b54!important;padding-bottom:12px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .classicSummonerDetail :is(h2,p,small,dt,dd){color:var(--classic-paper-ink)!important;overflow-wrap:anywhere}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .classicSummonerDetail h2{font-size:23px!important;margin:0 30px 5px 0!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .classicSummonerDetail header b{display:inline!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:none!important;color:var(--classic-paper-ink)!important;font:inherit!important;font-weight:700!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .summonerNumbers>div{padding:8px 0!important;border-top:1px solid #bbaa81!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .runeInventoryList button{min-height:56px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .runeSocket:focus-visible{outline:2px solid #fff2ab!important;outline-offset:2px}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .runeSocket.filled{filter:drop-shadow(0 0 2px #fff2ab)!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .runeSocket.empty{opacity:.65!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view :is(.bd,.bdTop,.bdPager,.bdBody,.brows,.brow,.bd .hint2){background:var(--classic-paper-color)!important;color:var(--classic-paper-ink)!important;border-color:#b6a377!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .brow{display:grid!important;grid-template-columns:20px minmax(0,1fr) auto!important;grid-template-rows:auto auto auto!important;gap:5px 8px!important;min-height:78px!important;height:auto!important;padding:10px 12px!important;align-items:start!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .brow .bic{grid-column:1!important;grid-row:1!important;margin-top:4px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .brow .bt{grid-column:2/4!important;grid-row:1!important;font-size:14px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .brow .bn{grid-column:2!important;grid-row:2!important;font-size:12px!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .brow .bv{grid-column:3!important;grid-row:2!important;font-size:11px!important;white-space:nowrap!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .boardRowMeta{grid-column:2/4!important;grid-row:3!important;display:flex!important;flex-wrap:wrap!important;gap:5px 12px!important;font-size:11px!important;color:#665738!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view :is(.bd .ctext,.bd .fv,.bd .cb){font-size:14px!important;line-height:1.7!important;overflow-wrap:anywhere!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .bdlg{background:var(--classic-paper-color)!important;color:var(--classic-paper-ink)!important;padding:14px!important;border:2px solid #907444!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .bdlg :is(input,textarea){background:#fff8e8!important;color:#332919!important;font-size:16px!important;line-height:1.6!important;min-height:44px!important;border:1px solid #9c855d!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .councilPage{background:repeating-linear-gradient(7deg,#b28b3410 0 1px,transparent 1px 5px),linear-gradient(110deg,#ddc998,#f4e8c8 35%,#e9d9ad)!important;padding:20px 16px!important;line-height:1.7!important;border:3px double #957745!important}
/* Same Sona source; a small centered zoom without covering adjacent controls. */
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view.homeView>.hm .hmPoster{background-size:cover,auto 185%!important;background-position:center,62% 24%!important}
@media(max-width:360px){body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .classicPreferences{padding:14px 10px!important}}

/* Board surfaces share the dark archive canvas, including empty/detail/compose states. */
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view:has(>.bd){background:var(--classic-canvas)!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd.bd{background:var(--classic-canvas)!important;color:var(--classic-ink)!important;margin:0!important;padding:0!important;min-height:0!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd :is(.bdTop,.bdPager,.bdDetailTop,.bdMove,.bdBody,.brows,.brow,.bempty,.ctext,.crows,.crow,.cInput,.hint2){background:var(--classic-canvas)!important;background-image:none!important;color:var(--classic-ink)!important;border-color:#39443f!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd :is(.bdTop,.bdDetailTop,.bdPager,.cInput){background:var(--classic-panel)!important;padding:10px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd .bdTop{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd :is(p,span,b,em,time,small,.bt,.bn,.bv,.cb,.ch,.ctext,.frow,.cdate){color:var(--classic-ink)!important;text-shadow:none!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd :is(.bn,.bv,.boardRowMeta,.boardRowMeta span,.fl,.ch,.cdate,.hint2,.bempty){color:var(--classic-muted)!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd :is(.bBtn,.genRec,.reportBtn,.cdel,.cReg,.pg.search){background:#24322f!important;background-image:none!important;color:#eee0b5!important;border:1px solid var(--classic-edge)!important;border-radius:3px!important;min-height:44px!important;height:auto!important;white-space:normal!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd :is(.bBtn.gen,.genRec.on,.cReg){background:#8c713c!important;color:#fff5d7!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd .pg{min-height:44px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd .pg::before{border-color:#cabb91!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd .bdLine{height:1px!important;background:var(--classic-edge)!important;border:0!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd .ctext{min-height:0!important;padding:18px 14px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd :is(.cbandLabel,.cwarn){background:#202a25!important;background-image:none!important;color:#d8c795!important;border-block:1px solid #4d4b36!important;padding:10px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd .fv{white-space:normal!important;overflow-wrap:anywhere!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd .frow{padding:10px 14px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd input{background:#111e22!important;color:var(--classic-ink)!important;border:1px solid var(--classic-edge)!important;min-height:44px!important;font-size:14px!important;padding:8px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .bd input::placeholder{color:var(--classic-muted)!important;opacity:1!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal:has(.bdlg){background:var(--classic-panel)!important;color:var(--classic-ink)!important;border:1px solid var(--classic-edge)!important;padding:0!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .bdlg{background:var(--classic-panel)!important;color:var(--classic-ink)!important;border:0!important;max-width:100%!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .bdlg :is(b,span,p,small,.wLabel,.ndlgTitle,.bdlgX,.hint2){color:var(--classic-ink)!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .bdlg :is(input,textarea){background:#111e22!important;color:var(--classic-ink)!important;border-color:var(--classic-edge)!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .bdlg button{background:#24322f!important;background-image:none!important;color:#eee0b5!important;border-color:var(--classic-edge)!important;min-height:44px!important}

/* Readable news articles on the shared dark modal. */
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal:has(.newsArticle){background:var(--classic-panel)!important;color:var(--classic-ink)!important;border:1px solid var(--classic-edge)!important;padding:18px 16px!important;width:min(720px,calc(100vw - 24px))!important;max-height:calc(100dvh - 32px)!important;box-sizing:border-box!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .newsArticle{background:transparent!important;color:var(--classic-ink)!important;padding:6px 0 16px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .newsArticle h2{color:#efd58c!important;font-size:21px!important;line-height:1.5!important;padding-right:30px!important;margin:0 0 12px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .newsArticleBody{color:var(--classic-ink)!important;font-size:16px!important;line-height:1.9!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal :is(.newsArticleMeta,.newsArticleSource){color:var(--classic-muted)!important;font-size:13px!important;line-height:1.6!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .newsArticleMeta{padding-bottom:14px!important;border-bottom:1px solid var(--classic-edge)!important;margin-bottom:20px!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #modal#modal .newsArticle button{background:#24322f!important;color:#eee0b5!important;border:1px solid var(--classic-edge)!important;padding:10px 14px!important;min-height:44px!important;white-space:normal!important}

/* Keep settings text comfortably inside rectangular controls. */
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .set{padding:12px 14px!important;box-sizing:border-box!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .classicPreferences :is(.settingsActions button,.publicActions button){padding:14px 16px!important;line-height:1.6!important}
body.nostalgia218Fidelity.historicalApkReference.classicFantasyArchive #view#view .classicPreferences :is(.cmsDelivery,.communityAccountCard){padding:16px!important;gap:8px 12px!important}
