/* Requested settings/about refresh. Other page layouts keep their existing rules. */
body.historicalApkReference.classicFantasyArchive #view#view.classicPreferencesContent{background:#09151d!important;color:#c8c2ad!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences{box-sizing:border-box;background:linear-gradient(140deg,#102532,#08151d)!important;border:1px solid #796442!important;border-radius:0!important;color:#c8c2ad!important;margin:8px!important;padding:18px 16px!important;font-size:14px!important;line-height:1.7!important;min-height:0!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences h2{margin:3px 0 8px!important;background:none!important;border:0!important;padding:0!important;color:#f1e6c8!important;font-size:24px!important;letter-spacing:1px}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences h3{background:none!important;color:#e0cc97!important;border:0!important;border-bottom:1px solid #625537!important;padding:0 0 8px!important;margin:20px 0 10px!important;font-size:15px!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .preferencesHeading{border-bottom:1px solid #796442;padding-bottom:13px;margin-bottom:16px}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .preferencesHeading small{font-size:9px;letter-spacing:1.6px;color:#b39a64}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences p{color:#c8c2ad!important;font-size:13px!important;line-height:1.7!important;margin:9px 0!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .settingsActions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0!important;background:none!important;border:0!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences :is(.settingsActions button,.publicActions button){box-sizing:border-box;min-width:0!important;min-height:50px!important;padding:10px!important;border:1px solid #716344!important;border-radius:2px!important;background:linear-gradient(#16303d,#0d202b)!important;color:#e7d7af!important;font:inherit!important;font-size:12px!important;line-height:1.45!important;text-align:left!important;white-space:normal!important;box-shadow:none!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences button:focus-visible{outline:2px solid #4dbab7!important;outline-offset:2px}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences button:disabled{opacity:.45}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences :is(.cmsDelivery,.communityAccountCard){display:flex!important;flex-wrap:wrap!important;gap:5px 12px!important;padding:12px!important;background:#10212b!important;border:1px solid #334751!important;color:#dbd1b5!important;border-radius:2px!important;margin:10px 0!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences :is(.cmsDelivery,.communityAccountCard) small{flex-basis:100%;color:#94aaa9!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .aboutRelease{background:none!important;border:0!important;padding:0!important;color:inherit!important;white-space:normal!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences :is(.aboutHero,.aboutPanel,.riotNotice){padding:12px!important;background:#10212b!important;border:1px solid #334751!important;color:#d5ceb6!important;margin:10px 0!important;box-shadow:none!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .aboutStats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .aboutStats span{display:grid!important;padding:9px 3px!important;background:#0b1b25!important;border:1px solid #43514f!important;color:#bdb79e!important;text-align:center;font-size:11px!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .aboutStats b{font-size:20px!important;color:#dac18a!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .publicActions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;background:none!important;padding:0!important}

/* Blank space belongs to the page surface, in both normal and operator builds. */
html:has(#view.classicLightContent),body:has(#view.classicLightContent),body:has(#view.classicLightContent)>.app,body.classicLightPage #view#view.classicLightContent{background:#0c1113!important}
body.classicLightPage #view#view :is(.onlineBoard,.bdp,.bdBody){background:#efe4c8!important;color:#332919!important}
html:has(#view.classicPreferencesContent),body:has(#view.classicPreferencesContent),body:has(#view.classicPreferencesContent)>.app{background:#09151d!important}
/* Champion details keep their dark surface around the return button and below the dossier. */
html:has(#view.classicChampionContent),body:has(#view.classicChampionContent),body:has(#view.classicChampionContent)>.app,body.historicalApkReference.classicFantasyArchive #view#view.classicChampionContent{background:#0c1113!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .settingsActions button::after{content:none!important;display:none!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicPreferences .aboutStats span{grid-template-columns:1fr!important}

body.historicalApkReference.classicFantasyArchive #view#view .classicChampionSearch{display:flex!important;gap:7px!important;align-items:stretch!important;margin:7px 5px 12px!important;min-width:0!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicChampionSort{display:flex!important;flex-shrink:0!important;gap:3px!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicChampionSort button{min-height:38px!important;padding:5px 7px!important;border:1px solid #9b8658!important;background:#eee8d8!important;color:#51452c!important;font-size:11px!important;border-radius:2px!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicChampionSort button[aria-pressed="true"]{background:#245371!important;color:#fff!important;border-color:#163e59!important}
body.historicalApkReference.classicFantasyArchive #view#view .classicChampionSearch input{display:block!important;box-sizing:border-box!important;flex:1!important;min-width:0!important;width:100%!important;height:38px!important;margin:0!important;padding:7px 9px!important;border:1px solid #b8aa8c!important;background:#fff!important;color:#29251c!important;font-size:12px!important}
.championEnglishName{font-size:.7em;font-weight:500;white-space:normal}
body.historicalApkReference.classicFantasyArchive #view#view .cvInfo h2{display:block!important;word-break:keep-all;overflow-wrap:break-word}
.itemAliases{padding:8px 10px;border-left:3px solid #a4833e;background:#ede6d3;color:#49391b;line-height:1.5}
.itemAliases b{margin-right:8px}
body.historicalApkReference.classicFantasyArchive #view#view .authorActions:has([data-operator-post]){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
body.historicalApkReference.classicFantasyArchive #view#view .authorActions:has([data-operator-post]) .reportBtn{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:6px 3px!important;font-size:11px!important;white-space:normal!important}
.hmFeedStatus{display:block;padding:10px 12px;font-size:12px;color:#6d6554}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view .runeInventoryList{background:#eee0b3!important;padding:0!important}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view .runeInventoryList li{background:transparent!important;border-color:#cbb984!important}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view .runeInventoryList li>button{background:transparent!important;box-shadow:none!important}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view .runeInventoryList .pic.ri{background:transparent!important;border:0!important;clip-path:polygon(50% 2%,97% 25%,97% 75%,50% 98%,3% 75%,3% 25%)!important}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view .runeSocket.filled{padding:0!important;background:transparent!important;box-shadow:none!important;filter:none!important}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view .runeSocket.filled img{width:108%!important;height:108%!important;max-width:none!important;object-fit:cover!important}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view :is(.hmNews.finalVideoMode,.hmNews.lolVideoMode,.lolVideoHub){background:#ede3c9!important}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view :is(.finalVideoPreview,.finalVideoPlayer,.lolVideoPreview){position:relative;background:#e6dcc1!important}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view :is(.finalYoutubeThumbnail,.finalVideoPosterFrame,.lolVideoThumbnail){background:transparent!important}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view .finalYoutubeThumbnail[data-thumbnail-loaded="false"]{opacity:0!important}
body.classicRuneRefresh.historicalApkReference.classicFantasyArchive #view#view .videoLoadingPoster{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;z-index:3!important;pointer-events:none!important;background:#e6dcc1!important}
body.classicRuneRefresh .classicSummonerDetail .summonerLevelValue{display:inline!important;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;font:inherit!important;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;white-space:normal!important;overflow-wrap:anywhere;cursor:pointer}
