:root {
    --rs-bg: #0b0c0e;
    --rs-panel: #121417;
    --rs-field: #191b1f;
    --rs-border: rgba(255, 255, 255, 0.1);
    --rs-text: #ffffff;
    --rs-muted: rgba(255, 255, 255, 0.52);
    --rs-accent: #aeb9c4;
    --rs-accent-dark: #d0d8df;
}

html { background: var(--rs-bg); }
body { background: #0b0c0e; color: var(--rs-text); font-family: Arial, Helvetica, sans-serif; }
img { -webkit-user-drag: none; }
body::before { background: radial-gradient(75% 42% at 8% 42%, rgba(153, 111, 199, 0.13), transparent 72%), radial-gradient(68% 38% at 92% 80%, rgba(112, 78, 151, 0.12), transparent 74%); content: ""; inset: 0; pointer-events: none; position: fixed; z-index: 0; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
.hcaptcha-gate { align-items: center; background: rgba(12,13,15,.92); backdrop-filter: blur(14px); display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 100; }
.hcaptcha-panel { align-items: center; background: var(--rs-panel); border: 1px solid rgba(190,198,206,.25); border-radius: 16px; display: flex; flex-direction: column; max-width: 390px; padding: 28px; text-align: center; width: 100%; }
.hcaptcha-panel .brand-mark { margin-bottom: 12px; }
.hcaptcha-panel h1 { font-size: 25px; margin: 0 0 9px; }
.hcaptcha-panel p { color: var(--rs-muted); font-size: 13px; margin: 0 0 20px; }
.hcaptcha-status { color: var(--rs-accent) !important; margin: 14px 0 0 !important; min-height: 16px; }

.site-header { background: rgba(11,12,14,.9); border-bottom: 1px solid var(--rs-border); padding: 0 max(22px, calc((100% - 1120px) / 2)); position: sticky; top: 0; z-index: 20; }
.container { background: transparent; border: 0; border-radius: 0; min-height: 68px; padding: 0; }
.site-brand { align-items: center; color: var(--rs-text); display: inline-flex; gap: 10px; text-decoration: none; }
.brand-mark { display: block; filter: grayscale(1) brightness(1.45); height: 28px; width: 28px; }
.title { font-size: 18px; font-weight: 600; }
.site-header nav { left: 50%; position: absolute; transform: translateX(-50%); }
.site-header nav ul { gap: 0; }
.site-header nav li { margin: 0 14px; }
.site-header nav a, .header-logout { align-items: center; border: 0; color: var(--rs-muted); display: inline-flex; font-size: 14px; font-weight: 500; gap: 6px; padding: 8px 0; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header nav a.is-active, .header-logout:hover, .header-logout:focus-visible { border: 0; color: var(--rs-text); }
.header-actions { align-items: center; display: flex; min-height: 40px; }
.header-register, .primary-action, .signup-form button, .modal-primary, .admin-form button { align-items: center; background: var(--rs-accent); border: 0; border-radius: 6px; color: var(--rs-bg); cursor: pointer; display: inline-flex; font: inherit; font-size: 14px; font-weight: 700; gap: 7px; justify-content: center; min-height: 40px; padding: 10px 18px; text-decoration: none; }
.nav-icon { color: currentColor; fill: none; flex: 0 0 auto; height: 16px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 16px; }
.header-register:hover, .primary-action:hover, .signup-form button:hover, .modal-primary:hover, .admin-form button:hover { background: var(--rs-accent-dark); }
.header-logout { background: transparent; cursor: pointer; }

.home-page { align-items: center; display: flex; flex-direction: column; min-height: calc(100vh - 101px); padding: 0 22px 72px; }
.mission { border-bottom: 1px solid var(--rs-border); margin: 0 auto; max-width: 1120px; padding: min(22vh, 180px) 0 min(16vh, 130px); width: 100%; }
.section-label { color: var(--rs-accent); font-size: 12px; letter-spacing: .08em; margin-bottom: 18px; }
h1 { font-size: clamp(40px, 6vw, 78px); font-weight: 600; line-height: 1; margin-bottom: 20px; }
.mission-copy { color: var(--rs-muted); font-size: 18px; margin: 0 auto; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.secondary-action { background: var(--rs-field); border: 1px solid var(--rs-border); border-radius: 12px; color: var(--rs-text); display: inline-flex; font-size: 14px; font-weight: 600; min-height: 40px; padding: 10px 18px; text-decoration: none; }
.secondary-action:hover { border-color: rgba(255,255,255,.24); }
.social-links { align-self: center; background: transparent; border: 0; border-radius: 0; grid-row: auto; margin-top: 28px; padding: 12px 16px; }
.social-link { color: var(--rs-muted); }
.social-link:hover { color: var(--rs-text); }
.statistics { border-top: 1px solid var(--rs-border); margin: 100px auto 30px; max-width: 1120px; padding-top: 72px; width: 100%; }
.statistics-heading { margin-bottom: 34px; text-align: center; }
.statistics-heading h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px; }
.statistics-heading p:last-child { color: var(--rs-muted); margin: 0; }
.statistics-layout { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); }
.server-comparison { align-items: end; border-bottom: 1px solid var(--rs-border); display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 320px; padding: 0 12px; }
.server-card { align-items: center; display: flex; flex-direction: column; gap: 7px; min-width: 0; padding-bottom: 13px; position: relative; }
.server-card img { border: 2px solid var(--rs-bg); border-radius: 50%; height: 44px; object-fit: cover; position: relative; width: 44px; z-index: 2; }
.server-card strong { font-size: 14px; font-weight: 600; }
.server-card span { color: var(--rs-muted); font-size: 12px; }
.server-card i { align-items: end; background: rgba(255,255,255,.06); border-radius: 8px 8px 0 0; display: flex; height: 168px; overflow: hidden; width: 100%; }
.server-card i b { background: #aeb9c4; border-radius: 2px 2px 0 0; height: var(--server-height, 10%); transition: height .45s ease; width: 100%; }
.server-card--funtime i b { background: #828c96; }
.server-card--spookytime i b { background: #69737d; }
.leaderboard { border-top: 1px solid var(--rs-border); }
.leaderboard-head { align-items: center; color: var(--rs-muted); display: flex; font-size: 12px; justify-content: space-between; padding: 13px 0; text-transform: uppercase; }
.leaderboard ol { list-style: none; margin: 0; padding: 0; }
.leaderboard li { align-items: center; border-top: 1px solid var(--rs-border); display: grid; gap: 12px; grid-template-columns: 36px minmax(0, 1fr) auto; min-height: 67px; }
.leaderboard-loading { color: var(--rs-muted); display: block !important; padding: 22px 0; }
.player-rank, .player-server { color: var(--rs-muted); font-size: 12px; }
.player-identity { align-items: center; column-gap: 10px; display: grid; grid-template-columns: 38px minmax(0, 1fr); min-width: 0; }
.player-avatar { background: var(--rs-field); border: 1px solid var(--rs-border); border-radius: 50%; grid-row: span 2; height: 38px; object-fit: cover; width: 38px; }
.player-avatar--placeholder { align-items: center; color: var(--rs-accent); display: inline-flex; font-size: 11px; font-weight: 700; justify-content: center; }
.player-name { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-identity .player-server { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard strong { color: var(--rs-accent); font-size: 14px; white-space: nowrap; }

.content-page, .register-page, .profile-page, .admin-page { min-height: calc(100vh - 101px); padding-top: 58px; }
.content-page { display: grid; justify-items: center; }
.content-page .terms { width: min(100%, 840px); }
.terms, .registration, .profile-panel, .admin-user, .admin-key { background: rgba(16,17,20,.88); border-color: var(--rs-border); box-shadow: none; }
.terms, .registration, .profile-panel { border-radius: 16px; }
.terms h1, .registration h1, .admin-heading h1 { font-size: clamp(30px, 4vw, 46px); }
.terms p, .terms li, .registration-copy, .form-note, .registration-login { color: var(--rs-muted); }
.terms a, .registration-login a { color: var(--rs-accent); }
.signup-form input, .modal-promo input, .modal-form input, .admin-form input, .admin-form select, .admin-search { background: var(--rs-field); border-color: transparent; border-radius: 12px; color: var(--rs-text); }
.signup-form input:focus, .modal-promo input:focus, .modal-form input:focus, .admin-form input:focus, .admin-form select:focus, .admin-search:focus { border-color: var(--rs-accent); outline: 1px solid var(--rs-accent); }
.profile-avatar, .profile-data div, .modal-product, .product-option, .payment-method, .modal-panel { background: var(--rs-field); border-color: var(--rs-border); }
.profile-page { align-items: start; display: grid; gap: 52px; grid-template-columns: 150px minmax(0, 1fr); margin: 0 auto; max-width: 1056px; padding-inline: 22px; }
.profile-nav { display: grid; gap: 8px; padding-top: 38px; }
.profile-nav a, .profile-nav button { background: transparent; border: 0; border-left: 2px solid transparent; color: var(--rs-muted); cursor: pointer; font: inherit; font-size: 13px; padding: 9px 10px; text-align: left; text-decoration: none; }
.profile-nav a:hover, .profile-nav button:hover, .profile-nav .is-active { border-left-color: var(--rs-accent); color: var(--rs-text); }
.profile-workspace { min-width: 0; }
.profile-head { align-items: center; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 26px; }
.profile-head h1 { font-size: 30px; margin: 0 0 6px; }
.profile-head p { color: var(--rs-muted); font-size: 13px; margin: 0; }
.profile-download { background: var(--rs-accent); border-radius: 12px; color: var(--rs-bg); font-size: 13px; font-weight: 700; padding: 10px 19px; text-decoration: none; }
.profile-identity { align-items: center; display: flex; gap: 13px; margin-bottom: 30px; }
.profile-identity .avatar-control { display: grid; justify-items: center; }
.profile-identity .profile-avatar { border-radius: 50%; height: 46px; width: 46px; }
.profile-identity strong { display: block; font-size: 16px; }
.profile-identity span { color: var(--rs-muted); font-size: 12px; }
.profile-identity .avatar-upload { font-size: 10px; margin-top: 4px; }

/* Authentication screen */
.auth-page { display: grid; inset: 0; min-height: 100dvh; padding: 38px 22px; place-items: center; position: fixed; z-index: 30; }
.auth-page::before { background: rgba(4,5,7,.78); content: ""; inset: 0; position: absolute; }
.auth-card { background: rgba(14,16,21,.84); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; box-shadow: 0 20px 56px rgba(0,0,0,.42); display: grid; grid-template-columns: minmax(245px, .82fr) minmax(340px, 1fr); max-width: 800px; overflow: hidden; position: relative; width: 100%; }
.auth-close { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 50%; color: var(--rs-muted); display: inline-flex; font-size: 17px; height: 30px; justify-content: center; line-height: 1; position: absolute; right: 13px; text-decoration: none; top: 13px; width: 30px; z-index: 2; }.auth-close:hover { background: rgba(255,255,255,.15); color: #fff; }
.auth-visual { background: #11131a; min-height: 100%; overflow: hidden; position: relative; }
.auth-visual::after { background: linear-gradient(rgba(8,10,18,.16), rgba(8,10,18,.64)); content: ""; inset: 0; pointer-events: none; position: absolute; }
#auth-silk-canvas { display: block; height: 100%; inset: 0; position: absolute; width: 100%; }
.auth-visual-content { align-items: center; bottom: 50px; display: flex; flex-direction: column; left: 24px; position: absolute; right: 24px; text-align: center; z-index: 1; }
.auth-visual-content img { filter: brightness(1.5); height: 46px; margin-bottom: 13px; width: 46px; }
.auth-visual-content strong { font-size: 21px; font-weight: 700; }
.auth-visual-content span { color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.5; margin-top: 7px; max-width: 190px; }
.auth-form-panel { padding: 44px 52px; }
.auth-form-panel h1 { font-size: 25px; line-height: 1.15; margin: 0 0 8px; }
.auth-switch { color: var(--rs-muted); font-size: 12px; margin: 0 0 27px; }
.auth-switch a { color: #c5c8cc; text-decoration: none; }
.auth-form { gap: 17px; }
.auth-form label { color: rgba(255,255,255,.52); font-size: 10px; font-weight: 600; gap: 6px; text-transform: uppercase; }
.auth-form input { border: 1px solid rgba(255,255,255,.13); border-radius: 8px; font-size: 13px; min-height: 42px; padding: 9px 13px; width: 100%; }
.password-control { display: block; position: relative; }
.password-control input { padding-right: 78px; }
.password-toggle { align-items: center; background: transparent; border: 0; color: var(--rs-muted); cursor: pointer; display: inline-flex; height: 28px; justify-content: center; padding: 5px; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; }
.auth-form .password-toggle { background: transparent !important; border: 0 !important; border-radius: 50% !important; color: var(--rs-muted) !important; min-height: 28px !important; padding: 5px !important; width: 28px !important; }
.password-toggle svg { fill: none; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 18px; }
.password-toggle .eye-off, .password-toggle.is-visible > svg:first-child { display: none; }
.password-toggle.is-visible .eye-off { display: block; }
.password-toggle:hover { color: var(--rs-text); }
.auth-form button[type="submit"] { background: #2a2d31; border: 1px solid #4a4e54; border-radius: 8px; color: #fff; margin-top: 5px; min-height: 43px; width: 100%; }
.auth-form button[type="submit"]:hover { background: #3a3e43; }
.auth-form button[type="submit"]:disabled { cursor: not-allowed; opacity: .48; }
.auth-captcha { min-height: 78px; transform: scale(.91); transform-origin: left top; width: 335px; }
.auth-form .form-status { font-size: 12px; margin: -4px 0 0; min-height: 18px; }
@media (max-width: 650px) { .auth-page { min-height: calc(100vh - 131px); padding: 22px 16px; } .auth-card { display: block; max-width: 430px; } .auth-visual { display: none; } .auth-form-panel { padding: 34px 24px; } .auth-captcha { transform: scale(.82); width: 300px; } }
.profile-details { border-bottom: 1px solid var(--rs-border); padding-bottom: 26px; }
.profile-details h2, .profile-section-head h2 { color: var(--rs-accent); font-size: 12px; letter-spacing: .06em; margin: 0; text-transform: uppercase; }
.profile-details dl { display: grid; gap: 18px 46px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0 0; }
.profile-details dl div { display: flex; font-size: 13px; justify-content: space-between; min-width: 0; }
.profile-details dt { color: var(--rs-muted); }
.profile-details dd { margin: 0; overflow-wrap: anywhere; text-align: right; }
.profile-live-grid { display: grid; gap: 38px; grid-template-columns: minmax(0, 1.35fr) minmax(245px, .8fr); padding-top: 30px; }
.profile-section-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 13px; }
.profile-section-head span { color: var(--rs-muted); font-size: 11px; }
.profile-section-head b { color: #d0d8df; font-weight: 600; }
.chat-messages { align-content: start; display: grid; gap: 9px; height: 270px; overflow-y: auto; padding-right: 6px; }
.chat-messages p { color: var(--rs-muted); font-size: 13px; margin: auto 0; }
.chat-message { align-content: start; display: grid; gap: 2px 8px; grid-template-columns: 25px minmax(0, 1fr); }
.chat-message img, .chat-avatar { align-items: center; background: var(--rs-field); border-radius: 50%; display: flex; grid-row: span 2; height: 25px; justify-content: center; object-fit: cover; width: 25px; }
.chat-avatar { color: var(--rs-accent); font-size: 10px; font-weight: 700; }
.chat-message strong { color: var(--rs-accent); font-size: 11px; }
.chat-message time { color: var(--rs-muted); font-size: 10px; margin-left: 5px; }
.chat-role { border: 1px solid var(--rs-border); border-radius: 5px; color: var(--rs-muted); font-size: 9px; font-style: normal; margin-left: 5px; padding: 1px 4px; }
.chat-role--owner, .chat-role--admin { border-color: rgba(190,198,206,.45); color: var(--rs-accent); }
.chat-role--helper { border-color: rgba(174,185,196,.42); color: #d0d8df; }
.chat-role--user { color: #b9c9ff; }
.chat-message > span { color: var(--rs-muted); font-size: 12px; grid-column: 2; overflow-wrap: anywhere; }
.chat-form { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr) auto; margin-top: 12px; }
.chat-form input { background: var(--rs-field); border: 1px solid var(--rs-border); border-radius: 12px; color: var(--rs-text); font: inherit; min-width: 0; padding: 10px 13px; }
.chat-form button { background: var(--rs-accent); border: 0; border-radius: 12px; color: var(--rs-bg); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; padding: 0 14px; }
.chat-status { color: var(--rs-muted); font-size: 11px; min-height: 16px; }
.activity-card { align-items: center; background: var(--rs-field); border: 1px solid var(--rs-border); border-radius: 12px; display: grid; gap: 0 10px; grid-template-columns: 42px minmax(0, 1fr); margin-bottom: 12px; min-height: 74px; overflow: hidden; padding: 10px; position: relative; }
.activity-card::before { background: rgba(0,0,0,.4); content: ""; inset: 0; position: absolute; }
.activity-card > * { position: relative; }
.activity-card img { border-radius: 8px; grid-row: span 2; height: 42px; object-fit: cover; width: 42px; }
.activity-card strong { font-size: 13px; }
.activity-card span { color: var(--rs-accent); font-size: 11px; }
.subscription-current { align-items: center; background: var(--rs-field); border: 1px solid var(--rs-border); border-radius: 14px; display: grid; gap: 5px; grid-template-columns: 1fr auto; margin-bottom: 30px; padding: 18px; }
.subscription-current span { color: var(--rs-muted); font-size: 12px; }
.subscription-current strong { color: #d0d8df; font-size: 16px; }
.subscription-current b { grid-column: 1 / -1; font-size: 13px; }
.subscription-key-form { align-items: end; background: rgba(16,17,20,.72); border: 1px solid var(--rs-border); border-radius: 14px; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 30px; padding: 14px; }
.subscription-key-form label { color: var(--rs-muted); display: grid; font-size: 12px; gap: 6px; }
.subscription-key-form input { background: var(--rs-field); border: 1px solid var(--rs-border); border-radius: 10px; color: var(--rs-text); font: inherit; min-height: 40px; padding: 9px 12px; }
.subscription-key-form button { background: var(--rs-accent); border: 0; border-radius: 10px; color: var(--rs-bg); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; min-height: 40px; padding: 9px 15px; }
.subscription-key-status { color: var(--rs-muted); font-size: 12px; grid-column: 1 / -1; margin: 0; min-height: 16px; }
.purchase-history h2 { font-size: 14px; margin: 0 0 14px; }
.purchase-history-list { display: grid; gap: 9px; }
.purchase-history-item { align-items: center; background: rgba(16,17,20,.88); border: 1px solid var(--rs-border); border-radius: 12px; display: flex; justify-content: space-between; gap: 16px; padding: 14px; }
.purchase-history-item div { display: grid; gap: 5px; min-width: 0; }
.purchase-history-item strong { font-size: 14px; }
.purchase-history-item span, .purchase-history-item b { color: var(--rs-muted); font-size: 12px; }
.purchase-history-item div:last-child { justify-items: end; }
.purchase-history-item em { font-style: normal; }
.purchase-history-empty { color: var(--rs-muted); font-size: 13px; }
.profile-actions a, .profile-actions button, .modal-promo button, .admin-action { background: var(--rs-field); border-color: var(--rs-border); border-radius: 12px; }
.profile-actions a:hover, .profile-actions button:not(:disabled):hover, .modal-promo button:hover, .admin-action:hover { background: #24252c; border-color: rgba(255,255,255,.2); }
.profile-data dt, .admin-user-data dt, .admin-user-main p, .admin-key span, .admin-heading > p:last-child { color: var(--rs-muted); }
.modal-backdrop { background: rgba(4,5,6,.84); backdrop-filter: blur(12px); }
.modal-panel { background: rgba(18,20,23,.98); border-color: var(--rs-border); border-radius: 8px; box-shadow: 0 28px 80px rgba(0,0,0,.56); }
.modal-panel::before { background: rgba(255,255,255,.12); content: ""; height: 1px; left: 18px; position: absolute; right: 18px; top: 0; }
.purchase-panel { display: grid; grid-template-columns: minmax(220px,.76fr) minmax(330px,1fr); max-width: 760px; overflow: hidden; padding: 0; width: min(100%,760px); }
.purchase-panel .modal-close { right: 14px; top: 14px; z-index: 2; }
.purchase-visual { background: rgba(16,18,22,.24); min-height: 475px; overflow: hidden; position: relative; }
.purchase-visual::after { background: linear-gradient(rgba(7,8,10,.12),rgba(7,8,10,.72)); content: ""; inset: 0; pointer-events: none; position: absolute; }
#purchase-silk-canvas { display: block; height: 100%; inset: 0; position: absolute; width: 100%; }
.purchase-visual div { align-items: center; bottom: 42px; display: flex; flex-direction: column; left: 20px; position: absolute; right: 20px; text-align: center; z-index: 1; }
.purchase-visual img { height: 46px; margin-bottom: 12px; width: 46px; }.purchase-visual strong { font-size: 20px; }.purchase-visual span { color: var(--rs-muted); font-size: 12px; line-height: 1.5; margin-top: 8px; }
.purchase-checkout { padding: 34px 38px 30px; }.purchase-checkout h2 { border: 0; font-size: 25px; margin: 2px 0 4px; padding: 0; }.purchase-label,.purchase-section-label { color: var(--rs-muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; margin: 0; text-transform: uppercase; }.purchase-section-label { margin: 18px 0 8px; }
.purchase-price { align-items: baseline; display: flex; gap: 8px; }.purchase-price s { color: var(--rs-muted); font-size: 13px; }.purchase-price strong { font-size: 23px; }.purchase-panel .product-options { grid-template-columns: 1fr 1fr; margin: 0; }.purchase-panel .product-option { font-size: 12px; min-height: 38px; }.purchase-panel .modal-promo { margin-top: 0; }.purchase-terms { align-items: flex-start; color: var(--rs-muted); display: flex; font-size: 11px; gap: 8px; line-height: 1.45; margin: 14px 0; }.purchase-terms input { accent-color: #6d7278; margin: 1px 0 0; }.purchase-terms a { color: #d0d4d8; }.purchase-panel .modal-primary { background: #2a2d31; border: 1px solid #4a4e54; display: flex; justify-content: center; gap: 7px; }.purchase-panel .modal-primary:hover { background: #3a3e43; }.purchase-panel .modal-primary:disabled,.funpay-payment[aria-disabled="true"] { cursor: not-allowed; opacity: .5; }.funpay-payment { align-items: center; background: #fff; border: 1px solid #d9dce0; border-radius: 8px; display: flex; justify-content: center; margin-top: 10px; min-height: 43px; text-decoration: none; }.funpay-payment img { display: block; height: auto; max-width: 104px; width: 36%; }.funpay-payment:hover { background: #eef2f6; border-color: #fff; }
@media (max-width: 650px) { .purchase-panel { display: block; max-width: 420px; }.purchase-visual { display: none; }.purchase-checkout { padding: 32px 24px 24px; } }
.product-option:hover, .product-option.is-selected, .payment-method:hover, .payment-method.is-selected { background: rgba(190,198,206,.14); border-color: var(--rs-accent); }
.admin-section { border-color: var(--rs-border); }
.admin-user, .admin-key { border-radius: 14px; }
.admin-action.is-danger { border-color: rgba(255,255,255,.24); color: #e4e8eb; }
.admin-ban-form { flex: 1 1 100%; }.admin-ban-form input[name="reason"] { flex: 1 1 160px; }.admin-ban-details { color: var(--rs-muted); flex: 1 1 100%; font-size: 11px; margin: 0; overflow-wrap: anywhere; }
.funpay-key-form { max-width: 560px; }.funpay-key-form select { flex: 1 1 210px; }.funpay-key-form input { flex: 0 1 110px; }
.server-comparison { position: relative; }.activity-graph-players { inset: 0; pointer-events: none; position: absolute; }.activity-graph-player { align-items: center; display: inline-flex; gap: 6px; position: absolute; transform: translate(-50%,-115%); white-space: nowrap; }.activity-graph-player img,.activity-graph-player b { background: #202328; border: 2px solid #d6d9dc; border-radius: 50%; color: #fff; font-size: 10px; height: 30px; line-height: 26px; object-fit: cover; text-align: center; width: 30px; }.activity-graph-player i { color: #f3f4f5; font-size: 11px; font-style: normal; text-shadow: 0 1px 4px #000; }
.profile-download.is-disabled { cursor: not-allowed; opacity: .45; }.client-upload-form { max-width: 560px; }.client-upload-form input { flex: 1 1 240px; }
button:not(:disabled), a, input, select { transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
button:not(:disabled):hover, .profile-nav a:hover, .profile-nav button:hover, .site-header nav a:hover { backdrop-filter: blur(14px); box-shadow: 0 7px 22px rgba(0,0,0,.22); }
.site-header nav a:hover { background: rgba(255,255,255,.08); border-radius: 7px; padding-inline: 9px; }
.terms a:hover, .auth-switch a:hover, .purchase-terms a:hover { background: rgba(255,255,255,.1); border-radius: 4px; color: #fff; padding: 2px 4px; }
.twofactor-panel { background: rgba(16,17,20,.72); border: 1px solid var(--rs-border); border-radius: 8px; display: grid; gap: 12px; margin-top: 22px; max-width: 520px; padding: 18px; }.twofactor-panel h2 { font-size: 15px; margin: 0; }.twofactor-panel p { color: var(--rs-muted); font-size: 12px; margin: 0; }.twofactor-panel button { background: #2a2d31; border: 1px solid #4a4e54; border-radius: 8px; color: #fff; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; justify-self: start; min-height: 40px; padding: 9px 16px; }.twofactor-panel button:hover { background: #3a3e43; }.twofactor-panel [data-twofactor-setup], .twofactor-panel [data-twofactor-disable] { align-items: center; display: grid; gap: 10px; grid-template-columns: 150px minmax(0, 1fr); }.twofactor-panel [hidden] { display: none; }.twofactor-panel img { background: #fff; border-radius: 6px; height: 150px; padding: 6px; width: 150px; }.twofactor-panel input { background: var(--rs-field); border: 1px solid var(--rs-border); border-radius: 8px; color: var(--rs-text); font: inherit; min-height: 40px; padding: 9px 12px; width: 100%; }.twofactor-panel [data-twofactor-verify], .twofactor-panel [data-twofactor-disable] button { grid-column: 2; }.subscription-panel [data-password-form] { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }.subscription-panel [data-password-form] button, .subscription-panel [data-password-form] .subscription-key-status { grid-column: 1 / -1; }
@media (max-width: 650px) { .subscription-panel [data-password-form] { grid-template-columns: 1fr; }.twofactor-panel [data-twofactor-setup], .twofactor-panel [data-twofactor-disable] { grid-template-columns: 1fr; }.twofactor-panel [data-twofactor-verify], .twofactor-panel [data-twofactor-disable] button { grid-column: auto; } }
.admin-keys { max-height: 520px; overflow-y: auto; padding-right: 8px; scrollbar-gutter: stable; }
.admin-purchases { display: grid; gap: 10px; }
.admin-purchase { align-items: center; background: rgba(16,17,20,.88); border: 1px solid var(--rs-border); border-radius: 14px; display: grid; gap: 14px; grid-template-columns: minmax(145px, .9fr) minmax(260px, 1.7fr) minmax(210px, 1.2fr) auto; padding: 14px; }
.admin-purchase-main { display: grid; gap: 4px; min-width: 0; }
.admin-purchase-main strong { font-size: 15px; }
.admin-purchase-main span, .admin-purchase-data dt, .admin-purchase-ids code { color: var(--rs-muted); font-size: 12px; }
.admin-purchase-data { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(72px, 1fr)); margin: 0; }
.admin-purchase-data dt { text-transform: uppercase; }
.admin-purchase-data dd { font-size: 13px; margin: 4px 0 0; overflow-wrap: anywhere; }
.admin-purchase-ids { display: grid; gap: 5px; min-width: 0; }
.admin-purchase-ids code { overflow-wrap: anywhere; }
.purchase-status { border-radius: 999px; font-size: 12px; font-weight: 700; justify-self: end; padding: 6px 10px; white-space: nowrap; }
.purchase-status--paid { background: rgba(174,185,196,.14); color: #d0d8df; }
.purchase-status--pending { background: rgba(190,198,206,.14); color: var(--rs-accent); }
.admin-empty { color: var(--rs-muted); margin: 8px 0; }
.site-footer { color: var(--rs-muted); margin: 0 auto; max-width: 1100px; padding: 26px 22px; }

@media (max-width: 760px) {
    .site-header { padding: 12px 14px; }
    .container { flex-wrap: wrap; gap: 0 12px; padding: 10px 16px; }
    .site-header nav { flex-basis: 100%; left: auto; order: 3; overflow-x: auto; position: relative; transform: none; }
    .site-header nav ul { justify-content: flex-start; padding-top: 9px; }
    .site-header nav li { margin: 0 11px 0 0; }
    .site-header nav a { white-space: nowrap; }
    .home-page { min-height: calc(100vh - 131px); padding-top: 54px; }
    .mission { margin-top: 38px; }
    .content-page, .register-page, .profile-page, .admin-page { min-height: calc(100vh - 131px); }
    .profile-page { gap: 24px; grid-template-columns: 1fr; }
    .profile-nav { display: flex; flex-wrap: wrap; padding-top: 0; }
    .profile-nav a, .profile-nav button { border-bottom: 2px solid transparent; border-left: 0; padding-inline: 8px; }
    .profile-nav a:hover, .profile-nav button:hover, .profile-nav .is-active { border-bottom-color: var(--rs-accent); border-left-color: transparent; }
    .profile-live-grid { grid-template-columns: 1fr; }
    .profile-details dl { gap: 16px; grid-template-columns: 1fr; }
    .purchase-history-item { align-items: start; flex-direction: column; }
    .purchase-history-item div:last-child { justify-items: start; }
    .subscription-key-form { grid-template-columns: 1fr; }
    .social-links { gap: 16px; }
    .statistics { margin-top: 72px; }
    .statistics-layout { gap: 32px; grid-template-columns: 1fr; }
    .admin-purchase { align-items: start; grid-template-columns: 1fr; }
    .admin-purchase-data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .purchase-status { justify-self: start; }
}

/* Restored Rockstar violet theme. */
:root { --rs-bg: #0b0c0e; --rs-panel: #121417; --rs-field: #1a1b20; --rs-border: rgba(255,255,255,.1); --rs-muted: rgba(255,255,255,.58); --rs-accent: #bec6ce; --rs-accent-dark: #e0e5e9; }
body { background: #0b0c0e; }
#bg-canvas { background: radial-gradient(70% 56% at 12% 28%, #343940 0, #15181c 44%, transparent 72%), radial-gradient(56% 48% at 82% 76%, #262b30 0, #0b0c0e 68%); display: block; height: 100vh; inset: 0; pointer-events: none; position: fixed; width: 100vw; z-index: 0; }
.site-header { background: transparent; border-bottom: 0; padding: 20px max(22px, calc((100% - 1056px) / 2)); }
.container { backdrop-filter: blur(20px); background: rgba(16,17,20,.78); border: 1px solid var(--rs-border); border-radius: 32px; min-height: 61px; padding: 0 22px; }
.brand-mark { filter: none; }
.header-register, .primary-action, .signup-form button, .modal-primary, .admin-form button { border-bottom: 1px solid rgba(255,255,255,.3); border-radius: 12px; }

.home-page { padding: 80px 22px 48px; }
.mission { border-bottom: 0; margin: 9vh auto 0; max-width: 760px; padding: 0; width: auto; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.08; }
.social-links { background: rgba(16,17,20,.72); border: 1px solid var(--rs-border); border-radius: 14px; margin-top: 42px; }
.statistics { border-top: 0; max-width: 1056px; padding-top: 0; }
.server-card i b { background: var(--rs-accent); border-radius: 8px 8px 0 0; }
.server-card--funtime i b { background: #8c969f; }.server-card--spookytime i b { background: #69737d; }
.modal-backdrop { background: rgba(4,5,6,.86); }.modal-panel { background: rgba(16,17,20,.98); border-color: rgba(190,198,206,.24); border-radius: 16px; }.modal-panel::before { background: rgba(255,255,255,.12); }

/* Activity graph layout. */
.statistics-heading { margin: 0 auto 44px; max-width: 640px; text-align: left; }
.statistics-heading h2 { font-size: clamp(38px, 5vw, 64px); letter-spacing: 0; line-height: .98; }
.statistics-layout { align-items: end; gap: 56px; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); }
.server-comparison { border-bottom: 0; display: block; min-height: 0; padding: 0; position: relative; }
.activity-graph { display: block; overflow: visible; width: 100%; }
.activity-axis { fill: none; stroke: rgba(255,255,255,.13); stroke-width: 1; }
.activity-line { fill: none; stroke: #bec6ce; stroke-linecap: round; stroke-width: 3; }
.activity-graph circle { fill: #bec6ce; stroke: #101114; stroke-width: 5; transition: cy .45s ease; }
.server-graph-label { align-items: center; bottom: 2px; display: flex; flex-direction: column; gap: 4px; position: absolute; transform: translateX(-50%); }
.server-graph-label img { border: 2px solid #101114; border-radius: 50%; height: 38px; object-fit: cover; width: 38px; }
.server-graph-label strong { font-size: 13px; }.server-graph-label span { color: var(--rs-muted); font-size: 11px; }
.server-graph-label--holyworld { left: 12%; }.server-graph-label--funtime { left: 50%; }.server-graph-label--spookytime { left: 88%; }
.leaderboard { align-self: stretch; }.leaderboard-head { padding-top: 0; }.leaderboard li { min-height: 76px; }
@media (max-width: 760px) { .statistics-heading { text-align: center; }.statistics-layout { gap: 38px; grid-template-columns: 1fr; }.server-graph-label img { height: 32px; width: 32px; }.server-graph-label strong { font-size: 11px; }.server-graph-label span { font-size: 10px; }.leaderboard li { grid-template-columns: 28px minmax(0,1fr) auto; }.player-server { display: none; } }
.terms-section { border-top: 1px solid var(--rs-border); margin: 100px auto 30px; max-width: 1056px; padding: 72px 22px 0; width: 100%; }
.terms-section .terms { background: rgba(16,17,20,.72); box-shadow: none; margin: 0 auto; }
.terms-section .terms h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 18px; }
.terms-section .terms p { margin-bottom: 0; }
@media (max-width: 760px) { .terms-section { margin-top: 72px; padding-top: 48px; } }
