/* 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}
}
