/* Frostcrown v15 — extracted PNG blocks arranged to the supplied reference. */
:root{--fc-ice:#8bdcff;--fc-ice-soft:#c6f0ff;--fc-fire:#ff9a53;--fc-gold:#eac17c;--fc-bg:#071321;--fc-glass:rgba(5,17,29,.86);--fc-border:rgba(102,185,224,.47);--fc-muted:#9bb5c7;--fc-text:#eaf6ff;--fc-shadow:0 10px 28px rgba(0,0,0,.42)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:70px}body{margin:0;min-height:100vh;overflow-x:hidden;background:#06111d;color:var(--fc-text);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.45}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}
.ref-background{position:fixed;z-index:-3;inset:0;background:#071321 url('reference-world.webp') center 39%/cover no-repeat}.ref-background:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,9,17,.12) 0%,rgba(2,11,20,.28) 31%,rgba(2,12,21,.63) 70%,rgba(2,10,18,.84) 100%),linear-gradient(90deg,rgba(0,7,15,.08),transparent 28%,transparent 72%,rgba(18,6,2,.1))}.ref-home-body .ref-background{background-position:center 34%}
/* Header: split navigation leaves the visual centre clear for the extracted Frostcrown logo. */
.ref-topbar{position:relative;z-index:30;height:clamp(36px,3.5vw,58px);border-bottom:1px solid rgba(128,197,229,.23);background:rgba(4,13,23,.78);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px)}.ref-topbar-inner{width:clamp(580px,58vw,1060px);height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.ref-nav{display:flex;align-items:center;gap:clamp(12px,1.8vw,24px);min-width:0}.ref-nav a{position:relative;display:flex;align-items:center;height:100%;color:#c3d3df;font-size:clamp(8px,.72vw,11px);font-weight:700;white-space:nowrap;text-transform:uppercase;letter-spacing:.025em;transition:color .2s,text-shadow .2s}.ref-nav a:hover,.ref-nav a.active{color:#fff;text-shadow:0 0 11px rgba(117,213,255,.7)}.ref-nav a.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:#63d8ff;box-shadow:0 0 11px #4fcaff}.ref-menu-toggle,.ref-mobile-nav{display:none}
/* Hero and the three separate transparent PNG action buttons. */
.ref-hero{position:relative;height:20.2vw;min-height:205px;max-height:345px;isolation:isolate;overflow:hidden;border-bottom:1px solid rgba(116,202,238,.22);background:linear-gradient(180deg,rgba(4,15,26,.04),rgba(3,13,23,.2) 60%,rgba(3,12,21,.52))}.ref-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 50% 28%,rgba(4,19,32,.02),rgba(4,14,25,.16) 65%,rgba(2,9,17,.36))}.ref-hero-content{position:relative;width:clamp(580px,58vw,1060px);height:100%;margin:auto}.ref-brand-mark{position:absolute;top:-2.35vw;left:50%;transform:translateX(-50%);z-index:1;width:23.8vw;max-width:390px;min-width:235px;filter:drop-shadow(0 4px 8px rgba(0,0,0,.48))}.ref-brand-mark img{width:100%;height:auto}.ref-play-buttons{position:absolute;left:0;right:0;top:78%;transform:translateY(-50%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1%;align-items:center}.ref-play-button{position:relative;display:block;height:6.1vw;min-height:58px;max-height:92px;isolation:isolate;outline-offset:3px;transition:transform .22s,filter .22s}.ref-play-button>img{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.42));transition:filter .22s,transform .22s}.ref-play-button:hover{transform:translateY(-3px)}.ref-play-button:hover>img{filter:drop-shadow(0 0 13px rgba(100,210,255,.72)) brightness(1.1);transform:scale(1.025)}.ref-play-mobile:hover>img{filter:drop-shadow(0 0 13px rgba(255,150,77,.75)) brightness(1.1)}.ref-play-button:focus-visible{outline:2px solid #b9edff}.ref-button-copy{position:absolute;inset:9% 14% 13%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;text-align:center;text-shadow:0 2px 5px #00101d;pointer-events:none}.ref-button-copy b{font-family:Georgia,'Times New Roman',serif;font-size:clamp(10px,1.02vw,16px);font-weight:700;line-height:1.05;color:#f4fbff}.ref-button-copy small{font-size:clamp(6px,.54vw,9px);line-height:1.1;color:#d6e9f2}.ref-play-button>i{position:absolute;right:17%;top:42%;color:#d9f7ff;font-size:clamp(8px,.75vw,12px);font-style:normal;text-shadow:0 0 8px #4fcaff;transition:transform .2s}.ref-play-button:hover>i{transform:translate(2px,-2px)}.ref-play-mobile>i{color:#ffd09b}.ref-play-button>em{position:absolute;top:10%;right:14%;padding:2px 5px;border:1px solid rgba(255,188,120,.55);border-radius:3px;background:linear-gradient(120deg,#a94d23,#e6a45e);color:#291509;font-size:clamp(5px,.42vw,7px);font-style:normal;font-weight:900;letter-spacing:.09em}.ref-hero-meta{position:absolute;left:1%;right:1%;bottom:5%;display:flex;justify-content:space-between;gap:10px;color:#a7c1d0;font-size:clamp(5px,.48vw,8px);font-weight:800;letter-spacing:.14em;text-shadow:0 2px 5px #00101c}.ref-hero-meta b{color:var(--fc-gold)}
/* Desktop composition: news block on the left, extracted server/account/stat panels on the right. */
.ref-main-layout{width:clamp(580px,58vw,1060px);margin:1px auto 0;display:grid;grid-template-columns:minmax(0,2.27fr) minmax(0,1fr);gap:2.5vw;align-items:start}.ref-news-column,.ref-news-section{min-width:0}.ref-news-section{padding-top:5px}.ref-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 7px;padding:0 2px}.ref-section-title h1{margin:0;color:#f1f8fc;font-family:Georgia,'Times New Roman',serif;font-size:clamp(13px,1.2vw,19px);font-weight:700;text-transform:uppercase;text-shadow:0 2px 6px #00101a}.ref-section-title>a{color:#c7e8f5;font-size:clamp(7px,.58vw,9px);font-weight:700;white-space:nowrap}.ref-section-title>a span{color:var(--fc-fire);font-size:14px;margin-left:3px}
.ref-featured-news{position:relative;isolation:isolate;width:100%;height:clamp(112px,12.2vw,160px)}.ref-news-frame{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}.ref-feature-image{position:absolute;left:7.4%;top:22%;width:35%;height:59%;overflow:hidden;border-radius:5px}.ref-feature-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s,filter .3s}.ref-featured-news:hover .ref-feature-image img{transform:scale(1.045);filter:saturate(1.1)}.ref-feature-copy{position:absolute;left:46.5%;right:7.5%;top:22%;bottom:18%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;padding:0 2px}.ref-feature-copy time{color:#9cb4c2;font-size:clamp(6px,.49vw,8px);font-weight:700;letter-spacing:.04em}.ref-feature-copy time i{color:var(--fc-gold);font-style:normal;margin:0 4px}.ref-feature-copy h2{margin:5px 0 3px;font-family:Georgia,'Times New Roman',serif;font-size:clamp(10px,.94vw,15px);line-height:1.2;font-weight:700;color:#f4fbff}.ref-feature-copy h2 a:hover,.ref-small-news h3 a:hover{color:var(--fc-ice)}.ref-feature-copy p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0;color:#b0c4d0;font-size:clamp(7px,.56vw,9px);line-height:1.42}.ref-read-link{display:inline-block;margin-top:5px;color:#c5e7f4;font-size:clamp(6px,.49vw,8px);font-weight:800;text-transform:uppercase;letter-spacing:.05em}.ref-read-link span{color:var(--fc-fire);margin-left:4px}
.ref-small-news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(7px,.8vw,11px);margin-top:5px}.ref-small-news{min-width:0;overflow:hidden;border:1px solid rgba(112,187,224,.38);border-radius:7px;background:rgba(5,18,30,.8);box-shadow:0 4px 13px rgba(0,0,0,.18);transition:transform .2s,border-color .2s}.ref-small-news:hover{transform:translateY(-2px);border-color:rgba(128,219,255,.75)}.ref-small-news-image{display:block;height:clamp(62px,7.1vw,92px);overflow:hidden;background:#0a2337}.ref-small-news-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.ref-small-news:hover .ref-small-news-image img{transform:scale(1.045)}.ref-small-news-copy{padding:4px 7px 6px}.ref-small-news time{color:#9cb4c2;font-size:clamp(6px,.47vw,8px)}.ref-small-news h3{margin:2px 0 0;color:#f0f7fa;font-family:Georgia,'Times New Roman',serif;font-size:clamp(8px,.72vw,11px);font-weight:700;line-height:1.22}.ref-news-empty{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid var(--fc-border);border-radius:8px;background:rgba(4,17,29,.76);color:var(--fc-muted);text-align:center}.ref-news-empty b{color:#eaf6ff;font-family:Georgia,serif}
.ref-sidebar{display:grid;gap:clamp(7px,.8vw,11px);min-width:0}.ref-server-panel{position:relative;isolation:isolate;width:100%;height:clamp(100px,10.4vw,138px)}.ref-server-frame{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}.ref-server-panel>h2{position:absolute;left:12%;top:9%;margin:0;color:#f4f8fc;font-family:Georgia,'Times New Roman',serif;font-size:clamp(8px,.75vw,12px);font-weight:700;text-shadow:0 2px 4px #000}.ref-realm-row{position:absolute;left:14%;right:12%;height:34%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;column-gap:5px}.ref-realm-row-1{top:28%;height:30%}.ref-realm-row-2{top:48%;height:30%}.ref-realm-name{display:flex;align-items:center;gap:5px;min-width:0;color:#eff8fc;font-size:clamp(6px,.57vw,9px);font-weight:800;white-space:nowrap}.ref-realm-name i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#e27b54;box-shadow:0 0 7px currentColor}.ref-realm-name i.online{background:#62dba2;color:#62dba2}.ref-realm-name i.offline{background:#e27b54;color:#e27b54}.ref-realm-status{color:#a9c2d0;font-size:clamp(5px,.47vw,7px);white-space:nowrap}.ref-realm-status.online{color:#82e3b2}.ref-realm-status.offline{color:#ffad8b}.ref-meter{position:absolute;left:6%;right:-2%;top:56%;height:12%;overflow:hidden;border-radius:6px;background:rgba(0,5,11,.96);box-shadow:inset 0 1px 3px #000}.ref-meter span{position:absolute;left:0;top:0;height:100%;width:0;border-radius:5px;background:linear-gradient(90deg,#168fc2,#40cfff 62%,#c3f4ff);box-shadow:0 0 8px #48caff;transition:width .6s}.ref-meter-fire span{background:linear-gradient(90deg,#b84f20,#ff8d39 60%,#ffd18a);box-shadow:0 0 8px #ff8d39}
.ref-account-panel{position:relative;isolation:isolate;width:100%;aspect-ratio:479/327}.ref-account-frame{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}.ref-account-panel h2{position:absolute;top:8%;left:14%;right:12%;margin:0;color:#f1f8fc;font-family:Georgia,'Times New Roman',serif;font-size:clamp(8px,.78vw,12px);font-weight:700;text-shadow:0 2px 4px #07111c}.ref-account-slot{position:absolute;left:14%;width:72%;height:13%;display:flex;align-items:center;padding:0 8%;color:#c4d8e5;font-size:clamp(6px,.55vw,8px);font-weight:700;text-shadow:0 1px 3px #000;transition:color .2s,text-shadow .2s}.ref-account-slot:hover{color:#fff;text-shadow:0 0 8px #77dfff}.ref-account-slot span{margin-left:auto;color:#ffc17a}.ref-account-login{top:29%}.ref-account-register{top:49.5%}.ref-account-enter{position:absolute;left:32%;top:69%;width:36%;height:13%;display:grid;place-items:center;color:#f1d398;font-size:clamp(6px,.52vw,8px);font-weight:900;text-shadow:0 1px 3px #000}.ref-account-enter:hover{color:#fff4d2;text-shadow:0 0 8px #ffbf72}.ref-account-forgot{position:absolute;left:36%;right:15%;bottom:6%;text-align:center;color:#d7c095;font-size:clamp(5px,.43vw,7px);text-decoration:underline;text-underline-offset:2px}
.ref-online-panel{position:relative;width:100%;height:clamp(70px,7.8vw,104px);isolation:isolate;display:flex;align-items:center;justify-content:center}.ref-online-panel>img{position:absolute;z-index:-1;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}.ref-online-content{width:76%;padding-top:1%;text-align:left}.ref-online-content h2{margin:0 0 5px;color:#f3f8fc;font-family:Georgia,'Times New Roman',serif;font-size:clamp(7px,.7vw,11px);font-weight:700;text-transform:uppercase}.ref-online-content p{margin:0;color:#e1edf4;font-size:clamp(8px,.82vw,13px)}.ref-online-content strong{color:#72e7a5;font-size:1.18em;text-shadow:0 0 10px rgba(76,230,152,.3)}.ref-online-content small{display:block;margin-top:2px;color:#91adbc;font-size:clamp(5px,.43vw,7px)}
/* Shared inner pages retain one visual language. */
.ref-inner-page{width:clamp(580px,58vw,1060px);min-height:calc(100vh - 100px);margin:0 auto;padding:clamp(20px,2.2vw,34px) 0 35px}
.ref-inner-heading{text-align:center;margin:0 auto clamp(14px,1.8vw,28px)}
.ref-inner-heading>span{color:#90d9f6;font-size:clamp(6px,.55vw,8px);font-weight:800;letter-spacing:.19em;text-transform:uppercase}
.ref-inner-heading h1{margin:7px 0;color:#f2f9ff;font-family:Georgia,'Times New Roman',serif;font-size:clamp(22px,2.4vw,36px);font-weight:700;text-shadow:0 3px 12px #000}
.ref-inner-heading p{margin:0;color:#a7bdc9;font-size:clamp(8px,.7vw,11px)}
.ref-article-panel,.ref-comments-panel,.ref-guide-panel,.ref-account-page-panel{padding:clamp(14px,1.5vw,23px);border:1px solid rgba(112,187,224,.43);border-radius:9px;background:rgba(4,17,29,.87);box-shadow:var(--fc-shadow)}
.ref-article-panel h2{margin:7px 0 14px;font-family:Georgia,'Times New Roman',serif;font-size:clamp(18px,1.7vw,26px)}
.ref-back-link{display:inline-block;margin-bottom:12px;color:#8bdcff;font-size:10px}
.ref-article-meta{display:flex;align-items:center;gap:8px;color:#8faab8;font-size:9px}.ref-article-meta span{color:var(--fc-fire)}
.ref-article-image{max-height:420px;width:100%;margin:16px 0;border:1px solid var(--fc-border);border-radius:7px;object-fit:cover}
.ref-article-body{color:#c1d2dc;font-size:13px;line-height:1.85;overflow-wrap:anywhere}
.ref-comments-panel{margin-top:12px}
.ref-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(112,187,224,.24);padding-bottom:8px}
.ref-panel-title h2{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:15px}.ref-panel-title span,.ref-muted{color:var(--fc-muted);font-size:9px}
.ref-comment{display:grid;grid-template-columns:30px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid rgba(112,187,224,.14)}
.ref-comment>b{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--fc-border);border-radius:50%;color:var(--fc-ice)}
.ref-comment strong{font-size:10px}.ref-comment time{margin-left:8px;color:#879ead;font-size:8px}.ref-comment p{margin:5px 0 0;color:#b6c8d2;font-size:10px;line-height:1.6}
.ref-comment-form{display:grid;gap:10px;margin-top:15px}.ref-comment-form h3{margin:0;font-family:Georgia,serif;font-size:13px}
.ref-comment-form label,.ref-account-page-form label{display:grid;gap:5px;color:#a9c2cf;font-size:9px}
.ref-comment-form input,.ref-comment-form textarea,.ref-account-page-form input{width:100%;padding:10px;border:1px solid rgba(105,182,219,.35);border-radius:6px;background:rgba(2,11,20,.85);color:#eef8fc;outline:none}
.ref-comment-form input:focus,.ref-comment-form textarea:focus,.ref-account-page-form input:focus{border-color:#8bdcff;box-shadow:0 0 0 2px rgba(92,197,238,.12)}
.ref-comment-form textarea{min-height:110px;resize:vertical}
.ref-gold-button{display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:0 18px;border:1px solid #e6b66b;border-radius:5px;background:linear-gradient(115deg,#8d4d29,#c8884a 58%,#e8be73);color:#24150c;font-size:9px;font-weight:900;letter-spacing:.08em;cursor:pointer}
.ref-gold-button:hover{filter:brightness(1.12);box-shadow:0 0 15px rgba(242,173,102,.3)}
.ref-success,.ref-error{padding:9px 11px;border-radius:6px;font-size:10px}.ref-success{background:rgba(45,142,100,.16);color:#b6f2d3}.ref-error{background:rgba(169,62,50,.18);color:#ffc6bf}
.ref-archive-list{display:grid;gap:10px}
.ref-archive-item{display:grid;grid-template-columns:clamp(95px,12vw,180px) minmax(0,1fr) 20px;align-items:center;gap:12px;padding:9px;border:1px solid rgba(112,187,224,.38);border-radius:8px;background:rgba(4,17,29,.85);transition:border-color .2s,transform .2s}
.ref-archive-item:hover{border-color:#9bdef5;transform:translateY(-2px)}
.ref-archive-item img{width:100%;height:clamp(68px,8vw,110px);object-fit:cover;border-radius:5px}
.ref-archive-item time{color:#91a9b8;font-size:8px}.ref-archive-item h2{margin:4px 0;font-family:Georgia,serif;font-size:clamp(11px,1vw,15px)}.ref-archive-item p{margin:0;color:#9db2bf;font-size:9px;line-height:1.5}.ref-archive-item>span{color:var(--fc-fire)}
.ref-pagination{display:flex;justify-content:center;gap:6px;margin-top:17px}.ref-pagination a,.ref-pagination span{min-width:29px;height:29px;display:grid;place-items:center;border:1px solid rgba(112,187,224,.33);border-radius:5px;background:rgba(5,19,31,.8);color:#c8e8f5;font-size:9px}.ref-pagination [aria-current]{border-color:#e3a760;background:rgba(174,102,54,.24);color:#ffe1b5}
.ref-guide-panel{width:min(100%,720px);margin:auto}.ref-guide-step{display:grid;grid-template-columns:38px 1fr;gap:12px;padding:15px 0;border-bottom:1px solid rgba(112,187,224,.16)}.ref-guide-step:last-child{border:0}.ref-guide-step>b{color:var(--fc-gold);font:22px Georgia,serif}.ref-guide-step small{color:#8bdcff;font-size:8px;letter-spacing:.15em}.ref-guide-step p{margin:5px 0 0;color:#c3d3dc;font-size:11px;line-height:1.7}.ref-guide-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}.ref-guide-actions>a:not(.ref-gold-button){color:#bfe7f8;font-size:9px;font-weight:800}
.ref-account-page-panel{width:min(100%,460px);margin:auto}.ref-account-page-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border:1px solid rgba(112,187,224,.22);border-radius:7px;background:rgba(0,0,0,.25)}.ref-account-page-tabs a{padding:8px;text-align:center;color:#a4bac7;font-size:9px;font-weight:800}.ref-account-page-tabs a.active{background:rgba(39,126,168,.34);border-radius:5px;color:#fff}.ref-account-page-panel h2{margin:18px 0 5px;font-family:Georgia,serif;font-size:16px}.ref-account-page-description{margin:0;color:#9db3bf;font-size:10px}.ref-account-page-form{display:grid;gap:12px;margin-top:15px}.ref-account-page-form input:disabled{opacity:.64}.ref-account-page-form .ref-gold-button:disabled{opacity:.6;cursor:not-allowed}.ref-account-page-links{display:flex;justify-content:space-between;gap:10px;margin-top:12px}.ref-account-page-links a{color:#c4d8e2;font-size:9px;text-decoration:underline}.ref-feature-note{margin:13px 0 0;padding:10px;border:1px solid rgba(226,156,91,.2);border-radius:5px;background:rgba(150,78,36,.1);color:#c9ab90;font-size:9px;line-height:1.6}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Small global footer; the reference composition is otherwise intentionally compact. */
.ref-site-footer{width:clamp(580px,58vw,1060px);min-height:35px;margin:12px auto 0;padding:8px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid rgba(112,187,224,.18);color:#93aebd}
.ref-footer-brand{display:flex;flex-direction:column;color:#e4f4fb;font-family:Georgia,serif;font-weight:700;font-size:10px;letter-spacing:.12em}.ref-footer-brand small{margin-top:2px;color:#8daebe;font-family:Arial,sans-serif;font-size:5px;letter-spacing:.2em}.ref-footer-copy{font-size:7px}.ref-site-footer nav{display:flex;gap:12px}.ref-site-footer nav a{color:#9eb4c1;font-size:7px}.ref-site-footer nav a:hover{color:#d7f4ff}
/* Admin uses the same palette, borders and typography. */
.ref-admin-body{background:#06111d url('reference-world.webp') center/cover fixed no-repeat}.ref-admin-body:before{content:"";position:fixed;inset:0;background:rgba(2,10,18,.78);z-index:-1}
.ref-admin-layout{min-height:100vh;display:grid;grid-template-columns:205px minmax(0,1fr)}
.ref-admin-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:18px 13px;border-right:1px solid rgba(112,187,224,.25);background:rgba(3,14,24,.92);backdrop-filter:blur(14px)}
.ref-admin-brand{display:block;padding:8px 9px 18px;color:#f0f8ff;font-family:Georgia,serif;font-size:16px;font-weight:700;letter-spacing:.12em}.ref-admin-brand small{display:block;margin-top:4px;color:#8db9ca;font-family:Arial,sans-serif;font-size:7px;letter-spacing:.2em}
.ref-admin-sidebar nav{display:grid;gap:5px;margin-top:12px}.ref-admin-sidebar nav a,.ref-admin-bottom a,.ref-admin-bottom button{display:block;padding:10px 11px;border:1px solid transparent;border-radius:6px;background:transparent;color:#a8bfcc;text-align:left;font-size:10px;text-decoration:none}.ref-admin-sidebar nav a:hover,.ref-admin-sidebar nav a.active,.ref-admin-bottom a:hover,.ref-admin-bottom button:hover{border-color:rgba(112,187,224,.33);background:rgba(34,100,135,.2);color:#f0faff}
.ref-admin-bottom{display:grid;gap:5px;margin-top:auto}.ref-admin-bottom form{margin:0}.ref-admin-bottom button{width:100%;cursor:pointer}
.ref-admin-main{min-width:0;padding:clamp(18px,2.4vw,32px)}
.ref-admin-page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px;padding-bottom:13px;border-bottom:1px solid rgba(112,187,224,.24)}.ref-admin-page-heading>div>span,.ref-admin-eyebrow{color:#87d5f3;font-size:8px;font-weight:800;letter-spacing:.18em}.ref-admin-page-heading h1{margin:5px 0 0;font-family:Georgia,serif;font-size:24px;font-weight:400}.ref-admin-page-heading>small{color:#93adba;font-size:9px}
.ref-admin-main .admin-panel,.ref-admin-main .dashboard-card,.ref-admin-main .admin-card{margin-bottom:14px;padding:18px;border:1px solid rgba(112,187,224,.34);border-radius:8px;background:rgba(4,17,29,.89);box-shadow:var(--fc-shadow);overflow:visible}.ref-admin-main .admin-panel h2{margin:0 0 12px;font-family:Georgia,serif;font-size:14px;font-weight:400}.ref-admin-main .muted,.ref-admin-main .admin-empty,.ref-admin-main .admin-form-hint{color:#9db2bf;font-size:10px;line-height:1.6}.ref-admin-main .notice{padding:10px;border:1px solid rgba(90,190,139,.3);border-radius:5px;background:rgba(41,123,83,.15);color:#b8eed3;font-size:10px}.ref-admin-main .form-error{padding:10px;border:1px solid rgba(210,111,91,.32);border-radius:5px;background:rgba(140,51,39,.17);color:#ffc4b6;font-size:10px}
.ref-admin-main .admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:12px}.ref-admin-main .admin-stat{padding:13px;border:1px solid rgba(112,187,224,.26);border-radius:6px;background:rgba(8,26,41,.82)}.ref-admin-main .admin-stat span{color:#8db6c7;font-size:8px}.ref-admin-main .admin-stat strong{display:block;margin-top:5px;color:#f1f9ff;font-family:Georgia,serif;font-size:22px}
.ref-admin-main .admin-news-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ref-admin-main .admin-news-card{display:grid;gap:9px;align-content:start;padding:13px;border:1px solid rgba(112,187,224,.24);border-radius:8px;background:rgba(2,12,21,.65);color:#c4d5de;font-size:10px}.ref-admin-main .admin-news-card-main{display:grid;gap:5px;min-width:0}.ref-admin-main .admin-news-card-main b{color:#eff8ff;font-size:11px;line-height:1.4}.ref-admin-main .admin-news-card-main small{color:#839fac;font-size:8px}.ref-admin-main .admin-news-card .row-actions{padding-top:7px;border-top:1px solid rgba(112,187,224,.14)}.ref-admin-main a{color:#a9e6ff}.ref-admin-main .admin-action{display:inline-block;padding:7px 10px;border:1px solid rgba(112,187,224,.4);border-radius:5px;background:rgba(25,88,121,.25);color:#d5f3ff;font-size:9px}.ref-admin-main .row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ref-admin-main .row-actions form{margin:0}.ref-admin-main .link-danger,.ref-admin-main .admin-danger{border:0;background:transparent;color:#ffab92;font-size:9px;cursor:pointer}.ref-admin-main .pill{display:inline-block;padding:3px 6px;border-radius:4px;font-size:8px;font-style:normal}.ref-admin-main .pill-green{background:rgba(55,145,99,.2);color:#a6e6c2}.ref-admin-main .pill-muted{background:rgba(135,153,165,.15);color:#bcc9d0}
.ref-admin-main .admin-form{display:grid;gap:12px}.ref-admin-main .admin-form label{display:grid;gap:5px;color:#a8bfcc;font-size:9px}.ref-admin-main .admin-form input:not([type=checkbox]),.ref-admin-main .admin-form textarea,.ref-admin-main .admin-form select{width:100%;padding:9px 10px;border:1px solid rgba(112,187,224,.33);border-radius:5px;background:rgba(1,10,18,.85);color:#eaf6fc;outline:none}.ref-admin-main .admin-form textarea{min-height:120px;resize:vertical}.ref-admin-main .admin-form input:focus,.ref-admin-main .admin-form textarea:focus,.ref-admin-main .admin-form select:focus{border-color:#8bdcff;box-shadow:0 0 0 2px rgba(79,193,240,.12)}.ref-admin-main .form-columns{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.ref-admin-main .check-label{display:flex!important;align-items:center;gap:8px}.ref-admin-main .gold-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;width:max-content;padding:0 15px;border:1px solid #dfae65;border-radius:5px;background:linear-gradient(110deg,#96552e,#d18b4d 58%,#e8bf75);color:#24150b;font-size:9px;font-weight:900;letter-spacing:.06em;cursor:pointer}.ref-admin-main .form-actions{display:flex;align-items:center;gap:10px}.ref-admin-main .admin-cancel,.ref-admin-main .back-link{color:#9edfff;font-size:9px}.ref-admin-main .admin-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ref-admin-main .quick-actions{display:flex;flex-wrap:wrap;gap:7px}.ref-admin-main .quick-actions a{padding:8px 11px;border:1px solid rgba(112,187,224,.3);border-radius:5px;color:#bfeaff;font-size:9px}
.ref-admin-main .moderation-item{padding:12px 0;border-bottom:1px solid rgba(112,187,224,.16)}.ref-admin-main .moderation-head{display:flex;justify-content:space-between;gap:12px}.ref-admin-main .moderation-head>div{display:grid;gap:4px}.ref-admin-main .moderation-head small{color:#91aab8;font-size:8px}.ref-admin-main .moderation-item>p{padding:10px;border-radius:5px;background:rgba(0,10,18,.5);color:#c2d2dc;font-size:10px;line-height:1.6}.ref-admin-main .moderation-actions{display:flex;gap:8px;align-items:center}.ref-admin-main .moderation-actions form{margin:0}
.ref-admin-login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px}.ref-admin-login{width:min(400px,100%);padding:25px;border:1px solid rgba(112,187,224,.4);border-radius:9px;background:rgba(4,17,29,.94);box-shadow:var(--fc-shadow)}.ref-admin-login h1{margin:10px 0 18px;font-family:Georgia,serif;font-size:22px;font-weight:400}.ref-admin-login form{display:grid;gap:12px}.ref-admin-login label{display:grid;gap:5px;color:#a9c0ce;font-size:9px}.ref-admin-login input{width:100%;padding:10px;border:1px solid rgba(112,187,224,.33);border-radius:5px;background:#020e19;color:#f0f8fc}.ref-admin-login .gold-button{width:100%;margin-top:5px}.ref-admin-login .admin-cancel{display:inline-block;margin-top:15px;color:#a7e4ff;font-size:9px}
/* Installer compatibility (the one-time install page can be removed after setup). */
.admin-body{min-height:100vh;display:grid;place-items:center;padding:20px;background:#06111d url('reference-world.webp') center/cover fixed no-repeat}.login-wrap{width:min(440px,100%);padding:22px}.login-card{padding:24px;border:1px solid rgba(112,187,224,.4);border-radius:9px;background:rgba(4,17,29,.95);box-shadow:var(--fc-shadow)}.admin-logo{margin-bottom:12px;color:#f0f9ff;font-family:Georgia,serif;font-size:19px;letter-spacing:.12em}.section-kicker{color:#8bdcff;font-size:8px;letter-spacing:.17em}.login-card h1{font-family:Georgia,serif;font-size:20px;font-weight:400}.login-card form{display:grid;gap:11px}.login-card label{display:grid;gap:5px;color:#a9c0ce;font-size:9px}.login-card input{padding:9px;border:1px solid rgba(112,187,224,.33);border-radius:5px;background:#020e19;color:#f0f8fc}.login-card .gold-button{width:100%;margin-top:7px}.login-card p{color:#adbfca;font-size:10px;line-height:1.6}
@media(max-width:900px){
 .ref-topbar-inner,.ref-hero-content,.ref-main-layout,.ref-inner-page,.ref-site-footer{width:92vw}
 .ref-topbar-inner{gap:10px}.ref-nav{gap:12px}.ref-nav a{font-size:9px}
 .ref-hero{height:29vw;min-height:260px}.ref-brand-mark{top:7%}.ref-play-buttons{top:68%}.ref-play-button{height:7.2vw;min-height:59px}
 .ref-main-layout{grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr)}
 .ref-sidebar{gap:10px}.ref-featured-news{min-height:140px}.ref-small-news-image{height:92px}
 .ref-admin-layout{grid-template-columns:1fr}.ref-admin-sidebar{position:relative;height:auto;padding:10px 14px;border-right:0;border-bottom:1px solid rgba(112,187,224,.25)}.ref-admin-sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.ref-admin-sidebar nav a{padding:8px 9px}.ref-admin-bottom{display:flex;flex-wrap:wrap;margin-top:7px}
}
@media(max-width:640px){
 body{font-size:12px}.ref-topbar{height:48px}.ref-topbar-inner{width:calc(100% - 24px);justify-content:flex-end}
 .ref-nav{display:none}.ref-menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:36px;height:34px;padding:0 9px;border:1px solid rgba(112,187,224,.38);border-radius:5px;background:rgba(3,15,26,.8)}.ref-menu-toggle span{height:1px;width:16px;background:#c8eeff}
 .ref-mobile-nav{position:absolute;top:48px;left:10px;right:10px;z-index:40;padding:7px;border:1px solid rgba(112,187,224,.35);border-radius:7px;background:rgba(3,14,25,.97);box-shadow:var(--fc-shadow)}.ref-mobile-nav.open{display:grid}.ref-mobile-nav a{padding:10px;color:#d4e7f0;font-size:11px}.ref-mobile-nav a:hover{background:rgba(53,137,176,.2)}
 .ref-hero{height:auto;min-height:0;padding:13px 0 12px}.ref-hero-content{width:calc(100% - 22px);height:auto;display:flex;flex-direction:column;align-items:center;gap:12px}
 .ref-brand-mark{position:relative;top:auto;left:auto;transform:none;width:min(245px,66vw);min-width:0;max-width:245px}
 .ref-play-buttons{position:relative;top:auto;left:auto;right:auto;transform:none;width:100%;display:grid;grid-template-columns:1fr;gap:4px}
 .ref-play-button{height:65px;min-height:65px;max-height:65px;width:100%}.ref-button-copy{inset:9% 17% 13%}.ref-button-copy b{font-size:14px}.ref-button-copy small{font-size:8px}
 .ref-hero-meta{position:relative;left:auto;right:auto;bottom:auto;width:100%;font-size:6px;letter-spacing:.06em;margin-top:0}
 .ref-main-layout{width:calc(100% - 22px);margin:10px auto 0;grid-template-columns:1fr;gap:9px}
 .ref-sidebar{grid-row:2}.ref-server-panel{padding:10px}.ref-sidebar-heading h2{font-size:12px}.ref-realm-name{font-size:9px}.ref-realm-online{font-size:8px}.ref-meter{height:15px}
 .ref-account-panel{width:min(100%,360px);margin:0 auto}.ref-account-panel h2{font-size:10px}.ref-account-form input{font-size:9px}.ref-account-form button{font-size:9px}.ref-account-links a{font-size:7px}
 .ref-online-panel{width:min(100%,360px);margin:0 auto}.ref-online-content h2{font-size:10px}.ref-online-content p{font-size:12px}
 .ref-news-column{grid-row:1}.ref-section-title h1{font-size:16px}.ref-section-title>a{font-size:9px}.ref-featured-news{min-height:105px}.ref-feature-copy h2{font-size:12px}.ref-feature-copy p{font-size:8px}.ref-feature-copy time{font-size:7px}.ref-small-news-image{height:90px}.ref-small-news h3{font-size:10px}.ref-small-news time{font-size:7px}
 .ref-site-footer{width:calc(100% - 22px);flex-wrap:wrap;justify-content:center;padding:9px 0;margin-top:8px}.ref-site-footer nav{gap:9px}.ref-footer-copy{order:3;width:100%;text-align:center}
 .ref-inner-page{width:calc(100% - 22px);padding-top:22px}.ref-inner-heading h1{font-size:23px}.ref-article-panel,.ref-comments-panel,.ref-guide-panel,.ref-account-page-panel{padding:13px}.ref-archive-item{grid-template-columns:92px minmax(0,1fr) 12px;gap:8px}.ref-archive-item img{height:75px}.ref-archive-item h2{font-size:11px}.ref-archive-item p{font-size:8px}
 .ref-admin-main{padding:13px}.ref-admin-main .admin-stats{grid-template-columns:repeat(2,1fr)}.ref-admin-main .admin-panel{padding:13px}.ref-admin-main .form-columns{grid-template-columns:1fr}.ref-admin-main .admin-news-cards{grid-template-columns:1fr}.ref-admin-page-heading h1{font-size:20px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* v15 responsive corrections: preserve the reference proportions without horizontal overflow. */
@media(max-width:900px){
 .ref-hero{height:26vw;min-height:210px;max-height:270px}
 .ref-brand-mark{top:-2.7vw;width:25vw}
 .ref-play-buttons{top:77%}
 .ref-play-button{height:7vw;min-height:58px}
 .ref-main-layout{width:92vw;grid-template-columns:minmax(0,1.75fr) minmax(210px,1fr);gap:18px}
 .ref-featured-news{height:clamp(125px,16vw,150px)}
 .ref-sidebar{gap:8px}
 .ref-server-panel{height:122px}
 .ref-online-panel{height:86px}
}
@media(max-width:640px){
 .ref-topbar-inner{width:calc(100% - 24px)}
 .ref-hero{height:auto;min-height:0;padding:7px 0 10px}
 .ref-hero-content{width:calc(100% - 18px);height:auto;display:flex;flex-direction:column;align-items:center;gap:5px}
 .ref-brand-mark{position:relative;top:auto;left:auto;transform:none;width:min(205px,55vw);min-width:0;max-width:205px}
 .ref-play-buttons{position:relative;top:auto;left:auto;right:auto;transform:none;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
 .ref-play-button{height:clamp(48px,15vw,62px);min-height:48px;max-height:62px;width:100%}
 .ref-button-copy{inset:9% 13% 12%;gap:2px}
 .ref-button-copy b{font-size:clamp(8px,2.5vw,11px)}
 .ref-button-copy small{font-size:clamp(5px,1.6vw,7px)}
 .ref-play-button>i{display:none}
 .ref-play-button>em{top:4%;right:8%;font-size:5px;padding:1px 3px}
 .ref-hero-meta{position:relative;left:auto;right:auto;bottom:auto;width:100%;margin-top:1px;font-size:5px;letter-spacing:.04em}
 .ref-main-layout{width:calc(100% - 18px);margin:8px auto 0;grid-template-columns:1fr;gap:8px}
 .ref-news-section{padding-top:0}
 .ref-section-title{margin-bottom:3px}
 .ref-section-title h1{font-size:15px}
 .ref-featured-news{height:clamp(116px,34vw,150px)}
 .ref-feature-copy{left:46%;right:7%;top:19%;bottom:17%}
 .ref-feature-copy h2{font-size:clamp(10px,3vw,13px)}
 .ref-feature-copy p{font-size:8px;-webkit-line-clamp:2}
 .ref-feature-copy time{font-size:6px}
 .ref-read-link{font-size:6px}
 .ref-small-news-grid{gap:6px;margin-top:3px}
 .ref-small-news-image{height:clamp(58px,19vw,82px)}
 .ref-small-news h3{font-size:9px}
 .ref-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .ref-server-panel{grid-column:1/-1;height:118px}
 .ref-account-panel{width:100%;aspect-ratio:479/327}
 .ref-account-panel h2{font-size:9px}
 .ref-account-slot{font-size:7px}
 .ref-account-enter{font-size:7px}
 .ref-account-forgot{font-size:6px}
 .ref-online-panel{height:100%;min-height:100px}
 .ref-online-content h2{font-size:8px}
 .ref-online-content p{font-size:11px}
 .ref-online-content small{font-size:6px}
 .ref-site-footer{width:calc(100% - 18px);margin-top:8px;flex-wrap:wrap;justify-content:center;padding:8px 0}
 .ref-site-footer nav{gap:10px}
 .ref-footer-copy{order:3;width:100%;text-align:center}
 .ref-inner-page{width:calc(100% - 18px);padding-top:18px}
 .ref-inner-heading h1{font-size:22px}
 .ref-article-panel,.ref-comments-panel,.ref-guide-panel,.ref-account-page-panel{padding:12px}
 .ref-archive-item{grid-template-columns:78px minmax(0,1fr) 12px;gap:8px}
 .ref-archive-item img{height:66px}
 .ref-admin-main{padding:12px}
 .ref-admin-main .admin-stats{grid-template-columns:repeat(2,1fr)}
 .ref-admin-main .admin-news-cards{grid-template-columns:1fr}
}
@media(max-width:380px){
 .ref-sidebar{grid-template-columns:1fr}
 .ref-server-panel{grid-column:auto}
 .ref-account-panel{width:min(100%,260px);margin:auto}
 .ref-online-panel{min-height:92px}
 .ref-feature-copy p{display:none}
}

.ref-account-integration-note{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;margin-top:16px;padding:13px;border:1px solid rgba(112,187,224,.25);border-radius:8px;background:rgba(4,20,34,.68)}.ref-account-integration-note>span{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(139,220,255,.45);border-radius:50%;color:var(--fc-ice)}.ref-account-integration-note b{color:#eaf6ff;font-size:11px}.ref-account-integration-note p{margin:5px 0 0;color:#a9bfcb;font-size:10px;line-height:1.65}

/* v16 — preserve the source PNG geometry; no stretched frames or separator stripe. */
.ref-topbar{border-bottom:0;background:linear-gradient(90deg,rgba(3,13,23,.94),rgba(5,20,33,.88) 50%,rgba(19,12,12,.92));}
.ref-topbar-inner,.ref-hero-content,.ref-main-layout,.ref-site-footer{width:min(80vw,1280px);}
.ref-hero{height:clamp(390px,32vw,500px);min-height:390px;max-height:500px;border:0;overflow:visible;background:linear-gradient(180deg,rgba(4,15,26,.03),rgba(3,13,23,.12) 65%,rgba(3,12,21,.4));}
.ref-hero:before{background:radial-gradient(ellipse at 50% 34%,rgba(4,19,32,.01),rgba(4,14,25,.08) 66%,rgba(2,9,17,.28));}
.ref-brand-mark{top:-1px;width:min(31vw,460px);max-width:460px;min-width:0;filter:drop-shadow(0 0 8px rgba(74,190,255,.42)) drop-shadow(0 8px 12px rgba(0,0,0,.6));animation:fc-logo-arrive .9s cubic-bezier(.2,.8,.2,1) both;}
.ref-brand-mark img{width:100%;height:auto;image-rendering:auto;}
.ref-play-buttons{top:77%;gap:1.5%;}
.ref-play-button{height:auto;min-height:0;max-height:none;aspect-ratio:1.94;width:100%;}
.ref-play-button>img{object-fit:contain;filter:drop-shadow(0 8px 10px rgba(0,0,0,.55));}
.ref-button-copy{inset:25% 14% 25%;}
.ref-button-copy b{font-size:clamp(13px,1.18vw,19px);letter-spacing:.01em;text-shadow:0 2px 4px #00101d,0 0 8px rgba(115,215,255,.25);}
.ref-button-copy small{display:none!important;}
.ref-play-button>i{right:18%;top:42%;}
.ref-play-button>em{top:12%;right:14%;font-size:clamp(7px,.52vw,9px);padding:3px 7px;}
.ref-hero-meta{display:none!important;}
.ref-main-layout{margin:12px auto 0;grid-template-columns:minmax(0,2.18fr) minmax(290px,1fr);gap:clamp(20px,2.3vw,38px);align-items:start;}
.ref-news-section{padding-top:8px;}
.ref-section-title{margin-bottom:12px;padding:0 8px;}
.ref-section-title h1{font-size:clamp(18px,1.5vw,23px);letter-spacing:.025em;}
.ref-section-title>a{font-size:clamp(9px,.7vw,11px);}
.ref-featured-news{height:auto;aspect-ratio:686/328;min-height:0;}
.ref-news-frame{object-fit:contain;}
.ref-feature-image{left:8.5%;top:30%;width:34%;height:49%;border-radius:7px;}
.ref-feature-copy{left:46.5%;right:7.5%;top:29%;bottom:19%;padding:0 8px;}
.ref-feature-copy time{font-size:clamp(8px,.58vw,10px);}
.ref-feature-copy h2{font-size:clamp(15px,1.15vw,19px);margin:8px 0 5px;}
.ref-feature-copy p{font-size:clamp(10px,.72vw,12px);line-height:1.5;-webkit-line-clamp:3;}
.ref-read-link{font-size:clamp(8px,.6vw,10px);margin-top:8px;}
.ref-small-news-grid{gap:12px;margin-top:12px;}
.ref-small-news-image{height:auto;aspect-ratio:566/335;}
.ref-small-news-copy{padding:8px 10px 10px;}
.ref-small-news time{font-size:9px;}
.ref-small-news h3{font-size:clamp(11px,.85vw,14px);}
.ref-sidebar{gap:16px;}
.ref-server-panel{height:auto;aspect-ratio:426/328;}
.ref-server-frame{object-fit:contain;}
.ref-server-panel>h2{left:13%;top:13%;font-size:clamp(12px,.9vw,15px);letter-spacing:.02em;}
.ref-realm-row{left:17%;right:15%;height:17%;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;}
.ref-realm-row-1{top:37%;height:18%;}
.ref-realm-row-2{top:61%;height:18%;}
.ref-realm-name{font-size:clamp(10px,.72vw,12px);gap:8px;}
.ref-realm-name i{width:8px;height:8px;flex-basis:8px;}
.ref-realm-status{font-size:clamp(9px,.65vw,11px);font-weight:900;letter-spacing:.04em;}
.ref-meter{display:none!important;}
.ref-account-panel{height:auto;aspect-ratio:479/327;}
.ref-account-frame{object-fit:contain;}
.ref-account-panel h2{font-size:clamp(12px,.92vw,15px);}
.ref-account-slot{font-size:clamp(9px,.68vw,11px);}
.ref-account-enter{font-size:clamp(9px,.65vw,11px);}
.ref-account-forgot{font-size:clamp(8px,.54vw,9px);}
.ref-online-panel{height:auto;aspect-ratio:564/335;}
.ref-online-panel>img{object-fit:contain;}
.ref-online-content h2{font-size:clamp(11px,.85vw,14px);}
.ref-online-content p{font-size:clamp(12px,.95vw,15px);}
.ref-online-content small{font-size:clamp(8px,.58vw,10px);}
.ref-site-footer{margin:18px auto 0;border-top:0;position:relative;}
.ref-site-footer:before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(111,205,245,.45),transparent);}
.ref-particle-canvas{position:absolute;z-index:2;inset:0;width:100%;height:100%;pointer-events:none;opacity:.72;mix-blend-mode:screen;}
.ref-home{position:relative;isolation:isolate;}
.ref-play-button:before{content:"";position:absolute;inset:18% 10%;border-radius:50%;background:radial-gradient(ellipse,rgba(70,193,255,.18),transparent 68%);opacity:0;filter:blur(12px);transition:opacity .3s;z-index:-2;}
.ref-play-button:hover:before{opacity:1;}
.ref-featured-news,.ref-server-panel,.ref-account-panel,.ref-online-panel{filter:drop-shadow(0 7px 14px rgba(0,0,0,.25));}
.ref-featured-news:hover .ref-news-frame{filter:drop-shadow(0 0 8px rgba(96,202,255,.23));}
.ref-sidebar>section{animation:fc-panel-enter .7s both;}
.ref-sidebar>section:nth-child(2){animation-delay:.1s}.ref-sidebar>section:nth-child(3){animation-delay:.2s}
.ref-news-section{animation:fc-panel-enter .7s .08s both;}
.ref-site-footer .ref-footer-brand{transition:filter .25s}.ref-site-footer .ref-footer-brand:hover{filter:drop-shadow(0 0 8px #6fd8ff);}
@keyframes fc-logo-arrive{from{opacity:0;transform:translate(-50%,-12px) scale(.96);filter:blur(5px)}to{opacity:1;transform:translate(-50%,0) scale(1);}}
@keyframes fc-panel-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px) and (min-width:641px){
 .ref-topbar-inner,.ref-hero-content,.ref-main-layout,.ref-site-footer{width:90vw;}
 .ref-hero{height:38vw;min-height:350px;}
 .ref-brand-mark{width:min(36vw,400px);}
 .ref-play-buttons{top:73%;}
 .ref-main-layout{grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:18px;}
 .ref-sidebar{gap:10px;}
}
@media(max-width:640px){
 .ref-topbar-inner{width:calc(100% - 24px);}
 .ref-hero{height:auto;min-height:0;padding:10px 0 16px;overflow:hidden;}
 .ref-hero-content{width:calc(100% - 22px);height:auto;display:flex;flex-direction:column;align-items:center;gap:12px;}
 .ref-brand-mark{position:relative;top:auto;left:auto;transform:none;width:min(250px,68vw);max-width:250px;}
 .ref-play-buttons{position:relative;top:auto;left:auto;right:auto;transform:none;width:100%;display:grid;grid-template-columns:1fr;gap:3px;}
 .ref-play-button{width:min(100%,390px);margin:auto;aspect-ratio:1.94;height:auto;min-height:0;}
 .ref-button-copy{inset:25% 14%;}
 .ref-button-copy b{font-size:clamp(13px,4vw,17px);}
 .ref-play-button>em{top:10%;right:13%;font-size:8px;}
 .ref-main-layout{width:calc(100% - 22px);margin:12px auto 0;grid-template-columns:1fr;gap:12px;}
 .ref-news-section{padding-top:0;}
 .ref-featured-news{height:auto;aspect-ratio:686/328;min-height:0;}
 .ref-feature-image{left:8.5%;top:30%;width:34%;height:49%;}
 .ref-feature-copy{left:46%;right:7%;top:27%;bottom:18%;padding:0 3px;}
 .ref-feature-copy time{font-size:7px;}
 .ref-feature-copy h2{font-size:clamp(10px,3.1vw,14px);margin:4px 0;}
 .ref-feature-copy p{font-size:7px;-webkit-line-clamp:2;}
 .ref-read-link{font-size:7px;margin-top:4px;}
 .ref-sidebar{grid-template-columns:1fr;gap:10px;}
 .ref-server-panel{width:min(100%,390px);margin:auto;aspect-ratio:426/328;}
 .ref-server-panel>h2{font-size:12px;}
 .ref-realm-name{font-size:10px;}.ref-realm-status{font-size:9px;}
 .ref-account-panel{width:min(100%,390px);margin:auto;aspect-ratio:479/327;}
 .ref-account-panel h2{font-size:12px;}.ref-account-slot{font-size:9px;}.ref-account-enter{font-size:9px;}.ref-account-forgot{font-size:8px;}
 .ref-online-panel{width:min(100%,390px);margin:auto;aspect-ratio:564/335;min-height:0;}
 .ref-online-content h2{font-size:11px;}.ref-online-content p{font-size:13px;}.ref-online-content small{font-size:8px;}
 .ref-site-footer{width:calc(100% - 22px);margin-top:12px;}
 .ref-particle-canvas{opacity:.45;}
}
@media(prefers-reduced-motion:reduce){.ref-particle-canvas{display:none!important}.ref-sidebar>section,.ref-news-section,.ref-brand-mark{animation:none!important}}
.ref-particle-canvas{z-index:0;}
.ref-hero,.ref-main-layout{position:relative;z-index:1;}
.ref-featured-news:after,.ref-small-news:after,.ref-play-button:after{content:"";position:absolute;inset:8% 5%;border-radius:12px;pointer-events:none;opacity:0;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(116,219,255,.19),transparent 44%);transition:opacity .25s;}
.ref-featured-news:hover:after,.ref-small-news:hover:after,.ref-play-button:hover:after{opacity:1;}
.ref-featured-news:after{inset:12% 6%;}


/* v17 — screenshot corrections: remove header band, align extracted art and compact news archive. */
.ref-topbar{
  position:absolute;top:0;left:0;right:0;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.ref-topbar-inner{background:transparent!important}
.ref-hero{border:0!important}
.ref-play-buttons{background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important}
.ref-play-button{
  background:transparent!important;border:0!important;box-shadow:none!important;
  outline:none!important;overflow:visible;
}
.ref-play-button:focus,.ref-play-button:active{background:transparent!important;box-shadow:none!important}
.ref-play-button:before{display:none!important}
.ref-play-button:after{inset:10% 7%;border-radius:30px;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(110,220,255,.12),transparent 48%);filter:blur(4px)}
.ref-play-button:hover:after{opacity:1}
.ref-play-button>img{filter:drop-shadow(0 5px 7px rgba(0,0,0,.42));}
.ref-play-button:hover>img{filter:drop-shadow(0 0 15px rgba(91,209,255,.82)) brightness(1.08)}
.ref-play-mobile:hover>img{filter:drop-shadow(0 0 15px rgba(255,144,65,.85)) brightness(1.08)}
/* The BETA tab is part of the mobile PNG; put the small label directly over it. */
.ref-play-mobile>em{
  top:22%!important;right:6%!important;transform:translateY(-50%);
  z-index:3;padding:2px 6px!important;font-size:clamp(6px,.48vw,8px)!important;
  border-radius:3px!important;box-shadow:0 1px 5px rgba(0,0,0,.5);
}
/* News text and image now sit inside the real inset areas of news-panel.png. */
.ref-feature-image{left:8.5%;top:21%;width:35%;height:59%;border-radius:7px}
.ref-feature-copy{left:46.5%;right:7.5%;top:24%;bottom:21%;padding:0 7px}
.ref-feature-copy h2{overflow-wrap:anywhere}
.ref-feature-copy p{overflow-wrap:anywhere}
.ref-small-news{min-width:0}
.ref-small-news-copy{min-width:0}
.ref-small-news h3,.ref-small-news h3 a{overflow-wrap:anywhere}
/* Realm labels stay inside their own bars and never collide with ONLINE/OFFLINE. */
.ref-realm-row{left:16%;right:15%;grid-template-columns:minmax(0,1fr) auto;column-gap:10px}
.ref-realm-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ref-realm-status{justify-self:end;min-width:58px;text-align:right;font-size:clamp(8px,.62vw,10px);letter-spacing:0}
.ref-server-panel>h2{top:12%;left:13%}
/* Account links align to the two inset slots and the central button in account-login-panel.png. */
.ref-account-panel h2{top:10%;left:15%;right:12%}
.ref-account-slot{left:15%;width:70%;padding:0 8%;height:13%;white-space:nowrap}
.ref-account-login{top:30%}
.ref-account-register{top:50.5%}
.ref-account-enter{left:30%;top:69.5%;width:40%;height:13%}
.ref-account-forgot{left:34%;right:13%;bottom:6.5%}
/* Three archive stories per page, with pagination directly after the grid. */
.ref-archive-list{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px}
.ref-archive-item{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;min-width:0}
.ref-archive-item img{width:100%;height:clamp(115px,13vw,175px);border-radius:0;object-fit:cover}
.ref-archive-item>div{padding:10px 11px 12px;min-width:0}
.ref-archive-item h2{font-size:clamp(12px,1vw,15px);line-height:1.3;overflow-wrap:anywhere}
.ref-archive-item p{font-size:10px;line-height:1.55}
.ref-archive-item>span{display:none}
.ref-archive-item time{font-size:8px}
.ref-pagination{margin:18px 0 0}
@media(max-width:900px){
  .ref-archive-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ref-archive-item img{height:clamp(110px,19vw,155px)}
}
@media(max-width:640px){
  .ref-topbar{position:relative;height:48px;background:transparent!important;border:0!important}
  .ref-archive-list{grid-template-columns:1fr;gap:9px}
  .ref-archive-item{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center}
  .ref-archive-item img{height:88px;min-height:88px}
  .ref-archive-item>div{padding:7px 9px}
  .ref-archive-item h2{font-size:11px}
  .ref-archive-item p{font-size:8px}
  .ref-play-mobile>em{top:21%!important;right:6%!important;font-size:7px!important}
  .ref-feature-image{top:21%;height:59%}
  .ref-feature-copy{top:23%;bottom:20%}
  .ref-realm-row{left:16%;right:15%;column-gap:6px}
  .ref-realm-name{font-size:9px}
  .ref-realm-status{font-size:8px;min-width:52px}
  .ref-account-login{top:30%}.ref-account-register{top:50.5%}
  .ref-account-enter{top:69.5%}
}


/* v18 — corrections against the six annotated screenshots. */
.ref-topbar{
  position:absolute!important;inset:0 0 auto!important;height:56px!important;
  background:linear-gradient(180deg,rgba(3,13,24,.56),rgba(3,13,24,0))!important;
  border:0!important;box-shadow:none!important;backdrop-filter:none!important;
}
.ref-topbar-inner{
  width:min(92vw,1500px)!important;display:flex;align-items:center;justify-content:space-between;
  gap:clamp(10px,2vw,28px);
}
.ref-header-brand{display:flex;align-items:center;flex:0 0 clamp(112px,12vw,170px);width:clamp(112px,12vw,170px);height:100%;overflow:visible}
.ref-header-brand img{width:100%;height:auto;max-height:52px;object-fit:contain;filter:drop-shadow(0 0 7px rgba(91,205,255,.55)) drop-shadow(0 2px 4px rgba(0,0,0,.8))}
.ref-nav{flex:0 1 auto}
.ref-nav-left{margin-left:auto}
.ref-nav-right{margin-left:auto}
.ref-hero{
  border:0!important;background:transparent!important;
  background-image:none!important;
}
.ref-hero:before,.ref-hero:after{display:none!important;content:none!important}
.ref-main-layout{margin-top:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.ref-news-section{background:transparent!important;border:0!important;box-shadow:none!important}
.ref-brand-mark{
  width:min(35vw,510px)!important;max-width:510px!important;min-width:0!important;
  top:-3px!important;filter:drop-shadow(0 0 10px rgba(78,197,255,.48)) drop-shadow(0 7px 10px rgba(0,0,0,.72))!important;
}
.ref-brand-mark img{display:block;width:100%;height:auto;object-fit:contain}
.ref-play-button{overflow:visible!important}
.ref-play-pc{aspect-ratio:564/290!important}
.ref-play-browser{aspect-ratio:551/290!important}
.ref-play-mobile{aspect-ratio:540/290!important}
.ref-play-button>img{object-fit:contain!important}
.ref-play-mobile>em{
  position:absolute!important;top:32%!important;right:16%!important;
  transform:translate(50%,-50%)!important;z-index:4!important;
  display:grid;place-items:center;min-width:34px;height:17px;padding:0 6px!important;
  border:1px solid rgba(255,208,145,.85)!important;border-radius:3px!important;
  background:linear-gradient(180deg,#ffd18b,#c66d2d)!important;color:#271306!important;
  font-size:8px!important;line-height:1!important;letter-spacing:.08em!important;
  box-shadow:0 2px 6px rgba(0,0,0,.65),0 0 8px rgba(255,151,65,.3)!important;
}
/* Realm panel: name on the left, a single explicit state on the right. */
.ref-server-panel>img,.ref-account-panel>img,.ref-online-panel>img,.ref-news-frame{z-index:0!important}
.ref-server-panel>h2,.ref-realm-row,.ref-account-panel>h2,.ref-account-panel>a,
.ref-online-content,.ref-feature-image,.ref-feature-copy{z-index:1!important}
.ref-realm-row{
  left:16%!important;right:14%!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;gap:8px!important;height:14%!important;
}
.ref-realm-row-1{top:43%!important}
.ref-realm-row-2{top:62%!important}
.ref-realm-name{flex:1 1 auto;min-width:0;font-size:clamp(10px,.75vw,13px)!important;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ref-realm-name i{display:none!important}
.ref-realm-state{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;flex:0 0 auto;white-space:nowrap;font-size:clamp(9px,.67vw,11px);font-weight:900;letter-spacing:.035em}
.ref-realm-state i{display:block;width:8px;height:8px;border-radius:50%;background:#f07862;box-shadow:0 0 8px currentColor}
.ref-realm-state b{font:inherit}
.ref-realm-state.online{color:#65e39a}
.ref-realm-state.online i{background:#4de18b;color:#4de18b}
.ref-realm-state.offline{color:#ff866f}
.ref-realm-state.offline i{background:#ff715f;color:#ff715f}
.ref-realm-status{display:none!important}
/* Account controls are anchored to the two engraved slots and the central button. */
.ref-account-panel{position:relative!important;aspect-ratio:479/327!important;width:100%!important;max-width:390px!important;margin:0 auto!important;isolation:isolate}
.ref-account-panel h2{top:7.5%!important;left:15%!important;right:10%!important;font-size:clamp(12px,.9vw,15px)!important;line-height:1.1}
.ref-account-slot{
  left:16%!important;width:68%!important;height:11%!important;padding:0 7%!important;
  display:flex!important;align-items:center!important;font-size:clamp(9px,.68vw,11px)!important;
}
.ref-account-login{top:28%!important}
.ref-account-register{top:44.5%!important}
.ref-account-enter{
  left:29%!important;top:62%!important;width:42%!important;height:16%!important;
  display:grid!important;place-items:center!important;font-size:clamp(9px,.67vw,11px)!important;
}
.ref-account-forgot{left:31%!important;right:13%!important;bottom:8%!important;font-size:clamp(8px,.55vw,9px)!important}
.ref-online-panel{
  position:relative!important;width:100%!important;max-width:390px!important;margin:0 auto!important;
  aspect-ratio:564/335!important;min-height:0!important;isolation:isolate
}
.ref-online-panel>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important}
.ref-online-content{
  position:absolute!important;left:13%!important;top:39%!important;transform:none!important;
  width:74%!important;padding:0!important;text-align:left!important;
}
.ref-online-content h2{font-size:clamp(11px,.82vw,14px)!important;margin:0 0 6px!important}
.ref-online-content p{font-size:clamp(12px,.9vw,15px)!important;margin:0!important}
.ref-online-content small{font-size:clamp(8px,.58vw,10px)!important;margin-top:3px!important}
/* News cards: the first story uses the supplied icy frame; the next two stay inside the same column. */
.ref-featured-news{position:relative!important;isolation:isolate;width:100%!important;height:auto!important;aspect-ratio:686/328!important;min-height:0!important}
.ref-news-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;pointer-events:none}
.ref-feature-image{left:8.5%!important;top:21%!important;width:35%!important;height:59%!important;border-radius:7px!important;overflow:hidden}
.ref-feature-image img{width:100%!important;height:100%!important;object-fit:cover!important}
.ref-feature-copy{left:46.5%!important;right:7.5%!important;top:22%!important;bottom:20%!important;padding:0 8px!important;min-width:0!important}
.ref-feature-copy time{font-size:clamp(8px,.58vw,10px)!important}
.ref-feature-copy h2{font-size:clamp(14px,1.05vw,18px)!important;line-height:1.22!important;margin:7px 0 4px!important}
.ref-feature-copy p{font-size:clamp(9px,.68vw,11px)!important;line-height:1.45!important;-webkit-line-clamp:2!important}
.ref-read-link{font-size:clamp(8px,.6vw,10px)!important;margin-top:6px!important}
.ref-small-news-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:10px!important}
.ref-small-news{position:relative;min-width:0;border:1px solid rgba(115,199,237,.34);border-radius:10px;overflow:hidden;background:rgba(5,20,34,.72);box-shadow:0 7px 18px rgba(0,0,0,.25)}
.ref-small-news-image{display:block;height:clamp(78px,8vw,112px)!important;overflow:hidden}
.ref-small-news-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s,filter .35s}
.ref-small-news:hover .ref-small-news-image img{transform:scale(1.045);filter:saturate(1.12)}
.ref-small-news-copy{padding:8px 10px 10px!important}
.ref-small-news time{font-size:9px!important}
.ref-small-news h3{font-size:clamp(11px,.8vw,14px)!important;line-height:1.3!important}
.ref-section-title{margin-bottom:10px!important;padding:0 8px!important}
.ref-section-title h1{font-size:clamp(18px,1.45vw,23px)!important}
.ref-archive-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
.ref-pagination{display:flex;justify-content:center;gap:8px;align-items:center;margin:22px auto 0}
.ref-pagination a,.ref-pagination span{display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border:1px solid rgba(116,205,245,.4);border-radius:8px;background:rgba(5,22,37,.76);color:#d9f2ff;font-weight:800}
.ref-pagination [aria-current="page"]{background:linear-gradient(135deg,#17618a,#0d2c45);border-color:#70d6ff;box-shadow:0 0 12px rgba(67,191,255,.22)}
@media(max-width:1100px) and (min-width:641px){
 .ref-topbar-inner{width:94vw!important;gap:12px}
 .ref-header-brand{flex-basis:125px;width:125px}
 .ref-main-layout{width:92vw!important;grid-template-columns:minmax(0,1.65fr) minmax(245px,1fr)!important;gap:18px!important}
 .ref-sidebar{gap:8px!important}
}
@media(max-width:640px){
 .ref-topbar{height:48px!important;position:relative!important;background:rgba(3,13,24,.24)!important}
 .ref-topbar-inner{width:calc(100% - 24px)!important;justify-content:space-between!important}
 .ref-header-brand{width:125px;flex:0 0 125px}
 .ref-header-brand img{max-height:42px}
 .ref-nav{display:none!important}
 .ref-menu-toggle{display:flex!important;margin-left:auto}
 .ref-hero{padding:8px 0 12px!important;min-height:0!important;height:auto!important}
 .ref-hero-content{width:calc(100% - 22px)!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important}
 .ref-brand-mark{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:min(260px,70vw)!important;max-width:260px!important}
 .ref-play-buttons{position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:4px!important}
 .ref-play-button{width:min(100%,390px)!important;margin:0 auto!important;height:auto!important;min-height:0!important;max-height:none!important}
 .ref-button-copy{inset:25% 14%!important}
 .ref-button-copy b{font-size:clamp(13px,4vw,17px)!important}
 .ref-play-mobile>em{top:32%!important;right:16%!important;font-size:8px!important;min-width:34px;height:17px}
 .ref-main-layout{width:calc(100% - 22px)!important;margin:8px auto 0!important;grid-template-columns:1fr!important;gap:10px!important}
 .ref-news-section{padding-top:0!important}
 .ref-featured-news{aspect-ratio:686/328!important}
 .ref-feature-image{left:8.5%!important;top:21%!important;width:35%!important;height:59%!important}
 .ref-feature-copy{left:46.5%!important;right:7.5%!important;top:22%!important;bottom:20%!important;padding:0 3px!important}
 .ref-feature-copy time{font-size:7px!important}
 .ref-feature-copy h2{font-size:clamp(10px,3.1vw,14px)!important;margin:4px 0!important}
 .ref-feature-copy p{font-size:7px!important;-webkit-line-clamp:2!important}
 .ref-read-link{font-size:7px!important}
 .ref-small-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .ref-small-news-image{height:clamp(70px,24vw,105px)!important}
 .ref-sidebar{grid-template-columns:1fr!important;gap:8px!important}
 .ref-server-panel,.ref-account-panel,.ref-online-panel{width:min(100%,390px)!important;margin:0 auto!important}
 .ref-server-panel{aspect-ratio:426/328!important;height:auto!important}
 .ref-account-panel{aspect-ratio:479/327!important}
 .ref-online-panel{aspect-ratio:564/335!important}
 .ref-account-panel h2{font-size:12px!important}
 .ref-account-slot{font-size:9px!important}
 .ref-account-enter{font-size:9px!important}
 .ref-account-forgot{font-size:8px!important}
 .ref-online-content h2{font-size:11px!important}
 .ref-online-content p{font-size:13px!important}
 .ref-online-content small{font-size:8px!important}
 .ref-archive-list{grid-template-columns:1fr!important}
 .ref-archive-item{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important}
 .ref-archive-item img{height:88px!important;min-height:88px!important}
}
@media(prefers-reduced-motion:reduce){
 .ref-brand-mark,.ref-sidebar>section,.ref-news-section{animation:none!important}
 .ref-play-button,.ref-small-news-image img{transition:none!important}
}


/* v18.1 — final responsive geometry and continuous page background. */
body{position:relative;isolation:isolate}
.ref-background{
  position:absolute!important;z-index:-1!important;inset:0!important;
  width:100%!important;height:100%!important;min-height:100vh!important;
  background-attachment:scroll!important;
}
.ref-topbar-inner{width:min(92vw,1500px)!important}
.ref-nav-left,.ref-nav-right{margin-left:0!important}
.ref-nav-left{margin-right:auto!important}
.ref-nav-right{margin-left:auto!important}
@media(max-width:640px){
  .ref-topbar-inner{justify-content:flex-end!important}
  .ref-hero{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
  .ref-hero-content{height:auto!important;min-height:0!important}
  .ref-play-button{width:min(100%,320px)!important}
  .ref-play-buttons{height:auto!important}
}

/* Status is a binary state, not a population meter: cover the decorative meter tracks with clean status rows. */
.ref-realm-row{
  background:rgba(3,14,24,.91)!important;
  border:1px solid rgba(112,190,224,.22);
  border-radius:999px;
  box-shadow:inset 0 1px 8px rgba(0,0,0,.62),0 1px 3px rgba(0,0,0,.25);
  padding:0 10px!important;
}
.ref-realm-state{font-size:clamp(9px,.66vw,11px)!important}

/* v19 — corrections from the latest five screenshots. */
.ref-header-brand{
  display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important;
  width:auto!important;min-width:170px;height:100%;margin-right:auto;color:#eaf8ff;
  text-decoration:none;white-space:nowrap;filter:drop-shadow(0 2px 5px rgba(0,0,0,.7));
}
.ref-header-brand img{
  display:block;width:42px!important;height:30px!important;max-height:none!important;object-fit:contain;
  filter:drop-shadow(0 0 7px rgba(75,200,255,.65))!important;
}
.ref-header-brand span{display:flex;flex-direction:column;gap:1px;line-height:1}
.ref-header-brand b{font-family:Georgia,'Times New Roman',serif;font-size:clamp(14px,1.08vw,18px);font-weight:900;letter-spacing:.055em;color:#eaf8ff;text-shadow:0 0 10px rgba(105,210,255,.4)}
.ref-header-brand small{font-family:Arial,sans-serif;font-size:7px;font-weight:800;letter-spacing:.22em;color:#8fc7df}
.ref-topbar-inner{width:min(94vw,1540px)!important;gap:clamp(12px,2vw,28px)!important}
.ref-nav-left{margin-left:auto!important}
.ref-nav-right{margin-left:auto!important}

/* Single x5 realm: first engraved rail is the centered realm name, second is its state. */
.ref-server-panel{isolation:isolate!important}
.ref-server-panel>img{z-index:0!important}
.ref-server-panel>h2{z-index:2!important;top:8%!important;left:13%!important}
.ref-realm-row{
  position:absolute!important;left:15%!important;right:15%!important;width:70%!important;
  height:13%!important;display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;text-align:center!important;
}
.ref-realm-name-row{top:43.5%!important}
.ref-realm-state-row{top:62.2%!important}
.ref-realm-name{display:block!important;flex:none!important;width:100%!important;text-align:center!important;
  color:#effaff!important;font-size:clamp(12px,.88vw,15px)!important;font-weight:900!important;
  letter-spacing:.015em;text-shadow:0 1px 4px #00101b,0 0 8px rgba(90,204,255,.35)!important}
.ref-realm-state{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  font-size:clamp(11px,.78vw,14px)!important;font-weight:900!important;letter-spacing:.06em!important;
  text-shadow:0 1px 4px #00101b!important}
.ref-realm-state i{width:9px!important;height:9px!important;flex:0 0 9px!important;border-radius:50%!important}
.ref-realm-state.online{color:#72efa8!important}
.ref-realm-state.online i{background:#49e58b!important;box-shadow:0 0 10px #49e58b!important}
.ref-realm-state.offline{color:#ff866f!important}
.ref-realm-state.offline i{background:#ff715f!important;box-shadow:0 0 10px #ff715f!important}

/* Account form fields sit inside the two engraved slots; submit button occupies the gold plate. */
.ref-account-panel{isolation:isolate!important;overflow:visible!important}
.ref-account-frame{z-index:0!important}
.ref-account-panel>h2{z-index:2!important;top:7.5%!important;left:15%!important}
.ref-account-form{position:absolute!important;inset:0!important;z-index:3!important;margin:0!important;padding:0!important}
.ref-account-input{
  position:absolute!important;left:17%!important;width:66%!important;height:10.7%!important;
  margin:0!important;padding:0 4%!important;border:0!important;border-radius:0!important;
  outline:none!important;background:rgba(1,12,21,.12)!important;color:#eaf8ff!important;
  font:700 clamp(9px,.67vw,11px)/1 Arial,sans-serif!important;text-shadow:0 1px 3px #00101a;
  box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;
}
.ref-account-input::placeholder{color:#b9cbd5!important;opacity:.86!important}
.ref-account-input:focus{background:rgba(65,166,211,.13)!important;box-shadow:inset 0 0 0 1px rgba(117,218,255,.45),0 0 9px rgba(74,194,255,.18)!important;border-radius:3px!important}
.ref-account-login{top:28.2%!important}
.ref-account-register{top:44.7%!important}
.ref-account-enter{
  position:absolute!important;left:27%!important;top:62.2%!important;width:46%!important;height:15.5%!important;
  display:grid!important;place-items:center!important;padding:0!important;margin:0!important;
  border:0!important;border-radius:10px!important;background:transparent!important;
  color:#ffdb9a!important;font:900 clamp(10px,.75vw,13px)/1 Arial,sans-serif!important;
  letter-spacing:.025em!important;text-shadow:0 1px 3px #321605,0 0 8px rgba(255,187,87,.35)!important;
  cursor:pointer!important;box-shadow:none!important;transition:filter .2s,transform .2s!important;
}
.ref-account-enter:hover{filter:brightness(1.2) drop-shadow(0 0 7px rgba(255,176,70,.65))!important;transform:translateY(-1px)!important}
.ref-account-links{position:absolute!important;z-index:4!important;left:17%!important;right:17%!important;top:80.5%!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;white-space:nowrap}
.ref-account-create,.ref-account-forgot{position:static!important;display:inline-block!important;margin:0!important;
  color:#d9c18d!important;font-size:clamp(8px,.55vw,9px)!important;line-height:1.2!important;
  text-decoration:underline!important;text-underline-offset:2px!important;text-align:center!important}
.ref-account-create:hover,.ref-account-forgot:hover{color:#fff0c8!important}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Center the complete online statistic inside the inner safe area of its frame. */
.ref-online-panel{isolation:isolate!important}
.ref-online-panel>img{z-index:0!important}
.ref-online-content{
  position:absolute!important;left:11%!important;right:11%!important;top:47%!important;
  width:auto!important;transform:translateY(-50%)!important;padding:0!important;margin:0!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;gap:4px!important;z-index:2!important;
}
.ref-online-content h2{margin:0!important;text-align:center!important;font-size:clamp(12px,.86vw,15px)!important;line-height:1.2!important}
.ref-online-content p{margin:0!important;text-align:center!important;font-size:clamp(13px,.96vw,16px)!important;line-height:1.2!important}
.ref-online-content small{margin:0!important;text-align:center!important;font-size:clamp(9px,.62vw,11px)!important;line-height:1.2!important}

/* Align the feature image to the actual recessed window in news-panel.png (not the outer frame). */
.ref-featured-news{position:relative!important;overflow:visible!important}
.ref-news-frame{z-index:0!important;object-fit:contain!important}
.ref-feature-image{
  z-index:2!important;left:8.2%!important;top:31.2%!important;width:34.2%!important;height:49.5%!important;
  overflow:hidden!important;border-radius:5px!important;
}
.ref-feature-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.ref-feature-copy{z-index:2!important;left:46.5%!important;right:8.2%!important;top:31%!important;bottom:19%!important;
  justify-content:center!important;min-width:0!important;overflow:hidden!important}
.ref-feature-copy time{font-size:clamp(8px,.58vw,10px)!important}
.ref-feature-copy h2{margin:6px 0 3px!important;font-size:clamp(13px,1.02vw,17px)!important}
.ref-feature-copy p{font-size:clamp(9px,.67vw,11px)!important;-webkit-line-clamp:2!important}
.ref-read-link{margin-top:5px!important;font-size:clamp(8px,.58vw,10px)!important}

@media(max-width:900px){
  .ref-header-brand{min-width:140px!important;gap:6px!important}
  .ref-header-brand img{width:34px!important;height:25px!important}
  .ref-header-brand b{font-size:14px!important}
  .ref-header-brand small{font-size:6px!important}
}
@media(max-width:640px){
  .ref-topbar{height:48px!important}
  .ref-topbar-inner{width:calc(100% - 22px)!important;justify-content:space-between!important}
  .ref-header-brand{min-width:0!important;margin:0!important}
  .ref-header-brand img{width:35px!important;height:25px!important}
  .ref-header-brand b{font-size:13px!important}
  .ref-header-brand small{font-size:5.5px!important}
  .ref-server-panel{width:min(100%,390px)!important;margin:0 auto!important}
  .ref-realm-row{left:15%!important;right:15%!important;width:70%!important}
  .ref-realm-name{font-size:12px!important}
  .ref-realm-state{font-size:11px!important}
  .ref-account-panel{width:min(100%,390px)!important;margin:0 auto!important}
  .ref-account-input{font-size:9px!important}
  .ref-account-enter{font-size:10px!important}
  .ref-account-create,.ref-account-forgot{font-size:8px!important}
  .ref-online-panel{width:min(100%,390px)!important;margin:0 auto!important}
  .ref-online-content{top:47%!important}
  .ref-feature-image{left:8.2%!important;top:31.2%!important;width:34.2%!important;height:49.5%!important}
  .ref-feature-copy{left:45.5%!important;right:8%!important;top:30%!important;bottom:18%!important;padding:0 4px!important}
  .ref-feature-copy time{font-size:7px!important}
  .ref-feature-copy h2{font-size:clamp(10px,3vw,14px)!important;margin:3px 0!important}
  .ref-feature-copy p{font-size:7px!important}
  .ref-read-link{font-size:7px!important}
}

/* v20 — final homepage alignment based on the user's annotated screenshots. */
/* Navigation returns to the two original side groups; the hero owns the centered logo. */
.ref-topbar{height:clamp(38px,3.4vw,54px)!important;background:linear-gradient(180deg,rgba(3,12,22,.28),rgba(3,12,22,0))!important;border:0!important;box-shadow:none!important}
.ref-topbar-inner{width:min(92vw,1500px)!important;justify-content:space-between!important;gap:clamp(14px,2vw,30px)!important}
.ref-nav-left{margin:0 auto 0 0!important}
.ref-nav-right{margin:0 0 0 auto!important}
.ref-nav{gap:clamp(14px,2vw,28px)!important}
.ref-nav a{font-size:clamp(9px,.72vw,12px)!important}
.ref-header-brand{display:none!important}

/* Clean central Frostcrown lockup: original generated crown mark + crisp live typography. */
.ref-brand-mark{
  position:absolute!important;left:50%!important;top:14%!important;transform:translateX(-50%)!important;
  width:min(46vw,570px)!important;max-width:570px!important;min-width:260px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:0!important;text-align:center!important;text-decoration:none!important;filter:none!important;
}
.ref-brand-crown{display:block!important;width:clamp(88px,8.5vw,132px)!important;height:clamp(48px,4.7vw,72px)!important;object-fit:contain!important;
  filter:drop-shadow(0 0 8px rgba(65,197,255,.62)) drop-shadow(0 4px 7px rgba(0,0,0,.8))!important}
.ref-brand-word{display:block!important;margin-top:-2px!important;color:#e9f8ff!important;
  font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(29px,3.05vw,48px)!important;
  font-weight:900!important;letter-spacing:.075em!important;line-height:.98!important;
  -webkit-text-stroke:1px rgba(40,102,139,.85);text-shadow:0 2px 0 #153c58,0 4px 0 #061827,0 0 12px rgba(83,205,255,.65),0 7px 12px rgba(0,0,0,.9)!important}
.ref-brand-tagline{display:block!important;margin-top:6px!important;color:#b8e9ff!important;
  font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(7px,.58vw,10px)!important;
  font-weight:700!important;letter-spacing:.42em!important;text-shadow:0 2px 5px #00101a!important}

/* Keep the three sidebar assets on one exact vertical axis and at the same width. */
.ref-sidebar{width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:stretch!important;align-items:start!important;gap:clamp(8px,.85vw,13px)!important}
.ref-server-panel,.ref-account-panel,.ref-online-panel{width:100%!important;max-width:none!important;margin:0!important;justify-self:stretch!important}
.ref-server-panel{aspect-ratio:426/328!important;height:auto!important}
.ref-account-panel{aspect-ratio:479/327!important;height:auto!important}
.ref-online-panel{aspect-ratio:564/335!important;height:auto!important}

/* The artwork rails remain visible, but their decorative fill is masked: name + state only. */
.ref-server-panel{isolation:isolate!important;position:relative!important}
.ref-server-panel>img{z-index:0!important}
.ref-server-panel:before,.ref-server-panel:after{content:""!important;position:absolute!important;z-index:1!important;
  left:18.5%!important;width:74%!important;height:5.9%!important;border-radius:999px!important;pointer-events:none!important;
  background:linear-gradient(180deg,rgba(3,15,26,.98),rgba(5,22,35,.98) 48%,rgba(1,10,18,.98))!important;
  box-shadow:inset 0 2px 5px rgba(0,0,0,.9),inset 0 -1px 2px rgba(88,166,201,.15)!important}
.ref-server-panel:before{top:47.2%!important}
.ref-server-panel:after{top:65.9%!important}
.ref-server-panel>h2{z-index:3!important;top:7.5%!important;left:0!important;right:0!important;
  text-align:center!important;font-size:clamp(12px,.9vw,15px)!important;line-height:1.1!important}
.ref-realm-row{z-index:2!important;left:15%!important;right:15%!important;width:70%!important;height:13%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:center!important}
.ref-realm-name-row{top:43.5%!important}
.ref-realm-state-row{top:62.2%!important}
.ref-realm-name{display:block!important;width:100%!important;text-align:center!important;white-space:nowrap!important;
  color:#effaff!important;font-size:clamp(11px,.84vw,14px)!important;font-weight:900!important;
  text-shadow:0 1px 4px #00101b,0 0 7px rgba(90,204,255,.28)!important}
.ref-realm-state{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  font-size:clamp(11px,.78vw,14px)!important;font-weight:900!important;letter-spacing:.055em!important;white-space:nowrap!important}
.ref-realm-state i{width:8px!important;height:8px!important;flex:0 0 8px!important;border-radius:50%!important}
.ref-realm-state.online{color:#72efa8!important}.ref-realm-state.online i{background:#49e58b!important;box-shadow:0 0 9px #49e58b!important}
.ref-realm-state.offline{color:#ff866f!important}.ref-realm-state.offline i{background:#ff715f!important;box-shadow:0 0 9px #ff715f!important}

/* Login form: centered title and button; only the two actual input lines remain. */
.ref-account-panel{position:relative!important;isolation:isolate!important;overflow:visible!important}
.ref-account-frame{z-index:0!important}
.ref-account-panel>h2{position:absolute!important;z-index:3!important;top:7.5%!important;left:8%!important;right:8%!important;
  margin:0!important;text-align:center!important;font-size:clamp(12px,.9vw,15px)!important;line-height:1.15!important}
.ref-account-form{position:absolute!important;inset:0!important;z-index:3!important;margin:0!important;padding:0!important}
.ref-account-input{position:absolute!important;left:17%!important;width:66%!important;height:10.7%!important;
  margin:0!important;padding:0 4%!important;border:0!important;border-radius:0!important;outline:none!important;
  background:rgba(1,12,21,.12)!important;color:#eaf8ff!important;font:700 clamp(9px,.67vw,11px)/1 Arial,sans-serif!important;
  box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important}
.ref-account-login{top:28.2%!important}.ref-account-register{top:44.7%!important}
.ref-account-input::placeholder{color:#c0d2dc!important;opacity:.9!important}
.ref-account-input:focus{background:rgba(65,166,211,.13)!important;box-shadow:inset 0 0 0 1px rgba(117,218,255,.45),0 0 9px rgba(74,194,255,.18)!important;border-radius:3px!important}
.ref-account-enter{position:absolute!important;left:27%!important;top:62.2%!important;width:46%!important;height:15.5%!important;
  display:grid!important;place-items:center!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;
  background:transparent!important;color:#ffdb9a!important;font:900 clamp(10px,.75vw,13px)/1 Arial,sans-serif!important;
  text-align:center!important;letter-spacing:.025em!important;text-shadow:0 1px 3px #321605,0 0 8px rgba(255,187,87,.35)!important;
  cursor:pointer!important;box-shadow:none!important;transition:filter .2s,transform .2s!important}
.ref-account-enter:hover{filter:brightness(1.2) drop-shadow(0 0 7px rgba(255,176,70,.65))!important;transform:translateY(-1px)!important}
.ref-account-links{display:none!important}

/* Online statistics: all three text lines share the centre of the frame's safe area. */
.ref-online-panel{position:relative!important;isolation:isolate!important}
.ref-online-panel>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;z-index:0!important}
.ref-online-content{position:absolute!important;z-index:2!important;left:12%!important;right:12%!important;top:50%!important;
  transform:translateY(-50%)!important;width:auto!important;margin:0!important;padding:0!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:4px!important;text-align:center!important}
.ref-online-content h2,.ref-online-content p,.ref-online-content small{width:100%!important;margin:0!important;text-align:center!important}
.ref-online-content h2{font-size:clamp(12px,.86vw,15px)!important;line-height:1.2!important}
.ref-online-content p{font-size:clamp(13px,.96vw,16px)!important;line-height:1.2!important}
.ref-online-content small{font-size:clamp(9px,.62vw,11px)!important;line-height:1.2!important}

/* News heading and "all news" live inside one glass news container. The art is fitted to its actual inset. */
.ref-news-section{position:relative!important;min-width:0!important;padding:clamp(12px,1.25vw,19px)!important;
  border:1px solid rgba(117,198,232,.28)!important;border-radius:15px!important;
  background:linear-gradient(145deg,rgba(7,27,43,.74),rgba(3,14,25,.72))!important;
  box-shadow:0 12px 28px rgba(0,0,0,.22),inset 0 1px 0 rgba(190,235,255,.07)!important;
  backdrop-filter:blur(3px)!important}
.ref-section-title{position:relative!important;z-index:2!important;margin:0 0 5px!important;padding:0 2px 8px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.ref-section-title h1{font-size:clamp(17px,1.4vw,23px)!important}
.ref-section-title>a{font-size:clamp(8px,.62vw,10px)!important}
.ref-featured-news{position:relative!important;width:100%!important;height:auto!important;aspect-ratio:686/328!important;min-height:0!important;isolation:isolate!important}
.ref-news-frame{position:absolute!important;z-index:0!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;pointer-events:none!important}
.ref-feature-image{position:absolute!important;z-index:2!important;left:8.2%!important;top:21.5%!important;width:34.5%!important;height:58.5%!important;
  overflow:hidden!important;border-radius:6px!important}
.ref-feature-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.ref-feature-copy{position:absolute!important;z-index:2!important;left:46.5%!important;right:8.2%!important;top:25%!important;bottom:18%!important;
  min-width:0!important;padding:0 6px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;overflow:hidden!important}
.ref-feature-copy time{font-size:clamp(8px,.58vw,10px)!important}
.ref-feature-copy h2{margin:6px 0 3px!important;font-size:clamp(13px,1.02vw,17px)!important;line-height:1.22!important}
.ref-feature-copy p{font-size:clamp(9px,.67vw,11px)!important;line-height:1.45!important;-webkit-line-clamp:2!important}
.ref-read-link{margin-top:5px!important;font-size:clamp(8px,.58vw,10px)!important}

@media(max-width:1100px) and (min-width:641px){
 .ref-topbar-inner{width:94vw!important}
 .ref-main-layout{width:92vw!important;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr)!important;gap:18px!important}
}
@media(max-width:640px){
 .ref-topbar{height:46px!important;position:absolute!important;inset:0 0 auto!important}
 .ref-topbar-inner{width:calc(100% - 24px)!important;justify-content:flex-end!important}
 .ref-nav{display:none!important}
 .ref-menu-toggle{display:flex!important;margin-left:auto!important}
 .ref-hero{padding:0 0 10px!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important}
 .ref-hero-content{width:calc(100% - 22px)!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;padding-top:48px!important}
 .ref-brand-mark{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:min(90vw,390px)!important;min-width:0!important;max-width:390px!important;margin:0 auto 2px!important}
 .ref-brand-crown{width:clamp(74px,20vw,100px)!important;height:clamp(42px,11vw,56px)!important}
 .ref-brand-word{font-size:clamp(27px,8vw,38px)!important}
 .ref-brand-tagline{font-size:7px!important;letter-spacing:.35em!important}
 .ref-play-buttons{position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;width:100%!important;
   display:grid!important;grid-template-columns:1fr!important;gap:3px!important;margin-top:4px!important}
 .ref-play-button{width:min(100%,340px)!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 auto!important;aspect-ratio:564/290!important}
 .ref-button-copy{inset:25% 14%!important}.ref-button-copy b{font-size:clamp(13px,4vw,17px)!important}
 .ref-main-layout{width:calc(100% - 22px)!important;margin:10px auto 0!important;grid-template-columns:1fr!important;gap:10px!important}
 .ref-news-section{padding:12px 9px!important}
 .ref-featured-news{aspect-ratio:686/328!important}
 .ref-feature-image{left:8.2%!important;top:21.5%!important;width:34.5%!important;height:58.5%!important}
 .ref-feature-copy{left:45.5%!important;right:8%!important;top:24%!important;bottom:18%!important;padding:0 3px!important}
 .ref-feature-copy time{font-size:7px!important}.ref-feature-copy h2{font-size:clamp(10px,3.1vw,14px)!important;margin:4px 0!important}
 .ref-feature-copy p{font-size:7px!important}.ref-read-link{font-size:7px!important}
 .ref-small-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .ref-small-news-image{height:clamp(70px,24vw,105px)!important}
 .ref-sidebar{grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:min(100%,390px)!important;margin:0 auto!important}
 .ref-server-panel,.ref-account-panel,.ref-online-panel{width:100%!important;max-width:none!important;margin:0!important}
 .ref-server-panel{aspect-ratio:426/328!important}.ref-account-panel{aspect-ratio:479/327!important}.ref-online-panel{aspect-ratio:564/335!important}
 .ref-server-panel>h2,.ref-account-panel>h2{font-size:12px!important}
 .ref-realm-name,.ref-realm-state{font-size:11px!important}
 .ref-account-input{font-size:9px!important}.ref-account-enter{font-size:10px!important}
 .ref-online-content{top:50%!important}.ref-online-content h2{font-size:11px!important}.ref-online-content p{font-size:13px!important}.ref-online-content small{font-size:8px!important}
}


/* v21 — precise alignment of the three sidebar panels and contained news artwork. */
.ref-server-panel>h2{
  top:14.5%!important;left:8%!important;right:8%!important;
  text-align:center!important;text-shadow:0 1px 3px #00101a!important;
}
/* Keep the artwork's original illuminated rails visible; no masking overlays. */
.ref-server-panel:before,.ref-server-panel:after{display:none!important;content:none!important}
.ref-realm-name{
  text-shadow:0 1px 3px rgba(0,0,0,.85)!important;
  filter:none!important;box-shadow:none!important;
}
.ref-realm-name-row{top:43.5%!important}
.ref-realm-state-row{top:62.2%!important}
.ref-account-panel>h2{
  top:13.2%!important;left:8%!important;right:8%!important;
  text-align:center!important;text-shadow:0 1px 3px #00101a!important;
}
.ref-account-enter{
  left:24%!important;width:46%!important;top:62.2%!important;
  transform:none!important;text-align:center!important;
}
.ref-account-enter:hover{transform:translateY(-1px)!important}
/* The featured article remains a single horizontal composition: image left, copy right. */
.ref-news-section{min-height:0!important;height:auto!important;align-self:start!important}
.ref-featured-news{
  width:100%!important;height:clamp(190px,18vw,270px)!important;
  min-height:0!important;max-height:270px!important;aspect-ratio:auto!important;
}
.ref-news-frame{object-fit:fill!important}
.ref-feature-image{
  left:8.2%!important;top:24%!important;width:34.5%!important;height:52.5%!important;
  max-height:none!important;border-radius:7px!important;overflow:hidden!important;
}
.ref-feature-image img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;
}
.ref-feature-copy{
  left:46.5%!important;right:8.2%!important;top:21%!important;bottom:18%!important;
  overflow:hidden!important;padding:0 clamp(4px,.7vw,12px)!important;
}
.ref-feature-copy h2,.ref-feature-copy p{max-width:100%!important;overflow-wrap:anywhere!important}
.ref-small-news-grid{margin-top:clamp(8px,1vw,14px)!important}
.ref-small-news-image{aspect-ratio:16/9!important;height:auto!important;max-height:130px!important}
.ref-small-news-image img{object-fit:cover!important;object-position:center!important}
.ref-small-news-copy{min-width:0!important;overflow:hidden!important}
.ref-small-news h3{overflow-wrap:anywhere!important}
@media(max-width:640px){
  .ref-server-panel>h2{top:14%!important;font-size:12px!important}
  .ref-account-panel>h2{top:13%!important;font-size:12px!important}
  .ref-account-enter{left:24%!important;width:46%!important;top:62.2%!important}
  .ref-featured-news{height:clamp(150px,48vw,205px)!important;max-height:205px!important}
  .ref-feature-image{left:8.2%!important;top:24%!important;width:34.5%!important;height:52.5%!important}
  .ref-feature-copy{left:45.5%!important;right:8%!important;top:21%!important;bottom:18%!important;padding:0 3px!important}
  .ref-feature-copy time{font-size:7px!important}
  .ref-feature-copy h2{font-size:clamp(10px,3.1vw,14px)!important}
  .ref-feature-copy p{font-size:7px!important}
  .ref-small-news-image{height:auto!important;aspect-ratio:16/9!important}
}

/* v22 — hard structural correction: headings and controls stay inside their image frames. */
.ref-sidebar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:clamp(10px,1vw,15px)!important;min-width:0!important}
.ref-server-panel,.ref-account-panel,.ref-online-panel{position:relative!important;width:100%!important;max-width:390px!important;margin:0 auto!important;justify-self:center!important;isolation:isolate!important}
.ref-server-panel{height:auto!important;aspect-ratio:426/328!important;overflow:hidden!important}
.ref-server-frame,.ref-account-frame,.ref-online-panel>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:fill!important;z-index:0!important;pointer-events:none!important}
.ref-server-panel>h2{position:absolute!important;z-index:3!important;top:17.5%!important;left:12%!important;right:12%!important;margin:0!important;text-align:center!important;font:700 clamp(12px,.9vw,15px)/1.1 Georgia,'Times New Roman',serif!important;color:#f1f8fc!important;text-shadow:0 1px 3px #00101a!important}
.ref-realm-row{position:absolute!important;z-index:2!important;left:15%!important;right:15%!important;width:70%!important;height:9%!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:center!important}
.ref-realm-name-row{top:45.5%!important}
.ref-realm-state-row{top:64.5%!important}
.ref-realm-name{display:block!important;width:100%!important;min-width:0!important;text-align:center!important;font:800 clamp(11px,.78vw,14px)/1 Arial,sans-serif!important;letter-spacing:.01em!important;color:#eaf8ff!important;text-shadow:0 1px 2px rgba(0,0,0,.65)!important;filter:none!important;box-shadow:none!important;white-space:nowrap!important}
.ref-realm-name i{display:none!important}
.ref-realm-state{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font:900 clamp(10px,.72vw,13px)/1 Arial,sans-serif!important;letter-spacing:.04em!important;white-space:nowrap!important;text-shadow:0 1px 3px #00101a!important}
.ref-realm-state i{display:block!important;width:8px!important;height:8px!important;flex:0 0 8px!important;border-radius:50%!important}
.ref-realm-state.online{color:#71e9a3!important}.ref-realm-state.online i{background:#43df85!important;box-shadow:0 0 8px rgba(67,223,133,.75)!important}
.ref-realm-state.offline{color:#ff806e!important}.ref-realm-state.offline i{background:#ff705e!important;box-shadow:0 0 8px rgba(255,112,94,.7)!important}
.ref-account-panel{height:auto!important;aspect-ratio:479/327!important;overflow:hidden!important}
.ref-account-panel>h2{position:absolute!important;z-index:3!important;top:14%!important;left:10%!important;right:10%!important;margin:0!important;text-align:center!important;font:700 clamp(12px,.9vw,15px)/1.1 Georgia,'Times New Roman',serif!important;color:#f1f8fc!important;text-shadow:0 1px 3px #00101a!important}
.ref-account-form{position:absolute!important;inset:0!important;z-index:4!important;margin:0!important;padding:0!important}
.ref-account-input{position:absolute!important;left:17%!important;width:66%!important;height:10.7%!important;margin:0!important;padding:0 4%!important;border:0!important;border-radius:0!important;outline:none!important;background:rgba(1,12,21,.08)!important;color:#eaf8ff!important;font:700 clamp(9px,.67vw,11px)/1 Arial,sans-serif!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important}
.ref-account-login{top:29%!important}.ref-account-register{top:45.5%!important}
.ref-account-input::placeholder{color:#c0d2dc!important;opacity:.92!important}
.ref-account-input:focus{background:rgba(65,166,211,.13)!important;box-shadow:inset 0 0 0 1px rgba(117,218,255,.45),0 0 9px rgba(74,194,255,.18)!important;border-radius:4px!important}
.ref-account-enter{position:absolute!important;left:27%!important;top:63%!important;width:46%!important;height:15%!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#ffdb9a!important;font:900 clamp(10px,.75vw,13px)/1 Arial,sans-serif!important;text-align:center!important;letter-spacing:.025em!important;text-shadow:0 1px 3px #321605!important;cursor:pointer!important;box-shadow:none!important;transform:none!important}
.ref-account-enter:hover{filter:brightness(1.18) drop-shadow(0 0 7px rgba(255,176,70,.5))!important;transform:translateY(-1px)!important}
.ref-account-links{display:none!important}

/* News artwork uses the exact recessed window in the supplied PNG. */
.ref-featured-news{position:relative!important;width:100%!important;height:clamp(190px,18vw,260px)!important;max-height:260px!important;min-height:190px!important;aspect-ratio:auto!important;overflow:hidden!important;isolation:isolate!important}
.ref-news-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:fill!important;z-index:0!important;pointer-events:none!important}
.ref-feature-image{position:absolute!important;z-index:2!important;left:8.15%!important;top:31.7%!important;width:34.1%!important;height:49.7%!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:5px!important;overflow:hidden!important;background:#061a2a!important;display:block!important}
.ref-feature-image img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:4px!important}
.ref-feature-copy{position:absolute!important;z-index:2!important;left:43.2%!important;right:8.5%!important;top:30%!important;bottom:18%!important;min-width:0!important;margin:0!important;padding:0 clamp(5px,.8vw,12px)!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;overflow:hidden!important}
.ref-feature-copy time{font-size:clamp(8px,.58vw,10px)!important}
.ref-feature-copy h2{margin:6px 0 3px!important;font-size:clamp(13px,1.02vw,17px)!important;line-height:1.22!important;overflow-wrap:anywhere!important}
.ref-feature-copy p{max-width:100%!important;margin:0!important;font-size:clamp(9px,.67vw,11px)!important;line-height:1.4!important;-webkit-line-clamp:2!important;overflow-wrap:anywhere!important}
.ref-read-link{margin-top:5px!important;font-size:clamp(8px,.58vw,10px)!important}
.ref-small-news-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:clamp(8px,1vw,13px)!important}
.ref-small-news{display:flex!important;flex-direction:row!important;align-items:stretch!important;min-width:0!important;min-height:104px!important;overflow:hidden!important;border:1px solid rgba(115,199,237,.4)!important;border-radius:10px!important;background:rgba(5,20,34,.84)!important;box-shadow:0 7px 18px rgba(0,0,0,.25)!important}
.ref-small-news-image{display:block!important;flex:0 0 42%!important;width:42%!important;height:auto!important;min-height:104px!important;aspect-ratio:auto!important;overflow:hidden!important;background:#0a2337!important;border:0!important;border-radius:0!important}
.ref-small-news-image img{display:block!important;width:100%!important;height:100%!important;min-height:104px!important;object-fit:cover!important;object-position:center!important;transition:transform .35s,filter .35s!important}
.ref-small-news:hover .ref-small-news-image img{transform:scale(1.035)!important;filter:saturate(1.1)!important}
.ref-small-news-copy{display:flex!important;flex:1 1 58%!important;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:5px!important;padding:10px 11px!important;overflow:hidden!important;text-align:left!important}
.ref-small-news time{display:block!important;font-size:clamp(8px,.54vw,9px)!important;color:#9cb4c2!important}
.ref-small-news h3{display:block!important;margin:0!important;font-size:clamp(11px,.8vw,14px)!important;line-height:1.3!important;overflow-wrap:anywhere!important}
.ref-small-news h3 a{display:block!important;overflow-wrap:anywhere!important}
@media(max-width:1100px) and (min-width:641px){
 .ref-sidebar{gap:8px!important}
 .ref-server-panel,.ref-account-panel,.ref-online-panel{width:100%!important;max-width:none!important}
 .ref-server-panel>h2,.ref-account-panel>h2{font-size:12px!important}
}
@media(max-width:640px){
 .ref-sidebar{width:min(100%,390px)!important;margin:0 auto!important;gap:10px!important}
 .ref-server-panel,.ref-account-panel,.ref-online-panel{width:100%!important;max-width:390px!important}
 .ref-server-panel>h2{top:17.5%!important;font-size:12px!important}
 .ref-account-panel>h2{top:14%!important;font-size:12px!important}
 .ref-realm-name{font-size:11px!important}.ref-realm-state{font-size:10px!important}
 .ref-account-input{font-size:9px!important}.ref-account-enter{font-size:10px!important}
 .ref-featured-news{height:clamp(165px,48vw,205px)!important;min-height:165px!important;max-height:205px!important}
 .ref-feature-image{left:8.15%!important;top:31.7%!important;width:34.1%!important;height:49.7%!important}
 .ref-feature-copy{left:43.2%!important;right:8%!important;top:28%!important;bottom:16%!important;padding:0 4px!important}
 .ref-feature-copy time{font-size:7px!important}.ref-feature-copy h2{font-size:clamp(10px,3vw,13px)!important}.ref-feature-copy p{font-size:7px!important}
 .ref-small-news-grid{grid-template-columns:1fr!important;gap:8px!important}
 .ref-small-news{min-height:92px!important}
 .ref-small-news-image{flex-basis:38%!important;width:38%!important;min-height:92px!important}
 .ref-small-news-image img{min-height:92px!important}
 .ref-small-news-copy{padding:8px 9px!important}
}


/* v23 — final positioning and news actions requested in the reference review. */
/* Realm panel: remove the progress rails from the artwork; keep only centered realm name and state. */
.ref-server-panel>h2{
  top:21%!important;left:12%!important;right:12%!important;
  text-align:center!important;
}
.ref-realm-name-row{top:45%!important}
.ref-realm-state-row{top:65%!important}
.ref-realm-name,.ref-realm-state{
  text-shadow:0 1px 2px rgba(0,0,0,.7)!important;
}
/* Account title belongs inside the panel, with the form aligned below it. */
.ref-account-panel>h2{
  top:20%!important;left:10%!important;right:10%!important;
  text-align:center!important;
}
.ref-account-login{top:31%!important}
.ref-account-register{top:47.5%!important}
.ref-account-enter{top:65%!important;left:27%!important;width:46%!important}
.ref-account-links{display:none!important}
/* All three homepage news cards expose the same clear action. */
.ref-small-news-copy{align-items:flex-start!important;text-align:left!important}
.ref-small-news-read{
  display:inline-flex!important;align-items:center!important;gap:6px!important;
  margin-top:2px!important;padding:5px 9px!important;
  border:1px solid rgba(101,199,239,.48)!important;border-radius:6px!important;
  background:linear-gradient(135deg,rgba(16,67,94,.82),rgba(5,24,39,.92))!important;
  color:#c7edff!important;font:800 clamp(8px,.58vw,10px)/1.2 Arial,sans-serif!important;
  text-decoration:none!important;white-space:nowrap!important;
  transition:background .2s,border-color .2s,transform .2s,box-shadow .2s!important;
}
.ref-small-news-read span{color:#ffad5b!important}
.ref-small-news-read:hover{
  border-color:rgba(130,221,255,.9)!important;
  background:linear-gradient(135deg,rgba(20,103,143,.95),rgba(7,36,57,.98))!important;
  box-shadow:0 0 12px rgba(52,183,245,.2)!important;transform:translateY(-1px)!important;
}
@media(max-width:640px){
  .ref-server-panel>h2{top:21%!important}
  .ref-account-panel>h2{top:20%!important}
  .ref-account-login{top:31%!important}
  .ref-account-register{top:47.5%!important}
  .ref-account-enter{top:65%!important}
  .ref-small-news-copy{padding:7px 8px!important;gap:4px!important}
  .ref-small-news-read{font-size:8px!important;padding:4px 7px!important}
}

/* v24 — definitive realm/account alignment. Cache-busted assets and stylesheet. */
.ref-server-panel{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  aspect-ratio:426/328!important;height:auto!important;
}
.ref-server-frame{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:fill!important;z-index:0!important;pointer-events:none!important;
}
/* No progress bars, no rails, no pseudo-element overlays. */
.ref-server-panel::before,.ref-server-panel::after{
  display:none!important;content:none!important;background:none!important;box-shadow:none!important;
}
.ref-server-panel .ref-server-frame{filter:none!important}
.ref-server-panel>h2{
  position:absolute!important;z-index:3!important;top:21%!important;left:8%!important;right:8%!important;
  display:block!important;margin:0!important;padding:0!important;text-align:center!important;
  font:700 clamp(13px,.95vw,16px)/1.15 Georgia,'Times New Roman',serif!important;
  color:#f1f8fc!important;text-shadow:0 1px 3px rgba(0,8,15,.85)!important;
}
.ref-realm-row{
  position:absolute!important;z-index:2!important;left:13%!important;right:13%!important;width:74%!important;
  height:10%!important;display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;text-align:center!important;
}
.ref-realm-name-row{top:44%!important}
.ref-realm-state-row{top:65%!important}
.ref-realm-name{
  display:block!important;width:100%!important;margin:0!important;padding:0!important;text-align:center!important;
  font:800 clamp(12px,.86vw,15px)/1 Arial,sans-serif!important;letter-spacing:.01em!important;
  color:#eaf8ff!important;text-shadow:0 1px 2px rgba(0,0,0,.7)!important;filter:none!important;
  box-shadow:none!important;white-space:nowrap!important;
}
.ref-realm-name i{display:none!important}
.ref-realm-state{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
  font:900 clamp(11px,.8vw,14px)/1 Arial,sans-serif!important;letter-spacing:.045em!important;white-space:nowrap!important;
  text-shadow:0 1px 2px rgba(0,0,0,.75)!important;
}
.ref-realm-state i{display:block!important;width:8px!important;height:8px!important;flex:0 0 8px!important;border-radius:50%!important}
.ref-realm-state.online{color:#72efa8!important}.ref-realm-state.online i{background:#49e58b!important;box-shadow:0 0 8px rgba(73,229,139,.7)!important}
.ref-realm-state.offline{color:#ff806e!important}.ref-realm-state.offline i{background:#ff705e!important;box-shadow:0 0 8px rgba(255,112,94,.65)!important}

.ref-account-panel{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  aspect-ratio:479/327!important;height:auto!important;
}
.ref-account-frame{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:fill!important;z-index:0!important;pointer-events:none!important;
}
.ref-account-panel>h2{
  position:absolute!important;z-index:4!important;top:17%!important;left:8%!important;right:8%!important;
  display:block!important;margin:0!important;padding:0!important;text-align:center!important;
  font:700 clamp(13px,.95vw,16px)/1.15 Georgia,'Times New Roman',serif!important;
  color:#f1f8fc!important;text-shadow:0 1px 3px rgba(0,8,15,.85)!important;
}
.ref-account-form{position:absolute!important;inset:0!important;z-index:5!important;margin:0!important;padding:0!important}
.ref-account-input{
  position:absolute!important;left:17%!important;width:66%!important;height:10.7%!important;
  margin:0!important;padding:0 4%!important;border:0!important;border-radius:0!important;outline:none!important;
  background:rgba(1,12,21,.08)!important;color:#eaf8ff!important;
  font:700 clamp(9px,.67vw,11px)/1 Arial,sans-serif!important;box-shadow:none!important;
  appearance:none!important;-webkit-appearance:none!important;
}
.ref-account-login{top:29%!important}.ref-account-register{top:45.5%!important}
.ref-account-input::placeholder{color:#c0d2dc!important;opacity:.94!important}
.ref-account-input:focus{background:rgba(65,166,211,.13)!important;box-shadow:inset 0 0 0 1px rgba(117,218,255,.45),0 0 9px rgba(74,194,255,.18)!important;border-radius:4px!important}
.ref-account-enter{
  position:absolute!important;left:25%!important;right:25%!important;width:50%!important;top:63%!important;height:15%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:transparent!important;
  color:#ffdb9a!important;font:900 clamp(10px,.75vw,13px)/1 Arial,sans-serif!important;
  text-align:center!important;text-indent:0!important;letter-spacing:.025em!important;
  text-shadow:0 1px 3px #321605!important;cursor:pointer!important;box-shadow:none!important;
  transform:none!important;translate:0 0!important;
}
.ref-account-enter:hover{filter:brightness(1.18) drop-shadow(0 0 7px rgba(255,176,70,.5))!important;transform:translateY(-1px)!important}
.ref-account-links{display:none!important}
@media(max-width:640px){
  .ref-server-panel,.ref-account-panel{width:100%!important;max-width:390px!important;margin:0 auto!important}
  .ref-server-panel>h2{top:21%!important;font-size:13px!important}
  .ref-account-panel>h2{top:17%!important;font-size:13px!important}
  .ref-account-enter{left:25%!important;right:25%!important;width:50%!important;top:63%!important}
}


/* v25 — final visual alignment from the latest mobile screenshots. */
/* The realm status now uses the exact same icy panel artwork as the online-statistics card. */
.ref-server-panel{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  width:100%!important;height:auto!important;aspect-ratio:564/335!important;
  max-width:390px!important;margin:0 auto!important;
}
.ref-server-frame{
  position:absolute!important;inset:0!important;z-index:0!important;
  display:block!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center!important;pointer-events:none!important;
  filter:none!important;
}
.ref-server-panel::before,.ref-server-panel::after,
.ref-server-panel .ref-meter,.ref-server-panel .ref-progress,
.ref-server-panel .progress,.ref-server-panel [role="progressbar"]{
  display:none!important;content:none!important;visibility:hidden!important;
  width:0!important;height:0!important;opacity:0!important;background:none!important;
  box-shadow:none!important;border:0!important;
}
.ref-server-panel>h2{
  position:absolute!important;z-index:3!important;top:17.5%!important;
  left:9%!important;right:9%!important;margin:0!important;padding:0!important;
  display:block!important;text-align:center!important;
  font:700 clamp(12px,.9vw,15px)/1.15 Georgia,'Times New Roman',serif!important;
  color:#f1f8fc!important;text-shadow:0 1px 3px rgba(0,8,15,.85)!important;
}
.ref-server-panel .ref-realm-row{
  position:absolute!important;z-index:2!important;left:13%!important;right:13%!important;
  width:74%!important;height:11%!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;text-align:center!important;
}
.ref-server-panel .ref-realm-name-row{top:45%!important}
.ref-server-panel .ref-realm-state-row{top:66%!important}
.ref-server-panel .ref-realm-name{
  display:block!important;width:100%!important;margin:0!important;padding:0!important;
  text-align:center!important;white-space:nowrap!important;filter:none!important;
  color:#eaf8ff!important;font:800 clamp(12px,.86vw,15px)/1 Arial,sans-serif!important;
  letter-spacing:.01em!important;text-shadow:0 1px 2px rgba(0,0,0,.72)!important;
  box-shadow:none!important;
}
.ref-server-panel .ref-realm-state{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;box-shadow:none!important;white-space:nowrap!important;
  font:900 clamp(11px,.8vw,14px)/1 Arial,sans-serif!important;letter-spacing:.045em!important;
  text-shadow:0 1px 2px rgba(0,0,0,.75)!important;
}
.ref-server-panel .ref-realm-state i{
  display:block!important;width:8px!important;height:8px!important;flex:0 0 8px!important;
  border-radius:50%!important;
}
.ref-server-panel .ref-realm-state.online{color:#72efa8!important}
.ref-server-panel .ref-realm-state.online i{background:#49e58b!important;box-shadow:0 0 8px rgba(73,229,139,.7)!important}
.ref-server-panel .ref-realm-state.offline{color:#ff806e!important}
.ref-server-panel .ref-realm-state.offline i{background:#ff705e!important;box-shadow:0 0 8px rgba(255,112,94,.65)!important}

/* Account heading sits clearly below the upper ornament. The button aligns to the
   visual center of the engraved gold plate (the plate itself is slightly left of 50%). */
.ref-account-panel>h2{
  top:19.5%!important;left:8%!important;right:8%!important;
  text-align:center!important;line-height:1.15!important;
}
.ref-account-enter{
  left:22.6%!important;right:27.4%!important;width:50%!important;
  top:63%!important;display:flex!important;align-items:center!important;
  justify-content:center!important;text-align:center!important;text-indent:0!important;
  padding:0!important;margin:0!important;transform:none!important;translate:0 0!important;
}
.ref-account-enter:hover{transform:translateY(-1px)!important}

/* The uploaded news artwork fully occupies the left recessed image aperture. */
.ref-feature-image{
  left:8.15%!important;top:31.3%!important;width:34.25%!important;height:50.1%!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:6px!important;
  overflow:hidden!important;background:#061a2a!important;display:block!important;
}
.ref-feature-image img{
  display:block!important;width:100%!important;height:100%!important;
  min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;
  object-fit:cover!important;object-position:center!important;
  border:0!important;border-radius:5px!important;
}
@media(max-width:640px){
  .ref-server-panel{width:min(100%,390px)!important;max-width:390px!important;margin:0 auto!important;aspect-ratio:564/335!important}
  .ref-server-panel>h2{top:17.5%!important;font-size:12px!important}
  .ref-server-panel .ref-realm-name-row{top:45%!important}
  .ref-server-panel .ref-realm-state-row{top:66%!important}
  .ref-server-panel .ref-realm-name{font-size:11px!important}
  .ref-server-panel .ref-realm-state{font-size:10px!important}
  .ref-account-panel>h2{top:19.5%!important;font-size:12px!important}
  .ref-account-enter{left:22.6%!important;right:27.4%!important;width:50%!important;top:63%!important;font-size:10px!important}
  .ref-feature-image{left:8.15%!important;top:31.3%!important;width:34.25%!important;height:50.1%!important}
}


/* v26 — final alignment: realm card mirrors the online-statistics typography;
   all news thumbnails fill their apertures and every teaser is image-left/copy-right. */
.ref-server-panel{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  width:100%!important;max-width:390px!important;height:auto!important;
  aspect-ratio:564/335!important;margin:0 auto!important;
}
.ref-server-frame{
  position:absolute!important;inset:0!important;z-index:0!important;
  display:block!important;width:100%!important;height:100%!important;
  object-fit:contain!important;object-position:center!important;pointer-events:none!important;
}
.ref-server-content{
  position:absolute!important;z-index:2!important;left:12%!important;right:12%!important;top:50%!important;
  transform:translateY(-50%)!important;width:auto!important;margin:0!important;padding:0!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:5px!important;text-align:center!important;
}
.ref-server-content h2,.ref-server-content p,.ref-server-content small{
  display:block!important;width:100%!important;margin:0!important;padding:0!important;text-align:center!important;
}
.ref-server-content h2{
  color:#f1f8fc!important;font:700 clamp(12px,.86vw,15px)/1.2 Georgia,'Times New Roman',serif!important;
  text-shadow:0 1px 3px rgba(0,8,15,.85)!important;
}
.ref-server-content p{
  color:#eaf8ff!important;font:700 clamp(13px,.96vw,16px)/1.2 Arial,sans-serif!important;
  text-shadow:0 1px 2px rgba(0,0,0,.45)!important;
}
.ref-server-content small{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  font:700 clamp(9px,.62vw,11px)/1.2 Arial,sans-serif!important;letter-spacing:.035em!important;
}
.ref-server-state.online{color:#62dfa0!important}
.ref-server-state.online i{background:#49df91!important;box-shadow:0 0 8px rgba(73,223,145,.65)!important}
.ref-server-state.offline{color:#ff806e!important}
.ref-server-state.offline i{background:#ff705e!important;box-shadow:0 0 8px rgba(255,112,94,.65)!important}
.ref-server-state i{display:inline-block!important;width:8px!important;height:8px!important;flex:0 0 8px!important;border-radius:50%!important}

/* Keep the supplied frame at its native proportions so its inset window cannot distort. */
.ref-featured-news{
  position:relative!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;
  aspect-ratio:686/328!important;overflow:hidden!important;isolation:isolate!important;
}
.ref-news-frame{
  position:absolute!important;inset:0!important;z-index:0!important;width:100%!important;height:100%!important;
  object-fit:fill!important;object-position:center!important;pointer-events:none!important;
}
/* Coordinates follow the actual recessed image opening in assets/ui/news-panel.png. */
.ref-feature-image{
  position:absolute!important;z-index:2!important;left:8.45%!important;top:31.1%!important;
  width:34.0%!important;height:50.0%!important;margin:0!important;padding:0!important;
  display:block!important;overflow:hidden!important;border:0!important;border-radius:5px!important;background:#061a2a!important;
}
.ref-feature-image img{
  display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;
  max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;
  border:0!important;border-radius:4px!important;
}
.ref-feature-copy{
  position:absolute!important;z-index:2!important;left:43.5%!important;right:8.2%!important;top:24%!important;bottom:18%!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
  min-width:0!important;overflow:hidden!important;padding:0 clamp(5px,.8vw,12px)!important;
}
.ref-feature-copy h2,.ref-feature-copy p{max-width:100%!important;overflow-wrap:anywhere!important}
.ref-small-news-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(8px,.9vw,13px)!important;margin-top:clamp(8px,1vw,14px)!important;
}
.ref-small-news{
  display:flex!important;flex-direction:row!important;align-items:stretch!important;min-width:0!important;
  min-height:clamp(92px,8.2vw,124px)!important;overflow:hidden!important;
  border:1px solid rgba(112,187,224,.42)!important;border-radius:9px!important;
  background:rgba(5,18,30,.84)!important;
}
.ref-small-news-image{
  display:block!important;position:relative!important;flex:0 0 42%!important;width:42%!important;height:auto!important;
  min-height:100%!important;max-height:none!important;aspect-ratio:auto!important;overflow:hidden!important;
  background:#0a2337!important;
}
.ref-small-news-image img{
  display:block!important;width:100%!important;height:100%!important;min-height:100%!important;
  object-fit:cover!important;object-position:center!important;transition:transform .35s!important;
}
.ref-small-news:hover .ref-small-news-image img{transform:scale(1.045)!important}
.ref-small-news-copy{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;gap:5px!important;min-width:0!important;overflow:hidden!important;
  padding:10px clamp(8px,.8vw,13px)!important;
}
.ref-small-news time{font-size:clamp(8px,.55vw,10px)!important;color:#9cb4c2!important}
.ref-small-news h3{
  margin:0!important;font:700 clamp(11px,.8vw,14px)/1.25 Georgia,'Times New Roman',serif!important;
  color:#f0f7fa!important;overflow-wrap:anywhere!important;
}
.ref-small-news-read{
  display:inline-block!important;margin-top:2px!important;color:#c5e7f4!important;
  font-size:clamp(8px,.55vw,10px)!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.035em!important;
}
.ref-small-news-read span{color:var(--fc-fire)!important;margin-left:4px!important}
@media(max-width:640px){
  .ref-server-panel{width:min(100%,390px)!important;max-width:390px!important;aspect-ratio:564/335!important}
  .ref-server-content{gap:4px!important}
  .ref-server-content h2{font-size:12px!important}
  .ref-server-content p{font-size:13px!important}
  .ref-server-content small{font-size:9px!important}
  .ref-featured-news{aspect-ratio:686/328!important;height:auto!important;max-height:none!important}
  .ref-feature-image{left:8.45%!important;top:31.1%!important;width:34%!important;height:50%!important}
  .ref-feature-copy{left:43.5%!important;right:8.2%!important;top:24%!important;bottom:18%!important;padding:0 4px!important}
  .ref-feature-copy time{font-size:7px!important}
  .ref-feature-copy h2{font-size:clamp(10px,3.1vw,14px)!important}
  .ref-feature-copy p{font-size:7px!important}
  .ref-small-news-grid{grid-template-columns:1fr!important;gap:8px!important}
  .ref-small-news{min-height:94px!important}
  .ref-small-news-image{flex-basis:40%!important;width:40%!important}
  .ref-small-news-copy{padding:8px 9px!important;gap:4px!important}
  .ref-small-news h3{font-size:12px!important}
}


/* v27 — uploaded news artwork must stay fully visible inside every image aperture. */
.ref-feature-image,
.ref-small-news-image {
  overflow: hidden !important;
  min-width: 0 !important;
  min-height: 0 !important;
  background: #061522 !important;
}
.ref-feature-image img,
.ref-small-news-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  border: 0 !important;
}
.ref-featured-news:hover .ref-feature-image img,
.ref-small-news:hover .ref-small-news-image img {
  transform: none !important;
  filter: none !important;
}
/* The article detail uses a bounded viewport; contain preserves the original image ratio. */
.ref-article-image {
  display: block !important;
  width: 100% !important;
  height: clamp(190px, 42vw, 520px) !important;
  max-height: min(68vh, 520px) !important;
  min-height: 0 !important;
  margin: 16px 0 !important;
  padding: 6px !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center center !important;
  overflow: hidden !important;
  background: rgba(3, 15, 26, .92) !important;
  border: 1px solid var(--fc-border) !important;
  border-radius: 7px !important;
}
/* Archive thumbnails follow the same no-crop rule as homepage cards. */
.ref-archive-item img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #061522 !important;
}
@media (max-width: 640px) {
  .ref-article-image {
    height: clamp(170px, 62vw, 360px) !important;
    max-height: 62vh !important;
    padding: 4px !important;
  }
}


/* v28 — transparent aperture for the featured homepage news image.
   Keep the PNG's own alpha channel; the recessed window must not paint a dark tile. */
.ref-feature-image {
  background: transparent !important;
  box-shadow: none !important;
}
.ref-feature-image img {
  background: transparent !important;
  box-shadow: none !important;
}


/* v30 — force a fresh stylesheet and keep the featured image truly transparent.
   The v29 frame already has an alpha-transparent image aperture; the old dark tile
   was still being served by browsers that cached the stylesheet under v27.0. */
.ref-feature-image,
.ref-feature-image img {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.ref-feature-image {
  border: 0 !important;
  outline: 0 !important;
}


/* Frostcrown v31 — editable About page, consistent with the inner-page glass panels. */
.ref-about-page{max-width:1060px}
.ref-about-page .ref-inner-heading{max-width:820px}
.ref-about-page .ref-inner-heading h1{font-size:clamp(24px,2.6vw,38px)}
.ref-about-page .ref-inner-heading p{max-width:760px;margin:8px auto 0;font-size:clamp(10px,.82vw,13px);line-height:1.7}
.ref-about-panel{max-width:900px;margin:0 auto;padding:clamp(20px,2.2vw,34px);border:1px solid rgba(112,187,224,.43);border-radius:12px;background:rgba(4,17,29,.84);box-shadow:var(--fc-shadow);backdrop-filter:blur(7px)}
.ref-about-eyebrow{margin:0 0 16px;color:var(--fc-ice);font-size:9px;font-weight:900;letter-spacing:.2em}
.ref-about-copy{color:#c1d2dc;font-size:clamp(12px,.9vw,14px);line-height:1.9;overflow-wrap:anywhere}
.ref-about-copy p{margin:0 0 1.15em}.ref-about-copy p:last-child{margin-bottom:0}
.ref-about-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px;padding-top:18px;border-top:1px solid rgba(112,187,224,.18)}
.ref-about-actions>a:not(.ref-gold-button){color:#bfe7f8;font-size:10px;font-weight:800;letter-spacing:.04em}
@media(max-width:700px){.ref-about-panel{padding:17px;border-radius:9px}.ref-about-copy{font-size:12px;line-height:1.75}.ref-about-actions{gap:12px;margin-top:18px;padding-top:14px}}


/* Frostcrown v34 — align the account frame with the visual centerline
   of the realm-status and online-statistics frames on desktop only. */
@media (min-width: 641px) {
  .ref-sidebar > .ref-account-panel {
    position: relative !important;
    left: 4% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
