:root {
    --bg: #141411;
    --panel: #1a1917;
    --panel-soft: rgba(26, 25, 23, .9);
    --text: #d8d2c8;
    --muted: #aaa49b;
    --orange: #d8d2c8;
    --orange-dark: #d8d2c8;
    --line: rgba(216, 210, 200, .14);
}

/* Forum */
.forum-body { min-width: 320px; background: #08080a; color: #d8d2c8; }
.forum-shell { position: relative; min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 16% 0, rgba(216, 210, 200, .14), transparent 37%), linear-gradient(180deg,#09090b,#0d0d11); }
.forum-shell > .particles { position: fixed; inset: 0; opacity: .42; pointer-events: none; }
.forum-shell > .header { position: relative; z-index: 5; }
.forum-subnav { position: relative; z-index: 4; display: flex; width: min(1440px,calc(100% - 48px)); min-height: 56px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(216, 210, 200,.08); border-bottom: 1px solid rgba(216, 210, 200,.1); }
.forum-subnav nav,.forum-subnav > div { display: flex; align-items: center; gap: 22px; }
.forum-subnav a { color: #a7a1b0; font-size: 12px; font-weight: 800; text-decoration: none; transition: color .18s ease; }
.forum-subnav a:hover { color: #d8d2c8; }
.forum-subnav .forum-user-button,.forum-subnav .forum-admin-link { padding: 9px 13px; border: 1px solid rgba(216, 210, 200, .34); border-radius: 9px; background: rgba(216, 210, 200, .1); color: #d8d2c8; }
.forum-subnav .forum-admin-link { border-color: rgba(104,229,145,.28); background: rgba(44,151,78,.1); color: #78e79a; }
.forum-page { position: relative; z-index: 2; width: min(1400px,calc(100% - 48px)); min-height: 70vh; margin: 0 auto; padding: 42px 0 90px; }
.forum-page a { color: inherit; }
.forum-hero { display: flex; min-height: 190px; padding: 36px 40px; align-items: center; justify-content: space-between; gap: 36px; overflow: hidden; border: 1px solid #2b2b34; border-radius: 23px; background: linear-gradient(120deg,rgba(31,31,40,.97),rgba(21,21,28,.97)); box-shadow: 0 24px 75px rgba(0,0,0,.24); }
.forum-hero::after { width: 350px; height: 350px; margin-right: -190px; border-radius: 50%; background: rgba(216, 210, 200, .16); filter: blur(28px); content: ''; }
.forum-hero > div:first-child { position: relative; z-index: 1; max-width: 760px; }
.forum-hero span,.forum-category > header span,.forum-side-card > header span,.forum-section-heading span,.forum-empty > span { color: #d8d2c8; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.forum-hero h1 { margin: 8px 0 11px; font: 400 clamp(34px,5vw,57px)/1 'Russo One',sans-serif; }
.forum-hero p,.forum-section-heading p { margin: 0; color: #96909f; font-size: 14px; line-height: 1.7; }
.forum-stats { position: relative; z-index: 2; display: grid; min-width: 370px; grid-template-columns: repeat(3,1fr); border: 1px solid #34343e; border-radius: 15px; background: rgba(12,12,16,.58); }
.forum-stats div { display: grid; min-height: 91px; place-content: center; gap: 7px; padding: 15px; border-right: 1px solid #34343e; text-align: center; }
.forum-stats div:last-child { border: 0; }
.forum-stats strong { font: 400 25px/1 'Russo One',sans-serif; }
.forum-stats small { color: #77727e; font-size: 10px; }
.forum-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 20px; margin-top: 22px; align-items: start; }
.forum-category,.forum-side-card,.forum-thread-table,.forum-empty,.forum-search,.forum-notifications,.forum-member,.forum-editor,.forum-login-note { border: 1px solid #2c2c35; border-radius: 17px; background: rgba(24,24,31,.94); box-shadow: 0 17px 50px rgba(0,0,0,.12); }
.forum-category + .forum-category { margin-top: 19px; }
.forum-category > header { display: flex; min-height: 80px; padding: 20px 24px; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid #2c2c35; }
.forum-category h2,.forum-side-card h2 { margin: 6px 0 0; font: 400 20px/1.2 'Russo One',sans-serif; }
.forum-category > header p { max-width: 460px; margin: 0; color: #797582; font-size: 12px; line-height: 1.5; text-align: right; }
.forum-board { position: relative; display: grid; min-height: 96px; padding: 19px 23px; grid-template-columns: 48px minmax(240px,1fr) 150px 240px; align-items: center; gap: 17px; border-top: 1px solid #2b2b34; }
.forum-category > header + .forum-board { border-top: 0; }
.forum-board::before { position: absolute; width: 2px; height: 45px; left: 0; border-radius: 0 3px 3px 0; background: var(--board-accent); opacity: .75; content: ''; }
.forum-board__icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid color-mix(in srgb,var(--board-accent),transparent 63%); border-radius: 13px; background: color-mix(in srgb,var(--board-accent),transparent 88%); color: var(--board-accent)!important; font-size: 18px; text-decoration: none; }
.forum-board__title > a { color: #d8d2c8; font-size: 15px; font-weight: 800; text-decoration: none; }
.forum-board__title > a:hover,.forum-thread-row a:hover { color: #d8d2c8; }
.forum-board__title p { margin: 6px 0 0; color: #59544c; font-size: 12px; line-height: 1.5; }
.forum-board dl { display: grid; margin: 0; grid-template-columns: repeat(2,1fr); text-align: center; }
.forum-board dl div { padding: 0 8px; }
.forum-board dt { color: #696570; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.forum-board dd { margin: 6px 0 0; color: #d7d2dc; font-size: 13px; font-weight: 800; }
.forum-board__last { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.forum-board__last a { overflow: hidden; color: #d4cddc; font-size: 12px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.forum-board__last span { color: #716c78; font-size: 10px; }
.forum-side-card { padding: 22px; }
.forum-side-card > header { margin-bottom: 14px; }
.forum-activity { display: flex; padding: 13px 0; flex-direction: column; gap: 5px; border-top: 1px solid #2e2e37; text-decoration: none; }
.forum-activity strong { overflow: hidden; color: #d9d3df; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.forum-activity span { color: #706c77; font-size: 10px; }
.forum-side-more { display: block; margin-top: 14px; color: #d8d2c8!important; font-size: 11px; font-weight: 800; text-decoration: none; }
.forum-breadcrumbs { display: flex; margin-bottom: 24px; align-items: center; gap: 11px; color: #504c45; font-size: 12px; }
.forum-breadcrumbs a { color: #aaa3b1; text-decoration: none; }
.forum-breadcrumbs strong { color: #ded8e5; }
.forum-section-heading,.forum-thread-heading { display: flex; margin: 0 3px 23px; align-items: flex-end; justify-content: space-between; gap: 24px; }
.forum-section-heading h1,.forum-thread-heading h1 { margin: 7px 0; font: 400 clamp(29px,4vw,44px)/1.08 'Russo One',sans-serif; }
.forum-primary,.forum-filters button,.forum-admin-thread button,.forum-admin-report button,.forum-admin-user button { display: inline-flex; min-height: 42px; padding: 0 18px; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: linear-gradient(135deg,#d8d2c8,#d8d2c8); color: #d8d2c8!important; font-size: 12px; font-weight: 900; text-decoration: none; cursor: pointer; }
.forum-filters { display: flex; margin-bottom: 15px; padding: 14px; align-items: center; gap: 10px; border: 1px solid #2c2c35; border-radius: 14px; background: #191920; }
.forum-filters input,.forum-filters select,.forum-search input,.forum-editor input,.forum-editor select,.forum-editor textarea,.forum-profile-form input,.forum-profile-form textarea { color: #d8d2c8; border: 1px solid #363641; border-radius: 9px; background: #121218; padding: 11px 12px; outline: 0; font: inherit; }
.forum-filters input:focus,.forum-filters select:focus,.forum-editor input:focus,.forum-editor textarea:focus,.forum-profile-form input:focus,.forum-profile-form textarea:focus { border-color: #d8d2c8; box-shadow: 0 0 0 3px rgba(216, 210, 200, .1); }
.forum-filters label { display: flex; align-items: center; gap: 7px; color: #96909c; font-size: 11px; }
.forum-thread-table { overflow: hidden; }
.forum-thread-table > header { display: grid; padding: 13px 20px 13px 62px; grid-template-columns: 1fr 110px 190px; gap: 17px; border-bottom: 1px solid #2d2d36; color: #696570; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.forum-thread-row { display: grid; min-height: 76px; padding: 14px 20px; grid-template-columns: 28px minmax(260px,1fr) 110px 190px; align-items: center; gap: 17px; border-top: 1px solid #2b2b34; }
.forum-thread-table > header + .forum-thread-row { border-top: 0; }
.forum-thread-row__state { display: flex; flex-direction: column; gap: 2px; color: #d8d2c8; font-size: 9px; }
.forum-thread-row > div:nth-child(2) > div { display: flex; align-items: center; gap: 8px; }
.forum-thread-row a { color: #e3dde8; font-size: 13px; font-weight: 800; text-decoration: none; }
.forum-thread-row > div:nth-child(2) > span,.forum-thread-row > div:nth-child(2) > small,.forum-thread-row > div:last-child span,.forum-thread-row time { display: block; margin-top: 5px; color: #77727d; font-size: 10px; }
.forum-thread-row > strong { color: #d2cbd9; font-size: 13px; text-align: center; }
.forum-thread-row > strong small { display: block; margin-top: 5px; color: #68636e; font-size: 9px; font-weight: 600; }
.forum-prefix,.forum-state { display: inline-flex; padding: 4px 7px; align-items: center; border: 1px solid color-mix(in srgb,var(--prefix,#d8d2c8),transparent 45%); border-radius: 6px; background: color-mix(in srgb,var(--prefix,#d8d2c8),transparent 86%); color: color-mix(in srgb,var(--prefix,#d8d2c8),white 20%); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.forum-state { --prefix:#d45a72; margin-right: 7px; }
.forum-composer { margin-top: 18px; }
.forum-composer[hidden] { display: none; }
.forum-editor { padding: 23px; }
.forum-editor > label,.forum-profile-form label { display: grid; margin-bottom: 13px; gap: 7px; color: #97919e; font-size: 11px; font-weight: 800; }
.forum-editor textarea { width: 100%; min-height: 190px; resize: vertical; box-sizing: border-box; line-height: 1.65; }
.forum-editor-toolbar { display: flex; margin: 6px 0 -1px; padding: 7px; gap: 5px; border: 1px solid #363641; border-bottom: 0; border-radius: 9px 9px 0 0; background: #181820; }
.forum-editor-toolbar + label textarea { border-radius: 0 0 9px 9px; }
.forum-editor-toolbar button,.forum-post-tools button,.forum-inline-form button,.forum-reaction-picker button { min-height: 30px; padding: 0 9px; border: 1px solid #393943; border-radius: 7px; background: #22222b; color: #cfc8d6; font: inherit; font-size: 11px; cursor: pointer; }
.forum-file input { padding: 8px; }
.forum-file small { color: #68636e; font-weight: 500; }
.forum-thread-heading { align-items: center; }
.forum-thread-heading p { margin: 0; color: #504c45; font-size: 11px; }
.forum-thread-heading > div:last-child { display: flex; align-items: center; gap: 13px; color: #75707b; font-size: 10px; }
.forum-inline-form { display: inline-flex; margin: 0; }
.forum-posts { display: grid; gap: 15px; margin-bottom: 18px; }
.forum-post { display: grid; min-height: 230px; grid-template-columns: 190px minmax(0,1fr); border: 1px solid #2d2d36; border-radius: 17px; overflow: hidden; background: rgba(24,24,31,.95); }
.forum-post > aside { display: flex; padding: 24px 18px; align-items: center; flex-direction: column; border-right: 1px solid #2d2d36; background: rgba(19,19,25,.74); text-align: center; }
.forum-avatar,.forum-member-avatar { display: grid; width: 76px; height: 76px; margin-bottom: 13px; place-items: center; overflow: hidden; border: 1px solid rgba(216, 210, 200, .4); border-radius: 18px; background: rgba(216, 210, 200, .12); color: #d8d2c8; font: 400 29px/1 'Russo One',sans-serif; }
.forum-avatar img,.forum-member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.forum-post > aside > a { color: #d8d2c8; font-size: 14px; font-weight: 900; text-decoration: none; }
.forum-post > aside > .forum-avatar { color: #d8d2c8; font: 400 29px/1 'Russo One',sans-serif; }
.forum-post > aside > .forum-post-author { color: #d8d2c8; font-size: 14px; font-weight: 900; }
.forum-post > aside > strong { margin-top: 5px; color: #d8d2c8; font-size: 9px; text-transform: uppercase; }
.forum-post > aside > small { min-height: 15px; margin-top: 8px; color: #77717c; font-size: 10px; }
.forum-post > aside dl { margin: 20px 0 0; color: #797480; font-size: 10px; }
.forum-post > aside dd { margin: 4px 0 0; color: #d6cfdd; font-weight: 900; }
.forum-post__content { display: flex; min-width: 0; padding: 19px 23px; flex-direction: column; }
.forum-post__content > header { display: flex; min-height: 27px; align-items: flex-start; justify-content: flex-end; gap: 11px; border-bottom: 1px solid #2c2c35; color: #77717d; font-size: 10px; }
.forum-post__content > header a { color: #d8d2c8; text-decoration: none; }
.forum-message { min-height: 100px; padding: 22px 2px; color: #d8d1dd; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.forum-message a { color: #d8d2c8; }
.forum-message img { max-width: min(100%,900px); max-height: 700px; border-radius: 12px; }
.forum-message blockquote { margin: 15px 0; padding: 15px 17px; border-left: 3px solid #d8d2c8; border-radius: 0 9px 9px 0; background: #15151c; color: #aaa3b1; }
.forum-message blockquote strong { display: block; margin-bottom: 8px; color: #d8d2c8; font-size: 11px; }
.forum-message pre { overflow-x: auto; padding: 16px; border: 1px solid #34343d; border-radius: 10px; background: #101015; }
.forum-message details { margin: 12px 0; padding: 12px; border: 1px solid #34343d; border-radius: 9px; background: #16161d; }
.forum-post__content footer { padding: 12px 2px; border-top: 1px dashed #34343d; color: #79737f; font-size: 11px; }
.forum-attachments { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.forum-attachments a { padding: 9px 11px; border: 1px solid #34343d; border-radius: 8px; background: #17171e; color: #bcb4c4; font-size: 10px; text-decoration: none; }
.forum-post__bottom { display: flex; margin-top: auto; align-items: center; justify-content: space-between; gap: 14px; }
.forum-reactions,.forum-post-tools,.forum-reaction-picker { display: flex; align-items: center; gap: 6px; }
.forum-reactions span { padding: 5px 8px; border: 1px solid color-mix(in srgb,var(--reaction),transparent 58%); border-radius: 8px; background: color-mix(in srgb,var(--reaction),transparent 90%); color: #ccc4d3; font-size: 11px; }
.forum-search { display: flex; padding: 18px; gap: 10px; }
.forum-search input { flex: 1; }
.forum-search-results { margin-top: 17px; }
.forum-empty { padding: 60px 35px; text-align: center; }
.forum-empty h2 { margin: 9px 0; font: 400 27px/1.2 'Russo One',sans-serif; }
.forum-empty p,.forum-muted { color: #504c45; line-height: 1.7; }
.forum-empty .forum-primary { margin-top: 12px; }
.forum-flash { margin-bottom: 17px; padding: 14px 17px; border: 1px solid rgba(107,226,146,.3); border-radius: 11px; background: rgba(46,147,79,.1); color: #79e899; font-size: 12px; font-weight: 700; }
.forum-flash--error { border-color: rgba(255,99,121,.35); background: rgba(194,54,74,.1); color: #ff8596; }
.forum-notifications { padding: 10px 20px; }
.forum-notification { display: grid; padding: 15px 5px; grid-template-columns: 150px 1fr 130px; gap: 13px; border-top: 1px solid #2d2d36; color: #96909d; font-size: 11px; text-decoration: none; }
.forum-notification:first-child { border: 0; }
.forum-notification.is-unread { color: #d8d2c8; }
.forum-notification time { color: #6e6974; text-align: right; }
.forum-notification__actor { color: #c8c0ce; font-weight: 900; text-decoration: none; }
.forum-notification__event { color: inherit; text-decoration: none; }
.forum-notification__event:hover,.forum-notification__actor:hover { color: #d8d2c8; }
.forum-member > header { display: flex; padding: 30px; align-items: center; gap: 22px; background: linear-gradient(105deg,rgba(216, 210, 200, .7),rgba(23,23,30,.7)); }
.forum-member-avatar { width: 92px; height: 92px; margin: 0; }
.forum-member h1 { margin: 5px 0; font: 400 30px/1 'Russo One',sans-serif; }
.forum-member header span { color: #d8d2c8; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.forum-member header p { margin: 0; color: #85808b; font-size: 12px; }
.forum-member header dl { display: flex; margin: 0 0 0 auto; gap: 35px; text-align: center; }
.forum-member header dt { color: #74707a; font-size: 9px; text-transform: uppercase; }
.forum-member header dd { margin: 6px 0 0; font: 400 24px/1 'Russo One',sans-serif; }
.forum-member-bio,.forum-profile-form { padding: 25px 30px; border-top: 1px solid #2d2d36; }
.forum-member-bio h2 { margin: 0 0 13px; font: 400 19px/1 'Russo One',sans-serif; }
.forum-member-bio p { margin: 0; color: #9a94a1; line-height: 1.7; }
.forum-profile-form textarea { min-height: 100px; resize: vertical; }
.forum-login-note { padding: 22px; color: #908a97; text-align: center; }
.forum-login-note a { color: #d8d2c8; font-weight: 800; }

/* Forum administration */
.forum-admin-metrics { margin-bottom: 18px; }
.forum-admin-metrics a { color: #d8d2c8; font-size: 14px; text-decoration: none; }
.forum-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-bottom: 18px; }
.forum-admin-list { margin-bottom: 18px; }
.forum-admin-color { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 50%; }
.forum-admin-thread,.forum-admin-report,.forum-admin-user { display: grid; padding: 15px 0; grid-template-columns: minmax(260px,1fr) minmax(490px,1.2fr); align-items: center; gap: 17px; border-top: 1px solid #2c2a26; }
.forum-admin-thread:first-of-type,.forum-admin-report:first-of-type,.forum-admin-user:first-of-type { border-top: 0; }
.forum-admin-thread > div,.forum-admin-report > div,.forum-admin-user > div { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.forum-admin-thread a,.forum-admin-report strong,.forum-admin-user strong { color: #d8d2c8; font-size: 12px; font-weight: 800; text-decoration: none; }
.forum-admin-thread span,.forum-admin-report span,.forum-admin-user span { color: #767884; font-size: 10px; overflow-wrap: anywhere; }
.forum-admin-report p { margin: 5px 0 0; color: #a2a3ac; font-size: 12px; }
.forum-admin-thread form,.forum-admin-report form,.forum-admin-user form { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.forum-admin-thread input,.forum-admin-thread select,.forum-admin-report input,.forum-admin-report select,.forum-admin-user input,.forum-admin-user select { min-width: 0; padding: 9px; border: 1px solid #363744; border-radius: 7px; background: #1c1c19; color: #e9e8ed; font-size: 10px; }
.forum-admin-user label { display: flex; align-items: center; gap: 5px; color: #9a9ba5; font-size: 10px; white-space: nowrap; }
.forum-admin-user label input { width: 15px; height: 15px; }
.forum-admin-section { padding-top: 25px; scroll-margin-top: 20px; }
.forum-admin-section > header { margin: 0 3px 17px; }
.forum-admin-section > header span { color: #d8d2c8; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.forum-admin-section > header h2 { margin: 6px 0 0; font: 400 25px/1.15 'Russo One',sans-serif; }
.forum-admin-tabs a { text-decoration: none; }
.forum-admin-help { color: #8f909b; font-size: 12px; line-height: 1.65; }
.forum-admin-import { display: grid; margin-top: 18px; gap: 7px; color: #6e685e; font-size: 12px; font-weight: 700; }
.forum-poll { margin: 0 0 16px; padding: 24px; border: 1px solid #2d2d36; border-radius: 17px; background: rgba(24,24,31,.95); }
.forum-poll > header span { color:#d8d2c8;font-size:10px;font-weight:900;letter-spacing:.16em; }
.forum-poll h2 { margin:6px 0 18px;font:400 21px/1.2 'Russo One',sans-serif; }
.forum-poll form { display:grid;gap:9px; }
.forum-poll-option { display:flex;align-items:center;gap:10px;cursor:pointer; }
.forum-poll-option > span { position:relative;display:grid;min-height:48px;padding:10px 13px;align-content:center;flex:1;overflow:hidden;border:1px solid #34343e;border-radius:9px;background:#16161c; }
.forum-poll-option i { position:absolute;inset:0 auto 0 0;width:var(--poll);background:rgba(216, 210, 200, .12); }
.forum-poll-option strong,.forum-poll-option small { position:relative;z-index:1; }
.forum-poll-option strong { font-size:12px; }.forum-poll-option small { margin-top:4px;color:#77717d;font-size:9px; }
.forum-poll-builder { margin:12px 0;padding:13px;border:1px dashed #3b3b47;border-radius:9px; }
.forum-poll-builder summary { color:#d8d2c8;font-size:12px;font-weight:800;cursor:pointer; }
.forum-poll-builder[open] summary { margin-bottom:13px; }
.forum-edit-post { position:relative; }.forum-edit-post summary { padding:8px;color:#aaa3b2;font-size:10px;cursor:pointer; }
.forum-edit-post form { position:absolute;right:0;bottom:36px;z-index:10;width:min(520px,70vw);padding:12px;border:1px solid #383843;border-radius:10px;background:#17171e;box-shadow:0 20px 60px #0009; }
.forum-edit-post textarea { width:100%;min-height:150px;padding:10px;box-sizing:border-box;border:1px solid #3b3b46;border-radius:8px;background:#101015;color:#d8d2c8;resize:vertical; }
.forum-conversation-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.65fr);gap:18px;align-items:start; }
.forum-conversation-row { display:grid;padding:15px 5px;grid-template-columns:1fr 160px;gap:5px 15px;border-top:1px solid #2d2d36;text-decoration:none; }
.forum-conversation-row:first-child { border:0; }.forum-conversation-row strong { color:#e2dbe7;font-size:13px; }.forum-conversation-row span,.forum-conversation-row time { color:#76717d;font-size:10px; }.forum-conversation-row p { margin:3px 0 0;color:#9993a0;font-size:11px; }.forum-conversation-row time { text-align:right; }
.forum-conversation-row__subject,.forum-conversation-row__preview,.forum-conversation-row span a,.forum-private-message header a,.forum-section-heading p a { color: inherit; text-decoration: none; }
.forum-conversation-row span a,.forum-private-message header a,.forum-section-heading p a { color: #d8d2c8; font-weight: 800; }
.forum-private-thread { display:grid;gap:10px;margin-bottom:17px; }.forum-private-message { padding:18px;border:1px solid #2d2d36;border-radius:13px;background:#18181f; }.forum-private-message header { display:flex;margin-bottom:12px;justify-content:space-between;color:#8a8490;font-size:10px; }.forum-private-message header strong { color:#d8d2c8;font-size:12px; }.forum-private-message > div { color:#d5cedb;font-size:13px;line-height:1.7; }
.forum-footer .footer__top > strong { color:#98939e;font-size:12px; }

@media (max-width:1100px) {
    .forum-layout { grid-template-columns: 1fr; }
    .forum-board { grid-template-columns: 48px 1fr 130px; }
    .forum-board__last { display: none; }
    .forum-sidebar { display: none; }
    .forum-admin-thread,.forum-admin-report,.forum-admin-user { grid-template-columns: 1fr; }
    .forum-admin-thread form,.forum-admin-report form,.forum-admin-user form { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width:760px) {
    .forum-page,.forum-subnav { width: min(100% - 22px,1400px); }
    .forum-subnav { padding: 9px 0; align-items: flex-start; flex-direction: column; }
    .forum-subnav nav,.forum-subnav > div { width: 100%; gap: 14px; overflow-x: auto; }
    .forum-hero { padding: 27px 23px; align-items: stretch; flex-direction: column; }
    .forum-hero::after { display: none; }
    .forum-stats { min-width: 0; }
    .forum-category > header { align-items: flex-start; flex-direction: column; }
    .forum-category > header p { text-align: left; }
    .forum-board { padding: 17px; grid-template-columns: 42px 1fr; }
    .forum-board dl { display: none; }
    .forum-section-heading,.forum-thread-heading { align-items: flex-start; flex-direction: column; }
    .forum-filters { align-items: stretch; flex-direction: column; }
    .forum-thread-table > header { display: none; }
    .forum-thread-row { padding: 15px; grid-template-columns: 22px 1fr; }
    .forum-thread-row > strong,.forum-thread-row > div:last-child { display: none; }
    .forum-post { grid-template-columns: 1fr; }
    .forum-post > aside { padding: 14px 17px; align-items: center; flex-direction: row; gap: 10px; border-right: 0; border-bottom: 1px solid #2d2d36; text-align: left; }
    .forum-post > aside > .forum-avatar { font-size: 18px; }
    .forum-avatar { width: 46px; height: 46px; margin: 0; border-radius: 12px; font-size: 18px; }
    .forum-post > aside > small,.forum-post > aside dl { display: none; }
    .forum-post__content { padding: 16px; }
    .forum-post__bottom { align-items: flex-start; flex-direction: column; }
    .forum-editor-toolbar { overflow-x: auto; }
    .forum-notification { grid-template-columns: 1fr; }
    .forum-notification time { text-align: left; }
    .forum-member > header { align-items: flex-start; flex-wrap: wrap; }
    .forum-member header dl { width: 100%; margin: 10px 0 0; }
    .forum-admin-grid { grid-template-columns: 1fr; }
    .forum-conversation-layout { grid-template-columns:1fr; }
}

/* Admin panel */
.admin-page { display: block; width: min(1500px, calc(100% - 40px)); min-height: auto; margin: 30px auto 80px; position: relative; z-index: 2; }
.admin-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 28px 4px; }
.admin-heading span, .admin-form header span, .admin-list header span { color: #d8d2c8; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.admin-heading h1 { margin: 7px 0; font: 400 clamp(30px, 4vw, 52px)/1 'Russo One', sans-serif; }
.admin-heading p { margin: 0; color: #635d55; }
.admin-heading > a, .account-admin-link { color: #d8d2c8; text-decoration: none; border: 1px solid rgba(129, 229, 151, .32); background: rgba(54, 173, 91, .1); border-radius: 10px; padding: 13px 18px; font-weight: 700; }
.account-overview > .account-admin-link { align-self: center; white-space: nowrap; }
.admin-tabs { width: 100%; max-width: 100%; overflow-x: auto; margin-bottom: 22px; }
.admin-tabs .account-tab { min-width: max-content; }
.admin-panel { animation: admin-in .22s ease both; }
.admin-panel[hidden] { display: none !important; }
@keyframes admin-in { from { opacity: 0; transform: translateY(5px); } }
.admin-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid #2c2a26; border-radius: 16px; overflow: hidden; background: rgba(32, 31, 27, .9); }
.admin-metrics article { min-height: 118px; padding: 23px; border-right: 1px solid #2c2a26; display: flex; flex-direction: column; justify-content: space-between; }
.admin-metrics article:last-child { border: 0; }
.admin-metrics span { color: #5c574e; font-size: 12px; }
.admin-metrics strong { font: 400 28px/1 'Russo One', sans-serif; color: #d8d2c8; }
.admin-security-note { display: none !important; }
.admin-discount-settings { margin-top: 18px; }
.admin-revenue { margin-bottom: 18px; }
.admin-revenue-filter { display: flex; align-items: end; gap: 13px; }
.admin-revenue-filter label { display: flex; flex-direction: column; gap: 8px; color: #6e685e; font-size: 12px; font-weight: 700; }
.admin-revenue-filter .admin-submit { margin-top: 0; }
.admin-revenue-filter [data-admin-status] { flex: 1; margin: 0; }
.admin-revenue-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; border: 1px solid #2c2a26; border-radius: 11px; overflow: hidden; }
.admin-revenue-metrics article { padding: 17px; border-right: 1px solid #2c2a26; display: flex; flex-direction: column; gap: 9px; }
.admin-revenue-metrics article:last-child { border: 0; }
.admin-revenue-metrics span { color: #5c574e; font-size: 11px; }
.admin-revenue-metrics strong { font: 400 21px/1 'Russo One', sans-serif; }
.admin-revenue-table { margin-top: 18px; overflow-x: auto; }
.admin-revenue-row { min-width: 680px; display: grid; grid-template-columns: minmax(180px, 1.6fr) repeat(4, minmax(90px, .7fr)); gap: 14px; align-items: center; padding: 12px 4px; border-top: 1px solid #2c2a26; color: #767065; font-size: 13px; }
.admin-revenue-row--head { border-top: 0; color: #544f48; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.admin-promo-analytics { margin-bottom: 18px; }
.admin-promo-filter label:nth-child(3) { min-width: 190px; }
.admin-promo-metrics { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.admin-promo-grid { display: grid; grid-template-columns: minmax(340px, .7fr) minmax(680px, 1.3fr); gap: 22px; margin-top: 22px; }
.admin-promo-grid > section { min-width: 0; }
.admin-promo-grid h3 { margin: 0 0 8px; color: #898175; font-size: 14px; }
.admin-promo-product-row, .admin-promo-use-row { display: grid; gap: 14px; align-items: center; padding: 12px 4px; border-top: 1px solid #2c2a26; color: #767065; font-size: 12px; }
.admin-promo-product-row { min-width: 360px; grid-template-columns: minmax(170px, 1.5fr) minmax(70px, .6fr) minmax(95px, .7fr); }
.admin-promo-use-row { min-width: 720px; grid-template-columns: minmax(120px, .8fr) minmax(95px, .65fr) minmax(120px, .8fr) minmax(220px, 1.5fr) minmax(95px, .65fr); }
.admin-promo-product-row.admin-revenue-row--head, .admin-promo-use-row.admin-revenue-row--head { border-top: 0; }
.admin-promo-use-row time { color: #5c574e; }
.admin-promo-use-row span { overflow-wrap: anywhere; }
.admin-discount-settings .admin-fields { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-security-note strong { color: #6fe491; }
.admin-security-note p { color: #6e685e; max-width: 1000px; margin: 8px 0 0; line-height: 1.65; }
.admin-split { display: grid; grid-template-columns: minmax(520px, .9fr) minmax(460px, 1.1fr); gap: 18px; align-items: start; }
.admin-split--product { grid-template-columns: minmax(620px, 1.2fr) minmax(420px, .8fr); }
.admin-form, .admin-list, .admin-player-result { border: 1px solid #2c2a26; border-radius: 16px; padding: 25px; background: rgba(32, 31, 27, .94); }
.admin-form header, .admin-list header { margin-bottom: 21px; }
.admin-form h2, .admin-list h2 { margin: 6px 0 0; font: 400 23px/1.2 'Russo One', sans-serif; }
.admin-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.admin-fields label, .admin-player-search > label, .admin-type-fields label { display: flex; flex-direction: column; gap: 8px; color: #6e685e; font-size: 12px; font-weight: 700; }
.admin-fields .wide { grid-column: 1 / -1; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; color: #d8d2c8; background: #1c1c19; border: 1px solid #2f2d28; border-radius: 9px; padding: 12px 13px; font: inherit; outline: none; box-sizing: border-box; }
.admin-form textarea { resize: vertical; min-height: 82px; line-height: 1.5; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: #d8d2c8; box-shadow: 0 0 0 3px rgba(216, 210, 200, .12); }
.admin-fields small { color: #524d46; font-weight: 500; line-height: 1.4; }
.admin-fields .check { flex-direction: row; align-items: center; align-self: end; min-height: 42px; }
.admin-fields .check input { width: 18px; height: 18px; accent-color: #d8d2c8; }
.admin-type-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; padding: 16px; border: 1px dashed #32302b; border-radius: 10px; }
.admin-type-fields[hidden] { display: none; }
.admin-submit { margin-top: 19px; border: 0; border-radius: 10px; padding: 13px 20px; background: linear-gradient(135deg, #d8d2c8, #d8d2c8); color: #d8d2c8; font-weight: 800; cursor: pointer; }
.admin-submit:disabled { opacity: .55; cursor: wait; }
.admin-form [data-admin-status] { min-height: 19px; margin: 12px 0 0; color: #615b53; font-size: 13px; }
.admin-form [data-admin-status].is-error { color: #ff7079; }
.admin-form [data-admin-status].is-success { color: #72e595; }
.admin-list-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid #2c2a26; }
.admin-list-row:first-of-type { border-top: 0; }
.admin-list-row > div:first-child { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.admin-list-row strong { color: #999082; overflow-wrap: anywhere; }
.admin-list-row span, .admin-list-row time { color: #5c574e; font-size: 12px; line-height: 1.45; }
.admin-list-row > div:last-child { display: flex; gap: 7px; flex-shrink: 0; }
.admin-list-row button { border: 1px solid #32302b; border-radius: 8px; padding: 8px 10px; color: #817a6e; background: #23211e; cursor: pointer; }
.admin-list-row button:hover { color: #d8d2c8; border-color: #d8d2c8; }
.admin-player-tools { display: grid; grid-template-columns: .75fr 1.25fr; gap: 18px; align-items: stretch; }
.admin-player-search > label { margin-bottom: 15px; }
.admin-player-result { margin-top: 18px; }
.admin-player-result > p { color: #5c574e; }
.admin-player-card h2 { margin: 0 0 20px; font: 400 27px/1 'Russo One', sans-serif; }
.admin-player-card dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #2c2a26; border: 1px solid #2c2a26; border-radius: 10px; overflow: hidden; }
.admin-player-card dl div { background: #21201c; padding: 14px; min-width: 0; }
.admin-player-card dt { color: #58534b; font-size: 11px; margin-bottom: 6px; }
.admin-player-card dd { margin: 0; color: #978f81; font-size: 13px; overflow-wrap: anywhere; }
.admin-player-history { margin-top: 22px; }
.admin-player-history h3 { margin: 0 0 10px; font-size: 15px; }
.admin-player-history div { padding: 11px 0; border-top: 1px solid #2c2a26; color: #6d675d; font-size: 13px; }
.admin-player-history p { color: #544f48; }
.admin-audit { width: 100%; }
@media (max-width: 1180px) { .admin-metrics, .admin-promo-metrics { grid-template-columns: repeat(3, 1fr); } .admin-metrics article:nth-child(3), .admin-promo-metrics article:nth-child(3) { border-right: 0; } .admin-promo-grid, .admin-split, .admin-split--product { grid-template-columns: 1fr; } .admin-discount-settings .admin-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .admin-page { width: min(100% - 22px, 1500px); } .admin-heading { align-items: flex-start; flex-direction: column; } .admin-metrics, .admin-revenue-metrics, .admin-promo-metrics { grid-template-columns: repeat(2, 1fr); } .admin-metrics article:nth-child(3), .admin-promo-metrics article:nth-child(3) { border-right: 1px solid #2c2a26; } .admin-metrics article:nth-child(even), .admin-revenue-metrics article:nth-child(even), .admin-promo-metrics article:nth-child(even) { border-right: 0; } .admin-fields, .admin-player-tools, .admin-discount-settings .admin-fields { grid-template-columns: 1fr; } .admin-fields .wide { grid-column: auto; } .admin-type-fields { grid-template-columns: 1fr; } .admin-form, .admin-list, .admin-player-result { padding: 18px; } .admin-player-card dl { grid-template-columns: repeat(2, 1fr); } .admin-list-row { align-items: flex-start; flex-direction: column; } .admin-revenue-filter { align-items: stretch; flex-direction: column; } }

/* Account, wallet and server-priced discounts */
.auth-agreement {
    margin: 18px 0 0;
    color: #5b574e;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.auth-agreement a {
    color: #d8d2c8;
    text-decoration: none;
}

.totp-pending {
    display: grid;
    justify-items: center;
    padding: 26px 0 8px;
    text-align: center;
}

.totp-pending__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(216, 210, 200, .45);
    border-radius: 18px;
    background: rgba(216, 210, 200, .12);
    color: #d8d2c8;
    font-size: 27px;
    font-weight: 900;
}

.totp-pending h2 { margin: 20px 0 8px; font-size: 22px; }
.totp-pending p { max-width: 420px; margin: 0; color: #645e55; font-size: 14px; line-height: 1.6; }
.totp-pending p strong { color: #d8d2c8; }
.totp-pending__status { margin-top: 14px; color: #726c62; font-size: 13px; }
.totp-pending.is-error .totp-pending__status { color: #ff7a88; }
.totp-pending__loader { display: flex; gap: 6px; margin-top: 24px; }
.totp-pending__loader i { width: 7px; height: 7px; border-radius: 50%; background: #d8d2c8; animation: totp-pulse 1.1s ease-in-out infinite; }
.totp-pending__loader i:nth-child(2) { animation-delay: .15s; }
.totp-pending__loader i:nth-child(3) { animation-delay: .3s; }
@keyframes totp-pulse { 0%, 70%, 100% { opacity: .25; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-5px); } }

.product__discount { position: absolute; top: 18px; right: 18px; z-index: 2; padding: 7px 10px; border: 1px solid rgba(105, 235, 147, .45); border-radius: 9px; background: rgba(30, 93, 53, .72); color: #79f29e; font-size: 12px; font-weight: 900; box-shadow: 0 6px 24px rgba(50, 220, 105, .13); }
.product__footer del { display: block; margin: 0 0 2px; color: #524e46; font-size: 12px; }

.payment-strategies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.payment-strategies label { cursor: pointer; }
.payment-strategies input { position: absolute; opacity: 0; pointer-events: none; }
.payment-strategies label > span { display: grid; min-height: 76px; padding: 14px 16px; align-content: center; gap: 5px; border: 1px solid #2d2b26; border-radius: 13px; background: #201f1b; transition: .2s ease; }
.payment-strategies b { color: #988f82; font-size: 13px; }
.payment-strategies small { color: #544f48; font-size: 11px; line-height: 1.4; }
.payment-strategies input:checked + span { border-color: #d8d2c8; background: rgba(216, 210, 200, .11); box-shadow: inset 0 0 0 1px rgba(216, 210, 200, .18); }
.payment-strategies input:disabled + span { cursor: not-allowed; opacity: .48; }
.payment-breakdown { display: flex; margin: 0 0 15px; padding: 12px 14px; justify-content: space-between; gap: 12px; border-radius: 11px; background: #1c1c19; color: #5d5850; font-size: 12px; }
.payment-breakdown strong { display: block; margin-top: 3px; color: #d8d2c8; font-size: 13px; }

.account-shell { min-height: 100vh; height: auto; overflow: visible; }
.account-dashboard { display: block; width: min(1180px, calc(100% - 40px)); min-height: auto; margin: 0 auto; padding: 38px 0 80px; }
.account-top-actions { display: flex; align-items: center; gap: 12px; }
.account-home { color: #6a655b; font-size: 13px; font-weight: 700; text-decoration: none; }
.account-home:hover { color: #d8d2c8; }
.account-hero-card { position: relative; display: flex; min-height: 170px; padding: 32px 36px; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; border: 1px solid #2c2a26; border-radius: 22px; background: linear-gradient(110deg, rgba(35, 33, 30, .97), rgba(30, 29, 26, .97)); box-shadow: 0 24px 70px rgba(0, 0, 0, .22); }
.account-hero-card::after { position: absolute; width: 300px; height: 300px; right: -80px; bottom: -180px; border-radius: 50%; background: rgba(216, 210, 200, .16); filter: blur(18px); content: ''; }
.wallet-balance { position: relative; z-index: 1; display: grid; min-width: 290px; padding: 22px 26px; gap: 5px; border: 1px solid rgba(216, 210, 200, .28); border-radius: 17px; background: rgba(216, 210, 200, .09); }
.wallet-balance small { color: #d8d2c8; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.wallet-balance strong { color: #d8d2c8; font-family: "Russo One", sans-serif; font-size: clamp(28px, 4vw, 40px); font-weight: 400; }
.wallet-balance span { color: #58544b; font-size: 11px; }
.account-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; margin-top: 18px; }
.dashboard-card { position: relative; padding: 24px; border: 1px solid #2a2925; border-radius: 19px; background: rgba(32, 31, 27, .94); box-shadow: 0 18px 55px rgba(0, 0, 0, .16); }
.dashboard-card__head span { color: #d8d2c8; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.dashboard-card__head h2 { margin: 5px 0 0; color: #d8d2c8; font-size: 19px; }
.profile-list { display: grid; margin: 20px 0 0; }
.profile-list div { display: flex; min-height: 40px; padding: 10px 0; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #292723; }
.profile-list dt { color: #58534b; font-size: 12px; }
.profile-list dd { margin: 0; color: #928a7d; font-size: 12px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.account-action-form { display: grid; gap: 12px; margin-top: 20px; }
.account-action-form label { display: grid; gap: 7px; }
.account-action-form label span { color: #5f5a51; font-size: 11px; font-weight: 700; }
.account-action-form input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid #2e2c28; border-radius: 11px; outline: 0; background: #1c1c19; color: #d8d2c8; font: inherit; font-size: 13px; }
.account-action-form input:focus { border-color: #d8d2c8; box-shadow: 0 0 0 3px rgba(216, 210, 200, .11); }
.account-action-form button { display: flex; height: 45px; padding: 0 15px; align-items: center; justify-content: space-between; border: 0; border-radius: 11px; background: linear-gradient(105deg, #d8d2c8, #d8d2c8); color: #d8d2c8; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.account-action-form button:disabled { cursor: wait; opacity: .6; }
.account-action-form p { min-height: 18px; margin: 0; color: #5d5850; font-size: 11px; line-height: 1.5; }
.account-action-form p.is-error { color: #ff7b88; }
.account-action-form p.is-success { color: #6ee794; }
.history-card { margin-top: 18px; padding: 0; overflow: hidden; }
.history-card .dashboard-card__head { padding: 22px 24px 18px; }
.history-table { overflow-x: auto; }
.history-row { display: grid; min-width: 760px; grid-template-columns: 1.5fr .75fr .9fr 1fr .75fr; min-height: 58px; padding: 0 24px; align-items: center; gap: 16px; border-top: 1px solid #292723; color: #777065; font-size: 12px; }
.history-table--payments .history-row { min-width: 620px; grid-template-columns: 1fr 1fr 1fr 1fr; }
.history-row--head { min-height: 40px; color: #4a4640; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.history-row > span:first-child { display: grid; gap: 3px; }
.history-row strong { color: #968d80; font-size: 12px; }
.history-row small { color: #504c44; font-size: 10px; }
.history-status { width: fit-content; padding: 5px 8px; border-radius: 7px; font-size: 10px; font-weight: 800; }
.history-status--success { background: rgba(75, 213, 116, .1); color: #6ee794; }
.history-status--failed, .history-status--error { background: rgba(255, 96, 112, .1); color: #ff7b88; }
.history-status--pending { background: rgba(216, 210, 200, .1); color: #d8d2c8; }
.history-empty { margin: 0; padding: 24px; border-top: 1px solid #292723; color: #544f48; font-size: 12px; }
.account-notice { margin-bottom: 16px; padding: 14px 18px; border: 1px solid; border-radius: 12px; font-size: 12px; font-weight: 700; }
.account-notice--success { border-color: rgba(77, 220, 121, .25); background: rgba(77, 220, 121, .08); color: #72eb98; }
.account-notice--error { border-color: rgba(255, 92, 110, .25); background: rgba(255, 92, 110, .08); color: #ff7c8b; }

@media (max-width: 960px) {
    .account-grid { grid-template-columns: 1fr 1fr; }
    .profile-card { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .payment-strategies { grid-template-columns: 1fr; }
    .account-dashboard { width: min(100% - 28px, 1180px); padding-top: 24px; }
    .account-top-actions { gap: 8px; }
    .account-home { display: none; }
    .account-hero-card { padding: 25px 20px; align-items: stretch; flex-direction: column; }
    .wallet-balance { min-width: 0; }
    .account-grid { grid-template-columns: 1fr; }
    .profile-card { grid-column: auto; }
    .dashboard-card { padding: 21px 18px; }
    .history-card { padding: 0; }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -20%, #1d1d19 0, transparent 38%),
        #131310;
    font-family: Inter, Arial, sans-serif;
}

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

button {
    color: inherit;
    font: inherit;
}

.payment-notice {
    position: fixed;
    z-index: 150;
    top: 18px;
    left: 50%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 24px;
    width: min(520px, calc(100% - 30px));
    padding: 16px 50px 16px 18px;
    transform: translateX(-50%);
    border: 1px solid rgba(216, 210, 200, .48);
    border-radius: 9px;
    background: rgba(25, 24, 22, .97);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .5);
    backdrop-filter: blur(15px);
    animation: notice-in .4s ease both;
}

.payment-notice strong,
.payment-notice span {
    grid-column: 1;
}

.payment-notice strong {
    font-size: 13px;
}

.payment-notice span {
    color: #726c62;
    font-size: 10px;
    line-height: 1.5;
}

.payment-notice button {
    position: absolute;
    top: 50%;
    right: 15px;
    border: 0;
    transform: translateY(-50%);
    background: transparent;
    color: #d8d2c8;
    cursor: pointer;
    font-size: 22px;
}

.payment-notice--success {
    border-color: rgba(92, 216, 113, .5);
}

.payment-notice--pending {
    border-color: rgba(216, 210, 200, .5);
}

@keyframes notice-in {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.site-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, rgba(21, 21, 18, .06), #171714 78%, #141411);
}

.site-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 20%), rgba(216, 210, 200, .11), transparent 27%),
        linear-gradient(90deg, rgba(27, 27, 24, .72), transparent 25%, transparent 75%, rgba(27, 27, 24, .7));
}

.particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.header {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 270px 1fr 390px;
    align-items: center;
    width: min(1380px, calc(100% - 64px));
    height: 98px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(216, 210, 200, .06);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
}

.brand__logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 7px 18px rgba(216, 210, 200, .34));
}

.brand {
    display: flex;
    align-items: center;
    gap: 1px;
}

.brand__photo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 2px solid #d8d2c8;
    border-radius: 14px 4px 14px 4px;
    background:
        linear-gradient(145deg, rgba(216, 210, 200, .3), rgba(36, 35, 31, .78)),
        #1b1b18;
    color: #d8d2c8;
    font-family: "Russo One", sans-serif;
    font-size: 28px;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(216, 210, 200, .2),
        0 7px 18px rgba(216, 210, 200, .34);
    transform: skew(-5deg);
}

.brand__name {
    font-family: "Russo One", sans-serif;
    color: #d8d2c8;
    font-size: 15px;
    line-height: 1;
    letter-spacing: .08em;
    white-space: nowrap;
}

.nav {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 2vw, 34px);
}

.nav__link {
    position: relative;
    padding: 16px 0;
    color: #d8d2c8;
    font-size: 13px;
    font-weight: 600;
    transition: color .25s ease;
}

.nav__link::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 7px;
    left: 50%;
    height: 2px;
    background: var(--orange);
    transition: inset .25s ease;
}

.nav__link:hover {
    color: white;
}

.nav__link:hover::after,
.nav__link.is-active::after {
    right: 0;
    left: 0;
}

.header__actions,
.socials {
    display: flex;
    align-items: center;
}

.header__actions {
    justify-content: flex-end;
    gap: 12px;
}

.socials {
    gap: 11px;
}

.socials a {
    color: #d8d2c8;
    font-size: 9px;
    font-weight: 900;
}

.socials a:hover {
    color: var(--orange);
}

.online {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border: 1px solid rgba(97, 220, 114, .2);
    border-radius: 5px;
    background: rgba(12, 34, 17, .42);
}

.online__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #61dc72;
    box-shadow: 0 0 12px #61dc72;
    animation: online-pulse 1.8s ease-in-out infinite;
}

.online > span:last-child {
    display: grid;
    text-align: left;
}

.online small {
    color: #615c53;
    font-size: 7px;
    letter-spacing: .14em;
}

.online strong {
    margin-top: 2px;
    font-size: 10px;
}

.online.is-loading .online__pulse {
    background: #d8d2c8;
    box-shadow: 0 0 12px #d8d2c8;
}

.online.is-offline {
    border-color: rgba(224, 73, 73, .25);
    background: rgba(52, 13, 13, .42);
}

.online.is-offline .online__pulse {
    background: #e04b4b;
    box-shadow: 0 0 10px #e04b4b;
    animation: none;
}

.online.is-offline small {
    color: #514d46;
}

.header-ip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgba(216, 210, 200, .5);
    border-radius: 5px;
    background: rgba(27, 27, 24, .88);
    cursor: pointer;
    transition: .25s ease;
}

.header-ip:hover {
    border-color: var(--orange);
    background: rgba(34, 33, 30, .94);
}

.header-ip__status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #61dc72;
    box-shadow: 0 0 10px #61dc72;
}

.header-ip > span:nth-child(2) {
    display: grid;
    text-align: left;
}

.header-ip small {
    color: #d8d2c8;
    font-size: 7px;
    letter-spacing: .14em;
}

.header-ip strong {
    margin-top: 2px;
    font-size: 10px;
}

.header-ip i {
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    padding: 5px 8px;
    transform: translate(-50%, 4px);
    border-radius: 4px;
    opacity: 0;
    background: #1c1b18;
    color: #d8d2c8;
    font-size: 9px;
    font-style: normal;
    pointer-events: none;
    transition: .2s ease;
}

.header-ip:hover i,
.header-ip.is-copied i {
    opacity: 1;
    transform: translate(-50%, 0);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: rgba(26, 26, 23, .94);
}

.menu-toggle i {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: white;
    transition: .25s ease;
}

.hero {
    position: relative;
    z-index: 4;
    min-height: calc(100vh - 138px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 200px 32px 50px;
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 68%;
    background:
        linear-gradient(180deg, transparent, rgba(22, 21, 19, .76) 19%, #171714 52%, #141411 100%);
}

.hero__art {
    position: absolute;
    z-index: -2;
    inset: -98px 0 auto;
    height: min(790px, 74vh);
    overflow: hidden;
}

.hero__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(19, 19, 16, .03), transparent 58%, #171714 98%),
        linear-gradient(90deg, rgba(27, 27, 24, .5), transparent 28%, transparent 72%, rgba(27, 27, 24, .52));
}

.hero__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    filter: saturate(.72) contrast(1.08) brightness(.78);
    transform: scale(1.04);
    animation: hero-in 1.2s cubic-bezier(.2, .7, .2, 1) both;
}

.hero__flare {
    position: absolute;
    z-index: 2;
    top: 25%;
    left: 50%;
    width: 52vw;
    height: 20vw;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(216, 210, 200, .13);
    filter: blur(85px);
}

.hero__content {
    width: min(1020px, 100%);
    text-align: center;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 11px;
    color: #d8d2c8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .36em;
}

.hero__eyebrow span {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d8d2c8);
}

.hero__eyebrow span:last-child {
    transform: rotate(180deg);
}

h1 {
    position: relative;
    margin: 0;
    font-family: "Russo One", Impact, sans-serif;
    font-size: clamp(62px, 8.1vw, 128px);
    line-height: .85;
    letter-spacing: -.055em;
    color: #d8d2c8;
    text-shadow:
        0 7px 0 #7f786d,
        0 14px 0 #544f48,
        0 28px 60px rgba(0, 0, 0, .8);
}

h1::after {
    content: attr(data-title);
    position: absolute;
    inset: 0;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 8px rgba(0, 0, 0, .35);
}

h2 {
    margin: 28px 0 9px;
    font-size: clamp(19px, 2.1vw, 28px);
    font-weight: 900;
}

.hero__description {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 32px auto 27px;
}

.stat {
    position: relative;
    min-height: 108px;
    padding: 22px 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(32, 31, 28, .94), rgba(24, 24, 21, .94));
    text-align: left;
    backdrop-filter: blur(13px);
    transition: transform .3s ease, border-color .3s ease;
}

.stat::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -50px;
    width: 110px;
    height: 90px;
    border-radius: 50%;
    background: rgba(216, 210, 200, .16);
    filter: blur(23px);
}

.stat:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 210, 200, .65);
}

.stat strong,
.stat span {
    display: block;
}

.stat strong {
    margin-bottom: 10px;
    font-size: 25px;
    font-weight: 900;
}

.stat span {
    max-width: 150px;
    color: #d8d2c8;
    font-size: 11px;
    line-height: 1.35;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 17px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    padding: 16px 23px;
    border: 1px solid rgba(216, 210, 200, .68);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(216, 210, 200, .24), 0 12px 30px rgba(0, 0, 0, .34);
    transition: transform .25s ease, filter .25s ease;
}

.button:hover {
    transform: translateY(-3px);
    filter: brightness(1.16);
}

.button span {
    margin-right: 10px;
    font-size: 15px;
}

.button--primary {
    background: linear-gradient(180deg, #d8d2c8, #d8d2c8);
}

.button--secondary {
    background: linear-gradient(180deg, #d8d2c8, #272521);
}

.server {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 20px;
    color: #736c62;
    font-size: 13px;
}

.server strong {
    margin-left: 8px;
    color: white;
}

.scroll-hint {
    position: absolute;
    right: 34px;
    bottom: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: rotate(90deg) translateX(100%);
    transform-origin: right bottom;
    color: #545048;
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.scroll-hint span {
    width: 35px;
    height: 1px;
    background: #d8d2c8;
}

@keyframes hero-in {
    from {
        opacity: 0;
        transform: scale(1.13);
    }
    to {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes online-pulse {
    50% {
        opacity: .45;
        box-shadow: 0 0 4px #61dc72;
    }
}

@media (max-width: 1100px) {
    .header {
        grid-template-columns: 225px 1fr auto;
    }

    .nav {
        gap: 16px;
    }

    .online {
        display: none;
    }
}

@media (max-width: 820px) {
    .header {
        grid-template-columns: 1fr auto;
        width: min(100% - 34px, 720px);
        height: 80px;
    }

    .nav {
        position: absolute;
        top: 68px;
        right: 0;
        left: 0;
        display: grid;
        gap: 0;
        padding: 12px 20px;
        transform: translateY(-12px);
        visibility: hidden;
        opacity: 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(23, 23, 20, .98);
        backdrop-filter: blur(18px);
        transition: .25s ease;
    }

    .nav.is-open {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }

    .nav__link {
        border-bottom: 1px solid rgba(216, 210, 200, .06);
    }

    .nav__link::after {
        display: none;
    }

    .header-ip {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.is-open i:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle.is-open i:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .hero {
        min-height: calc(100vh - 100px);
        padding: 180px 18px 44px;
    }

    .hero__art {
        inset: -80px 0 auto;
        height: 620px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .scroll-hint {
        display: none;
    }
}

.shop {
    position: relative;
    overflow: hidden;
    padding: 110px max(32px, calc((100vw - 1380px) / 2)) 130px;
    background:
        radial-gradient(circle at 50% 5%, rgba(216, 210, 200, .09), transparent 28%),
        linear-gradient(180deg, #141412, #191816 48%, #141412);
}

.shop::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .14;
    pointer-events: none;
    background-image: linear-gradient(rgba(216, 210, 200,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(216, 210, 200,.04) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(transparent, black 20%, black 80%, transparent);
}

.section-heading {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-heading p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 0 14px;
    color: #d8d2c8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .32em;
}

.section-heading p span {
    width: 34px;
    height: 1px;
    background: #d8d2c8;
}

.section-heading h2 {
    margin: 0 0 13px;
    font-family: "Russo One", sans-serif;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1;
}

.section-heading > span {
    color: #645f56;
    font-size: 14px;
}

.server-tabs {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 500px);
    justify-content: center;
    gap: 14px;
    max-width: 1380px;
    margin: 0 auto 22px;
}

.server-tab {
    display: grid;
    gap: 5px;
    padding: 18px 20px;
    border: 1px solid rgba(216, 210, 200,.12);
    border-radius: 9px;
    background: rgba(29, 28, 25,.94);
    cursor: pointer;
    text-align: left;
    transition: .25s ease;
}

.server-tab strong {
    font-family: "Russo One", sans-serif;
    font-size: 17px;
}

.server-tab span {
    color: #5d5850;
    font-size: 10px;
}

.server-tab:hover,
.server-tab.is-active {
    border-color: var(--orange);
    background: linear-gradient(135deg, rgba(39, 37, 33,.96), rgba(27, 27, 24,.96));
    box-shadow: 0 12px 35px rgba(0,0,0,.3);
}

.category-tabs {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 30px;
}

.category-tab {
    padding: 10px 16px;
    border: 1px solid rgba(216, 210, 200,.11);
    border-radius: 5px;
    background: rgba(26, 26, 23,.94);
    color: #69635a;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    transition: .2s ease;
}

.category-tab:hover,
.category-tab.is-active {
    border-color: rgba(216, 210, 200,.68);
    background: #23221f;
    color: white;
}

.product-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1380px;
    margin: 0 auto;
}

.product[hidden] {
    display: none;
}

.catalog-empty {
    position: relative;
    z-index: 1;
    display: none;
    padding: 55px 20px;
    color: #5d5850;
    text-align: center;
}

.catalog-empty.is-visible {
    display: block;
}

.product {
    --accent: #d8d2c8;
    overflow: hidden;
    border: 1px solid rgba(216, 210, 200,.12);
    border-radius: 13px;
    background: #1a1916;
    box-shadow: 0 25px 70px rgba(0,0,0,.35);
    transition: transform .35s ease, border-color .35s ease;
}

.product--red { --accent: #d8d2c8; }
.product--green { --accent: #d8d2c8; }
.product--blue { --accent: #d8d2c8; }

.product:hover {
    transform: translateY(-10px);
    border-color: color-mix(in srgb, var(--accent), white 20%);
}

.product__visual {
    position: relative;
    height: 300px;
    overflow: hidden;
    background-image: var(--product-image, url("../images/store-ranks.png"));
    background-size: var(--product-size, 200% 200%);
    background-position: var(--product-position);
}

.product__visual::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, #1a1916);
}

.product__badge {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    padding: 7px 10px;
    border: 1px solid color-mix(in srgb, var(--accent), white 25%);
    border-radius: 4px;
    background: rgba(19, 19, 16,.65);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    backdrop-filter: blur(7px);
}

.product__shine {
    position: absolute;
    z-index: 1;
    inset: auto 10% -80px;
    height: 140px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .22;
    filter: blur(45px);
}

.product__body {
    position: relative;
    padding: 0 23px 23px;
}

.product__body > p {
    margin: 0 0 7px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
}

.product h3 {
    margin: 0;
    font-family: "Russo One", sans-serif;
    font-size: 25px;
    letter-spacing: .02em;
}

.product__subtitle {
    display: block;
    margin-top: 7px;
    color: #5d584f;
    font-size: 11px;
}

.product__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(216, 210, 200,.08);
}

.product__footer div {
    display: grid;
}

.product__footer small {
    color: #5d584f;
    font-size: 9px;
}

.product__footer strong {
    margin-top: 2px;
    font-size: 19px;
}

.product__footer button {
    padding: 11px 15px;
    border: 1px solid color-mix(in srgb, var(--accent), white 15%);
    border-radius: 5px;
    background: color-mix(in srgb, var(--accent), #1b1b18 60%);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    transition: .25s ease;
}

.product__footer button:hover {
    transform: translateX(3px);
    filter: brightness(1.25);
}

.product__footer button span {
    margin-left: 8px;
}

.purchase-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
}

.purchase-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.purchase-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3,2,2,.82);
    backdrop-filter: blur(13px);
}

.purchase-modal__dialog {
    position: relative;
    width: min(1050px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    transform: translateY(30px) scale(.97);
    border: 1px solid rgba(216, 210, 200,.3);
    border-radius: 15px;
    background: #191816;
    box-shadow: 0 40px 100px rgba(0,0,0,.65);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

.purchase-modal.is-open .purchase-modal__dialog {
    transform: translateY(0) scale(1);
}

.purchase-modal__close {
    position: absolute;
    z-index: 5;
    top: 15px;
    right: 17px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(216, 210, 200,.14);
    border-radius: 50%;
    background: rgba(27, 27, 24,.7);
    cursor: pointer;
    font-size: 24px;
}

.purchase-flow {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    min-height: 620px;
}

.purchase-main {
    padding: 55px;
}

.purchase-step {
    display: none;
}

.purchase-step.is-active {
    display: block;
    animation: step-in .35s ease both;
}

.step-label {
    color: var(--orange);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.purchase-step h2 {
    margin: 9px 0 6px;
    font-family: "Russo One", sans-serif;
    font-size: 35px;
}

.purchase-step > p {
    margin: 0 0 28px;
    color: #605b52;
    font-size: 13px;
}

.period-list {
    display: grid;
    gap: 11px;
}

.period-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    border: 1px solid rgba(216, 210, 200,.12);
    border-radius: 8px;
    background: #1e1d1a;
    cursor: pointer;
    transition: .25s ease;
}

.period-option:hover,
.period-option.is-selected {
    border-color: var(--orange);
    background: #252420;
}

.period-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--orange);
}

.period-option span {
    display: grid;
}

.period-option strong {
    font-size: 15px;
}

.period-option small {
    margin-top: 3px;
    color: #d8d2c8;
}

.purchase-next {
    width: 100%;
    margin-top: 24px;
    padding: 15px 20px;
    border: 1px solid #d8d2c8;
    border-radius: 6px;
    background: linear-gradient(180deg, #d8d2c8, #d8d2c8);
    cursor: pointer;
    font-weight: 800;
    box-shadow: inset 0 1px rgba(216, 210, 200,.25), 0 15px 34px rgba(45, 43, 39,.34);
}

.purchase-next:hover {
    filter: brightness(1.15);
}

.purchase-next span {
    margin-left: 10px;
}

.purchase-summary {
    display: flex;
    flex-direction: column;
    padding: 55px 48px;
    background:
        radial-gradient(circle at 65% 18%, rgba(216, 210, 200,.11), transparent 28%),
        #1c1c19;
}

.purchase-summary__head {
    display: flex;
    align-items: center;
    gap: 18px;
}

.purchase-summary__image {
    flex: 0 0 96px;
    height: 96px;
    border: 2px solid var(--orange);
    border-radius: 10px;
    background-image: url("../images/store-ranks.png");
    background-size: 200% 200%;
}

.purchase-summary__head small {
    color: #d8d2c8;
    font-size: 8px;
    letter-spacing: .14em;
}

.purchase-summary__head h3 {
    margin: 7px 0 4px;
    font-family: "Russo One", sans-serif;
    font-size: 25px;
}

.purchase-summary__head strong {
    color: #d8d2c8;
    font-size: 13px;
}

.purchase-summary__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 18px;
    padding: 17px 0;
    border-top: 1px solid rgba(216, 210, 200,.1);
    border-bottom: 1px solid rgba(216, 210, 200,.1);
    color: #6e685e;
    font-size: 12px;
}

.purchase-summary__price strong {
    color: white;
    font-size: 21px;
}

.purchase-summary__features {
    flex: 1;
    padding: 20px;
    border: 1px solid rgba(216, 210, 200,.32);
    border-radius: 8px;
    background: rgba(21, 20, 18,.58);
}

.purchase-summary__features > span {
    color: #d8d2c8;
    font-size: 12px;
    font-weight: 800;
}

.purchase-summary__features ul {
    display: grid;
    gap: 12px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
}

.purchase-summary__features li {
    position: relative;
    padding-left: 18px;
    color: #797267;
    font-size: 12px;
    line-height: 1.4;
}

.purchase-summary__features li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-size: 7px;
    top: 4px;
}

.purchase-summary > p {
    margin: 18px 0 0;
    color: #514d45;
    font-size: 9px;
    text-align: center;
}

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.field span {
    color: #d8d2c8;
    font-size: 11px;
    font-weight: 700;
}

.field input {
    width: 100%;
    padding: 15px 16px;
    outline: none;
    border: 1px solid rgba(216, 210, 200,.13);
    border-radius: 6px;
    background: #1e1d1a;
    color: white;
    transition: .2s ease;
}

.field input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(216, 210, 200,.14);
}

.field input.is-invalid {
    border-color: #ff4261;
}

.payment-title {
    margin: 24px 0 12px;
    font-size: 14px;
}

.payment-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.order-number {
    display: block;
    margin: 20px 0 5px;
    color: #d8d2c8;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.payment-list input {
    position: absolute;
    opacity: 0;
}

.payment-list span {
    display: grid;
    place-items: center;
    min-height: 72px;
    padding: 11px;
    border: 1px solid rgba(216, 210, 200,.12);
    border-radius: 7px;
    background: #1d1d19;
    cursor: pointer;
    color: #d8d2c8;
    font-size: 18px;
}

.payment-list small {
    margin-top: 7px;
    color: #d8d2c8;
    font-size: 9px;
}

.payment-list input:checked + span {
    border-color: var(--orange);
    background: #252420;
}

.form-error {
    min-height: 18px;
    margin-top: 13px;
    color: #ff6a80;
    font-size: 11px;
}

.purchase-buttons {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
}

.purchase-buttons.is-single {
    grid-template-columns: 1fr;
}

.purchase-buttons > button:first-child {
    margin-top: 24px;
    border: 1px solid rgba(216, 210, 200,.14);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

.purchase-success {
    padding-top: 100px;
    text-align: center;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border: 1px solid #62cf76;
    border-radius: 50%;
    background: rgba(52,180,77,.12);
    color: #72e388;
    font-size: 30px;
}

.footer {
    padding: 0 max(32px, calc((100vw - 1380px) / 2));
    background: #141411;
    color: #5d584f;
}

.footer__top {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding: 45px 0;
    border-top: 1px solid rgba(216, 210, 200,.08);
    border-bottom: 1px solid rgba(216, 210, 200,.08);
}

.recent-purchases {
    min-width: 0;
}

.recent-purchases__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 9px;
}

.recent-purchases__heading > span {
    color: #d8d2c8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.recent-purchases__heading small {
    color: #504c45;
    font-size: 9px;
}

.recent-purchases__viewport {
    min-width: 0;
    overflow: hidden;
}

.recent-purchases__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.recent-purchases__track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.recent-purchases__track::-webkit-scrollbar {
    display: none;
}

.recent-purchase,
.recent-purchases__empty {
    flex: 0 0 clamp(190px, 24%, 255px);
    min-width: 0;
    min-height: 190px;
    padding: 14px 16px 16px;
}

.recent-purchase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid rgba(216, 210, 200,.1);
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 34%, rgba(216, 210, 200, .13), transparent 42%),
        #1a1916;
    scroll-snap-align: start;
}

.recent-purchase__time {
    position: absolute;
    z-index: 2;
    top: 11px;
    right: 11px;
    padding: 5px 9px;
    border: 1px solid rgba(216, 210, 200,.08);
    border-radius: 999px;
    background: #25231f;
    color: #7b7469;
    font-size: 9px;
    font-weight: 700;
}

.recent-purchase__image {
    position: absolute;
    inset: 13px 18px 52px;
    background-image: url("../images/store-ranks.png");
    background-repeat: no-repeat;
    background-size: 200% 200%;
    filter: drop-shadow(0 14px 20px rgba(0,0,0,.5));
}

.recent-purchase strong {
    overflow: hidden;
    color: #d8d2c8;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-purchase small {
    overflow: hidden;
    margin-top: 4px;
    color: #69635a;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-purchase small span {
    margin-right: 3px;
    color: #d8d2c8;
}

.recent-purchases__empty {
    display: grid;
    place-items: center;
    flex-basis: 100%;
    min-height: 190px;
    border: 1px solid rgba(216, 210, 200,.08);
    border-radius: 12px;
    background: #191816;
    color: #5b564e;
    font-size: 10px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    padding: 27px 0 40px;
    font-size: 10px;
    line-height: 1.7;
}

.footer__bottom div {
    display: grid;
}

.footer__bottom strong {
    color: #746e64;
}

.footer__bottom a {
    color: #d8d2c8;
    text-decoration: underline;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin-top: 14px;
}

.legal-body {
    background:
        radial-gradient(circle at 50% -10%, rgba(216, 210, 200, .1), transparent 34%),
        #141411;
}

.legal-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    min-height: 98px;
    margin: 0;
    padding-inline: max(24px, calc((100% - 1180px) / 2));
    border-bottom: 1px solid rgba(216, 210, 200, .08);
}

.legal-header__back {
    color: #d8d2c8;
    font-size: 12px;
    font-weight: 700;
    transition: color .2s ease;
}

.legal-header__back:hover {
    color: var(--orange);
}

.legal-page {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    padding: 74px 24px 110px;
}

.legal-page__glow {
    position: absolute;
    top: 70px;
    left: 50%;
    width: 620px;
    height: 230px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(216, 210, 200, .1);
    filter: blur(90px);
    pointer-events: none;
}

.legal-document {
    position: relative;
    width: min(980px, 100%);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid rgba(216, 210, 200, .1);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(32, 31, 27, .98), rgba(23, 23, 20, .99));
    box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.legal-document__eyebrow {
    margin: 0 0 13px;
    color: #d8d2c8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .26em;
}

.legal-document h1 {
    margin: 0 0 48px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -.04em;
    text-shadow: none;
}

.legal-document h1::after {
    display: none;
}

.legal-document__content h2 {
    margin: 42px 0 14px;
    color: #d8d2c8;
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.35;
}

.legal-document__content h2:first-child {
    margin-top: 0;
}

.legal-document__content p {
    margin: 0 0 15px;
    color: #d8d2c8;
    font-size: 14px;
    line-height: 1.8;
}

.legal-document__content a {
    color: #d8d2c8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 620px) {
    .legal-header {
        width: 100%;
        min-height: 80px;
        padding-inline: 16px;
    }

    .legal-header .brand__name {
        display: none;
    }

    .legal-page {
        padding: 38px 14px 70px;
    }

    .legal-document h1 {
        margin-bottom: 34px;
    }

    .legal-document__content p {
        font-size: 13px;
        line-height: 1.7;
    }
}

/* Support tickets */
.ticket-workspace {
    display: grid;
    grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr);
    min-height: 640px;
    border-bottom: 1px solid rgba(216, 210, 200,.09);
    background: rgba(20,21,28,.38);
}

.ticket-workspace--admin {
    overflow: visible;
    border: 1px solid #2c2a26;
    border-radius: 16px;
    background: rgba(27,28,36,.94);
}

.ticket-sidebar {
    min-width: 0;
    border-right: 1px solid rgba(216, 210, 200,.09);
}

.ticket-create,
.ticket-queue-heading {
    display: grid;
    padding: 25px;
    gap: 14px;
    border-bottom: 1px solid rgba(216, 210, 200,.09);
}

.ticket-create header,
.ticket-list > header,
.ticket-queue-heading {
    margin: 0;
}

.ticket-create header > span,
.ticket-list > header > span,
.ticket-queue-heading > span,
.ticket-thread-header > div:first-child > span,
.ticket-thread-empty > span {
    color: #d8d2c8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}

.ticket-create h2,
.ticket-list h2,
.ticket-queue-heading h2,
.ticket-thread-header h2,
.ticket-thread-empty h2 {
    margin: 5px 0 0;
    color: #9a9183;
    font: 400 20px/1.25 "Russo One", sans-serif;
}

.ticket-create label,
.ticket-reply label {
    display: grid;
    gap: 7px;
    color: #5f5a51;
    font-size: 10px;
    font-weight: 700;
}

.ticket-create input,
.ticket-create select,
.ticket-create textarea,
.ticket-reply textarea,
.ticket-reply input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(216, 210, 200,.11);
    border-radius: 9px;
    outline: 0;
    background: #23211e;
    color: #d8d2c8;
    font: 600 12px/1.5 Inter, sans-serif;
}

.ticket-create input,
.ticket-create select {
    min-height: 44px;
    padding: 0 13px;
}

.ticket-create textarea,
.ticket-reply textarea {
    min-height: 104px;
    padding: 12px 13px;
    resize: vertical;
}

.ticket-create input:focus,
.ticket-create select:focus,
.ticket-create textarea:focus,
.ticket-reply textarea:focus,
.ticket-reply input[type="file"]:focus {
    border-color: #d8d2c8;
    box-shadow: 0 0 0 3px rgba(216, 210, 200,.11);
}

.ticket-file-field input[type="file"] {
    padding: 9px;
}

.ticket-file-field input[type="file"]::file-selector-button {
    margin-right: 11px;
    border: 0;
    border-radius: 6px;
    padding: 7px 10px;
    background: #353040;
    color: #d8d2c8;
    font: 700 10px Inter, sans-serif;
    cursor: pointer;
}

.ticket-file-field small {
    color: #70727e;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.45;
}

.ticket-create > button,
.ticket-reply button,
.ticket-close button {
    min-height: 42px;
    border: 1px solid #d8d2c8;
    border-radius: 8px;
    padding: 0 15px;
    background: linear-gradient(135deg,#d8d2c8,#d8d2c8);
    color: #d8d2c8;
    font: 800 11px Inter, sans-serif;
    cursor: pointer;
}

.ticket-create button:disabled,
.ticket-reply button:disabled,
.ticket-close button:disabled {
    cursor: wait;
    opacity: .58;
}

[data-ticket-status] {
    min-height: 16px;
    margin: 0;
    color: #878995;
    font-size: 11px;
}

[data-ticket-status]:empty { display: none; }
[data-ticket-status].is-error { color: #ff7b88; }
[data-ticket-status].is-success { color: #6ee794; }

.ticket-list > header {
    padding: 22px 25px 16px;
}

.ticket-list-item {
    display: grid;
    gap: 7px;
    padding: 15px 25px;
    border-top: 1px solid rgba(216, 210, 200,.07);
    color: inherit;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease;
}

.ticket-list-item:hover,
.ticket-list-item.is-active {
    background: rgba(216, 210, 200, .08);
    border-top-color: rgba(216, 210, 200, .2);
}

.ticket-list-item__top {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ticket-list-item strong {
    overflow: hidden;
    color: #ededf1;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-list-item > small,
.ticket-queue-heading > div {
    color: #524e46;
    font-size: 10px;
    line-height: 1.45;
}

.ticket-queue-heading > div b { color: #d9d9df; }
.ticket-empty { margin: 0; padding: 20px 25px; color: #797b87; font-size: 12px; }

.ticket-status {
    display: inline-flex;
    width: max-content;
    padding: 5px 8px;
    align-items: center;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.ticket-status--waiting { background: rgba(216, 210, 200, .1); color: #d8d2c8; }
.ticket-status--answered { background: rgba(75,213,116,.1); color: #70e795; }
.ticket-status--closed { background: rgba(139,141,153,.11); color: #9698a3; }

.ticket-thread {
    min-width: 0;
    padding: 0 27px 28px;
}

.ticket-thread-empty {
    display: grid;
    min-height: 520px;
    place-content: center;
    text-align: center;
}

.ticket-thread-empty p {
    max-width: 430px;
    margin: 10px auto 0;
    color: #7d7f8b;
    font-size: 12px;
    line-height: 1.6;
}

.ticket-thread-header {
    display: flex;
    min-height: 100px;
    padding: 21px 0;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(216, 210, 200,.09);
}

.ticket-thread-header p {
    margin: 7px 0 0;
    color: #7d7f8b;
    font-size: 10px;
}

.ticket-thread-tools {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ticket-messages {
    border-bottom: 1px solid rgba(216, 210, 200,.09);
}

.ticket-message {
    display: grid;
    padding: 20px 2px;
    gap: 10px;
    border-top: 1px solid rgba(216, 210, 200,.07);
}

.ticket-message:first-child { border-top: 0; }
.ticket-message--admin { padding-left: 16px; border-left: 2px solid rgba(111,225,148,.55); }

.ticket-message header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ticket-message strong { color: #e9e9ee; font-size: 11px; }
.ticket-message--admin strong { color: #75e498; }
.ticket-message time { color: #696b77; font-size: 9px; }
.ticket-message > p { margin: 0; color: #b6b7c0; font-size: 12px; line-height: 1.72; overflow-wrap: anywhere; }

.ticket-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ticket-attachments a {
    display: inline-flex;
    padding: 8px 10px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(216, 210, 200,.09);
    border-radius: 7px;
    background: rgba(255,255,255,.035);
    color: #d8d2c8;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.ticket-attachments a:hover { border-color: rgba(216, 210, 200, .45); }
.ticket-attachments small { color: #70727e; font-size: 9px; }

.ticket-reply {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(220px,.45fr);
    padding: 23px 0 0;
    gap: 14px;
}

.ticket-reply > div {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 13px;
}

.ticket-reply > div [data-ticket-status] { flex: 1; }

.ticket-close {
    display: flex;
    margin-top: 14px;
    align-items: center;
    gap: 12px;
}

.ticket-close button {
    border-color: rgba(255,101,116,.35);
    background: rgba(177,45,58,.12);
    color: #ff8994;
}

.ticket-closed-note {
    margin: 22px 0 0;
    padding: 14px;
    border: 1px solid rgba(216, 210, 200,.08);
    border-radius: 8px;
    color: #5d5850;
    font-size: 11px;
}

.ticket-player-popover {
    position: relative;
    display: inline-flex;
}

.ticket-player-popover > button {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(216, 210, 200, .35);
    border-radius: 50%;
    background: rgba(216, 210, 200, .09);
    color: #d8d2c8;
    font: 800 13px Inter, sans-serif;
    cursor: help;
}

.ticket-player-card {
    position: absolute;
    z-index: 30;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: 390px;
    padding: 18px;
    gap: 14px;
    border: 1px solid #3b3d49;
    border-radius: 12px;
    background: #201f1b;
    box-shadow: 0 20px 55px rgba(0,0,0,.48);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: .18s ease;
    visibility: hidden;
}

.ticket-player-popover:hover .ticket-player-card,
.ticket-player-popover:focus-within .ticket-player-card {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.ticket-player-card > strong { color: #d8d2c8; font-size: 14px; }
.ticket-player-card > small { color: #5b574e; font-size: 10px; overflow-wrap: anywhere; }
.ticket-player-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid #2c2a26; border-radius: 8px; background: #2c2a26; }
.ticket-player-facts > span { display: grid; min-width: 0; padding: 10px; gap: 5px; background: #23211e; }
.ticket-player-facts small { color: #544f48; font-size: 8px; }
.ticket-player-facts b { overflow: hidden; color: #e6e6eb; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 950px) {
    .ticket-workspace { grid-template-columns: 1fr; }
    .ticket-sidebar { border-right: 0; border-bottom: 1px solid rgba(216, 210, 200,.09); }
    .ticket-thread { padding-inline: 20px; }
    .ticket-reply { grid-template-columns: 1fr; }
    .ticket-reply > div { grid-column: auto; }
}

@media (max-width: 560px) {
    .ticket-create,
    .ticket-queue-heading,
    .ticket-list-item { padding-inline: 15px; }
    .ticket-list > header { padding-inline: 15px; }
    .ticket-thread { padding-inline: 14px; }
    .ticket-thread-header { align-items: flex-start; flex-direction: column; }
    .ticket-thread-tools { width: 100%; justify-content: space-between; }
    .ticket-list-item__top { align-items: flex-start; flex-direction: column; }
    .ticket-player-card { right: auto; left: 0; width: min(330px,calc(100vw - 58px)); }
    .ticket-player-facts { grid-template-columns: 1fr; }
    .ticket-reply > div,
    .ticket-close { align-items: stretch; flex-direction: column; }
}

body.admin-body { overflow-x: hidden; }
.account-page.admin-page { width: min(1500px, calc(100% - 64px)); padding: 0; }
@media (max-width: 820px) { .account-page.admin-page { width: min(100% - 28px, 1500px); } }

.footer__bottom p {
    margin: 0;
    text-align: right;
}

body.modal-open {
    overflow: hidden;
}

@keyframes step-in {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1050px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product__visual {
        height: 360px;
    }
}

@media (max-width: 760px) {
    .shop {
        padding: 80px 18px;
    }

    .purchase-modal {
        padding: 10px;
    }

    .purchase-flow {
        grid-template-columns: 1fr;
    }

    .purchase-main,
    .purchase-summary {
        padding: 38px 24px;
    }

    .purchase-summary {
        min-height: 460px;
    }

    .server-tabs {
        grid-template-columns: 1fr;
    }

    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .category-tab {
        flex: 0 0 auto;
    }

    .footer {
        padding-inline: 20px;
    }

    .footer__top {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
    }

    .footer__bottom p {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product__visual {
        height: 390px;
    }

    .payment-list {
        grid-template-columns: 1fr;
    }

    .payment-list span {
        grid-template-columns: auto 1fr;
        min-height: 55px;
    }

    .payment-list small {
        margin: 0 0 0 8px;
    }

    .purchase-summary__image {
        flex-basis: 76px;
        height: 76px;
    }
}

@media (max-width: 560px) {
    .brand__logo {
        width: 45px;
        height: 45px;
    }

    .brand__mark {
        width: 45px;
        height: 45px;
        font-size: 23px;
    }

    .brand__name {
        font-size: 12px;
    }

    .hero {
        padding-top: 145px;
    }

    .hero__art {
        height: 490px;
    }

    h1 {
        font-size: clamp(43px, 14.3vw, 72px);
        text-shadow: 0 4px 0 #7f786d, 0 8px 0 #544f48, 0 20px 50px rgba(0, 0, 0, .9);
    }

    h2 {
        margin-top: 22px;
    }

    .hero__description {
        font-size: 12px;
    }

    .stats {
        gap: 9px;
        margin-top: 24px;
    }

    .stat {
        min-height: 95px;
        padding: 17px 14px;
    }

    .stat strong {
        font-size: 21px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .server {
        flex-direction: column;
        gap: 9px;
    }
}

/* Graphite interface refresh */
body {
    background:
        radial-gradient(circle at 50% -15%, rgba(216, 210, 200, .1), transparent 32%),
        #1e1d1a;
}

.site-shell {
    background: #1e1d1a;
}

.header {
    margin-top: 18px;
    padding-inline: 22px;
    border: 1px solid rgba(216, 210, 200,.07);
    border-radius: 15px;
    background: rgba(32, 31, 28, .9);
    box-shadow: 0 18px 45px rgba(0,0,0,.2);
    backdrop-filter: blur(18px);
}

.site-shell::before {
    background:
        radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 20%), rgba(216, 210, 200, .08), transparent 28%);
}

.nav__link {
    color: #777066;
}

.online,
.header-ip {
    border-color: rgba(216, 210, 200,.08);
    background: #23221f;
}

.header-ip:hover {
    border-color: rgba(216, 210, 200, .6);
    background: #272521;
}

.hero__art {
    inset-inline: max(24px, calc((100vw - 1440px) / 2));
    border-radius: 28px;
    box-shadow: inset 0 0 0 1px rgba(216, 210, 200,.05);
    background:
        radial-gradient(circle at 50% 32%, rgba(216, 210, 200, .1), transparent 32%),
        #21201c;
}

.hero::after {
    background: linear-gradient(180deg, transparent, rgba(30, 29, 26, .38) 28%, #1e1d1a 100%);
}

.hero__art::after {
    background: linear-gradient(180deg, rgba(30, 29, 26, .02), transparent 66%, #1e1d1a 100%);
}

.hero__art img {
    filter: saturate(.72) contrast(1.04) brightness(.84);
}

.stat {
    border-color: rgba(216, 210, 200,.08);
    border-radius: 14px;
    background: rgba(34, 33, 29, .88);
    box-shadow: 0 14px 32px rgba(0,0,0,.16);
}

.stat:hover {
    border-color: rgba(216, 210, 200, .5);
}

.button {
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.button--primary,
.purchase-next,
.payment-result__button {
    border-color: #d8d2c8;
    background: linear-gradient(135deg, #d8d2c8, #d8d2c8);
}

.button--secondary {
    border-color: rgba(216, 210, 200,.1);
    background: #252420;
}

.shop {
    background: #1e1d1a;
}

.shop::before {
    opacity: .06;
}

.server-tab,
.category-tab {
    border-color: rgba(216, 210, 200,.07);
    background: #22211d;
}

.server-tab:hover,
.server-tab.is-active,
.category-tab:hover,
.category-tab.is-active {
    border-color: rgba(216, 210, 200, .45);
    background: #262521;
    box-shadow: none;
}

.product {
    border-color: rgba(216, 210, 200,.06);
    border-radius: 18px;
    background: #21201d;
    box-shadow: 0 16px 38px rgba(0,0,0,.2);
}

.product__visual::after {
    background: linear-gradient(transparent, #21201d);
}

.product__footer button {
    border-color: rgba(216, 210, 200, .45);
    border-radius: 9px;
    background: #d8d2c8;
}

.purchase-modal__dialog {
    border-color: rgba(216, 210, 200,.08);
    background: #201f1c;
}

.purchase-main,
.purchase-summary {
    background-color: #201f1c;
}

.period-option,
.field input,
.payment-list span {
    border-color: rgba(216, 210, 200,.08);
    background: #252420;
}

.period-option:hover,
.period-option.is-selected,
.payment-list input:checked + span {
    background: #282622;
}

.footer {
    background: #1c1b18;
}

.footer__top {
    border-color: rgba(216, 210, 200,.07);
}

.recent-purchase,
.recent-purchases__empty {
    border-color: rgba(216, 210, 200,.07);
    background:
        radial-gradient(circle at 50% 34%, rgba(216, 210, 200, .12), transparent 42%),
        #21201c;
}

.legal-body,
.legal-page {
    background: #1e1d1a;
}

.legal-document {
    border-color: rgba(216, 210, 200,.07);
    background: #21201d;
}

.payment-result {
    position: fixed;
    z-index: 220;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.payment-result.is-open {
    visibility: visible;
    opacity: 1;
}

.payment-result__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(19, 19, 16, .82);
    backdrop-filter: blur(12px);
}

.payment-result__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(520px, 100%);
    padding: 26px 42px 34px;
    transform: translateY(18px) scale(.98);
    border: 1px solid rgba(216, 210, 200,.1);
    border-radius: 24px;
    background: #23211e;
    box-shadow: 0 35px 90px rgba(0,0,0,.55);
    text-align: center;
    transition: transform .28s ease;
}

.payment-result.is-open .payment-result__dialog {
    transform: translateY(0) scale(1);
}

.payment-result__close {
    position: absolute;
    top: 18px;
    right: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5a554d;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.payment-result__label {
    width: min(270px, calc(100% - 65px));
    padding: 9px 18px;
    border-radius: 9px;
    background: linear-gradient(135deg, #d8d2c8, #d8d2c8);
    color: white;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(216, 210, 200, .28);
}

.payment-result h2 {
    margin: 24px 0 5px;
    font-family: Inter, sans-serif;
    font-size: clamp(26px, 5vw, 36px);
    line-height: 1.1;
}

.payment-result__description {
    margin: 0;
    color: #6d675d;
    font-size: 12px;
}

.payment-result__icon {
    width: 164px;
    height: 164px;
    margin: 20px 0 10px;
    object-fit: contain;
}

.payment-result__price {
    color: #d8d2c8;
    font-size: 31px;
    line-height: 1;
}

.payment-result__product {
    max-width: 100%;
    margin-top: 7px;
    overflow: hidden;
    color: #7a7469;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.payment-result__button {
    width: min(290px, 100%);
    margin-top: 30px;
    padding: 15px 22px;
    border: 1px solid #d8d2c8;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    font-weight: 800;
}

.promo-field {
    display: grid;
    grid-template-columns: 1fr 118px;
    align-items: end;
    gap: 9px;
}

.promo-field .field {
    margin-bottom: 0;
}

.promo-field button {
    height: 48px;
    border: 1px solid rgba(216, 210, 200, .45);
    border-radius: 8px;
    background: #252420;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.promo-field button:hover:not(:disabled) {
    border-color: var(--orange);
    background: #2b2925;
}

.promo-field button:disabled {
    cursor: wait;
    opacity: .65;
}

.promo-status {
    min-height: 20px;
    padding-top: 6px;
    font-size: 10px;
}

.promo-status.is-success {
    color: #72e388;
}

.promo-status.is-error {
    color: #ff6a80;
}

.terms-consent {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    gap: 13px;
    margin-top: 22px;
    padding: 15px 16px;
    border: 1px solid rgba(216, 210, 200,.08);
    border-radius: 10px;
    background: #24221f;
    cursor: pointer;
    color: #7c756a;
    font-size: 13px;
    line-height: 1.6;
}

.terms-consent input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.terms-consent__check {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(216, 210, 200,.16);
    border-radius: 6px;
    background: #252420;
    color: transparent;
    font-size: 16px;
    font-weight: 900;
    transition: .2s ease;
}

.terms-consent input:checked + .terms-consent__check {
    border-color: #d8d2c8;
    background: #d8d2c8;
    color: white;
}

.terms-consent a {
    color: #d8d2c8;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.purchase-summary__price > div {
    display: grid;
    justify-items: end;
}

.purchase-summary__price del {
    margin-bottom: 3px;
    color: #555149;
    font-size: 11px;
}

@media (max-width: 760px) {
    .header {
        margin-top: 10px;
        padding-inline: 12px;
    }

    .hero__art {
        inset-inline: 10px;
        border-radius: 18px;
    }

    .payment-result__dialog {
        padding: 24px 20px 28px;
        border-radius: 18px;
    }

    .payment-result__icon {
        width: 138px;
        height: 138px;
    }
}

@media (max-width: 520px) {
    .promo-field {
        grid-template-columns: 1fr;
    }

    .promo-field button {
        width: 100%;
    }
}

/* Server-side account and authentication */
.header {
    grid-template-columns: 230px minmax(230px, 1fr) auto;
}

.account-link {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 7px 11px;
    border: 1px solid rgba(216, 210, 200, .32);
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(216, 210, 200, .18), rgba(36, 35, 31, .96));
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.account-link:hover {
    border-color: rgba(216, 210, 200, .72);
    background: linear-gradient(135deg, rgba(216, 210, 200, .28), rgba(39, 37, 34, .98));
    transform: translateY(-1px);
}

.account-link__icon {
    position: relative;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border: 1px solid rgba(216, 210, 200, .45);
    border-radius: 8px;
    background: rgba(216, 210, 200, .12);
}

.account-link__icon::before,
.account-link__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #d8d2c8;
}

.account-link__icon::before {
    top: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.account-link__icon::after {
    bottom: 4px;
    width: 13px;
    height: 7px;
    border-radius: 8px 8px 4px 4px;
}

.account-link > span:last-child {
    display: grid;
    min-width: 0;
}

.account-link small {
    color: #615c53;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .11em;
    white-space: nowrap;
}

.account-link strong {
    max-width: 110px;
    margin-top: 3px;
    overflow: hidden;
    color: #d8d2c8;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-link.is-authenticated {
    border-color: rgba(104, 221, 129, .3);
    background: linear-gradient(135deg, rgba(50, 138, 72, .13), rgba(36, 35, 31, .96));
}

.account-link.is-authenticated .account-link__icon {
    border-color: rgba(104, 221, 129, .42);
    background: rgba(72, 180, 95, .11);
}

.account-link.is-authenticated .account-link__icon::before,
.account-link.is-authenticated .account-link__icon::after {
    background: #79db8f;
}

.auth-body {
    min-height: 100vh;
    background: #1b1a17;
}

.auth-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 15%, rgba(216, 210, 200, .17), transparent 33%),
        linear-gradient(145deg, #1e1d1a, #1a1916 70%);
}

.auth-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .22;
    background-image:
        linear-gradient(rgba(216, 210, 200,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(216, 210, 200,.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.auth-shell .particles {
    z-index: 0;
    opacity: .58;
}

.auth-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 48px));
    height: 94px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(216, 210, 200,.07);
}

.auth-back,
.auth-logout,
.legal-header__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 15px;
    border: 1px solid rgba(216, 210, 200,.1);
    border-radius: 9px;
    background: rgba(36, 34, 31, .72);
    color: #d8d2c8;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: .2s ease;
}

.auth-back:hover,
.auth-logout:hover {
    border-color: rgba(216, 210, 200, .5);
    background: #262521;
    color: white;
}

.auth-page,
.account-page {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: calc(100vh - 94px);
    padding: 50px 24px 80px;
}

.auth-card {
    position: relative;
    width: min(470px, 100%);
    padding: 42px;
    overflow: hidden;
    border: 1px solid rgba(216, 210, 200,.09);
    border-radius: 24px;
    background: rgba(33, 32, 28, .94);
    box-shadow: 0 38px 90px rgba(0,0,0,.38);
    backdrop-filter: blur(20px);
}

.auth-card__glow {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 330px;
    height: 220px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(216, 210, 200, .2);
    filter: blur(55px);
    pointer-events: none;
}

.auth-card__eyebrow,
.account-profile > div > span {
    position: relative;
    color: #d8d2c8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
}

.auth-card h1 {
    position: relative;
    margin: 10px 0 10px;
    font-family: "Russo One", sans-serif;
    font-size: clamp(28px, 6vw, 39px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.02em;
    text-shadow: none;
}

.auth-card h1::after,
.account-profile h1::after {
    display: none;
}

.auth-card__lead {
    position: relative;
    margin: 0 0 27px;
    color: #6d675d;
    font-size: 13px;
    line-height: 1.65;
}

.auth-alert {
    margin: -5px 0 20px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 104, 128, .28);
    border-radius: 9px;
    background: rgba(98, 31, 43, .2);
    color: #ffb0bd;
    font-size: 11px;
    line-height: 1.5;
}

.auth-alert--warning {
    border-color: rgba(216, 210, 200, .3);
    background: rgba(216, 210, 200, .18);
    color: #d8d2c8;
}

.auth-alert--success {
    border-color: rgba(105, 220, 130, .3);
    background: rgba(37, 99, 51, .18);
    color: #a8edb7;
}

.auth-form {
    display: grid;
    gap: 17px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field > span {
    color: #7d766b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}

.auth-field input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid rgba(216, 210, 200,.1);
    outline: none;
    border-radius: 10px;
    background: #252420;
    color: white;
    font: 600 14px Inter, sans-serif;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-field input:hover {
    border-color: rgba(216, 210, 200,.17);
}

.auth-field input:focus {
    border-color: #d8d2c8;
    background: #262420;
    box-shadow: 0 0 0 4px rgba(216, 210, 200, .11);
}

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 54px;
    margin-top: 4px;
    padding: 0 18px;
    border: 1px solid #d8d2c8;
    border-radius: 10px;
    background: linear-gradient(135deg, #d8d2c8, #d8d2c8);
    box-shadow: 0 14px 30px rgba(216, 210, 200, .28);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    transition: transform .2s ease, filter .2s ease;
}

.auth-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.auth-submit i {
    font-size: 18px;
    font-style: normal;
}

.auth-security {
    display: grid;
    grid-template-columns: 31px 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid rgba(216, 210, 200,.07);
}

.auth-security__mark {
    position: relative;
    width: 28px;
    height: 24px;
    border: 1px solid rgba(109, 220, 133, .45);
    border-radius: 6px;
    background: rgba(75, 179, 98, .1);
}

.auth-security__mark::before {
    content: "";
    position: absolute;
    bottom: calc(100% - 3px);
    left: 6px;
    width: 14px;
    height: 11px;
    border: 2px solid #72d989;
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
}

.auth-security p {
    display: grid;
    gap: 3px;
    margin: 0;
}

.auth-security strong {
    color: #8f877a;
    font-size: 10px;
}

.auth-security small {
    color: #5a554d;
    font-size: 9px;
    line-height: 1.45;
}

.account-card {
    width: min(820px, 100%);
    padding: 38px;
    border: 1px solid rgba(216, 210, 200,.09);
    border-radius: 24px;
    background: rgba(33, 32, 28, .94);
    box-shadow: 0 38px 90px rgba(0,0,0,.34);
}

.account-profile {
    display: flex;
    align-items: center;
    gap: 17px;
    padding-bottom: 27px;
    border-bottom: 1px solid rgba(216, 210, 200,.07);
}

.account-avatar {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(216, 210, 200, .55);
    border-radius: 18px;
    background: linear-gradient(145deg, #d8d2c8, #d8d2c8);
    box-shadow: 0 12px 30px rgba(216, 210, 200, .26);
    font-family: "Russo One", sans-serif;
    font-size: 27px;
}

.account-profile h1 {
    margin: 5px 0 0;
    font-family: "Russo One", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0;
    text-shadow: none;
}

.account-empty {
    display: grid;
    justify-items: center;
    min-height: 310px;
    padding: 66px 20px 40px;
    text-align: center;
}

.account-empty__icon {
    position: relative;
    width: 58px;
    height: 48px;
    margin-bottom: 20px;
    border: 1px solid rgba(216, 210, 200, .35);
    border-radius: 11px;
    background: rgba(216, 210, 200, .08);
}

.account-empty__icon::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 9px;
    width: 23px;
    height: 12px;
    border: 1px solid rgba(216, 210, 200, .35);
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
    background: #24221f;
}

.account-empty h2 {
    margin: 0 0 8px;
    font-size: 16px;
}

.account-empty p {
    margin: 0;
    color: #5e5950;
    font-size: 12px;
}

.account-back {
    display: inline-flex;
    padding: 12px 15px;
    border: 1px solid rgba(216, 210, 200,.09);
    border-radius: 9px;
    background: #252420;
    color: #857d72;
    font-size: 11px;
    font-weight: 800;
    transition: .2s ease;
}

.account-back:hover {
    border-color: rgba(216, 210, 200, .48);
    color: white;
}

@media (max-width: 1240px) {
    .header .online {
        display: none;
    }
}

@media (max-width: 820px) {
    .header {
        grid-template-columns: 1fr auto;
    }

    .auth-topbar {
        width: min(100% - 28px, 720px);
        height: 80px;
    }

    .auth-page,
    .account-page {
        min-height: calc(100vh - 80px);
        padding: 35px 16px 55px;
    }
}

@media (max-width: 560px) {
    .account-link {
        width: 42px;
        min-height: 42px;
        padding: 7px;
    }

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

    .account-link__icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .auth-topbar .brand__photo {
        width: 62px;
        height: 62px;
    }

    .auth-topbar .brand__name {
        display: none;
    }

    .auth-card,
    .account-card {
        padding: 28px 22px;
        border-radius: 19px;
    }

    .account-profile h1 {
        max-width: 185px;
        overflow: hidden;
        font-size: 22px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .account-empty {
        min-height: 280px;
        padding-inline: 0;
    }
}

.auth-shell.account-shell {
    height: auto;
    overflow: visible;
}

.account-page.account-dashboard {
    display: block;
    min-height: auto;
    padding: 38px 0 80px;
}

.account-hero-card .account-profile {
    padding-bottom: 0;
    border-bottom: 0;
}

@media (max-width: 820px) {
    .account-page.account-dashboard {
        min-height: auto;
        padding: 28px 0 70px;
    }
}

@media (max-width: 680px) {
    .account-page.account-dashboard {
        width: min(100% - 28px, 1180px);
        padding-top: 24px;
    }

    .account-hero-card .account-profile h1 {
        max-width: 210px;
    }
}

/* Unified account workspace */
.account-body {
    background: #1e1d1a;
}

.account-shell .header {
    width: min(1380px, calc(100% - 64px));
}

.account-page.account-dashboard {
    width: min(1380px, calc(100% - 64px));
    padding: 34px 0 90px;
}

.account-overview {
    display: grid;
    grid-template-columns: minmax(290px, 1fr) auto auto;
    min-height: 138px;
    padding: 24px 4px;
    align-items: center;
    gap: 34px;
    border-top: 1px solid rgba(216, 210, 200,.09);
    border-bottom: 1px solid rgba(216, 210, 200,.09);
}

.account-overview__profile {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 17px;
}

.account-overview__avatar {
    display: grid;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    place-items: center;
    border: 1px solid rgba(216, 210, 200, .55);
    border-radius: 17px;
    background: linear-gradient(145deg, #d8d2c8, #d8d2c8);
    box-shadow: 0 12px 30px rgba(216, 210, 200, .25);
    font-family: "Russo One", sans-serif;
    font-size: 26px;
}

.account-overview__profile > div {
    min-width: 0;
}

.account-overview__profile > div > span,
.account-section__title span,
.account-balance-line > small {
    color: #d8d2c8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .18em;
}

.account-overview__profile h1 {
    margin: 5px 0 4px;
    overflow: hidden;
    font-family: "Russo One", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0;
    text-shadow: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-overview__avatar {
    color: #d8d2c8;
    font-size: 26px;
    letter-spacing: 0;
}

.account-overview__profile small,
.account-balance-line > span {
    color: #58544b;
    font-size: 11px;
}

.account-balance-line {
    display: grid;
    min-width: 230px;
    padding: 2px 34px;
    gap: 4px;
    border-left: 1px solid rgba(216, 210, 200,.09);
}

.account-balance-line strong {
    color: #d8d2c8;
    font-family: "Russo One", sans-serif;
    font-size: 34px;
    font-weight: 400;
}

.account-session-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-session-actions a,
.account-session-actions button {
    display: inline-flex;
    min-height: 43px;
    padding: 0 15px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 210, 200,.1);
    border-radius: 9px;
    background: #23221f;
    color: #898175;
    font: 700 11px Inter, sans-serif;
    cursor: pointer;
    transition: .2s ease;
}

.account-session-actions a:hover,
.account-session-actions button:hover {
    border-color: rgba(216, 210, 200,.55);
    color: #d8d2c8;
}

.account-section,
.account-tool {
    border-bottom: 1px solid rgba(216, 210, 200,.09);
}

.account-profile-line,
.account-tool {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
}

.account-profile-line {
    min-height: 126px;
    padding: 25px 4px;
}

.account-section__title h2 {
    margin: 5px 0 0;
    color: #9a9183;
    font-size: 18px;
}

.account-facts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0;
}

.account-facts div {
    display: grid;
    min-width: 0;
    min-height: 62px;
    padding: 6px 17px;
    align-content: center;
    gap: 8px;
    border-left: 1px solid rgba(216, 210, 200,.08);
}

.account-facts dt {
    color: #524e46;
    font-size: 10px;
}

.account-facts dd {
    margin: 0;
    overflow: hidden;
    color: #91897c;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-tool {
    min-height: 126px;
    padding: 24px 4px;
}

.account-inline-form {
    display: grid;
    align-items: end;
    gap: 12px;
}

.account-inline-form--topup {
    grid-template-columns: minmax(150px, .55fr) minmax(240px, 1fr) auto;
}

.account-inline-form--promo {
    grid-template-columns: minmax(260px, 1fr) auto;
}

.account-inline-form label {
    display: grid;
    gap: 7px;
}

.account-inline-form label > span {
    color: #5d5850;
    font-size: 10px;
    font-weight: 700;
}

.account-inline-form input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(216, 210, 200,.11);
    border-radius: 9px;
    outline: 0;
    background: #23211e;
    color: #d8d2c8;
    font: 600 13px Inter, sans-serif;
}

.account-inline-form input:focus {
    border-color: #d8d2c8;
    box-shadow: 0 0 0 3px rgba(216, 210, 200,.11);
}

.account-inline-form button {
    display: flex;
    min-width: 180px;
    height: 46px;
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #d8d2c8;
    border-radius: 9px;
    background: linear-gradient(135deg, #d8d2c8, #d8d2c8);
    color: #d8d2c8;
    font: 800 11px Inter, sans-serif;
    cursor: pointer;
}

.account-inline-form button:disabled {
    cursor: wait;
    opacity: .6;
}

.account-inline-form button i {
    font-size: 17px;
    font-style: normal;
}

.account-inline-form p {
    grid-column: 1 / -1;
    min-height: 0;
    margin: 0;
    color: #5d5850;
    font-size: 11px;
}

.account-inline-form p:empty {
    display: none;
}

.account-inline-form p.is-error { color: #ff7b88; }
.account-inline-form p.is-success { color: #6ee794; }

.account-history {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    padding: 28px 4px;
    align-items: start;
}

.account-history .history-table {
    border-top: 1px solid rgba(216, 210, 200,.04);
}

.account-history .history-row {
    padding-inline: 18px 4px;
    border-top-color: rgba(216, 210, 200,.07);
}

.account-history .history-row--head {
    border-top: 0;
}

.account-history .history-empty {
    padding: 20px 18px;
    border-top: 0;
}

@media (max-width: 1120px) {
    .account-overview {
        grid-template-columns: minmax(280px, 1fr) auto;
    }

    .account-session-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .account-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .account-facts div:nth-child(n + 4) {
        border-top: 1px solid rgba(216, 210, 200,.08);
    }
}

@media (max-width: 820px) {
    .account-shell .header,
    .account-page.account-dashboard {
        width: min(100% - 28px, 1380px);
    }

    .account-page.account-dashboard {
        padding: 24px 0 65px;
    }

    .account-profile-line,
    .account-tool,
    .account-history {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .account-profile-line,
    .account-tool,
    .account-history {
        padding-block: 24px;
    }
}

@media (max-width: 620px) {
    .account-overview {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-block: 24px;
    }

    .account-balance-line {
        min-width: 0;
        padding: 18px 0 0;
        border-top: 1px solid rgba(216, 210, 200,.08);
        border-left: 0;
    }

    .account-session-actions {
        grid-column: auto;
        justify-content: stretch;
    }

    .account-session-actions a,
    .account-session-actions form,
    .account-session-actions button {
        width: 100%;
    }

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

    .account-facts div,
    .account-facts div:nth-child(n + 4) {
        padding-inline: 12px;
        border-top: 1px solid rgba(216, 210, 200,.08);
    }

    .account-inline-form--topup,
    .account-inline-form--promo {
        grid-template-columns: 1fr;
    }

    .account-inline-form button {
        width: 100%;
    }
}

/* Account tabs */
.account-workspace {
    width: 100%;
    max-width: 100%;
    min-height: 560px;
}

.account-tabs {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 34px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(216, 210, 200,.09);
    scrollbar-width: none;
}

.account-tabs::-webkit-scrollbar {
    display: none;
}

.account-tab {
    position: relative;
    display: inline-flex;
    min-height: 62px;
    padding: 0 2px;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    border: 0;
    outline: 0;
    background: transparent;
    color: #5b574e;
    font: 800 12px Inter, sans-serif;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease;
}

.account-tab::after {
    position: absolute;
    right: 50%;
    bottom: -1px;
    left: 50%;
    height: 2px;
    background: #d8d2c8;
    box-shadow: 0 0 16px rgba(216, 210, 200,.55);
    content: '';
    transition: inset .2s ease;
}

.account-tab > span {
    color: #46423c;
    font-size: 9px;
    letter-spacing: .08em;
    transition: color .2s ease;
}

.account-tab:hover,
.account-tab.is-active {
    color: #d8d2c8;
}

.account-tab.is-active::after {
    right: 0;
    left: 0;
}

.account-tab.is-active > span {
    color: #d8d2c8;
}

.account-tab:focus-visible {
    color: #d8d2c8;
}

.account-tab-panel {
    animation: account-tab-in .22s ease both;
}

.account-tab-panel[hidden] {
    display: none !important;
}

.account-tab-panel > .account-notice {
    margin: 22px 0 0;
}

@keyframes account-tab-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 620px) {
    .account-workspace {
        min-height: 0;
    }

    .account-tabs {
        gap: 24px;
    }

    .account-tab {
        min-height: 56px;
        font-size: 11px;
    }
}

/* NDAZ Atlas redesign — warm graphite, server-first layout */
:root {
    --bg: #191816;
    --panel: #22211d;
    --panel-soft: rgba(33, 32, 29, .96);
    --panel-raised: #262420;
    --text: #d8d2c8;
    --muted: #aaa49b;
    --orange: #d8d2c8;
    --orange-dark: #d8d2c8;
    --accent: #d8d2c8;
    --accent-strong: #d8d2c8;
    --accent-soft: rgba(216, 210, 200, .12);
    --line: #2d2c27;
    --line-soft: rgba(216, 210, 200, .075);
    --danger: #e66767;
    --success: #78c992;
}

body,
.account-body,
.admin-body,
.legal-body,
.auth-body {
    color: var(--text);
    background:
        radial-gradient(circle at 50% -12%, rgba(216, 210, 200, .075), transparent 28%),
        #191916;
    font-family: Inter, Arial, sans-serif;
}

::selection {
    background: rgba(216, 210, 200, .32);
    color: #d8d2c8;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.site-shell {
    min-height: auto;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 18% 31%, rgba(216, 210, 200, .12) 0 2px, transparent 3px),
        radial-gradient(circle at 64% 18%, rgba(216, 210, 200, .1) 0 1px, transparent 2px),
        radial-gradient(circle at 79% 57%, rgba(216, 210, 200, .1) 0 2px, transparent 3px),
        linear-gradient(135deg, transparent 0 47%, rgba(216, 210, 200, .025) 48% 49%, transparent 50%),
        #1c1b18;
    background-size: 280px 230px, 350px 270px, 410px 340px, 90px 90px, auto;
}

.site-shell::before {
    z-index: 1;
    background:
        radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 24%), rgba(216, 210, 200, .065), transparent 24%),
        linear-gradient(180deg, transparent 45%, rgba(20, 20, 18, .35));
}

.particles {
    z-index: 2;
    opacity: .28;
}

.header,
.account-shell .header {
    width: min(1380px, calc(100% - 64px));
    height: 88px;
    grid-template-columns: 330px minmax(260px, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(216, 210, 200, .3);
    border-radius: 14px;
    background:
        linear-gradient(105deg, rgba(40, 39, 34, .98), rgba(31, 30, 27, .98) 44%, rgba(33, 32, 29, .98));
    box-shadow:
        inset 0 1px 0 rgba(216, 210, 200, .08),
        0 18px 45px rgba(0, 0, 0, .28),
        0 0 35px rgba(216, 210, 200, .035);
    backdrop-filter: blur(18px);
}

.brand {
    gap: 12px;
}

.brand__photo {
    width: 54px;
    height: 54px;
    border-radius: 0;
    object-fit: contain;
    filter: none;
}

.brand__copy {
    display: grid;
    gap: 5px;
}

.brand__name {
    color: #d8d2c8;
    font-family: Inter, Arial, sans-serif;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .035em;
}

.brand__copy small {
    color: #514d45;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .11em;
    white-space: nowrap;
}

.nav {
    justify-content: flex-start;
    gap: 8px;
}

.nav__link {
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #756e64;
    font-size: 13px;
    font-weight: 700;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.nav__link::after {
    display: none;
}

.nav__link:hover {
    border-color: rgba(216, 210, 200, .28);
    background: rgba(216, 210, 200, .08);
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.nav__link.is-active {
    border-color: rgba(216, 210, 200, .48);
    background: linear-gradient(135deg, rgba(216, 210, 200, .22), rgba(216, 210, 200, .1));
    color: #d8d2c8;
    box-shadow: inset 0 0 0 1px rgba(216, 210, 200, .025);
}

.header__actions {
    gap: 9px;
}

.online,
.header-ip,
.account-link {
    border-color: rgba(216, 210, 200, .28);
    border-radius: 8px;
    background: rgba(26, 25, 22, .48);
    box-shadow: none;
}

.header-ip:hover,
.account-link:hover {
    border-color: rgba(216, 210, 200, .55);
    background: #252420;
}

.header-ip small,
.account-link small,
.online small {
    color: #514d45;
}

.account-link {
    min-width: 138px;
    min-height: 46px;
    padding: 7px 12px;
}

.account-link__icon {
    border-color: rgba(216, 210, 200, .42);
    background: var(--accent-soft);
}

.account-link__icon::before,
.account-link__icon::after,
.account-link.is-authenticated .account-link__icon::before,
.account-link.is-authenticated .account-link__icon::after {
    background: var(--accent-strong);
}

.account-link.is-authenticated,
.account-link.is-authenticated .account-link__icon {
    border-color: rgba(120, 201, 146, .35);
    background: rgba(63, 125, 82, .1);
}

.account-link.is-authenticated .account-link__icon::before,
.account-link.is-authenticated .account-link__icon::after {
    background: var(--success);
}

.menu-toggle {
    border-color: var(--line);
    border-radius: 8px;
    background: #22211d;
}

.hero {
    display: grid;
    width: min(1380px, calc(100% - 64px));
    min-height: 0;
    margin: 0 auto;
    padding: 42px 0 28px;
    align-items: stretch;
    justify-content: stretch;
}

.hero::after {
    display: none;
}

.hero__connect {
    position: relative;
    padding: 0;
}

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

.hero__connect-heading p,
.hero__eyebrow,
.section-heading > p,
.auth-card__eyebrow,
.legal-document__eyebrow,
.account-overview__profile > div > span,
.account-section__title span,
.admin-heading > div > span,
.admin-form header span,
.admin-list header span {
    margin: 0 0 9px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
}

.hero__connect-heading h2 {
    margin: 0 0 7px;
    font-size: clamp(27px, 3vw, 40px);
    letter-spacing: -.035em;
}

.hero__connect-heading > div > span {
    color: var(--muted);
    font-size: 13px;
}

.hero__online {
    display: grid;
    min-width: 145px;
    justify-items: end;
    gap: 7px;
}

.hero__online > strong {
    color: #d8d2c8;
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 850;
    line-height: .9;
    letter-spacing: -.04em;
}

.hero__online > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__online small {
    color: #504c45;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .17em;
}

.hero__online.is-offline > strong,
.hero__online.is-offline small {
    color: #b86464;
}

.hero__servers {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr .9fr .9fr;
    gap: 12px;
}

.hero-server-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 80px;
    padding: 15px 17px;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(35, 34, 30, .92);
    color: var(--text);
    text-align: left;
    box-shadow: none;
}

button.hero-server-card {
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

button.hero-server-card:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 210, 200, .54);
    background: #262521;
}

.hero-server-card__tag {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(216, 210, 200, .16);
    border-radius: 8px;
    background: rgba(216, 210, 200, .06);
    color: var(--accent-strong);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
}

.hero-server-card > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.hero-server-card small {
    color: #4d4942;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .13em;
}

.hero-server-card strong {
    overflow: hidden;
    color: #d8d2c8;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-server-card:not(button) strong {
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
}

.hero-server-card > i {
    color: #58534b;
    font-size: 10px;
    font-style: normal;
}

.hero__content {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(330px, .86fr) minmax(520px, 1.14fr);
    gap: clamp(55px, 7vw, 105px);
    padding: clamp(38px, 5vw, 68px);
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 26px;
    background:
        linear-gradient(120deg, rgba(216, 210, 200, .035), transparent 38%),
        #23221e;
    text-align: left;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .2);
}

.hero__eyebrow {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.hero__eyebrow span {
    width: 24px;
    background: var(--accent);
}

.hero h1 {
    margin: 0;
    color: #d8d2c8;
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(55px, 7vw, 94px);
    font-weight: 950;
    line-height: .9;
    letter-spacing: -.075em;
    text-shadow: none;
}

.hero h1::after {
    display: none;
}

.hero__content h2 {
    margin: 24px 0 10px;
    font-size: clamp(21px, 2.2vw, 31px);
    letter-spacing: -.035em;
}

.hero__description {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--line);
}

.stat {
    min-height: 126px;
    padding: 26px;
    border: 0;
    border-radius: 0;
    background: #1f1e1b;
    backdrop-filter: none;
}

.stat::after {
    right: -45px;
    bottom: -60px;
    background: rgba(216, 210, 200, .08);
}

.stat:hover {
    z-index: 1;
    transform: none;
    background: #22211d;
}

.stat strong {
    margin-bottom: 12px;
    color: #d8d2c8;
    font-size: 26px;
    letter-spacing: -.03em;
}

.stat span {
    color: #5e5950;
    font-size: 11px;
    line-height: 1.55;
}

.hero__actions {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 28px;
}

.button {
    min-width: 0;
    min-height: 48px;
    padding: 0 18px;
    gap: 20px;
    border-radius: 9px;
    box-shadow: none;
    font-size: 12px;
}

.button span {
    order: 2;
    margin: 0;
}

.button--primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #1c1b18;
}

.button--secondary {
    border-color: var(--line);
    background: #272622;
    color: #877f73;
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
}

.server,
.scroll-hint {
    display: none;
}

.shop {
    padding: 56px 32px 110px;
    background:
        linear-gradient(rgba(216, 210, 200,.014) 1px, transparent 1px),
        linear-gradient(90deg, rgba(216, 210, 200,.014) 1px, transparent 1px),
        #1a1917;
    background-size: 70px 70px;
}

.section-heading {
    width: min(1380px, 100%);
    max-width: 1380px;
    margin: 0 auto 34px;
    text-align: left;
}

.section-heading > p {
    justify-content: flex-start;
    margin-bottom: 12px;
    color: var(--accent);
}

.section-heading > p span:first-child {
    background: var(--accent);
}

.section-heading > p span:last-child {
    display: none;
}

.section-heading h2 {
    margin: 0 0 10px;
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 900;
    letter-spacing: -.055em;
}

.section-heading > span {
    color: var(--muted);
    font-size: 13px;
}

.server-tabs,
.category-tabs,
.product-grid,
.catalog-empty {
    width: min(1380px, 100%);
    max-width: 1380px;
}

.server-tabs {
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 500px));
    justify-content: flex-start;
    gap: 12px;
    margin: 0 auto 18px;
}

.server-tab {
    flex: 0 1 520px;
}

.server-tab {
    min-height: 82px;
    padding: 17px 20px;
    border-color: var(--line);
    border-radius: 13px;
    background: #22211d;
    box-shadow: none;
}

.server-tab::before {
    background: var(--accent);
}

.server-tab:hover,
.server-tab.is-active {
    transform: none;
    border-color: rgba(216, 210, 200, .52);
    background: #262420;
    box-shadow: inset 3px 0 0 var(--accent);
}

.server-tab strong {
    color: #d8d2c8;
}

.server-tab span {
    color: #56524a;
}

.category-tabs {
    justify-content: flex-start;
    margin: 0 auto 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.category-tab {
    border-color: var(--line);
    border-radius: 8px;
    background: #201f1b;
    color: #5e5950;
}

.category-tab:hover,
.category-tab.is-active {
    border-color: rgba(216, 210, 200, .55);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.product-grid {
    width: min(1380px, 100%);
    max-width: 1380px;
    grid-template-columns: repeat(4, minmax(0, 298px));
    justify-content: start;
    gap: 16px;
    margin: 0 auto;
}

.product {
    --accent: #d8d2c8;
    overflow: hidden;
    border-color: var(--line);
    border-radius: 18px;
    background: #21201d;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .18);
}

.product:hover {
    transform: translateY(-5px);
    border-color: rgba(216, 210, 200, .5);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .32);
}

.product__visual {
    height: 260px;
    border-bottom: 1px solid var(--line);
}

.product__visual::after {
    background: linear-gradient(180deg, transparent 56%, rgba(23, 23, 20, .76));
}

.product__badge {
    top: 13px;
    left: 13px;
    padding: 6px 9px;
    border-color: rgba(216, 210, 200, .62);
    border-radius: 6px;
    background: rgba(24, 24, 21, .78);
    color: var(--accent-strong);
}

.product__shine {
    background: var(--accent);
}

.product__body > p {
    color: var(--accent);
}

.product__discount {
    top: 13px;
    right: 13px;
    border-color: rgba(120, 201, 146, .35);
    background: rgba(32, 83, 50, .78);
    color: #91dca8;
    box-shadow: none;
}

.product__body {
    padding: 0 18px 18px;
    background: #21201d;
}

.product__body h3 {
    margin-top: 15px;
    color: #d8d2c8;
    font-family: Inter, Arial, sans-serif;
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -.025em;
}

.product__footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top-color: var(--line);
}

.product__footer strong {
    font-size: 17px;
}

.product__footer button {
    padding: 10px 13px;
}

.product__footer button,
.purchase-next,
.payment-result__button,
.auth-submit,
.account-inline-form button,
.account-action-form button,
.ticket-create button,
.ticket-reply button,
.admin-submit {
    border-color: var(--orange);
    border-radius: 8px;
    background: var(--orange);
    color: #1b1b18;
    box-shadow: none;
}

.product__footer button:hover,
.purchase-next:hover,
.payment-result__button:hover,
.auth-submit:hover,
.account-inline-form button:hover,
.ticket-create button:hover,
.ticket-reply button:hover,
.admin-submit:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.purchase-modal__backdrop,
.payment-result__backdrop {
    background: rgba(20, 20, 17, .82);
    backdrop-filter: blur(7px);
}

.purchase-modal__dialog,
.payment-result__dialog {
    border-color: var(--line);
    border-radius: 20px;
    background: #22211d;
    box-shadow: 0 45px 100px rgba(0, 0, 0, .55);
}

.purchase-main,
.purchase-summary {
    background: #22211d;
}

.purchase-summary {
    border-left-color: var(--line);
}

.purchase-step > p,
.period-option small,
.purchase-summary__head small,
.purchase-summary__price,
.purchase-summary > p,
.field span {
    color: #5e5950;
}

.purchase-summary__head strong,
.purchase-summary__features > span {
    color: var(--accent);
}

.purchase-summary__features {
    border-color: rgba(216, 210, 200, .34);
    background: #1d1c19;
}

.purchase-summary__features li {
    color: #7a7368;
}

.purchase-step h2,
.purchase-summary h3,
.payment-result__dialog h2 {
    font-family: Inter, Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -.035em;
}

.period-option,
.payment-strategies label > span,
.payment-breakdown,
.field input,
.promo-field button {
    border-color: var(--line);
    border-radius: 9px;
    background: #1d1c19;
}

.period-option:hover,
.period-option.is-selected,
.payment-strategies input:checked + span {
    border-color: rgba(216, 210, 200, .62);
    background: var(--accent-soft);
    box-shadow: none;
}

.period-option input {
    accent-color: var(--accent);
}

.terms-consent {
    border-color: var(--line);
    background: #1d1c19;
    color: #7a7368;
    transition: border-color .2s ease, background .2s ease;
}

.terms-consent:hover,
.terms-consent:has(input:checked) {
    border-color: rgba(216, 210, 200, .5);
    background: rgba(216, 210, 200, .085);
}

.terms-consent__check {
    border-color: rgba(216, 210, 200, .28);
    background: #23221e;
}

.field input:focus,
.auth-field input:focus,
.account-inline-form input:focus,
.account-action-form input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.ticket-create input:focus,
.ticket-create select:focus,
.ticket-create textarea:focus,
.ticket-reply textarea:focus {
    border-color: var(--accent);
    background: #1f1e1b;
    box-shadow: 0 0 0 3px rgba(216, 210, 200, .1);
}

.terms-consent input:checked + .terms-consent__check {
    border-color: var(--accent);
    background: var(--accent);
    color: #1b1b18;
}

.payment-result__label {
    background: var(--accent);
    color: #1b1b18;
}

.footer {
    padding: 54px max(32px, calc((100% - 1380px) / 2)) 30px;
    border-top: 1px solid var(--line);
    background: #181715;
}

.footer__top,
.footer__bottom {
    width: 100%;
}

.recent-purchases {
    border-color: var(--line);
    border-radius: 13px;
    background: #191918;
}

.recent-purchases__heading,
.recent-purchases__viewport,
.footer__bottom,
.footer__legal {
    border-color: var(--line);
}

.purchase-item,
.recent-purchase,
.recent-purchases__empty {
    border-color: var(--line);
    background: #22211d;
}

.recent-purchases__heading > span,
.footer__bottom strong {
    color: #d8d2c8;
}

.recent-purchases__heading small,
.recent-purchase small,
.footer__bottom,
.footer__bottom p {
    color: #5e5950;
}

.recent-purchase small span,
.footer__bottom a,
.footer__legal a,
.footer a {
    color: var(--accent);
}

.footer__legal a:hover,
.footer a:hover {
    color: var(--accent-strong);
}

.auth-shell,
.account-shell {
    background:
        radial-gradient(circle at 50% 8%, rgba(216, 210, 200, .085), transparent 30%),
        linear-gradient(rgba(216, 210, 200,.014) 1px, transparent 1px),
        linear-gradient(90deg, rgba(216, 210, 200,.014) 1px, transparent 1px),
        #1a1917;
    background-size: auto, 70px 70px, 70px 70px, auto;
}

.auth-shell::before {
    opacity: .15;
    background-image: linear-gradient(135deg, transparent 45%, rgba(216, 210, 200,.05) 46% 47%, transparent 48%);
    background-size: 110px 110px;
}

.auth-topbar {
    width: min(1320px, calc(100% - 48px));
    height: 88px;
    border-bottom-color: var(--line);
}

.auth-back,
.auth-logout,
.legal-header__back {
    border-color: var(--line);
    border-radius: 8px;
    background: #22211d;
    color: #6d675d;
}

.auth-back:hover,
.auth-logout:hover,
.legal-header__back:hover {
    border-color: rgba(216, 210, 200, .55);
    background: #262420;
    color: #d8d2c8;
}

.auth-card {
    width: min(510px, 100%);
    padding: 44px;
    border-color: var(--line);
    border-radius: 20px;
    background: #22211d;
    box-shadow: 0 38px 85px rgba(0, 0, 0, .32);
    backdrop-filter: none;
}

.auth-card__glow {
    top: -150px;
    width: 360px;
    background: rgba(216, 210, 200, .12);
}

.auth-card h1 {
    color: #d8d2c8;
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(31px, 6vw, 43px);
    font-weight: 900;
    letter-spacing: -.045em;
}

.auth-card__lead,
.auth-agreement,
.totp-pending p {
    color: var(--muted);
}

.auth-agreement a,
.terms-consent a {
    color: var(--accent-strong);
}

.auth-field > span {
    color: #6d675d;
}

.auth-field input {
    border-color: var(--line);
    border-radius: 9px;
    background: #1d1c19;
}

.totp-pending__icon {
    border-color: rgba(216, 210, 200, .42);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.totp-pending__loader i {
    background: var(--accent);
}

.account-page.account-dashboard,
.admin-page {
    width: min(1380px, calc(100% - 64px));
}

.account-overview {
    border-color: var(--line);
}

.account-overview__avatar,
.account-avatar {
    border-color: rgba(216, 210, 200, .46);
    border-radius: 13px;
    background: linear-gradient(145deg, #d8d2c8, #2c2a26);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .24);
}

.account-overview__profile h1,
.account-profile h1,
.account-balance-line strong,
.admin-heading h1,
.admin-metrics strong,
.admin-player-card h2 {
    font-family: Inter, Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -.04em;
}

.account-balance-line,
.account-facts div,
.account-tabs,
.account-section,
.account-tool,
.history-row,
.history-empty {
    border-color: var(--line);
}

.account-tab {
    color: #58534b;
}

.account-tab::after {
    height: 1px;
    background: var(--accent);
    box-shadow: none;
}

.account-tab.is-active > span,
.account-overview__profile > div > span,
.account-section__title span,
.account-balance-line > small {
    color: var(--accent);
}

.account-session-actions a,
.account-session-actions button,
.account-admin-link {
    border-color: var(--line);
    border-radius: 8px;
    background: #22211d;
    color: #7a7368;
}

.account-session-actions a:hover,
.account-session-actions button:hover,
.account-admin-link:hover {
    border-color: rgba(216, 210, 200, .54);
    background: #262420;
}

.account-inline-form input,
.account-action-form input {
    border-color: var(--line);
    border-radius: 8px;
    background: #1d1c19;
}

.account-facts dt,
.account-overview__profile small,
.account-balance-line > span,
.history-row--head {
    color: #544f48;
}

.history-status--success {
    background: rgba(120, 201, 146, .1);
    color: #8ed9a6;
}

.history-status--pending {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.account-notice,
.auth-alert {
    border-radius: 9px;
}

.admin-heading {
    border-bottom: 1px solid var(--line);
}

.admin-heading span,
.admin-form header span,
.admin-list header span {
    color: var(--accent);
}

.admin-tabs {
    border-bottom-color: var(--line);
}

.admin-metrics,
.admin-form,
.admin-list,
.admin-player-result,
.admin-revenue-metrics,
.admin-player-card dl {
    border-color: var(--line);
    border-radius: 13px;
    background: #201f1c;
}

.admin-metrics article,
.admin-revenue-metrics article,
.admin-list-row,
.admin-revenue-row,
.admin-promo-product-row,
.admin-promo-use-row,
.admin-player-history div {
    border-color: var(--line);
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-player-card dl div {
    border-color: var(--line);
    border-radius: 8px;
    background: #1c1b18;
}

.admin-fields .check input {
    accent-color: var(--accent);
}

.admin-type-fields {
    border-color: #383530;
    border-radius: 9px;
}

.admin-list-row button {
    border-color: var(--line);
    border-radius: 7px;
    background: #262521;
}

.admin-list-row button:hover {
    border-color: rgba(216, 210, 200, .55);
}

.ticket-workspace,
.ticket-sidebar,
.ticket-thread,
.ticket-create,
.ticket-list,
.ticket-thread-empty,
.ticket-message,
.ticket-player-popover {
    border-color: var(--line);
    background: #201f1c;
}

.ticket-create header > span,
.ticket-list > header > span,
.ticket-queue-heading > span,
.ticket-thread-header > div:first-child > span,
.ticket-thread-empty > span {
    color: var(--accent);
}

.ticket-create label,
.ticket-reply label,
.ticket-file-field small,
.ticket-list-item > small,
.ticket-queue-heading > div,
.ticket-thread-empty p {
    color: #58534b;
}

.ticket-queue-heading > div b {
    color: var(--accent-strong);
}

.ticket-list-item,
.ticket-thread-header,
.ticket-message header,
.ticket-reply,
.ticket-close,
.ticket-attachments a {
    border-color: var(--line);
}

.ticket-list-item:hover,
.ticket-list-item.is-active {
    border-color: rgba(216, 210, 200, .42);
    background: var(--accent-soft);
}

.ticket-create input,
.ticket-create select,
.ticket-create textarea,
.ticket-reply textarea,
.ticket-reply input[type="file"] {
    border-color: var(--line);
    background: #1b1a17;
}

.ticket-file-field input[type="file"]::file-selector-button,
.ticket-reply input[type="file"]::file-selector-button {
    border: 1px solid rgba(216, 210, 200, .34);
    background: rgba(216, 210, 200, .12);
    color: var(--accent-strong);
}

.ticket-file-field input[type="file"]::file-selector-button:hover,
.ticket-reply input[type="file"]::file-selector-button:hover {
    border-color: rgba(216, 210, 200, .62);
    background: rgba(216, 210, 200, .2);
}

.ticket-attachments a {
    border-color: var(--line);
    background: #23221f;
    color: var(--accent-strong);
}

.ticket-attachments a:hover {
    border-color: rgba(216, 210, 200, .5);
}

.ticket-player-popover > button {
    border-color: rgba(216, 210, 200, .38);
    background: rgba(216, 210, 200, .1);
    color: var(--accent-strong);
}

.ticket-player-card {
    border-color: var(--line);
    background: #201f1c;
}

.ticket-player-card > small,
.ticket-player-facts small {
    color: #58534b;
}

.ticket-player-facts {
    border-color: var(--line);
    background: var(--line);
}

.ticket-player-facts > span {
    background: #23221f;
}

.ticket-player-facts b {
    color: #d8d2c8;
}

.admin-category-manager {
    margin-bottom: 18px;
}

.admin-list-row button.admin-delete {
    border-color: rgba(190, 74, 74, .38);
    background: rgba(190, 74, 74, .09);
    color: #e49a9a;
}

.admin-list-row button.admin-delete:hover {
    border-color: rgba(220, 91, 91, .68);
    background: rgba(190, 74, 74, .17);
}

.admin-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 12px;
    border: 1px solid rgba(216, 210, 200, .34);
    border-radius: 6px;
    background: rgba(216, 210, 200, .12);
    color: var(--accent-strong);
    cursor: pointer;
}

.admin-player-ticket {
    display: block;
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    color: #aaa69d;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease, padding-left .2s ease;
}

.admin-player-ticket:hover {
    padding-left: 8px;
    color: var(--accent-strong);
}

.admin-modal-open { overflow: hidden; }

.admin-ticket-modal {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: none;
    place-items: center;
    padding: 24px;
}

.admin-ticket-modal.is-open { display: grid; }
.admin-ticket-modal__backdrop { position: absolute; inset: 0; background: rgba(6, 6, 5, .82); backdrop-filter: blur(8px); }
.admin-ticket-modal__dialog { position: relative; width: min(900px, 100%); max-height: min(820px, calc(100vh - 48px)); padding: 34px; overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: #201f1c; box-shadow: 0 35px 90px rgba(0,0,0,.55); }
.admin-ticket-modal__close { position: absolute; z-index: 2; top: 15px; right: 15px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #23221f; color: #ddd8ce; font-size: 24px; cursor: pointer; }
.admin-ticket-view__header { padding: 0 55px 24px 0; border-bottom: 1px solid var(--line); }
.admin-ticket-view__header > span { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.admin-ticket-view__header h2 { margin: 9px 0; color: #d8d2c8; font-size: clamp(21px, 4vw, 30px); }
.admin-ticket-view__header p { margin: 0; color: #58534b; font-size: 12px; }
.admin-ticket-view__messages { display: grid; gap: 0; margin-top: 12px; }
.admin-ticket-view__messages .ticket-message { padding-block: 18px; }
.admin-ticket-error { color: #e49a9a; }

@media (max-width: 620px) {
    .admin-ticket-modal { padding: 10px; }
    .admin-ticket-modal__dialog { max-height: calc(100vh - 20px); padding: 24px 18px; border-radius: 12px; }
}

.ticket-message--admin {
    border-color: rgba(216, 210, 200, .36);
    background: rgba(216, 210, 200, .07);
}

.ticket-status--answered {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.legal-header {
    border-bottom-color: var(--line);
    background: #191916;
}

.legal-page {
    background:
        radial-gradient(circle at 50% 0, rgba(216, 210, 200, .07), transparent 31%),
        #1b1a17;
}

.legal-page__glow {
    background: rgba(216, 210, 200, .08);
}

.legal-document {
    border-color: var(--line);
    border-radius: 18px;
    background: #22211d;
    box-shadow: 0 30px 75px rgba(0,0,0,.2);
}

.legal-document h1,
.legal-document h2 {
    color: #d8d2c8;
    font-family: Inter, Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -.035em;
}

.legal-document__content p {
    color: #686259;
}

.legal-document__content a {
    color: var(--accent-strong);
}

@media (max-width: 1340px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .header,
    .account-shell .header {
        grid-template-columns: 275px minmax(220px, 1fr) auto;
    }

    .brand__copy small {
        display: none;
    }

    .hero__content {
        grid-template-columns: 1fr;
    }

    .stats {
        width: 100%;
    }

    .hero__servers {
        grid-template-columns: 1fr 1fr;
    }

    .hero-server-card--primary {
        grid-column: 1 / -1;
    }

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

@media (max-width: 820px) {
    .header,
    .account-shell .header,
    .account-page.account-dashboard,
    .admin-page {
        width: min(100% - 28px, 1380px);
    }

    .header,
    .account-shell .header {
        overflow: visible;
    }

    .header {
        grid-template-columns: 1fr auto;
        height: 78px;
    }

    .brand__photo {
        width: 48px;
        height: 48px;
    }

    .nav {
        z-index: 30;
        top: 78px;
        right: 14px;
        left: 14px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #22211d;
        box-shadow: 0 25px 55px rgba(0,0,0,.38);
    }

    .nav__link {
        padding: 14px 12px;
        border-bottom: 1px solid var(--line);
    }

    .nav__link:last-child {
        border-bottom: 0;
    }

    .hero {
        width: min(100% - 28px, 1380px);
        padding: 34px 0 62px;
    }

    .hero__content {
        padding: 38px 30px;
        border-radius: 18px;
    }

    .shop {
        padding: 68px 20px 80px;
    }

    .footer {
        padding-inline: 20px;
    }
}

@media (max-width: 620px) {
    .brand__name {
        font-size: 15px;
    }

    .header .account-link {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 7px;
        justify-content: center;
        gap: 0;
        box-sizing: border-box;
    }

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

    .header .account-link__icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .header__actions {
        gap: 7px;
    }

    .hero__connect-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero__online {
        width: 100%;
        min-width: 0;
        justify-items: center;
        text-align: center;
    }

    .hero__servers {
        grid-template-columns: 1fr;
    }

    .hero-server-card--primary {
        grid-column: auto;
    }

    .hero-server-card > i {
        display: none;
    }

    .hero__content {
        padding: 31px 22px;
        gap: 38px;
    }

    .hero h1 {
        font-size: clamp(48px, 17vw, 70px);
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
        justify-content: space-between;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        min-height: 104px;
    }

    .auth-card {
        padding: 30px 22px;
        border-radius: 16px;
    }

    .purchase-modal__dialog,
    .payment-result__dialog {
        border-radius: 16px;
    }

    .account-overview__avatar,
    .account-avatar {
        border-radius: 11px;
    }
}

@media (max-width: 420px) {
    .header,
    .account-shell .header {
        width: calc(100% - 20px);
        padding-inline: 12px;
    }

    .brand {
        gap: 9px;
    }

    .brand__photo {
        width: 44px;
        height: 44px;
    }

    .header__actions {
        gap: 6px;
    }
}

.account-switcher {
    position: relative;
    display: flex;
    align-items: stretch;
}
.account-switcher .account-link {
    border-radius: 9px 0 0 9px;
    border-right: 0;
}
.account-switcher__toggle {
    width: 32px;
    padding: 0;
    border: 1px solid rgba(104,221,129,.3);
    border-left: 1px solid rgba(104,221,129,.16);
    border-radius: 0 9px 9px 0;
    background: linear-gradient(135deg,rgba(50,138,72,.13),rgba(36, 35, 31,.96));
    color: #6b665c;
    font: 700 15px/1 Inter,sans-serif;
    cursor: pointer;
}
.account-switcher__toggle:hover,
.account-switcher__toggle[aria-expanded="true"] {
    color: #d8d2c8;
    border-color: rgba(216, 210, 200,.45);
}
.account-switcher__popover {
    position: fixed;
    z-index: 10000;
    width: 310px;
    padding: 10px;
    border: 1px solid #312f2a;
    border-radius: 12px;
    background: #201f1c;
    box-shadow: 0 22px 60px rgba(0,0,0,.5);
}
.account-switcher__popover > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 10px;
    border-bottom: 1px solid #2c2a26;
}
.account-switcher__popover > header span {
    color: #d8d2c8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}
.account-switcher__popover > header strong {
    color: #58534b;
    font-size: 10px;
}
.account-switcher__list {
    display: grid;
    gap: 4px;
    padding: 7px 0;
}
.account-switcher__row {
    min-width: 0;
    min-height: 48px;
    display: grid;
    grid-template-columns: 32px minmax(0,1fr) 28px;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 8px;
}
.account-switcher__row:hover {
    background: #23221f;
}
.account-switcher__row.is-current {
    background: rgba(216, 210, 200,.055);
}
.account-switcher__row > span:nth-child(2),
.account-switcher__switch {
    min-width: 0;
    display: grid;
    gap: 3px;
}
.account-switcher__row strong {
    overflow: hidden;
    color: #d8d2c8;
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.account-switcher__row small {
    color: #565149;
    font-size: 9px;
}
.account-switcher__row > b {
    color: #d8d2c8;
    font-size: 12px;
    text-align: center;
}
.account-switcher__avatar {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    background: rgba(216, 210, 200,.12);
    color: #d8d2c8;
    font: 700 11px/1 'Russo One',sans-serif;
}
.account-switcher__avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.account-switcher__row form {
    min-width: 0;
    margin: 0;
}
.account-switcher__switch,
.account-switcher__remove {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.account-switcher__remove {
    height: 28px;
    border-radius: 7px;
    color: #504c45;
    font-size: 18px;
    text-align: center;
}
.account-switcher__remove:hover {
    background: rgba(231,91,91,.09);
    color: #e97575;
}
.account-switcher__add,
.account-switcher__limit {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-top: 1px solid #2c2a26;
    color: #d8d2c8;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}
.account-switcher__add:hover {
    color: #d8d2c8;
}
.account-switcher__limit {
    color: #504c45;
}
@media (max-width: 760px) {
    .account-switcher__toggle {
        width: 28px;
    }
    .account-switcher__popover {
        width: min(310px,calc(100vw - 20px));
    }
}

@media (min-width: 821px) and (max-width: 1100px) {
    .header,
    .account-shell .header {
        grid-template-columns: 170px minmax(0,1fr) auto;
        column-gap: 10px;
    }

    .brand {
        gap: 9px;
    }

    .brand__photo {
        width: 48px;
        height: 48px;
    }

    .brand__name {
        font-size: 16px;
    }

    .nav {
        min-width: 0;
        gap: 4px;
    }

    .nav__link {
        padding: 8px 10px;
        font-size: 12px;
        line-height: 18px;
        white-space: nowrap;
    }

    .header__actions {
        gap: 6px;
    }

    .header-ip {
        gap: 6px;
        padding: 7px 9px;
    }

    .account-link {
        min-width: 126px;
        min-height: 42px;
        padding: 6px 9px;
    }

    .account-switcher__toggle {
        width: 28px;
    }
}

@media (max-width: 820px) {
    .nav {
        top: 78px;
        right: 0;
        left: auto;
        width: max-content;
        min-width: 0;
        max-width: calc(100vw - 28px);
        padding: 6px;
        gap: 2px;
        border-radius: 10px;
    }

    .nav__link {
        width: 100%;
        padding: 10px 12px;
        box-sizing: border-box;
        border-bottom: 0;
        line-height: 18px;
        white-space: nowrap;
    }
}

@media (max-width: 430px) {
    .nav {
        top: 72px;
        right: 0;
        left: auto;
        width: max-content;
        max-width: calc(100vw - 16px);
        padding: 5px;
    }

    .nav__link {
        padding: 9px 11px;
    }
}

@media (max-width: 820px) {
    .header > .nav,
    .account-shell .header > .nav {
        top: 64px !important;
        right: 0 !important;
        left: auto !important;
        width: max-content;
        min-width: 0;
        max-width: calc(100vw - 16px);
        transform-origin: top right;
    }
}

@media (max-width: 430px) {
    .header > .nav,
    .account-shell .header > .nav {
        top: 64px !important;
        right: 0 !important;
        left: auto !important;
    }
}
