/* Rise of Legends v2.20.182 — audited consolidated CSS. */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* === assets/archlord159/archlord159-public.css: kept in original load order === */
/* Rise of Legends v2.20.159 — CHANTRA CHRONICLES design system.
   Presentation only. All gameplay, accounts, shop and database logic stays in PHP. */

:root{--a159-bg:#080e15;--a159-panel:#101821;--a159-paper:#161d25;--a159-gold:#cfa267;--a159-gold-light:#f1d39a;--a159-gold-dark:#65482c;--a159-line:#695132;--a159-ink:#eee4d0;--a159-muted:#b3b9b9;--a159-deep:#070b11}
html{background:var(--a159-bg)!important}
body[data-rol-theme="archlord160"]{background:radial-gradient(ellipse at 50% 14%,#3a343127,transparent 48%),linear-gradient(90deg,#0a1018 0%,#0b121a 50%,#080e15 100%)!important;color:var(--a159-ink);font-family:Inter,Arial,sans-serif;overflow-x:hidden}
body[data-rol-theme="archlord160"] .site-noise{opacity:.11;pointer-events:none}
body[data-rol-theme="archlord160"] .container{width:min(1380px,calc(100% - 68px));max-width:1380px}
body[data-rol-theme="archlord160"] :is(h1,h2,h3,.footer-brand strong){font-family:Cinzel,Georgia,serif;letter-spacing:.015em}
body[data-rol-theme="archlord160"] a:focus-visible,body[data-rol-theme="archlord160"] button:focus-visible{outline:2px solid #f7d19d;outline-offset:3px}
/* Dual-level centered crest header: desktop / hamburger layout handled separately. */
body[data-rol-theme="archlord160"] .site-header.rol159-header{height:128px;min-height:0;position:relative;z-index:110;border-bottom:1px solid #9b6d3c;background:linear-gradient(#0b111aef,#09111af8),url('/assets/archlord159/character.webp') 0 31%/420px auto no-repeat;box-shadow:0 8px 25px #000c;overflow:visible;backdrop-filter:none}
.rol159-header-top{height:74px;display:flex;justify-content:flex-end;align-items:flex-start;position:relative}
body[data-rol-theme="archlord160"] .rol159-brand{position:absolute;top:0;left:50%;transform:translateX(-50%);height:106px;width:275px;min-height:0;z-index:4;display:flex;align-items:center;justify-content:center;padding:7px 16px 12px;background:linear-gradient(90deg,transparent,#0b121be5 15%,#0b121b 85%,transparent);filter:drop-shadow(0 4px 7px #000);border-radius:0}
body[data-rol-theme="archlord160"] .rol159-brand::after{content:'✦  ◆  ✦';position:absolute;bottom:0;color:var(--a159-gold);font:10px Cinzel,serif;letter-spacing:11px;opacity:.7}
body[data-rol-theme="archlord160"] .rol159-brand .site-brand-logo{display:block;width:245px;height:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 0 10px #b98a374b)}
body[data-rol-theme="archlord160"] .rol159-actions{display:flex;position:relative;z-index:5;align-items:center;gap:8px;min-height:53px;margin-left:auto}
body[data-rol-theme="archlord160"] .rol159-actions .gold-button,body[data-rol-theme="archlord160"] .rol159-actions .ghost-button{border:1px solid #75583a;color:#f3ddad;padding:9px 12px;min-height:29px!important;height:32px!important;border-radius:2px;letter-spacing:.03em;text-transform:uppercase;font-size:10px!important;background:#0b1018e6}
body[data-rol-theme="archlord160"] .rol159-actions .gold-button{background:linear-gradient(#dfb77d,#83542c);color:#16110f;border-color:#b98e56;text-shadow:none}
body[data-rol-theme="archlord160"] .rol159-header-nav{height:54px;background:linear-gradient(180deg,#141923df,#0b1017ed);border-top:1px solid #594327;border-bottom:1px solid #735232;box-shadow:inset 0 1px #d8af6a26}
body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav{height:53px!important;min-height:53px!important;display:flex!important;justify-content:space-between;align-items:stretch;gap:265px;margin:auto;padding:0;position:relative;max-width:1380px!important}
.rol159-nav-group{flex:1;display:flex;align-items:stretch;gap:0;min-width:0}
.rol159-nav-left{justify-content:flex-end}.rol159-nav-right{justify-content:flex-start}
body[data-rol-theme="archlord160"] .rol159-nav-group>a,body[data-rol-theme="archlord160"] .rol159-nav-group>.nav-dropdown>.nav-dropdown-trigger{height:53px!important;min-height:53px!important;padding:15px clamp(9px,1.1vw,17px)!important;font-size:11px!important;letter-spacing:.045em!important;text-transform:uppercase!important;font-family:Cinzel,Georgia,serif!important;font-weight:700!important;color:#f0dfc2!important;white-space:nowrap;background:none!important}
body[data-rol-theme="archlord160"] .rol159-nav-group>a:hover,body[data-rol-theme="archlord160"] .rol159-nav-group>a.active,body[data-rol-theme="archlord160"] .rol159-nav-group .nav-dropdown-trigger:hover{color:#ffe0a3!important;text-shadow:0 0 10px #d9934d76}
body[data-rol-theme="archlord160"] .rol159-nav-group .nav-dropdown-menu{top:100%;background:#0c121bf7;border:1px solid #7f603b;box-shadow:0 20px 26px #000b;padding:7px;border-radius:1px;min-width:185px}
body[data-rol-theme="archlord160"] .rol159-nav-group .nav-dropdown-menu a{color:#e7d6b7;border-bottom:1px solid #e6b96817}
body[data-rol-theme="archlord160"] .rol159-header .nav-toggle{display:none}
/* Hero */
.rol159-home{background:linear-gradient(180deg,#060b11e8 0%,#0c141b 47%,#070c12 100%);padding-bottom:34px}
.rol159-home .rol159-hero{height:410px;position:relative;overflow:hidden;border-bottom:2px solid #957247;background:#121922}
.rol159-hero-ambience{position:absolute;inset:0;background:linear-gradient(90deg,#050b12a8 0%,#0a11163b 37%,#0a1018c6 72%,#070e16ee 100%),linear-gradient(0deg,#050b13 0%,transparent 29%),url('/assets/archlord159/hero.webp') center 47%/cover no-repeat;filter:saturate(.9)}
.rol159-hero-layout{position:relative;height:100%;display:flex;justify-content:flex-end;align-items:center}
.rol159-hero-character{position:absolute;bottom:0;left:-40px;width:48%;height:100%;background:url('/assets/archlord159/character.webp') 55% 42%/cover no-repeat;mask-image:linear-gradient(90deg,#000 52%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,#000 52%,transparent 100%);filter:brightness(1.15) contrast(1.05)}
.rol159-hero-copy{position:relative;z-index:1;width:min(500px,48%);padding:24px 0 42px;text-align:center;text-shadow:0 2px 7px #000}
.rol159-eyebrow{display:block;color:#e0a75d;font:700 11px Inter,sans-serif;letter-spacing:.19em;text-transform:uppercase}
.rol159-hero-copy .rol159-eyebrow{color:#f1bb73}
.rol159-hero h1{color:#f2e2c4;font:600 clamp(30px,3.45vw,54px)/1.15 Cinzel,Georgia,serif;letter-spacing:-.04em;margin:14px 0 7px;text-shadow:0 3px 15px #000,0 0 27px #d8a35936}
.rol159-hero h1 strong{color:#dfb66e;font-weight:700}
.rol159-glyph{font:14px Georgia,serif;color:#cfa770;letter-spacing:6px;margin:8px 0 17px}
.rol159-hero-copy>p{max-width:470px;font:13px/1.75 Inter,sans-serif;color:#efede6;margin:0 auto 22px}
.rol159-hero-actions{display:flex;gap:14px;justify-content:center}
.rol159-button{display:inline-flex;justify-content:center;align-items:center;gap:14px;text-decoration:none!important;color:#eacc94;font:700 12px Cinzel,serif;letter-spacing:.06em;min-height:41px;padding:10px 20px;border:1px solid #ae824d;background:linear-gradient(145deg,#151b23,#090e16);position:relative;transition:filter .18s,transform .18s;border-radius:2px;box-shadow:inset 0 0 0 2px #080d15,0 0 0 1px #271c15}
.rol159-button:hover{transform:translateY(-2px);filter:brightness(1.13)}
.rol159-button:before,.rol159-button:after{content:'◆';position:absolute;top:50%;transform:translateY(-50%);font-size:7px;color:#cda16b}.rol159-button:before{left:7px}.rol159-button:after{right:7px}
.rol159-primary{color:#201308!important;background:linear-gradient(180deg,#f0d69e,#bd884b 55%,#8d592b);border-color:#ffd59a;min-width:194px}
.rol159-outline{background:#08111ad9}
.rol159-benefits{display:flex;gap:16px;justify-content:center;color:#c3c1b8;font-size:10px;margin-top:20px}
.rol159-benefits span::before{content:'✦';color:#c59a62;padding-right:5px}
/* Flexible status and feature bar */
.rol159-statusbar{background:#080d14;border-bottom:1px solid #65492c;border-top:1px solid #86613d;box-shadow:0 4px 18px #0008}
.rol159-status-inner{display:flex;justify-content:space-between;align-items:center;gap:22px;min-height:45px;font-size:11px;color:#b5b9b7}
.rol159-status-inner>strong{font:700 13px Cinzel,serif;color:#e7c58d}.rol159-status-inner b{color:#dfb77a;font-size:13px;margin-left:6px}
.rol159-status-inner>a{color:#e6be81;text-decoration:none}.rol159-live{color:#b9d3b7;display:flex;align-items:center;gap:8px}.rol159-live i{width:8px;height:8px;background:#997f55;border-radius:50%;display:inline-block;box-shadow:0 0 6px #c59e5e}.rol159-live i.online{background:#4ada73;box-shadow:0 0 12px #3eed68}.rol159-live i.offline{background:#bf5246;box-shadow:0 0 10px #9f342f}
.rol159-pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:16px 0;border-bottom:1px solid #61492d}
.rol159-pillars a{min-height:68px;padding:10px 16px;display:flex;align-items:center;gap:13px;border-right:1px solid #5d452a70;text-decoration:none;color:#e1d6c4;transition:background .2s}
.rol159-pillars a:hover{background:#d3aa6722}.rol159-pillars a:last-child{border-right:0}.rol159-pillars b{font:32px Georgia,serif;color:#c49456;min-width:40px;text-align:center}.rol159-pillars strong{font:700 12px Cinzel,serif;color:#f0d3a1;display:block;margin-bottom:6px}.rol159-pillars small{font:11px/1.5 Inter,sans-serif;color:#adb4b9}
/* Common fantasy sections */
.rol159-section{margin-top:24px;margin-bottom:26px}.rol159-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:14px}
.rol159-section-head h2,.rol159-section h2{margin:4px 0;color:#f0d5a6;font:600 clamp(20px,2vw,29px)/1.25 Cinzel,Georgia,serif;text-transform:uppercase;text-shadow:0 2px 8px #000}
.rol159-section-head>a{font:600 11px Inter,sans-serif;color:#cfa36c;text-decoration:none;white-space:nowrap}.rol159-section-head>a:hover{color:#fff}
.rol159-story{border-top:1px solid #5b3e27;border-bottom:1px solid #67482e;background:linear-gradient(90deg,#080f17 0%,#0f1a24 75%,#0b131c)}
.rol159-story-inner{display:grid;grid-template-columns:38% 41% 21%;min-height:250px;align-items:center;gap:0;overflow:hidden}
.rol159-story-copy{padding:27px 35px 29px 0}.rol159-story-copy h2{margin:7px 0 12px;font-size:24px}.rol159-story-copy p,.rol159-siege-copy p{font-size:12px;line-height:1.8;color:#c8cbd0;max-width:370px}.rol159-story-copy .rol159-button,.rol159-siege-copy .rol159-button{min-height:33px;font-size:10px;margin-top:12px}
.rol159-artframe{display:block;position:relative;padding:6px;border:1px solid #bd985f;box-shadow:inset 0 0 0 3px #111821,0 2px 14px #0009;background:#0a1118}
.rol159-artframe:before,.rol159-artframe:after{content:'❖';position:absolute;top:-13px;color:#d5af72;font:20px Georgia;left:-8px;z-index:2}.rol159-artframe:after{left:auto;right:-8px}
.rol159-story-image img{display:block;width:100%;height:206px;object-fit:cover}.rol159-story-side{height:235px;opacity:.58;background:url('/assets/archlord159/siege.webp') center/cover;mask-image:linear-gradient(90deg,transparent,#000 60%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 60%)}
/* News */
.rol159-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.rol159-news-tile{position:relative;height:198px;overflow:hidden;border:1px solid #9b7647;box-shadow:inset 0 0 0 2px #080e15,0 4px 10px #0008;background:#111a23}
.rol159-news-tile>a{display:block;color:inherit;height:100%;text-decoration:none}
.rol159-news-tile img{width:100%;height:100%;object-fit:cover;filter:saturate(.79) brightness(.83);transition:transform .35s ease}.rol159-news-tile:hover img{transform:scale(1.05)}
.rol159-news-gradient{position:absolute;inset:0;background:linear-gradient(0deg,#05090ef0 5%,#0a0d15c4 38%,transparent 91%)}
.rol159-news-info{position:absolute;bottom:12px;left:15px;right:15px;display:flex;flex-direction:column;gap:6px}
.rol159-news-info small{color:#dfaa67;font:700 10px Inter,sans-serif;letter-spacing:.06em}.rol159-news-info strong{color:#fae1b9;font:700 16px/1.23 Cinzel,Georgia,serif;max-height:40px;overflow:hidden}.rol159-news-info>span{font:11px/1.35 Inter,sans-serif;color:#d9dbe0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rol159-empty{color:#bfc5c7;padding:35px;border:1px solid #6a502f}
/* Character gallery */
.rol159-classes{background:radial-gradient(ellipse at center,#26344355,transparent 73%),linear-gradient(#0d151f,#090e15);padding:23px 0 29px;border-top:1px solid #59452d;border-bottom:1px solid #59452d}
.rol159-classes-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.rol159-class-card{height:230px;position:relative;border:1px solid #ae8652;box-shadow:0 0 0 3px #0d121a,inset 0 0 0 2px #c39c5440;overflow:hidden;text-decoration:none;background:#111c24}
.rol159-class-card:after{content:'◆';position:absolute;top:-9px;right:-6px;color:#f5cb89;text-shadow:0 0 4px #000;transform:rotate(45deg);font-size:22px}
.rol159-class-card img{width:100%;height:100%;object-fit:cover;filter:brightness(.85) saturate(.75);transition:transform .3s,filter .3s}.rol159-class-card:hover img{transform:scale(1.06);filter:brightness(1) saturate(.85)}
.rol159-class-label{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:19px 7px 14px;background:linear-gradient(transparent,#04080df0 60%);display:flex;flex-direction:column;gap:4px}
.rol159-class-label small{font:9px Inter,sans-serif;letter-spacing:.13em;color:#d6b57f}.rol159-class-label strong{font:700 15px Cinzel,Georgia,serif;color:#f0d6a4}
/* City + game world */
.rol159-world{display:grid;grid-template-columns:62% 1fr;gap:24px}.rol159-city-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.rol159-city-grid a{position:relative;height:147px;border:1px solid #99784d;overflow:hidden;box-shadow:0 0 0 2px #0b111a;text-decoration:none}.rol159-city-grid img{width:100%;height:100%;object-fit:cover;filter:brightness(.75)}.rol159-city-grid span{position:absolute;bottom:0;left:0;right:0;padding:10px 2px 8px;background:linear-gradient(transparent,#050a10ef);color:#f2d6a3;font:700 13px Cinzel,serif;text-align:center}
.rol159-map-art{position:relative;display:block;height:147px;border:1px solid #a68455;overflow:hidden}.rol159-map-art>img{width:100%;height:100%;object-fit:cover;filter:sepia(.2) saturate(.65) brightness(.83)}.rol159-map-art>.rol159-button{position:absolute;right:9px;bottom:12px;font-size:9px;min-height:27px;padding:5px 15px}
/* Siege, real rankings */
.rol159-siege{background:linear-gradient(90deg,#111924,#0c121a);border-block:1px solid #6c4b2d;padding:14px 0}
.rol159-siege-grid{display:grid;grid-template-columns:41% 34% 25%;gap:0;align-items:stretch;min-height:229px}
.rol159-siege-art{overflow:hidden;display:block;border:1px solid #714f2e}.rol159-siege-art img{width:100%;height:100%;object-fit:cover;filter:brightness(.85)}
.rol159-siege-copy{padding:14px 24px}.rol159-siege-copy h2{font-size:21px}.rol159-siege-copy p{font-size:12px}
.rol159-rankings{margin-left:8px;border:1px solid #9d7447;background:linear-gradient(#111924,#0b121a);padding:12px 14px}.rol159-rankings h3{font:700 16px Cinzel,serif;color:#edd0a2;margin:0 0 10px;border-bottom:1px solid #755835;padding-bottom:8px}
.rol159-rankings>a:not(.rol159-ranking-more){display:flex;align-items:center;gap:8px;min-height:28px;color:#d5d2cd;font-size:11px;text-decoration:none;border-bottom:1px solid #cba07120}.rol159-rankings>a>span{width:26px;color:#dfac6a}.rol159-rankings>a>strong{flex:1;overflow:hidden;text-overflow:ellipsis}.rol159-rankings>a>small{color:#e8c98e}.rol159-rankings p{font-size:11px;color:#b9b6b2}.rol159-ranking-more{font-size:10px;color:#e2bb79;text-align:center;display:block;padding:8px 0 0;text-decoration:none}
/* Portal cards */
.rol159-quicklinks{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:25px;margin-bottom:22px}
.rol159-quicklinks a{border:1px solid #a47b4b;min-height:108px;background:radial-gradient(ellipse at bottom,#79502b2d,transparent 70%),#111820;display:flex;align-items:center;gap:17px;padding:14px 20px;color:#f6ddb5;text-decoration:none;box-shadow:inset 0 0 0 3px #0a1118;transition:transform .2s,background .2s}.rol159-quicklinks a:hover{transform:translateY(-3px);background:#1f2630}.rol159-quicklinks b{font:35px Georgia,serif;color:#dfae6a}.rol159-quicklinks strong{display:block;font:700 17px Cinzel,Georgia,serif}.rol159-quicklinks small{display:block;color:#bcbab6;font:11px/1.45 Inter,sans-serif;margin-top:6px}
.rol159-home-events{margin-top:30px}.rol159-event-list{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.rol159-event-list>div{border:1px solid #725637;background:#141d26;padding:14px;display:flex;flex-direction:column;gap:7px}.rol159-event-list strong{color:#e5c38b;font:700 14px Cinzel,serif}.rol159-event-list span{font-size:11px;color:#b7bdc0}
/* unified public subpages - inherited functionality untouched */
body[data-rol-theme="archlord160"].is-subpage .subpage{min-height:60vh;background:radial-gradient(ellipse at 55% 0,#3d322733,transparent 53%),#0a1119}
body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner,.wiki-hero,.account-hero,.downloads-hero,.news-hero,.ranking-hero,.status-hero){position:relative!important;background:linear-gradient(90deg,#071018ec,#0e1721aa 53%,#0b1219b0),url('/assets/archlord159/hero.webp') center 42%/cover!important;border-top:1px solid #785331!important;border-bottom:2px solid #ad7b43!important;box-shadow:inset 0 -28px 28px #090e17af;overflow:hidden}
body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner,.wiki-hero,.account-hero,.downloads-hero,.news-hero,.ranking-hero,.status-hero)::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#070d15b7,transparent 80%);pointer-events:none}
body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner,.wiki-hero,.account-hero,.downloads-hero)>.container{position:relative;z-index:1}
body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner,.wiki-hero,.account-hero,.downloads-hero) h1{font:600 clamp(28px,4vw,48px)/1.15 Cinzel,serif;color:#f4d5a0!important;text-shadow:0 3px 12px #000b}
body[data-rol-theme="archlord160"] .eyebrow,body[data-rol-theme="archlord160"] .panel-kicker{color:#d4a16b!important;letter-spacing:.12em}
body[data-rol-theme="archlord160"] :is(.panel,.wiki-search-panel,.wiki-feature-card,.wiki-stat-card,.wiki-item-card,.account-panel,.account-card,.download-card,.news-card,.ranking-card,.support-card,.page-card,.card){background:linear-gradient(140deg,#19232e,#0e171f 76%)!important;border:1px solid #705536!important;border-radius:2px!important;box-shadow:inset 0 1px #ffdc8e10,0 7px 22px #0004}
body[data-rol-theme="archlord160"] :is(.panel,.wiki-search-panel,.wiki-feature-card,.wiki-stat-card,.wiki-item-card,.account-panel,.account-card,.download-card,.news-card,.ranking-card,.support-card,.page-card,.card):hover{border-color:#ae8454}
body[data-rol-theme="archlord160"] :is(.wiki-item-card,.wiki-feature-card,.wiki-stat-card) strong{color:#f0d1a0}
body[data-rol-theme="archlord160"] :is(.gold-button,button[type=submit],.primary-button){background:linear-gradient(180deg,#e6c88b,#a7733c)!important;color:#17120f!important;border:1px solid #e2b87a!important;border-radius:2px!important;box-shadow:inset 0 1px #f3d9a8!important}
body[data-rol-theme="archlord160"] :is(.outline-button,.ghost-button){background:#0d141df0!important;color:#edd4a4!important;border:1px solid #806344!important;border-radius:2px!important}
body[data-rol-theme="archlord160"] :is(input:not([type=checkbox]),select,textarea){background:#0a131bf0!important;border:1px solid #745d41!important;border-radius:2px!important;color:#f2e5d1!important}
body[data-rol-theme="archlord160"] :is(input,select,textarea):focus-visible{border-color:#e7bd85!important;outline:1px solid #e7bd85!important}
body[data-rol-theme="archlord160"] :is(table,.ranking-table,.data-table){border:1px solid #715739!important}
body[data-rol-theme="archlord160"] :is(table thead th,.ranking-table thead th,.data-table thead th){background:#20252b!important;color:#e9c88e!important;border-bottom:1px solid #a3824d!important}
body[data-rol-theme="archlord160"] :is(table tbody tr,.ranking-table tbody tr){border-bottom-color:#b1904c2c!important}
body[data-rol-theme="archlord160"] .site-footer{background:linear-gradient(#0b131de9,#060b11fa),url('/assets/archlord159/siege.webp') center 25%/cover!important;border-top:2px solid #aa7c43!important;padding:35px 0 12px!important}
body[data-rol-theme="archlord160"] .footer-grid>div>strong{color:#e5c487;font:700 15px Cinzel,Georgia,serif;border-bottom:1px solid #83633c;padding-bottom:10px}
body[data-rol-theme="archlord160"] .footer-grid a{color:#b7bdc4;line-height:1.9}.site-footer .footer-identity .footer-brand img{width:230px;height:auto;max-width:100%;filter:drop-shadow(0 4px 9px #000)}
body[data-rol-theme="archlord160"] .footer-bottom{border-top:1px solid #735633;color:#b6ad9e}
/* responsive constraints */
@media(max-width:1200px){
body[data-rol-theme="archlord160"] .container{width:calc(100% - 46px)}
body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav{gap:215px}
body[data-rol-theme="archlord160"] .rol159-brand{width:220px}
body[data-rol-theme="archlord160"] .rol159-brand .site-brand-logo{width:196px}
body[data-rol-theme="archlord160"] .rol159-nav-group>a,body[data-rol-theme="archlord160"] .rol159-nav-group>.nav-dropdown>.nav-dropdown-trigger{padding:14px 8px!important;font-size:10px!important}
.rol159-story-inner{grid-template-columns:39% 61%}.rol159-story-side{display:none}
.rol159-quicklinks a{padding:12px;gap:8px}.rol159-quicklinks strong{font-size:14px}
}
@media(max-width:900px){
body[data-rol-theme="archlord160"] .site-header.rol159-header{height:72px;min-height:72px}
body[data-rol-theme="archlord160"] .rol159-header-top{height:72px;justify-content:flex-end;align-items:center}
body[data-rol-theme="archlord160"] .rol159-brand{top:2px;left:0;transform:none;width:182px;height:67px;padding:4px}
body[data-rol-theme="archlord160"] .rol159-brand .site-brand-logo{width:176px}
body[data-rol-theme="archlord160"] .rol159-brand:after{display:none}
body[data-rol-theme="archlord160"] .rol159-actions{margin-right:56px}
body[data-rol-theme="archlord160"] .rol159-actions .ghost-button:not(:last-child){display:none}
body[data-rol-theme="archlord160"] .rol159-header .nav-toggle{display:flex!important;position:absolute;right:0;top:15px;z-index:8}
body[data-rol-theme="archlord160"] .rol159-header-nav{height:0;border:0}
body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav{display:none!important;position:absolute;top:72px;left:0;right:0;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;gap:0;background:#0b121af8;border:1px solid #987446;box-shadow:0 16px 20px #000a;padding:12px!important;flex-direction:column;z-index:7}
body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav.open,body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav.is-open,body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav[data-open="true"]{display:flex!important}
.rol159-nav-group{width:100%;flex-direction:column;align-items:stretch}
body[data-rol-theme="archlord160"] .rol159-nav-group>a,body[data-rol-theme="archlord160"] .rol159-nav-group>.nav-dropdown>.nav-dropdown-trigger{min-height:38px!important;height:38px!important;justify-content:flex-start}
.rol159-home .rol159-hero{height:345px}.rol159-hero-character{width:53%}.rol159-hero-copy{width:55%}.rol159-hero h1{font-size:35px}.rol159-hero-copy>p{font-size:12px}
.rol159-pillars{grid-template-columns:repeat(2,1fr)}.rol159-pillars a:nth-child(2){border-right:0}
.rol159-world{grid-template-columns:1fr}.rol159-siege-grid{grid-template-columns:1.15fr 1fr}.rol159-rankings{grid-column:1/-1;margin:10px 0 0}
.rol159-quicklinks{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
body[data-rol-theme="archlord160"] .container{width:calc(100% - 28px)}
body[data-rol-theme="archlord160"] .rol159-actions{gap:4px}
body[data-rol-theme="archlord160"] .rol159-actions .ghost-button{display:none}
body[data-rol-theme="archlord160"] .rol159-actions .gold-button{padding:7px;font-size:9px!important}
.rol159-home .rol159-hero{height:400px}.rol159-hero-ambience{background-position:65% 50%}.rol159-hero-character{width:100%;opacity:.28;left:0;mask-image:none;-webkit-mask-image:none}
.rol159-hero-layout{justify-content:center}.rol159-hero-copy{width:100%;padding:40px 10px;text-align:center}.rol159-hero h1{font-size:34px}.rol159-hero-copy>p{font-size:12px}.rol159-benefits{flex-wrap:wrap;gap:8px}
.rol159-status-inner{flex-wrap:wrap;gap:7px;padding:10px 0;justify-content:space-between}.rol159-status-inner>strong{width:100%}.rol159-status-inner>span{font-size:10px}.rol159-status-inner>a{font-size:10px}
.rol159-pillars a{padding:9px 6px}.rol159-pillars strong{font-size:10px}.rol159-pillars small{font-size:10px}.rol159-pillars b{font-size:25px;min-width:25px}
.rol159-story-inner{display:block}.rol159-story-copy{padding:20px 5px}.rol159-story-image img{height:155px}
.rol159-news-grid{grid-template-columns:1fr;gap:11px}.rol159-news-tile{height:187px}
.rol159-classes-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:5px}.rol159-class-card{min-width:170px;height:225px;scroll-snap-align:start}
.rol159-city-grid{grid-template-columns:repeat(2,1fr)}.rol159-city-grid a{height:112px}
.rol159-siege-grid{display:block}.rol159-siege-art{height:160px}.rol159-siege-copy{padding:15px 5px}.rol159-rankings{margin:10px 0}
.rol159-quicklinks{gap:8px}.rol159-quicklinks a{min-height:89px}.rol159-quicklinks b{font-size:24px}.rol159-quicklinks strong{font-size:12px}.rol159-quicklinks small{font-size:10px}
.rol159-event-list{grid-template-columns:1fr 1fr}.rol159-section-head h2{font-size:21px}
}
@media(prefers-reduced-motion:reduce){.rol159-home *{animation:none!important;transition:none!important}}

/* === assets/archlord160/archlord160-exact.css: kept in original load order === */
/* Rise of Legends v2.20.160: screenshot-led layout and unified design skin.
   Functional PHP, authenticated forms, votes, WCoins and account logic remain unchanged. */
:root{--a159-bg:#070d13;--a159-gold:#d1a65d;--a159-gold-light:#f3dba0;--a159-ink:#ebe1d1;--a159-line:#84613c;--a159-panel:#0c151e}
body[data-rol-theme="archlord160"]{color:#e5ddce;background:#080e15!important;font-family:Arial,'Segoe UI',sans-serif}
body[data-rol-theme="archlord160"] .container{width:calc(100% - 96px);max-width:1300px}
body[data-rol-theme="archlord160"] :is(h1,h2,h3,.rol159-button,.rol159-quicklinks strong){font-family:Georgia,'Times New Roman',serif;letter-spacing:.015em}
body[data-rol-theme="archlord160"] .site-header.rol159-header{height:126px!important;background:linear-gradient(90deg,#070b11b6,#080d15 36%,#070c13 80%),url('/assets/archlord160/header-left.webp') left top/370px 91px no-repeat,#070d15!important;border-bottom:1px solid #986e3a;box-shadow:0 2px 14px #000c}
body[data-rol-theme="archlord160"] .rol159-header-top{height:89px;max-width:100%;width:100%;padding:0 22px}
body[data-rol-theme="archlord160"] .rol159-brand{width:280px!important;height:125px!important;top:0!important;padding:0!important;border:0!important;left:50%;transform:translateX(-50%);background:transparent!important;box-shadow:none!important;z-index:9}
body[data-rol-theme="archlord160"] .rol159-brand::after{display:none!important}
body[data-rol-theme="archlord160"] .rol159-brand .site-brand-logo{width:277px!important;height:125px!important;max-width:none;object-fit:fill;filter:none!important}
body[data-rol-theme="archlord160"] .rol159-actions{min-height:33px;margin-top:5px;gap:6px}
body[data-rol-theme="archlord160"] .rol159-actions .ghost-button,body[data-rol-theme="archlord160"] .rol159-actions .gold-button{height:25px!important;min-height:25px!important;background:#10131bdb;border:1px solid #554630!important;padding:5px 9px;font:10px Arial,sans-serif!important;text-transform:none;color:#f0dfc5;border-radius:1px}
body[data-rol-theme="archlord160"] .rol159-actions .gold-button{background:linear-gradient(#17191f,#0a0d14)!important;color:#efd4a8!important}
body[data-rol-theme="archlord160"] .rol159-header-nav{height:37px;min-height:37px;background:linear-gradient(#1a1b1eea,#0d1017f5)!important;border-top:1px solid #88613a;border-bottom:1px solid #ae8043}
body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav{height:36px!important;min-height:36px!important;gap:282px;max-width:1300px!important;justify-content:space-between}
body[data-rol-theme="archlord160"] .rol159-nav-group{align-items:center;flex:1;gap:0}
body[data-rol-theme="archlord160"] .rol159-nav-group>a,body[data-rol-theme="archlord160"] .rol159-nav-group>.nav-dropdown>.nav-dropdown-trigger{font:700 10px Georgia,serif!important;letter-spacing:0!important;padding:11px 14px!important;min-height:36px!important;height:36px!important;color:#efcf93!important}
body[data-rol-theme="archlord160"] .rol159-nav-left{justify-content:flex-end}
body[data-rol-theme="archlord160"] .rol159-nav-right{justify-content:flex-start}
body[data-rol-theme="archlord160"] .rol159-nav-group a.active{background:linear-gradient(0deg,#b78a4228,transparent)!important;box-shadow:inset 0 -2px #e6b66a}
/* The reference is ~1024x1536. Main section geometry follows its measured Y boundaries. */
.rol159-home{padding:0!important;background:radial-gradient(ellipse at 50% 35%,#1824314a,transparent 70%),#080e15!important}
.rol159-home .rol159-hero{height:217px!important;min-height:0!important;border-bottom:1px solid #c29651!important;background:#101821}
.rol159-hero-ambience{background:url('/assets/archlord160/hero-composite.webp') center/cover no-repeat!important;filter:none!important}
.rol159-hero-layout{max-width:1024px!important;width:100%!important;padding:0 50px!important;justify-content:flex-end!important}
.rol159-hero-character{display:none!important}
.rol159-hero-copy{width:370px!important;max-width:48%;padding:5px 0 0!important;text-align:center;transform:translateY(-1px)}
.rol159-hero-copy h1{font:600 29px/1.06 Georgia,serif!important;color:#f0cb87!important;margin:0 0 11px!important;text-shadow:1px 2px 2px #000,0 0 9px #000!important;letter-spacing:.015em!important}
.rol159-hero-copy p{font:12px/1.4 Arial,sans-serif!important;color:#fae9d1;max-width:340px!important;margin:0 auto 13px!important}
.rol159-hero-actions{gap:0!important}
.rol159-hero .rol159-button{min-height:48px!important;min-width:237px!important;padding:10px 24px!important;color:#f8d6aa!important;text-shadow:0 2px 4px #000;background:linear-gradient(#301015,#7b2520 55%,#330d0d)!important;border:2px ridge #caad62!important;font:600 22px Georgia,serif!important;box-shadow:inset 0 0 0 3px #160c0a,0 0 0 2px #563e22,0 6px 12px #0008!important}
.rol159-hero .rol159-button::before,.rol159-hero .rol159-button::after{content:'❖';font-size:12px}
.rol159-statusbar{height:34px!important;border-top:1px solid #523f28!important;border-bottom:1px solid #503d25!important;box-shadow:none!important;background:linear-gradient(90deg,#0c151f,#050b13 70%)!important}
.rol159-status-inner{height:33px!important;min-height:33px!important;gap:12px;padding:0!important;white-space:nowrap;font:10px Arial,sans-serif!important;color:#e9cf9a;overflow:hidden}
.rol159-status-inner>strong{font:700 14px Georgia,serif!important;color:#f1d29c;min-width:129px;border-right:1px solid #61492c;padding-right:16px}
.rol159-status-inner b{font-size:11px!important;color:#eadbbd}
.rol159-status-inner>a{font-size:10px!important;color:#e9c887!important}
.rol159-pillars{height:71px!important;min-height:71px!important;max-width:none!important;padding:7px max(48px,calc((100vw - 1300px)/2))!important;margin:0!important;border-bottom:1px solid #69502f!important;background:linear-gradient(#111b25,#0b121a)!important}
.rol159-pillars a{min-height:55px;padding:4px 11px!important;border-right:1px solid #8d683755!important;gap:9px}
.rol159-pillars b{font-size:32px!important;min-width:48px;color:#cba165!important}
.rol159-pillars strong{font:700 12px Georgia,serif!important;color:#f2cc8b!important;margin-bottom:3px!important}
.rol159-pillars small{font:10px/1.25 Arial,sans-serif!important;color:#d5d1cd}
.rol159-story{height:181px!important;min-height:181px!important;border-block:1px solid #815e35!important;background:radial-gradient(ellipse at 85% 50%,#33425055,transparent 50%),linear-gradient(90deg,#0a1119,#101a24)!important;margin:0!important}
.rol159-story-inner{min-height:179px!important;height:179px!important;grid-template-columns:39% 40% 21%!important;max-width:1024px!important;width:100%!important}
.rol159-story-copy{padding:12px 23px 8px 51px!important;align-self:center}
.rol159-story-copy h2{font:600 20px Georgia,serif!important;margin:0 0 8px!important;white-space:nowrap;color:#ebcc8d!important}
.rol159-story-copy p{font:11.2px/1.35 Arial,sans-serif!important;margin:0!important;color:#e9e7e4!important}
.rol159-story-copy .rol159-button{margin-top:9px!important;min-height:27px!important;padding:4px 20px!important;font:700 12px Georgia,serif!important}
.rol159-story-image{padding:3px!important;border:3px double #c4a06a!important;outline:1px solid #654626;outline-offset:2px}
.rol159-story-image img{height:141px!important;object-fit:cover}
.rol159-story-side{height:179px!important;background:url('/assets/archlord160/story-side.webp') center/cover no-repeat!important;mask-image:linear-gradient(90deg,transparent 0%,#000 45%)!important;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 45%)!important;opacity:1!important}
.rol159-home .rol159-section{margin:0!important}
.rol159-home .rol159-section-head{margin:0 0 8px!important;gap:10px}
.rol159-home .rol159-section-head .rol159-eyebrow{display:none}
.rol159-home .rol159-section-head h2{font:500 20px Georgia,serif!important;white-space:nowrap;margin:0!important;color:#e9ca8c}
.rol159-home .rol159-section-head>a{color:#ebd198!important;font:10px Arial,sans-serif!important}
.rol159-news{height:137px!important;min-height:137px!important;max-width:none!important;padding:10px max(48px,calc((100vw - 1300px)/2)) 9px!important;background:linear-gradient(#0a1118,#0c151f)!important;border-bottom:1px solid #58462b}
.rol159-news-grid{grid-template-columns:repeat(3,1fr)!important;gap:16px!important;height:87px!important}
.rol159-news-tile{height:86px!important;border:1px solid #9b784c!important;box-shadow:inset 0 0 0 1px #070c12!important;min-width:0}
.rol159-news-tile>a{display:flex!important;align-items:stretch;gap:0;position:relative}
.rol159-news-tile img{width:34%!important;height:100%!important;object-fit:cover!important;flex:0 0 34%;filter:brightness(.8) saturate(.75)}
.rol159-news-gradient{display:none!important}
.rol159-news-info{position:static!important;inset:auto!important;display:flex!important;min-width:0;padding:6px 7px;flex:1;gap:4px!important;justify-content:flex-start;background:linear-gradient(#141b24,#0b1119)}
.rol159-news-info small{font:700 9px Arial,sans-serif!important;color:#e6bb81}
.rol159-news-info strong{font:600 11px/1.16 Georgia,serif!important;color:#f6e2c0!important;display:-webkit-box;max-height:34px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rol159-news-info>span{font:9px/1.24 Arial,sans-serif!important;color:#c8c8c7!important;-webkit-line-clamp:2}
.rol159-news .rol159-empty{grid-column:1/-1;height:80px;padding:14px}
.rol159-classes{height:231px!important;min-height:231px!important;padding:10px 0 10px!important;border-block:0!important;background:linear-gradient(#081119,#0e171f 55%,#090f17)!important}
.rol159-classes .container{width:calc(100% - 96px)!important}
.rol159-classes-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
.rol159-class-card{height:172px!important;border:1px solid #b9955e!important;border-radius:0!important;background:#0c151e;box-shadow:0 0 0 2px #040911,inset 0 0 0 2px #b68c4c55!important}
.rol159-class-card img{object-fit:cover!important;object-position:center 0!important;filter:none!important}
.rol159-class-label{padding:19px 7px 8px!important;gap:1px!important;min-height:61px}
.rol159-class-label small{display:none}
.rol159-class-label strong{font:600 15px Georgia,serif!important;color:#ffdfa5!important}
.rol159-class-card:after{font-size:11px!important}
.rol159-world{height:153px!important;min-height:153px!important;padding:6px 0 10px!important;display:grid!important;grid-template-columns:62% 1fr!important;gap:17px!important;border-bottom:1px solid #86633c!important;background:#0a131b}
.rol159-city-grid{gap:7px!important}
.rol159-city-grid a{height:102px!important}
.rol159-city-grid span{font:600 12px Georgia,serif!important;padding:6px 2px 6px!important}
.rol159-map-art{height:102px!important;display:block}
.rol159-map-art>.rol159-button{font-size:10px!important;min-height:22px!important;padding:3px 12px!important;bottom:13px}
.rol159-siege{height:169px!important;min-height:169px!important;padding:0!important;margin:0!important;border-top:0!important;background:linear-gradient(#0a1019,#0c141e)!important}
.rol159-siege-grid{min-height:167px!important;height:167px!important;grid-template-columns:42% 32% 26%!important;max-width:none!important;width:100%!important;gap:0!important}
.rol159-siege-art{border:none!important;height:167px!important}
.rol159-siege-art img{filter:none!important;object-fit:cover}
.rol159-siege-copy{padding:18px 19px!important;border-right:1px solid #624727;align-self:stretch}
.rol159-siege-copy h2{font:600 18px Georgia,serif!important;white-space:nowrap;margin:0 0 10px!important;color:#f1d5a8}
.rol159-siege-copy .rol159-eyebrow{display:none}
.rol159-siege-copy p{font:11px/1.42 Arial,sans-serif!important;margin:0 0 8px!important;color:#e9e2d7}
.rol159-siege-copy .rol159-button{min-height:24px!important;margin-top:2px!important;padding:4px 17px!important;font:600 10px Georgia,serif!important}
.rol159-rankings{margin:6px 14px 6px 8px!important;padding:6px 11px!important;border:1px solid #8f683a!important;min-width:0}
.rol159-rankings h3{font:600 16px Georgia,serif!important;margin:0 0 4px!important;padding:0 0 4px!important}
.rol159-rankings>a:not(.rol159-ranking-more){min-height:19px!important;font-size:10px!important;gap:5px}
.rol159-rankings>a>span{width:23px;min-width:23px;background:#87603680;text-align:center;color:#f7d491}
.rol159-rankings>a>small{font:10px Arial,sans-serif!important}
.rol159-rankings .rol159-ranking-more{font-size:10px!important;padding:5px 0!important}
.rol159-quicklinks{height:136px!important;min-height:136px!important;max-width:none!important;margin:0!important;padding:10px max(22px,calc((100vw - 1300px)/2)) 18px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;border-bottom:1px solid #795932;background:linear-gradient(#0a1018,#091119)!important}
.rol159-quicklinks a{min-height:103px!important;padding:10px 18px!important;gap:13px!important;background:radial-gradient(ellipse at bottom,#69402466,transparent 60%),linear-gradient(#0a1018,#111b24)!important;border:1px solid #9c7545!important;box-shadow:inset 0 0 0 2px #0a1018,0 0 0 1px #352419!important}
.rol159-quicklinks b{font:39px Georgia,serif!important;min-width:55px;color:#e3b16c!important}
.rol159-quicklinks strong{font:600 19px Georgia,serif!important;color:#f1d2a0!important}
.rol159-quicklinks small{font:11px/1.26 Arial,sans-serif!important;color:#d9d8d4!important}
/* At 1024 the reference ends with one compact footer; all other links remain accessible via the collapsible extra footer. */
body[data-rol-theme="archlord160"].is-home-page .site-footer{background:linear-gradient(90deg,#0c151d,#0b1219)!important;border-top:2px solid #6d502e!important;min-height:86px!important;margin:0!important;padding:0!important}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid{width:calc(100% - 96px);max-width:1300px;min-height:65px!important;padding:7px 0!important;display:flex!important;flex-direction:row;align-items:center;justify-content:space-between;gap:15px}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-identity{flex:0 0 155px!important;width:155px!important;min-width:155px!important;margin:0!important;padding:0!important}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-identity .footer-brand{margin:0!important}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-identity img{width:128px!important;height:52px!important;object-fit:contain}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-identity p{display:none!important}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid>div:not(.footer-identity){display:none!important}
body[data-rol-theme="archlord160"] .rol160-footer-links{display:none}
body[data-rol-theme="archlord160"].is-home-page .rol160-footer-links{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:0;flex:1}
body[data-rol-theme="archlord160"].is-home-page .rol160-footer-links a{font:11px Arial,sans-serif;color:#e5d5c1;text-decoration:none;padding:0 8px;border-right:1px solid #89633e}
body[data-rol-theme="archlord160"].is-home-page .rol160-footer-links a:last-child{border:0}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-bottom{width:calc(100% - 96px)!important;max-width:1300px;padding:6px 0!important;min-height:22px!important;font:9px Arial,sans-serif!important;color:#9b9a98;border-top:1px solid #4c3a25!important}
body[data-rol-theme="archlord160"] .rol160-footer-extra{border-bottom:1px solid #9a773b36;padding:2px 48px;color:#cdb887;font:10px Arial,sans-serif}
body[data-rol-theme="archlord160"] .rol160-footer-extra summary{cursor:pointer;text-align:center;list-style:revert;outline-offset:3px}
body[data-rol-theme="archlord160"] .rol160-footer-extra[open]{padding:10px 48px;background:#090f17}
body[data-rol-theme="archlord160"] .rol160-footer-extra>div{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}
body[data-rol-theme="archlord160"] .rol160-footer-extra a{color:#d7ba8d;text-decoration:none}
body[data-rol-theme="archlord160"]:not(.is-home-page) .rol160-footer-extra{display:none}
/* Unified subpages and admin: frames, dark texture, compact banners, responsive forms. */
body[data-rol-theme="archlord160"].is-subpage .subpage{background:radial-gradient(ellipse at 55% 0,#89623b24,transparent 48%),linear-gradient(#0a131c,#080d14)!important}
body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner,.wiki-hero,.account-hero,.downloads-hero,.news-hero,.ranking-hero,.status-hero){border:1px solid #927245!important;background:linear-gradient(90deg,#08111df1,#0a111ac2),url('/assets/archlord160/hero-composite.webp') center 42%/cover!important;box-shadow:inset 0 0 0 3px #0c131d,0 5px 20px #0006!important}
body[data-rol-theme="archlord160"].is-subpage :is(.card,.panel,.stat-card,.box,.wiki-card,.db-card,.wiki-item-card,.account-card,.ranking-card,.item-card,.form-card){border-color:#8d6e45!important;border-radius:2px!important;background-color:#0b151e!important;box-shadow:inset 0 0 0 2px #050a10,0 3px 9px #0007!important}
body[data-rol-theme="archlord160"].is-subpage :is(input,select,textarea){border:1px solid #715635!important;border-radius:2px!important;background:#101823!important;color:#efe3d1!important}
body[data-rol-theme="archlord160"].is-subpage :is(button,.button,.btn,.gold-button){border-radius:1px!important}
/* small-screen becomes a practical stacked layout; reference is desktop-only. */
@media(max-width:980px){
 body[data-rol-theme="archlord160"] .container{width:calc(100% - 42px)!important}
 body[data-rol-theme="archlord160"] .rol159-header-top{height:83px}
 body[data-rol-theme="archlord160"] .site-header.rol159-header{height:83px!important}
 body[data-rol-theme="archlord160"] .rol159-brand{height:80px!important;width:180px!important}
 body[data-rol-theme="archlord160"] .rol159-brand .site-brand-logo{height:80px!important;width:180px!important}
 body[data-rol-theme="archlord160"] .rol159-header-nav{height:auto!important}
 body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav{gap:0!important;min-height:0!important;height:auto!important}
 body[data-rol-theme="archlord160"] .rol159-header .nav-toggle{display:flex!important;position:absolute;left:15px;top:14px}
 .rol159-home .rol159-hero{height:250px!important}
 .rol159-hero-layout{padding:0 25px!important}
 .rol159-hero-copy{max-width:54%!important;width:410px!important}
 .rol159-hero-copy h1{font-size:26px!important}
 .rol159-pillars{padding:6px 21px!important}
 .rol159-pillars strong{font-size:10px!important}
 .rol159-pillars small{font-size:9px!important}
 .rol159-story-inner{width:100%!important}
 .rol159-story-copy{padding:10px 15px!important}
 .rol159-news{padding:10px 21px!important}
 .rol159-classes .container{width:calc(100% - 42px)!important}
 .rol159-siege-copy{padding:12px!important}
 .rol159-siege-copy h2{white-space:normal;font-size:17px!important}
 .rol159-quicklinks{padding:10px 21px 18px!important}
 .rol159-quicklinks a{padding:7px!important;gap:5px!important}
 .rol159-quicklinks b{font-size:25px!important;min-width:30px}
 .rol159-quicklinks strong{font-size:13px!important}
}
@media(max-width:640px){
 body[data-rol-theme="archlord160"] .container{width:calc(100% - 26px)!important}
 .rol159-home .rol159-hero{height:370px!important}
 .rol159-hero-ambience{background-position:36% center!important}
 .rol159-hero-layout{justify-content:center!important;padding:0 13px!important}
 .rol159-hero-copy{max-width:100%!important;width:100%!important;margin-top:85px;background:linear-gradient(transparent,#07101bd6 14%,#070d19e8 76%,transparent);padding:12px 7px!important}
 .rol159-hero-copy h1{font-size:24px!important}
 .rol159-statusbar{height:auto!important}.rol159-status-inner{height:auto!important;min-height:46px!important;padding:8px 0!important;flex-wrap:wrap;gap:5px}
 .rol159-status-inner>strong{min-width:100%;border:0}
 .rol159-pillars{height:auto!important;grid-template-columns:1fr 1fr!important;padding:8px 12px!important;gap:5px}
 .rol159-pillars a{min-height:70px}.rol159-pillars b{font-size:22px!important;min-width:24px}
 .rol159-story{height:auto!important;min-height:0!important}.rol159-story-inner{height:auto!important;min-height:0!important;display:block!important}
 .rol159-story-copy{padding:20px 15px!important}.rol159-story-copy h2{white-space:normal}
 .rol159-story-image{display:block;margin:5px 13px 20px}.rol159-story-side{display:none}
 .rol159-news{height:auto!important;min-height:0!important;padding:16px 13px!important}
 .rol159-news-grid{display:grid!important;grid-template-columns:1fr!important;height:auto!important}
 .rol159-news-tile{height:89px!important}.rol159-news-tile img{width:33%!important}
 .rol159-classes{height:auto!important;min-height:0!important;padding:18px 0!important}
 .rol159-classes .container{width:calc(100% - 26px)!important}
 .rol159-classes-grid{display:flex!important;overflow-x:auto;gap:10px!important}.rol159-class-card{min-width:148px!important;height:174px!important}
 .rol159-world{height:auto!important;min-height:0!important;grid-template-columns:1fr!important;gap:22px!important;padding:15px 0!important}
 .rol159-city-grid a{height:100px!important}
 .rol159-siege{height:auto!important;min-height:0!important}.rol159-siege-grid{height:auto!important;display:block!important}.rol159-siege-art{height:160px!important}.rol159-siege-copy{padding:17px!important}.rol159-rankings{margin:12px!important}
 .rol159-quicklinks{height:auto!important;min-height:0!important;grid-template-columns:1fr 1fr!important;padding:13px!important}
 .rol159-quicklinks a{height:105px!important}.rol159-quicklinks strong{font-size:12px!important}
 body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid{width:calc(100% - 26px)!important;display:block!important;padding:12px 0!important}
 body[data-rol-theme="archlord160"].is-home-page .rol160-footer-links{justify-content:flex-start;margin:8px 0;row-gap:7px}
 body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-bottom{width:calc(100% - 26px)!important}
}
@media(prefers-reduced-motion:reduce){body[data-rol-theme="archlord160"] *{animation:none!important;transition:none!important}}
@media(min-width:981px){.rol159-story-side{display:block!important}}
.rol159-pillars a b{height:53px;width:53px;min-width:53px;font-size:0!important;display:block;background-size:contain;background-position:center;background-repeat:no-repeat}
.rol159-pillars a:nth-child(1) b{background-image:url('/assets/archlord160/pillar-1.webp')}.rol159-pillars a:nth-child(2) b{background-image:url('/assets/archlord160/pillar-2.webp')}.rol159-pillars a:nth-child(3) b{background-image:url('/assets/archlord160/pillar-3.webp')}.rol159-pillars a:nth-child(4) b{background-image:url('/assets/archlord160/pillar-4.webp')}
.rol159-quicklinks a b{height:55px;min-width:58px;font-size:0!important;display:block;background-size:contain;background-position:center;background-repeat:no-repeat}
.rol159-quicklinks a:nth-child(1) b{background-image:url('/assets/archlord160/quick-1.webp')}.rol159-quicklinks a:nth-child(2) b{background-image:url('/assets/archlord160/quick-2.webp')}.rol159-quicklinks a:nth-child(3) b{background-image:url('/assets/archlord160/quick-3.webp')}.rol159-quicklinks a:nth-child(4) b{background-image:url('/assets/archlord160/quick-4.webp')}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-identity img{content:url('/assets/archlord160/footer-logo.webp');width:129px!important;height:60px!important;object-fit:contain}
/* Visual QA corrections at the 1024px source reference width */
@media(min-width:981px){
 body[data-rol-theme="archlord160"] .rol159-nav-left>a,body[data-rol-theme="archlord160"] .rol159-nav-right>a{display:flex!important;align-items:center!important}
 body[data-rol-theme="archlord160"] .rol159-nav-group>a,body[data-rol-theme="archlord160"] .rol159-nav-group>.nav-dropdown>.nav-dropdown-trigger{font-size:10px!important;padding-left:11px!important;padding-right:11px!important}
 body[data-rol-theme="archlord160"] .rol159-nav-left{justify-content:flex-end!important}
 body[data-rol-theme="archlord160"] .rol159-nav-right{justify-content:flex-start!important}
 body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav{gap:270px!important}
 .rol159-pillars,.rol159-news,.rol159-quicklinks{width:100%!important;max-width:none!important}
 .rol159-world{margin-left:auto!important;margin-right:auto!important}
 .rol159-siege-grid{padding:0 21px;grid-template-columns:41% 33% 26%!important}
 .rol159-quicklinks a{min-width:0!important}
 .rol159-quicklinks strong{font-size:17px!important}
}
body[data-rol-theme="archlord160"].is-home-page .site-footer{position:relative}
body[data-rol-theme="archlord160"].is-home-page .rol160-footer-extra{position:absolute;bottom:19px;right:12px;padding:0;border:0;background:#080f17fa;z-index:4}
body[data-rol-theme="archlord160"].is-home-page .rol160-footer-extra summary{font-size:8px;color:#bfa076;text-align:right}
body[data-rol-theme="archlord160"].is-home-page .rol160-footer-extra[open]>div{max-width:400px;box-shadow:0 -5px 19px #000;background:#0a121c;border:1px solid #8f713c;padding:12px;display:flex;flex-direction:column}
.rol159-home .rol159-world{margin-left:auto!important;margin-right:auto!important}
.rol159-pillars a{overflow:hidden}.rol159-pillars a>span{min-width:0;max-height:56px;overflow:hidden}
.rol159-pillars strong{font-size:10.5px!important;white-space:nowrap;line-height:1.3!important}
.rol159-pillars small{font-size:10px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4!important}
.rol159-home .rol159-story-side{display:block!important}
@media(max-width:640px){
 .rol159-home .rol159-section-head{flex-wrap:wrap;align-items:flex-start!important}
 .rol159-home .rol159-section-head h2{white-space:normal!important;font-size:18px!important}
 .rol159-home .rol159-section-head>a{max-width:100%;font-size:9px!important;white-space:normal!important}
 .rol159-status-inner>strong{white-space:normal}.rol159-status-inner{overflow:visible;white-space:normal}
 .rol159-pillars strong{white-space:normal!important;font-size:9.5px!important}
 .rol159-pillars a>span{max-height:none!important}.rol159-pillars a{overflow:hidden}
 .rol159-city-grid a{height:105px!important}
 .rol159-map-art{height:125px!important}
 .rol159-class-card{scroll-snap-align:start}
 body[data-rol-theme="archlord160"] .rol159-header-top{justify-content:center!important}
 body[data-rol-theme="archlord160"] .rol159-header .nav-toggle{left:14px!important;right:auto!important;z-index:12}
 body[data-rol-theme="archlord160"] .rol159-actions{margin-left:auto;margin-right:0!important}
}
@media(max-width:640px){
 .rol159-home .rol159-story-side{display:none!important}
 body[data-rol-theme="archlord160"] .rol159-actions .gold-button{display:none!important}
 body[data-rol-theme="archlord160"] .rol159-actions .header-language-switcher{display:inline-flex!important}
}


/* RoL 2.20.167: consistent class card crop + slightly cleaner story art. */
.rol159-story-image img{width:100% !important;height:147px !important;object-fit:cover !important;object-position:center center !important}
.rol159-class-card{height:172px !important}
.rol159-class-card img{width:100% !important;height:100% !important;object-fit:cover !important}
.rol159-classes-grid .rol159-class-card:nth-child(1) img{object-position:50% 14% !important}
.rol159-classes-grid .rol159-class-card:nth-child(2) img{object-position:50% 16% !important}
.rol159-classes-grid .rol159-class-card:nth-child(3) img{object-position:50% 18% !important}
.rol159-classes-grid .rol159-class-card:nth-child(4) img{object-position:50% 15% !important}
.rol159-classes-grid .rol159-class-card:nth-child(5) img{object-position:50% 15% !important}

/* === assets/archlord161/archlord161-unified.css: kept in original load order === */
/* Rise of Legends 2.20.161 — screenshot reference alignment and shared subpage language.
   Presentation only. Does not affect forms, routing, database or game logic. */
body[data-rol-theme="archlord160"] {
 --rol161-gold:#d6aa65;--rol161-gold-light:#f6dcac;--rol161-bronze:#8a6336;
 --rol161-paper:#0a121b;--rol161-ink:#ecdfc7;
}
/* Home: ornate class and news cards, diagonal burnished edges, reference-like gold trims */
@media(min-width:981px){
 body[data-rol-theme="archlord160"] .rol159-status-inner{gap:11px!important}
 body[data-rol-theme="archlord160"] .rol159-status-inner>strong{min-width:140px!important}
 body[data-rol-theme="archlord160"] .rol159-pillars{padding-left:42px!important;padding-right:42px!important}
 body[data-rol-theme="archlord160"] .rol159-news{padding-left:48px!important;padding-right:48px!important}
 body[data-rol-theme="archlord160"] .rol159-home .rol159-classes .container{max-width:1024px!important}
}
.rol159-home .rol159-hero-copy h1{text-shadow:0 3px 2px #000,0 0 25px #a2713444!important}
.rol159-home .rol159-news-tile{clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));background:#0b131e!important;position:relative}
.rol159-home .rol159-news-tile:after{content:'✦';position:absolute;bottom:1px;right:3px;color:#e0b275;font-size:9px;pointer-events:none}
.rol159-home .rol159-class-card{isolation:isolate;overflow:hidden!important;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 9px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px);border:2px solid #ae8a50!important;box-shadow:inset 0 0 0 3px #0c1420,0 8px 20px #0008!important}
.rol159-home .rol159-class-card:before{content:'';z-index:2;position:absolute;inset:4px;border:1px solid #d8ad674a;pointer-events:none;clip-path:inherit}
.rol159-home .rol159-class-card img{transform:scale(1.012);transition:transform .4s ease,filter .4s ease;filter:saturate(.92) contrast(1.035)!important}
.rol159-home .rol159-class-card:hover img{transform:scale(1.07);filter:saturate(1.08) contrast(1.05)!important}
.rol159-home .rol159-class-label{padding-bottom:8px!important;background:linear-gradient(transparent,#080b11d6 35%,#080b11 98%)!important}
.rol159-home .rol159-class-label strong{font-family:Georgia,'Times New Roman',serif!important;font-size:17px!important;letter-spacing:.03em!important;color:#f7ddb2!important;text-shadow:0 2px 4px #000}
.rol159-home .rol159-class-label small{font-size:9px!important;letter-spacing:.1em;text-transform:uppercase;color:#ddbe90!important}
.rol159-home .rol159-city-grid a{clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% 100%,0 100%,0 7px);box-shadow:inset 0 0 0 2px #aa875644!important}
.rol159-home .rol159-city-grid a span{font-family:Georgia,serif!important;color:#f6ddb3!important;text-shadow:0 2px 5px #000}
.rol159-home .rol159-story-image:after{content:'◆';position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);color:#d3ab6b;font-size:13px;text-shadow:0 0 6px #000}
.rol159-home .rol159-quicklinks a{position:relative;overflow:hidden;clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 9px,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px)}
.rol159-home .rol159-quicklinks a:after{content:'◆';position:absolute;right:8px;bottom:4px;font-size:9px;color:#bd955d}
.rol159-home .rol159-rankings{box-shadow:inset 0 0 0 2px #0a1118,0 0 0 1px #a27e49!important}
/* Shared subpage design: same dark stone, layered castle artwork and medieval framing */
body[data-rol-theme="archlord160"].is-subpage{background:radial-gradient(ellipse at 50% 2%,#7d4d251b,transparent 48%),#090f17!important}
body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner,.wiki-hero,.account-hero,.downloads-hero,.news-hero,.ranking-hero,.status-hero){
 background-image:linear-gradient(90deg,#080d15f8 0%,#0a121be3 35%,#0b131d80 70%,#080f18a8),url('/assets/archlord160/hero-composite.webp')!important;
 background-position:center,center 38%!important;background-size:cover!important;
 border-top:1px solid #b78b4c!important;border-bottom:2px solid #c49955!important;
 box-shadow:inset 0 3px #000a,inset 0 -34px 45px #05090ed9,0 7px 16px #0007!important;
}
body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner,.wiki-hero,.account-hero,.downloads-hero,.news-hero,.ranking-hero,.status-hero):after{
 content:'';position:absolute;inset:6px 12px;pointer-events:none;border-top:1px solid #d0a36345;border-bottom:1px solid #ca9d5140;opacity:.65
}
body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner) h1{
 font-family:Georgia,'Times New Roman',serif!important;color:#f5d39b!important;font-weight:500!important;text-shadow:0 3px 6px #000c,0 0 21px #000a!important
}
body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner) p{color:#ded2c2!important;max-width:790px}
body[data-rol-theme="archlord160"].is-subpage :is(.panel,.card,.wiki-feature-card,.wiki-stat-card,.wiki-item-card,.account-panel,.account-card,.download-card,.news-card,.ranking-card,.support-card,.page-card,.wiki-search-panel,.wiki-category-grid>a,.wiki-result-head,.account-stat-card){
 background:radial-gradient(ellipse at 90% 0%,#75502a1e,transparent 57%),linear-gradient(155deg,#16212a,#0a131e 75%)!important;
 border:1px solid #977347!important;border-radius:2px!important;
 box-shadow:inset 0 0 0 2px #0a1119,inset 0 1px 0 #efc98f23,0 8px 18px #0006!important;
}
body[data-rol-theme="archlord160"].is-subpage :is(.panel,.wiki-feature-card,.wiki-item-card,.account-card,.download-card,.news-card,.ranking-card){position:relative}
body[data-rol-theme="archlord160"].is-subpage :is(.panel,.wiki-feature-card,.wiki-item-card,.account-card,.download-card,.news-card,.ranking-card):before{
 content:'';position:absolute;width:11px;height:11px;left:0;top:0;border-top:2px solid #d4a55b;border-left:2px solid #d4a55b;pointer-events:none;opacity:.8;z-index:1
}
body[data-rol-theme="archlord160"].is-subpage :is(.panel,.wiki-feature-card,.wiki-item-card,.account-card,.download-card,.news-card,.ranking-card):after{
 content:'';position:absolute;width:11px;height:11px;right:0;bottom:0;border-bottom:2px solid #d4a55b;border-right:2px solid #d4a55b;pointer-events:none;opacity:.8;z-index:1
}
body[data-rol-theme="archlord160"].is-subpage :is(.wiki-item-card,.wiki-feature-card,.download-card,.news-card,.ranking-card):hover{border-color:#dbb36f!important;filter:brightness(1.06)}
body[data-rol-theme="archlord160"].is-subpage :is(h1,h2,h3,.wiki-feature-card h3,.panel-heading h2,.wiki-result-head h2){font-family:Georgia,'Times New Roman',serif;color:#f0ce93;letter-spacing:.012em}
body[data-rol-theme="archlord160"].is-subpage :is(.eyebrow,.panel-kicker,.wiki-feature-card>span){color:#e3b26f!important;letter-spacing:.09em}
body[data-rol-theme="archlord160"].is-subpage :is(.gold-button,button[type=submit],.primary-button){border:1px solid #e8bd78!important;box-shadow:inset 0 1px #fff1ce60,0 3px 0 #593c22,0 5px 12px #0008!important;font-weight:700}
body[data-rol-theme="archlord160"].is-subpage :is(.outline-button,.ghost-button){border-color:#b58a52!important;box-shadow:inset 0 0 0 1px #161a1d}
body[data-rol-theme="archlord160"].is-subpage :is(.form-field input,.form-field select,.form-field textarea,.search-input,input:not([type=checkbox]):not([type=radio]),select,textarea){background:#0c1721!important;border:1px solid #80613c!important;box-shadow:inset 0 2px 6px #0006;color:#e9d9bf!important}
body[data-rol-theme="archlord160"].is-subpage :is(table,.data-table,.ranking-table){border-collapse:separate;border-spacing:0;border:1px solid #9d7846!important;background:#0c151e!important}
body[data-rol-theme="archlord160"].is-subpage :is(table thead th,.data-table thead th,.ranking-table thead th){background:linear-gradient(180deg,#443024,#1b222b)!important;border-bottom:2px solid #9d794a!important;color:#f8d39c!important}
body[data-rol-theme="archlord160"].is-subpage :is(table tbody tr:nth-child(even),.data-table tbody tr:nth-child(even)){background:#c3923910}
body[data-rol-theme="archlord160"].is-subpage :is(.wiki-item-grid,.wiki-category-grid,.wiki-stats-grid,.download-grid,.news-grid,.account-card-grid){gap:12px}
body[data-rol-theme="archlord160"].is-subpage .wiki-item-icon img{object-fit:contain;filter:drop-shadow(0 3px 4px #000a)}
body[data-rol-theme="archlord160"].is-subpage :is(.wiki-panel-heading,.wiki-result-head,.panel-heading){border-bottom-color:#8a683e!important}
body[data-rol-theme="archlord160"].is-subpage .site-footer{background:linear-gradient(180deg,#0a121bec,#060a10f8),url('/assets/archlord160/footer.webp') center bottom/cover!important}
@media(max-width:980px){.rol159-home .rol159-class-label strong{font-size:14px!important}}
@media(max-width:640px){
 body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner,.wiki-hero,.account-hero){min-height:130px!important}
 body[data-rol-theme="archlord160"].is-subpage :is(.panel,.card,.wiki-feature-card,.wiki-item-card){max-width:100%}
 .rol159-home .rol159-quicklinks a:after{display:none}
}

/* === assets/archlord162/archlord162-responsive.css: kept in original load order === */
/* Rise of Legends v2.20.162 – desktop layout repair.
   Removes fixed 1024px-preview dimensions introduced in v160/v161.
   Purely presentational. No account, payment, vote, source or database changes. */
:root{--rol162-content:1480px;--rol162-gutter:clamp(22px,3.3vw,64px);--rol162-double-gutter:clamp(44px,6.6vw,128px)}
@media(min-width:1101px){
  body[data-rol-theme="archlord160"] .container{width:calc(100% - var(--rol162-double-gutter))!important;max-width:var(--rol162-content)!important}
  body[data-rol-theme="archlord160"] .site-header.rol159-header{height:150px!important;min-height:150px!important}
  body[data-rol-theme="archlord160"] .rol159-header-top{height:101px!important;max-width:var(--rol162-content)!important;padding:0 0!important}
  body[data-rol-theme="archlord160"] .rol159-brand{height:148px!important;width:300px!important}
  body[data-rol-theme="archlord160"] .rol159-brand .site-brand-logo{height:146px!important;width:300px!important;object-fit:contain!important}
  body[data-rol-theme="archlord160"] .rol159-header-nav{height:49px!important;min-height:49px!important}
  body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav{width:calc(100% - var(--rol162-double-gutter))!important;max-width:var(--rol162-content)!important;height:48px!important;min-height:48px!important;gap:320px!important}
  body[data-rol-theme="archlord160"] .rol159-nav-group>a,
  body[data-rol-theme="archlord160"] .rol159-nav-group>.nav-dropdown>.nav-dropdown-trigger{height:48px!important;min-height:48px!important;padding:13px clamp(9px,.8vw,17px)!important;font-size:clamp(11px,.83vw,14px)!important;white-space:nowrap}
  body[data-rol-theme="archlord160"] .rol159-actions{min-height:41px!important;gap:8px!important}
  body[data-rol-theme="archlord160"] .rol159-actions .ghost-button,
  body[data-rol-theme="archlord160"] .rol159-actions .gold-button{height:32px!important;min-height:32px!important;font-size:12px!important;padding:6px 11px!important}
  .rol159-home .rol159-hero{height:clamp(275px,21vw,398px)!important;min-height:275px!important}
  .rol159-hero-ambience{background-position:center center!important;background-size:cover!important}
  .rol159-hero-layout{max-width:var(--rol162-content)!important;width:calc(100% - var(--rol162-double-gutter))!important;padding:0 clamp(22px,2vw,40px)!important}
  .rol159-hero-copy{width:min(510px,45%)!important;max-width:45%!important;padding:0 0 5px!important;transform:none!important}
  .rol159-hero-copy h1{font-size:clamp(33px,2.5vw,46px)!important;line-height:1.07!important;margin-bottom:15px!important}
  .rol159-hero-copy p{font-size:clamp(14px,.91vw,17px)!important;line-height:1.55!important;max-width:480px!important;margin-bottom:19px!important}
  .rol159-hero .rol159-button{min-height:56px!important;min-width:250px!important;font-size:23px!important}
  .rol159-statusbar{height:auto!important;min-height:53px!important}
  .rol159-status-inner{height:auto!important;min-height:51px!important;width:calc(100% - var(--rol162-double-gutter))!important;max-width:var(--rol162-content)!important;gap:clamp(10px,1.1vw,22px)!important;overflow:visible!important;font-size:clamp(12px,.76vw,15px)!important;white-space:normal!important}
  .rol159-status-inner>strong{font-size:16px!important;min-width:145px!important;padding-right:18px!important;white-space:nowrap}
  .rol159-status-inner b,.rol159-status-inner>a{font-size:clamp(12px,.75vw,14px)!important}
  .rol159-pillars{height:auto!important;min-height:108px!important;width:100%!important;max-width:none!important;padding:15px max(var(--rol162-gutter),calc((100vw - var(--rol162-content))/2))!important;gap:10px!important}
  .rol159-pillars a{min-height:76px!important;padding:8px 16px!important;gap:15px!important}
  .rol159-pillars a b{width:58px!important;height:58px!important;min-width:58px!important}
  .rol159-pillars a>span{max-height:none!important;overflow:visible!important}
  .rol159-pillars strong{font-size:clamp(13px,.85vw,16px)!important;white-space:normal!important;line-height:1.3!important;margin-bottom:5px!important}
  .rol159-pillars small{font-size:clamp(12px,.75vw,14px)!important;line-height:1.45!important;display:block!important;overflow:visible!important}
  .rol159-story{height:auto!important;min-height:285px!important}
  .rol159-story-inner{max-width:var(--rol162-content)!important;width:calc(100% - var(--rol162-double-gutter))!important;min-height:285px!important;height:auto!important;grid-template-columns:37% 43% 20%!important;overflow:visible!important}
  .rol159-story-copy{padding:16px 35px 16px 0!important}
  .rol159-story-copy h2{font-size:clamp(23px,1.6vw,29px)!important;white-space:normal!important;line-height:1.17!important;margin-bottom:13px!important}
  .rol159-story-copy p{font-size:clamp(14px,.82vw,16px)!important;line-height:1.54!important}
  .rol159-story-copy .rol159-button{margin-top:17px!important;min-height:36px!important;padding:8px 18px!important;font-size:13px!important}
  .rol159-story-image{margin:14px!important}
  .rol159-story-image img{height:221px!important;width:100%!important;object-fit:cover!important}
  .rol159-story-side{height:285px!important;min-height:285px!important}
  .rol159-home .rol159-section-head{margin:0 0 15px!important;gap:12px!important}
  .rol159-home .rol159-section-head h2{font-size:clamp(23px,1.5vw,29px)!important;line-height:1.2!important;white-space:normal!important}
  .rol159-home .rol159-section-head>a{font-size:13px!important;white-space:nowrap}
  .rol159-news{height:auto!important;min-height:233px!important;max-width:none!important;width:100%!important;padding:20px max(var(--rol162-gutter),calc((100vw - var(--rol162-content))/2)) 23px!important}
  .rol159-news-grid{height:auto!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
  .rol159-news-tile{height:160px!important;min-width:0!important}
  .rol159-news-tile>a{height:100%!important;overflow:hidden}
  .rol159-news-tile img{width:38%!important;flex:0 0 38%!important;height:100%!important}
  .rol159-news-info{padding:12px 13px!important;gap:7px!important;overflow:hidden!important}
  .rol159-news-info small{font-size:11px!important;line-height:1.3!important}
  .rol159-news-info strong{font-size:clamp(14px,.85vw,17px)!important;line-height:1.3!important;max-height:50px!important;-webkit-line-clamp:3!important}
  .rol159-news-info>span{font-size:12px!important;line-height:1.4!important;-webkit-line-clamp:3!important}
  .rol159-classes{height:auto!important;min-height:345px!important;padding:22px 0 24px!important}
  .rol159-classes .container,.rol159-home .rol159-classes .container{width:calc(100% - var(--rol162-double-gutter))!important;max-width:var(--rol162-content)!important}
  .rol159-classes-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:18px!important}
  .rol159-class-card{height:272px!important;min-width:0!important}
  .rol159-class-card .rol159-class-label{min-height:74px!important;padding:21px 9px 15px!important}
  .rol159-home .rol159-class-label strong{font-size:clamp(18px,1.15vw,22px)!important}
  .rol159-world{height:auto!important;min-height:238px!important;max-width:var(--rol162-content)!important;width:calc(100% - var(--rol162-double-gutter))!important;padding:17px 0 25px!important;grid-template-columns:minmax(0,61%) minmax(0,39%)!important;gap:24px!important}
  .rol159-cities,.rol159-world-map{min-width:0!important}
  .rol159-city-grid{gap:12px!important}
  .rol159-city-grid a{height:145px!important;min-width:0!important}
  .rol159-city-grid span{font-size:15px!important;padding:7px 3px!important}
  .rol159-map-art{height:145px!important}
  .rol159-map-art>.rol159-button{font-size:12px!important;min-height:31px!important;padding:6px 13px!important}
  .rol159-siege{height:auto!important;min-height:256px!important}
  .rol159-siege-grid{height:auto!important;min-height:256px!important;max-width:var(--rol162-content)!important;width:calc(100% - var(--rol162-double-gutter))!important;grid-template-columns:minmax(0,40%) minmax(0,33%) minmax(0,27%)!important;gap:0!important;padding:0!important}
  .rol159-siege-art{height:256px!important;min-width:0!important}
  .rol159-siege-copy{padding:29px 26px!important;min-width:0!important}
  .rol159-siege-copy h2{font-size:clamp(22px,1.45vw,27px)!important;white-space:normal!important;line-height:1.2!important}
  .rol159-siege-copy p{font-size:14px!important;line-height:1.6!important;margin-bottom:17px!important}
  .rol159-siege-copy .rol159-button{min-height:34px!important;padding:7px 16px!important;font-size:12px!important}
  .rol159-rankings{margin:17px 0 17px 14px!important;padding:12px 15px!important;overflow:hidden!important}
  .rol159-rankings h3{font-size:21px!important;margin-bottom:9px!important}
  .rol159-rankings>a:not(.rol159-ranking-more){min-height:27px!important;font-size:13px!important;gap:8px!important}
  .rol159-rankings>a>small{font-size:12px!important}
  .rol159-rankings .rol159-ranking-more{font-size:12px!important}
  .rol159-quicklinks{height:auto!important;min-height:169px!important;max-width:var(--rol162-content)!important;width:calc(100% - var(--rol162-double-gutter))!important;margin:0 auto!important;padding:20px 0 24px!important;gap:16px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .rol159-quicklinks a{min-height:126px!important;padding:15px 18px!important;gap:15px!important}
  .rol159-quicklinks strong{font-size:clamp(18px,1.12vw,22px)!important;line-height:1.15!important}
  .rol159-quicklinks small{font-size:12px!important;line-height:1.45!important}
  .rol159-quicklinks a b{height:59px!important;min-width:65px!important;width:65px!important}
  body[data-rol-theme="archlord160"].is-home-page .site-footer{min-height:115px!important}
  body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid{max-width:var(--rol162-content)!important;min-height:86px!important;padding:14px 0!important}
  body[data-rol-theme="archlord160"].is-home-page .rol160-footer-links a{font-size:13px!important}
  body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-bottom{max-width:var(--rol162-content)!important;font-size:11px!important}
}
/* Tablet: don't force the 1024px reference into a cramped, unreadable desktop strip. */
@media(min-width:641px) and (max-width:1100px){
 body[data-rol-theme="archlord160"] .rol159-story-inner{width:calc(100% - 42px)!important}
 .rol159-news-tile{min-width:0}
 .rol159-news-info strong{font-size:12px!important}
 .rol159-home .rol159-section-head h2{white-space:normal!important}
 .rol159-home .rol159-world{width:calc(100% - 42px)!important}
 .rol159-home .rol159-quicklinks a{min-width:0!important}
}
/* Phone: no forced horizontal scrolling or clipped labels from legacy fixed dimensions. */
@media(max-width:640px){
 .rol159-home{width:100%;overflow:hidden}
 .rol159-home .rol159-story-copy h2,.rol159-home .rol159-section-head h2{white-space:normal!important}
 .rol159-home .rol159-news-grid{height:auto!important}
 .rol159-home .rol159-news-tile{height:110px!important}
 .rol159-home .rol159-news-info{gap:5px!important}
 .rol159-home .rol159-news-info strong{font-size:12px!important}
 .rol159-home .rol159-news-info>span{font-size:10px!important}
 .rol159-classes-grid{scroll-snap-type:x proximity}
 .rol159-quicklinks strong{font-size:clamp(12px,3.2vw,16px)!important}
 .rol159-world{max-width:100%!important}
 .rol159-status-inner{overflow:visible!important}
}

@media(min-width:1101px) and (max-width:1320px){
  body[data-rol-theme="archlord160"] .rol159-header-nav .main-nav{gap:clamp(220px,20vw,280px)!important}
  body[data-rol-theme="archlord160"] .rol159-nav-group>a,body[data-rol-theme="archlord160"] .rol159-nav-group>.nav-dropdown>.nav-dropdown-trigger{font-size:11px!important;padding-left:7px!important;padding-right:7px!important}
  .rol159-story-copy p{font-size:13px!important}
  .rol159-pillars strong{font-size:12px!important}
  .rol159-pillars small{font-size:11px!important}
}

/* High-specificity overrides for old v161 .container max-width rules. */
@media(min-width:1101px){
  body[data-rol-theme="archlord160"] .rol159-home .rol159-pillars{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
  body[data-rol-theme="archlord160"] .rol159-home .rol159-news{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
  body[data-rol-theme="archlord160"] .rol159-home .rol159-classes .container{width:calc(100% - var(--rol162-double-gutter))!important;max-width:var(--rol162-content)!important}
  body[data-rol-theme="archlord160"] .rol159-home .rol159-world{width:calc(100% - var(--rol162-double-gutter))!important;max-width:var(--rol162-content)!important;margin-left:auto!important;margin-right:auto!important}
  body[data-rol-theme="archlord160"] .rol159-home .rol159-quicklinks{width:calc(100% - var(--rol162-double-gutter))!important;max-width:var(--rol162-content)!important;margin:0 auto!important}
}

/* === assets/archlord163/archlord163-polish.css: kept in original load order === */
/* RoL 2.20.163: exact reference styling, non-overlapping logo hit target,
   higher-density original artwork, no changes to game/site business logic. */
/* The crest is decorative and MUST NOT intercept Rankings/Downloads. */
body[data-rol-theme="archlord160"] .site-header.rol159-header .rol159-brand {
  pointer-events:none !important;
  z-index:24 !important;
  background:transparent !important;
  box-shadow:none !important;
  filter:none !important;
  overflow:visible !important;
}
body[data-rol-theme="archlord160"] .site-header.rol159-header .rol159-brand .site-brand-logo {
  display:block !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:transparent !important;
  filter:drop-shadow(0 3px 8px #000c) !important;
  pointer-events:none !important;
}
/* A separate, transparent hit area exists strictly ABOVE the navigation. */
body[data-rol-theme="archlord160"] .site-header.rol159-header .rol163-brand-hit {
  position:absolute;
  top:5px;
  left:50%;
  transform:translateX(-50%);
  width:min(225px,24vw);
  height:86px;
  display:block;
  z-index:26;
  background:transparent;
  border:0;
  text-decoration:none;
  cursor:pointer;
}
body[data-rol-theme="archlord160"] .site-header.rol159-header .rol163-brand-hit:focus-visible {
  outline:2px solid #eaca87;
  outline-offset:3px;
}
body[data-rol-theme="archlord160"] .site-header.rol159-header .rol159-header-nav {
  position:relative;
  z-index:20;
}
body[data-rol-theme="archlord160"] .site-header.rol159-header .rol159-nav-group,
body[data-rol-theme="archlord160"] .site-header.rol159-header .rol159-nav-group>a,
body[data-rol-theme="archlord160"] .site-header.rol159-header .nav-dropdown,
body[data-rol-theme="archlord160"] .site-header.rol159-header .nav-dropdown-trigger {
  pointer-events:auto !important;
}
/* Limit crest width, eliminate the apparent rectangular backdrop, preserve center gap. */
@media(min-width:1101px){
 body[data-rol-theme="archlord160"] .site-header.rol159-header .rol159-brand {
   width:275px !important;
   height:147px !important;
 }
 body[data-rol-theme="archlord160"] .site-header.rol159-header .rol159-brand .site-brand-logo {
   width:275px !important;
   height:147px !important;
 }
 body[data-rol-theme="archlord160"] .site-header.rol159-header .rol159-header-nav .main-nav {
   gap:340px !important;
 }
}
@media(min-width:641px) and (max-width:1100px){
 body[data-rol-theme="archlord160"] .site-header.rol159-header .rol163-brand-hit {width:150px;height:67px;top:4px}
 body[data-rol-theme="archlord160"] .site-header.rol159-header .rol159-brand .site-brand-logo {object-fit:contain !important}
}
@media(max-width:640px){
 body[data-rol-theme="archlord160"] .site-header.rol159-header .rol163-brand-hit {width:127px;height:63px;top:5px}
 body[data-rol-theme="archlord160"] .site-header.rol159-header .rol159-brand .site-brand-logo {object-fit:contain !important}
}
/* Avoid magnification from the tiny original screenshot crops; all images
   below point to the denser local asset variants generated for this release. */
body[data-rol-theme="archlord160"] .rol159-hero-ambience {
  background-image:url('/assets/archlord163/hero-composite.webp') !important;
  background-size:cover !important;
  image-rendering:auto;
}
body[data-rol-theme="archlord160"] .rol159-class-card img,
body[data-rol-theme="archlord160"] .rol159-city-grid img,
body[data-rol-theme="archlord160"] .rol159-story-image img,
body[data-rol-theme="archlord160"] .rol159-siege-art img,
body[data-rol-theme="archlord160"] .rol159-map-art img {
  image-rendering:auto !important;
  object-fit:cover;
  backface-visibility:hidden;
}
body[data-rol-theme="archlord160"] .rol159-class-card img{object-position:center 27%}
body[data-rol-theme="archlord160"].is-home-page .site-footer {
  background-image:linear-gradient(#0a1018df,#070a10ee),url('/assets/archlord163/footer.webp') !important;
}


/* RoL 2.20.167: sharper homepage imagery + consistent class frames. */
body[data-rol-theme="archlord160"] .rol159-story-image img,
body[data-rol-theme="archlord160"] .rol159-story-side,
body[data-rol-theme="archlord160"] .rol159-class-card img {
  image-rendering:auto !important;
  backface-visibility:hidden;
  transform:translateZ(0);
}
body[data-rol-theme="archlord160"] .rol159-class-card {
  overflow:hidden;
}
body[data-rol-theme="archlord160"] .rol159-class-card img {
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
body[data-rol-theme="archlord160"] .rol159-classes-grid .rol159-class-card:nth-child(1) img{object-position:50% 14% !important}
body[data-rol-theme="archlord160"] .rol159-classes-grid .rol159-class-card:nth-child(2) img{object-position:50% 16% !important}
body[data-rol-theme="archlord160"] .rol159-classes-grid .rol159-class-card:nth-child(3) img{object-position:50% 18% !important}
body[data-rol-theme="archlord160"] .rol159-classes-grid .rol159-class-card:nth-child(4) img{object-position:50% 15% !important}
body[data-rol-theme="archlord160"] .rol159-classes-grid .rol159-class-card:nth-child(5) img{object-position:50% 15% !important}

/* === assets/archlord164/layout-fix.css: kept in original load order === */
/* RoL 2.20.165 – restored original nav positions; homepage content alignment.
   Previously: v2.20.164. */
/* RoL 2.20.164 – final layout boundary after legacy v159-v163 styles.
   No screenshots-with-text used as a background. Consistent responsive max widths. */
body[data-rol-theme="archlord160"]{--rol164-max:1480px;--rol164-gutter:clamp(18px,3.2vw,60px)}
@media(min-width:1101px){
 body[data-rol-theme="archlord160"] .container{box-sizing:border-box!important;max-width:var(--rol164-max)!important;width:calc(100% - var(--rol164-gutter) - var(--rol164-gutter))!important;margin-inline:auto!important}
 .rol159-home .rol159-hero{min-height:290px!important;height:clamp(290px,20vw,390px)!important}
 .rol159-home .rol159-pillars,.rol159-home .rol159-news,.rol159-home .rol159-quicklinks{
    width:calc(100% - var(--rol164-gutter) - var(--rol164-gutter))!important;max-width:var(--rol164-max)!important;margin-inline:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}
 .rol159-home .rol159-pillars{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important}
 .rol159-home .rol159-pillars a{min-width:0!important;padding:12px clamp(8px,.9vw,18px)!important}
 .rol159-home .rol159-pillars a>span{min-width:0!important;overflow:visible!important}
 .rol159-home .rol159-pillars b{font-size:30px!important;min-width:45px!important;width:45px!important;height:auto!important}
 .rol159-home .rol159-pillars strong{font-size:clamp(12px,.85vw,15px)!important;line-height:1.3!important;overflow-wrap:break-word!important}
 .rol159-home .rol159-pillars small{font-size:clamp(11px,.7vw,13px)!important;line-height:1.4!important}
 .rol159-home .rol159-story-inner{width:calc(100% - var(--rol164-gutter) - var(--rol164-gutter))!important;max-width:var(--rol164-max)!important;grid-template-columns:minmax(0,36fr) minmax(0,44fr) minmax(0,20fr)!important}
 .rol159-home .rol159-news-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
 .rol159-home .rol159-news-tile{min-width:0!important;max-width:100%!important}
 .rol159-home .rol159-classes>.container{width:calc(100% - var(--rol164-gutter) - var(--rol164-gutter))!important;max-width:var(--rol164-max)!important}
 .rol159-home .rol159-classes-grid{width:100%!important;max-width:100%!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:clamp(12px,1vw,22px)!important}
 .rol159-home .rol159-class-card{min-width:0!important;width:100%!important}
 .rol159-home .rol159-world{width:calc(100% - var(--rol164-gutter) - var(--rol164-gutter))!important;max-width:var(--rol164-max)!important;grid-template-columns:minmax(0,60fr) minmax(0,40fr)!important;gap:20px!important}
 .rol159-home .rol159-city-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .rol159-home .rol159-siege-grid{width:calc(100% - var(--rol164-gutter) - var(--rol164-gutter))!important;max-width:var(--rol164-max)!important;margin-inline:auto!important;grid-template-columns:minmax(0,44fr) minmax(0,31fr) minmax(0,25fr)!important}
 .rol159-home .rol159-quicklinks{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
}
/* Never stretch low-res images; preserve proportions and prevent distortion. */
body[data-rol-theme="archlord160"] .rol159-class-card img,
body[data-rol-theme="archlord160"] .rol159-city-grid img,
body[data-rol-theme="archlord160"] .rol159-story-image img,
body[data-rol-theme="archlord160"] .rol159-map-art img,
body[data-rol-theme="archlord160"] .rol159-siege-art img{object-fit:cover!important;object-position:center!important;image-rendering:auto!important;max-width:100%!important}
/* Prevent old screenshot footer background from showing a duplicate logo and text. */
body[data-rol-theme="archlord160"] .site-footer,
body[data-rol-theme="archlord160"].is-home-page .site-footer{background:#080f17!important;background-image:linear-gradient(180deg,#111c27,#070b13)!important;background-repeat:no-repeat!important;overflow:hidden!important;position:relative!important}
body[data-rol-theme="archlord160"] .site-footer:before,
body[data-rol-theme="archlord160"] .site-footer:after{background-image:none!important}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:24px!important;max-width:var(--rol164-max)!important;width:calc(100% - var(--rol164-gutter) - var(--rol164-gutter))!important;min-height:100px!important;box-sizing:border-box!important;margin-inline:auto!important}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid>.footer-identity{flex:0 0 auto!important;max-width:190px!important}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid .footer-brand img{max-width:180px!important;max-height:73px!important;object-fit:contain!important}
body[data-rol-theme="archlord160"].is-home-page .rol160-footer-links{display:flex!important;flex:1!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:0!important}
body[data-rol-theme="archlord160"].is-home-page .rol160-footer-links a{line-height:1.4!important;font-size:clamp(11px,.72vw,13px)!important;padding:0 10px!important}
body[data-rol-theme="archlord160"].is-home-page .rol160-footer-extra{position:static!important;background:none!important;padding:5px 0!important;text-align:center!important}
body[data-rol-theme="archlord160"] .site-footer .footer-bottom{width:calc(100% - var(--rol164-gutter) - var(--rol164-gutter))!important;max-width:var(--rol164-max)!important;margin-inline:auto!important}
@media(max-width:1100px){
 body[data-rol-theme="archlord160"] .site-footer{background-image:linear-gradient(180deg,#14202b,#070b13)!important}
 body[data-rol-theme="archlord160"] .rol159-home :is(.rol159-story-inner,.rol159-world,.rol159-siege-grid){max-width:100%!important;min-width:0!important}
 body[data-rol-theme="archlord160"] .rol159-classes-grid{min-width:0!important}
}
@media(max-width:640px){
 body[data-rol-theme="archlord160"] .rol159-classes-grid{display:flex!important;overflow-x:auto!important}
 body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid{display:block!important;min-height:0!important;padding:20px 0!important}
 body[data-rol-theme="archlord160"] .rol160-footer-links{justify-content:flex-start!important}
}

/* v2.20.165 – ONLY homepage alignment. Header navigation is intentionally untouched.
   This higher-specificity declaration supersedes the old v162 full-width rules. */
@media (min-width:1101px) {
  body[data-rol-theme="archlord160"] .rol159-home section.rol159-pillars,
  body[data-rol-theme="archlord160"] .rol159-home section.rol159-news {
    box-sizing: border-box !important;
    width: calc(100% - var(--rol164-gutter) - var(--rol164-gutter)) !important;
    max-width: var(--rol164-max) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body[data-rol-theme="archlord160"] .rol159-home section.rol159-pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }
  body[data-rol-theme="archlord160"] .rol159-home section.rol159-news .rol159-section-head,
  body[data-rol-theme="archlord160"] .rol159-home section.rol159-news .rol159-news-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* At laptop sizes keep the content on the same inset as other site sections. */
@media (min-width:641px) and (max-width:1100px) {
  body[data-rol-theme="archlord160"] .rol159-home section.rol159-pillars,
  body[data-rol-theme="archlord160"] .rol159-home section.rol159-news {
    box-sizing: border-box !important;
    width: calc(100% - 36px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* === assets/archlord166/header-cleanup.css: kept in original load order === */
/* Rise of Legends v2.20.166 – remove the obsolete top-header art strip.
   Visual header-only change. Navigation/link targets, login, and site logic preserved. */
body[data-rol-theme="archlord160"] header.site-header.rol159-header {
  background:#090e15 !important;
  background-image:linear-gradient(180deg,#090e15 0%,#0b1119 100%) !important;
  background-position:center !important;
  background-size:auto !important;
  background-repeat:no-repeat !important;
}
/* Remove the empty 100px graphic area. Leave room for account controls above
   the navigation and keep the crest centred between the two link groups. */
@media (min-width:1101px) {
  body[data-rol-theme="archlord160"] header.site-header.rol159-header {
    height:98px !important;
    min-height:98px !important;
  }
  body[data-rol-theme="archlord160"] header.site-header.rol159-header .rol159-header-top {
    height:49px !important;
    min-height:49px !important;
  }
  body[data-rol-theme="archlord160"] header.site-header.rol159-header .rol159-header-nav {
    height:49px !important;
    min-height:49px !important;
  }
  body[data-rol-theme="archlord160"] header.site-header.rol159-header .rol159-brand {
    width:215px !important;
    height:96px !important;
    top:0 !important;
  }
  body[data-rol-theme="archlord160"] header.site-header.rol159-header .rol159-brand .site-brand-logo {
    width:215px !important;
    height:96px !important;
    object-fit:contain !important;
  }
  body[data-rol-theme="archlord160"] header.site-header.rol159-header .rol163-brand-hit {
    width:185px !important;
    height:94px !important;
    top:1px !important;
  }
  body[data-rol-theme="archlord160"] header.site-header.rol159-header .rol159-actions {
    margin-top:5px !important;
  }
}
/* Tablet and phone already use the compact navigation; remove just the art. */
@media (max-width:1100px) {
  body[data-rol-theme="archlord160"] header.site-header.rol159-header {
    background-image:linear-gradient(180deg,#090e15,#101722) !important;
  }
}

/* === assets/archlord168/footer-legal.css: kept in original load order === */
/* Rise of Legends v2.20.168: footer columns restored; business details fully localized. */
body[data-rol-theme="archlord160"] .site-footer,
body[data-rol-theme="archlord160"].is-home-page .site-footer {
  min-height:0!important; padding:26px 0 15px!important;
  background:linear-gradient(180deg,#121e28,#080e16)!important;
  border-top:1px solid #a67c45!important;
}
body[data-rol-theme="archlord160"] .site-footer .footer-grid,
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid {
  display:grid!important;
  grid-template-columns:minmax(190px,1.35fr) repeat(3,minmax(130px,1fr))!important;
  gap:clamp(16px,2.2vw,40px)!important;
  align-items:start!important;
  justify-content:stretch!important;
  width:calc(100% - 56px)!important;
  max-width:1350px!important;
  margin:0 auto!important;
  padding:0 0 20px!important;
  height:auto!important; min-height:0!important;
}
body[data-rol-theme="archlord160"] .site-footer .footer-grid>div,
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid>div:not(.footer-identity) {
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  min-width:0!important;max-width:none!important;width:auto!important;
  flex:none!important;gap:5px!important;
}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid>.footer-identity {
  width:auto!important;min-width:0!important;max-width:none!important;flex:none!important;
}
body[data-rol-theme="archlord160"] .site-footer .footer-grid>div>strong {
  display:block;color:#eed09a!important;font:700 14px Georgia,serif!important;
  width:100%;margin:0 0 9px;padding:0 0 10px;border-bottom:1px solid #725737;
}
body[data-rol-theme="archlord160"] .site-footer .footer-grid a {color:#c6bcac!important;font-size:13px!important;line-height:1.5!important;text-decoration:none}
body[data-rol-theme="archlord160"] .site-footer .footer-grid a:hover {color:#f0ce89!important}
body[data-rol-theme="archlord160"] .site-footer .footer-identity .footer-brand img,
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-identity img {
  display:block;width:min(180px,100%)!important;height:auto!important;max-height:90px!important;
  object-fit:contain!important;content:normal!important;
}
body[data-rol-theme="archlord160"] .site-footer .footer-identity p,
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-identity p {display:block!important;color:#c3b5a5;font-size:12px;line-height:1.65;max-width:230px;margin:10px 0 0}
body[data-rol-theme="archlord160"] .site-footer .rol160-footer-links,
body[data-rol-theme="archlord160"] .site-footer .rol160-footer-extra {display:none!important}
body[data-rol-theme="archlord160"] .site-footer .footer-bottom,
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-bottom {
  width:calc(100% - 56px)!important;max-width:1350px!important;margin:0 auto!important;
  display:flex!important;flex-wrap:wrap;gap:10px!important;padding:14px 0 0!important;
  color:#baa88f!important;font-size:11px!important;line-height:1.5!important;height:auto!important;
}
.rol168-legal-details {display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:12px 0 0}
.rol168-legal-detail {border:1px solid #695337;background:#0b141e;padding:12px 14px;min-width:0}
.rol168-legal-detail dt {color:#d1ae77;font-size:12px;font-weight:700;margin:0 0 6px}
.rol168-legal-detail dd {color:#eee1ce;font-size:14px;line-height:1.5;margin:0;overflow-wrap:anywhere}
@media(max-width:930px){
 body[data-rol-theme="archlord160"] .site-footer .footer-grid,body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;width:calc(100% - 36px)!important
 }
 body[data-rol-theme="archlord160"] .site-footer .footer-bottom,body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-bottom {width:calc(100% - 36px)!important}
}
@media(max-width:510px){
 body[data-rol-theme="archlord160"] .site-footer .footer-grid,body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 12px!important;width:calc(100% - 28px)!important
 }
 body[data-rol-theme="archlord160"] .site-footer .footer-grid>.footer-identity {grid-column:1/-1!important}
 body[data-rol-theme="archlord160"] .site-footer .footer-bottom,body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-bottom{width:calc(100% - 28px)!important}
 .rol168-legal-details{grid-template-columns:1fr}
}

/* Fresh asset URLs bypass browser caches after the v2.20.167 sharpness fix. */
body[data-rol-theme="archlord160"] .rol159-story-side {background-image:url('/assets/archlord160/story-side.webp?v=2.20.168')!important}

/* === assets/archlord169/quality.css: kept in original load order === */
/* Rise of Legends v2.20.169 - existing-asset restoration and framing only.
   No image generation, new artwork, font, content, gameplay or layout rework. */
body[data-rol-theme="archlord160"] .rol159-hero-ambience{
  background-image:url('/assets/archlord175/hero-hd.webp?v=2.20.175') !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
  image-rendering:auto !important;
}
body[data-rol-theme="archlord160"] .rol159-story-side{
  background-image:url('/assets/archlord169/story-side.webp') !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
}
/* Portraits are new *crops of existing files*, without their baked-in,
   mismatching corner textures. One common border is drawn by CSS. */
body[data-rol-theme="archlord160"] .rol159-classes-grid{
  align-items:stretch;
}
body[data-rol-theme="archlord160"] .rol159-classes-grid>.rol159-class-card{
  box-sizing:border-box !important;
  min-height:0;
  overflow:hidden !important;
  border:1px solid #bd965c !important;
  box-shadow:inset 0 0 0 2px #0b1219,0 0 0 2px #080c12 !important;
  isolation:isolate;
}
body[data-rol-theme="archlord160"] .rol159-class-card img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center 17% !important;
  image-rendering:auto !important;
  filter:none !important;
  transform:none !important;
  backface-visibility:visible !important;
}
body[data-rol-theme="archlord160"] .rol159-class-card::before{
  content:"";
  position:absolute;
  inset:4px;
  z-index:2;
  pointer-events:none;
  border:1px solid #c8a16a55;
  background:
    linear-gradient(135deg,#f3d5a0 0,#8f683c 55%,transparent 56%) top left/19px 19px no-repeat,
    linear-gradient(225deg,#f3d5a0 0,#8f683c 55%,transparent 56%) top right/19px 19px no-repeat,
    linear-gradient(45deg,#e0b77c 0,#8f683c 55%,transparent 56%) bottom left/12px 12px no-repeat,
    linear-gradient(315deg,#e0b77c 0,#8f683c 55%,transparent 56%) bottom right/12px 12px no-repeat;
}
body[data-rol-theme="archlord160"] .rol159-class-card .rol159-class-label{
  z-index:3;
}
/* The older enlargement used GPU resampling which emphasizes blur. Let the
   browser downsample our edited, properly encoded local assets normally. */
body[data-rol-theme="archlord160"] .rol159-siege-art img,
body[data-rol-theme="archlord160"] .rol159-city-grid img,
body[data-rol-theme="archlord160"] .rol159-map-art img{
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  image-rendering:auto !important;
  transform:none !important;
  filter:none !important;
}
/* Keep the existing mobile navigation and horizontal class scroller. */
@media(max-width:640px){
  body[data-rol-theme="archlord160"] .rol159-class-card{flex-shrink:0;}
}

body[data-rol-theme="archlord160"] .rol159-story-image img{display:block;width:100% !important;object-fit:cover !important;image-rendering:auto !important;transform:none !important;filter:none !important}


/* v2.20.170: native high-detail originals, no layout changes.
   Keep existing image slots and cards exactly as they were. */
body[data-rol-theme="archlord160"] .rol159-story-side{
  background-image:url('/assets/archlord170/castle-hd.webp?v=2.20.172') !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
}
body[data-rol-theme="archlord160"] .rol159-story-image img{
  width:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  image-rendering:auto !important;
  transform:none !important;
}
body[data-rol-theme="archlord160"] .rol159-siege-art img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  image-rendering:auto !important;
  transform:none !important;
}
body[data-rol-theme="archlord160"] .rol159-class-card img,
body[data-rol-theme="archlord160"] .rol159-city-grid img,
body[data-rol-theme="archlord160"] .rol159-map-art img{
  object-fit:cover !important;
  image-rendering:auto !important;
}
/* v2.20.176: Full-width hero at every screen size. No second/old background.
   Never limit the image to 2172px on ultra-wide displays. */
body[data-rol-theme="archlord160"] .rol159-hero-ambience {
  position:absolute;
  inset:0;
  background-image:url('/assets/archlord175/hero-hd.webp?v=2.20.175') !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}

/* v2.20.172: image-only compatibility layer. No card or header dimensions changed. */
body[data-rol-theme="archlord160"] .rol159-class-card img,
body[data-rol-theme="archlord160"] .rol159-story-image img,
body[data-rol-theme="archlord160"] .rol159-siege-art img {
  image-rendering:auto !important;
  object-fit:cover !important;
  transform:none !important;
  backface-visibility:visible !important;
}
body[data-rol-theme="archlord160"] .rol159-hero-ambience {
  background-position:center center !important;
  background-repeat:no-repeat !important;
}

/* === assets/rol181/rol181-unified.css: kept in original load order === */
/* Rise of Legends v2.20.181 — unified original-Archlord visual pass.
   Archlord screenshots from the user-supplied design reference; no AI imagery.
   Applies last. Leaves navigation positions, core page structure and JS intact. */
:root{
  --rol181-ink:#e8d8bb;
  --rol181-gold:#d8ad72;
  --rol181-gold-bright:#f1d39b;
  --rol181-border:#745736;
  --rol181-panel:#19130d;
  --rol181-deep:#0b0907;
}
body[data-rol-theme="archlord160"]{
  color:var(--rol181-ink) !important;
  background:linear-gradient(90deg,#090706,#18110b 48%,#090706) !important;
}
/* The source screenshots never contain promotional copy or button artwork.
   All headings and actions remain real, translated and clickable site elements. */
body[data-rol-theme="archlord160"] .rol159-hero-ambience{
  background-image:linear-gradient(90deg,rgba(9,7,5,.14) 0%,rgba(11,8,5,.22) 34%,rgba(9,7,5,.86) 75%,rgba(4,9,16,.93) 100%),url('/assets/rol181/hero.webp?v=2.20.181') !important;
  background-position:center 52% !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  filter:none !important;
}
/* Previously this overlay was independent artwork. Disable it so the hero
   does not mix old AI backgrounds with genuine game captures. */
body[data-rol-theme="archlord160"] .rol159-home .rol159-hero-character{display:none !important;}
body[data-rol-theme="archlord160"] .rol159-home .rol159-hero{
  background:#100b08 !important;
  border-bottom:1px solid var(--rol181-gold) !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-hero-copy{
  z-index:2;
  color:#f1e3ce;
  text-shadow:0 2px 12px #000,0 1px 2px #000;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-hero-copy h1{
  color:var(--rol181-gold-bright) !important;
  letter-spacing:.012em !important;
}
/* A single panel system across all homepage sections; restrained rather
   than stacking multiple competing gradients, images and ornaments. */
body[data-rol-theme="archlord160"] .rol159-home .rol159-section-head{
  align-items:center;
  padding-bottom:11px;
  border-bottom:1px solid #84633b;
  margin-bottom:16px;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-section-head h2,
body[data-rol-theme="archlord160"] .rol159-home .rol159-section h2{
  color:var(--rol181-gold-bright) !important;
  font-size:clamp(20px,1.65vw,27px) !important;
  font-weight:650 !important;
  letter-spacing:.02em !important;
  text-shadow:0 2px 5px #000 !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-eyebrow{
  color:#c39a61 !important;
  letter-spacing:.12em !important;
}
body[data-rol-theme="archlord160"] .rol159-home :is(.rol159-news-tile,.rol159-class-card,.rol159-city-grid a,.rol159-map-art,.rol159-siege-art,.rol159-rankings,.rol159-artframe,.rol159-quicklinks a){
  border:1px solid #937044 !important;
  border-radius:2px !important;
  background-color:var(--rol181-panel) !important;
  box-shadow:inset 0 1px 0 #e6c08116,0 8px 23px #0008 !important;
}
body[data-rol-theme="archlord160"] .rol159-home :is(.rol159-news-tile,.rol159-class-card,.rol159-city-grid a,.rol159-map-art,.rol159-siege-art,.rol159-artframe):hover{
  border-color:var(--rol181-gold-bright) !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-news-tile img,
body[data-rol-theme="archlord160"] .rol159-home .rol159-class-card img,
body[data-rol-theme="archlord160"] .rol159-home .rol159-city-grid img,
body[data-rol-theme="archlord160"] .rol159-home .rol159-map-art>img,
body[data-rol-theme="archlord160"] .rol159-home .rol159-siege-art img,
body[data-rol-theme="archlord160"] .rol159-home .rol159-story-image img{
  object-fit:cover !important;
  image-rendering:auto !important;
  filter:none !important;
  transform:none !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-news-tile img{object-position:center center!important;}
body[data-rol-theme="archlord160"] .rol159-home .rol159-news-gradient{
  background:linear-gradient(0deg,#0a0806ed 3%,#110b07b5 36%,transparent 90%) !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-class-card img{
  object-position:50% 24% !important;
}
/* Original player-selection screenshots: complete character is visible above label. */
body[data-rol-theme="archlord160"] .rol159-home .rol159-class-label{
  z-index:5 !important;
  padding:24px 7px 14px !important;
  background:linear-gradient(transparent,#120c08 60%,#090705 100%) !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-story,
body[data-rol-theme="archlord160"] .rol159-home .rol159-classes,
body[data-rol-theme="archlord160"] .rol159-home .rol159-siege{
  background:linear-gradient(180deg,#1a130d,#0e0a07) !important;
  border-color:#69502f !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-story-side{
  background-image:url('/assets/rol181/hero.webp?v=2.20.181') !important;
  background-position:50% 50% !important;
  background-size:cover !important;
  opacity:.5 !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-pillars{
  border-bottom:1px solid #735837 !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-pillars a,
body[data-rol-theme="archlord160"] .rol159-home .rol159-quicklinks a{
  transition:background .18s ease,border-color .18s ease !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-quicklinks a{
  background:linear-gradient(180deg,#20170f,#110d09) !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-quicklinks a:hover{
  background:linear-gradient(180deg,#2c2014,#160f0a) !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-rankings{
  background:linear-gradient(180deg,#20170e,#100b08) !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-world{
  align-items:start;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-map-art>img{
  object-position:50% 42% !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-button{
  border:1px solid #aa8451 !important;
  border-radius:2px !important;
  color:#eacf9d !important;
  background:linear-gradient(180deg,#2c2117,#17100b) !important;
  box-shadow:inset 0 1px #d9b37522,0 2px 8px #000a !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-button.rol159-primary{
  color:#251406 !important;
  background:linear-gradient(180deg,#f1d3a0,#bc8c53 62%,#8b6037) !important;
  border-color:#e7bd85 !important;
}
/* The site uses one common card / input language on public subpages.
   Never target admin pages, which are outside the public layout. */
body[data-rol-theme="archlord160"].is-subpage :is(.panel,.account-panel,.download-card,.news-card,.ranking-card,.page-card,.wiki-feature-card,.wiki-stat-card){
  background:linear-gradient(180deg,#20170f,#110d09) !important;
  border-color:#82633e !important;
  box-shadow:inset 0 1px #e9c5880d,0 8px 18px #0005 !important;
}
body[data-rol-theme="archlord160"].is-subpage :is(input,select,textarea){
  border-color:#866747 !important;
}
@media(max-width:900px){
  body[data-rol-theme="archlord160"] .rol159-home .rol159-hero-ambience{
    background-position:42% 50% !important;
    background-image:linear-gradient(90deg,rgba(9,7,5,.25),rgba(9,7,5,.84)),url('/assets/rol181/hero.webp?v=2.20.181') !important;
  }
}
@media(max-width:600px){
  body[data-rol-theme="archlord160"] .rol159-home .rol159-section-head{gap:8px;}
  body[data-rol-theme="archlord160"] .rol159-home .rol159-news-grid{gap:12px;}
  body[data-rol-theme="archlord160"] .rol159-home .rol159-classes-grid{gap:12px;}
  body[data-rol-theme="archlord160"] .rol159-home .rol159-class-card img{object-position:50% 15% !important;}
}
/* Remove remaining painted artwork from persistent public chrome and old
   image-based icons. Text glyphs below are the site's real HTML, not pictures. */
body[data-rol-theme="archlord160"] .site-header.rol159-header{
  background:linear-gradient(180deg,#170e08eb,#0b0806fa) !important;
}
body[data-rol-theme="archlord160"] .site-footer{
  background:linear-gradient(180deg,#17110c,#0a0806) !important;
  border-top:1px solid #977348 !important;
}
body[data-rol-theme="archlord160"].is-subpage :is(.page-hero,.subpage-hero,.rol-page-hero,.page-heading,.page-banner,.wiki-hero,.account-hero,.downloads-hero,.news-hero,.ranking-hero,.status-hero){
  background:linear-gradient(90deg,#17100ced,#0c0907dc),url('/assets/rol181/hero.webp?v=2.20.181') center 55%/cover !important;
}
body[data-rol-theme="archlord160"] .rol159-home .rol159-pillars a b,
body[data-rol-theme="archlord160"] .rol159-home .rol159-quicklinks a b{
  background-image:none !important;
  width:46px !important;
  min-width:46px !important;
  height:auto !important;
  text-align:center !important;
  color:#d8ad72 !important;
  font-size:30px !important;
  line-height:1 !important;
}
body[data-rol-theme="archlord160"].is-home-page .site-footer .footer-identity img{
  content:normal !important;
}
