/* FR32 Universe — spatial navigation and presentation. Legacy feature styles live in @layer legacy. */
:root {
    --bg-dark: #100d17;
    --bg-card: #191420;
    --primary: #ed83bd;
    --primary-rgb: 237,131,189;
    --secondary: #ac87e9;
    --secondary-rgb: 172,135,233;
    --accent-gold: #d7b574;
    --text-muted: #b4aabb;
    --text-dimmed: #988da3;
    --glass-bg: #191420;
    --glass-border: #ffffff12;
    --glass-border-hover: #ad86f766;
    --pink-main: #ed83bd;
    --purple-mid: #ac87e9;
    --r-card: 12px;
    --r-pill: 7px;
    --font-gaming: 'Outfit',sans-serif;
    --world-border: #ffffff12;
    --world-ease: cubic-bezier(.2,.7,.2,1)
}

html {
    scroll-padding-top: 140px
}

body {
    background: #100d17;
    padding: 78px 0 0 76px;
    color: #f7f3fa;
    font-family: 'Outfit',sans-serif
}

button,input,select,textarea {
    font: inherit
}

button,a,input,select,textarea {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

button: focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
    outline: 2px solid #e7b2ff;
    outline-offset: 5px
}

button: disabled {
    cursor: wait
}

a,button {
    touch-action: manipulation
}

[hidden] {
    display: none!important
}

.hidden {
    display: none!important
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 90px;
    z-index: 10000;
    background: #efb0d4;
    color: #180d20!important;
    padding: 14px 20px;
    border-radius: 6px
}

.skip-link:focus {
    top: 14px
}

.bg-gradient {
    background: radial-gradient(ellipse at 75% 10%,#7d36951a,transparent 40%),#100d17;
    animation: none
}

.grid-overlay {
    opacity: .14;
    background-size: 32px 32px
}

#particles {
    display: none
}

header.navbar-container {
    height: 78px;
    padding: 0 34px 0 20px;
    background: #100d17ef;
    border-bottom: 1px solid var(--world-border);
    backdrop-filter: blur(18px)
}

.navbar {
    max-width: none;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    gap: 24px
}

.nav-logo {
    gap: 10px;
    flex-shrink: 0
}

.nav-logo img {
    width: 46px;
    height: 46px;
    filter: none;
    image-rendering: auto
}

.nav-logo-text {
    font: 800 20px/1 'Outfit',sans-serif;
    letter-spacing: -.5px;
    color: #fff;
    background: none;
    -webkit-text-fill-color: initial;
    display: flex;
    gap: 4px
}

.nav-logo-text>span {
    font-weight: 400;
    color: #c2a7d6
}

.nav-menu {
    gap: 5px;
    margin-left: auto;
    margin-right: auto;
    height: 100%
}

.nav-menu>li {
    height: 100%;
    display: flex;
    align-items: center
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    padding: 10px 13px;
    border: 0;
    background: none;
    color: #b5aabc;
    border-radius: 5px;
    box-shadow: none
}

.nav-link.active {
    background: #ad86f710;
    color: #e4c8fc;
    border: 0;
    box-shadow: none
}

.nav-link:hover {
    background: #ffffff07;
    color: #fff;
    transform: none
}

.nav-dropdown-toggle i {
    font-size: 9px;
    margin-left: 4px
}

.nav-shop-gem {
    font-size: 10px;
    margin-left: 4px;
    color: var(--accent-gold)
}

.nav-dropdown-menu {
    top: 65px;
    border: 1px solid #ffffff14;
    background: #211729;
    border-radius: 8px;
    box-shadow: 0 15px 40px #0006;
    padding: 7px;
    min-width: 160px
}

.nav-dropdown-menu .nav-link {
    display: block
}

.nav-actions {
    gap: 16px;
    flex-shrink: 0
}

.btn-nav-ip {
    background: #ffffff04;
    border: 1px solid #ffffff15;
    color: #c8b8d3;
    padding: 11px 13px;
    border-radius: 6px;
    font-size: 11px;
    box-shadow: none;
    gap: 9px
}

.btn-nav-ip:hover {
    background: #ad86f71c;
    border-color: #ad86f766;
    transform: translateY(-2px)
}

.btn-nav-ip .nav-ip-text {
    display: block
}

.btn-nav-ip>i:first-child {
    color: #ad86f7
}

.nav-user-area {
    order: 2;
    border-left: 1px solid #ffffff15;
    padding-left: 16px
}

.btn-login-nav {
    background: none;
    border: 0;
    padding: 8px 0;
    color: #e5dbe9;
    box-shadow: none;
    font-size: 12px
}

.btn-login-nav:hover {
    background: none;
    color: var(--primary);
    transform: none
}

.mobile-menu-btn {
    border: 1px solid #ffffff1c;
    border-radius: 5px;
    background: #ffffff05;
    width: 40px;
    height: 40px;
    color: #eee
}

.world-rail {
    position: fixed;
    top: 78px;
    bottom: 0;
    left: 0;
    width: 76px;
    z-index: 800;
    border-right: 1px solid var(--world-border);
    background: #100d17;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 24px 0 16px;
    gap: 13px
}

.world-rail a,.world-rail button {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: none;
    border: 1px solid transparent;
    font-size: 15px;
    color: #82768f;
    transition: background .2s,color .2s,transform .2s
}

.world-rail .rail-compass {
    color: #daa6f8;
    font-size: 21px;
    background: #ac87e910;
    border-color: #ac87e920
}

.world-rail a.active {
    background: #ac87e91a;
    color: #d2a8fc;
    border-color: #ac87e929
}

.world-rail a.active::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 12px;
    width: 3px;
    height: 18px;
    background: #bb8aee;
    border-radius: 2px
}

.world-rail a:hover,.world-rail button:hover {
    background: #ac87e917;
    color: #eac9ff;
    transform: translateY(-2px)
}

.rail-divider {
    width: 24px;
    height: 1px;
    background: #ffffff13;
    margin: 0 0 8px
}

.rail-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px
}

.rail-edition {
    font: 9px monospace;
    color: #63596f;
    letter-spacing: 1px;
    margin-top: 8px
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 13px);
    top: 50%;
    transform: translate(-6px,-50%);
    padding: 9px 13px;
    background: #271a32;
    color: #f2deff;
    border: 1px solid #b489e05c;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s,transform .18s;
    box-shadow: 3px 3px 0 #060409
}

[data-tooltip]:hover::after,[data-tooltip]:focus-visible::after {
    opacity: 1;
    transform: translate(0,-50%)
}

.container {
    max-width: 1480px;
    padding: 0 44px;
    margin: 0 auto;
    width: 100%;
    min-height: calc(100vh - 240px)
}

.container>section {
    width: 100%;
    margin: 0;
    display: block
}

.experience-ready .container>section:not(.site-tab-active) {
    display: none!important
}

.container>section.site-tab-active {
    animation: destination-reveal .45s var(--world-ease) both
}

section.site-tab-active:not(#home) {
    padding: 48px 0 70px;
    min-height: 60vh
}

.destination-bar {
    max-width: 1480px;
    margin: auto;
    padding: 25px 44px 0;
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 12px;
    color: #aa9bb7
}

.destination-bar a:hover {
    color: #e3bdff
}

.destination-divider {
    color: #554860
}

.destination-bar>button {
    margin-left: auto;
    color: #ba9dcc;
    border: 0;
    background: none;
    font-size: 12px;
    display: flex;
    gap: 12px;
    align-items: center
}

body[data-destination="home"] .destination-bar {
    display: none
}

.section-title {
    font-family: 'Outfit',sans-serif;
    font-size: clamp(26px,3vw,40px);
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: none;
    text-align: left;
    margin: 0 0 12px;
    line-height: 1.2;
    background: none;
    -webkit-text-fill-color: initial;
    color: #f5edf9
}

.section-title::before,.section-title::after {
    display: none
}

.section-subtitle {
    color: #a99ab7;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
    margin: 0 0 32px;
    max-width: 710px
}

.section-kicker {
    font: 500 10px/1.5 'Outfit',sans-serif;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    color: #c0a2d0;
    display: block;
    margin-bottom: 9px
}

.btn {
    font-family: 'Outfit',sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    border-radius: 6px;
    padding: 15px 22px;
    min-height: 46px;
    transition: transform .22s,background .22s,box-shadow .22s
}

.btn-primary {
    color: #26162c!important;
    background: #e8a0cd;
    border: 1px solid #f4bbdf;
    box-shadow: 0 4px 0 #805271,0 8px 30px #d770b312;
    text-shadow: none
}

.btn-primary:hover {
    background: #f3b5dd;
    transform: translateY(-3px);
    box-shadow: 0 6px 0 #805271,0 12px 35px #d770b32e
}

.btn-primary:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #805271
}

.btn-primary::before,.btn-primary::after {
    display: none
}

.btn-secondary {
    color: #d9cbdf;
    background: #ffffff05;
    border: 1px solid #ffffff20;
    box-shadow: none
}

.btn-secondary:hover {
    background: #ac87e915;
    border-color: #ac87e955;
    box-shadow: none
}

.text-action {
    border: 0;
    background: none;
    color: #c7b4d4;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 16px
}

.text-action:hover {
    color: #f1b9db
}

.text-action span {
    font-size: 18px
}

.btn i {
    font-size: 12px
}

#home {
    padding: 26px 0 45px;
    min-height: 0;
    text-align: left;
    display: block;
    isolation: auto
}

.world-hero {
    position: relative;
    min-height: 570px;
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    border-radius: 12px;
    border: 1px solid #ffffff0f;
    overflow: hidden;
    background: #171120;
    isolation: isolate
}

.hero-landscape {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden
}

.hero-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 50%;
    filter: saturate(.6);
    opacity: .42;
    transform: scale(1.04) translate3d(var(--land-x,0px),var(--land-y,0px),0);
    transition: transform 1.5s ease-out
}

.world-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg,#16101ff7 0%,#1c132bd6 37%,#301c4660 70%,#17102255 100%),linear-gradient(0deg,#110d1cf2 0%,transparent 40%,#35224442 100%)
}

.world-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 72% 42%,#d884f022 0%,transparent 47%);
    pointer-events: none
}

.hero-copy {
    padding: 65px 0 64px 48px;
    z-index: 2;
    align-self: center;
    min-width: 0
}

.hero-overline {
    font-size: 9px;
    letter-spacing: 2.25px;
    color: #d4bfdc;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 23px
}

.pixel-spark {
    color: #dda7f0;
    font-size: 17px
}

.hero-brand {
    font-size: 12px;
    letter-spacing: 3.7px;
    color: #f0dce9;
    font-weight: 500;
    margin: 0 0 13px
}

.world-title {
    font: 700 clamp(46px,4.55vw,73px)/1.05 'Outfit',sans-serif;
    letter-spacing: -3px;
    color: #f8f0fb;
    margin: 0 0 24px;
    text-shadow: 0 2px 25px #100d1760
}

.world-title em {
    font-style: normal;
    color: #e9a0ca;
    font-weight: 700
}

.hero-copy .subtitle {
    font-size: 14px;
    line-height: 1.75;
    color: #b8a8c4;
    max-width: 340px;
    margin: 0 0 29px;
    font-weight: 400;
    letter-spacing: 0;
    text-shadow: none
}

.hero-main-actions {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap
}

.journey-btn {
    padding: 15px 19px;
    gap: 10px;
    min-height: 48px;
    font-size: 12px
}

.journey-btn>span {
    margin-left: 15px;
    font-size: 18px
}

.hero-explore-link {
    font-size: 12px;
    color: #cfbcd9!important;
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #cfbcd930
}

.hero-explore-link:hover {
    color: #fff!important
}

.hero-explore-link i {
    font-size: 10px;
    transition: transform .2s
}

.hero-explore-link:hover i {
    transform: translateX(4px)
}

.hero-trust-row {
    justify-content: flex-start;
    gap: 20px;
    margin: 32px 0 0;
    padding: 0
}

.hero-trust-row span {
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 10px;
    color: #b1a0be;
    background: none;
    gap: 7px;
    box-shadow: none
}

.hero-trust-row span:hover {
    background: none;
    transform: none
}

.hero-trust-row i {
    color: #b39bcd;
    font-size: 10px
}

.hero-art {
    position: relative;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 14px 55px 0;
    min-width: 0
}

.mascot-trigger {
    border: 0;
    background: none;
    padding: 0;
    position: relative;
    width: 100%;
    max-width: 480px;
    z-index: 2;
    transition: transform .6s var(--world-ease);
    transform: translate3d(var(--art-x,0px),var(--art-y,0px),0)
}

.hero-mascot {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 24px #0b051aa6);
    animation: mascot-float 7s ease-in-out infinite;
    image-rendering: auto
}

.mascot-trigger:hover .hero-mascot {
    filter: drop-shadow(0 18px 35px #d37cee50)
}

.mascot-trigger.is-celebrating {
    animation: mascot-pop .7s var(--world-ease)
}

.amethyst-orbit {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid #d5a4ff20;
    border-radius: 50%;
    transform: rotate(-28deg) scaleY(.78);
    box-shadow: 0 0 65px #c97afa12,inset 0 0 70px #bc83ed0a
}

.amethyst-orbit::before {
    content: '';
    position: absolute;
    inset: -35px;
    border-radius: 50%;
    border: 1px dashed #e0b4ff12
}

.world-coordinate {
    position: absolute;
    bottom: 25px;
    text-align: center;
    font-size: 8px;
    font-family: monospace;
    letter-spacing: 1.7px;
    color: #c5b3d5;
    display: flex;
    align-items: center;
    gap: 9px;
    z-index: 3
}

.world-coordinate>span:last-child {
    padding: 4px 7px;
    border: 1px solid #ffffff20;
    color: #e2cba4;
    font-size: 7px;
    letter-spacing: 1px
}

.coordinate-cross {
    font-size: 20px;
    color: #d2b1e6
}

.floating-crystal {
    position: absolute;
    display: block;
    background: linear-gradient(120deg,#efd3ff 0 30%,#a968d8 31% 57%,#633b89 58%);
    clip-path: polygon(50% 0,95% 26%,85% 76%,50% 100%,12% 76%,0 28%);
    width: 22px;
    height: 40px;
    z-index: 3;
    animation: crystal-float 8s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #ba7aee);
    opacity: .75
}

.crystal-one {
    top: 16%;
    right: 11%;
    rotate: 24deg
}

.crystal-two {
    bottom: 27%;
    left: 6%;
    width: 15px;
    height: 27px;
    rotate: -30deg;
    animation-delay: -4s
}

.hero-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none
}

.hero-stars span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #e7bfff;
    box-shadow: 0 0 8px #e7bfff88;
    animation: star-drift 8s ease-in-out infinite
}

.hero-stars span:nth-child(1) {
    left: 48%;
    top: 28%
}

.hero-stars span:nth-child(2) {
    left: 58%;
    top: 68%;
    animation-delay: -3s
}

.hero-stars span:nth-child(3) {
    left: 91%;
    top: 23%;
    animation-delay: -5s
}

.hero-stars span:nth-child(4) {
    left: 85%;
    top: 70%;
    animation-delay: -2s
}

.hero-stars span:nth-child(5) {
    left: 44%;
    top: 80%;
    animation-delay: -6s
}

.hero-stars span:nth-child(6) {
    left: 71%;
    top: 11%;
    animation-delay: -4s
}

.hero-stars span:nth-child(7) {
    left: 15%;
    top: 88%;
    animation-delay: -7s
}

.hero-stars span:nth-child(8) {
    left: 94%;
    top: 50%;
    animation-delay: -1s
}

.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 47px;
    border-top: 1px solid #ffffff0e;
    background: #170f2199;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    gap: 12px
}

.hero-bottom-bar .hero-kicker {
    font: 400 10px 'Outfit',sans-serif;
    text-transform: none;
    letter-spacing: .4px;
    border: 0;
    background: none;
    color: #beaaca;
    margin: 0;
    padding: 0;
    box-shadow: none
}

.hero-bottom-meta {
    font-size: 10px;
    color: #ac98ba;
    display: flex;
    align-items: center;
    gap: 8px
}

.tiny-square {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #c3a273
}

.ambient-toggle {
    font-size: 9px;
    display: flex;
    gap: 8px;
    align-items: center;
    color: #a997b6;
    background: none;
    border: 0;
    padding: 10px 0
}

.ambient-toggle:hover {
    color: #ead2fc
}

.home-connection-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 16px 0;
    border-bottom: 1px solid #ffffff0b
}

.home-connection-row #serverStatusCard {
    display: flex;
    align-items: center;
    gap: 16px;
    background: none;
    box-shadow: none;
    border: 0;
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    text-align: left
}

.home-connection-row #serverStatusCard::before,.home-connection-row #serverStatusCard::after {
    display: none
}

.home-connection-row .server-status-header {
    gap: 7px;
    margin: 0;
    font-size: 10px;
    flex-shrink: 0
}

.home-connection-row .server-status-text {
    font-size: 10px;
    font-weight: 500
}

.home-connection-row .server-status-dot {
    width: 5px;
    height: 5px;
    box-shadow: none
}

.home-connection-row .server-status-details {
    display: flex;
    gap: 12px;
    font-size: 10px;
    margin: 0;
    color: #97899f
}

.home-connection-row .server-ip-copy {
    font-size: 11px;
    background: #ffffff04;
    border: 1px solid #ffffff10;
    padding: 9px 12px;
    gap: 12px;
    box-shadow: none;
    border-radius: 5px
}

.home-connection-row .widget-ip {
    font-family: 'Outfit',sans-serif;
    font-size: 11px;
    letter-spacing: 0;
    color: #c3add0
}

.home-connection-row .widget-icon {
    font-size: 11px
}

.home-connection-row .widget-hint {
    display: none
}

.home-connection-row .countdown-container {
    margin: 0;
    gap: 8px
}

.home-connection-row .countdown-item {
    width: 50px;
    height: 50px;
    padding: 7px;
    border-radius: 5px
}

.home-connection-row .countdown-number {
    font-size: 20px
}

.home-connection-row .countdown-label {
    font-size: 7px
}

.quick-connect-actions .buttons {
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap
}

.quick-connect-actions .btn {
    background: none;
    box-shadow: none;
    border: 0;
    padding: 8px 10px;
    min-height: 32px;
    font-size: 10px;
    color: #ac98bc!important
}

.quick-connect-actions .btn-primary:hover {
    color: #edb9da!important;
    transform: none;
    background: none
}

.quick-connect-actions .btn-secondary {
    border: 0
}

.explore-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 34px 0 20px
}

.explore-heading h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.7px
}

.explore-heading .section-kicker {
    font-size: 8px;
    letter-spacing: 1.8px;
    margin-bottom: 8px;
    color: #987faa
}

#home .home-hub-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
    margin: 0;
    max-width: none
}

.home-hub-card {
    position: relative;
    border: 1px solid #ffffff0d;
    background: #1a1421;
    border-radius: 9px;
    padding: 0 0 20px;
    min-height: 0;
    display: block;
    overflow: hidden;
    box-shadow: none;
    transition: transform .3s var(--world-ease),border-color .3s,box-shadow .3s;
    transform: perspective(900px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg))
}

.home-hub-card:hover {
    border-color: #ca93ef55;
    box-shadow: 0 15px 30px #08040c60;
    transform: perspective(900px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg)) translateY(-5px)
}

.home-hub-card::before,.home-hub-card::after {
    display: none
}

.explore-card-art {
    height: 119px;
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    background: #211a2c
}

.explore-card-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,#1a1421,transparent 65%),#39174025;
    pointer-events: none
}

.explore-card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s var(--world-ease);
    filter: saturate(.65);
    opacity: .75
}

.home-hub-card:hover .explore-card-art img {
    transform: scale(1.08);
    filter: saturate(1)
}

.explore-card-index {
    position: absolute;
    left: 15px;
    top: 12px;
    font: 9px monospace;
    color: #efe2fc;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px #000;
    z-index: 2
}

.explore-card-arrow {
    position: absolute;
    top: 10px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 1px solid #ffffff30;
    border-radius: 5px;
    color: #f1e1ff;
    background: #1a112466;
    z-index: 2;
    font-size: 16px;
    transition: background .2s
}

.home-hub-card:hover .explore-card-arrow {
    background: #c899e7;
    color: #24132d
}

.home-hub-card>i {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin: 0 9px 0 18px;
    border: 1px solid #ad86f729;
    background: #ad86f710;
    border-radius: 6px;
    color: #c59de5;
    vertical-align: middle
}

.home-hub-card h3 {
    display: inline;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    letter-spacing: -.3px
}

.home-hub-card p {
    font-size: 11px;
    line-height: 1.65;
    color: #9e8eab;
    margin: 12px 18px 0
}

.home-community-invite {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 27px;
    padding: 23px 25px;
    background: linear-gradient(100deg,#23172d,#191321);
    border: 1px solid #c086ec12;
    border-radius: 8px
}

.community-symbol {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    flex-shrink: 0;
    border-radius: 9px;
    color: #caa5e9;
    background: #ba8ded0e;
    border: 1px solid #ba8ded29;
    font-size: 19px
}

.home-community-invite strong {
    font-size: 13px;
    font-weight: 500;
    color: #dfcde9
}

.home-community-invite p {
    margin-top: 4px;
    color: #8d7b9c;
    font-size: 11px
}

.home-community-invite>a {
    margin-left: auto;
    font-size: 11px;
    color: #c5a9d7;
    white-space: nowrap;
    display: flex;
    gap: 16px;
    align-items: center
}

.home-community-invite>a:hover {
    color: #f1b8dc
}

/* Shared destinations retain every original functional element. */
:is(.rankings-content,.clans-content,.news-panel,.events-panel,.rule-card,.join-step,.server-benefit,.shop-sidebar,.vip-product-card,.staff-form-card,.player-hub-shell,.player-history-card) {
    background-color: #1a1421;
    border-color: #ffffff10;
    border-radius: 10px;
    box-shadow: none
}

:is(.rankings-content,.clans-content,.news-panel,.events-panel)::before {
    display: none
}

:is(.rule-card,.join-step,.server-benefit,.veteran-card) {
    transition: transform .25s,border-color .25s
}

:is(.rule-card,.join-step,.server-benefit,.veteran-card):hover {
    transform: translateY(-4px);
    border-color: #bd8fdf50;
    box-shadow: 0 10px 25px #0003
}

.rule-card h3,.join-step h3 {
    font-family: 'Outfit',sans-serif;
    font-weight: 600;
    font-size: 18px
}

.rules-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
}

.rule-card {
    text-align: left;
    padding: 28px
}

.rule-card>i {
    font-size: 25px;
    color: #c49ddd;
    margin: 0 0 20px;
    text-shadow: none
}

.rule-card p {
    font-size: 14px;
    line-height: 1.75;
    color: #b5a6c1
}

.join-grid {
    gap: 18px
}

.join-step {
    padding: 28px;
    text-align: left
}

.join-step-number {
    background: #b384e624;
    border: 1px solid #bb8ff63a;
    color: #dac0f4;
    box-shadow: none;
    border-radius: 5px
}

.join-step>i {
    color: #b38ccb
}

.join-ip-card {
    background: #21172c;
    border-color: #c79ae53b;
    box-shadow: none;
    border-radius: 6px;
    font-family: 'Outfit',sans-serif
}

.join-ip-card span {
    font-family: 'Outfit',sans-serif
}

.server-benefits-grid {
    border-top: 1px solid #ffffff10;
    padding-top: 25px
}

.home-rank-head h3,.clans-header h3,.panel-heading h3 {
    font-family: 'Outfit',sans-serif;
    font-weight: 600;
    letter-spacing: -.4px
}

.news-events-layout {
    gap: 22px
}

.news-item {
    border-color: #ffffff0c;
    padding: 24px 0
}

.news-tag,.news-item .news-tag {
    font-size: 10px;
    letter-spacing: .6px;
    border-radius: 4px;
    background: #b58ae415;
    color: #cba6e8;
    border-color: #b58ae430
}

.news-item h4 {
    font-size: 18px
}

.news-item p {
    line-height: 1.7;
    color: #b09fbe
}

.period-tabs,.season-tabs,.tracker-tabs {
    border: 0;
    box-shadow: none;
    justify-content: flex-start
}

.season-tabs {
    padding: 5px;
    background: #1b1423;
    border: 1px solid #ffffff0e;
    border-radius: 8px;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin: 0 0 30px
}

.season-tab,.period-btn,.tracker-tab {
    font-family: 'Outfit',sans-serif;
    font-weight: 500;
    border-radius: 5px;
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
    box-shadow: none;
    background: transparent;
    border-color: transparent;
    padding: 12px 19px;
    color: #a897b6
}

.season-tab.active,.period-btn.active,.tracker-tab.active {
    background: #a978d832;
    border-color: #bb8ce641;
    color: #e4c8fa;
    box-shadow: none
}

.season-tab:hover,.period-btn:hover,.tracker-tab:hover {
    transform: none;
    background: #ffffff08
}

.gallery-grid {
    gap: 23px;
    grid-template-columns: repeat(3,minmax(0,1fr))
}

.album-card {
    background: #1a1421;
    border: 1px solid #ffffff12;
    border-radius: 10px;
    box-shadow: none;
    overflow: hidden;
    transition: transform .3s,border-color .3s
}

.album-card:hover {
    transform: translateY(-5px);
    border-color: #c995e955;
    box-shadow: 0 15px 30px #0003
}

.album-cover {
    height: 205px
}

.album-cover img {
    transition: transform .65s var(--world-ease)
}

.album-title {
    font-family: 'Outfit',sans-serif;
    font-size: 17px;
    font-weight: 500
}

.album-author-info {
    font-size: 12px;
    color: #b3a0c0
}

.album-icon {
    background: #1c112bd9;
    border: 1px solid #cba4e449;
    border-radius: 6px
}

.rankings-statusbar {
    background: #ffffff03;
    border-color: #ffffff0a;
    color: #a390b5;
    font-size: 11px
}

.podium-item .podium-step {
    background: linear-gradient(180deg,#b585d516,#1b1424);
    border: 1px solid #b686d12b;
    border-radius: 8px 8px 0 0;
    box-shadow: none
}

.rank-list-item {
    border-color: #ffffff0e;
    background: #ffffff02;
    border-radius: 6px
}

.rank-list-item:hover {
    background: #b28bde10;
    transform: translateX(3px)
}

.veterans-grid {
    gap: 18px
}

.veteran-card {
    border-radius: 10px;
    background: #1a1421;
    border: 1px solid #ffffff10;
    box-shadow: none
}

.veteran-glow {
    opacity: .15
}

.veteran-name {
    font-family: 'Outfit',sans-serif
}

.veteran-badge {
    background: #c5a47312;
    border: 1px solid #c5a47330;
    color: #d0b17c;
    box-shadow: none;
    border-radius: 4px
}

.community-section .discord-widget-info {
    margin: 28px 0 16px;
    max-width: 800px;
    border: 1px solid #ba95e235;
    background: #21172d;
    box-shadow: none;
    border-radius: 10px
}

.community-section .support-ticket-action {
    text-align: left;
    margin: 20px 0
}

.community-section .home-staff-block {
    display: block;
    border-top: 1px solid #ffffff12;
    padding-top: 30px;
    margin-top: 36px;
    width: 100%
}

.home-staff-block .section-title {
    font-size: 26px
}

.staff-grid {
    justify-content: flex-start;
    gap: 18px
}

.staff-member {
    border: 1px solid #ffffff12;
    border-radius: 8px;
    background: #1d1625;
    box-shadow: none;
    padding: 18px 22px;
    gap: 16px
}

.staff-avatar {
    border-radius: 5px;
    border: 2px solid #c997db42
}

.staff-name {
    font-family: 'Outfit',sans-serif;
    font-size: 15px
}

.staff-role {
    font-size: 10px;
    letter-spacing: .5px;
    border-radius: 3px;
    box-shadow: none
}

.community-section .home-feature-strip {
    margin: 30px 0;
    justify-content: flex-start
}

.home-feature-pill {
    border: 1px solid #b78cdd25;
    border-radius: 6px;
    font-size: 12px;
    background: #a978d20b;
    box-shadow: none
}

.shop-storefront {
    grid-template-columns: 225px minmax(0,1fr);
    gap: 25px
}

.shop-sidebar {
    padding: 24px
}

.shop-sidebar h3 {
    font-size: 21px
}

.shop-sidebar p {
    font-size: 13px;
    line-height: 1.65
}

.shop-category {
    border: 1px solid #ffffff0b;
    border-radius: 6px;
    background: #ffffff03;
    font-size: 13px
}

.shop-category.active {
    background: #b589d51b;
    color: #d2afec;
    border-color: #b589d52e;
    box-shadow: none
}

.shop-safe-box {
    background: #ffffff03;
    border-color: #ffffff10;
    border-radius: 6px
}

.shop-sidebar-cta {
    font-size: 11px;
    padding: 13px 9px
}

.shop-products-header {
    margin-bottom: 22px
}

.shop-products-header h3 {
    font-size: 25px
}

.shop-eyebrow {
    color: #ceb090;
    font-size: 10px;
    letter-spacing: 1px
}

.shop-general-benefits {
    gap: 8px;
    margin-bottom: 22px
}

.shop-general-benefits span {
    border-radius: 4px;
    background: #ffffff03;
    border: 1px solid #ffffff0c;
    font-size: 10px;
    color: #bda8ca
}

.vip-products-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px
}

.vip-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 9px
}

.vip-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px #0004;
    border-color: #ce9ce751
}

.vip-product-card.recommended {
    border-color: #d68ab556;
    box-shadow: none
}

.vip-visual {
    background: radial-gradient(ellipse at 50% 80%,#a361cf25,transparent 70%),#171020;
    min-height: 180px;
    height: 180px
}

.vip-visual::after {
    opacity: .3
}

.vip-tier-tag {
    font-family: 'Outfit',sans-serif;
    letter-spacing: 1px;
    font-size: 9px;
    border-radius: 4px
}

.vip-visual img {
    height: 150px;
    width: auto;
    filter: drop-shadow(0 9px 8px #0005)
}

.vip-product-body {
    padding: 17px
}

.vip-title-row {
    flex-wrap: wrap;
    gap: 10px
}

.vip-product-body h3 {
    font: 600 17px 'Outfit',sans-serif;
    letter-spacing: -.3px
}

.vip-product-body p {
    font-size: 11px;
    line-height: 1.7;
    color: #ad99bc
}

.vip-price {
    font: 600 21px 'Outfit',sans-serif
}

.vip-feature-list {
    font-size: 11px;
    gap: 9px
}

.vip-feature-list li {
    font-size: 11px
}

.vip-kit-pill {
    font-size: 8px;
    border-radius: 4px
}

.vip-kit-hint {
    font-size: 9px
}

.vip-actions {
    display: flex;
    gap: 7px
}

.vip-actions .btn {
    font-size: 10px;
    padding: 10px 12px;
    min-height: 38px
}

.vip-info-btn {
    font-size: 10px;
    padding: 10px;
    border-radius: 5px
}

.vip-ribbon {
    font-size: 9px;
    font-weight: 600;
    background: #d99abe;
    color: #28162e;
    padding: 6px 13px;
    box-shadow: none
}

.vip-cart-floating-btn {
    background: #30203e;
    border: 1px solid #b18ccb60;
    box-shadow: 0 4px 20px #0004;
    border-radius: 10px;
    right: 24px;
    bottom: 24px;
    color: #e1c6f2
}

.vip-cart-floating-btn:hover {
    background: #4a2d5b
}

.shop-disclaimer {
    font-size: 11px;
    line-height: 1.7;
    border-color: #c6a77324;
    background: #c6a77306
}

/* Inventory overlays, dialogs and feedback. */
.modal,.vip-package-modal,.vip-cart-modal {
    backdrop-filter: blur(10px);
    background-color: #09060fd9
}

.modal.show,.vip-package-modal.show,.vip-cart-modal.show {
    animation: overlay-in .2s ease both
}

.auth-modal-content,.settings-modal-content,.vip-package-dialog,.vip-cart-dialog,.modal-wrapper {
    background: #1b1423;
    border: 1px solid #b58bc63d;
    box-shadow: 0 30px 100px #0009;
    border-radius: 12px
}

.vip-cart-modal .vip-cart-dialog {
    margin: 0 0 0 auto;
    min-height: 100dvh;
    max-height: 100dvh;
    width: min(100%,540px);
    border-radius: 12px 0 0 12px;
    border-right: 0
}

.vip-cart-modal.show .vip-cart-dialog {
    animation: drawer-enter .32s var(--world-ease)
}

.vip-package-modal.show .vip-package-dialog,.auth-modal.show .auth-modal-content {
    animation: dialog-enter .28s var(--world-ease)
}

.vip-package-content {
    gap: 20px
}

.vip-package-content section {
    background: #ffffff03;
    border-color: #ffffff0d;
    border-radius: 8px
}

.vip-package-close,.close-modal {
    transition: transform .2s,color .2s
}

.vip-package-close:hover,.close-modal:hover {
    transform: rotate(90deg);
    color: #ebb2d4
}

.input-group input,.input-group select,.input-group textarea {
    background: #100c17;
    border: 1px solid #ffffff1c;
    border-radius: 6px;
    color: #ecdfef
}

.auth-tab.active {
    background: #b583d924;
    color: #dfbdf7;
    box-shadow: none
}

.toast {
    background: #241a2f;
    border: 1px solid #d0a4e84d;
    border-radius: 8px;
    box-shadow: 0 10px 50px #0008;
    z-index: 10010;
    font-size: 12px;
    max-width: calc(100vw - 30px)
}

.toast-success-icon {
    background: #b4d8b31a;
    color: #c4e0ba
}

.world-dialog {
    color: #f2e9f7;
    background: #1a1322;
    border: 1px solid #b38acd44;
    box-shadow: 0 25px 100px #0009;
    padding: 32px;
    border-radius: 12px;
    width: min(520px,calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    margin: auto;
    overscroll-behavior: contain
}

.world-dialog::backdrop {
    background: #08050ec9;
    backdrop-filter: blur(9px)
}

.world-dialog[open] {
    animation: dialog-enter .3s var(--world-ease)
}

.world-dialog.is-closing {
    animation: dialog-exit .18s ease both
}

.dialog-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px
}

.dialog-topline .section-kicker {
    margin: 0;
    font-size: 9px
}

.dialog-close {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: #ffffff05;
    border: 1px solid #ffffff15;
    border-radius: 5px;
    color: #c4add4
}

.dialog-close:hover {
    color: #fff;
    background: #b382d728
}

.world-dialog h2 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -1px;
    margin: 0 0 12px
}

.world-dialog>p {
    color: #ae9abd;
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 22px
}

.explorer-dialog {
    margin: 0 0 0 auto;
    border-radius: 12px 0 0 12px;
    min-height: 100dvh;
    max-height: 100dvh;
    width: min(490px,100%);
    padding: 35px
}

.explorer-dialog[open] {
    animation: drawer-enter .35s var(--world-ease)
}

.explorer-dialog.is-closing {
    animation: drawer-exit .18s ease both
}

.explorer-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0e0916;
    border: 1px solid #b58acd28;
    padding: 12px 14px;
    border-radius: 6px;
    margin: 27px 0 18px;
    color: #aa8cbc
}

.explorer-search input {
    min-width: 0;
    flex: 1;
    background: none;
    border: 0;
    outline: 0;
    color: #eee1f5;
    font-size: 13px
}

.explorer-search:focus-within {
    border-color: #d7a1f1
}

.explorer-search kbd {
    font: 10px monospace;
    padding: 2px 5px;
    border: 1px solid #ffffff1c;
    border-radius: 3px
}

.explorer-search input::placeholder {
    color: #867094
}

.explorer-dialog nav {
    display: grid;
    gap: 7px
}

.explorer-destination {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid transparent;
    border-radius: 7px;
    padding: 12px 10px;
    transition: background .2s,transform .2s,border-color .2s
}

.explorer-destination:hover,.explorer-destination.active {
    background: #ad78d41a;
    border-color: #bc8fe728;
    transform: translateX(3px)
}

.explorer-destination>i {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    background: #c793ed0c;
    border: 1px solid #c793ed22;
    border-radius: 6px;
    color: #bd8edb;
    font-size: 13px
}

.explorer-destination strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #e1c8ef
}

.explorer-destination small {
    display: block;
    font-size: 10px;
    color: #967fa7;
    margin-top: 4px
}

.explorer-destination>span:last-child {
    margin-left: auto;
    color: #9774ae;
    font-size: 17px
}

.explorer-footer {
    padding-top: 22px;
    margin-top: 25px;
    border-top: 1px solid #ffffff10;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    color: #8f789f
}

.explorer-footer span {
    margin-left: auto
}

.join-dialog-mark {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    background: #ba87e317;
    color: #d9adee;
    font-size: 23px;
    border: 1px solid #ba87e335;
    border-radius: 8px
}

.edition-tabs {
    display: flex;
    border-radius: 7px;
    background: #0f0b15;
    border: 1px solid #ffffff0d;
    padding: 5px;
    gap: 5px;
    margin: 24px 0
}

.edition-tabs button {
    flex: 1;
    border: 1px solid transparent;
    background: none;
    color: #a993b9;
    border-radius: 4px;
    padding: 11px;
    font-size: 12px
}

.edition-tabs button[aria-selected="true"] {
    background: #b382d428;
    border-color: #b382d433;
    color: #e2bcf9
}

.edition-note {
    display: block;
    color: #b89fcc;
    font-size: 11px;
    margin-bottom: 22px
}

.connection-label {
    display: block;
    font-size: 8px;
    letter-spacing: 1.5px;
    color: #9f87af;
    margin: 16px 0 8px
}

.dialog-copy-ip {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #c28adc3a;
    background: #c28adc0a;
    color: #efdafc;
    padding: 17px 15px;
    font-size: 16px;
    border-radius: 6px
}

.dialog-copy-ip:hover {
    background: #c28adc20;
    border-color: #c28adc75
}

.dialog-copy-ip i {
    color: #b291c8;
    font-size: 14px
}

.join-dialog-tip {
    display: flex;
    gap: 11px;
    margin: 22px 0;
    padding: 15px;
    background: #d2ae7007;
    border: 1px solid #d2ae7020;
    border-radius: 6px;
    color: #bdae9b;
    font-size: 11px;
    line-height: 1.6
}

.join-dialog-tip i {
    color: #d2b386;
    margin-top: 2px
}

footer {
    margin: 0 44px 0;
    padding: 28px 0 24px;
    border-top: 1px solid #ffffff0c;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: none;
    font-size: 10px;
    color: #776a83;
    max-width: 1392px
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #a48cad
}

.footer-brand img {
    width: 32px;
    height: 32px
}

.footer-brand strong {
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 600
}

.footer-brand>span {
    font-size: 10px;
    color: #786783;
    margin-left: 12px
}

.footer-links {
    margin-left: auto;
    display: flex;
    gap: 22px;
    color: #a48bad
}

.footer-links a:hover {
    color: #e4bde8
}

.footer-copyright {
    width: 100%;
    font-size: 9px;
    color: #776583;
    margin-top: 0
}

@keyframes destination-reveal {
    from {
        opacity: 0;
        transform: translateY(12px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes mascot-float {
    0%,100% {
        transform: translateY(0) rotate(-2deg)
    }
    50% {
        transform: translateY(-12px) rotate(1deg)
    }
}

@keyframes crystal-float {
    0%,100% {
        translate: 0 0
    }
    50% {
        translate: 0 -14px
    }
}

@keyframes star-drift {
    0%,100% {
        opacity: .15;
        transform: translateY(0)
    }
    50% {
        opacity: .8;
        transform: translateY(-17px)
    }
}

@keyframes mascot-pop {
    50% {
        transform: scale(1.06) rotate(3deg)
    }
}

@keyframes overlay-in {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes dialog-enter {
    from {
        opacity: 0;
        transform: translateY(15px) scale(.98)
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@keyframes dialog-exit {
    to {
        opacity: 0;
        transform: translateY(10px) scale(.98)
    }
}

@keyframes drawer-enter {
    from {
        opacity: 0;
        transform: translateX(60px)
    }
    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes drawer-exit {
    to {
        opacity: 0;
        transform: translateX(60px)
    }
}

.reveal-item {
    opacity: 1
}

.reveal-item.is-revealing {
    animation: destination-reveal .55s var(--world-ease) both;
    animation-delay: var(--reveal-delay,0ms)
}

body.effects-reduced *,body.effects-reduced *::before,body.effects-reduced *::after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
    scroll-behavior: auto!important
}

body.effects-reduced .hero-mascot,body.effects-reduced .hero-landscape img,body.effects-reduced .mascot-trigger {
    transform: none!important
}

body.tab-inactive .hero-mascot,body.tab-inactive .hero-stars span,body.tab-inactive .floating-crystal {
    animation-play-state: paused
}

@media(min-width:1600px) {
    footer {
        margin-left: auto;
        margin-right: auto
    }
    .world-hero {
        min-height: 620px
    }
    .hero-copy {
        padding-left: 60px
    }
    .hero-art {
        padding-right: 40px
    }
    .hero-mascot {
        max-width: 500px
    }
    .world-title {
        font-size: 77px
    }
    .hero-copy .subtitle {
        font-size: 16px
    }
}

@media(max-width:1250px) {
    header.navbar-container {
        padding-right: 22px
    }
    .navbar {
        gap: 18px
    }
    .nav-actions {
        gap: 12px
    }
    .nav-link {
        padding: 10px;
        font-size: 12px
    }
    .btn-nav-ip .nav-ip-text {
        display: none
    }
    .btn-nav-ip>i:last-child {
        display: none
    }
    .nav-user-area {
        padding-left: 10px
    }
    .container {
        padding: 0 30px
    }
    .destination-bar {
        padding-left: 30px;
        padding-right: 30px
    }
    .world-hero {
        min-height: 540px
    }
    .hero-copy {
        padding-left: 34px
    }
    .world-title {
        font-size: 57px
    }
    .hero-main-actions {
        gap: 14px
    }
    .hero-explore-link {
        font-size: 11px
    }
    .hero-art {
        padding-right: 0
    }
    .mascot-trigger {
        max-width: 410px
    }
    .home-connection-row .server-status-details {
        flex-direction: column;
        gap: 2px
    }
    .quick-connect-actions .btn-secondary {
        display: none
    }
    footer {
        margin-left: 30px;
        margin-right: 30px
    }
    .vip-products-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
    .shop-storefront {
        grid-template-columns: 210px minmax(0,1fr)
    }
}

@media(max-width:1000px) {
    body {
        padding-left: 64px
    }
    .world-rail {
        width: 64px
    }
    .world-rail a.active::before {
        left: -12px
    }
    .nav-logo-text {
        font-size: 17px
    }
    .nav-menu {
        gap: 0
    }
    .nav-link {
        padding: 9px;
        font-size: 11px
    }
    .navbar {
        gap: 12px
    }
    .nav-actions {
        gap: 10px
    }
    .hero-copy {
        padding: 40px 0 70px 27px
    }
    .world-title {
        font-size: 48px;
        letter-spacing: -2.2px
    }
    .world-hero {
        min-height: 490px;
        grid-template-columns: 1.1fr 1fr
    }
    .hero-overline {
        font-size: 8px;
        letter-spacing: 1.6px;
        margin-bottom: 20px
    }
    .hero-copy .subtitle {
        font-size: 12px;
        max-width: 290px
    }
    .hero-main-actions {
        gap: 10px
    }
    .hero-explore-link {
        padding: 10px 0
    }
    .journey-btn {
        font-size: 11px;
        padding: 13px 14px
    }
    .hero-trust-row {
        gap: 12px;
        margin-top: 23px
    }
    .hero-trust-row span {
        font-size: 9px
    }
    .world-coordinate {
        font-size: 6px;
        letter-spacing: 1px;
        gap: 6px;
        bottom: 12px
    }
    .world-coordinate>span:last-child {
        font-size: 6px;
        padding: 3px
    }
    .hero-bottom-bar {
        padding: 0 19px
    }
    .hero-bottom-meta {
        display: none
    }
    .amethyst-orbit {
        width: 260px;
        height: 260px
    }
    .home-connection-row {
        gap: 12px
    }
    .home-connection-row .server-ip-copy {
        display: none
    }
    .home-connection-row .server-status-details {
        flex-direction: row;
        gap: 10px
    }
    .home-connection-row #serverStatusCard {
        gap: 12px
    }
    #home .home-hub-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 16px
    }
    .explore-card-art {
        height: 145px
    }
    .gallery-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
    .shop-storefront {
        grid-template-columns: 190px minmax(0,1fr);
        gap: 18px
    }
    .shop-sidebar {
        padding: 19px
    }
    .home-community-invite {
        padding: 20px
    }
    .footer-brand>span {
        display: none
    }
    .home-community-invite strong {
        font-size: 12px
    }
    .home-community-invite>a {
        font-size: 10px;
        gap: 10px
    }
}

@media(max-width:760px) {
    body {
        padding: 66px 0 0
    }
    .world-rail {
        display: none
    }
    header.navbar-container {
        height: 66px;
        padding: 0 18px
    }
    .navbar {
        gap: 10px
    }
    .nav-logo img {
        width: 40px;
        height: 40px
    }
    .nav-logo-text {
        font-size: 18px
    }
    .nav-menu {
        display: none
    }
    .nav-actions {
        margin-left: auto;
        gap: 10px
    }
    .btn-nav-ip {
        display: none
    }
    .nav-user-area {
        order: initial;
        border: 0;
        padding: 0
    }
    .btn-login-nav {
        font-size: 12px
    }
    .mobile-menu-btn {
        display: grid;
        place-items: center
    }
    .mobile-dropdown {
        position: fixed;
        top: 72px;
        left: 12px;
        right: 12px;
        width: auto;
        padding: 12px;
        background: #1c1427;
        border: 1px solid #b18ad139;
        border-radius: 10px;
        box-shadow: 0 20px 60px #0009;
        z-index: 999;
        max-height: calc(100dvh - 88px);
        overflow: auto
    }
    .mobile-dropdown .nav-link {
        font-size: 14px;
        padding: 13px;
        text-align: left
    }
    .mobile-dropdown.show {
        animation: dialog-enter .2s ease;
        display: block
    }
    .mobile-user-li {
        padding: 15px
    }
    .container {
        padding: 0 20px
    }
    .destination-bar {
        padding: 23px 20px 0;
        font-size: 11px;
        gap: 10px
    }
    .destination-bar>button {
        font-size: 10px
    }
    .destination-bar>button i {
        display: none
    }
    section.site-tab-active:not(#home) {
        padding: 32px 0 45px
    }
    .section-title {
        font-size: 30px
    }
    .section-subtitle {
        font-size: 13px;
        margin-bottom: 25px
    }
    #home {
        padding-top: 18px
    }
    .world-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        overflow: hidden
    }
    .hero-copy {
        padding: 33px 28px 0;
        position: relative
    }
    .hero-overline {
        font-size: 8px;
        letter-spacing: 1.5px;
        margin-bottom: 22px
    }
    .hero-brand {
        font-size: 10px;
        letter-spacing: 3px
    }
    .world-title {
        font-size: clamp(44px,8vw,62px);
        letter-spacing: -2px;
        margin-bottom: 18px
    }
    .hero-copy .subtitle {
        font-size: 13px;
        max-width: 320px;
        margin-bottom: 24px
    }
    .hero-main-actions {
        gap: 17px
    }
    .journey-btn {
        padding: 14px 17px;
        font-size: 12px
    }
    .journey-btn>span {
        margin-left: 10px
    }
    .hero-explore-link {
        font-size: 11px
    }
    .hero-trust-row {
        margin-top: 23px;
        gap: 19px
    }
    .hero-trust-row span {
        font-size: 9px
    }
    .hero-art {
        height: 320px;
        padding: 0 0 46px;
        align-self: unset;
        margin-top: 5px
    }
    .mascot-trigger {
        width: 300px;
        max-width: 85%
    }
    .hero-mascot {
        animation: none
    }
    .world-coordinate {
        bottom: 40px;
        font-size: 7px
    }
    .world-coordinate>span:last-child {
        font-size: 6px
    }
    .floating-crystal {
        width: 17px;
        height: 32px
    }
    .crystal-one {
        top: 12%;
        right: 18%
    }
    .crystal-two {
        bottom: 31%;
        left: 19%
    }
    .amethyst-orbit {
        width: 230px;
        height: 230px;
        top: 15px
    }
    .hero-landscape img {
        object-position: 64% center;
        opacity: .33
    }
    .world-hero::before {
        background: linear-gradient(180deg,#16101fec 0%,#21152be0 36%,#28173788 73%,#17101fdd 100%)
    }
    .hero-bottom-bar {
        padding: 0 19px;
        min-height: 39px
    }
    .hero-bottom-bar .hero-kicker {
        font-size: 9px
    }
    .ambient-toggle {
        font-size: 8px
    }
    .hero-stars span:nth-child(odd) {
        display: none
    }
    .home-connection-row {
        padding: 13px 2px;
        align-items: flex-start;
        gap: 10px
    }
    .home-connection-row #serverStatusCard {
        gap: 8px;
        align-items: flex-start;
        flex-direction: column
    }
    .home-connection-row .server-status-details {
        font-size: 9px
    }
    .quick-connect-actions .btn {
        font-size: 10px;
        padding: 6px 0
    }
    .explore-heading {
        margin-top: 27px;
        align-items: flex-end;
        gap: 15px
    }
    .explore-heading h2 {
        font-size: 21px;
        max-width: 240px
    }
    .explore-heading .section-kicker {
        font-size: 7px
    }
    .explore-heading>.text-action {
        font-size: 10px;
        gap: 7px;
        max-width: 90px
    }
    .explore-heading>.text-action span {
        font-size: 14px
    }
    #home .home-hub-grid {
        gap: 12px
    }
    .explore-card-art {
        height: 115px;
        margin-bottom: 11px
    }
    .home-hub-card {
        padding-bottom: 15px;
        border-radius: 7px
    }
    .home-hub-card>i {
        margin-left: 12px;
        margin-right: 4px;
        width: 22px;
        height: 22px;
        font-size: 10px;
        border-radius: 4px
    }
    .home-hub-card h3 {
        font-size: 13px
    }
    .home-hub-card p {
        margin: 10px 12px 0;
        font-size: 10px;
        line-height: 1.6
    }
    .explore-card-index {
        font-size: 8px;
        left: 10px;
        top: 10px
    }
    .explore-card-arrow {
        width: 23px;
        height: 23px;
        top: 8px;
        right: 8px
    }
    .home-community-invite {
        display: grid;
        grid-template-columns: 35px 1fr;
        gap: 12px;
        padding: 18px 15px
    }
    .community-symbol {
        width: 35px;
        height: 35px;
        font-size: 16px
    }
    .home-community-invite strong {
        font-size: 12px;
        line-height: 1.4;
        display: block
    }
    .home-community-invite p {
        font-size: 10px;
        line-height: 1.5
    }
    .home-community-invite>a {
        grid-column: 2;
        margin: 0;
        font-size: 10px;
        justify-content: space-between
    }
    .rules-grid,.join-grid,.server-benefits-grid,.news-events-layout,.home-rankings-layout {
        grid-template-columns: 1fr
    }
    .join-step,.rule-card {
        padding: 25px
    }
    .join-cards-container {
        flex-direction: column;
        display: flex
    }
    .join-ip-card {
        width: 100%;
        font-size: 14px
    }
    .join-bedrock-buttons {
        flex-wrap: wrap
    }
    .community-section .discord-widget-info {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px
    }
    .discord-widget-counts {
        flex-wrap: wrap
    }
    .staff-grid {
        flex-direction: column;
        align-items: stretch
    }
    .staff-member {
        width: 100%;
        min-width: 0
    }
    .staff-grid .staff-avatar {
        width: 48px;
        height: 48px
    }
    .veterans-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px
    }
    .veteran-card {
        min-height: 210px
    }
    .veteran-name {
        font-size: 12px
    }
    .veteran-desc {
        font-size: 10px
    }
    .gallery-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px
    }
    .album-cover {
        height: 140px
    }
    .album-title {
        font-size: 13px;
        padding: 12px 12px 0
    }
    .album-author-info {
        padding-left: 12px;
        padding-right: 12px;
        font-size: 9px
    }
    .season-tab {
        padding: 11px 13px;
        font-size: 11px
    }
    .home-gallery-grid {
        grid-template-columns: 1fr
    }
    .home-gallery-card {
        min-height: 220px
    }
    .shop-storefront {
        display: flex;
        flex-direction: column
    }
    .shop-sidebar {
        position: static;
        width: 100%;
        padding: 20px
    }
    .shop-category-list {
        display: flex;
        gap: 8px
    }
    .shop-category {
        flex: 1;
        padding: 11px
    }
    .shop-safe-box {
        margin-top: 15px
    }
    .shop-products-header h3 {
        font-size: 22px
    }
    .shop-products-header {
        gap: 15px
    }
    .shop-header-note {
        font-size: 9px
    }
    .vip-products-grid {
        gap: 12px
    }
    .vip-product-body {
        padding: 13px
    }
    .vip-product-body h3 {
        font-size: 16px
    }
    .vip-actions {
        flex-wrap: wrap
    }
    .vip-actions>* {
        flex: 1;
        min-width: 100%
    }
    .vip-visual {
        height: 160px;
        min-height: 160px
    }
    .vip-visual img {
        height: 130px
    }
    .vip-title-row {
        flex-direction: column;
        align-items: flex-start
    }
    .vip-price-col {
        align-items: flex-start
    }
    .vip-feature-list {
        font-size: 10px
    }
    .vip-feature-list li {
        font-size: 10px
    }
    .vip-kit-hint {
        font-size: 9px
    }
    .vip-kit-preview-row {
        flex-wrap: wrap
    }
    .vip-cart-floating-btn {
        right: 17px;
        bottom: 17px;
        width: 46px;
        height: 46px
    }
    .world-dialog {
        padding: 25px
    }
    .explorer-dialog {
        padding: 27px 23px
    }
    .world-dialog h2 {
        font-size: 27px
    }
    .dialog-copy-ip {
        font-size: 14px
    }
    .explorer-footer {
        font-size: 8px
    }
    .vip-package-grid {
        grid-template-columns: 1fr
    }
    .vip-package-dialog {
        padding: 24px
    }
    .vip-package-content {
        grid-template-columns: 1fr
    }
    .auth-modal-content {
        max-width: calc(100vw - 28px);
        padding: 26px
    }
    .footer-brand {
        gap: 7px
    }
    .footer-brand strong {
        font-size: 9px
    }
    footer {
        margin: 0 20px;
        padding: 24px 0;
        gap: 15px
    }
    .footer-links {
        gap: 13px;
        font-size: 9px
    }
    .footer-copyright {
        font-size: 8px;
        line-height: 1.5
    }
    .skip-link {
        left: 15px
    }
    .nav-user-name {
        max-width: 70px;
        text-overflow: ellipsis;
        overflow: hidden
    }
}

@media(max-width:390px) {
    .container {
        padding: 0 14px
    }
    .hero-copy {
        padding: 29px 22px 0
    }
    .world-title {
        font-size: 43px
    }
    .hero-main-actions {
        gap: 12px
    }
    .journey-btn {
        font-size: 11px
    }
    .hero-explore-link {
        font-size: 10px
    }
    .hero-art {
        height: 290px
    }
    .mascot-trigger {
        width: 270px
    }
    .hero-overline {
        font-size: 7px
    }
    .nav-logo-text {
        font-size: 16px
    }
    .home-hub-card h3 {
        font-size: 12px
    }
    .home-hub-card>i {
        margin-left: 9px
    }
    .gallery-grid {
        grid-template-columns: 1fr
    }
    .album-cover {
        height: 200px
    }
    .footer-links {
        gap: 10px
    }
    .vip-products-grid {
        grid-template-columns: 1fr
    }
}

@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        animation-duration: .01ms!important;
        animation-iteration-count: 1!important;
        transition-duration: .01ms!important;
        scroll-behavior: auto!important
    }
    .hero-mascot,.hero-landscape img,.mascot-trigger,.home-hub-card {
        transform: none!important
    }
}

/* Explicit resets for the old page-wide grid and footer descendant rules. */
.home-connection-row #serverStatusCard {
    order: 0;
    flex-direction: row;
    animation: none;
    backdrop-filter: none
}

.home-connection-row .server-status-header {
    text-transform: none;
    letter-spacing: 0
}

.home-connection-row .server-status-text {
    color: #baa6c7;
    font-weight: 400
}

.home-connection-row .server-status-details {
    font-weight: 400
}

.home-connection-row .server-ip-copy {
    width: auto
}

.home-connection-row .quick-connect-actions {
    margin-left: auto
}

.home-hub-card p,.home-staff-block .section-subtitle {
    display: block
}

.nav-link,.btn-login-nav,.btn-nav-ip {
    text-transform: none
}

.nav-link {
    font-weight: 500
}

footer.site-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 28px 0 24px;
    gap: 20px;
    background: none;
    font-size: 10px;
    letter-spacing: 0
}

footer.site-footer::before,footer.site-footer::after {
    display: none
}

.site-footer>.footer-brand,.site-footer>.footer-links,.site-footer>.footer-copyright {
    padding: 0;
    background: none;
    flex-direction: row;
    gap: 14px
}

.site-footer>.footer-brand {
    gap: 9px
}

.site-footer>.footer-copyright {
    display: block
}

.site-footer a {
    color: #a48bad;
    font-weight: 400;
    text-shadow: none
}

.toast {
    top: 94px;
    right: 22px;
    bottom: auto;
    left: auto;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity .2s,transform .2s,visibility .2s;
    font-weight: 400;
    padding: 14px 19px
}

.toast.show {
    transform: translateY(0);
    visibility: visible;
    opacity: 1
}

.toast-success-icon {
    flex-shrink: 0
}

.section-title,.season-tab,.period-btn,.vip-duration,.vip-price-label {
    text-transform: none
}

h1[tabindex="-1"]:focus-visible,h2[tabindex="-1"]:focus-visible {
    outline: none
}

.community-section .discord-widget-info,.community-section .home-feature-strip,.community-section .support-ticket-action {
    animation: none;
    opacity: 1;
    transform: none
}

.community-section .discord-widget-info {
    width: 100%;
    max-width: 800px;
    display: flex;
    padding: 24px
}

.community-section .support-ticket-action {
    display: flex;
    justify-content: flex-start
}

.community-section .btn-support-ticket {
    box-shadow: none;
    border-radius: 6px;
    background: #ad86f717;
    border: 1px solid #ad86f741;
    color: #cab1df
}

.community-section .home-staff-block {
    margin: 36px 0 0;
    max-width: none
}

.community-section .staff-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    max-width: 900px
}

.community-section .staff-member {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    animation: none;
    overflow: visible;
    min-width: 0
}

.community-section .staff-member::before {
    display: none
}

.community-section .staff-avatar {
    width: 52px;
    height: 52px;
    margin: 0;
    flex-shrink: 0
}

.community-section .staff-info {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    align-items: flex-start;
    min-width: 0;
    white-space: normal
}

.community-section .staff-info::after {
    display: none
}

.community-section .staff-role {
    font-weight: 500;
    letter-spacing: 1px
}

.community-section .staff-name {
    font-weight: 500;
    overflow-wrap: anywhere
}

.community-section .home-feature-strip {
    display: flex;
    max-width: none;
    flex-wrap: wrap;
    gap: 10px
}

.vip-inventory-controls {
    display: none
}

@media(max-width:900px) {
    .shop-storefront {
        display: flex;
        flex-direction: column
    }
    .shop-sidebar {
        position: static;
        width: 100%
    }
    .shop-category-list {
        display: flex;
        gap: 8px
    }
    .shop-category {
        flex: 1
    }
    .vip-products-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
    .community-section .staff-grid {
        grid-template-columns: 1fr;
        max-width: 560px
    }
}

@media(max-width:760px) {
    .community-section .discord-widget-info {
        flex-direction: column;
        align-items: flex-start
    }
    .community-section .staff-member {
        padding: 20px
    }
    .community-section .staff-info {
        font-size: 14px
    }
    .vip-inventory-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin: 22px 0 12px;
        color: #b29bbf;
        font-size: 11px
    }
    .vip-inventory-controls>div {
        display: flex;
        gap: 7px
    }
    .vip-inventory-controls button {
        width: 36px;
        height: 36px;
        border: 1px solid #b38bc640;
        border-radius: 5px;
        color: #d8b4ee;
        background: #b38bc60c
    }
    .vip-inventory-controls button:disabled {
        opacity: .3;
        cursor: default
    }
    .shop-products-area {
        padding: 18px 13px;
        min-width: 0;
        width: 100%
    }
    .vip-products-grid {
        display: flex;
        overflow-x: auto;
        gap: 13px;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        padding: 0 0 16px;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        scrollbar-color: #b288cd45 transparent
    }
    .vip-product-card {
        flex: 0 0 min(280px,84%);
        min-width: 0;
        scroll-snap-align: start
    }
    .vip-visual {
        height: 160px;
        min-height: 160px
    }
    .vip-product-body {
        padding: 16px
    }
    .vip-actions {
        flex-wrap: nowrap
    }
    .vip-actions>* {
        min-width: 0;
        flex: 1
    }
    .vip-title-row {
        flex-direction: row;
        align-items: center
    }
    .vip-price-col {
        align-items: flex-end
    }
    .vip-feature-list li {
        padding: 9px 10px
    }
    .vip-product-card:last-child {
        margin-right: 0
    }
}

body: not([data-destination="loja"]):not(.has-vip-items) .vip-cart-floating-btn {
    display: none
}

.world-dialog .toast {
    position: sticky;
    top: auto;
    right: auto;
    bottom: 0;
    margin: 16px 0 0;
    max-width: 100%;
    display: none
}

.world-dialog .toast.show {
    display: flex
}

@media(max-width:760px) {
    .home-connection-row #serverStatusCard {
        flex-direction: column;
        align-items: flex-start
    }
    .home-hub-card p {
        display: block
    }
    .home-connection-row .quick-connect-actions {
        margin-left: auto
    }
    footer.site-footer {
        padding: 24px 0;
        gap: 15px
    }
    .site-footer>.footer-links {
        gap: 13px
    }
    .toast {
        top: 80px;
        right: 15px;
        max-width: calc(100vw - 30px)
    }
    .hero-art {
        padding-bottom: 58px
    }
    .world-coordinate {
        bottom: 55px
    }
}
