

:root {
    --bg: #101112;
    --panel: #191c1e;
    --line: #303538;
    --text: #f1f1ec;
    --muted: #a0a5a3;
    --yellow: #ffd21c;
    --black: #111;
    --display: 'Barlow Condensed',Impact,sans-serif;
    --body: 'Manrope',Arial,sans-serif;
}

* {
    box-sizing: border-box;
}

html,body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
}

body {
    font-family: var(--body);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,input {
    font: inherit;
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.landing,.subpage {
    min-height: 100svh;
    background: radial-gradient(ellipse at 50% 43%,#25292a 0,#151819 45%,#0d0f10 100%);
    position: relative;
    isolation: isolate;
}

.site-header {
    position: relative;
    z-index: 5;
    width: min(1180px,calc(100% - 48px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 900 25px/.9 var(--display);
    letter-spacing: .04em;
    white-space: nowrap;
}

.brand strong,.hero-logo span,.auth-brand span {
    color: var(--yellow);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: var(--yellow);
    color: #101112;
    font: 900 26px var(--display);
    transform: skew(-7deg);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px,3vw,38px);
}

.main-nav a,.header-home {
    font-size: 12px;
    font-weight: 800;
    color: #c5cac6;
    transition: color .2s;
}

.main-nav a:hover,.header-home:hover {
    color: var(--yellow);
}

.account-area {
    min-width: 106px;
    display: flex;
    justify-content: flex-end;
}

.account-link {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 800;
    color: #e5e8e2;
    white-space: nowrap;
}

.avatar-placeholder {
    width: 34px;
    height: 34px;
    border: 1px solid #6c6d60;
    background: #272a28;
    color: var(--yellow);
    display: grid;
    place-items: center;
    font: 800 18px var(--display);
    border-radius: 50%;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-details small {
    color: var(--yellow);
    font-size: 10px;
}

.mobile-menu {
    display: none;
    background: none;
    border: 0;
    color: var(--yellow);
    font-size: 23px;
}

.hero {
    position: relative;
    z-index: 1;
    min-height: calc(100svh - 140px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 65px 20px 75px;
}

.hero-kicker,.simple-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #aab0ac;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a6d78e;
    box-shadow: 0 0 12px #a6d78e;
}

.hero-logo {
    margin: 26px 0 24px;
    font: 900 clamp(76px,13vw,150px)/.8 var(--display);
    letter-spacing: .025em;
    text-shadow: 0 8px 55px #0008;
}

.hero h1 {
    margin: 0;
    font: 900 clamp(28px,5vw,54px)/.98 var(--display);
    letter-spacing: .02em;
}

.hero h1 em,.simple-main h1 em {
    font-style: normal;
    color: var(--yellow);
}

.hero-copy {
    margin: 22px 0 32px;
    color: #b9bfba;
    font-size: 15px;
}

.start-button,.primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-width: 250px;
    min-height: 56px;
    padding: 0 24px;
    background: var(--yellow);
    color: #121313;
    border: 0;
    font: 900 20px var(--display);
    letter-spacing: .07em;
    cursor: pointer;
    transition: transform .2s,background .2s;
}

.start-button:hover,.primary-button:hover {
    transform: translateY(-3px);
    background: #ffe15b;
}

.start-button span {
    font-size: 24px;
}

.site-footer {
    position: relative;
    z-index: 1;
    width: min(1180px,calc(100% - 48px));
    margin: 0 auto;
    min-height: 58px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777f7b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.tape-stage {
    position: fixed;
    z-index: 10;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.tape {
    position: absolute;
    left: -10%;
    width: 120%;
    height: 64px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #101112;
    background: repeating-linear-gradient(135deg,#ffd21c 0 34px,#17191a 34px 68px);
    box-shadow: 0 7px 25px #0009;
    font: 900 18px var(--display);
    letter-spacing: .15em;
    white-space: nowrap;
}

.tape:before {
    content: "";
    position: absolute;
    inset: 9px 0;
    background: #ffd21c;
    opacity: .98;
}

.tape span {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    color: #111;
}

.tape-top {
    top: 29%;
    transform: rotate(-7deg);
    animation: tape-left 1.8s .1s cubic-bezier(.76,0,.18,1) forwards;
}

.tape-bottom {
    bottom: 29%;
    transform: rotate(7deg);
    animation: tape-right 1.8s .1s cubic-bezier(.76,0,.18,1) forwards;
}

@keyframes tape-left {
    0% {
        transform: translateX(0) rotate(-7deg);
        opacity: 1;
    }
    55% {
        opacity: 1;
    }
    100% {
        transform: translateX(-140%) rotate(-7deg);
        opacity: 0;
    }
}

@keyframes tape-right {
    0% {
        transform: translateX(0) rotate(7deg);
        opacity: 1;
    }
    55% {
        opacity: 1;
    }
    100% {
        transform: translateX(140%) rotate(7deg);
        opacity: 0;
    }
}

.subpage {
    display: flex;
    flex-direction: column;
}

.simple-main {
    flex: 1;
    min-height: calc(100svh - 140px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.simple-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid #5b501b;
    color: var(--yellow);
    font-size: 42px;
}

.simple-label {
    margin: 0 0 14px;
}

.simple-main h1 {
    margin: 0;
    font: 900 clamp(54px,9vw,92px)/.9 var(--display);
}

.simple-copy {
    max-width: 440px;
    margin: 20px auto 28px;
    color: #b4bbb6;
    font-size: 14px;
    line-height: 1.8;
}

.notice-line {
    padding: 12px 24px;
    border: 1px solid #63551a;
    color: var(--yellow);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
}

.text-back {
    margin-top: 30px;
    color: #b9bfba;
    font-size: 12px;
    font-weight: 800;
}

.text-back:hover {
    color: var(--yellow);
}

.auth-main {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 46px 18px;
}

.auth-card {
    width: min(440px,100%);
    padding: 30px;
    background: rgba(25,28,30,.94);
    border: 1px solid #383d3e;
    box-shadow: 0 22px 80px #0006;
}

.auth-back {
    color: #a7afaa;
    font-size: 11px;
    font-weight: 700;
}

.auth-brand {
    margin-top: 25px;
    font: 900 28px var(--display);
    letter-spacing: .06em;
}

.auth-card h1 {
    margin: 8px 0 5px;
    font: 900 34px var(--display);
}

.auth-subtitle {
    margin: 0 0 24px;
    color: #9da5a0;
    font-size: 12px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form[hidden] {
    display: none;
}

.auth-form>label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #dce0db;
    font-size: 11px;
    font-weight: 800;
}

.auth-form input:not([type=checkbox]) {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #414849;
    outline: 0;
    background: #101314;
    color: #fff;
    font-size: 13px;
}

.auth-form input:focus {
    border-color: var(--yellow);
}

.auth-form input::placeholder {
    color: #69716e;
}

.primary-button {
    width: 100%;
    min-height: 49px;
    margin-top: 4px;
    font-size: 18px;
}

.primary-button:disabled {
    opacity: .6;
    cursor: wait;
}

.consents {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 2px 0;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #b9c0ba;
    font-size: 11px;
    line-height: 1.5;
}

.check-row input {
    accent-color: var(--yellow);
    margin: 2px 0 0;
}

.check-row a {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-message {
    min-height: 18px;
    margin: 12px 0 0;
    font-size: 11px;
}

.auth-message.error {
    color: #ff8c78;
}

.auth-message.success {
    color: #a9df91;
}

.auth-switch {
    margin: 12px 0 0;
    color: #9ca49f;
    text-align: center;
    font-size: 11px;
}

.auth-switch button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--yellow);
    font-weight: 800;
    cursor: pointer;
}

.header-home {
    white-space: nowrap;
}

@media (max-width:760px) {
    .site-header {
        width: calc(100% - 28px);
        min-height: 66px;
        gap: 12px;
    }
    .brand {
        font-size: 22px;
    }
    .brand-mark {
        width: 30px;
        height: 30px;
    }
    .mobile-menu {
        display: block;
        order: 4;
    }
    .account-area {
        min-width: 0;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        padding: 16px;
        background: #191c1e;
        border: 1px solid #353a3b;
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }
    .main-nav.nav-open {
        display: flex;
    }
    .account-link {
        font-size: 10px;
    }
    .avatar-placeholder {
        width: 30px;
        height: 30px;
    }
    .hero {
        min-height: calc(100svh - 124px);
        padding: 45px 16px;
    }
    .hero-logo {
        margin: 25px 0 22px;
    }
    .hero-copy {
        font-size: 13px;
    }
    .tape {
        height: 52px;
        font-size: 15px;
    }
    .tape:before {
        inset: 7px 0;
    }
    .site-footer {
        width: calc(100% - 28px);
        font-size: 7px;
        letter-spacing: .08em;
    }
    .auth-card {
        padding: 24px;
    }
    .header-home {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation-duration: .01ms!important;
        animation-iteration-count: 1!important;
        transition-duration: .01ms!important;
    }
}

/* VOLTRUSH one-page network layout */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

.welcome {
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 45%,#292d2d 0,#171a1b 43%,#0b0d0e 100%);
}

.welcome:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom,black,transparent 92%);
}

.welcome:after {
    content: "";
    position: absolute;
    width: min(78vw,900px);
    height: min(78vw,900px);
    border: 1px solid #ffffff0b;
    border-radius: 50%;
    box-shadow: 0 0 0 70px #ffffff04,0 0 0 140px #ffffff03;
    pointer-events: none;
}

.welcome-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 70px 20px 100px;
}

.welcome .hero-logo {
    font-size: clamp(88px,15vw,176px);
    letter-spacing: .015em;
}

.welcome h1 {
    font-size: clamp(32px,5.4vw,62px);
    margin: 0;
    font: 900 clamp(32px,5.4vw,62px)/.98 var(--display);
    letter-spacing: .02em;
}

.welcome h1 em {
    font-style: normal;
    color: var(--yellow);
}

.welcome .start-button {
    margin-top: 5px;
}

.scroll-hint {
    position: absolute;
    z-index: 2;
    bottom: 76px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #89918c;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
}

.scroll-hint span {
    width: 24px;
    height: 24px;
    border: 1px solid #555d59;
    border-radius: 50%;
    position: relative;
}

.scroll-hint span:after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-right: 1px solid var(--yellow);
    border-bottom: 1px solid var(--yellow);
    transform: rotate(45deg);
    left: 8px;
    top: 6px;
}

.welcome-foot {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px,calc(100% - 48px));
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ffffff18;
    color: #737b76;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.main-area {
    min-height: 100vh;
    background: #101314;
    position: relative;
}

.main-area:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 80% 10%,#282c2a44,transparent 45%);
}

.main-area>.site-header {
    position: sticky;
    top: 0;
    background: #111516ed;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #ffffff16;
}

.content-wrap {
    position: relative;
    width: min(1180px,calc(100% - 48px));
    margin: 0 auto;
    padding: 66px 0 74px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading .simple-label {
    margin-bottom: 10px;
}

.section-heading h2 {
    margin: 0;
    font: 900 clamp(42px,6vw,66px)/.9 var(--display);
    letter-spacing: .02em;
}

.section-heading h2 em {
    font-style: normal;
    color: var(--yellow);
}

.section-heading p {
    margin: 12px 0 0;
    color: #9da6a0;
    font-size: 13px;
}

.network-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid #3c422d;
    color: #d4d7c6;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    white-space: nowrap;
}

.network-chip .status-dot {
    background: var(--yellow);
    box-shadow: 0 0 10px #ffd21c66;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0,1.55fr) minmax(290px,.85fr);
    gap: 18px;
}

.panel {
    position: relative;
    background: linear-gradient(145deg,#1a1f20,#15191a);
    border: 1px solid #333a39;
    padding: 24px;
    min-width: 0;
}

.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.panel-index {
    color: #8e9891;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
}

.panel-head h3 {
    margin: 6px 0 0;
    font: 900 27px/.95 var(--display);
    letter-spacing: .04em;
}

.panel-icon {
    color: var(--yellow);
    font-size: 24px;
}

.server-card {
    border: 1px solid #343b38;
    background: #111516;
}

.server-art {
    height: 170px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(115deg,#161b1b,#343a32 50%,#171c1b);
    isolation: isolate;
}

.server-art:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,transparent 40%,#ffd21c18 40.2%,transparent 40.7%),repeating-linear-gradient(135deg,transparent 0 34px,#ffffff08 35px 36px);
    z-index: -1;
}

.server-art:after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid #ffd21c38;
    transform: rotate(45deg);
    box-shadow: 0 0 0 30px #ffd21c08,0 0 0 60px #ffd21c05;
}

.server-art-label {
    position: absolute;
    top: 16px;
    left: 18px;
    color: #c4cbbf;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
}

.server-art-mark {
    font: 900 100px/.8 var(--display);
    color: #ffd21c;
    text-shadow: 0 6px 35px #000;
    letter-spacing: -.08em;
}

.server-info {
    padding: 21px;
}

.server-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.server-title-row h4 {
    margin: 0;
    font: 900 30px/.9 var(--display);
}

.server-version {
    display: block;
    margin-top: 7px;
    color: #87918b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--yellow);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.server-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 10px #ffd21c88;
}

.server-info p {
    max-width: 620px;
    margin: 17px 0;
    color: #aab2ac;
    font-size: 12px;
    line-height: 1.75;
}

.server-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 19px;
}

.server-tags span {
    padding: 6px 9px;
    border: 1px solid #39413b;
    color: #c7cec4;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.panel-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 44px;
    padding: 0 15px;
    background: var(--yellow);
    color: #141615;
    font: 900 15px var(--display);
    letter-spacing: .06em;
    transition: background .2s,transform .2s;
}

.panel-button:hover {
    background: #ffe36a;
    transform: translateY(-2px);
}

.panel-button b {
    font-size: 20px;
}

.server-footnote {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    color: #727d75;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
}

.side-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.account-promo {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    margin: 2px 0 16px;
    background: #111516;
    border: 1px solid #303836;
}

.account-promo-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: #292e2c;
    border: 1px solid #65602e;
    color: var(--yellow);
    font: 900 25px var(--display);
}

.account-promo b,.account-promo span {
    display: block;
}

.account-promo b {
    font: 900 17px var(--display);
}

.account-promo span {
    margin-top: 3px;
    color: #9ca59f;
    font-size: 10px;
}

.subtle-link {
    display: block;
    margin-top: 13px;
    color: #aeb6af;
    text-align: center;
    font-size: 10px;
}

.subtle-link:hover {
    color: var(--yellow);
}

.news-panel {
    flex: 1;
}

.empty-news {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid #343b39;
}

.empty-news-mark {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    background: #332d16;
    color: var(--yellow);
    font: 900 20px var(--display);
}

.empty-news b {
    font: 900 15px var(--display);
    letter-spacing: .03em;
}

.empty-news p {
    margin: 5px 0 0;
    color: #9ca59f;
    font-size: 10px;
    line-height: 1.5;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin-top: 18px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    background: #181d1e;
    border: 1px solid #333a38;
    transition: border-color .2s,transform .2s;
}

.quick-link:hover {
    border-color: #8e781d;
    transform: translateY(-3px);
}

.quick-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 1px solid #5b5122;
    color: var(--yellow);
    font: 900 22px var(--display);
}

.quick-link span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.quick-link b,.quick-link small {
    display: block;
}

.quick-link b {
    font: 900 17px var(--display);
    letter-spacing: .05em;
}

.quick-link small {
    margin-top: 3px;
    color: #929b94;
    font-size: 9px;
}

.quick-link i {
    color: var(--yellow);
    font-style: normal;
}

.site-footer {
    width: min(1180px,calc(100% - 48px));
    min-height: 70px;
    gap: 20px;
}

.footer-brand {
    font: 900 21px var(--display);
    color: #e9ece5;
}

.footer-brand strong {
    color: var(--yellow);
}

.site-footer a:last-child {
    color: #8d9690;
    font-size: 8px;
}

.site-footer a:last-child:hover {
    color: var(--yellow);
}

@media (max-width:850px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .side-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .network-chip {
        font-size: 8px;
    }
    .content-wrap {
        padding-top: 48px;
    }
}

@media (max-width:600px) {
    .welcome-content {
        padding-bottom: 115px;
    }
    .welcome .hero-logo {
        font-size: clamp(75px,19vw,112px);
    }
    .welcome .hero h1 {
        font-size: clamp(30px,8vw,42px);
    }
    .welcome-foot {
        width: calc(100% - 28px);
        font-size: 7px;
        letter-spacing: .08em;
    }
    .scroll-hint {
        bottom: 68px;
    }
    .content-wrap {
        width: calc(100% - 28px);
        padding: 42px 0 50px;
    }
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .section-heading h2 {
        font-size: 48px;
    }
    .network-chip {
        white-space: normal;
    }
    .panel {
        padding: 17px;
    }
    .side-column {
        display: flex;
    }
    .server-art {
        height: 135px;
    }
    .server-info {
        padding: 16px;
    }
    .server-title-row h4 {
        font-size: 25px;
    }
    .server-status {
        font-size: 8px;
    }
    .quick-links {
        grid-template-columns: 1fr;
    }
    .site-footer {
        width: calc(100% - 28px);
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 15px 0;
        gap: 10px;
    }
    .site-footer span:nth-child(2) {
        display: none;
    }
    .main-area>.site-header {
        width: 100%;
        padding: 0 14px;
    }
    .main-nav {
        z-index: 10;
    }
    .account-area {
        margin-left: auto;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Dashboard refinement */

:root {
    --text: #d9ded9;
    --muted: #929b95;
}

body {
    color: var(--text);
}

.welcome {
    display: flex;
}

.welcome.is-hidden {
    display: none;
}

.main-area {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.content-wrap {
    width: min(1180px,calc(100% - 64px));
    padding: 58px 0 56px;
    flex: 1;
}

.dashboard-grid {
    grid-template-columns: minmax(260px,.78fr) minmax(0,1.22fr);
    grid-template-areas: "news servers" "account servers";
    align-items: start;
    gap: 18px;
}

.news-panel {
    grid-area: news;
    min-height: 220px;
    box-shadow: 0 18px 50px #0003;
}

.servers-panel {
    grid-area: servers;
    box-shadow: 0 18px 50px #0004;
}

.account-prompt {
    grid-area: account;
    box-shadow: 0 18px 50px #0003;
}

.panel {
    background: linear-gradient(145deg,#1b2020f5,#15191af5);
    border-color: #303735;
    box-shadow: 0 16px 42px #0003;
}

.panel-head h3 {
    color: #e0e4df;
    text-shadow: 0 3px 14px #0007;
}

.panel-index,.server-version,.server-footnote,.news-note {
    color: #89928c;
}

.section-heading h2 {
    color: #dfe3dd;
    text-shadow: 0 4px 20px #0008;
}

.section-heading p,.server-info p,.empty-news p {
    color: #9ba49e;
}

.main-nav a,.account-link {
    color: #c6ccc6;
}

.server-help {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1px solid #6c6025;
    border-radius: 50%;
    background: #222622;
    color: var(--yellow);
    font: 800 19px var(--display);
    cursor: pointer;
    box-shadow: 0 4px 14px #0005;
    transition: background .2s,transform .2s;
}

.server-help:hover {
    background: #38351d;
    transform: translateY(-2px);
}

.server-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    margin: 0 0 16px;
    border: 1px solid #303a34;
    background: #0f1413;
    box-shadow: inset 0 1px 8px #0005;
}

.server-status {
    color: #c8c3a0;
}

.server-status i {
    background: #a6a18a;
    box-shadow: 0 0 8px #a6a18a55;
}

.server-status.is-online {
    color: #a7d89a;
}

.server-status.is-online i {
    background: #8acb79;
    box-shadow: 0 0 10px #8acb7988;
}

.server-status.is-offline {
    color: #d1a26d;
}

.server-status.is-offline i {
    background: #d1a26d;
    box-shadow: 0 0 8px #d1a26d77;
}

.server-online {
    color: #89948c;
    font-size: 10px;
    font-weight: 700;
}

.server-online b {
    color: #dfe4dc;
    font-size: 15px;
}

.news-note {
    margin-top: 22px;
    padding-top: 13px;
    border-top: 1px solid #303735;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

.account-prompt {
    padding: 18px;
}

.account-promo {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
}

.account-promo b {
    color: #dce1db;
}

.account-promo-avatar {
    border-radius: 50%;
    box-shadow: 0 4px 16px #0006;
}

.site-footer {
    width: min(1180px,calc(100% - 64px));
    min-height: 0;
    height: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 28px;
    row-gap: 12px;
    padding: 20px 0 24px;
    margin-top: auto;
    line-height: 1.6;
    color: #818b84;
}

.site-footer a:last-child {
    margin-left: auto;
    max-width: 100%;
    text-align: right;
    line-height: 1.5;
}

.server-dialog {
    width: min(480px,calc(100% - 32px));
    padding: 28px;
    background: #1a1f1f;
    color: #dce1db;
    border: 1px solid #444a42;
    box-shadow: 0 25px 90px #000b;
}

.server-dialog::backdrop {
    background: #050707c9;
    backdrop-filter: blur(5px);
}

.server-dialog h3 {
    margin: 8px 0 12px;
    font: 900 34px var(--display);
}

.server-dialog p {
    color: #aab3ac;
    font-size: 13px;
    line-height: 1.75;
}

.dialog-close {
    float: right;
    width: 30px;
    height: 30px;
    border: 1px solid #4b514c;
    background: #242a27;
    color: #dce1db;
    font-size: 22px;
    cursor: pointer;
}

.dialog-facts {
    display: grid;
    gap: 9px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #343c37;
}

.dialog-facts span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #8f9992;
    font-size: 11px;
}

.dialog-facts b {
    color: #dce1db;
    text-align: right;
}

@media (max-width:850px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "news" "servers" "account";
    }
    .content-wrap {
        padding-top: 46px;
    }
}

@media (max-width:600px) {
    .content-wrap {
        width: calc(100% - 32px);
        padding: 38px 0 42px;
    }
    .site-footer {
        width: calc(100% - 32px);
        justify-content: flex-start;
        column-gap: 16px;
        padding: 18px 0 22px;
    }
    .site-footer a:last-child {
        margin-left: 0;
        text-align: left;
    }
    .server-stats {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
    .server-dialog {
        padding: 22px;
    }
}

/* v5 — clearer dashboard, compact server widget and crisp typography */

:root {
    --text: #d5dad4;
    --muted: #929b94;
}

html,body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.hero-logo,.hero h1,.welcome h1,.panel-head h3,.section-heading h2,.server-widget-main b,.quick-link b {
    text-shadow: none!important;
    filter: none!important;
}

.dashboard-grid {
    grid-template-columns: minmax(0,1.65fr) minmax(250px,.72fr);
    grid-template-areas: "news servers" "account servers";
    align-items: stretch;
    gap: 18px;
}

.news-panel {
    grid-area: news;
    min-height: 300px;
    padding: 28px;
    box-shadow: 0 18px 48px #0003;
}

.servers-panel {
    grid-area: servers;
    align-self: start;
    padding: 24px;
    box-shadow: 0 18px 48px #0003;
}

.account-prompt {
    grid-area: account;
    max-width: none;
}

.empty-news {
    min-height: 150px;
    align-items: flex-start;
    padding: 24px 0;
}

.empty-news p {
    max-width: 560px;
    font-size: 12px;
    line-height: 1.7;
}

.news-note {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #303735;
    color: #87918a;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

.server-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 13px;
    background: #111516;
    border: 1px solid #343c38;
    box-shadow: 0 8px 22px #0002;
}

.server-widget-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg,#292f2b,#171c1a);
    border: 1px solid #5b5122;
    color: var(--yellow);
    font: 900 23px var(--display);
}

.server-widget-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.server-widget-main>b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #d9ded8;
    font: 800 15px var(--display);
    letter-spacing: .035em;
}

.server-widget-online {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #a6d99b;
    font-size: 10px;
    font-weight: 800;
}

.server-widget-online b {
    color: #dce4da;
    font-size: 13px;
}

.online-dot,.offline-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #8acb79;
    box-shadow: 0 0 9px #8acb7988;
}

.offline-dot {
    background: #d0a16c;
    box-shadow: 0 0 8px #d0a16c66;
}

.server-help {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    font: 800 17px var(--body);
    line-height: 1;
}

.server-widget-version {
    margin-top: 12px;
    color: #7e8981;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
}

.server-dialog h3 {
    text-shadow: none;
}

/* Tape is only enabled for guests after the account state is known. */

.tape-stage {
    visibility: hidden;
}

.tape-stage.play {
    visibility: visible;
}

.tape {
    animation: none;
    left: 0;
    width: 100%;
    height: 62px;
    clip-path: inset(0 0 0 0);
    will-change: clip-path;
}

.tape:after {
    content: "";
    position: absolute;
    z-index: 2;
    top: -7px;
    left: -18px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 9px solid #252729;
    background: repeating-linear-gradient(135deg,#ffd21c 0 10px,#17191a 10px 20px);
    box-shadow: 0 4px 15px #000b;
}

.tape-top {
    top: 29%;
    transform: rotate(-7deg);
    transform-origin: left center;
}

.tape-bottom {
    bottom: 29%;
    transform: rotate(7deg);
    transform-origin: right center;
}

.tape-stage.play .tape-top {
    animation: tape-reel-left 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-stage.play .tape-bottom {
    animation: tape-reel-right 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-top:after {
    left: auto;
    right: -18px;
}

.tape-bottom:after {
    left: -18px;
    right: auto;
}

.tape-top span,.tape-bottom span {
    transition: opacity .15s;
}

@keyframes tape-reel-left {
    0% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 100% 0 0);
        opacity: 1;
    }
}

@keyframes tape-reel-right {
    0% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 100%);
        opacity: 1;
    }
}

@media (max-width:850px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "news" "servers" "account";
    }
    .servers-panel {
        align-self: stretch;
    }
    .news-panel {
        min-height: 230px;
    }
}

@media (max-width:600px) {
    .news-panel,.servers-panel {
        padding: 18px;
    }
    .server-widget {
        padding: 11px;
    }
    .server-widget-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
    .tape {
        height: 52px;
    }
    .tape:after {
        width: 66px;
        height: 66px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .tape-stage.play .tape-top,.tape-stage.play .tape-bottom {
        animation: none;
        visibility: hidden;
    }
}

.tape-stage.play .tape-top:after {
    animation: roller-left 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-stage.play .tape-bottom:after {
    animation: roller-right 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

@keyframes roller-left {
    from {
        right: -18px;
    }
    to {
        right: calc(100% - 60px);
    }
}

@keyframes roller-right {
    from {
        left: -18px;
    }
    to {
        left: calc(100% - 60px);
    }
}

/* v6: account tools sit above the server list in the right rail */

.dashboard-grid {
    grid-template-columns: minmax(0,2.1fr) minmax(270px,.92fr);
    grid-template-areas: "news side";
    align-items: stretch;
}

.news-panel {
    grid-area: news;
    min-height: 390px;
}

.side-column {
    grid-area: side;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.side-column .account-prompt {
    order: 0;
    padding: 20px;
}

.side-column .servers-panel {
    order: 1;
    align-self: stretch;
    padding: 20px;
}

.account-promo {
    margin: 0 0 15px;
}

.account-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.account-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 39px;
    padding: 0 12px;
    border: 1px solid #3a423d;
    background: #141819;
    color: #cbd2cb;
    font: 800 12px var(--display);
    letter-spacing: .045em;
    cursor: pointer;
    text-align: left;
}

.account-action:hover {
    border-color: #9c841e;
    color: var(--yellow);
}

.account-action.primary {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #141615;
}

.account-action.primary:hover {
    background: #ffe36a;
    color: #111;
}

.account-action.admin-action {
    border-color: #66551a;
    color: var(--yellow);
}

.account-balance {
    margin: 20px 0;
    padding: 18px;
    background: #111516;
    border: 1px solid #343c38;
}

.account-balance small,.account-stat-grid small {
    display: block;
    color: #8f9a92;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.account-balance strong {
    display: block;
    margin: 7px 0 14px;
    color: #e3e8e0;
    font: 900 38px var(--display);
}

.account-hint {
    margin: 10px 0 0;
    color: #929c95;
    font-size: 10px;
    line-height: 1.6;
}

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin: 18px 0;
}

.account-stat-grid>div {
    padding: 12px 9px;
    background: #151a1a;
    border: 1px solid #333b37;
}

.account-stat-grid b {
    display: block;
    margin-top: 7px;
    color: #e0e5de;
    font: 900 22px var(--display);
}

.account-actions.vertical {
    margin-top: 18px;
}

.account-card {
    width: min(560px,100%);
}

.account-card h1 {
    font-size: 38px;
}

.admin-main {
    width: min(1180px,calc(100% - 48px));
    margin: 0 auto;
    padding: 54px 0 80px;
    flex: 1;
}

.admin-heading h1 {
    margin: 8px 0;
    font: 900 clamp(42px,7vw,68px)/.95 var(--display);
}

.admin-heading p {
    color: #9da6a0;
    font-size: 13px;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 26px;
}

.admin-grid .auth-card h2 {
    margin: 0 0 8px;
    font: 900 28px var(--display);
}

.admin-grid textarea {
    width: 100%;
    min-height: 260px;
    resize: vertical;
    padding: 12px;
    border: 1px solid #414849;
    outline: 0;
    background: #101314;
    color: #dce1db;
    font: 12px/1.6 ui-monospace,monospace;
}

.admin-grid textarea:focus,.admin-settings input:focus {
    border-color: var(--yellow);
}

.admin-settings {
    grid-column: 1/-1;
}

.admin-settings label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #dce0db;
    font-size: 11px;
    font-weight: 800;
}

.admin-settings input {
    height: 44px;
    padding: 0 12px;
    border: 1px solid #414849;
    background: #101314;
    color: #fff;
}

.news-entry {
    display: flex;
    gap: 13px;
    padding: 18px 0;
    border-top: 1px solid #343b39;
}

.news-entry b {
    font: 900 16px var(--display);
}

.news-entry p {
    margin: 5px 0;
    color: #9ca59f;
    font-size: 12px;
    line-height: 1.7;
}

.news-entry small {
    color: #7d8981;
    font-size: 9px;
}

.tape-side-left,.tape-side-right {
    top: 50%;
    bottom: auto;
    left: auto;
    width: 48px;
    height: 340px;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    letter-spacing: .12em;
}

.tape-side-left {
    left: 0;
    transform: translateY(-50%) rotate(180deg);
}

.tape-side-right {
    right: 0;
    transform: translateY(-50%);
}

.tape-side-left:before,.tape-side-right:before {
    inset: 0 9px;
}

.tape-side-left span,.tape-side-right span {
    writing-mode: vertical-rl;
}

.tape-stage.play .tape-side-left {
    animation: side-reel-left 1.8s .2s ease-in forwards;
}

.tape-stage.play .tape-side-right {
    animation: side-reel-right 1.8s .2s ease-in forwards;
}

.tape-side-left:after,.tape-side-right:after {
    top: auto;
    bottom: -18px;
    left: -15px;
    right: auto;
}

@keyframes side-reel-left {
    to {
        clip-path: inset(0 0 100% 0);
        opacity: 1;
    }
}

@keyframes side-reel-right {
    to {
        clip-path: inset(100% 0 0 0);
        opacity: 1;
    }
}

@media (max-width:850px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "news" "side";
    }
    .side-column {
        display: flex;
    }
    .admin-grid {
        grid-template-columns: 1fr;
    }
    .admin-settings {
        grid-column: auto;
    }
}

@media (max-width:600px) {
    .admin-main {
        width: calc(100% - 28px);
        padding: 36px 0;
    }
    .account-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tape-side-left,.tape-side-right {
        width: 30px;
        height: 230px;
    }
    .tape-side-left:after,.tape-side-right:after {
        width: 48px;
        height: 48px;
    }
}

/* v7 fixes: vertical-only warning tape, reliable full-page scrolling and footer layout */

html {
    scroll-behavior: auto;
    scroll-padding-top: 0;
}

#main {
    scroll-margin-top: 0;
}

.welcome {
    min-height: 100svh;
    min-height: max(760px,100svh);
    overflow: hidden;
}

.welcome-content {
    width: 100%;
    padding: clamp(48px,8vh,90px) 24px 125px;
}

.welcome-foot {
    bottom: 0;
    min-height: 54px;
    height: auto;
    padding: 12px 0;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer {
    min-height: 74px;
    height: auto;
    padding: 18px 0;
    gap: 14px 22px;
    flex-wrap: wrap;
    row-gap: 12px;
    line-height: 1.6;
}

.site-footer>* {
    min-width: 0;
}

.site-footer a:last-child {
    white-space: normal;
    text-align: right;
}

/* The two horizontal strips are intentionally disabled; all warning tape is vertical. */

.tape-top,.tape-bottom {
    display: none!important;
}

.tape-side-left,.tape-side-right,.tape-side-left-inner,.tape-side-right-inner {
    top: 50%;
    bottom: auto;
    left: auto;
    width: 42px;
    height: min(46vh,390px);
    min-height: 220px;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    letter-spacing: .13em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tape-side-left {
    left: 0;
    transform: translateY(-50%) rotate(180deg);
}

.tape-side-right {
    right: 0;
    transform: translateY(-50%);
}

.tape-side-left-inner {
    left: 58px;
    transform: translateY(-50%) rotate(180deg);
    height: min(31vh,270px);
    width: 30px;
    opacity: .94;
}

.tape-side-right-inner {
    right: 58px;
    transform: translateY(-50%);
    height: min(31vh,270px);
    width: 30px;
    opacity: .94;
}

.tape-side-left:before,.tape-side-right:before,.tape-side-left-inner:before,.tape-side-right-inner:before {
    inset: 0 7px;
}

.tape-side-left span,.tape-side-right span,.tape-side-left-inner span,.tape-side-right-inner span {
    writing-mode: vertical-rl;
    text-align: center;
    line-height: 1.5;
}

.tape-side-left:after,.tape-side-right:after,.tape-side-left-inner:after,.tape-side-right-inner:after {
    top: auto;
    bottom: -17px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
}

.tape-stage.play .tape-side-left,.tape-stage.play .tape-side-left-inner {
    animation: vertical-reel-up 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-stage.play .tape-side-right,.tape-stage.play .tape-side-right-inner {
    animation: vertical-reel-down 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-stage.play .tape-side-left:after,.tape-stage.play .tape-side-left-inner:after {
    animation: roller-vertical-up 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-stage.play .tape-side-right:after,.tape-stage.play .tape-side-right-inner:after {
    animation: roller-vertical-down 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

@keyframes vertical-reel-up {
    0% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(100% 0 0 0);
        opacity: 1;
    }
}

@keyframes vertical-reel-down {
    0% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 100% 0);
        opacity: 1;
    }
}

@keyframes roller-vertical-up {
    from {
        bottom: -17px;
    }
    to {
        bottom: calc(100% - 39px);
    }
}

@keyframes roller-vertical-down {
    from {
        bottom: -17px;
    }
    to {
        bottom: calc(100% - 39px);
    }
}

/* Clear text rendering: avoid glow/shadows that make condensed headings look smeared. */

.welcome .hero-logo,.welcome h1,.welcome .hero-kicker,.welcome .hero-copy {
    text-shadow: none!important;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.hero-reveal {
    opacity: 0;
    transform: translate3d(0,18px,0);
    animation: hero-enter .72s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero-kicker.hero-reveal {
    animation-delay: .12s;
}

.hero-logo.hero-reveal {
    animation-delay: .28s;
}

.welcome h1.hero-reveal {
    animation-delay: .44s;
}

.hero-copy.hero-reveal {
    animation-delay: .6s;
}

.start-button.hero-reveal {
    animation-delay: .78s;
}

@keyframes hero-enter {
    to {
        opacity: 1;
        transform: translate3d(0,0,0);
    }
}

@media (max-width:760px) {
    .welcome {
        min-height: max(700px,100svh);
    }
    .welcome-content {
        padding: 55px 18px 145px;
    }
    .welcome .hero-logo {
        font-size: clamp(70px,17vw,120px);
    }
    .welcome h1 {
        font-size: clamp(30px,7vw,46px);
    }
    .welcome-foot {
        width: calc(100% - 36px);
        justify-content: space-between;
        font-size: 8px;
    }
    .site-footer {
        width: calc(100% - 36px);
        justify-content: center;
        text-align: center;
    }
    .site-footer a:last-child {
        text-align: center;
    }
    .tape-side-left {
        left: 0;
    }
    .tape-side-right {
        right: 0;
    }
    .tape-side-left-inner {
        left: 38px;
    }
    .tape-side-right-inner {
        right: 38px;
    }
}

@media (max-width:480px) {
    .tape-side-left-inner,.tape-side-right-inner {
        display: none;
    }
    .tape-side-left,.tape-side-right {
        width: 25px;
        height: 210px;
        min-height: 0;
    }
    .tape-side-left:after,.tape-side-right:after {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .hero-reveal {
        opacity: 1;
        transform: none;
        animation: none!important;
    }
    .tape-stage.play .tape-side-left,.tape-stage.play .tape-side-right,.tape-stage.play .tape-side-left-inner,.tape-stage.play .tape-side-right-inner {
        animation: none!important;
        visibility: hidden;
    }
}

/* v8: wider page gutters, resilient footer, vertical warning reels and launcher CTA */

.site-header,.content-wrap,.site-footer,.welcome-foot {
    width: min(1320px,calc(100% - 80px));
}

.content-wrap {
    padding: 86px 0 96px;
}

.dashboard-grid {
    gap: 24px;
}

.panel {
    padding: 31px;
}

.quick-links {
    gap: 24px;
}

.site-footer {
    min-height: 92px;
    height: auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 28px;
    row-gap: 16px;
    line-height: 1.6;
    overflow: visible;
}

.site-footer>* {
    flex: 0 1 auto;
    min-width: 0;
}

.site-footer a:last-child {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: right;
}

.main-area {
    padding-bottom: 18px;
}

.main-area>.site-header {
    width: min(1320px,calc(100% - 80px));
}

.tape-top,.tape-bottom,.tape-side-left-inner,.tape-side-right-inner {
    display: none!important;
}

.tape-stage {
    overflow: hidden;
}

.tape-side-left,.tape-side-right {
    display: flex!important;
    top: 50%;
    bottom: auto;
    width: 52px;
    height: min(48vh,430px);
    min-height: 250px;
    left: auto;
    right: auto;
    transform: translateY(-50%);
    background: #ffd21c;
    box-shadow: 0 8px 26px #0008;
    writing-mode: vertical-rl;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 11;
}

.tape-side-left {
    left: 0;
    transform: translateY(-50%) rotate(180deg);
}

.tape-side-right {
    right: 0;
}

.tape-side-left:before,.tape-side-right:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 48px;
    background: repeating-linear-gradient(135deg,#111 0 10px,#ffd21c 10px 20px);
    opacity: 1;
    z-index: 2;
}

.tape-side-left:after,.tape-side-right:after {
    content: "";
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 48px;
    background: repeating-linear-gradient(135deg,#111 0 10px,#ffd21c 10px 20px);
    border-radius: 0;
    transform: none;
    z-index: 2;
}

.tape-side-left span,.tape-side-right span {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    color: #111;
    font: 900 13px/1.35 var(--display);
    letter-spacing: .12em;
    text-align: center;
    writing-mode: vertical-rl;
    white-space: nowrap;
}

.tape-stage.play .tape-side-left {
    animation: reel-left 1.9s .15s cubic-bezier(.68,0,.22,1) forwards;
}

.tape-stage.play .tape-side-right {
    animation: reel-right 1.9s .15s cubic-bezier(.68,0,.22,1) forwards;
}

.tape-stage.play .tape-side-left:before,.tape-stage.play .tape-side-left:after {
    animation: roller-left 1.9s .15s cubic-bezier(.68,0,.22,1) forwards;
}

.tape-stage.play .tape-side-right:before,.tape-stage.play .tape-side-right:after {
    animation: roller-right 1.9s .15s cubic-bezier(.68,0,.22,1) forwards;
}

@keyframes reel-left {
    to {
        clip-path: inset(100% 0 0 0);
    }
}

@keyframes reel-right {
    to {
        clip-path: inset(0 0 100% 0);
    }
}

@keyframes roller-left {
    to {
        transform: translateY(-360px);
    }
}

@keyframes roller-right {
    to {
        transform: translateY(360px);
    }
}

@media (max-width:760px) {
    .site-header,.content-wrap,.site-footer,.welcome-foot {
        width: calc(100% - 52px);
    }
    .content-wrap {
        padding: 58px 0 68px;
    }
    .panel {
        padding: 22px;
    }
    .site-footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: start;
        text-align: left;
    }
    .site-footer a:last-child {
        text-align: left;
    }
    .tape-side-left,.tape-side-right {
        width: 30px;
        height: 230px;
        min-height: 0;
    }
    .tape-side-left:before,.tape-side-right:before,.tape-side-left:after,.tape-side-right:after {
        height: 30px;
    }
    .tape-side-left span,.tape-side-right span {
        font-size: 10px;
    }
}

@media (max-width:440px) {
    .site-header,.content-wrap,.site-footer,.welcome-foot {
        width: calc(100% - 42px);
    }
    .site-footer {
        grid-template-columns: 1fr;
    }
    .tape-side-left,.tape-side-right {
        width: 22px;
        height: 190px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .tape-stage.play .tape-side-left,.tape-stage.play .tape-side-right {
        animation: none!important;
        visibility: hidden;
    }
}

/* v9: restore the original horizontal caution tapes and increase real page gutters */

.site-header,.content-wrap,.site-footer,.welcome-foot,
.main-area>.site-header {
    width: min(1214px,calc(100% - 104px));
}

.content-wrap {
    padding: 86px 0 96px;
}

.site-footer {
    padding: 26px 0;
    min-height: 100px;
    height: auto;
    overflow: visible;
    flex-wrap: wrap;
    row-gap: 16px;
    column-gap: 28px;
}

.site-footer>* {
    min-width: 0;
    max-width: 100%;
}

.site-footer a:last-child {
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: right;
}

/* Tapes are two wide diagonal strips crossing the welcome composition, not edge-mounted vertical banners. */

.tape-stage {
    position: absolute;
    inset: 0 0 auto;
    height: 100svh;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
    visibility: hidden;
}

.tape-stage.play {
    visibility: visible;
}

.tape-top,.tape-bottom {
    display: flex!important;
    position: absolute;
    left: -10%;
    width: 120%;
    height: 64px;
    min-height: 0;
    writing-mode: horizontal-tb;
    white-space: nowrap;
    overflow: hidden;
}

.tape-top {
    top: 30%;
    bottom: auto;
    transform: rotate(-7deg);
    transform-origin: left center;
}

.tape-bottom {
    top: auto;
    bottom: 29%;
    transform: rotate(7deg);
    transform-origin: right center;
}

.tape-side-left,.tape-side-right,.tape-side-left-inner,.tape-side-right-inner {
    display: none!important;
}

.tape-stage.play .tape-top {
    animation: tape-reel-left 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-stage.play .tape-bottom {
    animation: tape-reel-right 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-top:after {
    left: auto;
    right: -18px;
    top: -7px;
    bottom: auto;
    width: 78px;
    height: 78px;
}

.tape-bottom:after {
    left: -18px;
    right: auto;
    top: -7px;
    bottom: auto;
    width: 78px;
    height: 78px;
}

.tape-top span,.tape-bottom span {
    display: block;
    width: 100%;
    text-align: center;
    writing-mode: horizontal-tb;
    white-space: nowrap;
}

.tape-stage.play .tape-top:after {
    animation: roller-left 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-stage.play .tape-bottom:after {
    animation: roller-right 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

@media (max-width:760px) {
    .site-header,.content-wrap,.site-footer,.welcome-foot,.main-area>.site-header {
        width: calc(100% - 68px);
    }
    .content-wrap {
        padding: 58px 0 68px;
    }
    .tape-top,.tape-bottom {
        height: 48px;
    }
    .tape-top {
        top: 32%;
    }
    .tape-bottom {
        bottom: 30%;
    }
    .tape-top:after,.tape-bottom:after {
        width: 62px;
        height: 62px;
    }
    .site-footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: start;
        text-align: left;
    }
    .site-footer a:last-child {
        text-align: left;
    }
}

@media (max-width:480px) {
    .site-header,.content-wrap,.site-footer,.welcome-foot,.main-area>.site-header {
        width: calc(100% - 56px);
    }
    .site-footer {
        grid-template-columns: 1fr;
    }
    .tape-top,.tape-bottom {
        height: 40px;
    }
    .tape-top {
        top: 34%;
    }
    .tape-bottom {
        bottom: 31%;
    }
    .tape-top:after,.tape-bottom:after {
        width: 52px;
        height: 52px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .tape-stage.play .tape-top,.tape-stage.play .tape-bottom {
        animation: none!important;
        visibility: hidden;
    }
}

/* v10: two additional diagonal caution tapes following the user's marked X-shaped paths */

.tape-cross-down,.tape-cross-up {
    display: flex!important;
    position: absolute;
    left: -15%;
    width: 130%;
    height: 64px;
    min-height: 0;
    writing-mode: horizontal-tb;
    white-space: nowrap;
    overflow: hidden;
    transform-origin: center center;
}

/* upper-left to lower-right */

.tape-cross-down {
    top: 45%;
    bottom: auto;
    transform: translateY(-50%) rotate(24deg);
}

/* lower-left to upper-right */

.tape-cross-up {
    top: 52%;
    bottom: auto;
    transform: translateY(-50%) rotate(-19deg);
}

.tape-cross-down:after {
    left: auto;
    right: -18px;
    top: -7px;
    bottom: auto;
    width: 78px;
    height: 78px;
}

.tape-cross-up:after {
    left: -18px;
    right: auto;
    top: -7px;
    bottom: auto;
    width: 78px;
    height: 78px;
}

.tape-cross-down span,.tape-cross-up span {
    display: block;
    width: 100%;
    text-align: center;
    writing-mode: horizontal-tb;
    white-space: nowrap;
}

.tape-stage.play .tape-cross-down {
    animation: tape-reel-left 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-stage.play .tape-cross-up {
    animation: tape-reel-right 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-stage.play .tape-cross-down:after {
    animation: roller-left 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

.tape-stage.play .tape-cross-up:after {
    animation: roller-right 1.65s .15s cubic-bezier(.72,0,.2,1) forwards;
}

@media (max-width:760px) {
    .tape-cross-down,.tape-cross-up {
        height: 48px;
    }
    .tape-cross-down {
        top: 45%;
    }
    .tape-cross-up {
        top: 52%;
    }
    .tape-cross-down:after,.tape-cross-up:after {
        width: 62px;
        height: 62px;
    }
}

@media (max-width:480px) {
    .tape-cross-down,.tape-cross-up {
        height: 40px;
    }
    .tape-cross-down:after,.tape-cross-up:after {
        width: 52px;
        height: 52px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .tape-stage.play .tape-cross-down,.tape-stage.play .tape-cross-up {
        animation: none!important;
        visibility: hidden;
    }
}

/* v11: tape-first intro, generous page/footer gutters, lighter typography */

/* Keep the copy hidden until the tape animation has completely finished. */

.welcome .hero-reveal {
    opacity: 0;
    transform: translate3d(0,20px,0);
    animation: none!important;
}

.welcome.text-play .hero-reveal {
    animation: welcome-copy-in .68s cubic-bezier(.2,.7,.2,1) forwards!important;
}

.welcome.text-play .hero-kicker.hero-reveal {
    animation-delay: 0s!important;
}

.welcome.text-play .hero-logo.hero-reveal {
    animation-delay: .16s!important;
}

.welcome.text-play h1.hero-reveal {
    animation-delay: .32s!important;
}

.welcome.text-play .hero-copy.hero-reveal {
    animation-delay: .48s!important;
}

.welcome.text-play .start-button.hero-reveal {
    animation-delay: .64s!important;
}

@keyframes welcome-copy-in {
    from {
        opacity: 0;
        transform: translate3d(0,20px,0);
    }
    to {
        opacity: 1;
        transform: translate3d(0,0,0);
    }
}

/* 30% larger side margins than the previous 52px desktop gutter. */

.site-header,.content-wrap,.site-footer,.welcome-foot,.main-area>.site-header {
    width: min(1214px,calc(100% - 136px));
}

.content-wrap {
    padding: 86px 0 96px;
}

/* Footer gets its own inner breathing room; items are laid out in safe columns. */

.site-footer {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(170px,1.35fr);
    align-items: center;
    justify-content: stretch;
    gap: 18px 26px;
    min-height: 112px;
    height: auto;
    padding: 26px 30px;
    margin: 0 auto;
    overflow: visible;
    line-height: 1.65;
    text-align: left;
}

.site-footer>* {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.site-footer a:last-child {
    margin: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.site-footer .footer-brand {
    white-space: nowrap;
}

@media (max-width:760px) {
    .site-header,.content-wrap,.site-footer,.welcome-foot,.main-area>.site-header {
        width: calc(100% - 88px);
    }
    .content-wrap {
        padding: 58px 0 68px;
    }
    .site-footer {
        grid-template-columns: 1fr 1fr;
        gap: 16px 22px;
        padding: 24px 22px;
        justify-items: start;
        text-align: left;
    }
    .site-footer a:last-child {
        text-align: left;
    }
}

@media (max-width:480px) {
    .site-header,.content-wrap,.site-footer,.welcome-foot,.main-area>.site-header {
        width: calc(100% - 74px);
    }
    .site-footer {
        grid-template-columns: 1fr;
        padding: 22px 18px;
        gap: 12px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .welcome .hero-reveal {
        opacity: 1;
        transform: none;
    }
    .welcome.text-play .hero-reveal {
        animation: none!important;
    }
}

/* v12: полупрозрачный скруглённый футер и квадратные элементы аккаунта */

.site-footer {
    position: relative;
    margin: 18px auto 24px;
    padding: 22px 28px;
    min-height: 86px;
    border: 1px solid rgba(255,210,28,.18);
    border-radius: 10px;
    background: rgba(22,25,26,.68);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 36px rgba(0,0,0,.18);
}

.avatar-placeholder,.account-promo-avatar {
    border-radius: 3px!important;
}

.account-area .account-link.logged-in {
    padding: 7px 10px;
    border: 1px solid rgba(255,210,28,.34);
    border-radius: 3px;
    background: rgba(0,0,0,.22);
    gap: 10px;
}

.account-area .account-link.logged-in:hover {
    border-color: rgba(255,210,28,.75);
    background: rgba(255,210,28,.07);
}

#logoutButton {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255,210,28,.42);
    border-radius: 3px;
    background: rgba(0,0,0,.24);
    color: var(--yellow);
    font-size: 0;
    cursor: pointer;
    transition: background .2s,border-color .2s,color .2s;
}

#logoutButton::before {
    content: "↪";
    font: 700 25px/1 Arial,sans-serif;
}

#logoutButton:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #111;
}

@media (max-width:760px) {
    .site-footer {
        margin: 14px auto 18px;
        padding: 20px 18px;
        border-radius: 9px;
    }
}

/* ==========================================================
   VOLTRUSH — плавающая навигация главной страницы
   Появляется после прокрутки приветственного экрана.
   ========================================================== */

.landing .main-area > .site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 30;
    width: min(1214px, calc(100% - 48px));
    min-height: 70px;
    padding: 0 24px;
    border: 1px solid rgba(255, 210, 28, 0.2);
    border-radius: 14px;
    background: rgba(17, 21, 22, 0.88);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.32);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -14px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, border-color 0.28s ease;
}

.landing .main-area > .site-header.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.landing .main-area > .site-header.is-visible:hover {
    border-color: rgba(255, 210, 28, 0.38);
}

.landing .main-area > .site-header .main-nav {
    gap: clamp(16px, 2.5vw, 34px);
}

.landing .content-wrap {
    padding-top: 86px;
}

@media (max-width: 760px) {
    .landing .main-area > .site-header {
        top: 10px;
        width: calc(100% - 28px);
        min-height: 62px;
        padding: 0 14px;
        border-radius: 12px;
    }
    .landing .content-wrap {
        padding-top: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing .main-area > .site-header {
        transition: none;
    }
}


/* ==========================================================
   VOLTRUSH — единая навигация, футер и типографика
   ========================================================== */

:root {
    --header-bg: rgba(17, 21, 22, 0.92);
    --header-border: rgba(255, 210, 28, 0.20);
    --footer-bg: rgba(20, 24, 25, 0.78);
    --footer-border: rgba(255, 210, 28, 0.16);
    --surface-hover: rgba(255, 210, 28, 0.08);
}

/* Единственная навигационная панель на всех страницах. */
.site-header,
.landing .main-area > .site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 40;
    width: min(1214px, calc(100% - 64px));
    min-height: 68px;
    margin: 0;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--header-border);
    border-radius: 14px;
    background: var(--header-bg);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.30);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.landing .main-area > .site-header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -14px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}

.landing .main-area > .site-header.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.subpage > .site-header {
    position: fixed;
}

/* На внутренних страницах оставляем место под закреплённую панель. */
.subpage > main {
    padding-top: 112px;
}

.subpage > .site-footer {
    margin-top: 34px;
}

.brand {
    flex: 0 0 auto;
    font-weight: 400;
}

.brand-mark {
    border-radius: 5px;
    transform: none;
}

.main-nav {
    flex: 1 1 auto;
    gap: clamp(14px, 2.2vw, 30px);
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    color: #c6ccc6;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .015em;
    transition: color .2s ease, background .2s ease;
}

.main-nav a svg,
.mobile-menu svg,
.account-link svg,
.panel-icon svg,
.quick-icon svg,
.server-widget-icon svg,
.server-help svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.main-nav a svg {
    color: var(--yellow);
    opacity: .88;
}

.main-nav a:hover {
    color: var(--yellow);
}

.account-area {
    flex: 0 0 auto;
    min-width: 0;
}

.account-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 10px 6px 6px;
    border: 1px solid rgba(255, 210, 28, .22);
    border-radius: 7px;
    background: rgba(0, 0, 0, .20);
    color: #e7eae4;
    font-size: 12px;
    font-weight: 400;
}

.avatar-placeholder {
    width: 34px;
    height: 34px;
    border-radius: 5px;
    overflow: hidden;
}

.avatar-placeholder svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-details b,
.account-details small {
    font-weight: 400;
}

.mobile-menu {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 210, 28, .22);
    border-radius: 7px;
    background: rgba(0, 0, 0, .20);
    color: var(--yellow);
    cursor: pointer;
}

/* Единый футер: бренд, быстрые ссылки и копирайт в отдельных зонах. */
.site-footer {
    width: min(1214px, calc(100% - 64px));
    min-height: 0;
    margin: 28px auto 24px;
    padding: 25px 30px;
    display: grid;
    grid-template-columns: minmax(180px, .9fr) minmax(0, 2fr) minmax(160px, .8fr);
    align-items: center;
    gap: 24px;
    border: 1px solid var(--footer-border);
    border-radius: 13px;
    background: var(--footer-bg);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .20);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #9ba39d;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.6;
}

.footer-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.footer-brand {
    color: #f0f1eb;
    font-family: var(--display);
    font-size: 25px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1;
}

.footer-brand strong {
    color: var(--yellow);
    font-weight: 400;
}

.footer-identity > span {
    color: #818a84;
    font-size: 9px;
    letter-spacing: .12em;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.footer-links a {
    color: #b7beb8;
    font-size: 11px;
    font-weight: 400;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    color: #818a84;
    font-size: 10px;
    text-align: right;
}

/* Все декоративные пиктограммы используют единый контурный стиль. */
.panel-icon,
.quick-icon,
.server-widget-icon {
    display: inline-grid;
    place-items: center;
}

.panel-icon svg {
    width: 21px;
    height: 21px;
    color: var(--yellow);
}

.quick-icon svg {
    width: 23px;
    height: 23px;
    color: var(--yellow);
}

.server-widget-icon svg {
    width: 24px;
    height: 24px;
    color: var(--yellow);
}

.server-help {
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
}

.server-help svg {
    width: 17px;
    height: 17px;
}

/* За пределами приветственного экрана используется обычное начертание. */
.subpage :where(*) {
    font-weight: 400 !important;
}

.landing .main-area :where(*) {
    font-weight: 400 !important;
}

/* Заголовки внутренних страниц остаются выразительными за счёт размера, не жирности. */
.subpage h1,
.subpage h2,
.subpage h3,
.landing .main-area h2,
.landing .main-area h3 {
    font-family: var(--display);
    letter-spacing: .035em;
}

/* В мобильной версии меню раскрывается под той же плавающей панелью. */
@media (max-width: 760px) {
    .site-header,
    .landing .main-area > .site-header {
        top: 10px;
        width: calc(100% - 28px);
        min-height: 62px;
        padding: 0 12px;
        gap: 9px;
        border-radius: 11px;
    }

    .brand {
        gap: 7px;
        font-size: 21px;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
        font-size: 23px;
    }

    .mobile-menu {
        display: inline-grid;
        flex: 0 0 38px;
        order: 4;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 9px);
        left: 0;
        right: 0;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border: 1px solid var(--header-border);
        border-radius: 11px;
        background: rgba(17, 21, 22, .97);
        box-shadow: 0 14px 35px rgba(0, 0, 0, .35);
    }

    .main-nav.nav-open {
        display: flex;
    }

    .main-nav a {
        min-height: 42px;
        padding: 0 10px;
        border-radius: 6px;
    }

    .main-nav a:hover {
        background: var(--surface-hover);
    }

    .account-link {
        gap: 6px;
        padding: 4px 6px 4px 4px;
        font-size: 10px;
    }

    .avatar-placeholder {
        width: 30px;
        height: 30px;
    }

    .subpage > main {
        padding-top: 92px;
    }

    .site-footer {
        width: calc(100% - 28px);
        margin: 20px auto 16px;
        padding: 21px 19px;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 9px 16px;
    }

    .footer-copy {
        grid-column: 1 / -1;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 420px) {
    .site-header,
    .landing .main-area > .site-header {
        width: calc(100% - 20px);
    }

    .account-link > span:last-child {
        display: none;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-copy {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing .main-area > .site-header {
        transition: none;
    }
}


/* Малые SVG-иконки внутри контентных элементов. */
.account-promo-avatar svg,
.empty-news-mark svg,
.quick-link i svg,
.simple-icon svg,
.text-back svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-promo-avatar svg { color: var(--yellow); }
.empty-news-mark { display: inline-grid; place-items: center; }
.empty-news-mark svg { color: var(--yellow); }
.quick-link i { display: inline-grid; place-items: center; }
.quick-link i svg { width: 17px; height: 17px; color: var(--yellow); }
.simple-icon { display: grid; place-items: center; }
.simple-icon svg { width: 34px; height: 34px; color: var(--yellow); }
.text-back { display: inline-flex; align-items: center; gap: 8px; }
.text-back svg { width: 17px; height: 17px; }

/* ============================================================
   v15 — увеличенные внешние отступы по всему сайту
   Боковые поля увеличены примерно в два раза.
   ============================================================ */

.site-header,
.content-wrap,
.site-footer,
.welcome-foot,
.main-area > .site-header,
.landing .main-area > .site-header {
    width: min(1214px, calc(100% - 128px));
}

/* Планшеты: сохраняем заметные поля, не сжимая полезную ширину. */
@media (max-width: 760px) {
    .site-header,
    .content-wrap,
    .site-footer,
    .welcome-foot,
    .main-area > .site-header,
    .landing .main-area > .site-header {
        width: calc(100% - 56px);
    }
}

/* Узкие телефоны: отступ по 20px с каждой стороны. */
@media (max-width: 420px) {
    .site-header,
    .content-wrap,
    .site-footer,
    .welcome-foot,
    .main-area > .site-header,
    .landing .main-area > .site-header {
        width: calc(100% - 40px);
    }
}

/* ============================================================
   ACCOUNT WIDGET — glass modal, Minecraft skin preview and tabs
   ============================================================ */
.account-page {
    min-height: 100vh;
    overflow-x: hidden;
}

.account-page-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 18% 24%, rgba(255, 174, 0, .10), transparent 34%),
        radial-gradient(ellipse at 82% 72%, rgba(255, 115, 0, .08), transparent 36%),
        #101314;
}

.account-widget-wrap {
    min-height: calc(100vh - 180px);
    display: grid;
    place-items: center;
    padding: 46px 24px;
}

.account-widget,
.server-dialog {
    color: #e8ece6;
    background: rgba(20, 25, 25, .86);
    border: 1px solid rgba(255, 190, 30, .22);
    box-shadow: 0 30px 110px rgba(0, 0, 0, .62);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
    backdrop-filter: blur(22px) saturate(125%);
}

.account-widget {
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
    max-height: min(880px, calc(100dvh - 40px));
    margin: auto;
    padding: clamp(20px, 3vw, 36px);
    overflow: auto;
    border-radius: 18px;
}

.account-widget::backdrop,
.server-dialog::backdrop {
    background: rgba(3, 5, 5, .68);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.account-widget-topline,
.account-widget-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.account-widget-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #e8ece6;
    text-decoration: none;
    font-size: 28px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 9px;
    background: rgba(255, 255, 255, .045);
}

.account-widget-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin: 20px 0 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.account-widget-heading h1 {
    margin: 8px 0 5px;
    font: 900 clamp(34px, 5vw, 54px)/.95 var(--display);
    letter-spacing: .015em;
}

.account-widget-heading p {
    margin: 0;
    color: #98a29b;
    font-size: 12px;
}

.account-widget-balances {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
    align-self: stretch;
}
.account-widget-balances .account-widget-balance {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.account-widget-balances .account-widget-balance strong {
    overflow-wrap: anywhere;
}
.account-currency-unit {
    color: #929d95;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}
.account-widget-amps strong {
    margin-bottom: 0;
}
@media (max-width: 760px) {
    .account-widget-balances { width: 100%; }
}
@media (max-width: 420px) {
    .account-widget-balances { grid-template-columns: 1fr 1fr; gap: 7px; }
    .account-widget-balances .account-widget-balance { padding: 9px; }
    .account-widget-balances .account-widget-balance strong { font-size: 21px; }
    .account-currency-unit { font-size: 7px; }
}

.account-widget-balance {
    min-width: 190px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 190, 30, .18);
    border-radius: 10px;
    background: rgba(255, 190, 30, .055);
}

.account-widget-balance small,
.account-info-grid small {
    display: block;
    color: #929d95;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.account-widget-balance strong {
    display: block;
    margin: 4px 0 10px;
    color: var(--yellow, #ffc21a);
    font: 900 32px var(--display);
}

.account-widget-balance .primary-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 10px;
}

.account-widget-layout {
    display: grid;
    grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
    gap: 22px;
}

.skin-panel,
.account-data-panel {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: rgba(7, 11, 11, .38);
}

.skin-panel {
    padding: 16px;
    text-align: center;
}

.skin-viewer-wrap {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 9px;
    background: radial-gradient(ellipse at 50% 42%, rgba(255, 190, 30, .10), transparent 57%), #111616;
}

#skinViewer {
    display: block;
    width: 100%;
    height: 330px;
    touch-action: pan-y;
}

.skin-viewer-fallback {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    color: #7e8981;
    font: 800 13px var(--display);
    letter-spacing: .12em;
}

.skin-viewer-fallback.visible { display: grid; }
.skin-player-name {
    margin: 12px 0 14px;
    color: #e9eee8;
    font: 900 21px var(--display);
    letter-spacing: .06em;
}

.skin-actions {
    display: grid;
    gap: 8px;
}

.account-upload-button {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 7px;
    color: #dce3dc;
    background: rgba(255, 255, 255, .045);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.account-upload-button:hover {
    border-color: rgba(255, 190, 30, .55);
    background: rgba(255, 190, 30, .09);
}

.account-upload-button.primary {
    color: #151719;
    border-color: var(--yellow, #ffc21a);
    background: var(--yellow, #ffc21a);
}

.skin-hint {
    margin: 10px 0 0;
    color: #77827a;
    font-size: 9px;
}

.account-message {
    min-height: 16px;
    margin: 8px 0 0;
    color: #aab4ac;
    font-size: 10px;
}
.account-message.success { color: #8bd69a; }
.account-message.error { color: #ff8c76; }

.account-data-panel {
    display: flex;
    flex-direction: column;
    padding: 14px;
}

.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.account-tab {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #9da79f;
    background: transparent;
    font: 800 10px Manrope, sans-serif;
    cursor: pointer;
}

.account-tab:hover,
.account-tab.active {
    color: var(--yellow, #ffc21a);
    border-color: rgba(255, 190, 30, .25);
    background: rgba(255, 190, 30, .075);
}

.account-tab-content {
    flex: 1;
    min-height: 280px;
    padding: 22px 8px;
}

.account-tab-pane[hidden] { display: none; }
.account-tab-pane h2 {
    margin: 7px 0 18px;
    color: #edf1eb;
    font: 900 30px var(--display);
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.account-info-grid > div {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .025);
}

.account-info-grid b {
    display: block;
    margin-top: 7px;
    overflow-wrap: anywhere;
    color: #e7ece5;
    font-size: 13px;
}

.account-empty-note,
.account-empty-state {
    color: #89948c;
    font-size: 11px;
    line-height: 1.7;
}

.account-empty-note { margin: 18px 0 0; }
.account-empty-state {
    padding: 18px;
    border: 1px dashed rgba(255, 255, 255, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .02);
}

.account-list { display: grid; gap: 8px; }
.account-record {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .025);
}
.account-record strong { display: block; color: #e4e9e2; font-size: 11px; }
.account-record small { display: block; margin-top: 4px; color: #7f8a82; font-size: 9px; }
.account-record > b { flex: 0 0 auto; color: var(--yellow, #ffc21a); font-size: 11px; }
.account-record .privilege-active { color: #8bd69a; font-size: 9px; }

.account-widget-footer {
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}
.account-back-link,
.account-logout {
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    color: #aeb8b0;
    background: transparent;
    text-decoration: none;
    font: 800 9px Manrope, sans-serif;
    letter-spacing: .05em;
    cursor: pointer;
}
.account-back-link:hover,
.account-logout:hover { color: var(--yellow, #ffc21a); border-color: rgba(255, 190, 30, .35); }
.admin-shortcut { margin-left: auto; }

.account-face-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

@media (max-width: 760px) {
    .account-widget-wrap { min-height: auto; padding: 24px 8px; }
    .account-widget { width: calc(100% - 12px); max-height: calc(100dvh - 16px); padding: 16px; border-radius: 12px; }
    .account-widget-heading { align-items: stretch; flex-direction: column; }
    .account-widget-balance { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; }
    .account-widget-balance small { grid-column: 1 / -1; }
    .account-widget-balance strong { margin: 0; }
    .account-widget-balance .primary-button { grid-column: 2; grid-row: 2; }
    .account-widget-layout { grid-template-columns: 1fr; }
    .skin-viewer-wrap { min-height: 270px; }
    #skinViewer { height: 270px; }
    .account-tab-content { min-height: 220px; padding: 18px 2px; }
    .account-tabs { gap: 4px; }
    .account-tab { padding: 0 8px; font-size: 9px; }
    .account-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .account-upload-button { transition: none; }
}

/* ============================================================
   ACCOUNT PAGE — full page layout and shared desktop gutters
   ============================================================ */
.account-page-content {
    width: calc(100% - 480px);
    max-width: none;
    margin: 0 auto;
    padding: 46px 0 64px;
}
.account-widget {
    display: block;
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    overflow: visible;
    box-sizing: border-box;
    background: rgba(20, 25, 25, .78);
    border-radius: 18px;
}
.account-widget-topline { margin-bottom: 4px; }
.account-page-tag {
    padding: 7px 10px;
    border: 1px solid rgba(255, 190, 30, .22);
    border-radius: 6px;
    color: var(--yellow, #ffc21a);
    background: rgba(255, 190, 30, .06);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}
.account-widget-wrap { display: none; }
.account-page > .site-footer {
    width: calc(100% - 480px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
}
.account-area { display: flex; align-items: center; gap: 7px; }
.account-logout-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0;
    border: 1px solid rgba(255, 190, 30, .24);
    border-radius: 7px;
    color: #cbd1ca;
    background: rgba(0, 0, 0, .22);
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.account-logout-icon:hover {
    color: var(--yellow, #ffc21a);
    border-color: rgba(255, 190, 30, .65);
    background: rgba(255, 190, 30, .08);
}
.account-logout-icon:disabled { opacity: .55; cursor: wait; }
.account-logout-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#skinViewer { width: 100%; height: 360px; }
.skin-viewer-wrap { min-height: 360px; }
.skin-viewer-fallback { padding: 20px; text-align: center; line-height: 1.6; }

@media (max-width: 1200px) {
    .account-page-content,
    .account-page > .site-footer { width: calc(100% - 80px); }
}
@media (max-width: 760px) {
    .account-page-content,
    .account-page > .site-footer { width: calc(100% - 32px); }
    .account-page-content { padding: 24px 0 36px; }
    .account-widget { padding: 16px; border-radius: 12px; }
    .account-logout-icon { width: 38px; height: 38px; flex-basis: 38px; }
    #skinViewer { height: 280px; }
    .skin-viewer-wrap { min-height: 280px; }
}
.account-page #skinFallback.visible { display: grid; }

/* ==========================================================
   VOLTRUSH v18 — ADMIN WORKSPACE & NOTIFICATIONS
   ========================================================== */
.account-area { position: relative; display: flex; align-items: center; gap: 10px; }
.account-profile-shell { display: flex; align-items: center; gap: 5px; padding: 4px 5px 4px 4px; border: 1px solid var(--line, #343638); border-radius: 14px; background: rgba(18,19,20,.82); }
.account-profile-shell .account-link { border: 0; background: transparent; padding: 2px 7px 2px 2px; }
.account-profile-shell .account-logout-icon { position: static; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; background: rgba(255,255,255,.045); }
.account-profile-shell .account-logout-icon:hover { color: #ffb52e; background: rgba(255,181,46,.12); }
.notification-trigger { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line, #343638); border-radius: 12px; color: #e9e9e9; background: rgba(18,19,20,.82); cursor: pointer; }
.notification-trigger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notification-trigger i { position: absolute; top: 5px; right: 5px; min-width: 8px; height: 8px; border-radius: 50%; background: #ffb52e; box-shadow: 0 0 10px #ffb52e88; }
.notification-widget { position: absolute; z-index: 100; top: calc(100% + 12px); right: 0; width: min(370px, calc(100vw - 32px)); max-height: 430px; overflow: auto; padding: 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(19,20,21,.88); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 20px 70px #0009; }
.notification-widget[hidden] { display: none; }
.notification-widget-head { display:flex; align-items:center; justify-content:space-between; padding-bottom:12px; border-bottom:1px solid rgba(255,255,255,.1); letter-spacing:.08em; }
.notification-widget-head button { border:0; color:#aaa; background:transparent; font-size:25px; cursor:pointer; }
.notification-item { padding:13px 10px; border-bottom:1px solid rgba(255,255,255,.07); border-radius:8px; }
.notification-item.unread { background:rgba(255,181,46,.07); }
.notification-item p { margin:0 0 7px; color:#eee; font-size:13px; line-height:1.55; }
.notification-item time,.notification-empty { color:#929292; font-size:11px; }
.notification-empty { padding:18px 4px; }
.account-page-content { padding-top: 54px; }
@media (max-width: 760px) { .account-page-content { padding-top: 24px; } }

/* Admin workspace */
.admin-main { width: calc(100% - 480px); max-width: none; margin: 48px auto 100px; }
.admin-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:28px 0 22px; padding:7px; border:1px solid rgba(255,255,255,.1); border-radius:14px; background:rgba(255,255,255,.025); }
.admin-tab { padding:11px 18px; border:1px solid transparent; border-radius:9px; color:#aaa; background:transparent; font:700 12px Manrope,sans-serif; cursor:pointer; }
.admin-tab:hover,.admin-tab.active { color:#171717; border-color:#ffb52e; background:#ffb52e; }
.admin-pane[hidden] { display:none; }
.admin-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.admin-stat,.admin-card,.admin-editor-card,.admin-user-detail { padding:22px; border:1px solid rgba(255,255,255,.1); border-radius:15px; background:rgba(255,255,255,.035); }
.admin-stat small { display:block; color:#999; font-size:10px; letter-spacing:.12em; }
.admin-stat strong { display:block; margin-top:10px; color:#ffb52e; font:800 34px 'Barlow Condensed',sans-serif; }
.admin-card h2,.admin-section-head h2 { margin:0 0 8px; font:800 25px 'Barlow Condensed',sans-serif; }
.admin-card p,.admin-section-head p,.admin-note { color:#999; font-size:12px; line-height:1.6; }
.admin-section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:12px 0 18px; }
.admin-primary { min-height:40px; padding:10px 16px; border:1px solid #ffb52e; border-radius:9px; color:#171717; background:#ffb52e; font:800 11px Manrope,sans-serif; cursor:pointer; }
.admin-primary:hover { background:#ffc65c; }
.admin-editor-list { display:grid; gap:13px; margin-bottom:18px; }
.admin-editor-card { padding:18px; }
.admin-editor-card-head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:15px; }
.admin-editor-card-head b { font:800 16px 'Barlow Condensed',sans-serif; letter-spacing:.06em; }
.admin-editor-card-head small { display:block; margin-top:4px; color:#999; font-size:11px; }
.admin-editor-card label,.admin-settings label,.admin-user-actions label { display:grid; gap:7px; margin:10px 0; color:#aaa; font-size:11px; font-weight:700; }
.admin-editor-card input,.admin-editor-card textarea,.admin-settings input,.admin-user-tools input,.admin-user-tools select,.admin-user-actions input,.admin-user-actions textarea { width:100%; min-height:40px; padding:10px 12px; border:1px solid rgba(255,255,255,.13); border-radius:8px; outline:none; color:#eee; background:#171819; font:500 12px Manrope,sans-serif; }
.admin-editor-card textarea,.admin-user-actions textarea { resize:vertical; }
.admin-editor-card input:focus,.admin-editor-card textarea:focus,.admin-settings input:focus,.admin-user-tools input:focus,.admin-user-tools select:focus { border-color:#ffb52e; }
.admin-server-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 14px; }
.admin-server-form .wide { grid-column:1/-1; }
.admin-icon-upload { display:flex!important; align-items:center; flex-wrap:wrap; gap:12px!important; }
.admin-icon-upload input { max-width:230px; }
.admin-icon-preview { display:grid; place-items:center; width:48px; height:48px; border:1px dashed #555; border-radius:9px; color:#888; }
.admin-icon-preview img { width:100%; height:100%; object-fit:cover; border-radius:8px; image-rendering:pixelated; }
.admin-danger { padding:8px 11px; border:1px solid rgba(255,95,95,.35); border-radius:8px; color:#ff8989; background:transparent; font-size:11px; cursor:pointer; }
.admin-danger.solid { color:white; background:#9e3030; }
.admin-empty { padding:24px; border:1px dashed rgba(255,255,255,.16); border-radius:12px; color:#888; text-align:center; font-size:12px; }
.admin-user-tools { display:grid; grid-template-columns:1fr 190px 190px; gap:10px; margin:15px 0; }
.admin-user-table-wrap { overflow:auto; border:1px solid rgba(255,255,255,.1); border-radius:12px; }
.admin-user-table { width:100%; border-collapse:collapse; text-align:left; font-size:12px; }
.admin-user-table th,.admin-user-table td { padding:13px 14px; border-bottom:1px solid rgba(255,255,255,.07); white-space:nowrap; }
.admin-user-table th { color:#999; font-size:10px; letter-spacing:.08em; }
.admin-user-table td strong,.admin-user-table td small { display:block; }
.admin-user-table td small { margin-top:4px; color:#888; }
.admin-status { display:inline-block; padding:5px 8px; border-radius:20px; font-size:10px; }
.admin-status.active { color:#8fd7a1; background:rgba(80,190,110,.12); }
.admin-status.banned { color:#ff9292; background:rgba(220,70,70,.13); }
.admin-small-button { padding:7px 10px; border:1px solid rgba(255,255,255,.17); border-radius:7px; color:#eee; background:#252627; font-size:10px; cursor:pointer; }
.admin-user-detail { margin-top:16px; }
.admin-user-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 14px; }
.admin-user-actions .wide { grid-column:1/-1; }
.admin-count { color:#999; font-size:11px; }
.admin-note { margin-top:16px; }
@media (max-width: 1100px) { .admin-main { width:calc(100% - 80px); } }
@media (max-width: 900px) { .admin-main { width:calc(100% - 48px); margin-top:28px; } .admin-user-tools { grid-template-columns:1fr 1fr; } .admin-user-tools input { grid-column:1/-1; } }
@media (max-width: 620px) { .admin-main { width:calc(100% - 32px); } .admin-stat-grid { grid-template-columns:1fr; } .admin-section-head { align-items:flex-start; flex-direction:column; } .admin-server-form,.admin-user-actions { grid-template-columns:1fr; } .admin-user-actions .wide,.admin-server-form .wide { grid-column:auto; } .admin-tabs { gap:4px; } .admin-tab { padding:9px 10px; font-size:10px; } .notification-widget { right:-8px; } }
.server-widget-icon img { width:100%; height:100%; object-fit:cover; border-radius:inherit; image-rendering:pixelated; }


/* ============================================================
   VOLTRUSH v19 — compact layout, account fit and server versions
   ============================================================ */

/* Make the dashboard denser without changing the established page gutters. */
.content-wrap {
    padding-top: 40px;
    padding-bottom: 42px;
}
.section-heading {
    margin-bottom: 20px;
    gap: 18px;
}
.section-heading h2 {
    font-size: clamp(28px, 3vw, 38px);
}
.section-heading p {
    margin-top: 5px;
    font-size: 11px;
}
.dashboard-grid {
    align-items: start;
    gap: 14px;
}
.news-panel {
    align-self: start;
    height: fit-content;
    min-height: 0;
}
.side-column {
    align-self: start;
    gap: 12px;
}
.side-column .account-prompt,
.side-column .servers-panel {
    align-self: start;
    padding: 15px;
}
.panel-head {
    margin-bottom: 12px;
}
.panel-head h3 {
    font-size: 22px;
}
.empty-news {
    gap: 10px;
    padding: 11px 0;
}
.empty-news b {
    font-size: 13px;
}
.empty-news p {
    font-size: 10px;
    line-height: 1.5;
}
.account-promo {
    gap: 10px;
    padding: 11px;
    margin-bottom: 10px;
}
.account-promo-avatar {
    width: 38px;
    height: 38px;
}
.account-promo b {
    font-size: 15px;
    font-weight: 700;
}
.account-action {
    min-height: 34px;
    font-size: 10px;
}
.server-widget {
    padding: 10px;
    gap: 10px;
}
.server-widget-icon {
    width: 38px;
    height: 38px;
}
.server-widget-main > b {
    font-size: 13px;
}
.server-widget-online {
    margin-top: 3px;
}
.server-game-version {
    display: inline-flex;
    margin-top: 4px;
    color: #a7afa8;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .02em;
}
.quick-links {
    gap: 10px;
    margin-top: 18px;
}
.quick-link {
    min-height: 66px;
    padding: 10px 12px;
}
.site-footer {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* A fixed, compact account workspace: on desktop the full profile fits in the viewport. */
.account-page {
    min-height: 100dvh;
}
/* The account page reuses the homepage navigation dimensions and appearance. */
.account-page > .site-header {
    min-height: 68px;
    margin-top: 0;
}
.account-page-content {
    padding-top: 12px;
    padding-bottom: 12px;
}
.account-widget {
    padding: 16px;
    border-radius: 13px;
}
.account-widget-topline {
    min-height: 16px;
    font-size: 9px;
}
.account-page-tag {
    padding: 5px 8px;
    font-size: 8px;
}
.account-widget-heading {
    align-items: center;
    gap: 14px;
    margin: 8px 0 12px;
    padding-bottom: 10px;
}
.account-widget-heading .simple-label {
    margin-bottom: 3px;
    font-size: 8px;
}
.account-widget-heading h1 {
    margin: 3px 0;
    font: 600 clamp(22px, 2.2vw, 29px)/1.05 var(--display);
    letter-spacing: .01em;
}
.account-widget-heading p {
    font-size: 10px;
}
.account-widget-balance {
    min-width: 150px;
    padding: 8px 11px;
}
.account-widget-balance small,
.account-info-grid small {
    font-size: 8px;
    font-weight: 600;
}
.account-widget-balance strong {
    margin: 2px 0 5px;
    font: 600 23px var(--display);
}
.account-widget-balance .primary-button {
    min-height: 27px;
    padding: 0 9px;
    font-size: 9px;
}
.account-widget-layout {
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    gap: 12px;
}
.skin-panel,
.account-data-panel {
    border-radius: 9px;
}
.skin-panel {
    padding: 9px;
}
.skin-viewer-wrap {
    min-height: 205px;
    border-radius: 7px;
}
#skinViewer {
    height: 205px;
}
.skin-player-name {
    margin: 6px 0 8px;
    font: 600 15px var(--display);
}
.skin-actions {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.account-upload-button {
    min-height: 31px;
    padding: 6px;
    font-size: 8px;
    font-weight: 600;
}
.skin-hint {
    margin-top: 6px;
    font-size: 8px;
}
.account-message {
    min-height: 12px;
    margin-top: 4px;
    font-size: 9px;
}
.account-data-panel {
    padding: 9px;
}
.account-tabs {
    gap: 4px;
    padding-bottom: 7px;
}
.account-tab {
    min-height: 29px;
    padding: 0 9px;
    font-size: 9px;
    font-weight: 600;
}
.account-tab-content {
    min-height: 0;
    padding: 12px 5px;
}
.account-tab-pane h2 {
    margin: 4px 0 10px;
    font: 600 20px var(--display);
}
.account-info-grid {
    gap: 7px;
}
.account-info-grid > div {
    padding: 9px;
    border-radius: 6px;
}
.account-info-grid b {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
}
.account-empty-note,
.account-empty-state {
    font-size: 10px;
    line-height: 1.5;
}
.account-empty-note {
    margin-top: 10px;
}
.account-empty-state {
    padding: 11px;
}
.account-list {
    gap: 5px;
}
.account-record {
    padding: 8px 10px;
}
.account-record strong {
    font-size: 10px;
    font-weight: 600;
}
.account-widget-footer {
    padding-top: 8px;
}
.account-back-link {
    padding: 6px 9px;
    font-size: 8px;
    font-weight: 600;
}
.account-page > .site-footer {
    display: none;
}

/* The profile and logout remain inline, but the navigation has no profile frame. */
.account-profile-shell {
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.account-profile-shell .account-link {
    padding: 2px 5px 2px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.account-profile-shell .account-logout-icon {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.account-profile-shell .account-logout-icon:hover {
    color: var(--yellow);
    background: transparent;
}

@media (max-height: 760px) and (min-width: 761px) {
    .account-page-content { padding-top: 7px; padding-bottom: 7px; }
    .account-widget { padding: 11px; }
    .account-widget-heading { margin: 5px 0 8px; padding-bottom: 7px; }
    .skin-viewer-wrap, #skinViewer { min-height: 165px; height: 165px; }
    .account-widget-layout { grid-template-columns: minmax(170px, 195px) minmax(0, 1fr); }
    .account-tab-content { padding: 8px 4px; }
}
@media (max-width: 1200px) and (min-width: 761px) {
    .account-page-content { width: calc(100% - 80px); }
}
@media (max-width: 760px) {
    .content-wrap { padding: 30px 0 34px; }
    .account-page-content { width: calc(100% - 32px); padding: 12px 0 24px; }
    .account-widget { padding: 12px; }
    .account-widget-heading { align-items: stretch; flex-direction: row; }
    .account-widget-heading h1 { font-size: 23px; }
    .account-widget-layout { grid-template-columns: 1fr; }
    .skin-viewer-wrap, #skinViewer { min-height: 220px; height: 220px; }
    .account-page > .site-footer { display: none; }
    .skin-actions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
    .account-widget-heading { flex-direction: column; align-items: stretch; }
    .account-widget-balance { display: grid; grid-template-columns: 1fr auto; align-items: center; }
    .account-widget-balance small { grid-column: 1 / -1; }
    .account-widget-balance strong { margin: 0; }
    .account-widget-balance .primary-button { grid-column: 2; grid-row: 2; }
    .account-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Keep the fixed navigation clear of the account content. */
.account-page > .account-page-content {
    padding-top: 112px;
}
@media (max-width: 760px) {
    .account-page > .account-page-content {
        padding-top: 94px;
    }
}

/* ============================================================
   VOLTRUSH v23 — shared account background and aligned dashboard panels
   ============================================================ */

/* Use the warm, dark account-page atmosphere consistently on every page. */
.landing,
.subpage {
    background:
        radial-gradient(ellipse at 18% 24%, rgba(255, 174, 0, .10), transparent 34%),
        radial-gradient(ellipse at 82% 72%, rgba(255, 115, 0, .08), transparent 36%),
        #101314;
}

/* Keep the profile and server cards flush with the full sidebar column. */
.side-column .account-prompt,
.side-column .servers-panel {
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
}


/* ============================================================
   VOLTRUSH v24 — shared page background, homepage clearance and 10% scale
   ============================================================ */

/* The account backdrop is now the shared site background, not an account-only layer. */
html,
body {
    background:
        radial-gradient(ellipse at 18% 24%, rgba(255, 174, 0, .10), transparent 34%),
        radial-gradient(ellipse at 82% 72%, rgba(255, 115, 0, .08), transparent 36%),
        #101314 !important;
}

.landing,
.subpage {
    background: transparent !important;
}

/* Give the homepage content a clear gap below the fixed navigation. */
.landing .content-wrap {
    padding-top: 112px;
}

/* Increase the overall interface scale by 10% while keeping the page
   fitted to the viewport instead of creating horizontal overflow. */
body {
    zoom: 1.1;
    width: calc(100% / 1.1);
    min-height: calc(100vh / 1.1);
}

@media (max-width: 760px) {
    .landing .content-wrap {
        padding-top: 96px;
    }
}

/* ============================================================
   VOLTRUSH v25 — center the main page and remove its extra panel backdrop
   ============================================================ */

/* Keep the 10% scale, but center the scaled page instead of anchoring it
   to the left edge of the viewport. */
html,
body {
    min-height: 100%;
}

body {
    margin-left: auto;
    margin-right: auto;
}

/* The main content area must not create a separate dark rectangle or glow.
   It now sits directly on the shared site background. */
.landing .main-area {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    background: transparent !important;
}

.landing .main-area::before {
    display: none !important;
    content: none !important;
}


/* ============================================================
   VOLTRUSH v26 — larger interface, wider page gutters and compact sidebar
   ============================================================ */

/* Raise the previous 110% interface scale by another 10% (110% -> 121%). */
body {
    zoom: 1.21;
    width: calc(100% / 1.21);
    min-height: calc(100vh / 1.21);
}

/* Give the main site content more breathing room at the screen edges. */
.site-header,
.content-wrap,
.site-footer,
.welcome-foot,
.main-area > .site-header,
.landing .main-area > .site-header {
    width: min(1120px, calc(100% - 176px));
}

/* Profile and server cards are 20% narrower and centered in the sidebar. */
.landing .side-column .account-prompt,
.landing .side-column .servers-panel {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

@media (max-width: 760px) {
    .site-header,
    .content-wrap,
    .site-footer,
    .welcome-foot,
    .main-area > .site-header,
    .landing .main-area > .site-header {
        width: calc(100% - 64px);
    }

    .landing .side-column .account-prompt,
    .landing .side-column .servers-panel {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .site-header,
    .content-wrap,
    .site-footer,
    .welcome-foot,
    .main-area > .site-header,
    .landing .main-area > .site-header {
        width: calc(100% - 40px);
    }
}

/* ============================================================
   VOLTRUSH v27 — restore scale, align sidebar cards and center account
   ============================================================ */

/* Restore the previous 110% interface scale. */
body {
    zoom: 1.1;
    width: calc(100% / 1.1);
    min-height: calc(100vh / 1.1);
}

/* Keep both right-rail cards on the same right edge. */
.landing .side-column .account-prompt,
.landing .side-column .servers-panel {
    width: 80%;
    margin-left: auto;
    margin-right: 0;
    align-self: flex-end;
    box-sizing: border-box;
}

/* Center the account workspace and make it 10% narrower than the
   desktop navigation container (1120px -> 1008px). */
.account-page > .account-page-content {
    width: min(1008px, 90vw);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-top: 112px;
    padding-bottom: 24px;
}

@media (max-width: 760px) {
    .account-page > .account-page-content {
        width: calc(100% - 40px);
        padding-top: 94px;
    }
}

@media (max-width: 420px) {
    .account-page > .account-page-content {
        width: calc(100% - 28px);
    }
}


/* ============================================================
   VOLTRUSH v28 — interface scale +20%, account lower by 10%
   ============================================================ */
body {
    zoom: 1.32;
    width: calc(100% / 1.32);
    min-height: calc(100vh / 1.32);
}

/* Move the account content down by 10% relative to v27 spacing. */
.account-page > .account-page-content {
    padding-top: 123px;
}

@media (max-width: 760px) {
    .account-page > .account-page-content {
        padding-top: 103px;
    }
}

/* ============================================================
   VOLTRUSH v29 — tighter screen gutters and cleaner glass panels
   ============================================================ */

/* Reduce the desktop side gutters by roughly 15% (176px -> 150px). */
.site-header,
.content-wrap,
.site-footer,
.welcome-foot,
.main-area > .site-header,
.landing .main-area > .site-header {
    width: min(1120px, calc(100% - 150px));
}

@media (max-width: 760px) {
    .site-header,
    .content-wrap,
    .site-footer,
    .welcome-foot,
    .main-area > .site-header,
    .landing .main-area > .site-header {
        width: calc(100% - 54px);
    }
}

@media (max-width: 420px) {
    .site-header,
    .content-wrap,
    .site-footer,
    .welcome-foot,
    .main-area > .site-header,
    .landing .main-area > .site-header {
        width: calc(100% - 34px);
    }
}

/* Remove the visible noise texture and the welcome-screen grid pattern. */
.grain {
    display: none !important;
    background-image: none !important;
}

.welcome::before {
    display: none !important;
    background-image: none !important;
}

/* Darker, more transparent surfaces with consistent rounded corners. */
.panel,
.news-panel,
.servers-panel,
.account-prompt,
.account-widget,
.server-dialog,
.skin-panel,
.account-widget-layout > *,
.account-info-grid > *,
.account-widget-balance {
    background: rgba(8, 11, 12, .78) !important;
    border: 1px solid rgba(255, 255, 255, .09) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .38) !important;
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    backdrop-filter: blur(14px) saturate(115%);
}

/* Preserve the yellow accent as a subtle edge instead of bright card fills. */
.account-widget,
.account-widget-balance {
    border-color: rgba(255, 190, 30, .16) !important;
}

/* Keep nested content clipped to the new rounded card shape. */
.panel,
.account-widget,
.server-dialog,
.skin-panel {
    overflow: hidden;
}

/* ============================================================
   VOLTRUSH v30 — halve page content gutters and tighten corners
   ============================================================ */

/* The previous 1120px max-width left very large empty margins on wide
   screens. Expand the content container so each outer gutter is halved. */
.site-header,
.content-wrap,
.site-footer,
.welcome-foot,
.main-area > .site-header,
.landing .main-area > .site-header {
    width: min(1520px, calc(50% + 560px), calc(100% - 75px));
}

@media (max-width: 760px) {
    .site-header,
    .content-wrap,
    .site-footer,
    .welcome-foot,
    .main-area > .site-header,
    .landing .main-area > .site-header {
        width: calc(100% - 27px);
    }
}

@media (max-width: 420px) {
    .site-header,
    .content-wrap,
    .site-footer,
    .welcome-foot,
    .main-area > .site-header,
    .landing .main-area > .site-header {
        width: calc(100% - 17px);
    }
}

/* Reduce the large glass-card rounding while keeping a clean modern shape. */
.panel,
.news-panel,
.servers-panel,
.account-prompt,
.account-widget,
.server-dialog,
.skin-panel,
.account-widget-layout > *,
.account-info-grid > *,
.account-widget-balance {
    border-radius: 8px !important;
}

/* Keep nested controls and small surfaces visually consistent. */
.account-promo,
.server-widget,
.quick-link,
.notification-widget,
.admin-card,
.admin-editor-card,
.admin-stat,
.admin-user-detail,
.admin-user-table-wrap {
    border-radius: 7px;
}


/* ============================================================
   VOLTRUSH v31 — compact server cards with clear spacing
   ============================================================ */

/* Arrange server cards in two columns with a visible, even gap. */
#serverList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

#serverList .server-widget {
    width: 100%;
    min-width: 0;
    min-height: 66px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin: 0;
    border-radius: 7px;
}

#serverList .server-widget-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    overflow: hidden;
    border-radius: 5px;
}

#serverList .server-widget-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#serverList .server-widget-main {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
}

#serverList .server-widget-main > b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.25;
}

#serverList .server-help {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    padding: 5px;
    margin: 0;
}

#serverList .server-help svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 760px) {
    #serverList {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}

/* ============================================================
   VOLTRUSH v32 — vertical server list, one server per row
   ============================================================ */

#serverList {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

#serverList .server-widget {
    width: 50%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 760px) {
    #serverList .server-widget {
        width: 100%;
    }
}


/* ============================================================
   VOLTRUSH v33 — consistent server rows and shared page gutters
   ============================================================ */

/* Server entries stay in a single vertical list. Each card has the
   same half-width footprint and fixed height, regardless of its contents. */
#serverList {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

#serverList .server-widget {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 58px;
    min-height: 58px;
    flex: 0 0 58px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin: 0;
    overflow: hidden;
}

#serverList .server-widget-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
}

#serverList .server-widget-main {
    flex: 1 1 auto;
    min-width: 0;
}

#serverList .server-help {
    flex: 0 0 28px;
    margin-left: auto;
}

/* Use the exact same horizontal container sizing on the admin page
   as on the rest of the site, instead of its old 240px side gutters. */
.admin-main {
    width: min(1520px, calc(50% + 560px), calc(100% - 75px));
    max-width: none;
    box-sizing: border-box;
    margin: 48px auto 100px;
}

@media (max-width: 760px) {
    #serverList .server-widget {
        width: 100%;
        max-width: 100%;
    }

    .admin-main {
        width: calc(100% - 27px);
        margin-top: 28px;
    }
}

@media (max-width: 420px) {
    .admin-main {
        width: calc(100% - 17px);
    }
}

.welcome {
    position: relative;
    width: calc(100vw / 1.32);
    max-width: none;
    margin-left: calc((100% - (100vw / 1.32)) / 2);
    margin-right: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.welcome-content {
    width: 100%;
    box-sizing: border-box;
}

.dashboard-grid {
    gap: 10px;
}
.side-column {
    gap: 10px;
}
.landing .side-column .account-prompt,
.landing .side-column .servers-panel {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    align-self: stretch;
    padding: 12px;
}

/* Компактный welcome-экран */
.welcome {
    min-height: 100svh;      /* убираем max(760px, …) */
}

.welcome-content {
    padding: clamp(36px, 6vh, 64px) 24px 80px;  /* было 125px снизу */
}

@media (max-width: 760px) {
    .welcome {
        min-height: 100svh;  /* было max(700px, …) */
    }
    .welcome-content {
        padding-bottom: 90px;
    }
}

/* Убираем лишний верхний отступ на welcome */
.welcome-content {
    padding-top: 0;          /* или 8px, если нужен минимальный зазор */
    padding-bottom: 80px;
}

/* Если разметка использует .hero — обнуляем и его */
.welcome .hero {
    padding-top: 0;
    min-height: auto;
}

/* Гарантируем, что контент стартует сразу под фиксированным хедером */
.welcome-content {
    margin-top: 0;
}

.welcome-content {
    justify-content: flex-start;
    padding-top: 20px; 
}

/* Убираем центрирование и прижимаем контент к верху */
.welcome {
    align-items: flex-start; /* Отключаем центрирование по вертикали */
}

.welcome-content {
    justify-content: flex-start; /* Контент больше не висит по центру */
    padding-top: 110px;          /* Задаем точный отступ сверху (под шапку) */
    padding-bottom: 40px;        /* Убираем огромный отступ снизу */
}

/* Убираем лишние отступы у первой строчки и логотипа */
.welcome .hero-kicker {
    margin-top: 0;
}

.welcome .hero-logo {
    margin-top: 15px; 
}

/* Фиксируем высоту первого экрана ровно по окну браузера */
.welcome {
    /* Убираем предыдущее правило min-height: max(...) и ставим жесткое 100vh */
    min-height: 100vh; 
    height: 100vh; /* Жестко фиксируем высоту */
    max-height: 100vh;
    overflow: hidden; /* Скрываем всё, что пытается вылезти */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрируем контент по вертикали */
}

/* Корректируем отступы контента, чтобы он не наезжал на верх/низ */
.welcome-content {
    /* Автоматически распределяем пространство: верх, центр, низ */
    margin: auto; 
    padding-top: 80px; /* Отступ под шапку */
    padding-bottom: 80px; /* Отступ под кнопку "Листай вниз" */
}

/* Прижимаем кнопку "Листай вниз" и подвал ровно к низу экрана */
.scroll-hint {
    bottom: 60px; /* Чуть приподнимаем, чтобы не наезжала на подвал */
}

.welcome-foot {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* Растягиваем на всю ширину */
}

/* ============================================================
   ФИНАЛЬНЫЙ ФИКС WELCOME ЭКРАНА (ЦЕНТРИРОВАНИЕ И ВЫСОТА)
   ============================================================ */

.landing .welcome {
    /* Компенсируем глобальный zoom 1.21 */
    zoom: 0.826 !important;
    
    /* Занимаем ровно 100% ширины родителя */
    width: 100% !important; 
    max-width: 100% !important;
    
    /* Высота ровно по окну браузера */
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    
    /* Выравнивание */
    margin: 0 auto !important; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

/* Контент по центру, с отступами от шапки и кнопки */
.landing .welcome-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center !important; 
    text-align: center;
    
    padding-top: 60px !important; 
    padding-bottom: 110px !important; 
    
    width: 100%;
    margin: 0 auto;
}

/* Убираем старые жесткие ограничения высоты */
.landing .welcome-content {
    min-height: 0 !important; 
}

/* Если контент всё еще не влезает на ноутбуках - уменьшаем шрифты */
@media (max-height: 800px) {
    .welcome .hero-logo {
        font-size: 90px !important; 
        margin: 15px 0 !important;
    }
    .welcome h1 {
        font-size: 36px !important;
    }
    .welcome .hero-copy {
        margin: 15px 0 20px !important;
        font-size: 13px !important;
    }
    .welcome .start-button {
        min-height: 45px !important;
        font-size: 16px !important;
    }
}

/* ============================================================
   УБИРАЕМ ФОН WELCOME ЭКРАНА
   ============================================================ */

/* 1. Делаем фон самого экрана прозрачным */
.landing .welcome {
    background: transparent !important;
}

/* 2. Скрываем сетку на фоне */
.landing .welcome::before {
    display: none !important;
    content: none !important;
}

/* 3. Скрываем огромный круг на фоне */
.landing .welcome::after {
    display: none !important;
    content: none !important;
}

/* ============================================================
   ФИКС: ЛЕНТЫ ОТ КРАЯ ДО КРАЯ ЭКРАНА
   ============================================================ */

/* 1. Привязываем контейнер лент к самому окну браузера (viewport) */
.tape-stage {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important; /* Поверх всего */
    pointer-events: none;
}

/* 2. Растягиваем сами ленты на 100% ширины экрана */
.tape-top, 
.tape-bottom, 
.tape-cross-down, 
.tape-cross-up,
.tape-side-left,
.tape-side-right {
    /* Убираем жесткие отступы и ставим 100% ширины */
    left: 0 !important;
    width: 100vw !important;
}

/* 3. Если используются вертикальные ленты (из старых версий) */
.tape-side-left {
    top: 0 !important;
    height: 100vh !important;
    width: auto !important;
}

.tape-side-right {
    top: 0 !important;
    height: 100vh !important;
    width: auto !important;
}

/* 4. Корректируем углы наклона, чтобы ленты точно выходили за края */
.tape-top {
    transform: rotate(-7deg) scale(1.2) !important; /* Увеличиваем, чтобы закрыть углы */
}

.tape-bottom {
    transform: rotate(7deg) scale(1.2) !important;
}

.tape-cross-down {
    transform: translateY(-50%) rotate(24deg) scale(1.5) !important;
}

.tape-cross-up {
    transform: translateY(-50%) rotate(-19deg) scale(1.5) !important;
}

/* Контейнер для всех объектов */
.mc-bg-js {
    position: fixed; /* Теперь привязан к окну, а не к welcome */
    top: 0;
    left: 0;
    width: 100vw; /* На всю ширину экрана */
    height: 100vh; /* На всю высоту экрана */
    overflow: hidden;
    pointer-events: none;
    z-index: 0; /* Оставляем за контентом */
    perspective: 1500px;
}

/* ============================================================
   ОБЪЕКТЫ НА ФОНЕ (3D БЛОКИ И ПРЕДМЕТЫ)
   ============================================================ */

/* Обертка (летает) */
.mc-item-wrapper {
    position: absolute;
    transform-style: preserve-3d;
    /* Плавное появление (прозрачность + размытие) */
    opacity: 0;
    filter: blur(12px);
    transition: opacity 1.5s ease-in-out, filter 1.5s ease-in-out;
    will-change: opacity, filter;
}

/* Класс, который добавляется через JS для появления */
.mc-item-wrapper.is-visible {
    opacity: 1;
    filter: blur(0);
}

/* --- СТИЛИ ДЛЯ БЛОКОВ (3D) --- */
.mc-cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d !important;
    image-rendering: pixelated;
}

.mc-cube .face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    border: 1px solid rgba(0, 0, 0, 0.2); 
    backface-visibility: hidden;
    transform: translateZ(calc(var(--size) / 2));
}

.mc-cube .front  { transform: translateZ(calc(var(--size) / 2)); }
.mc-cube .back   { transform: rotateY(180deg) translateZ(calc(var(--size) / 2)); }
.mc-cube .right  { transform: rotateY(90deg) translateZ(calc(var(--size) / 2)); }
.mc-cube .left   { transform: rotateY(-90deg) translateZ(calc(var(--size) / 2)); }
.mc-cube .top    { transform: rotateX(90deg) translateZ(calc(var(--size) / 2)); }
.mc-cube .bottom { transform: rotateX(-90deg) translateZ(calc(var(--size) / 2)); }

.mc-cube .top { filter: brightness(1.2); }
.mc-cube .bottom { filter: brightness(0.6); }
.mc-cube .right, .mc-cube .left, .mc-cube .back { filter: brightness(0.75); }

/* --- СТИЛИ ДЛЯ ПРЕДМЕТОВ (ПЛОСКИЕ) --- */
.mc-item {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    transform-style: preserve-3d;
}


/* ============================================================
   VOLTRUSH — ADMIN EDITORS
   ============================================================ */

.admin-editor-card {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.admin-editor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-editor-heading b {
    color: #fff;
    font-size: 15px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-editor-card label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    color: #aaa;
    font-size: 13px;
}

.admin-editor-card input,
.admin-editor-card textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    outline: none;
    background: #171717;
    color: #fff;
    font: inherit;
}

.admin-editor-card input:focus,
.admin-editor-card textarea:focus {
    border-color: #e8a21b;
}

.admin-editor-card textarea {
    resize: vertical;
}

.admin-wide {
    grid-column: 1 / -1;
}

.admin-delete,
.admin-delete-icon {
    border: 1px solid rgba(255,75,75,.3);
    border-radius: 7px;
    padding: 8px 12px;
    background: rgba(255,60,60,.08);
    color: #ff7777;
    cursor: pointer;
}

.admin-icon-editor {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.admin-icon-preview {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: #111;
    color: #777;
    font-size: 10px;
}

.admin-icon-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-icon-editor p {
    margin: 5px 0 10px;
    color: #888;
    font-size: 12px;
}

.admin-upload-button {
    display: inline-flex !important;
    width: fit-content;
    padding: 9px 13px;
    border-radius: 7px;
    background: #e8a21b;
    color: #111 !important;
    font-weight: 700;
    cursor: pointer;
}

.admin-empty {
    padding: 30px 15px;
    border: 1px dashed rgba(255,255,255,.15);
    border-radius: 10px;
    color: #888;
    text-align: center;
}

.admin-user-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.admin-user-avatar {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #e8a21b;
    color: #111;
    font-size: 22px;
    font-weight: 800;
}

.admin-user-profile h3 {
    margin: 0 0 5px;
}

.admin-user-profile p,
.admin-user-profile small {
    margin: 0;
    color: #888;
}

.admin-user-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.admin-user-facts > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px;
    border-radius: 9px;
    background: rgba(255,255,255,.04);
}

.admin-user-facts span {
    color: #888;
    font-size: 12px;
}

.admin-user-facts b {
    color: #fff;
}

.admin-user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.admin-user-actions button,
.admin-small-button {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 7px;
    background: #202020;
    color: #eee;
    cursor: pointer;
}

.admin-user-actions button:hover,
.admin-small-button:hover {
    border-color: #e8a21b;
}

.admin-user-banned {
    color: #ff7777;
}

.admin-user-active {
    color: #78cf91;
}

.admin-ban-reason {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255,60,60,.08);
    color: #ff9999;
}

@media (max-width: 650px) {
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-wide {
        grid-column: auto;
    }

    .admin-editor-card {
        padding: 14px;
    }

    .admin-icon-editor {
        align-items: flex-start;
    }

    .admin-user-facts {
        grid-template-columns: 1fr;
    }
}


/* Кнопка выхода внутри блока профиля */
#accountArea .account-link.logged-in {
    display: flex;
    align-items: center;
    gap: 10px;
}

#accountArea .account-profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

#accountArea .account-logout {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    color: #e8a21b;
    cursor: pointer;
}

#accountArea .account-logout:hover {
    background: rgba(232,162,27,.13);
}

#accountArea .account-logout svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}



/* VOLTRUSH compact sign-in / registration modal */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(3, 5, 5, .78);
    backdrop-filter: blur(9px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}
.auth-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.auth-modal-open { overflow: hidden; }
.auth-modal-card {
    position: relative;
    width: min(420px, 100%);
    max-height: min(92svh, 760px);
    overflow-y: auto;
    padding: 27px 28px 24px;
    border-color: rgba(255, 210, 28, .34);
    border-radius: 16px;
    box-shadow: 0 28px 100px #000b;
    transform: translateY(12px) scale(.985);
    transition: transform .18s ease;
}
.auth-overlay.is-open .auth-modal-card { transform: translateY(0) scale(1); }
.auth-modal-card .auth-brand { margin-top: 0; font-size: 22px; }
.auth-modal-card h1 { margin-top: 7px; font-size: 31px; }
.auth-modal-card .auth-subtitle { margin-bottom: 18px; }
.auth-modal-card .auth-form { gap: 12px; }
.auth-modal-card .auth-form input:not([type=checkbox]) { height: 43px; }
.auth-modal-card .primary-button { min-height: 46px; }
.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid #414849;
    border-radius: 9px;
    background: #101314;
    color: #dce0db;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.auth-modal-close:hover { color: var(--yellow); border-color: var(--yellow); }
@media (max-width: 480px) {
    .auth-overlay { padding: 12px; }
    .auth-modal-card { padding: 23px 19px 20px; border-radius: 13px; }
}

/* Single-page server/shop sections */
.spa-view{max-width:1180px;margin:0 auto;padding:70px 28px 90px;min-height:55vh}.spa-view[hidden]{display:none}.spa-heading{margin-bottom:30px}.spa-heading h1{font-family:'Barlow Condensed',sans-serif;font-size:clamp(42px,7vw,76px);line-height:1;margin:12px 0}.spa-heading h1 em{color:var(--accent,#ff8a1e);font-style:normal}.spa-heading p{color:#aeb6c1;max-width:680px}.spa-server-list{display:flex;flex-direction:column;gap:14px}.spa-server-tile{width:100%;display:flex;align-items:center;gap:20px;text-align:left;padding:22px;border:1px solid #29313b;border-radius:12px;background:linear-gradient(110deg,#171d24,#101419);color:#fff;cursor:pointer;transition:.2s}.spa-server-tile:hover{border-color:#ff8a1e;transform:translateY(-2px)}.spa-server-icon{width:64px;height:64px;display:grid;place-items:center;background:#222b35;border-radius:9px;font-size:30px;color:#ff8a1e;flex:none}.spa-server-icon img{width:100%;height:100%;object-fit:cover;border-radius:9px}.spa-server-tile>span:nth-child(2){display:flex;flex-direction:column;gap:6px;flex:1}.spa-server-tile b{font-size:20px}.spa-server-tile small{color:#9aa5b1}.spa-server-tile i{font-style:normal;color:#ff8a1e;font-weight:800;font-size:12px}.spa-categories{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0}.spa-category,.spa-back{border:1px solid #34404d;border-radius:8px;padding:12px 18px;background:#171d24;color:#e8edf2;cursor:pointer;font-weight:800}.spa-category.active,.spa-category:hover,.spa-back:hover{border-color:#ff8a1e;color:#ff8a1e}.spa-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.spa-product{border:1px solid #29313b;background:#151a20;border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:10px}.spa-product>img,.spa-product-placeholder{width:100%;height:140px;object-fit:contain;background:#202731;border-radius:8px}.spa-product-placeholder{display:grid;place-items:center;font-size:48px;color:#ff8a1e}.spa-product p,.spa-empty{color:#aeb6c1}.spa-product>b{font-size:20px;color:#ffad55}.spa-product button{padding:10px;border:0;border-radius:6px;background:#343b44;color:#aab2bb;font-weight:800}.spa-empty{padding:24px;border:1px dashed #384452;border-radius:10px}.site-header .main-nav a.active{color:#ff8a1e}
@media(max-width:640px){.spa-view{padding:48px 16px}.spa-server-tile{padding:14px;gap:12px}.spa-server-icon{width:48px;height:48px}.spa-server-tile i{font-size:10px}}

/* Safe spacing below the floating navigation bar */
.landing .content-wrap {
    padding-top: 142px !important;
}
.spa-view {
    padding-top: 142px !important;
}
@media (max-width: 640px) {
    .landing .content-wrap {
        padding-top: 118px !important;
    }
    .spa-view {
        padding-top: 118px !important;
    }
}

/* Server/shop content panel and admin background uploader */
.spa-content-panel{position:relative;overflow:hidden;padding:clamp(22px,4vw,46px);border:1px solid rgba(255,255,255,.09);border-radius:20px;background:linear-gradient(145deg,rgba(23,30,39,.96),rgba(10,14,20,.96));box-shadow:0 24px 70px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.035)}
.spa-content-panel:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,#ff8a1e 24%,#ffb45c 55%,transparent);opacity:.9}
.spa-content-panel>.spa-heading,.spa-content-panel>.spa-server-list,.spa-content-panel>.spa-categories,.spa-content-panel>.spa-products{position:relative;z-index:1}
.spa-server-tile{position:relative;isolation:isolate;overflow:hidden;min-height:112px;background-image:linear-gradient(90deg,rgba(12,16,22,.96) 0%,rgba(12,16,22,.82) 52%,rgba(12,16,22,.58) 100%),var(--server-bg,none),linear-gradient(110deg,#202a35,#111820);background-size:cover;background-position:center;background-repeat:no-repeat;border-color:rgba(255,255,255,.12);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.spa-server-tile:hover{background-image:linear-gradient(90deg,rgba(12,16,22,.91) 0%,rgba(12,16,22,.72) 52%,rgba(12,16,22,.48) 100%),var(--server-bg,none),linear-gradient(110deg,#202a35,#111820)}
.spa-server-info{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}.spa-server-info b{font-size:22px;letter-spacing:.03em}.spa-server-info small{color:#d0d5dc}
.admin-background-upload{grid-column:1/-1;max-width:460px}.admin-background-upload .admin-icon-preview{width:100%;height:130px;max-width:none;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px dashed #46515f;border-radius:9px;background:#151b23;color:#9da8b5}.admin-background-upload .admin-icon-preview img{width:100%;height:100%;object-fit:cover;border-radius:8px}.admin-background-upload input[type=file]{max-width:100%}.admin-background-upload small{display:block;color:#9da8b5;margin-top:5px}
@media(max-width:640px){.spa-content-panel{padding:22px 14px;border-radius:14px}.spa-server-tile{min-height:94px}.spa-server-info b{font-size:18px}}

/* VOLTRUSH: align SPA server/shop screens with the homepage panel language */
.spa-content-panel {
    padding: clamp(22px, 3.2vw, 34px);
    border: 1px solid #333a38;
    border-radius: 8px;
    background: rgba(8, 11, 12, .78);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    backdrop-filter: blur(14px) saturate(115%);
}
.spa-content-panel:before {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow, #d6bd36), transparent);
    opacity: .7;
}
.spa-heading { margin-bottom: 22px; }
.spa-heading .panel-index {
    display: inline-block;
    color: #8e9891;
    font: 900 9px/1.4 Manrope, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.spa-heading h1 {
    margin: 7px 0 9px;
    color: #d9ded8;
    font: 900 clamp(34px, 5vw, 48px)/.98 'Barlow Condensed', sans-serif;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.spa-heading h1 em { color: var(--yellow, #d6bd36); }
.spa-heading p {
    max-width: 680px;
    margin: 0;
    color: #929b94;
    font: 500 12px/1.7 Manrope, sans-serif;
}
.spa-server-list { gap: 12px; }
.spa-server-tile {
    min-height: 84px;
    padding: 16px 18px;
    gap: 14px;
    border: 1px solid #343c38;
    border-radius: 7px;
    background-color: #111516;
    box-shadow: 0 8px 22px rgba(0,0,0,.16);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.spa-server-tile:hover {
    border-color: var(--yellow, #bba52d);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,0,0,.28);
}
.spa-server-info b {
    color: #d9ded8;
    font: 800 19px/1.1 'Barlow Condensed', sans-serif;
    letter-spacing: .045em;
    text-transform: uppercase;
}
.spa-server-info small {
    color: #929b94;
    font: 500 10px/1.5 Manrope, sans-serif;
}
.spa-server-tile > i {
    color: var(--yellow, #d6bd36);
    font: 900 10px Manrope, sans-serif;
    letter-spacing: .08em;
}
.spa-categories { gap: 9px; margin: 22px 0 18px; }
.spa-category, .spa-back {
    padding: 10px 15px;
    border: 1px solid #343c38;
    border-radius: 6px;
    background: #181d1e;
    color: #b9c0b9;
    font: 800 11px Manrope, sans-serif;
    letter-spacing: .045em;
    text-transform: uppercase;
    transition: border-color .2s, color .2s, background .2s;
}
.spa-category.active, .spa-category:hover, .spa-back:hover {
    border-color: var(--yellow, #bba52d);
    color: var(--yellow, #d6bd36);
    background: #1d211d;
}
.spa-products { gap: 13px; }
.spa-product {
    min-width: 0;
    padding: 15px;
    gap: 9px;
    border: 1px solid #343c38;
    border-radius: 7px;
    background: #111516;
    box-shadow: 0 8px 22px rgba(0,0,0,.16);
    transition: border-color .2s, transform .2s;
}
.spa-product:hover { border-color: rgba(214,189,54,.55); transform: translateY(-2px); }
.spa-product > img, .spa-product-placeholder {
    height: 132px;
    border: 1px solid #292f2b;
    border-radius: 5px;
    background: #181d1e;
}
.spa-product h3 {
    margin: 2px 0 0;
    color: #d9ded8;
    font: 800 19px/1.1 'Barlow Condensed', sans-serif;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.spa-product p { margin: 0; color: #929b94; font: 500 10px/1.6 Manrope, sans-serif; }
.spa-product > b { color: var(--yellow, #d6bd36); font: 900 19px 'Barlow Condensed', sans-serif; }
.spa-product button {
    margin-top: 3px;
    padding: 10px 12px;
    border: 1px solid #343c38;
    border-radius: 5px;
    background: #1b2020;
    color: #929b94;
    font: 800 10px Manrope, sans-serif;
    letter-spacing: .08em;
}
.spa-empty {
    border: 1px dashed #343c38;
    border-radius: 6px;
    background: rgba(17,21,22,.55);
    color: #929b94;
    font: 500 11px/1.6 Manrope, sans-serif;
}
@media (max-width: 640px) {
    .spa-content-panel { padding: 20px 13px; border-radius: 7px; }
    .spa-heading h1 { font-size: 34px; }
    .spa-server-tile { min-height: 76px; padding: 13px; }
    .spa-server-info b { font-size: 17px; }
}

/* VOLTRUSH SPA: larger content windows and coordinated motion */
@keyframes vr-panel-in {
    from { opacity: 0; transform: translateY(24px) scale(.985); filter: blur(5px); }
    to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes vr-heading-in {
    from { opacity: 0; transform: translateX(-18px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes vr-tile-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes vr-glow {
    0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025); }
    50% { box-shadow: 0 12px 32px rgba(0,0,0,.32), 0 0 22px rgba(214,189,54,.08), inset 0 1px 0 rgba(255,255,255,.04); }
}
.spa-view {
    max-width: 1440px;
    width: min(100%, 1440px);
    padding: 76px clamp(22px, 3.2vw, 48px) 110px;
}
.spa-content-panel {
    padding: clamp(30px, 4vw, 58px);
    border-radius: 10px;
    animation: vr-panel-in .65s cubic-bezier(.2,.7,.2,1) both;
}
.spa-content-panel > .spa-heading { animation: vr-heading-in .58s .08s cubic-bezier(.2,.7,.2,1) both; }
.spa-heading { margin-bottom: 32px; }
.spa-heading h1 { font-size: clamp(48px, 6vw, 86px); }
.spa-server-list { gap: 16px; }
.spa-server-tile {
    min-height: 116px;
    padding: 23px 26px;
    border-radius: 8px;
    animation: vr-tile-in .52s cubic-bezier(.2,.7,.2,1) both;
    will-change: transform;
}
.spa-server-tile:nth-child(1) { animation-delay: .12s; }
.spa-server-tile:nth-child(2) { animation-delay: .19s; }
.spa-server-tile:nth-child(3) { animation-delay: .26s; }
.spa-server-tile:nth-child(4) { animation-delay: .33s; }
.spa-server-tile:nth-child(5) { animation-delay: .40s; }
.spa-server-tile:nth-child(n+6) { animation-delay: .47s; }
.spa-server-tile:hover { transform: translateY(-4px) scale(1.006); }
.spa-server-info b { font-size: 24px; }
.spa-server-info small { font-size: 11px; }
.spa-categories { margin: 30px 0 24px; }
.spa-category, .spa-back { padding: 13px 20px; transition: transform .22s ease, border-color .22s ease, color .22s ease, background .22s ease, box-shadow .22s ease; }
.spa-category:hover, .spa-back:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(214,189,54,.1); }
.spa-products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.spa-product {
    padding: 20px;
    border-radius: 8px;
    animation: vr-tile-in .5s cubic-bezier(.2,.7,.2,1) both;
}
.spa-product:nth-child(1) { animation-delay: .08s; }
.spa-product:nth-child(2) { animation-delay: .14s; }
.spa-product:nth-child(3) { animation-delay: .20s; }
.spa-product:nth-child(4) { animation-delay: .26s; }
.spa-product:nth-child(n+5) { animation-delay: .32s; }
.spa-product > img, .spa-product-placeholder { height: 164px; transition: transform .35s ease, filter .35s ease; }
.spa-product:hover > img, .spa-product:hover .spa-product-placeholder { transform: scale(1.035); filter: brightness(1.08); }
.spa-product button { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.spa-product button:not(:disabled):hover { transform: translateY(-2px); }
@media (max-width: 760px) {
    .spa-view { padding: 52px 16px 76px; }
    .spa-content-panel { padding: 25px 18px; }
    .spa-heading h1 { font-size: clamp(38px, 9vw, 58px); }
    .spa-server-tile { min-height: 94px; padding: 17px; }
    .spa-server-info b { font-size: 21px; }
    .spa-products { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .spa-content-panel, .spa-content-panel > .spa-heading, .spa-server-tile, .spa-product { animation: none !important; }
    .spa-server-tile, .spa-category, .spa-back, .spa-product, .spa-product > img, .spa-product-placeholder { transition: none !important; }
}

/* SPA: animate content inside panels, never the panel itself. */
.spa-content-panel {
    animation: none !important;
    transform: none !important;
}
.spa-content-panel > .spa-heading {
    animation: none !important;
}
.spa-content-panel > .spa-heading > .panel-index,
.spa-content-panel > .spa-heading > h1,
.spa-content-panel > .spa-heading > p,
.spa-content-panel > .spa-heading > .spa-back {
    animation: vr-heading-in .48s cubic-bezier(.2,.7,.2,1) both;
}
.spa-content-panel > .spa-heading > h1 { animation-delay: .06s; }
.spa-content-panel > .spa-heading > p { animation-delay: .12s; }
.spa-content-panel > .spa-heading > .spa-back { animation-delay: 0s; }
/* Category changes replace only the catalogue contents; the large panel stays still. */
.spa-category { transform: none; }
.spa-category:hover { transform: none; }
.spa-products .spa-product { animation: vr-tile-in .42s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
    .spa-content-panel > .spa-heading > .panel-index,
    .spa-content-panel > .spa-heading > h1,
    .spa-content-panel > .spa-heading > p,
    .spa-content-panel > .spa-heading > .spa-back,
    .spa-products .spa-product { animation: none !important; }
}

/* VOLTRUSH refinement: slightly smaller card typography and denser content. */
.spa-heading h1 { font-size: clamp(31px, 4.5vw, 43px); }
.spa-server-tile { min-height: 78px; padding: 14px 16px; }
.spa-server-info b { font-size: 17px; }
.spa-server-info small { font-size: 9px; }
.spa-server-tile > i { font-size: 9px; }
.spa-product { padding: 13px; gap: 8px; }
.spa-product > img, .spa-product-placeholder { height: 120px; }
.spa-product h3 { font-size: 17px; }
.spa-product p { font-size: 9px; }
.spa-product > b { font-size: 17px; }
.spa-product button { padding: 9px 10px; font-size: 9px; }

/* Switching catalogue categories is immediate: no entrance, movement or fade. */
.spa-category-switch,
.spa-category-switch * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
}


/* VOLTRUSH final polish: clear hierarchy and consistent inner-page spacing. */
.spa-content-panel {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(151, 164, 151, .22);
    background: linear-gradient(145deg, rgba(17, 22, 21, .94), rgba(8, 11, 12, .88));
    box-shadow: 0 22px 58px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255,255,255,.025);
}
.spa-content-panel:before { pointer-events: none; }
.spa-heading { display: flex; flex-direction: column; align-items: flex-start; }
.spa-heading > .spa-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 0 19px;
    order: 0;
}
.spa-heading > .panel-index { display: block; margin: 0 0 5px; order: 1; }
.spa-heading > h1 { order: 2; }
.spa-heading > p { order: 3; }
.spa-heading > .spa-back + .panel-index { margin-top: 0; }
.spa-categories { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.spa-category { min-height: 40px; }
.spa-server-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.spa-server-tile { width: 100%; text-align: left; }
.spa-products { align-items: stretch; }
.spa-product { min-width: 0; }
.spa-info-panel { min-height: 260px; display: flex; align-items: center; }
.spa-info-panel .spa-heading { width: 100%; margin: 0; }
.spa-info-panel .spa-heading > .spa-back { margin-top: 12px; }
@media (max-width: 760px) {
    .spa-view { padding-top: 118px; }
    .spa-content-panel { padding: 22px 16px; }
    .spa-heading > .spa-back { margin-bottom: 15px; }
    .spa-categories { gap: 7px; }
    .spa-category { padding: 10px 12px; font-size: 10px; }
    .spa-server-tile { gap: 10px; }
    .spa-server-tile > i { white-space: nowrap; }
}
@media (min-width: 761px) {
    .spa-view { padding-top: 142px; }
}


/* VOLTRUSH final visual match: shop/server surfaces use the same neutral glass as homepage news. */
.spa-content-panel {
    background: rgba(8, 11, 12, .78) !important;
    border: 1px solid rgba(255, 255, 255, .09) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .38) !important;
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    backdrop-filter: blur(14px) saturate(115%);
}
.spa-content-panel:before {
    background: linear-gradient(90deg, transparent, var(--yellow, #d6bd36), transparent) !important;
}
.spa-server-tile,
.spa-product {
    background-color: rgba(8, 11, 12, .72) !important;
    border-color: rgba(255, 255, 255, .09) !important;
    color: #e8e8e8;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2) !important;
}
.spa-server-tile {
    background-image: linear-gradient(90deg, rgba(8,11,12,.94), rgba(8,11,12,.72) 58%, rgba(8,11,12,.5)), var(--server-bg, none) !important;
    background-size: cover !important;
    background-position: center !important;
}
.spa-server-tile:hover,
.spa-product:hover {
    border-color: rgba(255, 190, 30, .42) !important;
}
.spa-category, .spa-back,
.spa-product button {
    background: rgba(8, 11, 12, .78) !important;
    border-color: rgba(255, 255, 255, .12) !important;
    color: #c7cbc8 !important;
}
.spa-category.active, .spa-category:hover, .spa-back:hover {
    background: rgba(255, 190, 30, .08) !important;
    border-color: rgba(255, 190, 30, .48) !important;
    color: var(--yellow, #d6bd36) !important;
}
.spa-product > img, .spa-product-placeholder {
    background: rgba(255, 255, 255, .025) !important;
    border-color: rgba(255, 255, 255, .08) !important;
}
/* Category selection is an instant content swap: no fade, slide, scale or hover motion. */
.spa-category-switch,
.spa-category-switch *,
.spa-category-switch .spa-product,
.spa-category-switch .spa-product > img,
.spa-category-switch .spa-product-placeholder {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
}

/* VOLTRUSH server & shop cards — visual direction from the supplied LoliLand reference */
.spa-view { max-width: 1460px; padding-left: clamp(18px, 4vw, 58px); padding-right: clamp(18px, 4vw, 58px); }
.spa-content-panel { padding: clamp(22px, 3vw, 42px) !important; }
.spa-heading { margin-bottom: clamp(26px, 3vw, 42px); }
.spa-heading h1 { font-family: Manrope, sans-serif; font-size: clamp(30px, 3.2vw, 43px); font-weight: 850; letter-spacing: -.035em; line-height: 1.12; }
.spa-heading h1 em { color: #ffd34e; }
.spa-heading p { max-width: 760px; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.7; color: #c1c2cc; }
.spa-server-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.5vw, 22px) !important; }
.spa-server-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: clamp(180px, 17vw, 250px) !important; padding: clamp(18px, 1.7vw, 26px) !important; border-radius: 22px !important; overflow: hidden; isolation: isolate; background-image: linear-gradient(90deg,rgba(5,7,18,.90) 0%,rgba(5,7,18,.62) 43%,rgba(5,7,18,.12) 100%),linear-gradient(0deg,rgba(4,5,14,.36),transparent 58%),var(--server-bg,none) !important; background-size: cover !important; background-position: center !important; border: 1px solid rgba(180,184,255,.18) !important; box-shadow: 0 12px 32px rgba(0,0,0,.24) !important; text-align: left; }
.spa-server-tile:before { content:""; position:absolute; inset:0; z-index:-1; background:radial-gradient(circle at 85% 15%,rgba(112,135,255,.13),transparent 42%); pointer-events:none; }
.spa-server-tile:hover { border-color:rgba(255,211,78,.55) !important; filter:brightness(1.08); }
.spa-server-tags { display:flex; gap:8px; align-items:center; margin-bottom: clamp(22px, 3.2vw, 46px); }
.spa-server-tags small { display:inline-flex; align-items:center; min-height:22px; padding:4px 10px; border-radius:7px; background:rgba(235,237,245,.25); color:#fff; font:800 9px/1 Manrope,sans-serif; }
.spa-server-info { display:flex; flex-direction:column; gap:7px; max-width:70%; }
.spa-server-info b { font:850 clamp(20px, 2vw, 29px)/1.15 Manrope,sans-serif !important; letter-spacing:-.025em !important; text-shadow:0 2px 14px #0009; }
.spa-server-info small { color:#e0e1eb !important; font:600 11px/1.5 Manrope,sans-serif !important; text-shadow:0 1px 8px #000; }
.spa-server-online { position:absolute; left:clamp(18px,1.7vw,26px); bottom:clamp(16px,1.6vw,22px); display:inline-flex; align-items:center; gap:10px; padding:9px 15px; border:1px solid rgba(255,255,255,.16); border-radius:13px; background:rgba(31,32,43,.84); color:#fff; font:800 14px Manrope,sans-serif; backdrop-filter:blur(8px); }
.spa-server-online i { width:8px; height:8px; border-radius:50%; background:#8cff38; box-shadow:0 0 10px #8cff3870; }
.spa-server-online.is-offline i { background:#9699a4; box-shadow:none; }
.spa-server-online b { font:800 12px Manrope,sans-serif; }
.spa-server-tile > i { position:absolute; right:20px; bottom:20px; color:#fff; font:800 10px Manrope,sans-serif; font-style:normal; opacity:.9; }
.spa-products { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:18px !important; }
.spa-product { border-radius:18px !important; padding:16px !important; background:rgba(20,21,32,.92) !important; border:1px solid rgba(180,184,255,.16) !important; box-shadow:0 10px 28px rgba(0,0,0,.2) !important; }
.spa-product > img,.spa-product-placeholder { height:clamp(145px,15vw,210px) !important; object-fit:cover !important; border-radius:12px !important; }
.spa-product h3 { font:850 clamp(17px,1.5vw,21px)/1.2 Manrope,sans-serif !important; color:#fff !important; }
.spa-product p { font:500 12px/1.55 Manrope,sans-serif !important; color:#b6b8c5 !important; }
.spa-product > b { color:#ffd34e !important; font:850 21px Manrope,sans-serif !important; }
.spa-product button { border-radius:9px !important; }
.spa-categories { margin:24px 0 !important; }
.spa-category { border-radius:10px !important; font:800 11px Manrope,sans-serif !important; }
@media(max-width:900px){.spa-products{grid-template-columns:repeat(2,minmax(0,1fr)) !important}.spa-server-tile{min-height:180px !important}}
@media(max-width:620px){.spa-view{padding-left:12px;padding-right:12px}.spa-content-panel{padding:18px 13px !important}.spa-server-list{grid-template-columns:1fr !important;gap:12px !important}.spa-server-tile{min-height:178px !important;border-radius:16px !important}.spa-server-info{max-width:85%}.spa-server-info b{font-size:21px !important}.spa-products{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}.spa-product{padding:10px !important}.spa-product>img,.spa-product-placeholder{height:125px !important}.spa-product h3{font-size:15px !important}.spa-product p{font-size:10px !important}.spa-product>b{font-size:17px !important}}
/* Category switching remains instantaneous, as requested. */
.spa-category-switch,.spa-category-switch *{animation:none !important;transition:none !important;transform:none !important;filter:none !important}


/* Homepage account card: restored to its original non-animated state. */
.landing .side-column .account-prompt { animation: none !important; }

/* Account uses the shared SPA shell while preserving its original desktop proportions. */
.account-spa-view {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 65vh;
  margin: 0 auto;
  padding: 0 0 24px;
}
.account-spa-view[hidden] { display: none !important; }
.account-spa-view .account-page-content {
  display: block;
  box-sizing: border-box;
  width: min(1008px, 90vw);
  max-width: none;
  margin: 0 auto;
  padding: 123px 0 24px;
}
.account-spa-view .account-widget {
  width: 100%;
  max-width: none;
  margin: 0;
  animation: none !important;
}
@media (max-width: 760px) {
  .account-spa-view .account-page-content {
    width: calc(100% - 40px);
    padding: 103px 0 36px;
  }
}
@media (max-width: 420px) {
  .account-spa-view .account-page-content { width: calc(100% - 28px); }
}

/* VOLTRUSH content studio: news and rules */
.admin-news-card { display:grid; gap:10px; }
.admin-news-meta { display:grid; grid-template-columns: minmax(150px,1fr) minmax(220px,1fr); gap:12px; }
.admin-news-cover-preview { min-height:82px; display:grid; place-items:center; overflow:hidden; border:1px dashed rgba(255,255,255,.15); border-radius:10px; color:#777; background:rgba(0,0,0,.14); font-size:11px; }
.admin-news-cover-preview img { display:block; width:100%; max-height:220px; object-fit:cover; }
.admin-rich-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding:8px; border:1px solid rgba(255,255,255,.12); border-radius:9px 9px 0 0; background:#202122; }
.admin-rich-toolbar button,.rich-image-button { min-height:32px; padding:6px 10px; border:1px solid rgba(255,255,255,.13); border-radius:7px; color:#ddd; background:#292a2b; font:700 11px Manrope,sans-serif; cursor:pointer; }
.admin-rich-toolbar button:hover,.rich-image-button:hover { border-color:#ffb52e; color:#ffb52e; }
.rich-image-button { display:inline-flex!important; align-items:center; margin:0!important; }
.admin-rich-editor { min-height:230px; padding:15px; border:1px solid rgba(255,255,255,.13); border-top:0; border-radius:0 0 9px 9px; outline:none; color:#eee; background:#151617; font:400 13px/1.75 Manrope,sans-serif; }
.admin-rich-editor:focus { border-color:#ffb52e; }
.admin-rich-editor:empty:before { content:attr(data-placeholder); color:#777; pointer-events:none; }
.admin-rich-editor h2 { margin:16px 0 8px; font-size:21px; }
.admin-rich-editor blockquote,.news-modal-content blockquote { margin:14px 0; padding:10px 14px; border-left:3px solid #ffb52e; color:#bbb; background:rgba(255,181,46,.06); }
.admin-rich-editor img { display:block; max-width:100%; max-height:360px; margin:12px auto; border-radius:9px; }
.rule-section-tabs,.public-rule-tabs { display:flex; gap:8px; overflow-x:auto; padding:4px 2px 12px; scrollbar-width:thin; }
.rule-section-tab,.public-rule-tab { flex:0 0 auto; padding:11px 16px; border:1px solid rgba(255,255,255,.13); border-radius:9px; color:#aaa; background:rgba(255,255,255,.035); font:700 11px Manrope,sans-serif; cursor:pointer; }
.rule-section-tab.active,.public-rule-tab.active { border-color:#ffb52e; color:#171717; background:#ffb52e; }
.admin-rule-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:14px; }
.admin-rule-list { display:grid; gap:9px; margin-top:14px; }
.admin-rule-row { display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:10px; }
.admin-rule-number { color:#ffb52e; font:800 17px 'Barlow Condensed',sans-serif; }
.admin-rule-row textarea { width:100%; min-height:54px; padding:10px 12px; border:1px solid rgba(255,255,255,.13); border-radius:8px; color:#eee; background:#171819; font:500 12px/1.6 Manrope,sans-serif; resize:vertical; }
.admin-rule-row textarea:focus { outline:none; border-color:#ffb52e; }
.news-widget { display:block; padding:13px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.news-widget-copy { display:grid; grid-template-columns:94px minmax(0,1fr); gap:13px; align-items:start; }
.news-widget-image { width:94px; height:88px; object-fit:cover; border-radius:9px; }
.news-widget-copy small { display:block; margin-bottom:5px; color:#888; font-size:10px; }
.news-widget-copy b { display:block; color:#f1f1f1; font-size:13px; }
.news-widget-copy p { margin:5px 0 8px; color:#aaa; font-size:11px; line-height:1.55; }
.news-read-more { padding:0; border:0; color:#ffb52e; background:transparent; font:800 10px Manrope,sans-serif; cursor:pointer; }
.news-read-more span { padding-left:5px; }
.news-modal-backdrop { position:fixed; z-index:10000; inset:0; display:grid; place-items:center; padding:22px; background:rgba(0,0,0,.78); backdrop-filter:blur(10px); }
.news-modal { position:relative; width:min(780px,100%); max-height:min(86vh,900px); overflow:auto; padding:34px; border:1px solid rgba(255,255,255,.14); border-radius:17px; color:#eee; background:#17191a; box-shadow:0 25px 100px #000b; }
.news-modal-close { position:sticky; float:right; top:0; width:34px; height:34px; margin:-18px -18px 4px 12px; border:1px solid rgba(255,255,255,.15); border-radius:9px; color:#ddd; background:#252728; font-size:23px; cursor:pointer; }
.news-modal-content { font:400 13px/1.8 Manrope,sans-serif; overflow-wrap:anywhere; }
.news-modal-content h2 { margin:18px 0 9px; color:#fff; font:800 25px 'Barlow Condensed',sans-serif; }
.news-modal-content img { display:block; max-width:100%; height:auto; margin:15px auto; border-radius:10px; }
.news-modal-content a { color:#ffb52e; }
.spa-rules-panel { max-width:100%; }
.public-rule-tabs { margin:22px 0 10px; }
.public-rule-content { padding:24px; border:1px solid rgba(255,255,255,.1); border-radius:14px; background:rgba(255,255,255,.025); }
.public-rule-heading { margin-bottom:15px; }
.public-rule-heading span { color:#ffb52e; font-size:10px; font-weight:800; letter-spacing:.12em; }
.public-rule-heading h2 { margin:6px 0 0; font:800 26px 'Barlow Condensed',sans-serif; }
.public-rule-item { display:grid; grid-template-columns:54px minmax(0,1fr); gap:12px; padding:15px 0; border-top:1px solid rgba(255,255,255,.08); }
.public-rule-item b { color:#ffb52e; font:800 17px 'Barlow Condensed',sans-serif; }
.public-rule-item p { margin:0; color:#c8c8c8; font-size:13px; line-height:1.75; white-space:pre-wrap; }
@media(max-width:700px){.admin-news-meta{grid-template-columns:1fr}.admin-rule-row{grid-template-columns:42px minmax(0,1fr)}.admin-rule-row .admin-danger{grid-column:2;justify-self:start}.news-widget-copy{grid-template-columns:76px minmax(0,1fr)}.news-widget-image{width:76px;height:76px}.news-modal{padding:24px 18px}.public-rule-content{padding:16px}.public-rule-item{grid-template-columns:42px minmax(0,1fr)}}

/* VOLTRUSH refinement pass: compact SPA cards, flowing rule tabs and rich rules. */
.spa-view { max-width: 1080px !important; }
.spa-content-panel { padding: clamp(22px, 3vw, 43px) !important; }
.spa-server-list { gap: 12px !important; }
.spa-server-tile { min-height: 87px !important; padding: 17px 19px !important; gap: 15px !important; }
.spa-server-icon { width: 48px !important; height: 48px !important; }
.spa-server-info b { font-size: 18px !important; }
.spa-products { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)) !important; gap: 13px !important; }
.spa-product { padding: 15px !important; gap: 8px !important; }
.spa-product > img, .spa-product-placeholder { height: 123px !important; }
.spa-product h3 { font-size: 16px !important; }
.spa-product > b { font-size: 17px !important; }
.spa-heading { margin-bottom: 24px !important; }
.spa-heading h1 { font-size: clamp(40px, 5vw, 64px) !important; }

/* Rule section tabs wrap into new rows instead of overflowing to the right. */
.rule-section-tabs, .public-rule-tabs {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: 8px !important;
    overflow: visible !important;
    padding: 4px 0 14px !important;
}
.rule-section-tab, .public-rule-tab {
    width: 100%; min-width: 0; min-height: 38px;
    padding: 9px 12px !important;
    white-space: normal; overflow-wrap: anywhere; text-align: center;
    line-height: 1.35;
}
.admin-rule-editor-row { min-width: 0; margin-top: 16px; }
.admin-rule-editor-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 7px; }
.admin-rule-rich-editor { min-height:150px; }
.admin-rule-rich-editor img { max-width: min(100%, 560px); }
.admin-rule-editor-row + .admin-rule-editor-row { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); }

/* Rich formatted rules on the public rules page. */
.public-rule-content { padding:18px !important; }
.public-rule-rich { min-width:0; color:#c8c8c8; font-size:13px; line-height:1.75; overflow-wrap:anywhere; }
.public-rule-rich p { margin:0 0 9px; color:inherit; font-size:inherit; line-height:inherit; white-space:pre-wrap; }
.public-rule-rich p:last-child { margin-bottom:0; }
.public-rule-rich h2, .public-rule-rich h3 { margin:12px 0 7px; color:#f0f0f0; line-height:1.3; }
.public-rule-rich ul, .public-rule-rich ol { margin:8px 0; padding-left:22px; }
.public-rule-rich blockquote { margin:10px 0; padding:9px 13px; border-left:3px solid #ffb52e; background:rgba(255,181,46,.06); }
.public-rule-rich img { display:block; max-width:100%; max-height:420px; height:auto; margin:12px 0; border-radius:9px; }

/* Rule switching animates the rules themselves; the heading stays still. */
@keyframes vr-rule-rise-in {
    from { opacity:0; transform:translate3d(0,18px,0) scale(.985); filter:blur(3px); }
    to { opacity:1; transform:translate3d(0,0,0) scale(1); filter:blur(0); }
}
.spa-rules-panel > .spa-heading,
.spa-rules-panel > .spa-heading > .panel-index,
.spa-rules-panel > .spa-heading > h1,
.spa-rules-panel > .spa-heading > p { animation:none !important; }
.spa-rules-panel .public-rule-heading { animation:none !important; }
.spa-rules-panel .public-rule-item {
    animation:vr-rule-rise-in .48s cubic-bezier(.2,.72,.2,1) both;
    will-change:transform,opacity;
}
.spa-rules-panel .public-rule-item:nth-child(1) { animation-delay:.04s; }
.spa-rules-panel .public-rule-item:nth-child(2) { animation-delay:.09s; }
.spa-rules-panel .public-rule-item:nth-child(3) { animation-delay:.14s; }
.spa-rules-panel .public-rule-item:nth-child(4) { animation-delay:.19s; }
.spa-rules-panel .public-rule-item:nth-child(5) { animation-delay:.24s; }
.spa-rules-panel .public-rule-item:nth-child(n+6) { animation-delay:.28s; }

/* Keep the account widget mathematically centered at common desktop widths. */
.account-spa-view { display:block; width:100%; min-width:0; }
.account-spa-view .account-page-content {
    display:block !important; box-sizing:border-box !important;
    width:min(1008px, calc(100% - 48px)) !important;
    max-width:1008px !important;
    margin-left:auto !important; margin-right:auto !important;
    padding-left:0 !important; padding-right:0 !important;
    animation:vr-account-open .52s cubic-bezier(.2,.75,.2,1) both;
}
@keyframes vr-account-open {
    from { opacity:0; transform:translate3d(0,18px,0) scale(.985); filter:blur(5px); }
    to { opacity:1; transform:translate3d(0,0,0) scale(1); filter:blur(0); }
}
@media (max-width:760px) {
    .spa-view { max-width:100% !important; }
    .spa-content-panel { padding:20px 14px !important; }
    .spa-server-tile { min-height:76px !important; padding:13px !important; }
    .spa-products { grid-template-columns:repeat(auto-fill,minmax(145px,1fr)) !important; }
    .spa-product > img, .spa-product-placeholder { height:105px !important; }
    .account-spa-view .account-page-content { width:calc(100% - 32px) !important; padding-top:103px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .spa-rules-panel .public-rule-item, .account-spa-view .account-page-content { animation:none !important; }
}

/* VOLTRUSH v3.2 — compact content panels and a shorter news reader */
/* Shared pages: reduce the visual footprint of the main content blocks by ~20%. */
.spa-view {
    max-width: 864px !important;
    padding-left: clamp(16px, 3.2vw, 46px) !important;
    padding-right: clamp(16px, 3.2vw, 46px) !important;
}
.spa-view > .spa-content-panel {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(18px, 2.4vw, 34px) !important;
}
.spa-view .spa-heading { margin-bottom: 19px !important; }
.spa-view .spa-heading h1 { font-size: clamp(32px, 4vw, 52px) !important; }
.spa-view .spa-heading p { max-width: 620px; font-size: 12px !important; }

/* Server cards: preserve the two-column layout while reducing their footprint. */
.spa-view .spa-server-list { gap: 10px !important; }
.spa-view .spa-server-tile { min-height: 70px !important; padding: 13px 15px !important; border-radius: 15px !important; }
.spa-view .spa-server-tags { margin-bottom: 12px !important; }
.spa-view .spa-server-info b { font-size: 15px !important; }
.spa-view .spa-server-info small { font-size: 10px !important; }
.spa-view .spa-server-online { left: 15px; bottom: 12px; padding: 6px 10px; font-size: 11px; }

/* Shop product cards and category controls. */
.spa-view .spa-products { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; gap: 10px !important; }
.spa-view .spa-product { padding: 12px !important; gap: 7px !important; border-radius: 14px !important; }
.spa-view .spa-product > img, .spa-view .spa-product-placeholder { height: 98px !important; border-radius: 9px !important; }
.spa-view .spa-product h3 { font-size: 14px !important; }
.spa-view .spa-product p { font-size: 10px !important; }
.spa-view .spa-product > b { font-size: 15px !important; }
.spa-view .spa-product button { padding: 8px !important; font-size: 10px !important; }
.spa-view .spa-categories { gap: 7px !important; margin: 18px 0 !important; }
.spa-view .spa-category { padding: 9px 13px !important; }

/* Rules: compact section tabs and the rules panel. */
.spa-view .public-rule-tabs { gap: 7px !important; margin: 16px 0 8px !important; }
.spa-view .public-rule-tab { min-height: 33px; padding: 7px 10px !important; font-size: 10px !important; }
.spa-view .public-rule-content { padding: 15px !important; border-radius: 11px !important; }
.spa-view .public-rule-heading { margin-bottom: 10px !important; }
.spa-view .public-rule-heading h2 { font-size: 21px !important; }
.spa-view .public-rule-item { grid-template-columns: 43px minmax(0,1fr); gap: 9px; padding: 11px 0; }
.spa-view .public-rule-item b { font-size: 15px !important; }
.spa-view .public-rule-rich { font-size: 11px !important; line-height: 1.65 !important; }
.spa-view .public-rule-rich img { max-height: 330px; }

/* Account page: reduce the dashboard shell and its internal spacing. */
.account-spa-view .account-page-content { width: min(1008px, calc(100% - 48px)) !important; max-width: 1008px !important; }
.account-spa-view .account-widget { transform-origin: top center; }
.account-spa-view .account-widget-heading { gap: 18px !important; }
.account-spa-view .account-widget-layout { gap: 14px !important; }
.account-spa-view .account-data-panel { padding: 16px !important; }
.account-spa-view .account-tab-content { padding: 14px !important; }

/* News reader: shorter, narrower and deliberately offset from the top edge. */
.news-modal-backdrop { display: flex !important; align-items: flex-start !important; justify-content: center !important; overflow-y: auto; padding: clamp(58px, 8vh, 82px) 18px 24px !important; }
.news-modal { box-sizing: border-box; width: min(660px, 100%) !important; max-height: min(72vh, 680px) !important; margin: 0 auto !important; padding: 25px !important; border-radius: 15px !important; }
.news-modal-content { font-size: 12px !important; line-height: 1.7 !important; }
.news-modal-content h2 { margin: 13px 0 7px !important; font-size: 22px !important; }
.news-modal-content p { margin: 0 0 10px; }
.news-modal-content img { max-height: 300px; width: auto; object-fit: contain; margin: 12px auto !important; }
.news-modal-close { margin: -11px -11px 3px 10px !important; }

@media (max-width: 760px) {
    .spa-view { max-width: 100% !important; padding-left: 12px !important; padding-right: 12px !important; }
    .spa-view > .spa-content-panel { padding: 16px 13px !important; }
    .spa-view .spa-server-list { grid-template-columns: 1fr !important; }
    .spa-view .spa-server-tile { min-height: 68px !important; padding: 12px !important; }
    .spa-view .spa-products { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
    .spa-view .spa-product > img, .spa-view .spa-product-placeholder { height: 92px !important; }
    .spa-view .public-rule-content { padding: 12px !important; }
    .account-spa-view .account-page-content { width: calc(100% - 32px) !important; max-width: none !important; }
    .news-modal-backdrop { padding: 42px 12px 16px !important; }
    .news-modal { max-height: 78vh !important; padding: 20px 16px !important; }
}

/* VOLTRUSH v4 — denser control center, top-aligned save actions and refined scrollbars. */
.admin-main {
    width: min(1216px, calc(100% - 72px)) !important;
    margin-top: 34px !important;
    margin-bottom: 72px !important;
}
.admin-heading { margin-bottom: 18px !important; }
.admin-heading h1 { font-size: clamp(34px, 4vw, 52px) !important; }
.admin-tabs { gap: 6px !important; margin-bottom: 18px !important; }
.admin-tab { padding: 9px 13px !important; font-size: 10px !important; }
.admin-stat-grid { gap: 10px !important; margin-bottom: 13px !important; }
.admin-stat, .admin-card, .admin-editor-card, .admin-user-detail,
.admin-user-table-wrap { padding: 16px !important; border-radius: 12px !important; }
.admin-stat strong { font-size: 27px !important; }
.admin-card h2, .admin-section-head h2 { font-size: 21px !important; }
.admin-section-head { gap: 12px !important; margin-bottom: 12px !important; }
.admin-section-head p { font-size: 11px !important; }
.admin-editor-list { gap: 10px !important; margin-bottom: 12px !important; }
.admin-editor-card { gap: 8px !important; }
.admin-editor-heading { margin-bottom: 7px !important; }
.admin-form-grid { gap: 9px !important; }
.admin-editor-card label { gap: 5px !important; font-size: 10px !important; }
.admin-editor-card input, .admin-editor-card textarea { padding: 9px 11px !important; font-size: 11px !important; }
.admin-rich-toolbar { gap: 5px !important; padding: 6px !important; }
.admin-rich-toolbar button, .rich-image-button { min-height: 28px !important; padding: 5px 8px !important; font-size: 10px !important; }
.admin-rich-editor { min-height: 185px !important; padding: 12px !important; font-size: 12px !important; }
.admin-news-cover-preview { min-height: 68px !important; }
.admin-news-cover-preview img { max-height: 170px !important; }
.admin-rule-editor-row { margin-top: 11px !important; }
.admin-rule-rich-editor { min-height: 125px !important; }
.admin-rule-actions { margin-top: 10px !important; }
.admin-user-tools { gap: 8px !important; margin-bottom: 12px !important; }
.admin-user-table th, .admin-user-table td { padding: 9px 10px !important; }
.admin-head-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:7px; }
.admin-head-actions .admin-primary { min-height:34px; padding:8px 12px; font-size:10px; }
.admin-head-actions .admin-secondary-action { color:#ddd; border-color:rgba(255,255,255,.13); background:rgba(255,255,255,.055); }
.admin-head-actions .admin-secondary-action:hover { border-color:#ffb52e; color:#ffb52e; }
.admin-settings .admin-section-head { align-items:center; }

/* News dialog keeps breathing room at both ends; scrollbar is branded. */
.news-modal-backdrop { padding-bottom:clamp(34px, 6vh, 58px) !important; }
.news-modal { padding-bottom:34px !important; scrollbar-width:thin; scrollbar-color:#a87926 #202326; }
.news-modal-content { padding-bottom:18px; }
.news-modal::-webkit-scrollbar { width:8px; }
.news-modal::-webkit-scrollbar-track { margin:13px 0 18px; border-radius:20px; background:#202326; }
.news-modal::-webkit-scrollbar-thumb { border:2px solid #202326; border-radius:20px; background:linear-gradient(180deg,#ffc04a,#9b681c); }
.news-modal::-webkit-scrollbar-thumb:hover { background:linear-gradient(180deg,#ffd27b,#bd842d); }
@media(max-width:760px) {
  .admin-main { width:calc(100% - 28px) !important; margin-top:24px !important; }
  .admin-head-actions { width:100%; justify-content:flex-start; }
  .admin-section-head { align-items:flex-start !important; flex-direction:column !important; }
  .admin-settings .admin-section-head { align-items:flex-start !important; }
  .news-modal-backdrop { padding-bottom:24px !important; }
}

/* News layout and editor overflow fixes */
.news-list {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}
.news-list .news-widget {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,.09);
    border-bottom: 0;
}
.news-list .news-widget:first-child { border-top: 0; }
.news-list .news-widget-copy { display: block; min-width: 0; }
.news-list .news-widget-copy small { color: #b38a3e; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.news-list .news-widget-copy b { display: block; margin-top: 4px; font: 800 17px/1.2 'Barlow Condensed',sans-serif; letter-spacing: .025em; overflow-wrap: anywhere; }
.news-list .news-widget-copy p { margin: 7px 0 9px; color: #aab2ac; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.news-list .news-widget-image { display: block; width: 100%; height: 142px; max-height: 142px; object-fit: cover; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.news-list .news-featured { padding-top: 4px; }
.news-list .news-featured .news-widget-image { height: 174px; max-height: 174px; }
.news-list .news-featured .news-widget-copy b { font-size: 21px; }
.news-list .news-read-more { display: inline-flex; align-items: center; gap: 7px; padding: 7px 0; color: #ffc04a; font-size: 10px; transition: color .18s, gap .18s; }
.news-list .news-read-more:hover { color: #ffe0a0; gap: 11px; }
.news-panel { min-width: 0; }
.news-panel .news-note { margin-top: 12px; }

/* Keep long rich-text content inside its editor instead of widening the page. */
.admin-main, .admin-section, .admin-editor-card, .admin-news-card,
#newsEditorList, .admin-rich-toolbar, .admin-rich-editor { min-width: 0; max-width: 100%; box-sizing: border-box; }
.admin-news-card { overflow: hidden; }
.admin-news-card label, .admin-news-card input { min-width: 0; max-width: 100%; }
.admin-rich-editor {
    width: 100%;
    max-width: 100%;
    max-height: 520px;
    overflow: auto;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-wrap;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #a87926 #202326;
}
.admin-rich-editor * { max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
.admin-rich-editor img, .admin-rich-editor video, .admin-rich-editor iframe { max-width: 100%; height: auto; }
.admin-rich-editor table { display: block; max-width: 100%; overflow-x: auto; }
.admin-rich-editor::-webkit-scrollbar { width: 8px; height: 8px; }
.admin-rich-editor::-webkit-scrollbar-track { background: #202326; border-radius: 10px; }
.admin-rich-editor::-webkit-scrollbar-thumb { background: #a87926; border: 2px solid #202326; border-radius: 10px; }
.admin-news-meta { min-width: 0; }
@media (max-width: 700px) {
    .news-list .news-widget-image { height: 130px; max-height: 130px; }
    .news-list .news-featured .news-widget-image { height: 150px; max-height: 150px; }
    .admin-rich-editor { max-height: 420px; }
}


/* VOLTRUSH — Ampere wallet and account layout restoration */
.account-spa-view .account-page-content { width:min(1008px,calc(100% - 48px)) !important; max-width:1008px !important; }
.amp-account-action { border-color:rgba(255,190,70,.18) !important; }
.amp-balance-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:14px 0 18px; }
.amp-balance-grid > div { min-width:0; padding:15px 17px; border:1px solid rgba(255,190,70,.18); border-radius:12px; background:linear-gradient(135deg,rgba(255,181,46,.10),rgba(255,255,255,.025)); }
.amp-balance-grid small { display:block; margin-bottom:5px; color:#aeb5b0; font-size:10px; font-weight:800; letter-spacing:.12em; }
.amp-balance-grid b { color:#ffd078; font:800 25px/1.1 'Barlow Condensed',sans-serif; }
.amp-action-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.amp-action-card { display:flex; flex-direction:column; align-items:stretch; min-width:0; padding:17px; border:1px solid rgba(255,255,255,.09); border-radius:13px; background:rgba(255,255,255,.025); }
.amp-action-card h3 { margin:5px 0 6px; color:#f1f1f1; font:800 20px/1.15 'Barlow Condensed',sans-serif; }
.amp-action-card p { min-height:38px; margin:0 0 13px; color:#aeb5b0; font-size:11px; line-height:1.55; }
.amp-card-kicker { color:#e7ad45; font-size:9px; font-weight:900; letter-spacing:.14em; }
.amp-action-card label { margin:8px 0 5px; color:#c7ccc8; font-size:10px; font-weight:800; }
.amp-action-card input,.amp-action-card select { width:100%; min-width:0; box-sizing:border-box; padding:11px 12px; border:1px solid rgba(255,255,255,.12); border-radius:8px; outline:none; background:#171a1c; color:#f5f5f5; font:600 12px Manrope,sans-serif; }
.amp-action-card input:focus,.amp-action-card select:focus { border-color:#c28a2b; }
.amp-action-card .primary-button { margin-top:12px; width:100%; }
.amp-transfer-notice { margin:13px 0 18px; padding:11px 13px; border-left:3px solid #c28a2b; border-radius:0 8px 8px 0; background:rgba(255,181,46,.055); color:#b9bdb9; font-size:10px; line-height:1.6; }
.amp-history-title { margin:18px 0 9px; color:#eee; font:800 17px 'Barlow Condensed',sans-serif; }
.amp-transfer-record { gap:10px; }
.amp-transfer-status { white-space:nowrap; font-size:9px; font-weight:900; letter-spacing:.06em; }
.amp-transfer-status.pending { color:#e8b44e; }
.amp-transfer-status.cancelled { color:#9da4a0; }
.amp-transfer-status.done { color:#73c995; }
@media(max-width:680px) { .amp-action-grid { grid-template-columns:1fr; } .amp-balance-grid b { font-size:22px; } .amp-transfer-record { flex-wrap:wrap; } }

/* Compact currency tools: keep the exchange controls visible without page scrolling. */
.amp-balance-compact { margin:9px 0 11px; gap:9px; }
.amp-balance-compact > div { padding:9px 12px; border-radius:9px; }
.amp-balance-compact small { margin-bottom:2px; font-size:9px; }
.amp-balance-compact b { font-size:21px; }
.amp-transfer-balance { grid-template-columns:minmax(0,1fr); margin-bottom:9px; }
.amp-convert-card,.amp-transfer-card { padding:12px 14px; gap:0; }
.amp-action-card h3 { margin:3px 0 4px; font-size:18px; }
.amp-action-card p { min-height:0; margin:0 0 7px; font-size:10px; line-height:1.4; }
.amp-action-card label { margin:5px 0 4px; font-size:9px; }
.amp-action-card input,.amp-action-card select { padding:8px 10px; }
.amp-action-card .primary-button { margin-top:9px; min-height:38px; padding-top:9px; padding-bottom:9px; }
.amp-convert-fields { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(130px,.8fr); gap:10px; align-items:end; }
.amp-convert-fields > div { min-width:0; }
.amp-convert-result { min-height:37px; display:flex; flex-direction:column; justify-content:center; padding:6px 10px; border:1px solid rgba(255,190,70,.2); border-radius:8px; background:rgba(255,181,46,.06); }
.amp-convert-result small { color:#aeb5b0; font-size:8px; font-weight:900; letter-spacing:.1em; }
.amp-convert-result output { color:#ffd078; font:800 19px/1.1 'Barlow Condensed',sans-serif; }
.amp-transfer-notice { margin:8px 0 10px; padding:7px 10px; font-size:9px; line-height:1.4; }
.amp-history-title { margin:10px 0 6px; }
[data-account-pane="transfer"] #ampTransfersList { max-height:112px; overflow:auto; overscroll-behavior:contain; }
[data-account-pane="transfer"] .amp-transfer-record { padding:7px 9px; }
@media(max-width:680px) {
  .amp-convert-fields { grid-template-columns:minmax(0,1fr); gap:5px; }
  .amp-convert-result { min-height:32px; }
  .amp-balance-compact b { font-size:19px; }
  [data-account-pane="transfer"] #ampTransfersList { max-height:150px; }
}

/* VOLTRUSH currency panels: compact layout to avoid unnecessary page scrolling. */
.account-tab-pane[data-account-pane="currency"],
.account-tab-pane[data-account-pane="transfer"] { padding-top: 2px !important; }
.account-tab-pane[data-account-pane="currency"] > .panel-index,
.account-tab-pane[data-account-pane="transfer"] > .panel-index { margin-bottom: 2px !important; }
.account-tab-pane[data-account-pane="currency"] > h2,
.account-tab-pane[data-account-pane="transfer"] > h2 { margin: 1px 0 7px !important; font-size: 17px !important; line-height: 1.05 !important; }
.account-tab-pane[data-account-pane="currency"] .amp-balance-grid,
.account-tab-pane[data-account-pane="transfer"] .amp-balance-grid { gap: 6px !important; margin: 0 0 7px !important; }
.account-tab-pane[data-account-pane="currency"] .amp-balance-grid > div,
.account-tab-pane[data-account-pane="transfer"] .amp-balance-grid > div { padding: 5px 9px !important; border-radius: 7px !important; }
.account-tab-pane[data-account-pane="currency"] .amp-balance-grid small,
.account-tab-pane[data-account-pane="transfer"] .amp-balance-grid small { margin: 0 5px 0 0 !important; display: inline !important; font-size: 8px !important; }
.account-tab-pane[data-account-pane="currency"] .amp-balance-grid b,
.account-tab-pane[data-account-pane="transfer"] .amp-balance-grid b { font-size: 16px !important; }
.account-tab-pane[data-account-pane="currency"] .amp-action-card,
.account-tab-pane[data-account-pane="transfer"] .amp-action-card { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 5px !important; padding: 8px 10px !important; border-radius: 8px !important; }
.account-tab-pane[data-account-pane="currency"] .amp-card-kicker,
.account-tab-pane[data-account-pane="transfer"] .amp-card-kicker,
.account-tab-pane[data-account-pane="currency"] .amp-action-card p,
.account-tab-pane[data-account-pane="transfer"] .amp-action-card p { display: none !important; }
.account-tab-pane[data-account-pane="currency"] .amp-action-card h3,
.account-tab-pane[data-account-pane="transfer"] .amp-action-card h3 { margin: 0 !important; font-size: 15px !important; }
.account-tab-pane[data-account-pane="currency"] .amp-action-card label,
.account-tab-pane[data-account-pane="transfer"] .amp-action-card label { margin: 0 0 2px !important; font-size: 8px !important; }
.account-tab-pane[data-account-pane="currency"] .amp-action-card input,
.account-tab-pane[data-account-pane="transfer"] .amp-action-card input,
.account-tab-pane[data-account-pane="transfer"] .amp-action-card select { min-height: 31px !important; padding: 5px 8px !important; font-size: 10px !important; }
.account-tab-pane[data-account-pane="currency"] .amp-convert-fields { grid-template-columns: minmax(0,1fr) minmax(105px,.55fr) !important; gap: 7px !important; align-items: end !important; }
.account-tab-pane[data-account-pane="currency"] .amp-convert-result { min-height: 31px !important; padding: 4px 8px !important; }
.account-tab-pane[data-account-pane="currency"] .amp-convert-result output { font-size: 16px !important; }
.account-tab-pane[data-account-pane="currency"] .amp-action-card .primary-button,
.account-tab-pane[data-account-pane="transfer"] .amp-action-card .primary-button { min-height: 30px !important; margin-top: 1px !important; padding: 5px 9px !important; font-size: 9px !important; }
.account-tab-pane[data-account-pane="transfer"] .amp-transfer-notice { margin: 5px 0 7px !important; padding: 5px 8px !important; font-size: 8px !important; line-height: 1.3 !important; }
.account-tab-pane[data-account-pane="transfer"] .amp-history-title { margin: 6px 0 4px !important; font-size: 14px !important; }
.account-tab-pane[data-account-pane="transfer"] #ampTransfersList { max-height: 145px; overflow-y: auto; }
.account-tab-pane[data-account-pane="currency"] #ampMessage,
.account-tab-pane[data-account-pane="transfer"] #ampTransferMessage { margin: 2px 0 !important; }
@media (min-width: 681px) {
  .account-tab-pane[data-account-pane="transfer"] .amp-transfer-card { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto !important; align-items: end !important; column-gap: 8px !important; }
  .account-tab-pane[data-account-pane="transfer"] .amp-transfer-card h3 { grid-column: 1 / -1; }
  .account-tab-pane[data-account-pane="transfer"] .amp-transfer-card label[for="ampServerSelect"] { grid-column: 1; }
  .account-tab-pane[data-account-pane="transfer"] .amp-transfer-card #ampServerSelect { grid-column: 1; }
  .account-tab-pane[data-account-pane="transfer"] .amp-transfer-card label[for="ampTransferAmount"] { grid-column: 2; grid-row: 2; }
  .account-tab-pane[data-account-pane="transfer"] .amp-transfer-card #ampTransferAmount { grid-column: 2; grid-row: 3; }
  .account-tab-pane[data-account-pane="transfer"] .amp-transfer-card .primary-button { grid-column: 3; grid-row: 3; white-space: nowrap; }
}
@media (max-width: 680px) {
  .account-tab-pane[data-account-pane="currency"] .amp-convert-fields { grid-template-columns: minmax(0,1fr) minmax(95px,.7fr) !important; }
  .account-tab-pane[data-account-pane="transfer"] #ampTransfersList { max-height: 115px; }
}


/* VOLTRUSH — final homepage spacing correction (keep existing card dimensions). */
/* Compact the three text lines inside server rows and center the group evenly. */
#serverList .server-widget-main {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 0 !important;
    min-height: 0 !important;
}
#serverList .server-widget-main > b {
    line-height: 14px !important;
    margin: 0 !important;
}
#serverList .server-widget-online {
    line-height: 12px !important;
    margin: 0 !important;
    gap: 7px;
}
#serverList .server-game-version {
    display: block !important;
    line-height: 11px !important;
    margin: 0 !important;
}

/* Shorter account action buttons; preserve the current text size and weight. */
.account-actions .account-action {
    box-sizing: border-box !important;
    height: 30px !important;
    min-height: 30px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
}


/* Keep the compact account buttons, but restore readable button lettering. */
.account-actions .account-action { font-size: 12px !important; }

/* Server icon upload control in the admin server editor. */
.admin-server-icon-upload { grid-column: 1 / -1; max-width: 460px; }
.admin-server-icon-upload .admin-icon-preview { width: 64px; height: 64px; flex: 0 0 64px; overflow: hidden; border: 1px dashed #59615a; border-radius: 8px; background: #111615; }
.admin-server-icon-upload .admin-icon-preview img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.admin-server-icon-upload button { min-height: 30px; padding: 6px 10px; }
.admin-server-icon-upload button:disabled { opacity: .45; cursor: not-allowed; }


/* CTA вместо статуса запуска в заголовке главной страницы. Размеры сохранены как у прежнего блока статуса. */
.network-chip-cta {
    text-decoration: none;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.network-chip-cta:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #121313;
}



/* Homepage launcher CTA: same yellow treatment and typography as the account button. */
.section-heading .network-chip-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--yellow);
    border: 1px solid var(--yellow);
    color: #141615;
    text-decoration: none;
    font: 800 12px var(--display);
    letter-spacing: .045em;
    padding: 11px 14px;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.section-heading .network-chip-cta:hover {
    background: #ffe36a;
    border-color: #ffe36a;
    color: #111;
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(255,210,28,.2);
}
.network-chip-lightning {
    display: block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: currentColor;
}

/* Основная страница всегда видима: без скрытия и анимации появления блоков. */
.main-area,
.main-area.main-page-visible,
.main-area.main-page-entering {
    opacity: 1 !important;
    animation: none !important;
}

/* Типографика CTA совпадает с кнопкой «ЛИЧНЫЙ КАБИНЕТ» в аккаунтном блоке. */
.section-heading .network-chip-cta {
    font-family: var(--display) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .045em !important;
    line-height: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
    .section-heading .network-chip-cta { transition: none; }
}
