/* Rise of Legends v2.20.122 – actual-page QA fixes after 7 real screenshots.
   Scoped visual adjustments. No game logic, admin permissions, web control or DB touched. */
:root{--rol122-paper:#ede3d3;--rol122-sand:#dbb77c;--rol122-mute:#bac4c7;--rol122-dark:#151d21;--rol122-slate:#20292d;--rol122-panel:#293032;--rol122-edge:#83725b}
body[data-design="legends-120"]{color:var(--rol122-paper)}
/* Browser was sometimes still serving the cached v120 stylesheet. This file is loaded
   last from a new, versioned URL and keeps the baseline v121 improvements visible. */
body[data-design="legends-120"] .container{width:min(1540px,calc(100% - 60px));max-width:1540px}
body[data-design="legends-120"] .main-nav>a,body[data-design="legends-120"] .main-nav .nav-dropdown-trigger{font-size:13px!important}
body[data-design="legends-120"] .site-header{border-bottom:1px solid #b18a57a0}
/* Homepage – stop miniature-looking blocks on 1600px displays. */
body[data-design="legends-120"].is-home-page{background:#182022}
body[data-design="legends-120"].is-home-page .rol120-home{background:linear-gradient(#182124,#1d2425 47%,#171e21 100%);padding-bottom:65px}
body[data-design="legends-120"].is-home-page .rol120-hero{border-color:#b58f5b}
body[data-design="legends-120"].is-home-page .rol120-news-card{min-height:345px}
body[data-design="legends-120"].is-home-page .rol120-feature{min-height:120px}
body[data-design="legends-120"].is-home-page .rol120-feature small{font-size:13px}
body[data-design="legends-120"].is-home-page .rol120-home-grid{margin-top:36px}
body[data-design="legends-120"].is-home-page .rol120-section-title h2{font-size:18px}
body[data-design="legends-120"].is-home-page .rol120-bottom-promos{margin-top:31px}
body[data-design="legends-120"].is-home-page .rol120-serverstrip{background:linear-gradient(100deg,#24332e,#293431 51%,#1c292d);border-color:#8db29c}
/* Subpages – consistent but distinguishable surfaces, no fullscreen striped callout. */
body[data-design="legends-120"].is-subpage{--bg:#171e22;--panel:#232b2f;--panel-soft:#293135;--text:#f2e9d8;--muted:#b9c3c5;--white-line:#87775e54;--gold:#d8b17a;--gold-light:#f4d8aa;color:var(--text)}
body[data-design="legends-120"].is-subpage main.subpage,body[data-design="legends-120"].is-subpage main.db-page{background:#171e22}
body[data-design="legends-120"].is-subpage .page-hero{border-left:0;border-right:0;border-radius:0!important;background:linear-gradient(90deg,#151f24eb 0%,#1a282be2 55%,#22282290 100%),url('../rol120/admin-landscape.webp') center 48%/cover;min-height:215px;padding:48px 0!important}
body[data-design="legends-120"].is-subpage .page-hero .container{padding:0}
body[data-design="legends-120"].is-subpage .page-hero::after{content:none!important;display:none!important}
body[data-design="legends-120"].is-subpage .page-hero h1{font-size:clamp(33px,3.8vw,55px);line-height:1.16}
body[data-design="legends-120"].is-subpage .page-hero p{color:#d7dfe0;font-size:15px}
body[data-design="legends-120"].is-subpage .eyebrow,body[data-design="legends-120"].is-subpage .panel-kicker{font-size:11px;letter-spacing:.13em;color:#e3b979}
body[data-design="legends-120"].is-subpage :is(.account-section,.wiki-section,.downloads-list-section){padding-top:38px}
/* Account: old decorative watermark visibly overlapped content in screenshots. */
body[data-design="legends-120"].is-subpage .account-security-panel::after{content:none!important;display:none!important}
body[data-design="legends-120"].is-subpage .account-section .container{max-width:1480px}
body[data-design="legends-120"].is-subpage .account-grid{gap:20px;margin-bottom:22px}
body[data-design="legends-120"].is-subpage .balance-card,body[data-design="legends-120"].is-subpage .account-grid>.account-card{min-height:200px;padding:28px 32px;border:1px solid #8b7759!important;border-radius:7px;background:linear-gradient(125deg,#302c28,#262a2a)!important;box-shadow:0 12px 27px #0004}
body[data-design="legends-120"].is-subpage .balance-card{background:linear-gradient(120deg,#25332f,#202e32)!important;border-color:#759989!important}
body[data-design="legends-120"].is-subpage .balance-card>span,body[data-design="legends-120"].is-subpage .account-card>span{font-size:12px;color:#d0c4ae}
body[data-design="legends-120"].is-subpage .balance-card strong,body[data-design="legends-120"].is-subpage .account-card strong{margin-top:16px;font-size:clamp(25px,2vw,34px);overflow-wrap:anywhere}
body[data-design="legends-120"].is-subpage .balance-card small,body[data-design="legends-120"].is-subpage .account-card small{font-size:13px;color:#bac9c9}
body[data-design="legends-120"].is-subpage .balance-card a,body[data-design="legends-120"].is-subpage .account-card a{margin-top:20px;font-size:13px;color:#f0c98e}
body[data-design="legends-120"].is-subpage .account-section .panel{padding:28px 30px!important;margin-bottom:20px;overflow:hidden;border:1px solid #827661!important;border-radius:7px!important;background:linear-gradient(110deg,#2c3030,#252c30)!important;box-shadow:0 10px 26px #0005}
body[data-design="legends-120"].is-subpage .account-section .rol-account-links-panel{background:linear-gradient(115deg,#2b302d,#232e2c)!important;border-color:#648578!important}
body[data-design="legends-120"].is-subpage .account-section .rol-account-history-panel{background:linear-gradient(115deg,#302c2a,#252a2d)!important}
body[data-design="legends-120"].is-subpage .account-security-panel{align-items:start;gap:30px}
body[data-design="legends-120"].is-subpage .account-security-panel :is(h2,p){margin-top:9px}
body[data-design="legends-120"].is-subpage .account-security-copy h2,body[data-design="legends-120"].is-subpage .account-info-panel h2{font-size:clamp(23px,2vw,29px);line-height:1.3}
body[data-design="legends-120"].is-subpage .account-security-copy p,body[data-design="legends-120"].is-subpage .account-info-panel p{font-size:14px;line-height:1.65;color:#c7cecc}
body[data-design="legends-120"].is-subpage .account-security-status>span{font-size:12px;color:#c5b9a3}
body[data-design="legends-120"].is-subpage .account-security-status>strong{font-size:11px}
body[data-design="legends-120"].is-subpage .account-info-panel{align-items:start;gap:30px}
body[data-design="legends-120"].is-subpage .quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-design="legends-120"].is-subpage .quick-links a{min-height:82px;background:#1f3037;border:1px solid #677b82;padding:16px}
body[data-design="legends-120"].is-subpage .quick-links a :is(span,small){font-size:13px}
/* Dense lists belong below their section headings: no empty left half on a long account. */
body[data-design="legends-120"].is-subpage .rol-account-community-panel,body[data-design="legends-120"].is-subpage .rol-account-history-panel{grid-template-columns:1fr!important;gap:22px}
body[data-design="legends-120"].is-subpage .rol-account-character-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body[data-design="legends-120"].is-subpage .rol-account-history-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body[data-design="legends-120"].is-subpage .rol-account-history-row{grid-template-columns:minmax(120px,.65fr) minmax(70px,.35fr) minmax(145px,.95fr);min-height:50px;gap:12px;background:#1e2c32;border:1px solid #5d737a;border-radius:5px;padding:10px 13px}
body[data-design="legends-120"].is-subpage .rol-account-history-row :is(strong,span,small){font-size:12px;overflow-wrap:anywhere;min-width:0}
body[data-design="legends-120"].is-subpage .rol-account-character-row{min-height:70px;background:linear-gradient(95deg,#1c3139,#213136);border:1px solid #597782;border-radius:5px}
body[data-design="legends-120"].is-subpage .rol-account-character-row :is(span,small){font-size:12px}
/* Downloads – make long admin-managed descriptions readable without creating a giant gray wall. */
body[data-design="legends-120"].is-subpage .downloads-guide-section{background:#25302f}
body[data-design="legends-120"].is-subpage .downloads-guide-grid article{background:#26373b;border-color:#657974;min-height:140px}
body[data-design="legends-120"].is-subpage .downloads-card-grid{gap:22px}
body[data-design="legends-120"].is-subpage .download-card{min-height:270px;padding:26px 30px!important;background:linear-gradient(145deg,#302b27,#222c30)!important;border:1px solid #9d835e!important;border-radius:7px!important}
body[data-design="legends-120"].is-subpage .download-card-copy{padding:20px 0}
body[data-design="legends-120"].is-subpage .download-card-copy h2{font-size:clamp(19px,2vw,26px);line-height:1.35;overflow-wrap:anywhere}
body[data-design="legends-120"].is-subpage .download-card-copy p{font-size:14px;color:#ced7d7;line-height:1.7;margin:12px 0;overflow-wrap:anywhere}
body[data-design="legends-120"].is-subpage .download-card .rol122-download-details{margin:12px 0 4px;border-top:1px solid #88765880;padding-top:10px;color:#dbe2e0}
body[data-design="legends-120"].is-subpage .rol122-download-details summary{color:#f1c990;cursor:pointer;font-weight:700;font-size:13px;padding:8px 0;list-style:revert}
body[data-design="legends-120"].is-subpage .rol122-download-details[open] summary{margin-bottom:10px}
body[data-design="legends-120"].is-subpage .rol122-download-details p{white-space:normal;margin:0 0 7px}
body[data-design="legends-120"].is-subpage .download-card-kicker{font-size:11px}
body[data-design="legends-120"].is-subpage .download-card-platform{font-size:11px}
/* Wiki – screenshot shows 7-8px item metadata despite desktop 1600px. */
body[data-design="legends-120"].is-subpage .wiki-stat-card{min-height:130px;padding:22px 24px;background:linear-gradient(140deg,#293137,#242c30);border:1px solid #6b7775;border-radius:6px}
body[data-design="legends-120"].is-subpage .wiki-stat-card :is(span,small){font-size:12px;color:#c5d0d0}
body[data-design="legends-120"].is-subpage .wiki-stat-card strong{font-size:30px;color:#f3ce95;margin-top:12px}
body[data-design="legends-120"].is-subpage .wiki-category-grid{gap:16px}
body[data-design="legends-120"].is-subpage .wiki-feature-card{min-height:168px;padding:24px!important;background:linear-gradient(140deg,#28343a,#202b32);border:1px solid #6a8182;border-radius:6px}
body[data-design="legends-120"].is-subpage .wiki-feature-card:nth-child(even){background:linear-gradient(140deg,#302e2a,#262a2c);border-color:#927856}
body[data-design="legends-120"].is-subpage .wiki-feature-card>span{font-size:11px;color:#f0c28a}
body[data-design="legends-120"].is-subpage .wiki-feature-card h3{font-size:22px;margin:11px 0 10px}
body[data-design="legends-120"].is-subpage .wiki-feature-card p{font-size:14px;line-height:1.55;color:#c4ced0}
body[data-design="legends-120"].is-subpage .wiki-search-panel{border-color:#8d795e!important}
body[data-design="legends-120"].is-subpage .wiki-item-grid{gap:13px}
body[data-design="legends-120"].is-subpage .wiki-item-card{min-height:100px;padding:12px;grid-template-columns:64px minmax(0,1fr);gap:12px;background:linear-gradient(120deg,#23313a,#1f2b31);border:1px solid #607885;border-radius:6px}
body[data-design="legends-120"].is-subpage .wiki-item-card:nth-child(4n+2){background:linear-gradient(120deg,#2e2e2a,#292b2d);border-color:#777363}
body[data-design="legends-120"].is-subpage .wiki-item-icon{width:64px;height:64px;border-radius:4px;background:#16222a;border-color:#a18b64}
body[data-design="legends-120"].is-subpage .wiki-item-copy small{font-size:11px;margin-bottom:6px;color:#b4c3cb;line-height:1.3}
body[data-design="legends-120"].is-subpage .wiki-item-copy strong{font-size:14px;line-height:1.4;color:#f1d49c}
body[data-design="legends-120"].is-subpage .wiki-item-copy>span{font-size:11px;margin-top:7px;color:#c5cdd0}
body[data-design="legends-120"].is-subpage .wiki-result-head p,body[data-design="legends-120"].is-subpage .wiki-panel-heading p{font-size:13px;color:#c8d0cf}
body[data-design="legends-120"].is-subpage :is(.wiki-search-form,.wiki-monster-search) .form-field>span{font-size:13px;color:#d5d0c6}
/* Shared dynamic content should not silently overflow wide rows. */
body[data-design="legends-120"].is-subpage :is(.panel,.download-card,.wiki-feature-card,.wiki-stat-card,.account-card){min-width:0}
@media(min-width:1600px){body[data-design="legends-120"] .container{width:min(1540px,calc(100% - 72px))}}
@media(max-width:1150px){body[data-design="legends-120"].is-subpage :is(.rol-account-community-panel,.rol-account-history-panel,.rol-account-links-panel){grid-template-columns:1fr}body[data-design="legends-120"].is-subpage .wiki-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body[data-design="legends-120"].is-subpage .account-section .panel{padding:21px!important}body[data-design="legends-120"].is-subpage .quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){body[data-design="legends-120"] .container{width:calc(100% - 28px)}body[data-design="legends-120"].is-subpage .page-hero{padding:26px 0!important}body[data-design="legends-120"].is-subpage .account-grid,body[data-design="legends-120"].is-subpage .rol-account-community-panel,body[data-design="legends-120"].is-subpage .rol-account-history-panel{grid-template-columns:1fr}body[data-design="legends-120"].is-subpage .account-grid :is(.balance-card,.account-card){min-height:155px;padding:21px}body[data-design="legends-120"].is-subpage .quick-links{grid-template-columns:1fr}body[data-design="legends-120"].is-subpage .rol-account-history-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}body[data-design="legends-120"].is-subpage .rol-account-history-row small{grid-column:1/-1}body[data-design="legends-120"].is-subpage :is(.rol-account-history-list,.rol-account-character-list){grid-template-columns:1fr}body[data-design="legends-120"].is-subpage .wiki-item-grid{grid-template-columns:1fr}body[data-design="legends-120"].is-subpage .download-card{padding:19px!important}}
