/* Athena2 reference theme. Existing account, shop and Wiki behavior is retained. */
:root{--ref-ink:#10090b;--ref-panel:#1b1012;--ref-gold:#b18349;--ref-light:#efd4a2;--ref-red:#691b16;--ref-muted:#aa8c7f}
body.athena-public{background:#10090b;color:#d4bdaa;font-family:Arial,sans-serif}
body.athena-public::before{background:none}
body.athena-public #main{max-width:none;width:100%;padding:0;margin:0}
.reference-header{position:relative;z-index:30;display:block;padding:0;min-height:0;max-width:none;width:100%;height:66px;border-bottom:1px solid #5e3e30;background:linear-gradient(#211315,#110b0d);box-shadow:0 5px 25px #0009}
.reference-navigation{width:min(1120px,calc(100% - 32px));height:100%;margin:auto;display:grid;grid-template-columns:1fr 160px 1fr;align-items:center;gap:18px}
.reference-navigation nav{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.reference-navigation nav>a{padding:0;border:0;min-width:0;background:none;line-height:1.4;font:11px Georgia,serif;text-transform:uppercase;letter-spacing:.04em;color:#e2cab2;text-decoration:none;white-space:nowrap}
.reference-navigation .realm-navigation{position:static;transform:none;border:0;padding:0;margin:0;width:auto;height:auto;background:none}
.reference-navigation nav>a:hover,.reference-navigation nav>a[aria-current]{color:#ffda91;text-shadow:0 0 15px #e18449}
.reference-navigation .reference-right>.reference-account-nav{display:flex;align-items:center;gap:6px}
.reference-wordmark{position:relative;z-index:2;width:160px;height:74px;display:grid;place-items:center}
.reference-wordmark img{width:156px;height:auto;max-height:none;filter:drop-shadow(0 4px 8px #000)}
.reference-header .realm-menu-toggle{display:none;margin:0!important;order:0;z-index:4;flex-shrink:0}
.reference-header .language-picker{position:relative;color:#e8ceae;font:11px Georgia,serif}
.reference-header .language-picker summary{display:flex;gap:7px;align-items:center;color:#e8ceae;cursor:pointer;list-style:none;white-space:nowrap}
.reference-header .language-picker summary::-webkit-details-marker{display:none}
.reference-header .language-picker .game-languages{position:absolute;top:30px;right:0;z-index:50;width:230px;max-height:calc(100dvh - 84px);overflow-y:auto;overscroll-behavior:contain;padding:12px;background:#190f12;border:1px solid #90653f;box-shadow:0 15px 35px #000b;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.reference-header .game-languages button{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 6px;border:1px solid #54382d;background:#211416;color:#e1c6af;font:11px Arial,sans-serif;cursor:pointer}
.reference-header .game-languages button[aria-pressed=true]{border-color:#d69b4e;background:#45251c}
.reference-header .game-languages img{flex:none}
.reference-home{padding-bottom:70px;background:radial-gradient(ellipse at 50% 65%,#2b1518 0,transparent 62%),#10090b;overflow:hidden}
.reference-hero{height:525px;position:relative;isolation:isolate;max-width:1600px;margin:auto}
.reference-village{width:100%;height:100%;object-fit:cover;object-position:center;position:absolute;inset:0;z-index:-2}
.reference-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#130a0c22,transparent 50%,#130a0c11),linear-gradient(0deg,#10090b 0,transparent 50%)}
.reference-hero-logo{position:absolute;z-index:2;width:540px;height:auto;left:calc(50% - 490px);top:142px;filter:drop-shadow(0 12px 24px #000b)}
.reference-warrior{position:absolute;width:400px;height:600px;object-fit:contain;right:calc(50% - 535px);top:12px;filter:drop-shadow(-12px 3px 18px #0007)}
.reference-layout{position:relative;z-index:3;width:min(1120px,calc(100% - 32px));margin:-95px auto 0;display:grid;grid-template-columns:minmax(0,1fr) 296px;gap:13px;align-items:start}
.reference-primary,.reference-sidebar{min-width:0;display:grid;gap:14px}
.reference-start{display:grid;grid-template-columns:244px minmax(0,1fr);gap:5px;min-height:231px}
.reference-shortcuts{display:grid;grid-template-rows:116px 1fr;gap:5px}
.reference-gold{position:relative;display:flex;align-items:center;justify-content:center;gap:14px;padding:15px;border:3px double #f6c279;border-radius:0;background:radial-gradient(ellipse at 15% 10%,#ffe3a5aa,transparent 70%),linear-gradient(135deg,#e4aa51,#b36c27 50%,#e4ac50);box-shadow:inset 0 0 0 2px #8b4c20,inset 0 0 24px #ffe7b833,0 5px 20px #0004;color:#391b0e!important;text-decoration:none!important;cursor:pointer;transition:filter .2s}
.reference-gold:hover{filter:brightness(1.12)}
.reference-gold strong{display:block;font:700 14px Georgia,serif;text-transform:uppercase}
.reference-gold small{display:block;font:10px/1.5 Arial,sans-serif;margin-top:5px}
.reference-register{padding:14px 12px;justify-content:flex-start}
.reference-coin{font:48px Georgia,serif;color:#743812;text-shadow:1px 1px #ffe9a8}
.reference-shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.reference-shortcut-grid>a{display:flex;gap:9px;align-items:center;background:linear-gradient(130deg,#541b19,#201014);border:1px solid #72412d;padding:9px;color:#ddc6a8;text-decoration:none;min-width:0}
.reference-shortcut-grid>a:nth-child(3n){background:linear-gradient(130deg,#32201b,#160e10)}
.reference-shortcut-grid strong{font-size:10px;line-height:1.35;text-transform:uppercase}
.reference-shortcut-grid span{font:27px Georgia,serif;color:#e3a74e}
.reference-intro{position:relative;isolation:isolate;min-height:231px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:22px;border:1px solid #66412e;overflow:hidden;color:#f5dfbc;text-decoration:none;text-align:center;background:#160d10}
.reference-intro::before{content:"";position:absolute;inset:-6px;z-index:-2;background:url('/assets/athena-reference/athena-twilight-village-v1.png') center/cover;filter:blur(2px);opacity:.6;transition:transform .5s}
.reference-intro::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#140b0fe8,transparent)}
.reference-intro:hover::before{transform:scale(1.05)}
.reference-play-symbol{display:grid;place-items:center;width:50px;height:50px;padding-left:3px;border:1px solid #d5aa6b88;border-radius:50%;background:#1c10167a;font-size:20px}
.reference-intro>strong{font:18px Georgia,serif}.reference-intro>span:last-child{font-size:11px;color:#d5bca7}
.reference-board{position:relative;border:1px solid #5a372a;background:repeating-linear-gradient(132deg,#ffffff02 0 1px,transparent 1px 6px),linear-gradient(110deg,#211215,#160d0f);box-shadow:0 10px 24px #0003}
.reference-board::after{content:"◆";position:absolute;bottom:-8px;left:18px;color:#b87b3b;font-size:12px;text-shadow:0 0 8px #000;pointer-events:none}
.reference-board-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:12px 17px;border-bottom:1px solid #65402c;background:linear-gradient(90deg,#521815,#250e12)}
.reference-board-heading h1,.reference-board-heading h2{margin:0;font:11px/1.5 Georgia,serif;text-transform:uppercase;letter-spacing:.03em;color:#f4dec0}
.reference-board-heading>a{font:10px Georgia,serif;color:#ddba8a;text-decoration:none;white-space:nowrap}
.reference-news-tabs{display:flex;justify-content:flex-end;gap:24px;padding:20px 23px 0;font:10px Georgia,serif;text-transform:uppercase}
.reference-news-tabs a{color:#b79b86;text-decoration:none}.reference-news-tabs a:hover{color:#ffd697}
.reference-post{padding:28px 23px 23px;margin:0 22px;border-bottom:1px solid #67412e;display:flow-root}
.reference-post>header{display:flex;gap:14px;align-items:center}.reference-post>header>img{width:56px;height:56px;object-fit:cover;object-position:center 10%;border:1px solid #a37a4c;background:#120c10;flex:none}
.reference-post h2{font:13px/1.5 Georgia,serif;margin:0 0 6px;color:#eed5ad}.reference-post h2 a{color:inherit;text-decoration:none}
.reference-post time,.reference-post header>div>span{font-size:10px;color:#a98b73}
.reference-post>p{font:12px/1.9 Arial,sans-serif;color:#b49888;margin:22px 0 17px}
.reference-post-art{display:block;margin:16px 0}.reference-post-art>img{width:100%;height:180px;object-fit:cover;border:1px solid #65402e}
.reference-read-more{display:block;width:max-content;max-width:100%;padding:8px 13px;border:1px solid #674334;background:linear-gradient(#35221f,#1a1013);color:#ead2b7;text-decoration:none;font:10px Georgia,serif;text-transform:uppercase}
.reference-post>.reference-read-more{float:right}.reference-news-more{display:block;text-align:center;padding:25px;color:#caa073;font:10px Georgia,serif;text-transform:uppercase;text-decoration:none}
.reference-account{padding-bottom:16px}.reference-account form{padding:19px 22px 10px;display:grid;gap:14px}.reference-account label{display:grid;gap:7px;color:#b79883;font:11px Arial,sans-serif}
.reference-account input{width:100%;min-height:34px;border:1px solid #50342b;background:#130c0e;color:#eedfc9;padding:7px 10px;border-radius:0;box-shadow:inset 0 3px 8px #0003}
.reference-account form>.reference-gold{justify-self:end;min-width:104px;padding:8px 13px;font:11px Georgia,serif;border-width:1px}
.reference-account-link{display:block;font:10px/1.5 Arial,sans-serif;color:#b4937b;margin:12px 22px;text-decoration:none}
.reference-account-link:hover{color:#ffdb9c}.reference-signed-in{text-align:center;color:#efd9af;font:20px Georgia,serif;margin:22px}.reference-account>.reference-gold{margin:0 22px;padding:10px;font:12px Georgia,serif}
.reference-presentation-link{min-height:108px;text-align:left;justify-content:flex-start}.reference-presentation-link>span:first-child{font:45px Georgia,serif}.reference-presentation-link strong{font-size:13px}
.reference-ranking{padding-bottom:18px}.reference-ranking table{width:calc(100% - 28px);margin:10px 14px 18px;border-collapse:collapse;font-size:10px}
.reference-ranking th{font-weight:400;color:#9e7c69;text-align:left;font-size:9px;padding:10px 3px;border-bottom:1px solid #56352b}
.reference-ranking td{padding:9px 3px;border-bottom:1px solid #50302877;vertical-align:middle}.reference-ranking td:nth-child(2){max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reference-ranking td:last-child,.reference-ranking th:last-child{text-align:right}.reference-ranking td a{color:#d2aa72;text-decoration:none}
body.athena-public .reference-ranking thead,body.athena-public .reference-ranking th{background:#211315;color:#b69879;font:9px/1.4 Arial,sans-serif}
body.athena-public .reference-ranking td{font:11px/1.4 Arial,sans-serif;padding:8px 3px}
.reference-empire-1{color:#d37161}.reference-empire-2{color:#deb754}.reference-empire-3{color:#6fa2d3}
.reference-ranking>.reference-read-more{margin-left:auto;margin-right:17px}.reference-ranking-error{font-size:11px;padding:14px}
body.athena-public .reference-account form{margin:0;padding:18px 22px 10px}
body.athena-public .reference-account form label{margin:0;font:11px/1.4 Arial,sans-serif;display:grid;gap:7px}
body.athena-public .reference-account input{margin:0;height:34px;min-height:34px;box-sizing:border-box}
body.athena-public .reference-account form>button.reference-gold{height:32px;min-height:0;font:11px/1 Georgia,serif;padding:8px 13px}
.reference-sidebar-play{padding:17px;text-align:center;border:1px solid #bf8645;background:linear-gradient(#6e2919,#2b1514);color:#ffe0a4;font:12px Georgia,serif;text-decoration:none}
.reference-access-grid{display:grid;grid-template-columns:1fr 1fr}.reference-access-grid>a{padding:23px;color:#ccac8e;text-decoration:none}.reference-access-grid>a+a{border-left:1px solid #56372d}.reference-access-grid strong{display:block;font:13px Georgia,serif;color:#e6c395}.reference-access-grid span{display:block;font:11px/1.7 Arial,sans-serif;margin-top:12px}
body.reference-inner{background:linear-gradient(#140b1044,#10090b 480px),url('/assets/athena-reference/athena-twilight-village-v1.png') center 0/1600px auto no-repeat,#10090b}
body.reference-inner #main{width:min(1120px,calc(100% - 32px));margin:50px auto 70px;min-height:55vh}
body.reference-inner .button,body.reference-inner button:not(.realm-menu-toggle):not(.game-languages button){border-color:#93663e;background:linear-gradient(#513021,#281415);color:#efd6af;border-radius:0}
body.reference-inner input,body.reference-inner select,body.reference-inner textarea{background:#180f12;color:#ead6c2;border-color:#634532}
body.reference-inner :is(.card,.panel,.login-card,.shop-product,.wiki-card,.product,.access-card,.system-card,.empty,.news-card){background:linear-gradient(120deg,#281519,#170d11);border:1px solid #795338;border-radius:0;box-shadow:0 8px 25px #0005}
body.reference-inner .login-scene{background:linear-gradient(110deg,#25131be8,#130b10ed);border:1px solid #583b2b;gap:50px;min-height:620px}
body.reference-inner .button.gold{background:linear-gradient(135deg,#edb65f,#b16e2e);color:#371b10;border:3px double #f4c680;box-shadow:inset 0 0 0 1px #875026}
body.reference-inner th{background:#29171a;color:#d3ad7f;border-color:#6b4733}
body.reference-inner .chip.active{background:#6d331f;border-color:#c29251;color:#ffe2aa}
.realm-event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}
.athena-public .site-footer{margin:0;background:radial-gradient(ellipse at 50% 70%,#2c1719,transparent 60%),#0d080a;border-top:1px solid #3d261f;padding:45px max(20px,calc((100% - 1120px)/2)) 22px;color:#a78a70}
.athena-public .footer-columns{max-width:1120px;grid-template-columns:1.3fr 1fr 1fr;gap:40px;border:none}.athena-public .footer-brand .wordmark img{width:190px;height:auto}.athena-public .footer-brand p{font-size:11px;line-height:1.8}
.athena-public .footer-links h2{font:12px Georgia,serif;color:#e2c39a}.athena-public .footer-links a{font-size:11px;color:#ae8c72}.athena-public .footer-legal{display:flex;gap:20px;border-top:1px solid #3d261f;margin-top:25px;padding-top:20px}.athena-public .footer-legal .button{font-size:10px;background:none;border:0;box-shadow:none;padding:0;color:#c7a37f}.athena-public .site-footer>small{display:block;font-size:9px;margin-top:22px;color:#937259}.athena-public .site-footer>small a{color:inherit}
.reference-presentation{max-width:960px;margin:auto;background:linear-gradient(110deg,#241315ee,#100a0eed);border:1px solid #815a38;box-shadow:0 10px 50px #0008;padding:45px 58px}
.reference-presentation-hero{text-align:center;border-bottom:1px solid #77502e;padding-bottom:34px}.reference-presentation-hero>img{width:min(450px,100%);height:auto;margin:0 auto 20px;display:block}.reference-presentation-hero>h1{font:22px Georgia,serif;text-transform:uppercase;letter-spacing:.08em;color:#f5dba9}.reference-presentation-hero>p{font-size:13px;line-height:1.9;color:#c9ab8b;max-width:680px;margin:20px auto}
.reference-feature-section{padding:34px 0;border-bottom:1px solid #67442b}.reference-feature-section>h2{display:flex;align-items:center;justify-content:center;gap:18px;font:19px Georgia,serif;color:#edcc95;text-align:center}.reference-feature-section>h2::before,.reference-feature-section>h2::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,#906237)}.reference-feature-section>h2::after{transform:rotate(180deg)}.reference-feature-section>p{font:13px/2 Arial,sans-serif;color:#c2a488;text-align:center;max-width:720px;margin:22px auto}.reference-feature-art{width:100%;height:180px;object-fit:cover;border:1px solid #996a3b;margin:15px 0}
.reference-feature-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.reference-feature-stats>div{text-align:center;border:1px solid #66462e;padding:18px 9px;background:#160e11}.reference-feature-stats strong{display:block;color:#f2d298;font:25px Georgia,serif}.reference-feature-stats span{font-size:11px;color:#a98b71;display:block;margin-top:9px}
.reference-feature-section ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:15px 25px;padding:0;font:12px/1.8 Arial,sans-serif}.reference-feature-section li::before{content:"◆";color:#b95436;margin-right:8px}.reference-presentation-actions{display:flex;gap:15px;justify-content:center;padding-top:32px}.reference-presentation-actions a{min-width:180px}
@media(min-width:1600px){.reference-hero{height:560px}.reference-hero-logo{top:165px}}
@media(max-width:1000px){.reference-navigation{gap:10px;grid-template-columns:1fr 130px 1fr}.reference-wordmark{width:130px}.reference-wordmark img{width:130px}.reference-navigation nav{gap:10px}.reference-navigation nav>a{font-size:10px}.reference-layout{grid-template-columns:minmax(0,1fr) 270px}.reference-start{grid-template-columns:1fr}.reference-intro{min-height:160px}.reference-shortcuts{grid-template-columns:1fr 1fr;grid-template-rows:1fr;min-height:120px}.reference-hero-logo{left:7%;width:480px}.reference-warrior{right:0;width:360px}.reference-post{margin:0 10px;padding:24px 16px}.reference-shortcut-grid>a{padding:8px}.reference-post h2{font-size:12px}}
@media(max-width:760px){.reference-header{height:65px}.reference-navigation{display:flex;justify-content:space-between;position:relative}.reference-header .realm-menu-toggle{display:flex;position:static;flex:none;width:38px;height:38px;padding:8px;border:1px solid #79512f;background:#251317}.reference-wordmark{position:absolute;left:50%;transform:translateX(-50%);height:65px;pointer-events:auto}.reference-navigation .reference-left{display:none;position:absolute;top:65px;left:0;right:0;background:#1c1014;padding:20px;flex-direction:column;align-items:flex-start;border:1px solid #725033}.reference-navigation .reference-left.is-open{display:flex}.reference-navigation .reference-right{margin-left:auto}.reference-right>a{display:none}.reference-layout{grid-template-columns:1fr;margin-top:-70px}.reference-sidebar{grid-template-columns:1fr 1fr;align-items:start}.reference-account{grid-row:span 2}.reference-ranking{grid-column:2}.reference-sidebar-play{grid-column:1/-1}.reference-presentation-link{min-height:92px}.reference-hero{height:430px}.reference-hero-logo{left:4%;width:430px;max-width:70%;top:130px}.reference-warrior{width:300px;height:450px;right:-40px;top:15px}.reference-start{grid-template-columns:244px minmax(0,1fr)}.reference-shortcuts{display:grid;grid-template-columns:1fr;grid-template-rows:110px 1fr}.reference-intro{min-height:225px}.reference-presentation{padding:28px 22px}.reference-presentation-actions{flex-wrap:wrap}.reference-feature-section>h2{font-size:17px}.reference-feature-section ul{grid-template-columns:1fr}.athena-public .footer-columns{gap:22px}.reference-post-art>img{height:auto}}
@media(max-width:500px){.reference-hero{height:360px}.reference-hero-logo{top:115px;left:5%;max-width:80%;width:360px}.reference-warrior{width:230px;height:345px;right:-50px;opacity:.8;top:10px}.reference-layout{width:calc(100% - 22px);gap:14px}.reference-start{grid-template-columns:1fr}.reference-shortcuts{grid-template-columns:1fr 1fr;grid-template-rows:1fr;min-height:120px}.reference-register{padding:12px 9px;gap:7px}.reference-coin{font-size:34px}.reference-gold strong{font-size:12px}.reference-shortcut-grid strong{font-size:9px}.reference-shortcut-grid span{font-size:21px}.reference-shortcut-grid>a{gap:5px;padding:7px}.reference-intro{min-height:165px}.reference-sidebar{grid-template-columns:1fr}.reference-account,.reference-ranking,.reference-sidebar-play{grid-column:auto;grid-row:auto}.reference-news-tabs{gap:18px;padding:20px 14px 0;font-size:9px}.reference-board-heading{padding:12px 14px}.reference-post{margin:0 6px;padding:22px 11px}.reference-post>p{font-size:12px}.reference-access-grid{grid-template-columns:1fr}.reference-access-grid>a+a{border-left:0;border-top:1px solid #56372d}.athena-public .footer-columns{grid-template-columns:1fr 1fr}.athena-public .footer-brand{grid-column:1/-1}.athena-public .footer-legal{flex-wrap:wrap}.reference-feature-stats{gap:6px}.reference-feature-stats strong{font-size:21px}.reference-feature-stats span{font-size:10px}.reference-presentation{padding:25px 16px}.reference-presentation-hero>h1{font-size:18px}}
@media(prefers-reduced-motion:reduce){.reference-intro::before,.reference-gold{transition:none}}
@media(max-width:500px){.reference-account-nav>span{display:none}}
.athena-public .site-footer>small{border-color:#3d261f}

/* Exact inherited emerald palette replacements. Status and empire colours retained. */
.button.glass{background:#15111266}
.hero-shade{background:linear-gradient(90deg,#120e0fe8 0%,#140e0f99 43%,#120e0f00 80%),linear-gradient(0deg,#0e0c09,transparent 28%)}
.wiki-tabs a[aria-current]{color:#191213}
.athena-public .site-top .header-register{color:#1f1719}
.athena-public .site-top .header-register:hover{color:#100a0b}
.access-card,.system-card{border:1px solid #6f5358;background:radial-gradient(ellipse at top left,#4e363a70,transparent 80%),#1d1315}
.access-card p,.system-card p,.start-steps p,.server-faq p{color:#c8c0b9}
.server-faq details{border-bottom:1px solid #5c484c}
body.athena-public{background:linear-gradient(#1e0c0fe6,#16090bec),url('/assets/imperial/jade-surface.webp'),#210e11}
.realm-header{background:linear-gradient(#391c22,#1a0b0e);border-bottom:1px solid #927c6a}
.realm-brand>span>span{color:#9a8778}
.realm-navigation>a small{color:#ad9988}
.realm-navigation>a:hover,.realm-navigation>a[aria-current]{background:linear-gradient(transparent,#c0a08522)}
.realm-login{background:linear-gradient(#a39080,#563a3f);border:1px solid #c7b2a1;box-shadow:inset 0 0 0 3px #bba69530}
.realm-account .language-picker{border:1px solid #8e7a69;background:#200f12}
.realm-account .game-languages{border:1px solid #a38b78;background:#200e11}
.realm-account .game-languages button:hover,.realm-account .game-languages button[aria-pressed=true]{background:#836c5a55}
.realm-hero:after{background:linear-gradient(0deg,#1b090ce6,transparent 40%)}
.realm-hero-title>span{color:#beb2a8}
.realm-play{background:linear-gradient(120deg,#b59e8c,#714f55);color:#1e0d10}
.realm-register{background:linear-gradient(120deg,#532c33,#270f14)}
.realm-statistics{background:linear-gradient(#311b1f,#200e11);border:1px solid #684c51}
.realm-statistics>div{border-right:1px solid #5f474c}
.realm-news-grid .news-card{border:1px solid #644a4f;background:#261417}
.realm-news-grid .text-link{border-top:1px solid #5e4549}
.realm-champions .champion{background:radial-gradient(ellipse at 50% 30%,#7a4f5644,#210f12 70%);border-color:#77555b}
.realm-join{background:linear-gradient(#2b1015e0,#1c0a0de6),url('/assets/athena2-dawn.png') center/cover;border-top:1px solid #735258}
.site-footer{background:#170a0c;border-color:#60464b}
.site-footer small{border-top:1px solid #452f33}
.login-scene{background:linear-gradient(90deg,#250d11ea,#220f12d9),url('/assets/athena-realm-hero.webp') center/cover}
.login-card{background:#2a1418ed}
.realm-menu-toggle{background:#391c22}
.realm-navigation{background:#240e12fb}
.athena-public .panel,.athena-public .form-panel,.athena-public .product,.athena-public .shop-note,.athena-public .wiki-entry,.athena-public .feature,.athena-public .champion{background:linear-gradient(145deg,#351c20,#221013);border-color:#664a4f}
.athena-public .categories>a[aria-current],.athena-public .pill{background:#482c31;border-color:#7b595f}
.athena-public input,.athena-public textarea,.athena-public select{background:#1c0b0e;border-color:#5e4247}
.athena-public th{background:#361d21}
.athena-public th,.athena-public td{border-color:#543d41}
.athena-public .news-card,.athena-public .news-article{background:#271417;border-color:#634b4f}
.athena-public .page-heading{background:radial-gradient(ellipse at top,#472b30,transparent 70%)}
.athena-public .button.gold{background:linear-gradient(#c0a894,#907865);color:#211315;border:1px solid #d2baa6}
.royal-podium .champion-rank{background:linear-gradient(#42282ded,#241014ed);box-shadow:inset 0 0 0 3px #c0a89413,0 3px 12px #0006}
.royal-podium .champion-stage{background:radial-gradient(ellipse at 50% 55%,#65484d40,transparent 65%)}
.royal-podium .champion-copy{border-color:#604449}
.legal-document{background:linear-gradient(135deg,#271417,#1a0d10);border:1px solid #5f484c}
.legal-document section+section{border-top:1px solid #453135}
.legal-signoff{border-top:1px solid #5f484c}
.registration-terms{border:1px solid #5b4246}
.wiki-family{border:1px solid #4f3c40;background:#221316}
.wiki-upgrades{border-top:1px solid #4f3c40}
.wiki-upgrades a{border:1px solid #5e4147;background:#301c20}
.wiki-upgrades a:hover,.wiki-upgrades a[aria-current=page]{background:#563b40}
.realm-menu-toggle{background:#391c22}
.realm-navigation{background:#240e12fb}
/* Reference restoration: ruby lacquer, engraved gold and the complete portal navigation. */
:root{--bg:#10090b;--card:#211215;--card2:#30191c;--line:#765334;--txt:#ead4b5;--muted:#b99b81;--gold:#c69856;--gold2:#f0d2a0}
body.athena-public:not(.reference-inner){background:#10090b}
body.athena-public.reference-inner{background:linear-gradient(#140b1044,#10090b 480px),url('/assets/athena-reference/athena-twilight-village-v1.png') center 0/1600px auto no-repeat,#10090b}
.reference-register>img{width:44px;height:44px;flex:none;filter:drop-shadow(0 2px 3px #0008)}.reference-presentation-link>img{width:50px;height:50px;flex:none;filter:drop-shadow(0 2px 3px #0008)}
.reference-header{height:104px;border-bottom:3px double #ac783e;background:repeating-linear-gradient(120deg,#21101308 0 2px,#0002 2px 3px),linear-gradient(#2d171b,#10090c);box-shadow:0 3px 0 #291a11,0 8px 28px #000b}
.reference-utility{height:33px;max-width:1120px;margin:auto;display:flex;align-items:center;gap:24px;justify-content:flex-end;border-bottom:1px solid #88603955;font:10px Georgia,serif;letter-spacing:.08em;text-transform:uppercase}
.reference-utility a{color:#c9ab85;text-decoration:none}.reference-utility a:hover{color:#ffdf9c}.reference-utility a:first-child{margin-right:auto}
.reference-navigation{height:68px;grid-template-columns:1fr 180px 1fr}.reference-wordmark{width:180px;height:87px}.reference-wordmark img{width:180px;filter:drop-shadow(0 0 8px #b35f2155) drop-shadow(0 5px 8px #000)}
.reference-navigation nav>a{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#f1d6b4;text-shadow:1px 2px #000}
.reference-navigation nav>a::before{content:"✥";color:#c39659;font-size:16px}.reference-navigation .reference-account-nav::before{display:none}
.reference-mobile-extra{display:none!important}.reference-right{flex-wrap:nowrap}.reference-navigation .reference-right{gap:12px}
.reference-board{position:relative;border:3px double #a47543;outline:1px solid #372019;outline-offset:3px;background:repeating-linear-gradient(115deg,transparent 0 2px,#c3905b04 2px 3px),radial-gradient(ellipse at 50% 0,#4b252033,transparent 65%),#1b1012;box-shadow:inset 0 0 0 3px #0a0608,inset 0 0 35px #0007,0 10px 22px #0008}
.reference-board::before,.reference-board::after{content:"";position:absolute;width:37px;height:37px;z-index:4;pointer-events:none;background:url('/assets/athena-reference/gold-corner-v2.svg') center/contain no-repeat;top:-10px;left:-10px}
.reference-board::after{left:auto;right:-10px;transform:scaleX(-1)}
.reference-board-heading{background:linear-gradient(#64271d,#351014 50%,#190c10);border-top:1px solid #d4a65b;border-bottom:3px double #a1733d;box-shadow:inset 0 0 16px #000a;padding:16px 20px}
.reference-board-heading h1,.reference-board-heading h2{color:#f4d7a1;text-shadow:0 2px 2px #000;letter-spacing:.055em}
.reference-layout{gap:22px}.reference-primary,.reference-sidebar{gap:22px}.reference-post{border:1px solid #60402e;margin:22px 20px;padding:22px;background:linear-gradient(110deg,#28161977,#10080b88);position:relative}.reference-post::before{content:"◆";position:absolute;left:-4px;top:-9px;color:#e5aa5f;font-size:11px}
.reference-gold{background:radial-gradient(ellipse at 20% 0,#fff4bbaa,transparent 75%),repeating-linear-gradient(130deg,#ffd18b15 0 1px,transparent 1px 5px),linear-gradient(135deg,#e8b960,#a66121 55%,#efb254);border:4px double #ffe1a1;box-shadow:inset 0 0 0 2px #6b3818,inset 0 0 30px #ffd28d77,0 0 0 1px #6e401f,0 4px 14px #0009}
.reference-shortcut-grid>a{border:3px double #a5723f;box-shadow:inset 0 0 13px #000b;background:linear-gradient(135deg,#6e2119,#260c12);text-shadow:0 2px #000}.reference-shortcut-grid>a:nth-child(n+3){background:linear-gradient(135deg,#704825,#251315)}
.reference-shortcut-grid span,.reference-presentation-link>span:first-child,.reference-coin{filter:drop-shadow(0 2px 2px #0009);color:#ffda8c}.reference-shortcut-grid img{width:32px;height:32px;object-fit:contain;filter:drop-shadow(0 2px 3px #000);flex-shrink:0}
.reference-intro{border:3px double #956238;box-shadow:inset 0 0 0 3px #130a0d,0 4px 20px #0009}.reference-intro strong{color:#f6d594;text-shadow:0 2px 3px #000}.reference-read-more{border:3px double #9a6b3f;background:linear-gradient(#4c2820,#1b1012);color:#f0c995}
.reference-hero{height:570px}.reference-hero-logo{top:145px;width:570px;left:calc(50% - 510px)}.reference-warrior{width:430px;height:645px;top:0;right:calc(50% - 550px)}.reference-layout{margin-top:-100px}
.athena-public .site-footer{border-top:3px double #ac773c;box-shadow:inset 0 8px 40px #000b;background:radial-gradient(ellipse at 50% 100%,#4a211d55,transparent 65%),#10090b}
/* Retheme inherited public/account surfaces; preserve empire colours and online status. */
body.athena-public :is(.panel,.card,.realm-panel,.content-panel,.account-panel,.wiki-sidebar,.wiki-main,.wiki-section,.realm-news-card,.news-card,.download-card,.feature-card,.system-card,.realm-event-card){background:linear-gradient(120deg,#2a171b,#160d10);border-color:#967044;box-shadow:inset 0 0 18px #0005,0 8px 24px #0006}
body.athena-public :is(.button,.realm-login,.chip,.tab,.tabs>a,.tabs>button,.wiki-tab,.wiki-nav a){background:linear-gradient(#4b2821,#241115);border-color:#997044;color:#ebcd9f}
body.athena-public :is(.chip.active,.tab.active,.tabs>.active,.wiki-nav a.active){background:linear-gradient(#8a462b,#461a1b);border-color:#d6a05a;color:#ffdf9d}
body.athena-public :is(input,select,textarea){background:#1a0f13;border-color:#7d573b;color:#ead5bb}
body.athena-public :is(table,td,th){border-color:#61422f}body.athena-public th{background:#321b1d;color:#e9c38b}body.athena-public tbody tr:nth-child(even){background:#35202444}
body.athena-public :is(.notice,.info,.alert-info,.empty-state){background:#352018;border-color:#b17c43;color:#efd0a1}
.poster-v2{width:100%;max-width:1000px;padding:35px 55px 55px;background:radial-gradient(ellipse at 50% 2%,#8b502b44,transparent 20%),radial-gradient(ellipse at 5% 70%,#802e1533,transparent 40%),repeating-linear-gradient(115deg,#713f1f05 0 1px,transparent 1px 3px),#150c0e;border:3px double #966235;box-shadow:0 0 0 5px #0a0709,0 0 0 6px #4e3020,inset 0 0 65px #000c,0 10px 55px #0009}
.poster-crown{text-align:center}.poster-crown>img{width:min(590px,100%);height:auto;display:block;margin:0 auto -8px;filter:drop-shadow(0 0 24px #e77b1d33)}
.poster-ribbon{background:url('/assets/athena-reference/title-ribbon-v2.png') center 48%/100% 200% no-repeat;min-height:90px;display:flex;align-items:center;justify-content:center;padding:17px 11% 0;font:19px/1.4 Georgia,serif;color:#ffe2a9;text-transform:uppercase;text-shadow:0 2px 2px #000;letter-spacing:.04em;text-align:center;margin:0 -18px 28px}
.poster-brush{position:relative;background:linear-gradient(90deg,#08060744,#080607e8 10%,#080607e8 90%,#08060744);margin:36px 0;padding:24px 32px;box-shadow:inset 0 0 20px #0004}
.poster-brush::before,.poster-brush::after{content:"";position:absolute;width:65px;height:65px;background:url('/assets/athena-reference/gold-corner-v2.svg') center/contain no-repeat;left:-9px;top:-9px;pointer-events:none}.poster-brush::after{top:auto;left:auto;right:-9px;bottom:-9px;transform:rotate(180deg)}
.poster-intro p,.poster-v2 .reference-feature-section>p{font:13px/2.05 Georgia,serif;color:#cfa67a;text-align:center;margin:12px auto;max-width:760px}
.poster-v2 .reference-feature-section{padding:26px 0;border:0;margin:0}.poster-v2 .reference-feature-section>h2{font:17px/1.4 Georgia,serif;text-transform:uppercase;letter-spacing:.035em;color:#f0c78d;margin:10px 0 25px;gap:17px}.poster-v2 .reference-feature-section>h2::before,.poster-v2 .reference-feature-section>h2::after{height:3px;border-bottom:1px solid #8b583455;background:linear-gradient(90deg,transparent,#ad753d)}
.poster-landscape{height:200px;position:relative;margin:28px 0;border:3px double #9c673b;box-shadow:inset 0 0 20px #000,0 0 0 3px #0d0709;clip-path:polygon(0 2%,3% 0,12% 1%,30% 0,53% 1%,73% 0,95% 1%,100% 0,99.5% 22%,100% 58%,99.5% 100%,92% 99%,70% 100%,40% 99%,14% 100%,1% 99%,0 67%)}
.poster-landscape img{width:100%;height:100%;object-fit:cover}.poster-landscape span{position:absolute;bottom:12px;right:10px;background:linear-gradient(90deg,transparent,#10090be8 20%);padding:12px 18px 10px 60px;font:12px Georgia,serif;color:#f5c782;text-shadow:0 2px 3px #000}
.poster-small-logo{display:flex;align-items:center;gap:25px;margin:25px 0}.poster-small-logo::before,.poster-small-logo::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#b78042)}.poster-small-logo::after{transform:rotate(180deg)}.poster-small-logo img{width:180px;height:auto;filter:drop-shadow(0 0 15px #c67c3033)}
.poster-v2 .reference-feature-stats>div{background:linear-gradient(#3d231b55,#10090b);border:3px double #98673c}.poster-v2 .reference-feature-stats{margin-bottom:18px}
.poster-paired-features{display:grid;grid-template-columns:1fr 1fr;gap:32px}.poster-paired-features .reference-feature-section>h2{font-size:14px;display:block;min-height:40px}.poster-paired-features .reference-feature-section>h2::before{content:"◆";display:inline-block;width:12px;height:auto;border:0;background:none;color:#d65730;margin-right:9px}.poster-paired-features .reference-feature-section>h2::after{display:none}.poster-paired-features .reference-feature-section>p{text-align:left;font-size:12px}
.poster-refinement{display:flex;align-items:center;justify-content:center;gap:35px;margin:25px 0 40px}.poster-refinement>div{position:relative;width:94px;height:94px;border-radius:50%;border:3px double #c68b47;background:radial-gradient(#6a362366,#10090b 70%);box-shadow:inset 0 0 0 4px #24130e,0 0 18px #000b;display:grid;place-items:center}.poster-refinement img{height:72px;width:24px;object-fit:contain;filter:drop-shadow(0 0 9px #ffc16577)}.poster-refinement strong{position:absolute;bottom:-24px;color:#e6b971;font:13px Georgia,serif}.poster-refinement>span{color:#cf9348;font-size:22px;text-shadow:0 0 8px #e6862b}
.poster-plates{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:35px 0 10px}.poster-plates a{text-align:center;display:block;padding:13px 6px;border:4px double #c58d43;box-shadow:inset 0 0 0 3px #240b10,inset 0 0 15px #000;background:linear-gradient(#881d1b,#390b15);font:13px Georgia,serif;text-transform:uppercase;color:#ffe1a0;text-decoration:none}.poster-plates a:nth-child(2){background:linear-gradient(#3b3330,#151113);border-color:#a99b7d}.poster-plates a:nth-child(3){background:linear-gradient(#7c187a,#230b30);border-color:#b969cf}
.poster-v2 .reference-feature-section.poster-brush{padding:30px;margin:38px 0}
.poster-portraits{height:310px;display:flex;align-items:flex-end;justify-content:center;margin-top:45px;isolation:isolate}.poster-portrait{position:relative;width:30%;aspect-ratio:1;z-index:1;margin:0 -2%}.poster-portrait::before{content:"";position:absolute;inset:15%;border-radius:50%;background-image:url('/assets/athena-metin2-hero.webp');background-size:500% auto;background-position:25% 0;box-shadow:inset 0 0 35px #000;background-color:#211312}.poster-portrait::after{content:"";position:absolute;inset:0;background:url('/assets/athena-reference/portrait-frame-v2.png') center/contain no-repeat;filter:drop-shadow(0 3px 6px #000)}.portrait-warrior{width:39%;z-index:2;align-self:flex-start}.portrait-warrior::before{background-position:0% 0}.portrait-ninja::before{background-position:87% 0}.poster-final-ribbon{position:relative;z-index:3;margin:-38px 3% 12px;font-size:22px;min-height:100px}
@media(max-width:1000px){.reference-utility{padding:0 20px}.reference-navigation{grid-template-columns:1fr 150px 1fr;gap:13px}.reference-wordmark,.reference-wordmark img{width:150px}.reference-navigation nav>a{font-size:10px}.reference-navigation nav{gap:8px}.reference-navigation nav>a::before{font-size:12px}.reference-hero-logo{left:4%;width:520px}.reference-warrior{right:0;width:410px}.reference-layout{gap:17px}.poster-v2{padding:30px 40px}}
@media(max-width:760px){.reference-header{height:70px}.reference-utility{display:none}.reference-navigation{height:68px;display:flex}.reference-wordmark{height:68px}.reference-header .realm-menu-toggle{background:linear-gradient(#4a231e,#180d11);border:3px double #bd8b4e}.reference-navigation .reference-left{top:68px;padding:15px 20px;max-height:calc(100dvh - 90px);overflow-y:auto;z-index:20;box-shadow:0 10px 25px #000c;background:linear-gradient(#2b1519,#10090d);border:3px double #b58144}.reference-navigation .reference-left.is-open{gap:0;align-items:stretch}.reference-left>a{padding:12px!important;justify-content:flex-start!important;border-bottom:1px solid #81513255!important}.reference-mobile-extra{display:flex!important}.reference-navigation .reference-right>a{display:none}.reference-navigation .reference-right>.reference-account-nav{display:flex}.reference-account-nav>span{display:none}.reference-hero{height:430px}.reference-hero-logo{top:130px;width:430px}.reference-warrior{width:300px;height:450px;right:-30px}.reference-layout{margin-top:-65px;gap:20px}.poster-v2{padding:25px 25px}.poster-ribbon{font-size:15px;min-height:75px}.poster-portraits{height:250px}.poster-final-ribbon{margin-top:-25px}.poster-refinement{gap:20px}.poster-landscape{height:170px}}
@media(max-width:500px){.reference-hero{height:360px}.reference-hero-logo{top:110px;left:3%;width:350px;max-width:85%}.reference-warrior{width:230px;height:345px;right:-40px}.reference-board::before,.reference-board::after{width:30px;height:30px;top:-8px;left:-8px}.reference-board::after{left:auto;right:-8px}.reference-post{margin:18px 12px;padding:18px 12px}.reference-navigation .reference-right{gap:9px}.reference-wordmark,.reference-wordmark img{width:125px}.poster-v2{padding:22px 15px}.poster-crown>img{margin-bottom:4px}.poster-ribbon{margin-left:-7px;margin-right:-7px;min-height:65px;padding-top:10px;font-size:12px;background-size:100% 160%}.poster-brush{padding:20px 18px;margin:25px 0}.poster-brush::before,.poster-brush::after{width:43px;height:43px}.poster-v2 .reference-feature-section>h2{font-size:14px}.poster-intro p,.poster-v2 .reference-feature-section>p{font-size:12px;line-height:1.95}.poster-paired-features{grid-template-columns:1fr;gap:0}.poster-paired-features .reference-feature-section>h2{min-height:0}.poster-paired-features .reference-feature-section>p{text-align:center}.poster-landscape{height:150px}.poster-landscape span{font-size:9px;padding-left:15px}.poster-plates{gap:7px}.poster-plates a{font-size:10px;padding:12px 3px}.poster-refinement{gap:14px}.poster-refinement>div{width:65px;height:65px}.poster-refinement img{height:50px;width:18px}.poster-portraits{height:155px;margin-top:30px}.poster-final-ribbon{margin-top:-20px}.poster-v2 .reference-feature-section.poster-brush{padding:22px 14px}.reference-presentation-actions a{min-width:0;width:100%}}

/* Three primary destinations per side; account/language are separate utility controls. */
.reference-header{position:relative}.reference-utility{padding-right:200px}
.reference-navigation{grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr);gap:28px}
.reference-navigation .reference-left,.reference-navigation .reference-right{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;justify-content:stretch}
.reference-navigation nav>a{font:600 12px/1.3 Cinzel,Georgia,serif;letter-spacing:.02em;min-height:52px;text-align:center;white-space:normal}
.reference-account-tools{position:absolute;top:5px;right:max(16px,calc((100% - 1120px)/2));display:flex;align-items:center;gap:18px;font:11px Cinzel,Georgia,serif;z-index:40}
.reference-account-tools>a{display:flex;align-items:center;gap:7px;color:#e9c995}.reference-account-tools .language-picker summary{min-height:23px}
.reference-header .reference-account-tools .game-languages{top:28px}
/* The global viewport-based five-column rule must not squeeze this portal's content column. */
body.reference-inner .shop-layout{width:100%;max-width:none;padding:10px 0 55px;display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:start}
.shop-layout>section{min-width:0}.shop-layout .categories{min-width:0}.shop-layout .products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.shop-layout .product{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:3px double #916038;border-radius:0;background:linear-gradient(140deg,#2d191d,#140d10);box-shadow:inset 0 0 18px #0005,0 5px 16px #0005}
.shop-layout .product-art{height:135px;display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid #785037;background:radial-gradient(ellipse,#81522e25,transparent 70%),repeating-linear-gradient(120deg,#e0b16b05 0 1px,transparent 1px 5px)}
.shop-layout .product-art img{max-width:70px;max-height:85px;object-fit:contain}.shop-layout .pill{position:absolute;top:10px;left:10px;max-width:calc(100% - 20px);border:1px solid #8b633d;color:#d5b487;background:#2c171c;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop-layout .product-info{padding:18px 15px;display:flex;flex:1;flex-direction:column;min-width:0;gap:10px}.shop-layout .product-info h2{font:600 15px/1.45 Cinzel,Georgia,serif;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px;margin:0;color:#e9c78c}
.shop-layout .product-description{font:12px/1.7 Arial,sans-serif;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin:0;color:#bd9c85;min-height:82px}.shop-layout .product-info>p:not(.product-description){font-size:11px;margin:0}
.shop-layout .product-bottom{margin-top:auto;padding-top:15px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.shop-layout .product-bottom strong{font:700 19px Arial,sans-serif;white-space:nowrap}.shop-layout .product-bottom small{font-size:11px}.shop-layout .product-bottom .button{white-space:nowrap;line-height:1.4;font:600 11px Cinzel,Georgia,serif;padding:9px 12px;border-radius:0;min-height:34px}
.shop-layout .shop-note{display:block;grid-column:2;padding:24px;border:3px double #92693e;border-radius:0;max-width:none}.shop-layout .shop-note hr{border:0;border-top:1px solid #704b31;margin:20px 0}.shop-layout .search input{min-width:0;flex:1}.shop-layout .search{gap:10px}
/* Events use the same ruby/gold frame language as the home page. */
.realm-events{width:100%;margin:0 auto;padding:10px 0 40px}.realm-events .realm-heading{justify-content:center;border-bottom:3px double #b17a3e;padding-bottom:25px;margin-bottom:30px}.realm-events h1{font:600 30px Cinzel,Georgia,serif;color:#edcb95;text-shadow:0 2px #000}
.realm-events .realm-event-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.realm-events .realm-event-card{padding:30px;border:3px double #b28348;border-radius:0;position:relative;background:radial-gradient(ellipse at 80% 0,#82332255,transparent 65%),repeating-linear-gradient(120deg,#d4a85f05 0 1px,transparent 1px 4px),#1a0f13;box-shadow:inset 0 0 0 4px #0c0709,0 10px 25px #0007;min-width:0}
.realm-events .realm-event-card::before{content:"";position:absolute;left:-10px;top:-10px;width:50px;height:50px;background:url('/assets/athena-reference/gold-corner-v2.svg') center/contain no-repeat;pointer-events:none}.realm-events .realm-event-card h3{font:600 20px/1.5 Cinzel,Georgia,serif;margin:20px 0 14px;color:#f0d09a}.realm-events .realm-event-description{font:14px/1.8 Arial,sans-serif;color:#c4a38c;white-space:pre-line}.realm-events .realm-event-state,.reference-event-state{display:inline-block;padding:5px 10px;border:1px solid #bb8a48;background:linear-gradient(#723021,#2b1216);font:10px Cinzel,Georgia,serif;color:#ffe0a0}
.realm-event-card dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:9px 12px;margin:24px 0 18px;padding:18px 0;border-top:1px solid #6a442c;border-bottom:1px solid #6a442c;font-size:12px}.realm-event-card dt{color:#b68d66}.realm-event-card dd{margin:0;color:#e1c197}.realm-event-bonuses{display:flex;flex-wrap:wrap;gap:8px}.realm-event-bonuses span{padding:8px 12px;border:1px solid #986538;background:#432018;color:#edc98f;font:600 12px Arial,sans-serif}
.reference-mini-events{padding:5px 18px 16px}.reference-mini-events>a{display:grid;gap:9px;padding:18px 0;color:#d8b58e;text-decoration:none;border-bottom:1px solid #64402e}.reference-mini-events>a:last-child{border-bottom:0}.reference-mini-events strong{font:600 13px/1.5 Cinzel,Georgia,serif;color:#efcd94;overflow-wrap:anywhere}.reference-mini-events time,.reference-mini-events>a>span:not(.reference-event-state){font-size:11px;color:#b18f76}.reference-mini-events .reference-event-state{justify-self:start}.reference-mini-events b{display:inline-block;margin:3px 5px 0 0;padding:4px 6px;border:1px solid #795332;background:#3c1c17;color:#e6bb7c;font-size:10px}.reference-mini-events>p{padding-top:15px;font-size:12px}.reference-sidebar-events{grid-column:auto}
@media(max-width:1000px){.reference-navigation{gap:14px;grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr)}.reference-navigation nav>a{font-size:11px}.reference-utility{gap:15px}.reference-account-tools{right:20px}.shop-layout .products{gap:12px}}
@media(max-width:850px){body.reference-inner .shop-layout{grid-template-columns:1fr;gap:20px}.shop-layout .categories{display:flex;flex-wrap:wrap;overflow:visible;padding:0;gap:8px}.shop-layout .categories>a{margin:0;padding:9px 14px}.shop-layout .categories .eyebrow,.shop-layout .aside-note{display:none}.shop-layout .shop-note{grid-column:1}.shop-layout .products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.reference-account-tools{top:23px;right:18px;gap:12px}.reference-account-tools>a>span{display:none}.reference-account-tools .language-picker{margin:0}.reference-navigation{display:flex}.reference-navigation .reference-right{display:none}.reference-navigation .reference-left{display:none}.reference-navigation .reference-left.is-open{display:flex}.reference-navigation .reference-left>a{min-height:38px;font-size:12px;text-align:left}.reference-header .reference-account-tools .game-languages{top:27px}.realm-events .realm-event-grid{grid-template-columns:1fr}.reference-sidebar-events{grid-column:1/-1}}
@media(max-width:600px){.shop-layout .products{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-layout .product-info{padding:15px 12px}.shop-layout .product-info h2{font-size:13px}.realm-events .realm-event-card{padding:25px 22px}.realm-event-card dl{grid-template-columns:75px minmax(0,1fr)}}
@media(max-width:450px){.shop-layout .products{grid-template-columns:1fr}.shop-layout .product-art{height:135px}.shop-layout .product-description{min-height:0}.shop-layout .product-info h2{min-height:0}.shop-layout .product-bottom .button{font-size:12px}.realm-events h1{font-size:25px}}
