*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px;color-scheme:dark}
body{margin:0;background:#11100e;color:#e7e0d2;font:16px/1.65 Georgia,'Times New Roman',serif;-webkit-font-smoothing:antialiased;cursor:url('/portal/assets/ui/cursor.svg') 4 3,auto}
button,input,select{font:inherit}
button,a,summary{cursor:pointer}
a{color:inherit;text-decoration:none}
button{border:0;color:inherit}
button:disabled{opacity:.42;cursor:default}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid #e1b966;outline-offset:5px}
img{max-width:100%;display:block}
[hidden]{display:none!important}
.site-header{height:94px;position:absolute;inset:0 0 auto;z-index:20;display:flex;align-items:center;padding:0 4.6%;gap:48px;border-bottom:1px solid #b6924b30;background:linear-gradient(#11100eea,#11100e70)}
.brand{display:inline-flex;flex-direction:column;line-height:1;flex-shrink:0}
.brand-word{font-weight:bold;letter-spacing:-1.8px;font-size:33px;color:#ece0c5;text-shadow:0 2px 2px #000}
.brand-word>span{color:#bc9450}
.brand small{font:12px/1.5 Arial,sans-serif;letter-spacing:5px;color:#a79573;margin-top:7px;text-align:center}
nav{display:flex;gap:29px;align-items:center;margin-right:auto}
nav a,.nav-button,.text-button,.language,.muted,.eyebrow,.hero-status,.hero-bottom dt,.hero-more,.realm-ledger>div>span,.setting-label,.pagination,.panel-heading>p,.subheading>span,.character-meta,.ranking-table th,footer{font-family:Arial,Helvetica,sans-serif}
.nav-button,.text-button{background:none;padding:0}
.nav-button,nav a{font-size:14px;color:#c2b9a5}
.nav-button:hover,nav a:hover,.text-button:hover{color:#e6bf77}
.header-actions{display:flex;align-items:center;gap:24px}
.account-button{font-size:14px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.language-picker{position:relative}
.language{background:none;display:flex;align-items:center;gap:9px;color:#c2b9a5;font-size:14px;padding:8px 0}
.language-chevron{width:6px;height:6px;border-right:1px solid;border-bottom:1px solid;transform:rotate(45deg);margin:0 0 3px 3px}
#language-menu{position:absolute;right:0;top:45px;width:190px;max-height:360px;overflow:auto;background:#1b1813;border:1px solid #625033;padding:7px;box-shadow:0 15px 35px #0008}
#language-menu button{display:block;width:100%;padding:9px 10px;text-align:left;background:none;color:#cfc7b7;font:14px Arial,sans-serif}
#language-menu button:hover,#language-menu [aria-checked=true]{background:#b18b4520;color:#edcb86}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 25px;font-weight:bold;font-size:16px;line-height:1.2;letter-spacing:.2px;border:1px solid #92713c;border-radius:2px;box-shadow:inset 0 0 0 3px #0003;transition:background .16s,border-color .16s;text-align:center}
.button:hover{border-color:#e1b966}
.button.primary{color:#f7e5bb;background:linear-gradient(#9c3928,#6e2119);border-color:#bd8d4c;box-shadow:inset 0 0 0 3px #41100b77,0 3px 10px #0003}
.button.primary:hover{background:linear-gradient(#ac4530,#7b2a1f)}
.button.secondary{color:#d5c4a0;background:#17130dcc}
.button.secondary:hover{background:#2b2215}
.button.large{min-width:178px;min-height:56px;font-size:18px}
.button.compact{min-height:42px;padding:9px 23px}
.hero{min-height:850px;height:min(100svh,1060px);position:relative;display:flex;align-items:center;isolation:isolate;overflow:hidden;background:#17120d}
.hero-art{position:absolute;inset:0;z-index:-2;background:url('/portal/assets/hero.webp') center 42%/cover no-repeat}
.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#090b0ce8,#0e0e0fc7 27%,#10101046 60%,#10101008),linear-gradient(0deg,#11100e,transparent 35%,#10101035)}
.hero-content{margin:80px 0 75px 9.2%;max-width:600px;padding:40px 0}
.eyebrow{color:#be9b5a;letter-spacing:3px;font-weight:600;font-size:12px;text-transform:uppercase;line-height:1.5;margin:0 0 26px;display:flex;align-items:center;gap:16px}
.eyebrow-rule{width:34px;height:1px;background:#be9b5a}
.hero h1{font-weight:400;font-size:clamp(50px,5.3vw,82px);line-height:1.08;letter-spacing:-1.6px;margin:0 0 30px;max-width:580px;text-wrap:balance;color:#f1e7d4;white-space:pre-line;text-shadow:0 3px 35px #0007}
.hero-description{font-size:19px;line-height:1.75;color:#bfb6a4;max-width:390px;margin:0 0 32px;text-wrap:pretty}
.hero-actions{display:flex;gap:13px;flex-wrap:wrap}
.hero-status{display:flex;align-items:center;gap:9px;font-size:12px;color:#a59b86;margin-top:25px;flex-wrap:wrap}
#status-dot{height:5px;width:5px;background:#987959;display:inline-block;border-radius:100%;flex-shrink:0}
#status-dot.online{background:#96ad70}
.status-divider{height:12px;border-left:1px solid #74624177;margin:0 5px}
.hero-bottom{position:absolute;bottom:0;left:4.6%;right:4.6%;height:110px;border-top:1px solid #b6924b40;display:flex;align-items:center;gap:65px}
.hero-realm{font-size:24px;letter-spacing:6px;color:#cfb37a}
.hero-bottom dl{display:flex;gap:55px;margin:0}
.hero-bottom dt{font-size:14px;color:#8f8676;letter-spacing:1px;margin-bottom:3px}
.hero-bottom dd{margin:0;font-size:19px;color:#d6c8ac}
.hero-more{margin-left:auto;color:#b49b68;font-size:14px;border-bottom:1px solid #7e673e;padding-bottom:4px}
.section{max-width:1200px;margin:auto;padding:100px 35px}
.realm-section{display:grid;grid-template-columns:1fr 1fr;gap:110px;align-items:start}
.realm-copy .eyebrow{margin-bottom:15px}
h2{font-size:43px;font-weight:400;line-height:1.18;letter-spacing:-.6px;margin:0 0 25px;color:#e8ddc7}
.section-lead{color:#a99f8c;font-size:18px;line-height:1.9;margin:0 0 28px}
.underlined-link{background:none;padding:0 0 4px;border-bottom:1px solid #75603a;color:#c7a765;font-size:14px}
.realm-ledger{border-top:1px solid #63503199}
.realm-ledger>div{padding:22px 0;border-bottom:1px solid #63503177;display:grid;grid-template-columns:105px 1fr;gap:20px;align-items:baseline}
.realm-ledger>div>span{color:#aa9b81;font-size:14px}
.realm-ledger p{margin:0;font-size:16px;color:#d7c9ae}
.adventure-section{margin:0 auto;max-width:1400px;display:grid;grid-template-columns:1.15fr 1fr;background:#191610;border-block:1px solid #5e4e2f66;min-height:440px}
.adventure-image{overflow:hidden;position:relative;min-height:440px}
.adventure-image img{width:100%;height:100%;max-height:550px;object-fit:cover;object-position:center 55%;filter:saturate(.73) brightness(.75)}
.adventure-image:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 65%,#191610)}
.adventure-copy{align-self:center;padding:55px 60px}
.adventure-copy h2{font-size:40px;white-space:pre-line}
.adventure-copy>p:not(.eyebrow){color:#a99f8c;font-size:17px;max-width:330px;margin:0 0 30px}
.adventure-copy .eyebrow{margin-bottom:20px}
.faq-section{display:grid;grid-template-columns:.85fr 1.3fr;gap:100px;padding-block:110px}
.faq-section h2{font-size:36px}
.muted{color:#a99d87;font-size:16px;line-height:1.7}
.faq-list{border-top:1px solid #51452e}
details{border-bottom:1px solid #51452e;padding:19px 0}
summary{font-size:16px;list-style:none;position:relative;padding-right:32px;color:#cdbfa5}
summary::-webkit-details-marker{display:none}
summary:after{content:'+';position:absolute;right:5px;color:#ac8c50;font-size:20px;top:-4px}
details[open] summary:after{content:'−'}
details p{color:#a99d87;font:16px/1.85 Arial,sans-serif;margin:17px 35px 3px 0}
footer{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:25px;padding:42px 4.6% 28px;border-top:1px solid #4d402966;background:#0c0c0b}
footer .brand-word{font-family:Georgia,serif;font-size:26px}
footer>p{font-size:12px;color:#746d60}
footer>div{display:flex;gap:24px;font-size:14px;color:#a3967a;align-items:center}
footer small{grid-column:1/-1;font-size:12px;color:#625c50;border-top:1px solid #3d342544;padding-top:18px;margin-top:3px}
dialog{background:#191713;color:#d5c9b2;border:1px solid #8c6e3d;border-radius:3px;padding:42px;width:min(480px,calc(100vw - 32px));max-height:calc(100svh - 40px);overflow-y:auto;box-shadow:0 25px 100px #000b,inset 0 0 0 5px #0c0b0980}
dialog::backdrop{background:#050606d9;backdrop-filter:blur(7px)}
dialog h2{font-size:32px;margin-bottom:15px}
dialog h3{font-size:19px;font-weight:400;margin:0;color:#d9c6a0}
dialog .eyebrow{font-size:12px;margin-bottom:13px}
.close{position:absolute;right:15px;top:10px;font:26px/1 Arial,sans-serif;color:#aa936c;background:none;padding:4px}
.close:hover{color:#f1d9a8}
dialog>p:not(.eyebrow){font:16px/1.7 Arial,sans-serif;color:#a69a84}
label{display:block;font-family:Arial,sans-serif;font-size:14px;color:#b3a48a;margin:19px 0 0}
label>span{display:block;margin-bottom:7px}
input:not([type=checkbox]){display:block;width:100%;border:1px solid #594b34;background:#100f0d;min-height:44px;color:#eee0c3;padding:10px 13px;outline-offset:1px;font-family:Arial,sans-serif;font-size:16px;border-radius:2px}
input:not([type=checkbox]):focus{border-color:#a2834c}
.register-only{display:none}
#auth-dialog.register .register-only{display:block}
#auth-dialog.register .consent{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.6}
input[type=checkbox]{accent-color:#a98444}
form>.button{width:100%;margin-top:20px}
#auth-error,#security-message,#characters-message,#ranking-message,#action-message{font:16px/1.7 Arial,sans-serif;color:#d39c7f}
#auth-error:empty,#security-message:empty,#characters-message:empty,#ranking-message:empty,#action-message:empty{display:none}
.auth-switch{padding-top:18px;border-top:1px solid #57462d66;text-align:center;font:14px Arial,sans-serif;color:#b3a48a}
#auth-switch{color:#cbae70;margin-left:6px}
#forgot-password{font-size:14px;margin-top:18px;color:#9c8d71}
#auth-description{font:16px/1.7 Arial,sans-serif;color:#9b907c}
.wide-dialog{width:min(1050px,calc(100vw - 40px));padding:38px 42px}
.panel-heading{padding:0 0 25px;border-bottom:1px solid #66503177;margin-bottom:28px}
.panel-heading h2{font-size:35px;margin-bottom:9px}
.panel-heading>p:last-child{color:#b0a18a;font-size:16px;margin:0}
.account-layout{display:grid;grid-template-columns:1.75fr 1fr;gap:35px}
.subheading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}
.subheading>span{font-size:12px;color:#80745e}
.account-settings{border-left:1px solid #66503166;padding-left:30px}
.account-settings>section{padding:20px 0;border-bottom:1px solid #66503166}
.setting-label{font-size:14px;color:#c3af85;margin:0 0 8px}
.account-settings p{font:16px/1.65 Arial,sans-serif;margin:8px 0;color:#b0a18a}
.account-settings .button{font-size:14px;min-height:44px;padding:9px 14px;margin-top:10px}
.account-settings>a.button{display:flex;margin-top:25px;font-size:14px}
.logout-button{font-size:14px;display:block;margin:18px auto 0;color:#b7a27c}
.character-row{display:grid;grid-template-columns:62px 1fr auto;gap:15px;align-items:center;padding:18px 0;border-bottom:1px solid #57472c77}
.character-portrait{width:58px;height:70px;object-fit:contain;background:#100f0d;border:1px solid #4e422e;padding:3px}
.character-name{font-size:19px;margin:0 0 4px;color:#e4d4b4;overflow-wrap:anywhere}
.character-meta{font-size:14px;color:#b4a589;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.empire-flag{display:inline-block;width:22px;height:26px;object-fit:contain;vertical-align:middle}
.character-details{font:14px/1.7 Arial,sans-serif;color:#b0a18a;margin:8px 0 0}
.character-row .button{font-size:14px;min-height:44px;padding:9px 12px}
.character-row details{border:0;padding:6px 0 0}
.character-row summary{font:14px Arial,sans-serif;padding-right:20px;color:#b59c68}
.character-row summary:after{font-size:16px;top:-3px}
.table-scroll{overflow-x:auto}
.ranking-table{width:100%;border-collapse:collapse;text-align:left}
.ranking-table th{font-size:14px;font-weight:400;color:#9d8d6c;padding:10px 13px;border-bottom:1px solid #665031aa}
.ranking-table td{padding:14px 13px;border-bottom:1px solid #57472c66;font-size:16px;white-space:nowrap}
.ranking-table tbody tr:nth-child(-n+3) td:first-child{color:#d3ae63;font-size:22px}
.ranking-identity{display:flex;gap:13px;align-items:center}
.ranking-identity img{height:50px;width:40px;object-fit:contain}
.ranking-identity strong{display:block;font-size:16px;font-weight:400;color:#dfd0b1}
.ranking-identity small{display:block;font:13px Arial,sans-serif;color:#85785f;margin-top:4px}
.ranking-table .empire-cell{display:flex;align-items:center;gap:9px;font-size:14px;color:#b7a583}
.ranking-table .numeric{font-variant-numeric:tabular-nums}
.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:24px;font-size:12px;color:#8e8067}
.pagination button{font-size:14px;color:#c6ab75}
.action-dialog{width:min(500px,calc(100vw - 32px))}
.action-dialog h2{font-size:28px}
.dialog-actions{display:flex;gap:12px;margin-top:26px}
.dialog-actions .button{flex:1}
#action-password-label{margin-top:24px}
#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:min(560px,calc(100vw - 40px));background:#282216;border:1px solid #957744;color:#e6d5b2;box-shadow:0 8px 30px #0009;padding:14px 22px;font:14px/1.6 Arial,sans-serif;z-index:100}
#image-dialog{width:min(1000px,95vw);padding:30px}
#large-image{max-height:85vh;margin:auto}
#content-dialog p{white-space:pre-line;font:16px/1.9 Arial,sans-serif;color:#a99b82}
#content-dialog h2{font-size:30px}

@media(min-width:1700px){.hero-content{margin-left:calc((100vw - 1400px)/2)}
.hero{min-height:900px}
}
@media(max-width:1100px){.site-header{gap:25px}
.header-actions{gap:17px}
nav{gap:18px}
.hero-content{margin-left:7%}
.realm-section{gap:55px}
.faq-section{gap:50px}
.adventure-copy{padding:45px 35px}
.hero-bottom{gap:35px}
.hero-bottom dl{gap:30px}
}
@media(max-width:800px){.site-header{height:78px;padding:0 5%;gap:20px}
.brand-word{font-size:27px}
.brand small{font-size:12px;letter-spacing:3px}
nav{display:none}
.header-actions{margin-left:auto;gap:16px}
.header-actions>.button{display:none}
.language>span:nth-child(2){display:none}
.hero{min-height:740px;height:95svh;max-height:900px}
.hero-content{margin:35px 7% 85px;max-width:490px}
.hero:before{background:linear-gradient(90deg,#0b0d10dc,#0e0e10a6 65%,#10101040),linear-gradient(0deg,#11100e,transparent 45%)}
.hero-art{background-position:62% center}
.hero h1{font-size:59px}
.hero-description{font-size:17px;max-width:330px}
.hero-bottom{height:105px;left:7%;right:7%;gap:25px}
.hero-realm{display:none}
.hero-bottom dl{gap:35px}
.hero-more{font-size:14px}
.hero-bottom dd{font-size:17px}
.section{padding:65px 7%}
.realm-section{grid-template-columns:1fr;gap:35px}
.realm-copy{max-width:520px}
.realm-ledger>div{padding:17px 0}
.adventure-section{margin:0 7%;grid-template-columns:1fr}
.adventure-image{min-height:0;height:280px}
.adventure-image img{object-position:center 50%}
.adventure-image:after{background:linear-gradient(0deg,#191610,transparent 45%)}
.adventure-copy{padding:25px 30px 40px}
.adventure-copy h2{font-size:32px}
.adventure-copy .eyebrow{margin-bottom:12px}
.adventure-copy>p:not(.eyebrow){font-size:16px}
.faq-section{grid-template-columns:1fr;gap:25px}
.faq-section>div>p:last-child{margin-bottom:0}
footer{grid-template-columns:1fr auto;gap:16px;padding:32px 7% 22px}
footer>p{display:none}
footer>div{gap:15px;flex-wrap:wrap;justify-content:flex-end;font-size:14px}
footer small{font-size:12px}
.wide-dialog{padding:30px 24px;width:calc(100vw - 24px)}
.account-layout{grid-template-columns:1fr;gap:30px}
.account-settings{padding-left:0;border-left:0;border-top:1px solid #66503166;padding-top:25px}
.account-settings>section{padding:15px 0}
.account-settings>.button{width:100%}
.ranking-table th,.ranking-table td{padding:10px 8px}
.ranking-table th{font-size:14px}
.ranking-identity{gap:8px}
.ranking-identity img{width:30px;height:40px}
.ranking-identity strong{font-size:14px}
.ranking-table .empire-cell{font-size:14px}
.ranking-table td{font-size:16px}
}
@media(max-width:420px){.hero h1{font-size:48px}
.hero-content{margin-top:55px}
.hero .eyebrow{font-size:12px;letter-spacing:2px}
.hero-description{font-size:16px}
.hero-actions{gap:9px}
.button.large{min-width:145px;font-size:16px;padding:12px 18px}
.hero-bottom dl{gap:25px}
.hero-bottom dt{font-size:14px}
.hero-more{display:none}
.hero-status{font-size:12px}
.status-divider{margin:0 1px}
.section h2{font-size:35px}
.realm-ledger>div{grid-template-columns:80px 1fr;gap:12px}
.realm-ledger p{font-size:16px}
.character-row{grid-template-columns:44px 1fr;gap:12px}
.character-portrait{width:44px;height:58px}
.character-row>.button{grid-column:2;justify-self:start;margin-top:-4px}
.character-name{font-size:17px}
.character-meta{font-size:14px}
dialog{padding:33px 25px}
.hero{min-height:720px}
.brand-word{font-size:25px}
.header-actions{gap:13px}
.account-button{max-width:94px;font-size:14px}
footer{grid-template-columns:1fr}
footer>div{justify-content:flex-start}
footer small{grid-column:1}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*:before,*:after{transition:none!important;animation:none!important}
}

.panel-feedback{font:16px/1.7 Arial,sans-serif;color:#c9d4a1;background:#71844913;border-left:2px solid #879b5c;padding:12px 16px;margin:0 0 24px}.panel-feedback:empty{display:none}

/* Keep enlarged player controls within narrow dialogs and translated layouts. */
.account-layout{grid-template-columns:minmax(0,1.75fr) minmax(0,1fr)}
.account-layout>*{min-width:0}.character-row>div{min-width:0}
.account-settings .setting-label{font-size:14px;color:#cfb986;font-weight:600}
.account-settings .button,.character-row .button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.table-scroll{min-width:0;max-width:100%}
@media(max-width:800px){.account-layout{grid-template-columns:minmax(0,1fr)}.ranking-table{min-width:570px}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{min-width:110px}}

/* Crawlable language links retain the language menu appearance. */
#language-menu a{display:block;padding:10px 14px;color:inherit;text-decoration:none}#language-menu a:hover,#language-menu a:focus-visible{background:#30271c;color:#f5d88b}.seo-languages{flex-basis:100%;font-size:.8rem;line-height:2;color:#c7b488}.seo-languages a{color:inherit;text-decoration:none;white-space:nowrap}.seo-languages a:hover{text-decoration:underline}

.referral-panel{border-top:1px solid #82602c;padding-top:24px;margin-top:28px}.referral-panel h3{color:#e3c17d}.referral-link{display:flex;gap:10px;margin:14px 0}.referral-link input{min-width:0;flex:1;background:#140f0b;border:1px solid #82602c;color:#f2deb2;padding:10px}.ep-table{width:100%;border-collapse:collapse;font-size:.85rem}.ep-table th,.ep-table td{text-align:left;padding:10px 6px;border-bottom:1px solid #584526}.ep-credit td:nth-child(3){color:#9bcb95}.ep-debit td:nth-child(3){color:#e4a196}@media(max-width:600px){.referral-link{flex-direction:column}.ep-table{font-size:.72rem}}

.invite-section{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:50px;border-top:1px solid #5a4426;border-bottom:1px solid #5a4426;background:radial-gradient(ellipse at right,#44251355,transparent 65%)}.invite-section h2{max-width:700px}.invite-section .section-lead{max-width:750px}.invite-action{display:flex;flex-direction:column;align-items:center;gap:24px}.invite-levels{font-family:Georgia,serif;color:#e3c17d;font-size:27px;letter-spacing:2px}.invite-levels span{color:#78572b;padding:0 6px}@media(max-width:800px){.invite-section{grid-template-columns:1fr;gap:20px}.invite-action{align-items:flex-start}.invite-levels{font-size:23px}}

/* Original M2 monogram; keep the wordmark readable at narrow widths. */
.site-header .brand{flex-direction:row;align-items:center;gap:9px}.brand-symbol{width:60px;height:56px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 2px 2px #000)}.brand-lockup{display:flex;flex-direction:column}.brand-lockup small{letter-spacing:4px}@media(max-width:640px){.brand-symbol{width:40px;height:40px}.site-header .brand{gap:5px}.site-header .brand-word{font-size:21px}.brand-lockup small{font-size:9px;letter-spacing:2px}}

footer .brand{flex-direction:row;gap:9px;align-items:center}footer .brand-symbol{width:44px;height:42px}

.site-header .brand-symbol{height:68px;width:60px}footer .brand-symbol{height:52px}@media(max-width:640px){.site-header .brand-symbol{height:48px;width:41px}}

.site-header .brand-symbol{height:60px;width:60px}footer .brand-symbol{height:44px}@media(max-width:640px){.site-header .brand-symbol{height:42px;width:41px}}

#mail-preferences-form select{width:100%;padding:10px;border:1px solid #8c7651;background:#191711;color:#ece3ce;border-radius:4px;margin:8px 0 14px}#mail-preferences-form .consent{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px}#mail-preferences-form input[type=checkbox]{width:auto;flex-shrink:0;margin-top:4px}
