/* The portal shell keeps all existing Uzoria views and backend behavior. */
:root{--v2-bg:#140906;--v2-surface:#24110d;--v2-surface-2:#351910;--v2-line:rgba(218,153,86,.29);--v2-text:#f4e8d7;--v2-muted:#c2a993;--v2-teal:#e1ae69;--v2-gold:#f2b550;--v2-gold-dark:#704324;--ink:#140906;--panel:#24110d;--panel-deep:#180b08;--line:rgba(218,153,86,.3);--line-soft:rgba(218,153,86,.17);--ice:#f1c785;--blue:#d38b42;--gold:#f2b550;--gold-deep:#79461e;--text:#f4e8d7;--muted:#c2a993}
html{background:#140906}
body.v2-site{color:#f4e8d7;background:radial-gradient(circle at 50% 0,rgba(102,35,13,.42),transparent 47rem),linear-gradient(#1d0c08,#130805 58%,#210d08);font-family:"Uzoria Sans",Arial,sans-serif}
body.v2-site:before{opacity:.09}
body.v2-site a{color:#edbe81}body.v2-site a:hover,body.v2-site a:focus{color:#fff2d6}
.v2-header{height:59px;background:rgba(17,6,5,.88);border-bottom:1px solid rgba(255,139,48,.28);box-shadow:0 7px 24px #1004045c}
.v2-header-inner{height:100%;justify-content:flex-end}
.v2-header-actions{width:100%;height:100%;justify-content:space-between;margin:0;gap:18px}
.v2-realm-select{display:flex;align-items:center;gap:10px;color:#d5a66c;font:13px Georgia,serif;letter-spacing:.06em}
.v2-realm-select span{white-space:nowrap}
.v2-realm-select select{min-width:145px;max-width:235px;padding:8px 31px 8px 13px;border:1px solid #75402a;background:rgba(27,9,7,.85);color:#ffe0a8!important;font:16px Georgia,serif;letter-spacing:0;text-transform:none}
.v2-realm-select select:disabled{opacity:.9}
.v2-account-link{align-self:stretch;display:grid;place-items:center;min-width:158px;padding:0 21px;border:1px solid #8c4b25;border-top:0;border-bottom:0;background:linear-gradient(180deg,#673012,#ca6817 66%,#8e360d);box-shadow:inset 0 1px #ffae47,0 8px 20px #0008;color:#1b0803!important;text-shadow:0 1px #ffb057;font:700 22px Georgia,serif;letter-spacing:.035em;text-transform:uppercase}
.v2-account-link:hover{background:linear-gradient(180deg,#974518,#e58b25 66%,#aa4610);color:#160602!important}
.portal-menu-tab{position:fixed;top:72px;left:17px;z-index:110;padding:9px 13px;border:1px solid #975526;background:rgba(28,8,6,.93);box-shadow:0 7px 22px #0008;color:#f3bd73;font:15px Georgia,serif;cursor:pointer}.portal-menu-tab:hover{background:#542212}.portal-menu-tab span{margin-left:6px}
.portal-drawer-backdrop{position:fixed;inset:0;z-index:120;background:#0a0302ae}.portal-drawer{position:fixed;z-index:121;top:0;left:0;bottom:0;width:min(300px,85vw);overflow:auto;padding:64px 13px 22px;background:linear-gradient(#32120e,#140807);border-right:1px solid #9a542c;box-shadow:15px 0 40px #000b}.portal-drawer[hidden],.portal-drawer-backdrop[hidden]{display:none!important}.portal-drawer-close{position:absolute;right:16px;top:13px;border:0;background:none;color:#f2bd7d;font-size:33px;line-height:1;cursor:pointer}.portal-drawer .v2-side-nav{display:flex;flex-direction:column;padding:12px;border:1px solid #774021;background:rgba(13,5,4,.5)}
.portal-masthead{min-height:495px;align-items:center;border-bottom:2px solid #804526}
.portal-masthead .v2-hero-art{background-image:url('../art/portal-masthead.webp');background-position:center 48%;transform:none}
.portal-masthead .v2-hero-vignette{background:linear-gradient(180deg,rgba(14,4,3,.15) 0%,rgba(14,4,3,.06) 41%,rgba(16,5,3,.61) 85%,#1b0905 100%),radial-gradient(ellipse at center,rgba(14,5,4,.53),transparent 61%)}
.portal-masthead-content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:44px 0 63px;text-align:center}
.portal-logo{display:block;width:min(700px,82vw);height:auto;max-height:280px;object-fit:contain;filter:drop-shadow(0 10px 28px #070201)}
.portal-total-online{display:flex;align-items:center;flex-direction:column;margin-top:-5px;text-shadow:0 3px 14px #0b0201}.portal-total-online>span{color:#f2dbb8;font:700 13px Georgia,serif;letter-spacing:.1em;text-transform:uppercase}.portal-total-online strong{margin:1px 0 2px;color:#f6b13c;font:700 clamp(48px,6vw,78px)/1 Georgia,serif}.portal-total-online a{font:700 12px Georgia,serif;text-transform:uppercase;text-decoration:underline;text-underline-offset:4px}
.v2-page-grid{grid-template-columns:270px minmax(0,1fr);gap:25px;position:relative;z-index:2;margin-top:-28px;padding:0 0 85px}
.v2-sidebar{position:sticky;top:15px;border:0;background:none}.portal-side-frame{min-height:612px;padding:69px 18px 70px;background:linear-gradient(rgba(30,8,6,.18),rgba(25,7,5,.18)),url('../art/sidebar-frame.webp') center/100% 100% no-repeat;filter:drop-shadow(0 12px 16px #0008)}
.v2-side-nav{display:flex;flex-direction:column;padding:0 9px}.v2-side-nav a,.v2-side-nav button{display:block;width:100%;min-height:43px;padding:10px 8px;border:0;border-bottom:1px solid rgba(180,105,65,.21);background:transparent;color:#dcb087!important;text-align:center;text-decoration:none;font:16px Georgia,serif;text-transform:uppercase;letter-spacing:0;cursor:pointer}.v2-side-nav a:last-child,.v2-side-nav button:last-child{border-bottom:0}.v2-side-nav a:hover,.v2-side-nav a.is-active,.v2-side-nav button:hover{border-left:0;background:linear-gradient(90deg,transparent,rgba(222,116,48,.15),transparent);color:#ffd173!important;text-shadow:0 0 9px #d57529}
.portal-helpful{margin-top:19px;padding:17px 11px 12px;background:linear-gradient(145deg,#2a100b,#180806);border:1px solid #65351d;box-shadow:0 12px 22px #0005}.portal-helpful h2{margin:0 0 14px;text-align:center;color:#f0cf9d;font:24px Georgia,serif;text-transform:uppercase}.portal-helpful-card{display:block;margin-bottom:10px;padding:15px 16px;background:linear-gradient(140deg,#39190f,#260d09);border:1px solid #5c2d1a;text-decoration:none}.portal-helpful-card:hover{border-color:#bc7134;background:#4a2110}.portal-helpful-card strong,.portal-helpful-card span,.portal-helpful-card small{display:block}.portal-helpful-card strong{color:#ffc576;font:700 13px/1.35 Georgia,serif;text-transform:uppercase}.portal-helpful-card span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:7px;color:#d7b89e;font-size:11px;line-height:1.5}.portal-helpful-card small{margin-top:7px;color:#a77f66;font-size:10px}.portal-helpful-more{display:block;padding:11px;text-align:center;text-decoration:none;text-transform:uppercase;font:700 13px Georgia,serif;background:#35180e}
.v2-main-column{padding-top:18px}
.portal-carousel{position:relative;height:370px;overflow:hidden;margin-bottom:28px;border:9px solid #3e1b10;outline:1px solid #704224;box-shadow:0 15px 30px #0008;background:#130705}.portal-carousel-track,.portal-slide{position:absolute;inset:0}.portal-slide{display:grid;place-items:center;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility .5s ease}.portal-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,4,3,.16) 0%,rgba(16,5,3,.38) 35%,rgba(14,4,2,.87) 100%)}.portal-slide-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.portal-slide.is-active{opacity:1;visibility:visible}.portal-slide-copy{position:relative;z-index:1;max-width:680px;padding:27px 48px 52px;text-align:center;text-shadow:0 3px 13px #000}.portal-slide .v2-overline{color:#ffd079}.portal-slide h2{margin:8px 0 10px;color:#ffcf7f;font:700 clamp(25px,3vw,43px)/1.08 Georgia,serif;text-transform:uppercase}.portal-slide p{margin:0 0 20px;color:#fff1e1;font-size:14px;line-height:1.5}.portal-slide .v2-button{min-height:42px;background:linear-gradient(#f9aa30,#dd7014);border-color:#ffa73c;color:#200903!important;font:700 16px Georgia,serif;letter-spacing:0}
.portal-carousel-controls{position:absolute;z-index:3;left:0;right:0;bottom:11px;display:flex;align-items:center;justify-content:center;gap:13px}.portal-carousel-controls>button{padding:0 5px;border:0;background:none;color:#f4bb75;font:34px/1 Georgia,serif;cursor:pointer}.portal-carousel-dots{display:flex;gap:8px}.portal-carousel-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#9b735f;cursor:pointer}.portal-carousel-dots button.is-active{background:#f7ae27;box-shadow:0 0 9px #f7ae27}
.v2-status-board{border-color:#7f4427;background:linear-gradient(135deg,#371a10,#1b0a07)}.v2-status-head{border-bottom-color:var(--v2-line)}.v2-status-head h2,.v2-section-heading h2{color:#ffe2ad}.v2-status-metrics strong{color:#ffe0a4}
.v2-section-heading{border-bottom-color:#875028}.v2-section-heading>a{color:#edb870}.v2-news-card{background:linear-gradient(145deg,#39180f,#1f0b07);border-color:#714025}.v2-news-card h3{color:#fff0d7}.v2-news-card p{color:#d0ad94}.v2-leader-list>div,.v2-realm-link,.v2-firsts details,.v2-firsts article{background:#2a120c}.v2-leader-list>div:nth-child(even){background:#220d09}
.inner-hero{background-image:linear-gradient(90deg,rgba(21,6,4,.87),rgba(29,8,4,.5)),url('../art/portal-masthead.webp');border-bottom-color:#7a4427}.inner-hero:before{background:linear-gradient(0deg,#1a0805,transparent 44%)}.inner-hero h1{color:#ffdfab}.inner-hero p{color:#e6c2a1}.inner-page{padding-bottom:85px}.panel-frame,.content-card{background:linear-gradient(145deg,#32170f,#1e0b08);border-color:#704026}.content-card{border-color:#704026}.forum-source-links a{background:#37180e;border-color:#704026}.full-news-card{border-color:#704026}.full-news-copy h2{color:#ffdc9e}.full-news-art{background-image:linear-gradient(90deg,#1c070531,#1c07058c),url('../art/banner-frost-gate.webp')}.full-news-card:nth-child(even) .full-news-art{background-image:linear-gradient(90deg,#1c070531,#1c07058c),url('../art/banner-arena.webp')}.full-news-copy{background:#26100b}.news-meta span{color:#ffc16d}
.full-news-copy p{color:#d9bfa9}.news-meta time{color:#af8d76}
.portal-status-total{text-align:center;padding:26px}.portal-status-total span,.portal-status-total strong{display:block}.portal-status-total span{color:#efd1a4;text-transform:uppercase;font:700 13px Georgia,serif;letter-spacing:.14em}.portal-status-total strong{color:#ffbc51;font:700 68px Georgia,serif}.portal-status-total p{color:#d4b49a;margin:0}.portal-status-list{display:grid;gap:15px;margin-top:20px}.portal-realm-status{display:grid;grid-template-columns:minmax(180px,1fr) 1.6fr auto;align-items:center;gap:25px;padding:24px}.portal-realm-status>div:first-child{position:relative;padding-left:24px}.portal-realm-status .v2-status-dot{left:0;right:auto;top:12px}.portal-realm-status h2{margin:0;color:#ffdc9a;font:30px Georgia,serif}.portal-realm-status small{color:#bc9d85}.portal-realm-status dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0}.portal-realm-status dt{color:#bd9980;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.portal-realm-status dd{margin:4px 0 0;color:#f2dfc7;font:19px Georgia,serif}.portal-realm-status>a{white-space:nowrap}
.v2-footer{background:#180906;border-top-color:#78401f}.v2-footer-grid p,.v2-footer-bottom{color:#ac8b76}.v2-footer-brand{color:#ffc078!important}
@media(min-width:851px){.v2-page-home .portal-menu-tab{display:none}}
@media(max-width:1100px){.v2-page-grid{grid-template-columns:235px 1fr;gap:18px}.portal-side-frame{padding-left:10px;padding-right:10px}.v2-side-nav a,.v2-side-nav button{font-size:13px}.portal-realm-status{grid-template-columns:1fr 2fr}.portal-realm-status>a{grid-column:1/-1}}
@media(max-width:850px){.v2-header{height:59px}.v2-header-actions{margin:0}.v2-page-grid{grid-template-columns:1fr;margin-top:0;padding-top:12px}.v2-sidebar{position:static;display:none}.v2-main-column{padding-top:10px}.portal-menu-tab{top:69px;left:10px}.portal-masthead{min-height:420px}.portal-carousel{height:330px}.portal-realm-status{grid-template-columns:1fr}}
@media(max-width:600px){.v2-header-actions .v2-realm-select{display:flex}.v2-realm-select span{display:none}.v2-realm-select select{min-width:100px;max-width:136px;font-size:13px}.v2-account-link{min-width:108px;padding:0 10px;font-size:15px}.portal-menu-tab{font-size:12px}.portal-masthead{min-height:345px}.portal-masthead-content{padding:35px 0 40px}.portal-logo{width:min(97vw,450px)}.portal-total-online>span{font-size:10px}.portal-total-online strong{font-size:49px}.portal-carousel{height:285px;border-width:5px}.portal-slide-copy{padding:22px 16px 42px}.portal-slide h2{font-size:25px}.portal-slide p{font-size:11px}.portal-slide .v2-button{font-size:13px}.portal-status-total strong{font-size:54px}.portal-realm-status dl{grid-template-columns:1fr 1fr}.portal-realm-status{padding:17px}}
@media(prefers-reduced-motion:reduce){.portal-slide{transition:none}}
/* Realm and account action form the centered, two-tier portal entrance. */
.v2-header-inner{justify-content:center}.v2-header-actions{position:relative;width:auto;justify-content:center}.v2-realm-select span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.v2-realm-select select{min-width:190px;text-align:center}.v2-account-link{position:absolute;top:59px;left:50%;z-index:12;transform:translateX(-50%);height:58px;min-width:184px;border-top:1px solid #b7762f;border-bottom:1px solid #813318;clip-path:polygon(0 0,100% 0,96% 72%,50% 100%,4% 72%)}.portal-masthead{min-height:540px}.portal-masthead-content{padding-top:108px}
@media(max-width:600px){.v2-realm-select select{min-width:166px;max-width:200px}.v2-account-link{top:59px;min-width:140px;height:48px;font-size:17px}.portal-masthead{min-height:390px}.portal-masthead-content{padding-top:112px;padding-bottom:38px}}

/* A persistent portal shell surrounds every right-hand section. */
.v2-page-grid{align-items:start}
.v2-main-column{min-width:0}
.portal-side-frame{background:url('../art/sidebar-frame-transparent.webp') center/100% 100% no-repeat}
.v2-main-column>.inner-page{min-width:0;min-height:610px;padding:0 0 30px;background:linear-gradient(155deg,rgba(34,12,8,.96),rgba(19,7,5,.95));border:1px solid #75401f;box-shadow:0 18px 36px #0008}
.v2-main-column .inner-hero{min-height:205px;border-bottom:1px solid #65351f}
.v2-main-column .inner-hero-content{width:100%;padding:34px 32px 42px}
.v2-main-column .inner-hero h1{font-size:clamp(29px,3.3vw,45px)}
.v2-main-column .inner-stack{width:100%;margin:0;padding:25px 28px 0}
.portal-status-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.portal-status-overview>div{min-height:82px;padding:15px 13px;background:#351812;border:1px solid #62311d}
.portal-status-overview small,.portal-status-overview strong{display:block}
.portal-status-overview small{min-height:29px;color:#c4a286;font-size:11px;line-height:1.3}
.portal-status-overview strong{color:#ffba4a;font:700 22px Georgia,serif}
.portal-status-list{gap:9px;margin:18px 0 0}
.portal-realm-disclosure{padding:0;overflow:hidden}
.portal-realm-disclosure summary{display:grid;grid-template-columns:minmax(170px,1fr) minmax(120px,.7fr) minmax(160px,1fr) 20px;align-items:center;gap:14px;min-height:62px;padding:12px 17px;list-style:none;cursor:pointer}
.portal-realm-disclosure summary::-webkit-details-marker{display:none}
.portal-realm-disclosure summary:hover,.portal-realm-disclosure summary:focus-visible{background:#482114}
.portal-realm-identity{position:relative;display:flex;align-items:baseline;gap:7px;padding-left:20px;min-width:0}
.portal-realm-identity .v2-status-dot{left:0;right:auto;top:9px}
.portal-realm-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ffddaa;font:700 18px Georgia,serif}
.portal-realm-identity small{color:#ad8067;font-size:11px;white-space:nowrap}
.portal-realm-quick{color:#caa585;font-size:12px;white-space:nowrap}
.portal-realm-quick b{color:#ffbd63;font-weight:700}
.portal-realm-toggle{color:#c48d60;font-size:23px;line-height:1;transition:transform .2s ease}
.portal-realm-disclosure[open] .portal-realm-toggle{transform:rotate(180deg)}
.portal-realm-expanded{padding:16px 20px 19px;border-top:1px solid #60301c;background:#25100c}
.portal-realm-faction-labels{display:flex;justify-content:space-between;gap:15px;color:#d3aa89;font-size:13px}
.portal-realm-faction-labels span:first-child strong{color:#86b8ee}
.portal-realm-faction-labels span:last-child strong{color:#e66a5c}
.portal-realm-faction-bar{display:flex;height:12px;overflow:hidden;margin-top:9px;border-radius:20px;background:#3e2c29}
.portal-realm-faction-bar span:first-child{background:linear-gradient(90deg,#3871ac,#69a7ed)}
.portal-realm-faction-bar span:last-child{background:linear-gradient(90deg,#d94b39,#a62c28)}
.portal-realm-expanded p{display:flex;justify-content:space-between;gap:15px;margin:14px 0 0;color:#ad8a72;font-size:12px}
.portal-realm-expanded p strong{color:#e6c5a0}
.v2-footer-grid{grid-template-columns:minmax(230px,1fr) minmax(0,2fr) auto;align-items:center;gap:30px}
.v2-footer nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:13px 24px}
.v2-footer-grid>div:last-child{display:flex;align-items:center;gap:12px;white-space:nowrap}
.v2-footer-grid>div:last-child small{margin:0}
@media(min-width:851px){.portal-menu-tab{display:none}}
@media(max-width:1100px){.portal-status-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-realm-disclosure summary{grid-template-columns:minmax(140px,1fr) minmax(100px,.7fr) 20px}.portal-realm-quick:nth-of-type(3){display:none}.v2-footer-grid{grid-template-columns:1fr 2fr}.v2-footer-grid>div:last-child{grid-column:1/-1;justify-content:center}}
@media(max-width:850px){.v2-main-column>.inner-page{min-height:0}.v2-footer-grid{grid-template-columns:1fr 2fr}}
@media(max-width:600px){.v2-main-column .inner-hero{min-height:175px}.v2-main-column .inner-hero-content{padding:27px 19px 32px}.v2-main-column .inner-stack{padding:18px 13px 0}.portal-status-overview{gap:6px}.portal-status-overview>div{padding:11px 8px}.portal-status-overview small{font-size:10px}.portal-status-overview strong{font-size:18px}.portal-realm-disclosure summary{grid-template-columns:minmax(110px,1fr) auto 15px;gap:6px;padding:11px 9px}.portal-realm-identity{display:block}.portal-realm-identity strong{display:block;font-size:14px}.portal-realm-identity small{font-size:10px}.portal-realm-quick{font-size:11px}.portal-realm-quick:nth-of-type(3){display:none}.portal-realm-expanded{padding:13px}.portal-realm-faction-labels{font-size:10px}.v2-footer-grid{display:flex;flex-wrap:wrap;gap:18px 26px}.v2-footer nav{justify-content:flex-start}.v2-footer-grid>div:last-child{flex-wrap:wrap;justify-content:flex-start}}

/* Original artwork for each portal section; headings remain real HTML text. */
body.v2-page-news .inner-hero{background-image:linear-gradient(90deg,rgba(21,6,4,.38),rgba(21,6,4,.08),rgba(21,6,4,.38)),url('../art/section-news.webp')}
body.v2-page-files .inner-hero{background-image:linear-gradient(90deg,rgba(21,6,4,.38),rgba(21,6,4,.08),rgba(21,6,4,.38)),url('../art/section-files.webp')}
body.v2-page-account .inner-hero{background-image:linear-gradient(90deg,rgba(21,6,4,.38),rgba(21,6,4,.08),rgba(21,6,4,.38)),url('../art/section-account.webp')}
body.v2-page-status .inner-hero{background-image:linear-gradient(90deg,rgba(21,6,4,.38),rgba(21,6,4,.08),rgba(21,6,4,.38)),url('../art/section-status.webp')}
body.v2-page-ratings .inner-hero{background-image:linear-gradient(90deg,rgba(21,6,4,.38),rgba(21,6,4,.08),rgba(21,6,4,.38)),url('../art/section-ratings.webp')}
body.v2-page-armory .inner-hero{background-image:linear-gradient(90deg,rgba(21,6,4,.38),rgba(21,6,4,.08),rgba(21,6,4,.38)),url('../art/section-armory.webp')}
body.v2-page-armory .v2-armory-links{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){body.v2-page-armory .v2-armory-links{grid-template-columns:repeat(2,minmax(0,1fr))}body.v2-page-armory .v2-armory-db{grid-column:1/-1}}
@media(max-width:600px){body.v2-page-armory .v2-armory-links{grid-template-columns:1fr}body.v2-page-armory .v2-armory-db{grid-column:auto}}
body.v2-page-about .inner-hero{background-image:linear-gradient(90deg,rgba(21,6,4,.38),rgba(21,6,4,.08),rgba(21,6,4,.38)),url('../art/section-about.webp')}
body.v2-page-support .inner-hero{background-image:linear-gradient(90deg,rgba(21,6,4,.38),rgba(21,6,4,.08),rgba(21,6,4,.38)),url('../art/section-support.webp')}
body.v2-page-privacy .inner-hero{background-image:linear-gradient(90deg,rgba(21,6,4,.38),rgba(21,6,4,.08),rgba(21,6,4,.38)),url('../art/section-privacy.webp')}

/* Portal polish: one realm, focus states, and warm interior components. */
.v2-realm-static{display:flex;align-items:center;justify-content:center;min-width:190px;min-height:40px;padding:8px 18px;border:1px solid #75402a;background:rgba(27,9,7,.85);color:#ffe0a8;font:16px Georgia,serif;text-align:center;white-space:nowrap}
.v2-side-nav a:focus,.v2-side-nav button:focus,.portal-masthead-content>a:focus{outline:0;box-shadow:none}
.v2-side-nav a:focus-visible,.v2-side-nav button:focus-visible{background:linear-gradient(90deg,transparent,rgba(222,116,48,.18),transparent);box-shadow:inset 0 0 0 2px #b8793c;color:#ffe0a8!important}
.portal-masthead-content>a:focus-visible{border-radius:3px;box-shadow:0 0 0 2px #b8793c}

/* Registration keeps its working form and validation, but matches the portal. */
#register-modal .modal-dialog{width:min(980px,calc(100% - 28px));margin:clamp(12px,6vh,56px) auto}
#register-modal .modal-content{background:linear-gradient(145deg,#2b120c,#180907);border:1px solid #9d6235;border-radius:4px;color:#f3dfc5;box-shadow:0 24px 70px #080201e6,inset 0 0 38px #75361a24}
#register-modal .modal-header{padding:25px 52px 22px;background:radial-gradient(ellipse at 50% 0,#7a3d1c88,transparent 72%),linear-gradient(180deg,#3e1b10,#240d09);border-bottom:1px solid #93522c}
#register-modal .modal-header::after{background:linear-gradient(90deg,transparent,#efa950,transparent)}
#register-modal .modal-title{color:#ffe0ab;font:700 clamp(25px,3vw,32px)/1.12 Georgia,serif;letter-spacing:.04em;text-shadow:0 2px 10px #0009}
#register-modal .modal-header p{margin-top:7px;color:#dcb99a;font-size:14px}
#register-modal .close{color:#f5c98c;opacity:.95}
#register-modal .close:hover,#register-modal .close:focus{color:#fff0ce;opacity:1}
#register-modal .modal-body.registration-layout{gap:20px;padding:24px;background:linear-gradient(145deg,#28110c,#180907)}
#register-modal .uzoria-form,#register-modal .rules-box{min-width:0;padding:20px;background:linear-gradient(150deg,#32170f,#210c08);border:1px solid #794225;box-shadow:inset 0 1px #c17b3833}
#register-modal .uzoria-form label{color:#e6c39c;font-size:11px;font-weight:700;letter-spacing:.08em}
#register-modal .uzoria-form input[type="text"],#register-modal .uzoria-form input[type="email"],#register-modal .uzoria-form input[type="password"]{min-height:44px;background:#1a0b08;border:1px solid #805034;color:#fff0dc}
#register-modal .uzoria-form input::placeholder{color:#a9856d;opacity:1}
#register-modal .uzoria-form input:focus{border-color:#e6aa64;box-shadow:0 0 0 2px #d8893d36}
#register-modal .form-submit{min-height:48px;border:1px solid #f5c477;background:linear-gradient(180deg,#f6d48d,#c98738);box-shadow:inset 0 1px #fff0bd,0 6px 16px #0008;color:#321506!important;font:700 17px Georgia,serif;text-transform:uppercase}
#register-modal .form-submit:hover{background:linear-gradient(180deg,#ffe0a0,#d99843)}
#register-modal .rules-box{max-height:530px;color:#dbc0a6;scrollbar-color:#a66a3a #2a110b;scrollbar-width:thin}
#register-modal .rules-box::-webkit-scrollbar{width:9px}
#register-modal .rules-box::-webkit-scrollbar-track{background:#2a110b}
#register-modal .rules-box::-webkit-scrollbar-thumb{background:#a66a3a;border:2px solid #2a110b;border-radius:8px}
#register-modal .rules-box>p{color:#f6ddb6}
#register-modal .rules-box li{color:#d8baa0;line-height:1.5}
#register-modal .rules-box li::marker{color:#d99a50}
#register-modal .rules-box strong{color:#ffd28a}
#register-modal .registration-guide{background:radial-gradient(circle at 8% 0,#a75c292e,transparent 50%),linear-gradient(145deg,#472315,#2b110c);border-color:#a56838;box-shadow:inset 0 0 24px #a65b1d20,0 7px 18px #0005}
#register-modal .registration-guide-icon{background:radial-gradient(circle,#ad6a2f66,#2c130c);border-color:#c88b4a;box-shadow:inset 0 0 12px #d68c3d33;color:#ffd179}
#register-modal .registration-guide-heading small{color:#e4ad71}
#register-modal .rules-box .registration-guide-heading strong{color:#ffdfa2}
#register-modal .registration-guide p{color:#d5b99e}
#register-modal .registration-guide-action{background:#4a2818;border-color:#bb793e;color:#ffe0a6}
#register-modal .registration-guide-action span{color:#f4bb71}
#register-modal .registration-guide-action:hover,#register-modal .registration-guide-action:focus{background:#65351c;border-color:#e4a75c;color:#fff0ce}

/* Ratings: warm rows, clear contrast, and visible data hierarchy. */
body.v2-page-ratings .ratings-browser.panel-frame{background:linear-gradient(155deg,#32160e,#1c0a07);border:1px solid #86502e;box-shadow:0 16px 34px #0008}
body.v2-page-ratings .ranking-tabs button{min-height:42px;background:#2b130d;border:1px solid #764326;color:#e0bf9b;font:700 12px Georgia,serif}
body.v2-page-ratings .ranking-tabs button:hover{background:#4b2414;color:#ffdfa9}
body.v2-page-ratings .ranking-tabs button.is-active{background:linear-gradient(180deg,#98602e,#5a2d17);border-color:#d69a56;color:#fff0cf;box-shadow:inset 0 2px #efbd76}
body.v2-page-ratings .ranking-tabs button:focus-visible,body.v2-page-ratings .ranking-pagination button:focus-visible{outline:2px solid #e8ab61;outline-offset:2px}
body.v2-page-ratings .ranking-search input{background:#1c0d09;border:1px solid #825036;color:#f7e8d2;font-size:13px}
body.v2-page-ratings .ranking-search input::placeholder{color:#b9997d;opacity:1}
body.v2-page-ratings .ranking-search input:focus{border-color:#e4a45c;box-shadow:0 0 0 2px #d8893d36}
body.v2-page-ratings .ranking-table-head{background:#4a2415;border:1px solid #94552d;color:#ffd38d;font-size:11px;font-weight:700}
body.v2-page-ratings .ranking-table-row{background:#24110c;border-bottom:1px solid #68402b;color:#e9d2b7;font-size:14px}
body.v2-page-ratings .ranking-table-row:nth-child(odd){background:#30170f}
body.v2-page-ratings .ranking-table-row:hover{background:#442315}
body.v2-page-ratings .ranking-table-row .rank-number{width:25px;height:25px;background:#58321e;border:1px solid #8f5935;color:#f5d9b0}
body.v2-page-ratings .ranking-table-row .rank-number.is-first{background:linear-gradient(180deg,#ffe09a,#bd7828);border-color:#f2bf72;color:#2d1207}
body.v2-page-ratings .ranking-player .character-link,body.v2-page-ratings .ranking-player .team-link{color:#fff0d9;font-weight:700}
body.v2-page-ratings .ranking-player .character-link:hover,body.v2-page-ratings .ranking-player .team-link:hover{color:#ffd087}
body.v2-page-ratings .ranking-team-icon{background:#5a2d18;border-color:#b7763c;color:#ffcf7c}
body.v2-page-ratings .ranking-record,body.v2-page-ratings .ranking-table-row>span:nth-child(3){color:#dec1a4}
body.v2-page-ratings .ranking-table-row>:last-child{color:#ffca72;font-weight:700}
body.v2-page-ratings .ranking-search-empty,body.v2-page-ratings .empty-state{color:#dbc0a6;border-color:#68402b}
body.v2-page-ratings .ranking-pagination button{background:#32190f;border-color:#825036;color:#e8c5a1}
body.v2-page-ratings .ranking-pagination button.is-active{background:linear-gradient(180deg,#f4ce80,#c18438);border-color:#f0bc6a;color:#321506}

/* Interior cards inherit the same bronze-and-ember palette as the portal. */
body.v2-page-about .project-pillars .content-card,body.v2-page-support .support-grid .content-card{min-height:235px;background:linear-gradient(150deg,#482517,#27100b 78%);border:1px solid #92552f;box-shadow:inset 0 1px #dc944233,0 15px 29px #0006}
body.v2-page-about .project-pillars .content-card::before,body.v2-page-support .support-grid .content-card::before{position:absolute;inset:0 0 auto;height:2px;content:"";background:linear-gradient(90deg,transparent,#e2a65d,transparent)}
body.v2-page-about .project-pillars .content-card::after,body.v2-page-support .support-grid .content-card::after{background:radial-gradient(circle,#d47b3229,transparent 67%)}
body.v2-page-about .project-pillars .card-glyph,body.v2-page-support .support-grid .card-glyph{background:radial-gradient(circle,#b67132a8,#3e1b11);border-color:#cb8b4e;box-shadow:0 0 18px #bd6b2626;color:#ffe0a0}
body.v2-page-about .project-pillars .content-card h2,body.v2-page-support .support-grid .content-card h2{color:#ffe0ad;text-shadow:0 2px 8px #0007}
body.v2-page-about .project-pillars .content-card p,body.v2-page-support .support-grid .content-card p{color:#ddc1a6;line-height:1.6}
body.v2-page-support .support-grid .content-card a{color:#ffcd7c;text-decoration:underline;text-underline-offset:3px}
body.v2-page-support .support-grid .content-card a:hover{color:#fff0cc}
body.v2-page-about .lore-intro>p:last-child{color:#dfc1a7}
body.v2-page-support .faq-panel details{background:#2e160f;border-color:#7b4528}
body.v2-page-support .faq-panel details p{color:#d9baa0}

/* All Bootstrap dialogs sit directly under body, above their dimming layer. */
body.v2-site>.modal-backdrop{z-index:1040}
body.v2-site>.uzoria-modal{z-index:1050}
body.v2-site>.modal-backdrop.in{opacity:.72}
body.v2-site>.uzoria-modal .modal-content{background:linear-gradient(155deg,#32170f,#190a07);border:1px solid #9b6238;color:#ead1b4;box-shadow:0 20px 65px #000c,inset 0 1px #e49d4933}
body.v2-site>.uzoria-modal .modal-header{background:linear-gradient(180deg,#4a2314,#29110c);border-bottom-color:#87502c}
body.v2-site>.uzoria-modal .modal-title{color:#ffe0ac}
body.v2-site>.uzoria-modal .modal-header p,body.v2-site>.uzoria-modal .modal-body>p{color:#d6b79a}
body.v2-site>.uzoria-modal .close{color:#f5cf96}
body.v2-site>.uzoria-modal .close:hover,body.v2-site>.uzoria-modal .close:focus{color:#fff3d8;opacity:1}
body.v2-site>.uzoria-modal .uzoria-form label{color:#e2bf9c}
body.v2-site>.uzoria-modal .uzoria-form input[type="text"],body.v2-site>.uzoria-modal .uzoria-form input[type="email"],body.v2-site>.uzoria-modal .uzoria-form input[type="password"]{background:#1b0c08;border-color:#805034;color:#f9e9d0}
body.v2-site>.uzoria-modal .uzoria-form input:focus{border-color:#e6aa64;box-shadow:0 0 0 2px #d8893d36}
body.v2-site>.uzoria-modal .fantasy-button-blue{background:linear-gradient(180deg,#f0c97e,#bc7631);border-color:#e5ab60;color:#321506!important}

/* Account: replace the remaining cold panels, fields and links with bronze. */
body.v2-page-account .account-login-form,body.v2-page-account .account-summary,body.v2-page-account .account-characters,body.v2-page-account .account-security,body.v2-page-account .account-restore,body.v2-page-account .account-transfer,body.v2-page-account .account-email-confirm{background:linear-gradient(145deg,#361a11,#1e0b08);border:1px solid #80502f;box-shadow:inset 0 1px #d78a4030,0 12px 27px #0006}
body.v2-page-account .account-login-copy h2,body.v2-page-account .account-login-form h2,body.v2-page-account .account-summary h2,body.v2-page-account .section-heading h2{color:#ffe5bd}
body.v2-page-account .account-login-copy>p,body.v2-page-account .account-security>p,body.v2-page-account .account-restore>p,body.v2-page-account .account-transfer>p,body.v2-page-account .account-email-confirm>p,body.v2-page-account .account-welcome p{color:#d1b198}
body.v2-page-account .account-avatar{background:radial-gradient(circle,#784320,#28100a);border-color:#d6a359;box-shadow:0 0 20px #b76a2b35;color:#ffcf76}
body.v2-page-account .account-logout{background:#24100b;border-color:#ad713c;color:#f4c994}
body.v2-page-account .account-logout:hover,body.v2-page-account .account-logout:focus-visible{background:#512711;border-color:#efb565;color:#fff1d7}
body.v2-page-account .account-stats{gap:6px;border-top:1px solid #754429}
body.v2-page-account .account-stats article{padding:16px 13px;min-width:0;background:linear-gradient(155deg,#48271a,#2a120c);border:1px solid #69402b}
body.v2-page-account .account-stats small{color:#d5a579}
body.v2-page-account .account-stats strong{color:#fff0d9;overflow-wrap:anywhere}
body.v2-page-account .account-ip-trigger strong{color:#ffd08c}
body.v2-page-account .account-ip-trigger span{color:#c79f7e}
body.v2-page-account .account-ip-trigger:hover strong,body.v2-page-account .account-ip-trigger:focus-visible strong{color:#fff0c2}
body.v2-page-account .account-characters .section-heading>span,body.v2-page-account .account-restore .section-heading>span,body.v2-page-account .account-transfer .section-heading>span{color:#ca9f7f}
body.v2-page-account .account-transfer-history-row{background:linear-gradient(100deg,#412218,#29120d);border-color:#70442a;color:#e3c9ac}
body.v2-page-account .account-transfer-history-row strong{color:#fff0d8}
body.v2-page-account .account-transfer-history-row small{color:#ca9f7f}
body.v2-page-account .account-transfer-form select{background:#2b160e;border-color:#80502f;color:#fff0d8}
body.v2-page-account .character-card,body.v2-page-account .restore-character-row{background:linear-gradient(100deg,#412218,#29120d);border:1px solid #70442a;color:#e3c9ac}
body.v2-page-account .character-card:hover,body.v2-page-account .character-card:focus-visible{background:#542b19;border-color:#dc9d54;color:#fff0d8}
body.v2-page-account .character-card strong,body.v2-page-account .restore-character-info strong{color:#fff0d8}
body.v2-page-account .character-card{grid-template-columns:38px 42px minmax(0,1fr) auto;gap:7px}
body.v2-page-account .character-details{min-width:0}
body.v2-page-account .character-details>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.v2-page-account .character-vip-badge{position:relative;box-sizing:border-box;display:flex;width:42px;min-height:58px;align-self:stretch;align-items:center;justify-content:center;border:1px solid #795037;border-radius:3px;background:linear-gradient(180deg,#4a291c,#27110d 50%,#4a291c);box-shadow:inset 0 1px #dfaa7133;cursor:help}
body.v2-page-account .character-vip-badge img{display:block;width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 1px 2px #0009)}
body.v2-page-account .character-vip-badge::after{position:absolute;z-index:20;top:calc(100% + 7px);left:-40px;width:max-content;max-width:min(240px,calc(100vw - 48px));padding:8px 10px;border:1px solid #a16b43;background:#25110d;box-shadow:0 8px 18px #000a;color:#ffe3bb;content:attr(data-tooltip);font:12px/1.4 Arial,sans-serif;white-space:normal;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s ease}
body.v2-page-account .character-vip-badge:hover::after,body.v2-page-account .character-card:focus-visible .character-vip-badge::after{opacity:1;visibility:visible}
@media(max-width:700px){body.v2-page-account .character-card{grid-template-columns:38px 42px minmax(0,1fr);gap:7px}body.v2-page-account .character-card em{grid-column:3}}
body.v2-page-account .character-card small,body.v2-page-account .restore-character-info small,body.v2-page-account .restore-character-status{color:#c8a589}
body.v2-page-account .character-card em,body.v2-page-account .character-unstuck-button{color:#f3bf75}
body.v2-page-account .character-card em.is-online{color:#a8dc8f}
body.v2-page-account .character-unstuck-action{background:#25100b;border-color:#70442a;color:#c9a88b}
body.v2-page-account .character-unstuck-button:hover,body.v2-page-account .character-unstuck-button:focus-visible{color:#fff0c5}
body.v2-page-account .uzoria-form label,body.v2-page-account .restore-character-form label{color:#dfb996}
body.v2-page-account .uzoria-form input[type="text"],body.v2-page-account .uzoria-form input[type="email"],body.v2-page-account .uzoria-form input[type="password"],body.v2-page-account .restore-character-form input{background:#1b0c08;border:1px solid #875334;color:#fff0dc}
body.v2-page-account .uzoria-form input:focus,body.v2-page-account .restore-character-form input:focus{border-color:#edaf65;box-shadow:0 0 0 2px #d8893d36;outline:0}
body.v2-page-account .fantasy-button-blue{background:linear-gradient(180deg,#f0ca83,#bd7a35);border:1px solid #ebbb70;color:#301305!important;box-shadow:inset 0 1px #ffe7ad44}
body.v2-page-account .fantasy-button-blue:hover,body.v2-page-account .fantasy-button-blue:focus-visible{background:linear-gradient(180deg,#ffe0a0,#d59546)}
body.v2-page-account .account-tools button,body.v2-page-account .account-tools a{padding:5px 0;color:#f2c181;font-size:12px;background:transparent;border:0;border-bottom:1px dashed #b87945;text-decoration:none}
body.v2-page-account .account-tools a:hover,body.v2-page-account .account-tools a:focus-visible{color:#ffe1aa;border-bottom-color:#ffe1aa}
body.v2-page-account .account-tools .account-recovery-button{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:42px;padding:9px 14px;border:1px solid #9b653a;background:#29130c;color:#f6c68d;font-weight:700;letter-spacing:.02em}
body.v2-page-account .account-tools .account-recovery-button:hover,body.v2-page-account .account-tools .account-recovery-button:focus-visible{background:#472417;border-color:#e5ad6b;color:#fff1d7}
body.v2-page-account .account-recovery-form>p{margin:0 0 16px;color:#d1b198;line-height:1.6}
body.v2-page-account .account-email-confirm .uzoria-form{max-width:460px;margin-top:16px}
body.v2-page-account .account-alert{background:#351a11;border-color:#946035;color:#f5ddbd}
body.v2-page-account .account-alert-close{color:#e4b783}
body.v2-page-account .account-ip-history-table th,body.v2-page-account .account-ip-history-table td{border-bottom-color:#70442a}

/* Connection instructions: warm panels with readable copy and a clear action. */
body.v2-page-files .download-stage{background:linear-gradient(145deg,#3e2116,#23100b);border-color:#925a34}
body.v2-page-files .launcher-downloads{display:flex;min-width:240px;flex-direction:column;gap:10px}
body.v2-page-files .launcher-downloads a{display:grid;width:100%;min-height:46px;place-items:center;text-align:center;text-decoration:none}
body.v2-page-files .launcher-downloads .outline-gold-button{font-size:11px}
body.v2-page-files .launcher-downloads a:focus-visible{outline:2px solid #ffe2ad;outline-offset:3px}
@media(max-width:980px){body.v2-page-files .launcher-downloads{grid-column:1/-1;flex-direction:column}}
@media(max-width:700px){body.v2-page-files .launcher-downloads{min-width:0;flex-direction:column}}
body.v2-page-files .download-stage h2,body.v2-page-files .connection-grid .content-card h2{color:#ffe2ad}
body.v2-page-files .download-stage p,body.v2-page-files .connection-grid .content-card p{color:#dec2a8;line-height:1.6}
body.v2-page-files .download-emblem{background:radial-gradient(circle,#925425,#3a1a10);border-color:#c68a4c;color:#ffd58a}
body.v2-page-files .file-meta span{background:#2a120d;border-color:#80502f;color:#d0ad90}
body.v2-page-files .file-meta strong{color:#ffdfab}
body.v2-page-files .connection-grid .content-card{background:linear-gradient(150deg,#482619,#27110c 82%);border:1px solid #8e5532;box-shadow:inset 0 1px #e2a65d2b,0 14px 28px #0006}
body.v2-page-files .connection-grid .content-card::after{background:radial-gradient(circle,#cf7c3324,transparent 68%)}
body.v2-page-files .step-mark{background:#35190f;border-color:#d49850;color:#ffd184;box-shadow:inset 0 0 14px #d48b2f22}
body.v2-page-files .realmlist-copy{background:#1b0c08;border-color:#b77b42;color:#ffe5b5;cursor:pointer}
body.v2-page-files .realmlist-copy code{color:#ffe5b5;white-space:normal;overflow-wrap:anywhere}
body.v2-page-files .realmlist-copy span{color:#ffc475}
body.v2-page-files .realmlist-copy:hover,body.v2-page-files .realmlist-copy:focus-visible{background:#3c1d10;border-color:#f0b96a;outline:2px solid #e4a65c;outline-offset:2px}
body.v2-page-files .help-strip{background:linear-gradient(120deg,#3b1e13,#24100b);border-color:#8e5532}
body.v2-page-files .help-strip strong{color:#ffe2b5}
body.v2-page-files .help-strip span{color:#d2b49a}
body.v2-page-files .help-strip .outline-gold-button{background:linear-gradient(180deg,#f3cc83,#bd7a35);border-color:#e5ad66;color:#321506!important}
body.v2-page-files .help-strip .outline-gold-button:hover,body.v2-page-files .help-strip .outline-gold-button:focus-visible{background:linear-gradient(180deg,#ffe1a3,#d99643)}

@media(max-width:720px){
    #register-modal .modal-dialog{width:calc(100% - 20px);margin:10px auto}
    #register-modal .modal-header{padding:22px 43px 18px}
    #register-modal .modal-body.registration-layout{grid-template-columns:1fr;max-height:calc(100vh - 140px);overflow:auto;padding:13px}
    #register-modal .uzoria-form,#register-modal .rules-box{padding:15px}
    #register-modal .rules-box{max-height:270px}
}
@media(max-width:600px){
    .v2-realm-static{min-width:166px;max-width:200px;font-size:13px}
    body.v2-page-ratings .ranking-table-row{font-size:11px}
    body.v2-page-ratings .ranking-table-head{font-size:9px}
    body.v2-page-ratings .ranking-tabs button{font-size:10px}
}

/* The clipped entrance tab uses a gold inset focus cue, never a white box. */
.v2-account-link:hover,.v2-account-link:focus{outline:0!important;text-decoration:none;box-shadow:inset 0 0 0 1px #efb968,0 8px 20px #0008}
.v2-account-link:focus-visible{box-shadow:inset 0 0 0 2px #ffe0a0,0 8px 20px #0008}

/* Client mirrors are full, legible download choices rather than plain links. */
#download-mirrors-modal .modal-dialog{width:min(680px,calc(100% - 24px));margin:clamp(20px,8vh,72px) auto}
#download-mirrors-modal .modal-content{background:linear-gradient(150deg,#34180f,#170806);border:1px solid #a2673a;box-shadow:0 24px 70px #000d,inset 0 1px #d58b4733}
#download-mirrors-modal .modal-header{padding:27px 48px 23px;background:radial-gradient(ellipse at 50% 0,#8b431c6b,transparent 70%),linear-gradient(#452014,#26100b);border-bottom:1px solid #8a4e2b}
#download-mirrors-modal .download-mirrors-eyebrow{display:block;margin-bottom:7px;color:#f1b567;font:700 10px Georgia,serif;letter-spacing:.2em;text-transform:uppercase}
#download-mirrors-modal .modal-title{color:#ffe1aa;font:700 clamp(25px,4vw,33px)/1.1 Georgia,serif;text-shadow:0 2px 10px #0009}
#download-mirrors-modal .modal-header p{margin:8px 0 0;color:#d4b396;font-size:13px;line-height:1.5}
#download-mirrors-modal .modal-body{padding:22px;background:linear-gradient(145deg,#28120d,#1a0a07)}
#download-mirrors-modal .download-mirror-list{gap:10px}
#download-mirrors-modal .download-mirror-link{min-height:76px;padding:12px 17px 12px 13px;background:linear-gradient(110deg,#492719,#2d140d);border:1px solid #80502f;color:#f6dec1;box-shadow:inset 0 1px #d98e4533,0 5px 14px #0004;text-decoration:none}
#download-mirrors-modal .download-mirror-link:hover,#download-mirrors-modal .download-mirror-link:focus-visible{background:linear-gradient(110deg,#60341d,#37180d);border-color:#e0a45b;color:#fff0d5;box-shadow:inset 0 1px #ffcd7944,0 8px 22px #0007;outline:0;transform:translateY(-2px)}
#download-mirrors-modal .download-mirror-link::after{background:linear-gradient(90deg,transparent,#e0a45b,transparent)}
#download-mirrors-modal .download-mirror-index{background:radial-gradient(circle,#8c5126,#2e140c);border-color:#d0944d;box-shadow:inset 0 0 12px #e6a64b22;color:#ffe0a0}
#download-mirrors-modal .download-mirror-copy strong{color:#ffe1aa}
#download-mirrors-modal .download-mirror-copy small{color:#c7a487;font-size:11px;overflow-wrap:anywhere}
#download-mirrors-modal .download-mirror-action{color:#f5c17e;white-space:nowrap}
#download-mirrors-modal .download-mirror-action i{color:#ffd489}
#download-mirrors-modal .download-mirror-note{margin:17px 5px 0;color:#c2a188;font-size:12px}

/* Home leaders: one non-empty top-ten panel at a time. */
.v2-leaders .v2-section-heading{margin-bottom:13px}
.v2-leader-metric{display:block;margin-top:6px;color:#c69d7b;font-size:11px;letter-spacing:.05em;text-transform:uppercase}
.v2-leader-switcher{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 13px}
.v2-leader-switcher[hidden]{display:none!important}
.v2-leader-switcher button{min-height:34px;padding:7px 13px;background:#2b130d;border:1px solid #764326;color:#dfbd9a;font:700 12px Georgia,serif;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}
.v2-leader-switcher button:hover{background:#512a18;border-color:#bf7c41;color:#ffe5bc}
.v2-leader-switcher button.is-active{background:linear-gradient(180deg,#9b6030,#5e2e18);border-color:#dc9d53;color:#fff0cf;box-shadow:inset 0 2px #efbd76}
.v2-leader-switcher button:focus-visible{outline:2px solid #efb86b;outline-offset:2px}
.v2-leader-stage{overflow:hidden;transition:height .35s ease}
.v2-leader-panel{opacity:0;transform:translateY(8px);transition:opacity .26s ease,transform .26s ease}
.v2-leader-panel[hidden]{display:none!important}
.v2-leader-panel.is-active{opacity:1;transform:none}
.v2-leader-panel.is-leaving{opacity:0;transform:translateY(-8px)}
.v2-leaders .v2-leader-list>div{grid-template-columns:53px minmax(0,1fr) auto}
.v2-leaders .v2-leader-list a{min-width:0;overflow-wrap:anywhere}
.v2-leaders .v2-leader-list strong{text-align:right;white-space:nowrap}
@media(max-width:600px){
    #download-mirrors-modal .modal-dialog{width:calc(100% - 18px);margin:9px auto}
    #download-mirrors-modal .modal-header{padding:24px 43px 20px}
    #download-mirrors-modal .modal-body{padding:13px}
    #download-mirrors-modal .download-mirror-link{padding:10px;grid-template-columns:42px minmax(0,1fr)}
    #download-mirrors-modal .download-mirror-action{grid-column:2}
    .v2-leader-switcher button{flex:1 1 auto;font-size:11px;padding:7px 9px}
    .v2-leaders .v2-leader-list>div{grid-template-columns:36px minmax(0,1fr) auto;gap:7px;padding:9px 10px}
    .v2-leaders .v2-leader-list span{font-size:17px}
    .v2-leaders .v2-leader-list strong{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
    .v2-leader-stage,.v2-leader-panel{transition:none}
}

/* Configured social links live in the free space at the right of the portal bar. */
.v2-header-inner{position:relative}
.v2-header-socials{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center;gap:9px;z-index:13}
.v2-header-socials a{display:grid;place-items:center;width:37px;height:37px;border:1px solid #96552b;border-radius:50%;background:linear-gradient(145deg,#3d1c10,#210c08);color:#f3bc70!important;box-shadow:inset 0 1px #e8a45736,0 5px 12px #0006;transition:background .2s,border-color .2s,transform .2s}
.v2-header-socials a:hover{background:#713717;border-color:#ecaa56;transform:translateY(-2px)}
.v2-header-socials a:focus-visible{outline:2px solid #ffd083;outline-offset:3px}
.v2-header-socials svg{display:block;width:19px;height:19px;fill:currentColor}

/* Realm-first achievements share the warm portal palette. */
.v2-hall{padding:23px;border:1px solid #824a29;background:radial-gradient(circle at 90% 0,#70351855,transparent 43%),linear-gradient(145deg,#36190f,#1d0b07);box-shadow:0 17px 33px #0006}
.v2-hall-heading{align-items:center;margin-bottom:15px;padding-bottom:19px}
.v2-hall-heading p{margin:8px 0 0;color:#d5b497;font-size:12px;line-height:1.5}
.v2-hall-total{flex:none;padding:9px 13px;border:1px solid #9b6135;background:#4a2313;color:#ffdb99;font:700 12px Georgia,serif;white-space:nowrap}
.v2-hall-groups{display:grid;gap:9px}
.v2-hall-group{border:1px solid #754129;background:#2a110b}
.v2-hall-group>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:62px;padding:11px 17px;cursor:pointer;list-style:none;background:linear-gradient(90deg,#4c2516,#2a110b);color:#ffe1ae}
.v2-hall-group>summary::-webkit-details-marker{display:none}
.v2-hall-group>summary strong,.v2-hall-group>summary small{display:block}
.v2-hall-group>summary strong{font:700 19px Georgia,serif}
.v2-hall-group>summary small{margin-top:3px;color:#c9a27e;font-size:10px;letter-spacing:.04em;text-transform:uppercase}
.v2-hall-group>summary:focus-visible{outline:2px solid #ffc476;outline-offset:-4px}
.v2-hall-chevron{color:#edab5c;font:30px/1 Georgia,serif;transition:transform .2s}
.v2-hall-group[open] .v2-hall-chevron{transform:rotate(180deg)}
.v2-hall-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
.v2-hall-card{display:flex;align-items:center;gap:12px;min-width:0;min-height:72px;padding:10px 12px;border:1px solid #62402a;background:#1c0d09}
.v2-hall-card.is-earned{border-color:#916039;background:linear-gradient(110deg,#422114,#24100b)}
.v2-hall-card img{flex:none;width:52px;height:52px;object-fit:cover;border:1px solid #7b4d2a;box-shadow:0 2px 8px #0008}
.v2-hall-card:not(.is-earned) img{filter:grayscale(.8);opacity:.65}
.v2-hall-card>span{min-width:0}
.v2-hall-card strong,.v2-hall-card a,.v2-hall-card small{display:block}
.v2-hall-card strong{color:#f5e0bf;font-size:12px;line-height:1.35}
.v2-hall-card a,.v2-hall-card small{margin-top:4px;font-size:11px}
.v2-hall-card a{color:#ffba65!important;font-weight:700;text-decoration:none}
.v2-hall-card a:hover{text-decoration:underline}
.v2-hall-card small{color:#ab8b72}
body.v2-page-ratings .ranking-table.is-wealth .ranking-money{white-space:normal;text-align:right;line-height:1.35}
@media(max-width:700px){.v2-hall-grid{grid-template-columns:1fr}.v2-hall-heading{align-items:flex-start;flex-direction:column}.v2-hall-total{font-size:11px}}
@media(max-width:600px){.v2-header-inner{width:calc(100% - 20px)}.v2-header-socials{gap:4px}.v2-header-socials a{width:29px;height:29px}.v2-header-socials svg{width:16px;height:16px}.v2-hall{padding:14px}.v2-hall-card{padding:9px}.v2-hall-card img{width:44px;height:44px}}
@media(max-width:600px){body.v2-page-ratings .ranking-table.is-wealth .ranking-table-head,body.v2-page-ratings .ranking-table.is-wealth .ranking-table-row{grid-template-columns:36px minmax(78px,1fr) minmax(120px,1.5fr)}body.v2-page-ratings .ranking-table.is-wealth .ranking-table-head>:nth-child(3),body.v2-page-ratings .ranking-table.is-wealth .ranking-table-row>:nth-child(3){display:none}}
@media(max-width:360px){.v2-realm-select select{min-width:145px}.v2-header-socials a{width:27px;height:27px}}
@media(prefers-reduced-motion:reduce){.v2-header-socials a,.v2-hall-chevron{transition:none}}

.portal-masthead { border-bottom: 0; }
.portal-masthead::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: #654329 url("../art/masthead-bronze-edge.webp") center / 100% 100% no-repeat;
    pointer-events: none;
}
.v2-page-grid { margin-top: 0; padding-top: clamp(12px, 1.4vw, 22px); }
.v2-main-column { padding-top: 0; }
.portal-total-online strong {
    font-family: Arial, Helvetica, sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: 0;
}

.portal-carousel {
    container-type: inline-size;
    border: clamp(8px, 1vw, 14px) solid #4c3824;
    border-image: url("../art/carousel-iron.webp") 28 stretch;
    outline: 0;
}
.portal-slide--vip .portal-slide-art { object-position: 77% 36%; }
.portal-slide--vip::after {
    background: linear-gradient(90deg, #180f14aa, #21111955 40%, transparent 73%),
                linear-gradient(0deg, #190b0a77, transparent 38%);
    pointer-events: none;
}
.portal-slide--vip .portal-slide-copy {
    justify-self: start;
    max-width: 55%;
    padding-left: clamp(18px, 5cqw, 64px);
    text-align: left;
}
.portal-slide--vip h2 { margin-bottom: clamp(12px, 2cqw, 24px); }
@container (max-width: 630px) {
    .portal-slide-art[src*="/banner-launcher.webp"] { object-position: 85% center; }
    .portal-slide:has(.portal-slide-art[src*="/banner-launcher.webp"])::after {
        background: linear-gradient(180deg, #180d0a55, #190e0ba1 52%, #120907cc);
    }
    .portal-slide--vip::after { background: linear-gradient(90deg, #180d16ee, #20101ab3 44%, transparent 84%); }
    .portal-slide--vip .portal-slide-copy { padding-right: 0; }
    .portal-slide-art[src$="/banner-adventure-road.webp"] { object-position: 14% center; }
}
.vip-herald-dock {
    position: fixed;
    left: max(8px, env(safe-area-inset-left));
    bottom: max(5px, env(safe-area-inset-bottom));
    z-index: 110;
    width: clamp(150px, 12vw, 184px);
    container-type: inline-size;
    pointer-events: none;
}
.vip-herald-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    filter: drop-shadow(0 3px 5px #090401bd);
    cursor: pointer;
    pointer-events: auto;
}
.vip-herald-trigger img { display: block; width: 100%; height: auto; }
.vip-herald-trigger:focus-visible { outline: 2px solid #ffe1a6; outline-offset: 2px; border-radius: 5px; }
.vip-herald-sign {
    position: absolute;
    top: 77%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffe6a9;
    text-align: center;
    font: 700 clamp(13px, 10cqw, 19px)/1 Georgia, serif;
    white-space: nowrap;
    text-shadow: 0 1px 2px #090b18;
}
.vip-herald-sign small {
    display: block;
    margin-top: 2px;
    color: #c8d9ed;
    font: 600 clamp(9px, 6cqw, 11px)/1.1 Georgia, serif;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .vip-herald-trigger { transition: transform .18s ease; }
    .vip-herald-trigger:hover { transform: translateY(-3px); }
}
@media (max-width: 600px), (max-height: 480px) {
    .vip-herald-dock { width: clamp(112px, 32vw, 135px); }
}
#uzoria-vip-modal .modal-dialog {
    width: min(560px, calc(100% - 24px));
    margin: clamp(12px, 6vh, 56px) auto;
}
#uzoria-vip-modal .modal-content {
    border: 1px solid #987249;
    border-radius: 7px;
    background: #251711;
    overflow: hidden;
    box-shadow: 0 20px 68px #060403c9;
}
.vip-perks-header {
    position: relative;
    padding: 40px 50px 30px 26px;
    border-bottom: 1px solid #987249;
    background: linear-gradient(90deg, #0c1d2af5 4%, #0c1d2acc 35%, transparent 86%),
                #102332 url("../art/banner-vip-x100.webp") right 24% / 220% auto no-repeat;
}
#uzoria-vip-modal .vip-perks-header h2 {
    margin: 0 0 4px;
    color: #ffe1a6;
    font: 700 clamp(28px, 4vw, 38px)/1.12 Georgia, serif;
    text-shadow: 0 2px 6px #0a1422;
}
.vip-perks-header p { margin: 0; color: #eee1cd; font-size: 14px; }
.vip-perks-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
    border: 1px solid #9c835f;
    border-radius: 4px;
    background: #10202ce8;
    color: #ffe3b0;
    font: 26px/1 Arial, sans-serif;
}
.vip-perks-body { padding: 20px clamp(16px, 4vw, 26px) 22px; }
.vip-perks-list { margin: 0; }
.vip-perks-list dt { color: #f4d49b; font: 700 17px/1.3 Georgia, serif; }
.vip-perks-list dt:not(:first-of-type) { margin-top: 12px; padding-top: 12px; border-top: 1px solid #51392b; }
.vip-perks-list dd { margin: 3px 0 0; color: #e0cbb7; font: 14px/1.5 Arial, sans-serif; }
.vip-perks-hint { margin: 18px 0 12px; color: #d0b69d; font-size: 13px; }
.vip-perks-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vip-perks-actions .v2-button { flex: 1 1 auto; min-height: 44px; padding: 11px 14px; }
.vip-perks-actions .v2-button-outline { border-color: #936e49; color: #f9dcb0; background: #33221a; }
.vip-perks-close:focus-visible, .vip-perks-actions a:focus-visible { outline: 2px solid #ffe0a4; outline-offset: 2px; }
.v2-status-board {
    border: 1px solid #6e5037;
    border-radius: 5px;
    background: linear-gradient(90deg, #0c1019aa, transparent 72%),
                #171b25 url("../art/realm-dusk-keep.webp") 82% 42% / cover no-repeat;
    overflow: hidden;
    box-shadow: 0 6px 18px #09050570;
}
.v2-status-board[data-realm="1"] {
    background: linear-gradient(90deg, #160c0bb3, transparent 68%),
                #26150f url("../art/realm-x100-ember-outpost.webp") 74% 39% / cover no-repeat;
}
.v2-status-board[data-realm="1"] .v2-status-metrics {
    background: linear-gradient(0deg, #170e0cf0, #281710b8);
}
.v2-status-board[data-realm="2"] {
    background: linear-gradient(90deg, #211318b8, transparent 70%),
                #422722 url("../art/realm-fun-raceway.webp") 77% 52% / cover no-repeat;
}
.v2-status-board[data-realm="2"] .v2-status-metrics {
    background: linear-gradient(0deg, #211114ed, #321c209c);
}
.v2-status-board .v2-status-head {
    background: transparent;
    border-color: #ccab8038;
    padding-block: 25px 20px;
    text-shadow: 0 1px 4px #080b12;
}
.v2-status-board .v2-status-head > a {
    color: #ffe4b3;
    padding: 5px 9px;
    border-radius: 4px;
    background: #10141dcc;
}
.v2-status-board .v2-status-metrics {
    background: linear-gradient(0deg, #0c1018ed, #10151fb8);
}
.v2-status-board .v2-status-metrics > div {
    background: transparent;
    border-color: #c7ae8936;
}
.v2-status-board .v2-status-metrics small { color: #e3d2bd; }
.v2-status-metrics strong { font-variant-numeric: lining-nums tabular-nums; }

.v2-section-heading { border-image: linear-gradient(to right, #ab784c, #5a3220 42%, transparent) 1; }
.v2-realms h1 { margin: 0; color: #ffe2ad; font: 600 clamp(21px, 2.4vw, 27px)/1.3 system-ui, sans-serif; }
.v2-realms > p { max-width: 72ch; color: #dfcdbb; font: 400 clamp(15px, 1.5vw, 16px)/1.65 system-ui, sans-serif; }
.v2-realm-guide { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.v2-realm-guide a { color: #f4bf74; font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: .2em; }
.v2-home .v2-news-card, .inner-page .full-news-card {
    border-width: 1px 0 0;
    border-color: #96643e;
    background: linear-gradient(145deg, #38251c, #23150f 66%, #1b100c);
}
.v2-home .v2-news-card { border-radius: 2px 9px 3px 2px; }
.inner-page .full-news-card { border-radius: 16px; }
.v2-home .v2-news-card h3 { text-wrap: balance; }
.v2-home .v2-news-card > a { align-self: flex-start; padding-top: 12px; }
.v2-realm-link, .v2-hall-card, .inner-page .content-card, .portal-helpful-card {
    border-radius: 2px 8px 2px 2px;
    box-shadow: inset 0 1px #dcb99212, 0 2px 5px #0e060533;
}
.v2-home .v2-realm-link.is-selected { border-left: 3px solid #d09a5f; }

#register-modal .modal-content {
    border-radius: 7px;
    background: #251913;
    border-color: #75593c;
    overflow: hidden;
}
#register-modal .modal-header {
    padding: 25px 54px 23px 28px;
    text-align: left;
    background: linear-gradient(90deg, #20130eb3, #29170e38), url("../art/realm-leather.webp") center / cover;
    border-color: #78553a;
}
#register-modal .modal-title {
    margin: 0;
    color: #ffe7c4;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
}
#register-modal .modal-header::after { display: none; }
#register-modal .modal-body.registration-layout {
    gap: clamp(18px, 3vw, 36px);
    padding: clamp(16px, 2.5vw, 30px);
    background: #241813;
}
#register-modal .uzoria-form, #register-modal .rules-box {
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
}
#register-modal .rules-box {
    border-inline-start: 1px solid #745238;
    padding: 0 10px 0 clamp(16px, 2vw, 26px);
}
#register-modal .uzoria-form label {
    color: #e7ceae;
    font-size: 13px;
    letter-spacing: .01em;
    text-transform: none;
}
#register-modal .uzoria-form input:is([type="email"], [type="text"], [type="password"]) {
    background: #19110e;
    border-color: #785b43;
    border-radius: 3px;
}
#register-modal .uzoria-form input:focus-visible { outline: 2px solid #e8b469; outline-offset: 2px; }
#register-modal .uzoria-form > p { color: #ddc9b5; font-size: 13px; line-height: 1.5; }
#register-modal .registration-guide { border-width: 0 0 1px; border-color: #75553a; background: transparent; box-shadow: none; padding: 0 0 18px; }
#register-modal .registration-guide-action { background: #3b291d; border-radius: 3px; }
#register-modal .form-submit { text-transform: none; border-radius: 3px; }
@media (max-width: 767px) {
    .portal-masthead::after { height: 2px; }
    .v2-status-board .v2-status-head { position: relative; display: block; }
    .v2-status-board .v2-status-head .v2-overline { margin-right: 110px; }
    .v2-status-board .v2-status-head > a { position: absolute; top: 16px; right: 18px; }
    #register-modal .modal-body.registration-layout { grid-template-columns: minmax(0, 1fr); }
    #register-modal .rules-box { border-inline-start: 0; border-top: 1px solid #745238; padding: 18px 0 0; max-height: none; }
}
