/* Single-row reference navigation and compact reference footer. */
.athena-public .reference-header{height:66px;border-bottom:1px solid #725033;background:linear-gradient(#160d10f5,#10090ced);box-shadow:0 5px 24px #0009}
.reference-navigation{height:66px;max-width:1180px;width:calc(100% - 48px);grid-template-columns:minmax(0,1fr) 170px minmax(0,1fr);gap:28px}
.reference-wordmark{width:170px;height:79px}.reference-wordmark img{width:166px}
.reference-navigation .reference-left{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.reference-navigation .reference-right{grid-template-columns:repeat(3,minmax(0,1fr));padding-right:0;gap:14px}
.reference-navigation nav>a{font:600 11px/1.4 Cinzel,Georgia,serif;min-height:62px;white-space:nowrap;letter-spacing:.02em}
.reference-navigation nav>a::before{font-size:13px;color:#ae9070}
.reference-account-tools{top:0;right:max(24px,calc((100% - 1180px)/2));height:66px;width:calc((min(1180px,100% - 48px) - 226px)/6);justify-content:center;gap:0;pointer-events:none}
.reference-account-tools .reference-account-nav{display:none}.reference-account-tools .language-picker{pointer-events:auto}
.reference-account-tools .language-picker summary{font:600 11px/1.4 Cinzel,Georgia,serif;min-height:62px}
.reference-header .reference-account-tools .game-languages{top:60px}
body.athena-public::before,body.athena-public::after{background-repeat:no-repeat;background-size:auto 1900px;top:66px;opacity:.25}
.athena-public .reference-footer{padding:36px 0 20px;border-top:0;box-shadow:none;background:linear-gradient(transparent,#0b0709bb);margin-top:0}
.reference-footer-navigation{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:20px 0 54px;font:600 11px/1.5 Cinzel,Georgia,serif;text-transform:uppercase}
.reference-footer-navigation a{color:#d5b697}.reference-footer-navigation a:hover{color:#ffe0a9}
.reference-footer-bottom{border-top:1px solid #483020;padding-top:28px;display:grid;grid-template-columns:1fr 150px 1fr;gap:28px;align-items:center}
.reference-footer-bottom>a>img{width:150px;height:auto}.reference-footer-bottom>small{font:12px/1.6 Arial,sans-serif;color:#a48a71}
.reference-footer-bottom>nav{display:flex;justify-content:flex-end;gap:20px;font:12px/1.6 Arial,sans-serif}
.reference-ranking-tabs{display:flex;gap:10px;flex-wrap:wrap;padding:22px}
.reference-ranking-tabs>a{padding:10px 18px;font:600 12px/1.5 Cinzel,Georgia,serif;border:1px solid #765035;color:#cfb58e;background:linear-gradient(#33201c,#180f11)}
.reference-ranking-tabs>a[aria-current]{border-color:#d6a75a;color:#ffe1a7;background:linear-gradient(#69462b,#352017)}
.reference-rankings .table-wrap{margin:0 20px 24px;overflow-x:auto}
.reference-rankings .ranking-table{width:100%;min-width:560px;margin:0;border-collapse:collapse}
.reference-rankings .ranking-table th{background:linear-gradient(#4b3020,#291a14);font:600 12px/1.6 Cinzel,Georgia,serif;color:#e6c492;padding:14px 12px;border:1px solid #795538}
.reference-rankings .ranking-table td{padding:11px 12px;border-bottom:1px solid #543922;font:13px/1.6 Arial,sans-serif}
.reference-rankings .ranking-table tr:nth-child(even){background:#b2875910}
.reference-rankings .ranking-table .rank-place-1{background:linear-gradient(90deg,#745d2b,#b2934544,#745d2b)!important}
.reference-rankings .ranking-table .rank-place-2{background:linear-gradient(90deg,#424b52,#9aa6b333,#424b52)!important}
.reference-rankings .ranking-table .rank-place-3{background:linear-gradient(90deg,#5b3420,#a66b3e44,#5b3420)!important}
.reference-rank-character{display:flex;align-items:center;gap:12px;color:#e8d1ad;white-space:nowrap}
.reference-rank-character img{width:38px;height:38px;border:1px solid #a47a46;object-fit:cover;border-radius:3px;box-sizing:border-box}
.reference-ranking th{overflow-wrap:normal!important;font-size:9px!important;letter-spacing:0}
@media(max-width:1100px) and (min-width:761px){.reference-navigation{gap:15px;grid-template-columns:minmax(0,1fr) 130px minmax(0,1fr)}.reference-wordmark{width:130px}.reference-wordmark img{width:128px}.reference-navigation nav>a{font-size:10px}.reference-navigation nav>a::before{display:none}}
@media(max-width:760px){.athena-public .reference-header{height:66px}.reference-navigation{display:flex;justify-content:center;position:relative;width:calc(100% - 28px);height:66px;gap:0}.reference-wordmark{width:130px;height:70px}.reference-wordmark img{width:130px}.reference-header .realm-menu-toggle{display:flex;position:absolute;left:0;top:14px}.reference-account-tools{top:0;right:14px;width:auto;height:66px}.reference-account-tools .language-picker summary{min-height:66px}.reference-navigation .reference-right{display:none}.reference-navigation .reference-left{display:none}.reference-navigation .reference-left.is-open,.reference-header.menu-open .reference-left,.reference-navigation .reference-left.open{display:flex;position:absolute;top:66px;left:-14px;right:-14px;width:auto;max-height:calc(100vh - 75px);overflow-y:auto;flex-direction:column;align-items:stretch;background:#170e11;border:1px solid #795335;padding:12px 20px}.reference-navigation .reference-left a{display:flex!important;min-height:40px;justify-content:flex-start;font-size:12px}.reference-mobile-extra{display:flex!important}.reference-footer-navigation{justify-content:center;gap:18px 26px;padding-bottom:30px}.reference-footer-bottom{grid-template-columns:1fr;text-align:center;gap:18px}.reference-footer-bottom>a{grid-row:1}.reference-footer-bottom>nav{justify-content:center}.reference-ranking-tabs{padding:16px}.reference-ranking-tabs>a{font-size:11px;padding:9px 12px}}

/* Reference panels use fine dark bronze rules; ornate corners stay on account headers. */
.reference-news.reference-board{border:1px solid #54352b;outline:none;box-shadow:0 12px 26px #0004;background:repeating-linear-gradient(130deg,#ffffff02 0 1px,transparent 1px 5px),#190e11}
.reference-news.reference-board::before,.reference-news.reference-board::after{display:none}
.reference-news>.reference-board-heading{background:none;border:0;border-bottom:1px solid #4e3025;box-shadow:none;padding:22px}
.reference-post{background:#21121555;border:1px solid #513228;min-height:185px}
.reference-news-tabs{padding-top:17px;padding-bottom:17px}
.reference-sidebar{gap:15px}
.reference-sidebar>.reference-board{border:1px solid #805128;outline:none;box-shadow:inset 0 0 0 3px #10090b,0 5px 14px #0005}
.reference-sidebar>.reference-board::before,.reference-sidebar>.reference-board::after{width:25px;height:25px;top:-8px}
.reference-sidebar .reference-board-heading{min-height:38px;padding:10px 16px;background:linear-gradient(#60170e,#350c0d 60%,#19090c);border-bottom:1px solid #a76c2e}
.reference-account form{padding:14px 17px 0;gap:10px;margin-bottom:12px}
.reference-account input{min-height:36px;padding:8px 10px;margin-top:5px}
.reference-account .reference-account-link{margin-top:8px;font-size:13px}
.reference-account{padding-bottom:16px}
.reference-ranking table{margin:10px 14px;width:calc(100% - 28px);table-layout:fixed}
.reference-ranking td,.reference-ranking th{padding:7px 4px;line-height:1.3}
.reference-ranking th{font:9px/1.4 Arial,sans-serif;white-space:nowrap;overflow-wrap:normal!important}
.reference-ranking th:first-child{width:8%}.reference-ranking th:nth-child(2){width:43%}.reference-ranking th:nth-child(3){width:27%}.reference-ranking th:last-child{width:22%}
.reference-player-name{font-size:11px;gap:5px}.reference-player-name img{width:21px;height:21px}
.reference-sidebar .reference-events{padding-bottom:12px}
.reference-inner .ranked-page{width:100%;max-width:100%;margin:0;box-sizing:border-box}
.reference-inner .ranked-heading,.reference-inner .page-heading{height:auto;min-height:0;max-height:none;position:relative;inset:auto;overflow:visible;margin:0 0 28px;padding:28px 18px;text-align:center}
.reference-inner .ranked-heading h1,.reference-inner .page-heading h1{margin:10px 0;font:500 clamp(25px,3vw,38px)/1.4 Cinzel,Georgia,serif;letter-spacing:.1em;text-transform:uppercase}
.reference-inner .ranked-heading .eyebrow,.reference-inner .page-heading .eyebrow{font:600 11px/1.6 Arial,sans-serif;letter-spacing:.22em;color:#c99b59}
.reference-inner .news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.reference-inner .news-card{border:1px solid #57372b;border-radius:0;background:#1a0f12;box-shadow:none;overflow:hidden}
.reference-inner .news-card .news-image{height:135px}.reference-inner .news-card .news-image img{width:100%;height:135px;object-fit:cover}
.reference-inner .news-copy{padding:16px}.reference-inner .news-copy h3{font:600 14px/1.6 Georgia,serif}
.reference-inner .news-copy p{font:13px/1.8 Arial,sans-serif}
.reference-home-podium{margin:22px 0}
.reference-podium-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:16px}
.reference-podium-table{min-width:0;overflow-x:auto}.reference-podium-table table{border-collapse:collapse;width:100%;margin:0;font:12px/1.5 Arial,sans-serif}
.reference-podium-table td,.reference-podium-table th{padding:8px 6px;border-bottom:1px solid #5c3c28;text-align:left}
.reference-podium-table td:nth-child(2){white-space:nowrap}.reference-podium-table img{vertical-align:middle;width:24px;height:24px;border:1px solid #8d663e}
body.athena-public .reference-podium-models .champions{display:flex;gap:0;align-items:end;margin:0;padding:0;min-height:310px;max-width:none}
body.athena-public .reference-podium-models .champion{padding:0;border:0;box-shadow:none;background:none;min-width:0;width:33.333%;position:relative;overflow:visible}
body.athena-public .reference-podium-models .champion.place-1{order:2;z-index:2;transform:none}
body.athena-public .reference-podium-models .champion.place-2{order:1;transform:none}
body.athena-public .reference-podium-models .champion.place-3{order:3;transform:none}
body.athena-public .reference-podium-models .champion-stage{height:230px;width:100%;margin:0}
body.athena-public .reference-podium-models .character-view{width:100%;height:230px;display:block;touch-action:pan-y}
body.athena-public .reference-podium-models .place-1 .champion-stage,body.athena-public .reference-podium-models .place-1 .character-view{height:280px}
body.athena-public .reference-podium-models .champion-copy{padding:6px 0;text-align:center}
body.athena-public .reference-podium-models .champion-copy h2{font:600 12px/1.5 Arial,sans-serif;overflow-wrap:anywhere;margin:4px 0}
body.athena-public .reference-podium-models .champion-copy p,body.athena-public .reference-podium-models .champion-copy .eyebrow{font:10px/1.5 Arial,sans-serif;margin:0}
body.athena-public .reference-podium-models .champion-rank{position:static;text-align:center;font:12px/1.5 Cinzel,Georgia,serif}
body.athena-public .reference-podium-models .champion-rank span,body.athena-public .reference-podium-models .champion-crown{display:none}
body.athena-public .reference-podium-models .model-status{font:10px/1.4 Arial,sans-serif;position:static;margin:3px 0;overflow-wrap:anywhere}
@media(max-width:1100px){.reference-inner .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-podium-layout{grid-template-columns:1fr}}
@media(max-width:600px){.reference-inner .news-grid{grid-template-columns:1fr}.reference-inner .ranked-heading,.reference-inner .page-heading{padding:24px 14px}.reference-podium-layout{padding:12px}.reference-ranking th{font-size:10px!important}}

/* Authentic character, armour and weapon geometry exported from the game. */
.reference-hero-stage .reference-class{background-size:contain;background-position:center bottom;background-repeat:no-repeat;mask-image:none;-webkit-mask-image:none}
.reference-hero-stage .class-warrior{background-image:url('/assets/athena-reference/game-warrior-v1.png')}
.reference-hero-stage .class-sura{background-image:url('/assets/athena-reference/game-sura-v1.png')}
.reference-hero-stage .class-ninja{background-image:url('/assets/athena-reference/game-ninja-v1.png')}
.reference-hero-stage .class-shaman{background-image:url('/assets/athena-reference/game-shaman-v1.png')}
.reference-hero-stage .reference-class{width:350px;height:620px}
body.athena-public .reference-podium-models .champion-rank{display:grid;place-items:center;width:28px;height:28px;min-width:0;min-height:0;max-width:28px;padding:0;margin:0 auto;background:linear-gradient(#5a3b23,#231610);border:1px solid #a77e42;border-radius:50%;box-shadow:none;font:12px/1 Arial,sans-serif}
body.athena-public .reference-podium-models .model-status{height:auto;min-height:0;white-space:normal;line-height:1.4;padding:4px 2px;position:static;border:0;text-align:center}
@media(max-width:1150px){.reference-hero-stage .reference-class{width:280px;height:520px}}
@media(max-width:900px){.reference-hero-stage .reference-class{width:250px;height:470px}}
@media(max-width:600px){.reference-hero-stage .reference-class{width:190px;height:360px}}

/* Confine the requested shine to opaque game pixels; no rectangular light planes. */
.reference-hero-stage .reference-class{mask-image:var(--character-mask);mask-size:contain;mask-position:center bottom;mask-repeat:no-repeat;-webkit-mask-image:var(--character-mask);-webkit-mask-size:contain;-webkit-mask-position:center bottom;-webkit-mask-repeat:no-repeat}
.reference-hero-stage .class-warrior{--character-mask:url('/assets/athena-reference/game-warrior-v1.png')}
.reference-hero-stage .class-sura{--character-mask:url('/assets/athena-reference/game-sura-v1.png')}
.reference-hero-stage .class-ninja{--character-mask:url('/assets/athena-reference/game-ninja-v1.png')}
.reference-hero-stage .class-shaman{--character-mask:url('/assets/athena-reference/game-shaman-v1.png')}
