/* GreatMU presentation layer. Nature's grid, breakpoints and CMS selectors are retained. */
:root{--great-ink:#050914;--great-panel:#0c1428;--great-line:rgba(126,173,238,.32);--great-text:#c4d0e5;--great-white:#edf5ff;--great-blue:#85cfff;--great-violet:#b4a5ff}
body.great-theme{background:linear-gradient(180deg,transparent 450px,var(--great-ink) 1050px),url(../images/great-sky.webp) center top / 2500px auto no-repeat,var(--great-ink);color:var(--great-text)}
.great-theme a{color:var(--great-blue)}
.great-theme a:hover{color:#fff}
.great-theme h1,.great-theme h2,.great-theme h3{color:var(--great-white)}
.great-theme .topPanel{background:rgba(4,8,20,.94);box-shadow:0 6px 30px #02040b80}
.great-theme .topPanel:after,.great-theme .footerPage:after{background:linear-gradient(90deg,transparent,#536d9b,#a7d9ff,#536d9b,transparent);height:1px}
.great-theme .topPanel:before,.great-theme .content:before{background:url(../images/modal-icon.png) top center / contain no-repeat;width:140px;height:42px;bottom:-34px;filter:hue-rotate(20deg) saturate(.7) brightness(1.35);pointer-events:none}
.great-theme .menu ul li a,.great-theme .login,.great-theme .footerMenu ul li a{color:#dce7fa;text-shadow:0 2px 8px #000}
.great-theme .menu ul .active a,.great-theme .menu ul li a:hover{color:#93d9ff}
.great-theme .menu ul li a:before{background:radial-gradient(ellipse at bottom,#54a4f361,transparent 65%);border-bottom:1px solid #8acbff}
.great-theme .menu ul li a:after,.great-theme .footerMenu ul li:after{background:url(../images/icon-menu.png) center / contain no-repeat;filter:hue-rotate(120deg) saturate(.4) brightness(1.4)}
.great-theme .enterBlock span{color:#8193b3;text-shadow:none}
.great-theme .logo{width:390px;height:312px;max-width:calc(100% - 30px)}
.great-theme .logo a:not(.great-castle){display:flex;width:100%;height:100%;align-items:center}
.great-theme .logo img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 25px #050714)}
.great-theme .animation .branch{display:block}
.great-theme .great-stars{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.great-theme .light{background:radial-gradient(ellipse,#527aff60,transparent 68%);width:600px;height:600px;top:80px;left:auto;right:-30px;animation:great-nebula 7s ease-in-out infinite;pointer-events:none}
.great-theme .dragon{background:linear-gradient(135deg,#182a49eb,#0a1025ef);border:1px solid #688cba;box-shadow:inset 0 0 24px #6397f326,0 0 22px #538cff20;clip-path:polygon(10% 0,90% 0,100% 50%,90% 100%,10% 100%,0 50%);height:60px;top:590px}
.great-theme .dragon:after{background:radial-gradient(circle,#bceeff,#4e9afb 32%,transparent 70%);filter:blur(2px);animation:orbPulse 5s infinite;left:15px;bottom:auto;border:0;opacity:.7}
.great-theme .dragon:before{content:'ONLINE';opacity:1;transform:none;position:absolute;left:62px;top:10px;bottom:auto;background:none;color:#a6bbdb;padding:0;font-size:9px;letter-spacing:2px;box-shadow:none;text-shadow:none}
.great-theme .dragon:hover:before{transform:none}
.great-theme .players-count{color:#d9f5ff;top:36px;right:35px;text-shadow:0 0 12px #69b8ff;animation:none}
.great-theme .dragon:hover .players-count{text-shadow:0 0 16px #a0deff}
.great-theme .block{border:1px solid #7586b070;box-shadow:inset 0 0 0 3px #050917,0 8px 24px #0004;overflow:hidden}
.great-theme .block:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,#050914c9);pointer-events:none}
.great-theme .blockText{z-index:1;text-shadow:0 2px 14px #000}
.great-theme .homeContainer-left .block-note{color:#c1d7ee;opacity:.85}
.great-theme .blockVideo{background-image:url(../images/great-journey.webp)!important}
.great-theme .blockFaq{background-image:url(../images/great-guide.webp)!important;background-position:center center}
.great-theme .blockDiscord{background-image:url(../images/discord-img.jpg)!important;background-position:center}
.great-theme .blockDragon{background-image:url(../images/great-market.webp)!important;background-position:center}
.great-theme .blockWiki{background-image:linear-gradient(90deg,#070e21cc,#122b5344),url(../images/great-sky.webp)!important;background-position:center 65%;overflow:visible}
.great-theme .blockWiki:after{filter:grayscale(.8) sepia(.2) hue-rotate(170deg) saturate(1.5);opacity:.7;pointer-events:none}
.great-theme button,.great-theme .button{background:url(../images/button-orange.png) center / 100% 100% no-repeat;border:0;box-shadow:none;filter:hue-rotate(180deg) saturate(.65) drop-shadow(0 4px 8px #0008)}
.great-theme .button-green{background-image:url(../images/button-green.png);filter:hue-rotate(100deg) saturate(.75) drop-shadow(0 4px 8px #0008)}
.great-theme .button-blue{background-image:url(../images/button-blue.png);filter:saturate(.75) drop-shadow(0 4px 8px #0008)}
.great-theme .button-orange-small{background-image:url(../images/button-orange-small.png)}
.great-theme button:hover,.great-theme .button:hover{box-shadow:none;transform:translateY(-1px)}
.great-theme .button-green:hover{filter:hue-rotate(100deg) saturate(.75) brightness(1.2) drop-shadow(0 0 9px #619cec55)}
.great-theme .download{background:radial-gradient(ellipse at center,#243b6699,#080f20),url(../images/great-cosmos.webp) center / cover;border:1px solid var(--great-line)}
.great-theme .dowbload-button{background:none;isolation:isolate;color:#edf7ff;text-shadow:0 0 16px #62b9ff;font-size:20px}
.great-theme .dowbload-button:before{content:"";position:absolute;inset:0;z-index:-1;background:url(../images/button-download.png) center / contain no-repeat;animation:great-cta-glow 4s ease-in-out infinite;pointer-events:none}
.great-theme .downloads{background:linear-gradient(90deg,transparent,#75a7dd55,transparent) center 25px / 90% 1px no-repeat}
.great-theme .downloads a{color:#cadcf0;opacity:.8}
.great-theme .homeNews,.great-theme .content,.great-theme .hystmodal__window{background:radial-gradient(ellipse at top right,#27345a55,transparent 55%),linear-gradient(145deg,#101a30,#090f20);box-shadow:inset 0 0 45px #36548314,0 15px 50px #0005;border:1px solid var(--great-line);color:var(--great-text)}
.great-theme .homeNews,.great-theme .hystmodal__window{background:#0b1427 url(../images/great-panel.webp) center / 100% 100% no-repeat;border:0;box-shadow:0 18px 60px #0008}
.great-theme .homeNews-title,.great-theme .newsTitle-link,.great-theme .news-list-link,.great-theme .pageNews-title,.great-theme .modalTitle{color:#e5efff}
.great-theme .newsText,.great-theme .newsTextMore,.great-theme .color-black{color:var(--great-text)}
.great-theme .newsDate,.great-theme .stat-block,.great-theme .pagination li,.great-theme .pagination li a{color:#899ebd}
.great-theme .news-list li,.great-theme .footerMenu{border-color:var(--great-line)}
.great-theme .newsImg{background:#14213b;border:1px solid var(--great-line);box-shadow:0 5px 14px #0006}
.great-theme .color-brown{color:#96b8dc}
.great-theme .color-orange{color:#d6b9f7}
.great-theme .color-blue{color:#85d8ef}
.great-theme .color-purple{color:#baa0f2}
.great-theme .homeNews-title span:after,.great-theme .moreNews:before,.great-theme .moreNews:after,.great-theme .modalTitle span:after,.great-theme .modalTitle span:before{background:linear-gradient(90deg,transparent,#719ad0,transparent);height:1px}
.great-theme .contentTitle,.great-theme .stats,.great-theme .news-page,.great-theme .guide-page-top,.great-theme .server-hero{background-image:linear-gradient(90deg,transparent,#719ad055,transparent);background-size:100% 1px;background-repeat:no-repeat}
.great-theme .gallery-title{color:#d5e8ff;text-shadow:0 0 14px #639cff66}
.great-theme .gallery-title:before,.great-theme .gallery-title:after{filter:grayscale(1) brightness(1.5)}
.great-theme .item-slider{border-color:#637ca5}
.great-theme .item-slider:before,.great-theme .item-slider:after,.great-theme .toTop,.great-theme .hystmodal__window:after,.great-theme .icon,.great-theme .hystmodal__close{filter:grayscale(.85) sepia(.15) hue-rotate(175deg) brightness(1.5)}
.great-theme .footer,.great-theme .footerBottom{background:#070d1b}
.great-theme .footer:after{background:var(--great-ink)}
.great-theme .footerPage{background:radial-gradient(ellipse at 50% 0,#26355a99,transparent 65%)}
.great-theme .footerPage:before{background:radial-gradient(ellipse,#729ff22b,transparent 65%);pointer-events:none}
.great-theme .footerBlock-text_copy,.great-theme .f-link a{color:#8f9eb7}
.great-theme .breadcrumbs,.great-theme .langBlock-drop{background:#080e1eed}
.great-theme .formGroup p{color:#d6e5fc;margin-bottom:8px}
.great-theme .inField{background:linear-gradient(#03081899,#101c3299);border:1px solid #6f88b866;box-shadow:inset 0 2px 8px #0005;min-height:45px}
.great-theme .inField:hover,.great-theme .inField:focus-within{background:#162a44;border-color:#8fc2fa}
.great-theme input,.great-theme textarea{color:#e6f2ff}
.great-theme select{background-color:#172845;background-image:none;color:#e6f2ff}
.great-theme input::placeholder,.great-theme textarea::placeholder{color:#95a9c6}
.great-theme .modalInfo a{color:#a6cffa}
.great-theme :focus-visible{outline:2px solid #a4d9ff;outline-offset:4px}
.great-theme .nm-guides,.great-theme .nm-guide-page,.great-theme .nm-server-info{color:var(--great-text)}
.great-theme .nm-guides .guides-intro,.great-theme .guide-page-top p,.great-theme .server-hero p{color:#adbfdb}
.great-theme .nm-guides .guide-card,.great-theme .guide-entry,.great-theme .mix-card,.great-theme .event-card,.great-theme .newbie-step,.great-theme .server-info-card,.great-theme .server-section,.great-theme .drop-search,.great-theme .drop-table{background:linear-gradient(160deg,#14213b,#0b1226);border-color:var(--great-line);box-shadow:0 10px 25px #0004}
.great-theme .nm-guides .guide-image,.great-theme .guide-entry-image{background:#070f22;border-color:var(--great-line)}
.great-theme .nm-guides .guide-card:hover{border-color:#a4cdff;box-shadow:0 0 25px #6c9ff333}
.great-theme .nm-guides .guide-content h2,.great-theme .guide-entry-content h2,.great-theme .mix-card h2,.great-theme .event-card h2,.great-theme .newbie-step h2,.great-theme .server-section-title h2,.great-theme .server-info-card strong{color:#e5eeff}
.great-theme .nm-guides .guide-content p,.great-theme .guide-entry-content p,.great-theme .mix-card p,.great-theme .event-card p,.great-theme .newbie-step p,.great-theme .server-section-title p,.great-theme .server-table td,.great-theme .command-card span,.great-theme .drop-table td,.great-theme .guide-meta div,.great-theme .mix-result{color:#b2c5e0}
.great-theme .guide-entry-content h3,.great-theme .mix-card h3,.great-theme .event-card h3,.great-theme .command-card code{color:#9ddcff;text-shadow:none}
.great-theme .server-info-card span,.great-theme .guide-meta b,.great-theme .mix-result b,.great-theme .ranking-guild-info span{color:#9daed6}
.great-theme .server-table th,.great-theme .server-info-icon,.great-theme .step-number,.great-theme .guide-tags li,.great-theme .nm-guides .guide-status.available,.great-theme .nm-guides .guide-card:hover .guide-button{background:linear-gradient(180deg,#375c8b,#193654);color:#e4f4ff;border-color:#77a7db}
.great-theme .server-table th,.great-theme .server-table td,.great-theme .drop-table td,.great-theme .drop-table th,.great-theme .command-card{border-color:var(--great-line)}
.great-theme .nm-guides .guide-button{background:linear-gradient(180deg,#34466f,#182443);border-color:#708ab7;color:#d1e2ff}
@keyframes great-nebula{0%,100%{transform:translate3d(-12px,0,0) scale(.95);opacity:.4}50%{transform:translate3d(12px,-10px,0) scale(1.08);opacity:.8}}
@media(max-width:993px){body.great-theme{background-size:auto,auto 850px;background-position:center top,62% top}.great-theme .animation{display:block}.great-theme .light{display:none}.great-theme .dragon{left:50%;transform:translateX(-50%)}.great-theme .dragon:hover{transform:translateX(-50%) scale(1.04)}.great-theme .topPanel-container_left{background:#070d1bf5}}
@media(max-width:525px){.great-theme .logo{left:50%;transform:translateX(-50%)}.great-theme .blockVideo .blockText{left:28px;max-width:calc(100% - 40px)}.great-theme .dowbload-button{width:min(424px,100%);left:50%;margin-left:0;transform:translateX(-50%)}.great-theme .hystmodal__window{width:calc(100% - 32px);height:auto;min-height:557px}.great-theme .registration-modal{min-height:712px}}
@media(prefers-reduced-motion:reduce){.great-theme *,.great-theme *:before,.great-theme *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.great-motion-paused header *,.great-motion-paused header *:before,.great-motion-paused header *:after,.great-document-hidden *,.great-document-hidden *:before,.great-document-hidden *:after{animation-play-state:paused!important}

/* Layered hero: independent transparent artwork, light, orbits and particles. */
.great-theme .animation{position:absolute;inset:0;pointer-events:none;isolation:isolate;overflow:hidden}
.great-theme .animation .dragon{pointer-events:auto}
.great-theme .animation .hero-2{display:block;position:absolute;top:62px;right:0;left:auto;width:565px;height:580px;background:url(../images/great-gateway.webp) center / contain no-repeat;z-index:3;pointer-events:none;transform-origin:center;animation:great-gateway-float 7s ease-in-out infinite;filter:drop-shadow(0 0 24px #5483e83d);will-change:transform}
.great-theme .animation .hero-1{display:block;position:absolute;top:175px;right:45px;left:auto;width:460px;height:320px;border-radius:50%;background:conic-gradient(from 20deg,transparent 0 65%,#8cb1ff9c 78%,#e1f4ffa8 79%,transparent 81%);-webkit-mask:radial-gradient(ellipse,transparent 65%,#000 66% 67%,transparent 68%);mask:radial-gradient(ellipse,transparent 65%,#000 66% 67%,transparent 68%);z-index:4;opacity:.75;animation:great-orbit 20s linear infinite;pointer-events:none}
.great-theme .animation .branch-1,.great-theme .animation .branch-2{display:block;position:absolute;top:90px;right:65px;left:auto;width:420px;height:500px;background:radial-gradient(ellipse,transparent 65%,#79aeff5c 65.3%,transparent 65.8%);border-radius:50%;animation:great-orbit 35s linear infinite;z-index:2;pointer-events:none}
.great-theme .animation .branch-2{top:135px;right:105px;animation-direction:reverse;animation-duration:28s;opacity:.5}
.great-theme .animation .effect{display:block;position:absolute;top:140px;right:35px;left:auto;width:480px;height:440px;background:radial-gradient(ellipse,#3d60e345,transparent 63%);mix-blend-mode:screen;z-index:2;pointer-events:none;animation:great-heartbeat 4s ease-in-out infinite}
.great-theme .great-stars{z-index:5}
.great-theme .animation .spraks{display:none}
.great-theme .logo img{animation:great-logo-light 6s ease-in-out infinite}
.great-theme .dragon{clip-path:none;border:0;box-shadow:none;background:none}
.great-theme .dragon:after{left:17px;top:50%;width:37px;height:37px;z-index:2;opacity:.9}
.great-theme .dragon:before{left:65px;top:13px;z-index:2}
.great-theme .dragon .players-count{top:38px;z-index:2}
.great-theme .dragon .great-online-frame{position:absolute;inset:0;background:linear-gradient(145deg,#526c9d,#0e1932 17%,#182d4b 45%,#0b1429 78%,#738fbe);border:1px solid #8da9d299;clip-path:polygon(9% 0,91% 0,100% 50%,91% 100%,9% 100%,0 50%);box-shadow:inset 0 0 16px #718ece3b}
.great-theme .block:after{content:"";position:absolute;inset:5px;border:1px solid #a9bde537;pointer-events:none}
.great-theme .blockWiki:after{inset:auto;right:-55px;bottom:0;border:0}
.great-theme .block:hover{box-shadow:inset 0 0 0 3px #050917,0 0 24px #719fdb38}
.great-theme .homeNews{min-height:689px;height:auto}
.great-theme .hystmodal__window{height:auto;min-height:0;padding:64px 80px 46px;max-width:calc(100vw - 36px);margin:24px 18px}
.great-theme .hystmodal__window:after{display:none}
.great-theme .hystmodal__close{top:12px;right:12px;width:30px;height:30px;border:1px solid #a4bee0;border-radius:50%;background:linear-gradient(145deg,#314a71,#0b1428);filter:none;box-shadow:0 0 0 3px #070f2080}
.great-theme .hystmodal__close:before,.great-theme .hystmodal__close:after{content:"";position:absolute;top:13px;left:6px;width:16px;height:2px;background:#e2f2ff;transform:rotate(45deg)}
.great-theme .hystmodal__close:after{transform:rotate(-45deg)}
.great-theme .hystmodal__close:hover{filter:brightness(1.4)}
.great-theme .inField .icon,.great-theme .modalInfo .icon{filter:brightness(0) invert(1);opacity:.75;flex-shrink:0}
.great-theme .inField input{flex:1;min-width:0;width:auto;line-height:22px}
.great-theme .modalButtons{margin-bottom:0;padding-top:15px;gap:14px}
.great-theme .loginWith{margin-top:30px}
.great-theme .modalTitle{overflow:visible;font-size:26px;margin-bottom:26px}
.great-theme .modalTitle span:after,.great-theme .modalTitle span:before{width:55px}
.great-theme .g-recaptcha{min-height:0}
.great-theme .footerPage:before{width:min(877px,100%);left:50%;margin-left:0;transform:translateX(-50%)}
.great-theme .inField input:focus-visible{outline:none}
.great-theme .gallery-title span:before,.great-theme .gallery-title span:after{filter:grayscale(1) sepia(.2) hue-rotate(170deg) brightness(1.4)}
.great-theme .news-list-link{white-space:normal;line-height:1.35}
.great-theme .news-list-r{pointer-events:none}
.great-theme .newsText{line-height:1.5}
.great-theme .dowbload-button{transition:filter .3s ease,color .3s ease}
@keyframes great-gateway-float{0%,100%{transform:translate3d(0,8px,0) rotate(-1deg)}50%{transform:translate3d(0,-12px,0) rotate(1deg)}}
@keyframes great-orbit{to{transform:rotate(360deg)}}
@keyframes great-heartbeat{0%,100%{opacity:.3;transform:scale(.9)}50%{opacity:.85;transform:scale(1.08)}}
@keyframes great-logo-light{0%,100%{filter:drop-shadow(0 6px 16px #050914)}50%{filter:drop-shadow(0 6px 16px #050914) drop-shadow(0 0 16px #768ffb66)}}
@keyframes great-cta-glow{0%,100%{filter:hue-rotate(105deg) saturate(.6) brightness(.85)}50%{filter:hue-rotate(105deg) saturate(.75) brightness(1.15)}}
@media(max-width:993px){body.great-theme{background-size:auto,auto 950px;background-position:center top,center top}.great-theme .animation .hero-2{right:-40px;width:480px;opacity:.9}.great-theme .animation .hero-1,.great-theme .animation .branch{display:none}.great-theme .logo{left:40px}.great-theme .dragon{left:235px}}
@media(max-width:620px){.great-theme .animation .hero-2{top:65px;right:calc(50% - 190px);width:380px;height:360px;opacity:.85}.great-theme .animation .light,.great-theme .animation .effect{display:none}.great-theme .logo{left:50%;bottom:45px;transform:translateX(-50%);width:350px;height:245px}.great-theme .dragon{left:50%;top:590px}.great-theme .hystmodal__window{padding:56px 28px 34px;max-width:calc(100vw - 24px);margin:18px 12px}.great-theme .modalButtons{justify-content:center}.great-theme .modalTitle span:before,.great-theme .modalTitle span:after{display:none}.great-theme .homeNews{min-height:620px}.great-theme .blockVideo .blockText .block-title{font-size:34px}.great-theme .news-list-l{padding-right:0}.great-theme .news-list-r{position:static;text-align:right;padding-top:6px}}
@media(prefers-reduced-motion:reduce){.great-theme .animation .hero-2{will-change:auto}.great-theme .dowbload-button:before{filter:hue-rotate(105deg) saturate(.7)}}

/* Keep decorative card wings inside the page on narrow screens. */
@media(max-width:620px){.great-theme .blockWiki{overflow:hidden}}

/* v3: settings-driven celestial scene and GreatMU identity. */
.great-theme .menu ul li a:before{inset:auto 22px 0;left:22px;bottom:0;width:auto;height:2px;margin:0;border:0;background:linear-gradient(90deg,transparent,var(--great-blue),transparent);box-shadow:0 -5px 16px #85cfff50;transform:scaleX(.65);pointer-events:none;transition:opacity .2s,transform .2s}
.great-theme .menu ul li a:hover:before,.great-theme .menu ul .active a:before,.great-theme .menu ul li a:focus-visible:before{opacity:1;transform:scaleX(1)}
.great-theme .topPanel:before{display:none}
.great-menu-emblem{position:absolute;top:59px;left:50%;transform:translateX(-50%);width:116px;height:48px;z-index:2;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at top,#10243ce8,transparent 72%)}
.great-menu-emblem:before,.great-menu-emblem:after{content:"";position:absolute;top:8px;width:60px;height:1px;background:linear-gradient(90deg,transparent,#83bce4);left:-40px;transform:rotate(12deg)}
.great-menu-emblem:after{left:auto;right:-40px;transform:rotate(-12deg);background:linear-gradient(90deg,#83bce4,transparent)}
.great-menu-emblem img{width:94px;height:60px;object-fit:contain;filter:drop-shadow(0 2px 7px #6689ffa8)}
.great-theme .animation .hero-2{top:96px;right:-12px;width:var(--great-hero-width,620px);height:520px;background-image:var(--great-hero-image,url(../images/great-planet.webp));opacity:var(--great-hero-opacity,1);animation:great-planet-drift var(--great-hero-period,12s) ease-in-out infinite;filter:drop-shadow(0 0 28px #547bdf30)}
.great-theme .animation .hero-1,.great-theme .animation .branch-1,.great-theme .animation .branch-2{display:none}
.great-theme .logo a:not(.great-castle){position:relative;isolation:isolate;animation:great-logo-float var(--great-logo-period,6s) ease-in-out infinite}
.great-theme .logo a:not(.great-castle):before{content:"";position:absolute;inset:13% 3%;z-index:-1;background:radial-gradient(ellipse,#6579ee4d,transparent 68%);filter:blur(12px);animation:great-heartbeat 5s ease-in-out infinite;pointer-events:none}
.great-theme .logo a:not(.great-castle):after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,#c9e9ff80 49%,transparent 62%) -150% 0 / 230% 100% no-repeat;-webkit-mask:url(../images/great-logo.png) center / contain no-repeat;mask:url(../images/great-logo.png) center / contain no-repeat;mix-blend-mode:screen;animation:great-logo-shine 8s ease-in-out infinite;pointer-events:none}
.great-theme .logo img{animation:great-logo-light var(--great-logo-period,6s) ease-in-out infinite}
@keyframes great-planet-drift{0%,100%{transform:translate3d(0,var(--great-hero-float-px,10px),0) rotate(-1deg)}50%{transform:translate3d(0,calc(-1 * var(--great-hero-float-px,10px)),0) rotate(1deg)}}
@keyframes great-logo-float{0%,100%{transform:translateY(0)}50%{transform:translateY(calc(-1 * var(--great-logo-float-px,7px)))}}
@keyframes great-logo-shine{0%,40%{background-position:150% 0;opacity:0}45%{opacity:.65}65%{background-position:-100% 0;opacity:0}100%{background-position:-100% 0;opacity:0}}
.great-theme.great-hero-enabled-off .hero-2,.great-theme.great-menu-emblem-off .great-menu-emblem{display:none}
.great-theme.great-logo-animated-off .logo a:not(.great-castle),.great-theme.great-logo-animated-off .logo img,.great-theme.great-logo-animated-off .logo a:not(.great-castle):before,.great-theme.great-logo-animated-off .logo a:not(.great-castle):after{animation:none}
.great-theme.great-logo-animated-off .logo a:not(.great-castle):after{display:none}
.great-theme.great-logo-glow-off .logo img{filter:none;animation:none}
.great-theme.great-logo-glow-off .logo a:not(.great-castle):before,.great-theme.great-logo-glow-off .logo a:not(.great-castle):after{display:none}
.great-theme.great-effects-off *,.great-theme.great-effects-off *:before,.great-theme.great-effects-off *:after{animation:none!important}
.great-theme.great-effects-off .logo a:not(.great-castle):after{display:none}

/* Native disclosure remains usable without JavaScript, including touch and keyboard. */
.great-status{position:absolute;top:580px;left:145px;width:300px;z-index:30;color:#dceaff;text-align:left}
.great-status summary{list-style:none;position:relative;display:flex;align-items:center;gap:14px;min-height:72px;padding:10px 19px;background:linear-gradient(110deg,#101c32f5,#1a2d47eb 48%,#080f20f5);border:1px solid #7d9ebf;box-shadow:inset 0 0 0 3px #080f20,inset 0 0 0 4px #47618380,0 7px 22px #010813b3;cursor:pointer;border-radius:4px}
.great-status summary::-webkit-details-marker{display:none}
.great-status summary:before,.great-status summary:after{content:"";position:absolute;width:16px;height:16px;border:1px solid #c6e7ff;background:linear-gradient(135deg,#9fbed6,#183458 50%,#071122);transform:rotate(45deg);left:-9px;top:26px;box-shadow:0 0 9px #8abcff50}
.great-status summary:after{left:auto;right:-9px}
.great-status summary:hover,.great-status[open] summary{border-color:#c4e7ff;box-shadow:inset 0 0 0 3px #080f20,inset 0 0 0 4px #7eabd0a0,0 0 25px #759bdb45}
.great-status-sigil{font-family:Georgia,serif;font-size:32px;line-height:40px;width:42px;text-align:center;color:#dcf0ff;border:1px solid #799bc280;box-shadow:inset 0 0 14px #567fbc30;transform:rotate(-5deg);text-shadow:0 0 12px #8bd7ff}
.great-status-heading{flex:1;display:flex;flex-direction:column;gap:4px}
.great-status-heading>span{font-size:9px;letter-spacing:1.5px;color:#a1b9d2}
.great-status-heading strong{font-size:25px;line-height:26px;letter-spacing:2px;color:#f0f9ff;text-shadow:0 0 12px #76bcff80}
.great-status-chevron{font-size:20px;color:#a9cae9;transition:transform .2s}
.great-status[open] .great-status-chevron{transform:rotate(180deg)}
.great-eye{display:inline-flex;flex-shrink:0;width:21px;height:13px;border:1px solid currentColor;border-radius:70% 25%;transform:rotate(35deg);color:#92a1b5;align-items:center;justify-content:center}
.great-eye:after{content:"";display:block;width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}
.great-eye.online{color:#62edaf}.great-eye.online:after{animation:great-eye-blink 2.4s ease-in-out infinite}
.great-eye.offline{color:#ff6b82}.great-eye.unknown{color:#8a9bb3}
@keyframes great-eye-blink{0%,100%{opacity:1;box-shadow:0 0 10px currentColor}50%{opacity:.3;box-shadow:0 0 2px currentColor}}
.great-status-dropdown{position:absolute;top:calc(100% + 8px);left:-15px;right:-15px;padding:20px 18px 14px;background:linear-gradient(145deg,#15243afc,#060d1bfd);border:1px solid #86a9ca;box-shadow:inset 0 0 0 3px #070e1b,inset 0 0 0 4px #4d658955,0 18px 45px #000b;border-radius:4px;max-height:65vh;overflow:auto}
.great-status-title{text-align:center;text-transform:uppercase;font-size:11px;letter-spacing:2px;color:#c1dbf3;padding:0 0 13px;border-bottom:1px solid #6083a64d}
.great-server{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid #6083a62b}
.great-server-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:18px;color:#e4f0ff}
.great-server-name small{display:block;font-size:10px;color:#9aaec9;letter-spacing:.5px}
.great-server strong{font-size:14px;white-space:nowrap;color:#d7f1ff}
.great-server strong span{font-size:11px;color:#829cb8;font-weight:normal}
.great-status-link{display:flex;justify-content:space-between;font-size:11px;padding:15px 0 2px;color:var(--great-blue)}
.great-status-empty{font-size:12px;line-height:1.5;padding:15px 0}
@media(max-width:1200px){.great-theme .animation .hero-2{right:-55px}}
@media(max-width:993px){.great-status{left:85px}.great-theme .animation .hero-2{width:500px;right:-60px;opacity:var(--great-hero-opacity,1)}.great-theme .menu ul li a:before{display:block;left:40px;right:40px}}
@media(max-width:620px){.great-status{left:50%;transform:translateX(-50%);top:580px;width:min(290px,calc(100% - 50px))}.great-status summary{min-height:68px}.great-status-dropdown{left:-8px;right:-8px}.great-theme .animation .hero-2{top:94px;right:calc(50% - var(--great-hero-mobile-width,370px) / 2);width:var(--great-hero-mobile-width,370px);height:300px}.great-menu-emblem{width:96px;height:42px}.great-menu-emblem img{width:80px;height:50px}}
@media(prefers-reduced-motion:reduce){.great-theme .logo a:not(.great-castle):after{display:none}}

/* v4: full-height MU class portraits, materializing through blue teleport light. */
.great-theme .animation .hero-2{top:75px;right:-8px;height:562px;width:var(--great-hero-width,620px);background-image:var(--great-hero-image,url(../images/great-class-dk.webp));animation:great-character-float var(--great-hero-period,12s) ease-in-out infinite;filter:none;overflow:visible}
.great-theme .animation .hero-2.great-characters-ready{background-image:none}
.great-character-stage{position:absolute;inset:0 0 20px;z-index:2}
.great-character{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 5px 20px #3366bf40);pointer-events:none}
.great-class-label{position:absolute;left:50%;bottom:0;transform:translateX(-50%);min-width:190px;text-align:center;font-size:12px;letter-spacing:3px;text-transform:uppercase;color:#d4e9ff;text-shadow:0 2px 10px #020611;white-space:nowrap;z-index:4}
.great-class-label[hidden]{display:none}
.great-class-label:before,.great-class-label:after{content:"";position:absolute;top:8px;width:35px;height:1px;background:linear-gradient(90deg,transparent,#799fc5);left:-45px}
.great-class-label:after{left:auto;right:-45px;transform:rotate(180deg)}
.great-class-label small{display:block;font-size:8px;letter-spacing:3px;color:#869ebf;line-height:18px}
.great-teleport-ring{position:absolute;left:22%;right:22%;bottom:37px;height:55px;border-radius:50%;border:2px solid #c4f3ff;box-shadow:0 0 12px #6ec7ff,inset 0 0 18px #608aff;background:radial-gradient(ellipse,transparent 46%,#7bafff75 63%,transparent 70%);opacity:calc(var(--teleport-energy,0) * var(--great-teleport-intensity,.8));transform:scale(var(--teleport-spread,1));z-index:1;pointer-events:none}
.great-teleport-ring:after{content:"";position:absolute;inset:9px -15px;border:1px solid #a8bfff;border-radius:50%;box-shadow:0 0 14px #718dff}
.great-teleport-beam{position:absolute;inset:8% 23% 45px;z-index:3;background:linear-gradient(90deg,transparent,#658bff1a 20%,#b5f4ffb3 48%,#f4fcffd9 50%,#819fff66 53%,transparent 80%);-webkit-mask:linear-gradient(transparent,#000 20%,#000 92%,transparent);mask:linear-gradient(transparent,#000 20%,#000 92%,transparent);filter:blur(2px);opacity:calc(var(--teleport-energy,0) * var(--great-teleport-intensity,.8));transform:scaleX(calc(.5 + var(--teleport-energy,0) * .6));pointer-events:none}
.great-teleport-embers{position:absolute;inset:18% 25% 35px;z-index:4;background:radial-gradient(circle at 15% 60%,#d7f6ff 0 1px,transparent 3px),radial-gradient(circle at 75% 35%,#acdaff 0 2px,transparent 4px),radial-gradient(circle at 30% 80%,#96c9ff 0 1px,transparent 4px),radial-gradient(circle at 85% 75%,#e2faff 0 2px,transparent 4px),radial-gradient(circle at 35% 30%,#a0cfff 0 1px,transparent 3px);opacity:calc(var(--teleport-energy,0) * var(--great-teleport-intensity,.8));transform:translateY(var(--teleport-rise,0px));pointer-events:none}
@keyframes great-character-float{0%,100%{transform:translateY(0)}50%{transform:translateY(calc(-1 * var(--great-hero-float-px,10px)))}}
.great-character-paused,.great-character-paused *{animation-play-state:paused!important}
/* Fine details: soften card borders, strengthen input icons, keep brand accents consistent. */
.great-theme .inField .icon{opacity:.9}
.great-theme .block{border-color:#839dc066}
.great-theme .button-green{filter:hue-rotate(130deg) saturate(.5) drop-shadow(0 4px 8px #0008)}
.great-theme .button-green:hover{filter:hue-rotate(130deg) saturate(.5) brightness(1.2) drop-shadow(0 0 9px #619cec55)}
.great-theme .great-status-sigil{border-radius:50%;border-color:#8db5de80;background:radial-gradient(ellipse,#4978b54d,transparent 70%);transform:none;font-size:29px}
.great-theme .great-status summary{background:radial-gradient(ellipse at 25% 0,#527dae30,transparent 70%),linear-gradient(110deg,#101c32f5,#1a2d47eb 48%,#080f20f5)}
@media(max-width:1200px){.great-theme .animation .hero-2{right:-45px}}
@media(max-width:993px){.great-theme .animation .hero-2{width:500px;right:-80px;top:80px}}
@media(max-width:620px){.great-theme .animation .hero-2{top:93px;right:calc(50% - var(--great-hero-mobile-width,370px) / 2);width:var(--great-hero-mobile-width,370px);height:305px}.great-character-stage{bottom:24px}.great-class-label{font-size:9px;letter-spacing:2px;min-width:140px;bottom:-2px}.great-class-label small{font-size:7px;line-height:14px}.great-class-label:before,.great-class-label:after{width:23px}.great-class-label:before{left:-28px}.great-class-label:after{right:-28px}.great-teleport-ring{height:32px;bottom:30px}.great-teleport-beam{bottom:35px}}

/* v5: a restrained emblem appears only once the page passes the navigation height. */
.great-menu-emblem{opacity:0;visibility:hidden;transform:translate(-50%,-12px);transition:opacity .35s ease,transform .35s ease,visibility .35s}
.great-menu-emblem.is-scrolled{opacity:1;visibility:visible;transform:translate(-50%,0)}
/* Cosmic hover glow follows the transparent character silhouette. */
.great-theme .great-character-stage{pointer-events:auto;left:15%;right:15%;transition:filter .35s ease}
.great-theme .hero-2:hover .great-character-stage,.great-theme .hero-2:focus-within .great-character-stage{filter:drop-shadow(0 0 12px #77caff99) drop-shadow(0 0 26px #537aff55)}
.great-theme .great-class-label{pointer-events:auto}
.great-theme .hero-2.great-best-mode{z-index:20}
.great-theme .hero-2.great-best-open{z-index:35;animation-play-state:paused}
.great-best-mode .great-class-label{bottom:-5px;min-width:230px;cursor:pointer;letter-spacing:1px}
.great-best-title{display:block;font-size:11px;letter-spacing:2px;line-height:20px;color:#b8d8fa}
.great-best-identity{display:flex;align-items:center;justify-content:center;gap:10px;line-height:26px}
.great-best-identity strong{font-size:16px;font-weight:normal;letter-spacing:1px;color:#effaff;text-transform:none;overflow-wrap:anywhere;max-width:200px}
.great-guild-mark{width:24px;height:24px;image-rendering:pixelated;flex-shrink:0;background:#040a14;box-shadow:0 0 0 1px #83abd180,0 0 9px #558bd833}
.great-guild-empty{opacity:.5;background:linear-gradient(45deg,#14233b,#354b68);border:1px solid #7593b9}
.great-best-card{position:absolute;right:18px;top:34%;width:260px;max-width:calc(100vw - 32px);padding:25px 24px 22px;box-sizing:border-box;background:linear-gradient(#081327d9,#101f35e8);border:1px solid #8ab2dc80;box-shadow:inset 0 0 0 3px #07101c80,0 14px 40px #020612aa;backdrop-filter:blur(10px);border-radius:3px;z-index:30;pointer-events:auto;color:#cbdff4;text-shadow:0 1px 5px #000}
.great-best-card[hidden]{display:none}
.great-best-card:before,.great-best-card:after{content:"";position:absolute;inset:6px;border-top:1px solid #b8d9f870;border-bottom:1px solid #b8d9f840;pointer-events:none}
.great-best-card .great-best-identity{justify-content:flex-start;padding-bottom:10px;border-bottom:1px solid #7b9ec34d}
.great-best-card .great-guild-mark{width:32px;height:32px}
.great-best-card .great-best-identity strong{font-size:17px}
.great-best-guild{margin:5px 0 8px 42px;color:#7fafdd;font-size:11px;letter-spacing:1px}
.great-best-card dl{display:grid;grid-template-columns:1fr auto;gap:9px 14px;margin:15px 0 0;font-size:12px;line-height:18px}
.great-best-card dt{color:#a4bfdc}.great-best-card dd{margin:0;color:#e6f6ff;font-weight:bold}
.great-best-empty{margin:12px 0 0;font-size:11px;color:#93abc6}
/* Match the online card to the silver ornament of registration/download windows. */
.great-status summary{background:#0b1427 url(../images/great-panel.webp) center / 100% 100% no-repeat;border:0;border-radius:0;box-shadow:0 8px 25px #0007;padding:13px 24px;min-height:76px}
.great-status summary:before,.great-status summary:after{display:none}
.great-status summary:hover,.great-status[open] summary{box-shadow:0 0 22px #6d9edb55}
.great-status-sigil{display:none}
.great-status-heading{padding-left:7px}
.great-status-heading>span{font-size:9px;color:#b8cce4}
.great-status-dropdown{background:#0b1427 url(../images/great-panel.webp) center / 100% 100% no-repeat;border:0;padding:26px 25px 22px;box-shadow:0 15px 40px #000a}
/* Restore hover after the dark-theme color override; support both list and article titles. */
.great-theme .news-list-link,.great-theme .newsTitle-link,.great-theme .pageNews-title a{transition:color .22s ease,text-shadow .22s ease}
.great-theme .news-header:hover .news-list-link,.great-theme .news-header:focus-visible .news-list-link,.great-theme .news-list-link:hover,.great-theme .newsTitle-link:hover,.great-theme .pageNews-title a:hover{color:#9bdcff;text-shadow:0 0 12px #5eacff88}
.great-theme .news-header:focus-visible{outline:1px solid #92c7ff;outline-offset:5px}
/* Two slow starlight trails replace the original gallery flourishes. */
.great-theme .gallery-title span:before,.great-theme .gallery-title span:after{width:522px;height:20px;top:50%;margin-top:-10px;filter:none;background:radial-gradient(circle,#e1f8ff 0 1px,#89bfff80 2px,transparent 6px) 0 50% / 100% 100% no-repeat,linear-gradient(90deg,transparent,#557ac7,#b9e9ff) center / 100% 1px no-repeat;animation:great-gallery-trail 9s ease-in-out infinite;opacity:.85}
.great-theme .gallery-title span:after{transform:scaleX(-1);animation-delay:-4.5s}
@keyframes great-gallery-trail{0%,100%{background-size:0% 100%,100% 1px;opacity:.5}50%{background-size:200% 100%,100% 1px;opacity:1}}
/* A low-contrast moving caustic stays inside the existing Download face. */
.great-theme .dowbload-button:after{content:"";position:absolute;left:14%;right:14%;top:29%;bottom:29%;z-index:-1;pointer-events:none;clip-path:polygon(6% 0,94% 0,100% 50%,94% 100%,6% 100%,0 50%);background:repeating-radial-gradient(ellipse at 20% 150%,transparent 0 14px,#d3fbff35 17px,transparent 22px 40px),repeating-radial-gradient(ellipse at 80% -70%,transparent 0 23px,#96ebff30 27px,transparent 33px 55px);background-size:170% 180%,180% 200%;mix-blend-mode:screen;opacity:.65;animation:great-water 12s ease-in-out infinite alternate}
@keyframes great-water{from{background-position:0% 0%,100% 70%;filter:blur(.3px)}to{background-position:80% 100%,10% 0%;filter:blur(.9px)}}
@media(max-width:993px) and (min-width:621px){.great-best-card{right:95px}}
@media(max-width:620px){.great-best-card{right:50%;transform:translateX(50%);top:60px;width:252px;max-height:280px;overflow:auto;padding:22px}.great-best-mode .great-class-label{bottom:-7px;min-width:205px}.great-best-title{font-size:9px;line-height:14px}.great-best-identity{line-height:20px;gap:8px}.great-best-identity strong{font-size:13px}.great-class-label .great-guild-mark{width:18px;height:18px}.great-status summary{min-height:74px}}
/* Nine-slice ornament keeps the small status panel's corners in proportion. */
.great-status summary{border:14px solid transparent;border-image:url(../images/great-panel.webp) 170 fill / 28px / 0 stretch;background:#0b1427;padding:3px 12px;box-sizing:border-box;min-height:76px}
.great-status-dropdown{border:19px solid transparent;border-image:url(../images/great-panel.webp) 170 fill / 32px / 0 stretch;background:#0b1427;padding:8px 10px 9px}
@media(max-width:620px){.great-theme .animation .hero-2.great-best-mode{top:85px;height:300px}.great-best-mode .great-class-label{bottom:0}}
/* Keep character controls above the transparent upper margin of Download. */
.great-theme .animation{z-index:16}

/* v6: one connected, upward-opening observatory panel. */
.great-theme .great-status{top:548px;left:95px;width:400px}
.great-theme .great-status summary{min-height:108px;padding:15px 26px;gap:18px;border:1px solid #7297c780;border-image:none;border-radius:18px;background:radial-gradient(ellipse at 50% 0,#38568670,transparent 75%),linear-gradient(135deg,#13223a,#080e1c);box-shadow:inset 0 0 0 4px #091220,inset 0 0 0 5px #809fc326,0 12px 30px #01050dc0;overflow:hidden}
.great-theme .great-status[open] summary{border-radius:0 0 18px 18px;border-top-color:#6f95c345}
.great-theme .great-status summary:before{display:block;content:"";left:26px;right:26px;top:0;width:auto;height:1px;border:0;transform:none;background:linear-gradient(90deg,transparent,#b9e7ff,transparent);box-shadow:0 0 12px #89b9ff80}
.great-theme .great-status summary:after{display:none}
.great-status-heading{padding-left:0;gap:5px}
.great-status-heading strong{font-size:28px;line-height:29px}
.great-theme .great-server-clock{display:flex;align-items:center;gap:12px;margin-bottom:8px;color:#9eb7d4;font-size:10px;letter-spacing:1px}
.great-server-clock time{color:#e5f5ff;font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:1.5px}
.great-theme .great-status-chevron{transform:rotate(180deg)}
.great-theme .great-status[open] .great-status-chevron{transform:none}
.great-theme .great-status-dropdown{top:auto;bottom:calc(100% - 1px);left:0;right:0;min-height:278px;max-height:410px;box-sizing:border-box;padding:28px 26px 22px;border:1px solid #7297c780;border-bottom:0;border-image:none;border-radius:20px 20px 0 0;background:radial-gradient(ellipse at 50% 0,#395e9460,transparent 70%),linear-gradient(145deg,#111f34fa,#080f1ffc);box-shadow:inset 4px 0 #091220,inset -4px 0 #091220,0 -14px 36px #01050d90;overflow:auto;transform-origin:bottom;animation:great-status-rise .32s ease-out both}
.great-status-dropdown:before{content:"";display:block;width:9px;height:9px;margin:-14px auto 18px;transform:rotate(45deg);background:#acdfff;box-shadow:0 0 5px #d9f6ff,0 0 18px #568bff;border:2px solid #39577a}
.great-status-title{padding-bottom:18px}
.great-status-link{margin-top:7px}
@keyframes great-status-rise{from{clip-path:inset(100% 0 0);opacity:.3}to{clip-path:inset(0);opacity:1}}
@media(min-width:621px) and (max-width:993px){.great-theme .great-status{left:35px}}
@media(max-width:620px){.great-theme .great-status{top:548px;left:50%;width:min(360px,calc(100% - 32px))}.great-theme .great-status summary{padding:15px 24px}.great-theme .great-status-dropdown{min-height:250px;max-height:365px;padding:26px 24px 20px}}
/* Only the solid hexagonal button face receives water, never its transparent glow. */
.great-theme .dowbload-button:after{left:50%;right:auto;top:50%;bottom:auto;width:70%;height:auto;aspect-ratio:296 / 62;transform:translate(-50%,-50%);clip-path:polygon(10% 0,90% 0,100% 50%,90% 100%,10% 100%,0 50%);overflow:hidden;opacity:.36;filter:none;animation:great-water-contained 14s ease-in-out infinite alternate}
@keyframes great-water-contained{from{background-position:0% 0%,100% 70%}to{background-position:80% 100%,10% 0%}}
/* Meteors travel along both visible rails and reverse at their ends. */
.great-theme .gallery-title span:before,.great-theme .gallery-title span:after{display:none}
.great-theme .gallery-title>span{position:relative;z-index:1}
.great-gallery-rail{position:absolute;top:50%;height:16px;margin-top:-8px;width:calc(50% - 90px);overflow:hidden;pointer-events:none;background:linear-gradient(90deg,transparent,#5a83c8,#c8eaff) center / 100% 1px no-repeat}
.great-gallery-left{left:0}.great-gallery-right{right:0;transform:scaleX(-1)}
.great-gallery-meteor{position:absolute;left:0;top:0;width:60px;height:16px;animation:great-gallery-bounce 5s linear infinite}
.great-gallery-meteor:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 90% 50%,#fff 0 2px,#a6ddff 3px,transparent 7px),linear-gradient(90deg,transparent,#779fff99,#d1f3ff) center / 90% 2px no-repeat;filter:drop-shadow(0 0 3px #72abff);animation:great-gallery-direction 5s steps(1,end) infinite}
.great-gallery-right .great-gallery-meteor,.great-gallery-right .great-gallery-meteor:before{animation-delay:-2.5s}
@keyframes great-gallery-bounce{0%,100%{left:0}50%{left:calc(100% - 60px)}}
@keyframes great-gallery-direction{0%,100%{transform:scaleX(1)}50%{transform:scaleX(-1)}}
/* v7: reuse the modal's silver filigree, clipped to the rounded panel. */
.great-theme .logo{bottom:59px}
.great-theme .great-status{top:524px}
.great-theme .great-status summary,.great-theme .great-status-dropdown{isolation:isolate;background:#0b1427}
.great-theme .great-status summary>* ,.great-theme .great-status-dropdown>*{position:relative;z-index:1}
.great-theme .great-status summary:before,.great-theme .great-status-dropdown:before{display:none}
.great-theme .great-status summary:after,.great-theme .great-status-dropdown:after{content:"";display:block;position:absolute;inset:0;width:auto;height:auto;transform:none;pointer-events:none;z-index:0;border:0;border-image:url(../images/great-panel.webp) 170 fill / 42px / 0 stretch;background:none;box-shadow:none;clip-path:inset(0 round 18px)}
.great-theme .great-status[open] summary:after{border-image-width:0 42px 42px;clip-path:inset(0 round 0 0 18px 18px)}
.great-theme .great-status-dropdown:after{border-image-width:42px 42px 0;clip-path:inset(0 round 20px 20px 0 0)}
.great-theme .great-status-dropdown{padding-top:34px}
@media(max-width:620px){.great-theme .logo{bottom:69px}.great-theme .great-status{top:524px}}
/* v8: a single continuous modal skin across the expanded panel. */
.great-theme .great-status-unified{isolation:isolate}
.great-theme .great-status-unified[open]:before{content:"";position:absolute;left:0;right:0;top:calc(-1 * var(--great-status-upper-height));bottom:0;z-index:-1;pointer-events:none;border:1px solid #7297c780;border-radius:20px 20px 18px 18px;background:#0b1427;border-image:url(../images/great-panel.webp) 170 fill / 42px / 0 stretch;clip-path:inset(0 round 20px 20px 18px 18px)}
.great-theme .great-status-unified[open] summary,.great-theme .great-status-unified[open] .great-status-dropdown{background:transparent;border-color:transparent;box-shadow:none}
.great-theme .great-status-unified[open] summary:after,.great-theme .great-status-unified[open] .great-status-dropdown:after{display:none}
.great-theme .great-status-unified[open]:before{animation:great-status-frame-rise .32s ease-out both}
@keyframes great-status-frame-rise{from{clip-path:inset(var(--great-status-upper-height) 0 0 round 18px)}to{clip-path:inset(0 round 20px 20px 18px 18px)}}
/* v9: centered population lockup and jeweled status eyes. */
.great-theme .great-status summary{padding:15px 32px;gap:0}
.great-theme .great-status-heading{align-items:center;gap:8px;width:100%;min-width:0}
.great-theme .great-server-clock{justify-content:center;width:100%;margin:0;padding-bottom:8px;border-bottom:1px solid #729cc52b;font-size:9px;letter-spacing:1.2px}
.great-theme .great-population{display:flex;align-items:center;justify-content:center;gap:13px;width:100%;letter-spacing:0}
.great-theme .great-population strong{font-size:34px;line-height:36px;font-weight:600;letter-spacing:1px;font-variant-numeric:tabular-nums;color:#e5f5ff;text-shadow:0 1px 1px #fff5,0 3px 9px #000,0 0 18px #80baff50}
.great-population-label{display:flex;flex-direction:column;gap:3px;text-transform:uppercase;font-size:9px;line-height:12px;letter-spacing:2px;color:#91a9c6;text-align:left}
.great-population-label>span{font-size:12px;letter-spacing:2.5px;color:#d0e5fa}
.great-theme .great-status-chevron{position:absolute;right:18px;top:55px;font-size:16px;opacity:.8}
.great-theme .great-eye{position:relative;display:inline-block;width:28px;height:28px;box-sizing:border-box;transform:none;border:1px solid #8aadc16b;border-radius:50%;background:radial-gradient(circle at 35% 20%,#6a819050,transparent 45%),linear-gradient(145deg,#182837,#050b13);box-shadow:inset 0 0 0 2px #07111e,inset 0 0 0 3px #94bfd22b,0 2px 7px #0008;vertical-align:middle}
.great-theme .great-eye:before{content:"";position:absolute;width:15px;height:11px;left:5px;top:7px;border-radius:75% 20%;transform:rotate(35deg);border:1px solid currentColor;opacity:.6;box-shadow:0 0 5px currentColor}
.great-theme .great-eye:after{position:absolute;left:10px;top:8px;width:6px;height:10px;border-radius:55%;background:radial-gradient(ellipse at 35% 25%,#ecfff4,currentColor 45%,#03100a);box-shadow:0 0 6px currentColor;animation:none}
.great-theme .great-eye.online{color:#70dca5}.great-theme .great-eye.offline{color:#d97486}.great-theme .great-eye.unknown{color:#91a1b6}
.great-theme .great-eye.online:after{animation:great-jeweled-eye 3s ease-in-out infinite}
@keyframes great-jeweled-eye{0%,100%{opacity:.95;filter:brightness(1);box-shadow:0 0 7px currentColor}50%{opacity:.5;filter:brightness(.75);box-shadow:0 0 2px currentColor}}
.great-theme .great-server{gap:12px;padding:15px 0}
.great-theme .great-server-name small{font-size:9px;letter-spacing:1px;opacity:.8}
@media(max-width:390px){.great-theme .great-population{gap:10px}.great-theme .great-population strong{font-size:30px}.great-population-label{letter-spacing:1.4px}.great-population-label>span{letter-spacing:1.8px}}
/* v10: logo breathing room, reversible panel exit, mirrored meteor collision. */
.great-theme .logo{bottom:83px}
@media(max-width:620px){.great-theme .logo{bottom:77px}}
.great-theme .great-status-unified[open].great-status-closing:before{animation:great-status-frame-close .32s ease-in both}
.great-theme .great-status[open].great-status-closing .great-status-dropdown{animation:great-status-content-close .32s ease-in both;pointer-events:none}
@keyframes great-status-frame-close{from{clip-path:inset(0 round 20px 20px 18px 18px)}to{clip-path:inset(var(--great-status-upper-height) 0 0 round 18px)}}
@keyframes great-status-content-close{from{clip-path:inset(0);opacity:1}to{clip-path:inset(100% 0 0);opacity:0}}
.great-gallery-right .great-gallery-meteor,.great-gallery-right .great-gallery-meteor:before{animation-delay:0s}
.great-theme .great-status summary>.great-status-chevron{position:absolute;right:18px;top:55px}
/* Optional competition module under the unchanged Download ornament. */
.great-theme .download.great-download-expanded{height:auto;min-height:110px;padding:64px 18px 20px;box-sizing:border-box;background:radial-gradient(ellipse at 50% 0,#28497955,transparent 65%),#0a1425;border:1px solid #6e8eae60;box-shadow:inset 0 0 25px #02071080}
.great-download-expanded .downloads[hidden]{display:none}
.great-activity{position:relative;z-index:3;color:#d5e6fa;text-align:left}
.great-activity-tabs{display:flex;border:1px solid #739bc04d;border-radius:4px;overflow:hidden;background:#050d1b;margin-bottom:18px}
.great-activity-tabs button{flex:1;min-width:0;margin:0;padding:12px 4px;background:transparent;border:0;border-right:1px solid #739bc02b;color:#8ea7c6;font:inherit;font-size:11px;letter-spacing:1px;cursor:pointer;box-shadow:none;text-transform:uppercase;transition:color .2s,background .2s}
.great-activity-tabs button:last-child{border-right:0}
.great-activity-tabs button[aria-selected=true]{background:linear-gradient(#253e60,#13263f);color:#dcf4ff;box-shadow:inset 0 -2px #8bcfff;text-shadow:0 0 12px #82c7ff70}
.great-activity-tabs button:hover{color:#fff;background-color:#19324f}
.great-activity-tabs button:focus-visible,.great-activity-pane:focus-visible{outline:1px solid #b3dfff;outline-offset:-3px}
.great-activity-pane[hidden]{display:none}
.great-activity h3{font-size:18px;font-weight:500;letter-spacing:1px;color:#e0efff;margin:0 0 16px;padding-left:12px;border-left:2px solid #8cc6fa;line-height:20px}
.great-race-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.great-race-card{min-width:0;padding:10px 7px 8px;border:1px solid #6283ab40;border-radius:4px;background:linear-gradient(145deg,#17294299,#08101e);box-shadow:inset 0 1px #abcff512}
.great-race-card h4{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:0 0 10px;font-size:11px;font-weight:500;letter-spacing:.3px;white-space:nowrap}
.great-race-info{width:12px;height:12px;line-height:12px;text-align:center;border:1px solid #87abc366;border-radius:50%;font-size:9px;color:#87abc3;cursor:help}
.great-activity-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}
.great-activity-table th{font-weight:500;color:#7f9abd;font-size:9px;letter-spacing:.4px;text-align:left;padding:5px 0;border-bottom:1px solid #5a7b9f55}
.great-activity-table th:first-child{width:19px}.great-activity-table th:last-child{width:29px;text-align:right}
.great-activity-table td{height:34px;padding:2px 0;border-bottom:1px solid #58759526;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.great-activity-table td:last-child{text-align:right;font-variant-numeric:tabular-nums;color:#d2eaff}
.great-activity-table .great-activity-player{display:table-cell;color:#bed2e9}
.great-activity-player img{width:19px;height:24px;object-fit:cover;object-position:center 15%;vertical-align:middle;margin-right:4px;border-radius:3px;background:#203048}
.great-place{color:#839ab5;font-size:10px}.great-place-1{color:#e3c78e}.great-place-2{color:#c3d1e1}.great-place-3{color:#bd927d}
.great-activity-timer{display:block;padding:9px 2px 2px;text-align:center;font-size:10px;font-variant-numeric:tabular-nums;letter-spacing:.5px;color:#9dc8f5;white-space:normal;line-height:15px}
.great-activity-table td.great-activity-empty{text-align:center;white-space:normal;height:106px;color:#748ba9;font-size:10px}
#great-activity-ranking th:nth-child(3){width:60px;text-align:right}#great-activity-ranking td:nth-child(3){text-align:right}
.great-event-list{margin:0;padding:0;list-style:none}
.great-event-list li{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 4px;border-bottom:1px solid #648bb430;font-size:12px}
.great-event-list .great-activity-timer{padding:0;flex-shrink:0}
.great-event-list .great-activity-empty{color:#839ab5}
@media(max-width:620px){.great-theme .download.great-download-expanded{padding:62px 12px 16px}.great-race-grid{gap:6px}.great-race-card{padding:9px 5px 6px}.great-activity-tabs button{font-size:10px;letter-spacing:.4px}.great-activity-player img{display:none}.great-activity-table{font-size:10px}.great-race-card h4{font-size:10px}.great-activity-timer{font-size:9px}.great-activity-table th:first-child{width:14px}.great-activity-table th:last-child{width:23px}}
.great-theme .great-activity-tabs button{width:auto;filter:none;transform:none}
.great-theme .great-activity-table td{border:0;border-bottom:1px solid #58759526}
/* v12: podium crowns, rewards and flowing sand. */
.great-theme .logo{bottom:113px}
@media(max-width:620px){.great-theme .logo{bottom:107px}.great-theme .animation .hero-2{top:63px}.great-theme .animation .hero-2.great-best-mode{top:55px}}
.great-rank-crown{position:relative;display:inline-block;width:15px;height:13px;vertical-align:middle;overflow:hidden}
.great-rank-crown img{width:15px;height:13px;object-fit:contain;image-rendering:pixelated;display:block}
.great-rank-crown:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#fff 48%,transparent 70%) -30px 0 / 28px 100% no-repeat;mask:var(--crown-mask) center / contain no-repeat;-webkit-mask:var(--crown-mask) center / contain no-repeat;animation:great-crown-shine 4s ease-in-out infinite;mix-blend-mode:screen}
.great-rank-crown-1{--crown-mask:url(../images/rank-1.png)}.great-rank-crown-2{--crown-mask:url(../images/rank-2.png)}.great-rank-crown-3{--crown-mask:url(../images/rank-3.png)}
.great-rank-crown-2:after{animation-delay:.4s}.great-rank-crown-3:after{animation-delay:.8s}
@keyframes great-crown-shine{0%,65%{background-position:-30px 0}100%{background-position:30px 0}}
.great-theme .great-race-info{display:inline-block;flex:0 0 15px;width:15px;height:15px;line-height:13px;margin:0;padding:0;font-family:Georgia,serif;font-size:10px;letter-spacing:0;text-transform:none;text-shadow:none;border:1px solid #87abc366;border-radius:50%;background:#1d334d;color:#b7dfff!important;filter:none;box-shadow:none;transform:none;cursor:help}
.great-theme .great-race-info:hover,.great-theme .great-race-info:focus-visible{background:#345b7f;filter:none;transform:none;outline:1px solid #9bd5ff;outline-offset:2px}
.great-race-tooltip{position:fixed;z-index:4000;width:255px;max-width:calc(100vw - 24px);max-height:calc(100vh - 90px);overflow:auto;box-sizing:border-box;padding:18px 20px;border:1px solid #7eacd380;border-radius:6px;background:linear-gradient(145deg,#182c44f7,#080f1ff7);box-shadow:inset 0 0 0 3px #08122080,0 12px 32px #000b;backdrop-filter:blur(10px);font-size:12px;line-height:1.6;color:#b5cce6;text-align:left;white-space:normal}
.great-race-tooltip[hidden]{display:none}.great-race-tooltip strong{display:block;color:#e4f2ff;font-size:13px}.great-race-tooltip p{margin:8px 0}.great-race-tooltip ul{margin:10px 0 0;padding-left:16px}.great-race-tooltip li{padding:2px 0;color:#c5dff7}
.great-countdown-box{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;margin-top:10px;padding:5px;box-sizing:border-box;border:1px solid #7ba5d238;border-radius:4px;background:radial-gradient(ellipse at top,#38648c30,transparent),#0b192b;box-shadow:inset 0 1px #b2dbff0d}
.great-countdown-box .great-activity-timer{padding:0;font-size:9px;letter-spacing:.1px;line-height:14px}
.great-hourglass{display:block;position:relative;flex:0 0 14px;width:14px;height:23px;border-top:2px solid #adc8dd;border-bottom:2px solid #adc8dd;box-sizing:border-box;background:linear-gradient(55deg,transparent 46%,#6f91ad 48% 52%,transparent 54%),linear-gradient(-55deg,transparent 46%,#6f91ad 48% 52%,transparent 54%);filter:drop-shadow(0 0 3px #87bfff35)}
.great-hourglass:before,.great-hourglass:after{content:"";position:absolute;left:2px;width:10px;height:8px;background:#c0def5;transform-origin:center bottom}
.great-hourglass:before{top:1px;clip-path:polygon(0 0,100% 0,50% 100%);animation:great-sand-drain 5s linear infinite}
.great-hourglass:after{bottom:1px;clip-path:polygon(50% 0,100% 100%,0 100%);animation:great-sand-fill 5s linear infinite}
.great-sand-stream{position:absolute;left:6px;top:8px;width:1px;height:9px;background:repeating-linear-gradient(#d9f0ff 0 1px,transparent 1px 3px);animation:great-sand-fall .5s linear infinite}
@keyframes great-sand-drain{0%{transform:scaleY(1)}95%,100%{transform:scaleY(0)}}
@keyframes great-sand-fill{0%{transform:scaleY(0)}95%,100%{transform:scaleY(1)}}
@keyframes great-sand-fall{to{background-position:0 3px}}
.great-countdown-idle .great-hourglass,.great-countdown-idle .great-hourglass *,.great-countdown-idle .great-hourglass:before,.great-countdown-idle .great-hourglass:after{animation:none;opacity:.5}
.great-event-list .great-countdown-box{margin:0;padding:6px 10px}
#great-activity-ranking .great-activity-table th:nth-child(3){width:35px;text-align:right}
@media(max-width:620px){.great-activity-table th:first-child{width:18px}.great-countdown-box{gap:4px;padding:4px 2px}.great-countdown-box .great-activity-timer{font-size:8px}.great-rankings-grid{grid-template-columns:1fr}.great-rankings-grid .great-activity-player img{display:inline-block}.great-rankings-grid .great-activity-table{font-size:12px}.great-rankings-grid h4{font-size:12px}}
/* Castle Siege: miniature silver fortress above the GreatMU logo. */
.great-castle{position:absolute;left:155px;top:95px;width:280px;height:180px;z-index:12;text-align:center;background:url(../images/great-castle-frame.svg) center 17px / 280px 160px no-repeat;filter:drop-shadow(0 5px 12px #02071380);color:#d9ebff;pointer-events:none}
.great-castle h2{position:absolute;top:0;left:0;right:0;margin:0;font-size:11px;line-height:16px;font-weight:500;text-transform:uppercase;letter-spacing:3px;color:#a9c4e0;text-shadow:0 0 10px #8abaff55}
.great-castle-mark{position:absolute;left:124px;top:76px;width:32px;height:32px;image-rendering:pixelated;box-shadow:0 0 0 1px #b5d3e466,0 0 12px #649be94d;background:#071222}
.great-castle-mark-empty{background:radial-gradient(ellipse,#476f96,#11223c 70%);opacity:.6}
.great-castle-owner{position:absolute;left:32px;right:32px;top:140px;font-size:14px;line-height:22px;letter-spacing:1.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 6px #000;pointer-events:auto}
.great-castle-note{position:absolute;top:179px;left:0;right:0;font-size:8px;text-transform:uppercase;letter-spacing:2px;color:#839bb8}
@media(min-width:621px) and (max-width:993px){.great-castle{left:95px}}
@media(max-width:620px){.great-castle-enabled .header-container{height:850px}.great-castle-enabled .great-status{top:714px}.great-castle{left:50%;top:362px;margin-left:-140px;transform:scale(.72);transform-origin:center top}.great-castle-enabled .logo{bottom:107px}}
@media(min-width:621px){.great-castle{top:80px}}
.great-castle h2,.great-castle-note{text-shadow:0 1px 3px #000,0 0 6px #000,0 0 10px #000}
@media(max-width:620px){.great-castle h2{font-size:15px;color:#d4eaff}.great-castle-note{font-size:10px;color:#b8cfe6}}
/* v14: detailed painted fortress replaces the flat vector silhouette. */
.great-castle{left:145px;top:65px;width:300px;height:207px;background-image:url(../images/great-castle-v16.webp);background-position:center 20px;background-size:280px auto;filter:drop-shadow(0 4px 10px #0009)}
.great-castle h2{top:0;font-size:10px;letter-spacing:2.5px;color:#b8cfe4}
.great-castle-mark{left:135px;top:123px;width:30px;height:30px;box-shadow:0 0 7px #689ede50;background:#08111f}
.great-castle-owner{left:52px;right:52px;top:168px;font-size:12px;line-height:20px;letter-spacing:1px;color:#e1efff}
.great-castle-note{display:none}
@media(min-width:621px) and (max-width:993px){.great-castle{left:85px}}
@media(max-width:620px){.great-castle-enabled .header-container{height:880px}.great-castle-enabled .great-status{top:744px}.great-castle{left:50%;top:362px;margin-left:-150px;transform:scale(.8)}.great-castle h2{font-size:13px}.great-castle-owner{font-size:14px}}
/* v15: quieter Castle Siege ornament; scale artwork and overlays together. */
@media(min-width:621px){.great-castle{transform:scale(.8);transform-origin:center bottom}.great-castle-owner{font-size:14px}}
@media(max-width:620px){.great-castle{transform:scale(.64);transform-origin:center center}.great-castle-owner{font-size:16px}}

/* v16: Loren-inspired gatehouse; guild crest above the visible portcullis. */
.great-castle-mark{left:136px;top:52px;width:28px;height:28px}
.great-castle-owner{top:175px}

/* v17: compact ownership gate between the main logo and online panel. */
@media(min-width:621px){
 .great-castle-enabled .logo{bottom:248px}
 .great-castle{top:382px;transform:scale(.6);transform-origin:center top}
 .great-castle h2{font-size:15px}
 .great-castle-owner{font-size:18px}
}
@media(max-width:620px){
 .great-castle-enabled .logo{bottom:245px}
 .great-castle{top:615px;transform:scale(.5);transform-origin:center top}
 .great-castle h2{font-size:18px}
 .great-castle-owner{font-size:20px}
}

/* v18: sapphire/violet gate joins the dragon crest; unscaled accessible tooltip. */
.great-castle{background:none;pointer-events:auto;cursor:help;isolation:isolate}
.great-castle:before{content:"";position:absolute;inset:0;z-index:-1;background:url(../images/great-castle-v16.webp) center 20px / 280px auto no-repeat;filter:sepia(.8) saturate(3) hue-rotate(195deg) brightness(1.22) drop-shadow(0 0 8px #746aff80);transition:filter .35s ease}
.great-castle:hover:before,.great-castle:focus-visible:before{filter:sepia(.8) saturate(3.5) hue-rotate(195deg) brightness(1.4) drop-shadow(0 0 13px #9385ffb0)}
.great-castle:focus-visible{outline:1px solid #ab9eff;outline-offset:5px;border-radius:12px}
@media(min-width:621px){.great-castle-enabled .logo{bottom:113px}.great-castle{top:197px;transform:scale(.6);transform-origin:center top}}
@media(max-width:620px){.great-castle-enabled .logo{bottom:107px}.great-castle{top:483px;transform:scale(.5);transform-origin:center top}}
.great-castle-tooltip{position:fixed;z-index:4100;width:280px;max-width:calc(100vw - 24px);box-sizing:border-box;padding:19px 21px;border:1px solid #9387cf88;border-radius:12px;background:linear-gradient(145deg,#242044f2,#0b1428f5);box-shadow:inset 0 0 0 3px #090e2255,0 14px 40px #0009,0 0 24px #7969d726;backdrop-filter:blur(12px);color:#c4c8e4;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(7px);transition:opacity .25s ease,transform .25s ease,visibility .25s;font-size:12px;line-height:1.5}
.great-castle-tooltip.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.great-castle-tooltip>strong{display:block;color:#e8e3ff;font-size:15px;letter-spacing:1px;margin-bottom:12px}
.great-castle-tooltip>div{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid #aca0d51c}
.great-castle-tooltip b{text-align:right;color:#e1dcfa;overflow-wrap:anywhere;min-width:0}.great-castle-tooltip p{margin:12px 0 0;color:#a7accb;font-size:11px}
.great-theme table tbody tr>td{transition:background-color .25s ease,color .25s ease,box-shadow .25s ease}
.great-theme table tbody tr:hover>td,.great-theme table tbody tr:focus-within>td{background-color:#7465bc28;color:#e6e3ff;box-shadow:inset 0 1px #b4a7ff16,inset 0 -1px #b4a7ff16}
.great-theme table tbody tr:hover>td:first-child,.great-theme table tbody tr:focus-within>td:first-child{box-shadow:inset 2px 0 #a394ee,inset 0 1px #b4a7ff16,inset 0 -1px #b4a7ff16}
.great-event-list li,.great-theme .news-list{transition:background-color .25s ease,box-shadow .25s ease}
.great-event-list li:hover,.great-event-list li:focus-within{background-color:#7465bc20;box-shadow:inset 2px 0 #a394ee}
@media(prefers-reduced-motion:reduce){.great-castle:before,.great-castle-tooltip,.great-theme table tbody tr>td,.great-event-list li,.great-theme .news-list{transition:none}}

/* v20: unobstructed class silhouettes and footer navigation feedback. */
.great-castle>h2{display:none}
.great-theme .animation{overflow:visible}
@media(min-width:1201px){.great-theme .animation .hero-2{right:0}}
.great-theme .footerMenu ul li a{position:relative;display:inline-block;padding:7px 0;transition:color .25s ease,text-shadow .25s ease,transform .25s ease}
.great-theme .footerMenu ul li a:before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#b3a0ff,transparent);transform:scaleX(0);opacity:0;transition:transform .25s ease,opacity .25s ease}
.great-theme .footerMenu ul li a:hover,.great-theme .footerMenu ul li a:focus-visible{color:#c2b4ff;text-shadow:0 0 12px #8f7af099;transform:translateY(-2px)}
.great-theme .footerMenu ul li a:hover:before,.great-theme .footerMenu ul li a:focus-visible:before{transform:scaleX(1);opacity:1}
.great-theme .footerMenu ul li a:focus-visible{outline:1px solid #a99be0;outline-offset:5px;border-radius:2px}
@media(prefers-reduced-motion:reduce){.great-theme .footerMenu ul li a,.great-theme .footerMenu ul li a:before{transition:none}}

/* v21: one shared motion layer keeps castle and logo in exact phase. */
.great-brand-motion{position:relative;width:100%;height:100%;animation:great-logo-float var(--great-logo-period,6s) ease-in-out infinite}
.great-theme .great-brand-motion>a:not(.great-castle){animation:none}
.great-brand-motion .great-castle{left:50%;margin-left:-150px;top:-26px}
@media(max-width:620px){.great-brand-motion .great-castle{top:-35px}}
.great-logo-animated-off .great-brand-motion{animation:none}
/* Center the complete identity, podium and score within consistent columns. */
.great-theme .great-race-card h4{position:relative;display:block;text-align:center;padding:0 19px;min-height:16px;line-height:16px}
.great-race-card h4 .great-race-info{position:absolute;right:0;top:0}
.great-theme .great-activity-table th,.great-theme .great-activity-table td{padding:5px 4px;text-align:center;vertical-align:middle}
.great-theme .great-activity-table th:first-child{width:26px}
.great-theme .great-activity-table th:last-child,#great-activity-ranking .great-activity-table th:nth-child(3){width:38px;text-align:center}
.great-theme .great-activity-table td:last-child,#great-activity-ranking .great-activity-table td:nth-child(3){text-align:center}
.great-player-identity{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;max-width:100%}
.great-player-identity>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.great-activity-player .great-player-identity img{flex:0 0 19px;margin:0}
.great-theme .great-activity-table tbody tr{transition:background-color .28s ease,box-shadow .28s ease}
.great-theme .great-activity-table tbody tr:hover,.great-theme .great-activity-table tbody tr:focus-within{background-color:#8e80d22b;box-shadow:inset 0 1px #b6a5ff35,inset 0 -1px #b6a5ff35}
.great-theme .great-activity-table tbody tr:hover>td,.great-theme .great-activity-table tbody tr:focus-within>td{background-color:transparent;box-shadow:none;color:#f0ebff}
@media(max-width:620px){.great-theme .great-activity-table th:first-child{width:20px}.great-theme .great-activity-table th:last-child{width:26px}.great-theme .great-activity-table th,.great-theme .great-activity-table td{padding:5px 2px}.great-theme .great-race-card h4{padding:0 14px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.great-brand-motion{animation:none}.great-theme .great-activity-table tbody tr{transition:none}}
.great-theme .great-activity-table tbody tr:hover>td:first-child,.great-theme .great-activity-table tbody tr:focus-within>td:first-child{box-shadow:none}

/* v22: fortress behind the dragon ornament, independent foreground guild plate. */
.great-brand-motion{isolation:isolate}
.great-brand-motion .great-castle{z-index:1}
.great-theme .great-brand-motion>a:not(.great-castle){z-index:2}
.great-brand-motion .great-castle:before{mask-image:linear-gradient(#000 0 72%,transparent 88%);-webkit-mask-image:linear-gradient(#000 0 72%,transparent 88%)}
.great-brand-motion .great-castle-mark{left:132px;top:48px;width:36px;height:36px;box-shadow:0 0 0 2px #b6a3f3,0 0 12px #9680ff99}
.great-brand-motion>.great-castle-owner{z-index:3;left:50%;right:auto;top:78px;transform:translateX(-50%);width:142px;box-sizing:border-box;padding:2px 14px;line-height:20px;font-size:12px;letter-spacing:.7px;text-align:center;color:#eee9ff;border:1px solid #a293d5;border-radius:3px 3px 9px 9px;background:linear-gradient(180deg,#655285,#292343 24%,#14172d 75%,#393050);box-shadow:inset 0 0 0 2px #12172e,0 3px 9px #080716aa,0 0 9px #8872da44;cursor:help;transition:filter .25s ease,box-shadow .25s ease}
.great-brand-motion>.great-castle-owner:hover,.great-brand-motion>.great-castle-owner:focus-visible{filter:brightness(1.2);box-shadow:inset 0 0 0 2px #12172e,0 0 13px #a68aff88;outline:1px solid #ccbaff;outline-offset:2px}
@media(max-width:620px){.great-brand-motion>.great-castle-owner{top:51px;width:132px;font-size:11px;line-height:18px}}
@media(prefers-reduced-motion:reduce){.great-brand-motion>.great-castle-owner{transition:none}}
@media(max-width:1200px){.great-theme .animation{overflow:hidden}}
@media(min-width:621px) and (max-width:1200px){.great-theme .animation .hero-2{right:0}}

/* v23: reuse the original illustrated nameplate above the guild emblem. */
.great-brand-motion>.great-castle-owner{top:-30px;width:150px;height:28px;padding:4px 16px;line-height:20px;border:0;border-radius:0;background:none;box-shadow:none;isolation:isolate;overflow:visible}
.great-brand-motion>.great-castle-owner:before{content:"";position:absolute;inset:0;z-index:-1;background:url(../images/great-castle-v16.webp) center -121px / 224px auto no-repeat;clip-path:polygon(0 50%,12% 12%,40% 12%,50% 0,60% 12%,88% 12%,100% 50%,88% 90%,60% 90%,50% 100%,40% 90%,12% 90%);filter:sepia(.8) saturate(3) hue-rotate(195deg) brightness(1.22) drop-shadow(0 0 4px #746aff80)}
.great-brand-motion>.great-castle-owner:hover,.great-brand-motion>.great-castle-owner:focus-visible{box-shadow:none}
@media(max-width:620px){.great-brand-motion>.great-castle-owner{top:-40px;width:150px;line-height:20px;font-size:11px}}
.great-brand-motion>.great-castle-owner{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* v24: sink the gate behind the foreground crest; align identities by column. */
.great-brand-motion .great-castle{top:-8px;z-index:0}
.great-theme .great-brand-motion>a:not(.great-castle){position:relative;z-index:2}
.great-brand-motion>.great-castle-owner{top:-12px}
@media(max-width:620px){.great-brand-motion .great-castle{top:-21px}.great-brand-motion>.great-castle-owner{top:-26px}}
.great-player-identity{display:grid;grid-template-columns:19px minmax(0,1fr);gap:5px;align-items:center;justify-content:normal;width:100%;text-align:left}
.great-player-identity>img{grid-column:1;grid-row:1}
.great-player-identity>span{grid-column:2;grid-row:1;text-align:left}
.great-theme .great-activity-table th:nth-child(2){text-align:left;padding-left:28px}
@media(max-width:620px){.great-race-grid:not(.great-rankings-grid) .great-player-identity{grid-template-columns:minmax(0,1fr);gap:0}.great-race-grid:not(.great-rankings-grid) .great-player-identity>span{grid-column:1}.great-theme .great-race-grid:not(.great-rankings-grid) .great-activity-table th:nth-child(2){padding-left:2px}.great-theme .great-rankings-grid .great-activity-table th:nth-child(2){padding-left:26px}}

/* v25: hover belongs to each news heading, never the whole accordion. */
.great-theme .news-header{transition:background-color .25s ease}
.great-theme .news-header:hover,.great-theme .news-header:focus-visible{background-color:#94a0dc0d}
.great-edition{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:1190px;margin:0 auto 66px;padding:25px 38px;box-sizing:border-box;border:1px solid #9388cb88;border-radius:10px;background:radial-gradient(ellipse at 75% 0,#6560a640,transparent 65%),linear-gradient(120deg,#111a32f5,#17152eef,#081422f5);box-shadow:inset 0 0 0 4px #060e2080,inset 0 0 35px #5168b21c,0 12px 30px #0005;isolation:isolate;overflow:hidden;color:#e1e6ff}
.great-edition:before{content:"";position:absolute;left:-30%;top:0;width:30%;height:1px;background:linear-gradient(90deg,transparent,#d5c8ff,transparent);animation:great-edition-streak 7s ease-in-out infinite}
@keyframes great-edition-streak{to{left:130%}}
.great-edition-copy small{display:block;color:#a99aca;letter-spacing:3px;font-size:10px;text-transform:uppercase;margin-bottom:8px}
.great-edition h2{margin:0 0 9px;font-size:24px;font-weight:normal;color:#eeeaff;text-shadow:0 0 22px #b19be544}
.great-edition-date{font-size:11px;color:#95a8c5;letter-spacing:.5px}
.great-edition-digits{display:grid;grid-template-columns:repeat(4,minmax(74px,1fr));gap:12px;min-width:380px}
.great-edition-unit{text-align:center}
.great-edition-value{position:relative;display:block;padding:8px 10px;border:1px solid #8a87bc66;border-radius:6px;background:linear-gradient(#27304c,#121a30 49%,#090f22 50%,#1d2440);box-shadow:inset 0 1px #d5cbff22,0 3px 9px #0006;font-size:37px;line-height:48px;font-variant-numeric:tabular-nums;color:#e4e7ff;text-shadow:0 0 16px #a1acff55}
.great-edition-value.is-ticking{animation:great-edition-tick .4s ease-out}
@keyframes great-edition-tick{from{color:#fff;box-shadow:inset 0 0 20px #9986ed55,0 3px 9px #0006}to{box-shadow:inset 0 0 0 transparent,0 3px 9px #0006}}
.great-edition-unit>small{display:block;margin-top:9px;font-size:9px;letter-spacing:2px;text-transform:uppercase;color:#a2b0ce}
.great-edition-finished{font-size:20px;color:#c9c0ff;text-align:center}
@media(max-width:1200px){.great-edition{margin-left:16px;margin-right:16px}}
@media(max-width:700px){.great-edition{flex-direction:column;text-align:center;padding:24px 18px;gap:20px}.great-edition h2{font-size:21px}.great-edition-digits{min-width:0;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.great-edition-value{font-size:26px;line-height:36px;padding:7px 3px}.great-edition-unit>small{font-size:8px;letter-spacing:1px}}
@media(prefers-reduced-motion:reduce){.great-edition:before,.great-edition-value.is-ticking{animation:none}.great-theme .news-header{transition:none}}

/* v26: shared character card for race standings and all three rankings. */
.great-player-tooltip{position:fixed;z-index:4200;width:284px;max-width:calc(100vw - 24px);max-height:calc(100vh - 82px);overflow:auto;box-sizing:border-box;padding:19px;border:1px solid #a194cc88;border-radius:10px;background:radial-gradient(ellipse at top,#55458150,transparent 70%),linear-gradient(145deg,#17243af7,#0b1022fa);box-shadow:inset 0 0 0 3px #080f2455,0 14px 38px #000b,0 0 22px #7464bd24;backdrop-filter:blur(12px);color:#c5d4eb;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(5px);transition:opacity .22s ease,transform .22s ease,visibility .22s;font-size:12px;line-height:1.5}
.great-player-tooltip.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.great-player-tip-header{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #8d82b933}
.great-player-tip-portrait{width:50px;height:64px;object-fit:contain;filter:drop-shadow(0 0 8px #868dff55)}
.great-player-tip-header strong{display:block;color:#f0eaff;font-size:17px;overflow-wrap:anywhere}.great-player-tip-header small{display:block;font-size:10px;color:#95abc9;letter-spacing:.6px}
.great-player-tip-guild{display:flex;align-items:center;gap:7px;margin-top:7px;color:#bbb0dd;font-size:11px}.great-player-tip-guild canvas{width:24px;height:24px;image-rendering:pixelated;border:1px solid #9886ba66}
.great-player-tip-stats{display:grid;grid-template-columns:1fr auto;gap:7px 14px;margin:14px 0}.great-player-tip-stats dt{color:#a5b7cf}.great-player-tip-stats dd{margin:0;text-align:right;color:#e7e6ff;font-variant-numeric:tabular-nums}
.great-player-tip-muted{font-size:10px;color:#8b9eb9;margin:12px 0}.great-player-tip-status{display:flex;gap:9px;align-items:center;justify-content:flex-end;border-top:1px solid #8d82b933;padding-top:11px;text-transform:uppercase;letter-spacing:1px;font-size:10px}.great-player-tip-status .great-eye{width:18px;height:18px;flex:0 0 18px}
.great-activity-table tbody tr[tabindex]{cursor:help;outline:none}.great-theme .great-activity-table tbody tr[tabindex]:focus-visible{outline:1px solid #b6a5ee;outline-offset:-1px}
@media(prefers-reduced-motion:reduce){.great-player-tooltip{transition:none}}

/* v26: mobile branding first, class showcase second. */
@media(max-width:620px){
 .great-theme .header-container{height:880px}
 .great-theme .logo,.great-theme.great-castle-enabled .logo{top:120px;bottom:auto}
 .great-theme .animation .hero-2,.great-theme .animation .hero-2.great-best-mode{top:400px;height:305px}
 .great-theme .great-status,.great-theme.great-castle-enabled .great-status{top:744px}
}

/* Keep the foreground logo out of document flow, including with a cached castle script. */
.great-theme .logo .great-brand-motion>a:not(.great-castle){position:absolute;inset:0;width:100%;height:100%;margin:0;z-index:2;animation:none}
.great-theme .logo .great-brand-motion>.great-castle{position:absolute;left:50%;margin-left:-150px;width:300px;height:207px;display:block;align-items:normal;animation:none}
.great-theme .logo .great-brand-motion>.great-castle:before{content:"";position:absolute;inset:0;z-index:-1;background:url(../images/great-castle-v16.webp) center 20px / 280px auto no-repeat;filter:sepia(.8) saturate(3) hue-rotate(195deg) brightness(1.22) drop-shadow(0 0 8px #746aff80);animation:none}
.great-theme .logo .great-brand-motion>.great-castle:after{content:none}
.great-theme .logo .great-brand-motion>.great-castle:hover:before,.great-theme .logo .great-brand-motion>.great-castle:focus-visible:before{filter:sepia(.8) saturate(3.5) hue-rotate(195deg) brightness(1.4) drop-shadow(0 0 13px #9385ffb0)}
