@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root {
  --sky: #b9ebff;
  --steel: #2e3b47;
  --steel-dark: #1a232c;
  --steel-light: #3c4854;
  --gold: #ffcb48;
  --cyan: #009fdc;
  --paper: #f9f6fa;
  --ink: #344452;
  --muted: #73808a;
  --line: #ccd5dc;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body {
  margin: 0;
  min-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  background-color: var(--sky);
  background-image: linear-gradient(to bottom, transparent 650px, var(--sky) 1050px), url('/assets/portal-background.webp');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: auto, 1920px auto;
}
button, input, select, textarea { font: inherit; }
button, a, input, select { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: #0083b7; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { color: #263643; font-family: 'Roboto', Arial, sans-serif; line-height: 1.25; }
h1 { font-size: 32px; }
h2 { font-size: 25px; }
h3 { font-size: 20px; }
p { margin-bottom: 16px; }
::selection { background: #ffe090; color: #243440; }
:focus-visible { outline: 3px solid #008ec8; outline-offset: 3px; }
.skip { position: fixed; top: -90px; left: 16px; padding: 11px 18px; background: var(--gold); color: #1a232c; z-index: 100; font-weight: 700; }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.top-strip { width: min(1150px, calc(100% - 36px)); min-height: 36px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #244552; font-size: 12px; text-shadow: 0 1px 2px #fff; }
.site-header {
  position: relative;
  z-index: 10;
  width: min(1090px, calc(100% - 60px));
  min-height: 64px;
  margin: 12px auto 0;
  padding: 0 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  background: linear-gradient(#46525d 0, #303c48 47%, #242f3a 48%, #1c2732 100%);
  border: 2px solid #d6b05a;
  border-top-color: #ffe094;
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px #202c36, 0 3px 0 #526779, 0 7px 10px #17364d52;
}
.site-header::before, .site-header::after { content: ''; position: absolute; top: 9px; width: 31px; height: 42px; background: #2b3945; border-top: 2px solid #d6b05a; border-bottom: 2px solid #d6b05a; z-index: -1; }
.site-header::before { left: -22px; transform: skewY(-24deg); border-left: 2px solid #d6b05a; }
.site-header::after { right: -22px; transform: skewY(24deg); border-right: 2px solid #d6b05a; }
.site-header nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.site-header nav a { padding: 18px 0; color: #fff; font-size: 14px; white-space: nowrap; text-shadow: 0 1px #111c24; }
.site-header nav a:hover, .site-header nav a[aria-current='page'] { color: var(--gold); text-decoration: none; }
.header-actions { padding-left: 24px; border-left: 1px solid #65727e; }
.text-button { border: 0; padding: 0; background: none; }
.header-actions .text-button { color: var(--gold); font-weight: 700; font-size: 13px; white-space: nowrap; }
.menu-toggle { display: none; }
.portal-logo { width: min(580px, calc(100% - 40px)); height: 228px; position: relative; isolation: isolate; margin: 23px auto 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; text-align: center; text-decoration: none; }
.portal-logo:hover { text-decoration: none; }
.logo-top { position: relative; z-index: 1; font: 900 36px/1 Arial, sans-serif; letter-spacing: 10px; padding-left: 10px; color: #f7fbff; text-shadow: -2px -2px 0 #225475, 2px -2px 0 #225475, -2px 2px 0 #225475, 2px 2px 0 #225475, 0 4px 0 #163e58; }
.logo-bottom { position: relative; z-index: 1; font: 900 72px/1.08 Georgia, serif; letter-spacing: -3px; color: #ffcf55; -webkit-text-stroke: 1px #fff0b5; text-shadow: -3px -3px 0 #29485f, 3px -3px 0 #29485f, -3px 3px 0 #29485f, 3px 3px 0 #29485f, 0 6px 0 #87632c, 0 10px 9px #0a314f65; }
.logo-caption { position: relative; z-index: 1; display: block; margin-top: 13px; padding: 2px 20px; color: #fff; background: #264b65cc; font-size: 10px; line-height: 19px; font-weight: 700; letter-spacing: 4px; text-shadow: 0 1px 1px #102f44; }
.logo-orbit { position: absolute; z-index: -1; width: 470px; height: 102px; top: 70px; border: 3px solid #fff0b6; border-left-color: transparent; border-right-color: transparent; border-radius: 50%; transform: rotate(-8deg); box-shadow: 0 -2px 0 #3c7895, 0 2px 0 #3c7895; opacity: .95; }
.logo-orbit::before, .logo-orbit::after { content: ''; width: 49px; height: 30px; position: absolute; top: 29px; border-top: 5px solid #edfaff; border-bottom: 5px solid #d6edf5; }
.logo-orbit::before { left: -9px; transform: skewY(24deg); }
.logo-orbit::after { right: -9px; transform: skewY(-24deg); }
.portal-layout { width: min(1150px, calc(100% - 36px)); margin: 0 auto; display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: stretch; box-shadow: 0 5px 24px #30516b38; border: 1px solid #91a7b5; border-top: 3px solid #d5b36a; }
.portal-sidebar { background: var(--steel); color: #e3e9ed; min-width: 0; border-right: 1px solid #21313c; }
.portal-main { background: #f2f5f7f2; min-width: 0; padding-bottom: 20px; }
.portal-main.subpage { padding: 30px; }
.panel { border: 1px solid #ccd5dc; background: #fff; padding: 23px; margin: 0 0 22px; }
.panel h2 { font-size: 24px; }
.panel h3 { font-size: 20px; }
.portal-sidebar .panel { padding: 0; margin: 0 0 20px; background: transparent; border: 0; }
.portal-sidebar .panel-title { position: relative; display: flex; align-items: center; justify-content: center; min-height: 65px; padding: 15px 20px; margin: 0 0 20px; border-top: 1px solid #6e7d89; border-bottom: 3px solid #d2af56; color: #fff; font-size: 18px; font-weight: 900; text-align: center; text-transform: uppercase; letter-spacing: .8px; background: linear-gradient(#4a5865, #33414d 48%, #293743 49%, #24303b); text-shadow: 0 2px 1px #101d29; box-shadow: 0 3px 0 #1a2833; }
.portal-sidebar .panel-title::before, .portal-sidebar .panel-title::after { content: ''; position: absolute; top: 24px; width: 13px; height: 13px; background: #e6c36d; border: 2px solid #ffe8a6; box-shadow: 0 0 0 1px #1f2e39; transform: rotate(45deg); }
.portal-sidebar .panel-title::before { left: 18px; }
.portal-sidebar .panel-title::after { right: 18px; }
.portal-sidebar .panel-title h2 { margin: 0; font-size: inherit; color: inherit; }
.portal-sidebar .panel-head { gap: 12px; }
.portal-sidebar form { padding: 0 26px 4px; }
.portal-sidebar label { color: #dbe4ea; font-size: 12px; }
.portal-sidebar input { background: #f7f9fb; border-color: #1b2833; color: #263743; padding: 9px 10px; }
.portal-sidebar .field { margin-bottom: 13px; }
.portal-sidebar .button { min-height: 43px; }
.portal-sidebar .form-note { color: #b7c8d5; font-size: 11px; }
.portal-sidebar .small-link { color: var(--gold); }
.portal-sidebar .panel > p, .portal-sidebar .panel > .button-row, .portal-sidebar .panel > .button, .portal-sidebar .panel > .form-note { margin-left: 25px; margin-right: 25px; }
.portal-sidebar .panel > p { font-size: 13px; }
.portal-sidebar .panel .error { color: #ffb3a9; }
.portal-sidebar .panel .success { color: #a7e9bb; }
.portal-sidebar .balance-box { margin: 20px 25px; padding: 12px; background: #23313d; border-color: #526577; color: #e8eef3; }
.portal-sidebar .balance-box strong { color: var(--gold); }
.sidebar-login-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: end; }
.sidebar-login-actions small { display: block; margin-bottom: 5px; font-size: 10px; color: #c1cfda; text-align: center; }
.sidebar-login-actions .button.cyan { width: 100%; min-height: 29px; padding: 6px 8px; font-size: 10px; }
.sidebar-login-actions > .button.gold { min-height: 55px; }
.sidebar-account { padding: 0 26px 8px; }
.sidebar-account > strong { display: block; color: var(--gold); font-size: 22px; }
.sidebar-account p { color: #c3d3df; font-size: 12px; margin-top: 5px; }
.sidebar-account > .small-link { display: block; margin: 12px auto 0; }
.sidebar-support { display: block; margin: 0 17px 20px; padding: 14px 16px; border: 1px solid #5b7284; background: #23313d; color: var(--gold); font-weight: 700; text-align: center; }
.sidebar-support span { display: block; margin-top: 2px; color: #adc1cf; font-weight: 400; font-size: 10px; }
.server-list { margin: 0; padding: 0; }
.server-list > div { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 25px; background: #3c4854; border-bottom: 1px solid #25333f; font-size: 13px; }
.server-list > div:nth-child(even) { background: #2e3b47; }
.server-list dt { color: #64c8ed; }
.server-list dd { margin: 0; color: var(--gold); font-weight: 700; text-align: right; }
.server-list .good { color: #b4e795; }
.server-time { color: #acbecc; font-size: 11px; padding: 14px 25px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #8898a5; }
.status-dot.online { background: #9dda72; box-shadow: 0 0 0 3px #9dda7220; }
.good { color: #287841; }
.community-card { display: block; position: relative; margin: 0 17px 18px; padding: 25px 18px; min-height: 112px; color: white; text-align: center; background: #536cc1; border: 2px solid #8eace8; box-shadow: inset 0 0 0 2px #3b5595; }
.community-card:hover { background: #627cd3; text-decoration: none; }
button.community-card { width: calc(100% - 34px); }
.community-card strong { display: block; font-size: 23px; line-height: 1.3; }
.community-card span, .community-card small { display: block; font-size: 12px; }
.community-icon { display: block; font-size: 28px; color: #d4e5ff; }
.play-banner { position: relative; height: 360px; padding: 35px 26px; display: flex; align-items: center; background: #7b8d96 url('/assets/portal-banner.webp') center / cover no-repeat; border-bottom: 3px solid #b0c1ce; isolation: isolate; }
.play-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #152b4073, #152b4010 76%); }
.play-banner-copy { width: 390px; text-align: center; }
.banner-small { display: block; color: #f6fbff; font-size: 11px; line-height: 1.2; font-weight: 700; letter-spacing: 2px; margin-bottom: 6px; text-shadow: 0 1px 2px #293e52; }
.play-banner h1 { margin: 0 0 12px; color: #fff; font-size: 40px; line-height: 1.08; font-weight: 900; text-transform: uppercase; text-shadow: 0 3px 1px #2f3e4f, 0 0 9px #2f3e4f; }
.play-banner p { margin: 0 0 18px; color: #fff; font-size: 17px; line-height: 1.5; text-shadow: 0 1px 3px #1f3348; }
.download-button { min-width: 258px; min-height: 66px; padding: 18px 24px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff0b1; border-radius: 5px; background: linear-gradient(#ffe882, #ffd04b 48%, #f6b936 50%, #eaa923); box-shadow: 0 0 0 3px #725427, inset 0 0 0 1px #db9924, 0 6px 0 #805b25, 0 8px 10px #213c5759; color: #513719; font-size: 20px; line-height: 1.1; font-weight: 900; text-shadow: 0 1px #fff6cb; }
.download-button:hover { background: linear-gradient(#fff3ac, #ffdc62 48%, #ffd04b 50%, #f2bd3c); text-decoration: none; }
.download-button { flex-direction: column; gap: 4px; padding-top: 12px; padding-bottom: 12px; font-size: 18px; }
.download-button small { font-size: 10px; font-weight: 500; color: #735524; }
.banner-register { display: block; border: 0; padding: 0; margin: 12px auto 0; background: none; color: #fff; font-size: 12px; text-decoration: underline; text-shadow: 0 1px 3px #223b50; }
.news-tabs { display: flex; gap: 0; padding: 0 25px; margin: 0 0 23px; min-height: 51px; align-items: stretch; background: #dce7ee; border-bottom: 1px solid #bfcdd7; }
.news-tabs a, .news-tabs button, .news-tabs span { display: flex; align-items: center; padding: 14px 18px; color: #415364; font-size: 12px; font-weight: 700; background: none; border: 0; }
.news-tabs a:first-child, .news-tabs .active { color: #244256; border-bottom: 3px solid var(--cyan); background: #edf3f6; }
.news-tabs a:hover { color: #007fae; text-decoration: none; }
.portal-news { position: relative; margin: 0 25px 24px; padding: 22px 24px; background: var(--paper); border: 1px solid #d1d9e0; box-shadow: 0 2px 0 #d9e2e9; }
.portal-news::after { content: ''; position: absolute; top: 0; right: 0; border: 12px solid transparent; border-top-color: #dbe8ef; border-right-color: #dbe8ef; }
.news-heading { margin-bottom: 5px; color: #2d3039; font-size: 24px; font-weight: 700; line-height: 1.25; }
.news-heading h2 { margin: 6px 0 7px; font-size: 24px; color: #2d3039; }
.news-heading p { margin: 0 0 18px; font-weight: 400; color: #788690; }
.portal-news .date { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 400; color: #7a838d; font-style: italic; }
.portal-news p { font-size: 14px; line-height: 1.75; }
.portal-news > .small-link { display: inline-block; margin-top: 3px; padding: 9px 18px; border: 1px solid #0087ba; border-radius: 3px; background: var(--cyan); color: white; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.portal-news > .small-link:hover { background: #007fac; text-decoration: none; }
.portal-news > .featured-grid { margin-bottom: 20px; }
.news-thumb { display: block; width: 100%; max-height: 210px; object-fit: cover; margin: 8px 0 18px; border: 1px solid #c0ced8; }
.portal-main > .featured-grid { margin: 0 25px 25px; }
.portal-main > .section-heading { margin: 28px 25px 20px; }
.portal-main > .section { margin-left: 25px; margin-right: 25px; }
.portal-main.subpage > .section { margin-left: 0; margin-right: 0; }
.page-heading { margin-bottom: 25px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.page-heading h1 { margin-bottom: 12px; font-size: 30px; }
.page-heading p { margin: 0; color: #6b7983; font-size: 14px; }
.eyebrow { margin-bottom: 7px; font-size: 10px; line-height: 1.5; color: #008bc0; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.section { padding-top: 25px; padding-bottom: 25px; }
.section.no-top { padding-top: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.section-heading h2 { font-size: 23px; margin: 0; }
.section-heading .eyebrow { margin-bottom: 5px; }
.button-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 43px; padding: 11px 19px; gap: 10px; border: 1px solid #0089bd; border-radius: 3px; color: #fff; background: var(--cyan); font-size: 12px; line-height: 1.5; font-weight: 700; text-align: center; }
.button:hover { background: #0082b4; text-decoration: none; }
.button.gold { background: linear-gradient(#ffdb70, #ffcb48); border-color: #c69a36; color: #303840; }
.button.gold:hover { background: #ffe18a; }
.button.ghost { background: #3a4b5b; color: white; border-color: #24333f; }
.button.ghost:hover { background: #243644; }
.button.small { min-height: 34px; padding: 7px 13px; font-size: 11px; }
.button.full, .button.block { width: 100%; }
.small-link, .link { color: #008bbb; font-size: 12px; }
button.small-link, button.link { border: 0; padding: 0; background: none; text-align: left; }
button.small-link:hover, button.link:hover { text-decoration: underline; }
.tag { display: inline-block; color: #0085b7; font-size: 10px; line-height: 1.5; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.date, .meta { color: #74828d; font-size: 12px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.search { position: relative; flex: 1 1 220px; margin: 0; }
.search > span { display: none; }
.search::before { content: '⌕'; position: absolute; left: 12px; top: 5px; font-size: 22px; color: #698394; pointer-events: none; }
.search input { padding-left: 37px; min-height: 41px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { padding: 8px 11px; border: 1px solid #b8c6d1; border-radius: 3px; color: #4b6476; background: #e5edf2; font-size: 11px; }
.chip:hover, .chip.active { background: #334958; border-color: #263b4b; color: white; }
.result-count { margin-bottom: 15px; font-size: 12px; color: #74838d; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gear-card { min-width: 0; display: flex; flex-direction: column; padding: 13px; background: #fff; border: 1px solid #c5d1da; border-radius: 3px; box-shadow: 0 2px 0 #dce4ea; }
.gear-card:hover { border-color: #87a5ba; }
.gear-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 95px; margin: 0 0 12px; background: #edf3f7; border: 1px solid #d9e3eb; }
.gear-card > .gear-art { width: 100%; border: 1px solid #d9e3eb; border-radius: 2px; padding: 12px; }
.gear-art img { display: block; width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; }
.gear-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.gear-card .category { color: #6a8c9e; font-size: 9px; text-transform: uppercase; letter-spacing: .5px; }
.gear-card h3 { margin: 5px 0 8px; font-size: 13px; line-height: 1.5; }
.gear-card .meta { font-size: 10px; line-height: 1.5; margin: 0 0 12px; overflow-wrap: anywhere; }
.gear-card .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; border-top: 1px solid #e0e7ec; padding-top: 10px; }
.gear-card .card-bottom .meta { margin: 0; }
.gear-card .card-bottom .small-link { font-size: 10px; }
.price { color: #bf7515; font-weight: 700; }
.gear-card .price { font-size: 12px; }
.price small { font-size: 10px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 17px; margin-top: 24px; font-size: 12px; color: #69808e; }
.notice { margin-bottom: 22px; padding: 14px 17px; border: 1px solid #ddcc93; border-radius: 3px; background: #fff7db; color: #7b6938; font-size: 12px; line-height: 1.7; }
.notice a { color: #00799f; text-decoration: underline; }
.empty { padding: 35px 18px; border: 1px dashed #b7c7d2; background: #f1f6f9; text-align: center; color: #7a8c98; }
.empty h2, .empty h3 { font-size: 23px; color: #526b7c; }
.empty-symbol { display: block; font-size: 28px; color: #9db2bf; margin-bottom: 12px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid #b9c8d3; }
table { width: 100%; border-collapse: collapse; background: white; font-size: 13px; }
th { padding: 14px 16px; background: #334451; color: #f9d77b; font-size: 11px; text-align: left; font-weight: 700; }
td { padding: 14px 16px; border-top: 1px solid #d9e2e9; }
tbody tr:nth-child(even) { background: #edf3f7; }
td.rank { font-size: 20px; font-weight: 700; color: #b0832e; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { padding: 20px 17px; background: #fff; border: 1px solid #cbd7e0; }
.number { display: inline-block; color: #008dbf; font-size: 15px; font-weight: 900; }
.step h2, .step h3 { margin: 13px 0; font-size: 21px; }
.step p { font-size: 12px; line-height: 1.8; color: #76848e; }
.step .button { padding-left: 12px; padding-right: 12px; font-size: 11px; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.info-list { padding-left: 18px; font-size: 12px; line-height: 1.9; color: #6f808c; }
.info-list li { margin-bottom: 8px; }
.community-panel { background: #e9f1fa; border-color: #b8cce2; }
.donate-feature { border-top: 4px solid #d7b463; background: #fffdf6; }
.donate-feature h2 { font-size: 26px; }
.donate-feature p { color: #6f808c; font-size: 13px; }
.donation-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.donation-intro > div { max-width: 480px; }
.currency-label { padding: 6px 9px; background: #edf3f7; border: 1px solid #d9e3eb; color: #617581; font-size: 9px; font-weight: 700; white-space: nowrap; }
.dp-packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.dp-package { min-width: 0; padding: 23px 20px 20px; background: #fff; border: 1px solid #d1dce4; border-top: 3px solid #9ccadf; }
.dp-package.has-bonus { border-top-color: #d7ae48; background: linear-gradient(145deg, #fff, #fffaf0); }
.package-top { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; justify-content: space-between; }
.package-top .tag { font-size: 9px; }
.bonus-label { color: #916b18; background: #fff1c8; font-size: 9px; font-weight: 700; padding: 3px 7px; }
.dp-package h3 { font-size: 37px; font-weight: 900; color: #304b62; margin: 17px 0 3px; letter-spacing: -1px; line-height: 1.2; }
.dp-package h3 small { font-size: 17px; letter-spacing: 0; color: #708594; }
.dp-package .package-bonus { font-size: 11px; min-height: 35px; margin: 9px 0 17px; }
.package-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #e2e9ee; }
.package-price { color: #364c5d; font-size: 25px; font-weight: 700; white-space: nowrap; }
.package-price small { font-size: 10px; color: #788894; font-weight: 400; }
.package-bottom .button { padding: 10px 13px; font-size: 10px; }
.checkout-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 16px; background: #f3f6f8; border: 1px solid #d5dfe6; margin: 18px 0; font-size: 12px; }
.checkout-summary strong { display: block; margin-top: 3px; font-size: 20px; color: #344c60; }
.payment-status { border-left: 4px solid #1a9aca; }
.payment-status h2 { margin-top: 9px; }
.order-reference { overflow-wrap: anywhere; font-size: 11px; color: #768795; }
.donate-mark { display: none; }
.payment-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 22px 0; }
.payment-option { padding: 20px; background: #fff; border: 1px solid #c7d3de; }
.payment-option h3 { font-size: 23px; margin-bottom: 11px; }
.payment-option p { font-size: 12px; line-height: 1.7; }
.payment-option .button { width: 100%; font-size: 11px; padding-left: 10px; padding-right: 10px; }
.button.paypal-button { background: #0a4c8e; color: #fff; border-color: #0a3a70; }
.button.paypal-button:hover { background: #0b3c70; }
.button.stripe-button { background: #635bce; color: #fff; border-color: #4f48ab; }
.button.stripe-button:hover { background: #5149b7; }
.balance-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 20px; margin: 0 0 24px; border: 1px solid #c9d7e1; background: #e8f0f6; font-size: 13px; }
.balance-box strong { font-size: 22px; margin-left: 7px; color: #bf851e; }
label { display: block; margin-bottom: 6px; font-size: 12px; color: #4d6576; }
input, select, textarea { display: block; width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #b8c8d4; border-radius: 3px; color: #2b4354; background: #fff; }
input::placeholder { color: #8a9da9; }
input:focus, select:focus, textarea:focus { border-color: #008fbe; }
input[type='checkbox'] { width: auto; display: inline-block; accent-color: #008fbe; }
.field { margin-bottom: 18px; }
.form-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-note { font-size: 11px; line-height: 1.75; color: #798b97; }
.error { margin: 13px 0; color: #b2372d; font-size: 12px; white-space: pre-line; }
.success { color: #277d42; font-size: 12px; }
.check-field { display: flex; align-items: center; gap: 9px; }
.check-field input { margin: 0; }
.dialog { position: fixed; width: min(460px, calc(100% - 30px)); max-height: 90vh; padding: 32px; background: #f7f9fb; color: var(--ink); border: 3px solid #8ca2b3; border-top: 5px solid #d8b566; border-radius: 4px; box-shadow: 0 20px 90px #101f31a6; overflow-y: auto; }
.dialog.wide { width: min(650px, calc(100% - 30px)); }
.dialog::backdrop { background: #112332b5; }
.dialog h2 { font-size: 25px; margin: 6px 0 12px; }
.dialog .intro { font-size: 13px; color: #738491; margin-bottom: 22px; }
.close-dialog { position: absolute; top: 4px; right: 10px; border: 0; padding: 2px 6px; background: none; color: #6a8192; font-size: 27px; line-height: 1; }
.dialog-bottom { margin-top: 22px; padding-top: 18px; border-top: 1px solid #cbd7e0; text-align: center; color: #718594; font-size: 12px; }
.detail-item { display: flex; align-items: center; gap: 20px; margin: 5px 0 22px; }
.detail-item .gear-art { width: 100px; height: 100px; flex-shrink: 0; margin: 0; }
.detail-item h2 { margin: 5px 0 8px; font-size: 24px; }
.detail-item .category { color: #008bb9; font-size: 10px; text-transform: uppercase; }
.detail-item .meta { margin: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; }
.detail-grid > div { border: 1px solid #cbd8e2; background: #edf3f7; padding: 12px 14px; font-size: 12px; }
.detail-grid dt { color: #7b91a0; font-size: 10px; margin-bottom: 4px; }
.detail-grid dd { margin: 0; }
.article-copy p { font-size: 14px; line-height: 1.9; }
.article-copy h3 { font-size: 21px; margin-top: 25px; }
.admin-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.admin-tabs .small-link { margin-left: auto; }
.admin-login { max-width: 600px; }
.admin-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; }
.admin-shell .panel { margin-bottom: 0; padding: 18px; }
.item-picker { max-height: 320px; overflow-y: auto; margin-top: 15px; }
.picker-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px; margin-bottom: 5px; border: 1px solid #c3d2de; background: #edf3f7; text-align: left; font-size: 11px; }
.picker-row:hover, .picker-row.selected { background: #fff7d9; border-color: #d6b76a; }
.picker-row img { width: 32px; height: 32px; image-rendering: pixelated; flex-shrink: 0; }
.picker-row > span:nth-child(2) { flex: 1; }
.picker-row small { display: block; color: #8195a3; font-size: 10px; }
.selected-item { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.selected-item img { width: 48px; height: 48px; object-fit: contain; image-rendering: pixelated; }
.selected-item h2 { font-size: 21px; margin: 5px 0 0; }
.settings-form { max-width: 700px; }
.settings-form p { font-size: 11px; }
.setup-step { position: relative; padding-left: 29px; margin: 22px 0; }
.setup-step .number { position: absolute; top: 1px; left: 0; font-size: 12px; }
.setup-step h3 { font-size: 18px; margin-bottom: 8px; }
.setup-step p { font-size: 12px; color: #758996; }
.news-feature { padding: 20px; background: var(--paper); border: 1px solid #d1dce4; margin-bottom: 22px; }
.news-feature .news-image { display: none; }
.news-text h2, .news-text h3 { font-size: 24px; margin: 10px 0; }
.news-text p { font-size: 14px; line-height: 1.8; }
.news-text .date { margin-left: 10px; font-size: 11px; }
.site-footer { width: min(1150px, calc(100% - 36px)); margin: 35px auto 0; padding-bottom: 30px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-bottom: 12px; }
.footer-links a, .footer-links button { color: #334f62; font-size: 12px; text-transform: uppercase; }
.footer-bottom { color: #397e9f; font-size: 12px; }
.footer-logo { display: inline-block; margin-top: 22px; color: #f9fbfc; font-weight: 900; font-size: 14px; letter-spacing: 4px; text-shadow: 0 1px 2px #1c4a67; }
.footer-logo strong { display: block; font: 700 29px/1.2 Georgia, serif; letter-spacing: 0; color: #ffe292; text-shadow: -1px -1px #365b71, 1px 1px #365b71, 0 2px #8e742e; }
.footer-logo:hover { text-decoration: none; }
#toast { position: fixed; z-index: 50; left: 50%; bottom: 22px; max-width: calc(100% - 30px); transform: translate(-50%, 140px); padding: 14px 22px; background: #293e4e; color: #fff; border: 2px solid #e4c579; border-radius: 3px; box-shadow: 0 8px 26px #092b4973; font-size: 12px; transition: transform .2s; }
#toast.show { transform: translate(-50%, 0); }
.noscript { width: min(1150px, calc(100% - 36px)); margin: 18px auto; padding: 18px; background: #fff3c8; color: #745c26; text-align: center; }

@media (max-width: 1120px) {
  .site-header { gap: 20px; padding: 0 25px; }
  .site-header nav { gap: 22px; }
  .portal-layout { grid-template-columns: 285px minmax(0, 1fr); }
  .portal-sidebar form { padding-left: 20px; padding-right: 20px; }
  .portal-sidebar .panel-title { font-size: 16px; }
  .portal-main.subpage { padding: 24px; }
  .play-banner-copy { width: 350px; }
  .play-banner h1 { font-size: 35px; }
  .featured-grid { gap: 8px; }
  .gear-card { padding: 10px; }
  .featured-grid .gear-card h3 { font-size: 11px; }
  .two-column { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 20px; }
}
@media (max-width: 900px) {
  body { background-size: auto, auto 1150px; }
  .site-header nav { gap: 17px; }
  .site-header nav a { font-size: 13px; }
  .header-actions { padding-left: 16px; }
  .portal-logo { height: 205px; margin-bottom: 20px; }
  .portal-layout { display: flex; flex-direction: column; }
  .portal-main { width: 100%; order: 0; }
  .portal-sidebar { order: 1; border-right: 0; border-top: 3px solid #d5b36a; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding-bottom: 12px; }
  .portal-sidebar .panel { margin-bottom: 8px; }
  .portal-sidebar .panel:last-child { grid-column: 1 / -1; }
  .portal-sidebar .panel:last-child .community-card { max-width: 420px; margin-left: auto; margin-right: auto; }
  .play-banner { height: 360px; padding-left: 35px; }
  .play-banner-copy { width: 380px; }
  .play-banner h1 { font-size: 40px; }
  .featured-grid { gap: 14px; }
  .featured-grid .gear-card h3 { font-size: 13px; }
  .two-column { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .top-strip { width: calc(100% - 28px); font-size: 10px; min-height: 28px; }
  .site-header { margin-top: 8px; width: calc(100% - 44px); min-height: 54px; justify-content: space-between; padding: 0 18px; }
  .site-header::before, .site-header::after { top: 8px; width: 21px; height: 32px; }
  .site-header::before { left: -15px; }
  .site-header::after { right: -15px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 9px 0; border: 0; background: none; min-width: 40px; min-height: 40px; }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: #ffde82; }
  .site-header nav { display: none; position: absolute; top: 55px; left: -2px; right: -2px; flex-direction: column; gap: 0; align-items: stretch; background: #2a3945; border: 2px solid #b9a064; box-shadow: 0 5px 12px #233c5252; }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 12px 19px; border-bottom: 1px solid #465562; font-size: 13px; }
  .site-header nav a:last-child { border-bottom: 0; }
  .header-actions { border-left: 0; padding-left: 0; }
  .portal-logo { height: 170px; margin-top: 18px; margin-bottom: 20px; }
  .logo-top { font-size: 27px; letter-spacing: 8px; padding-left: 8px; }
  .logo-bottom { font-size: 55px; letter-spacing: -2px; }
  .logo-caption { margin-top: 10px; font-size: 8px; letter-spacing: 3px; line-height: 17px; }
  .logo-orbit { width: 360px; height: 85px; top: 49px; }
  .portal-layout { width: calc(100% - 24px); }
  .portal-main.subpage { padding: 23px 18px; }
  .play-banner { height: 315px; padding: 25px 18px; background-position: 57% center; }
  .play-banner-copy { width: 320px; }
  .play-banner h1 { font-size: 34px; }
  .play-banner p { font-size: 15px; }
  .download-button { min-width: 235px; min-height: 60px; padding: 16px 20px; font-size: 18px; }
  .news-tabs { padding: 0 13px; margin-bottom: 18px; }
  .news-tabs a, .news-tabs button, .news-tabs span { padding: 13px; font-size: 11px; }
  .portal-news { margin: 0 16px 18px; padding: 20px; }
  .news-heading { font-size: 21px; }
  .news-heading h2 { font-size: 21px; }
  .portal-news p { font-size: 13px; }
  .news-thumb { max-height: 180px; }
  .portal-main > .featured-grid, .portal-main > .section-heading, .portal-main > .section { margin-left: 16px; margin-right: 16px; }
  .featured-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gear-card { padding: 12px; }
  .featured-grid .gear-card h3 { font-size: 12px; }
  .section-heading { gap: 12px; align-items: flex-start; }
  .section-heading h2 { font-size: 21px; }
  .section-heading .small-link { font-size: 10px; flex-shrink: 0; }
  .page-heading h1 { font-size: 27px; }
  .two-column, .steps, .payment-options, .dp-packages { grid-template-columns: 1fr; }
  .donation-intro { flex-direction: column; gap: 9px; }
  .step { padding: 23px; }
  .panel { padding: 20px; }
  .form-two { grid-template-columns: 1fr; gap: 0; }
  .admin-tabs .small-link { margin-left: 0; }
  .dialog { padding: 29px 22px; }
  .detail-item { gap: 14px; }
  .detail-item .gear-art { width: 75px; height: 85px; min-height: 85px; }
  .detail-item h2 { font-size: 21px; }
  .site-footer { width: calc(100% - 28px); margin-top: 25px; }
  .footer-links { gap: 10px 17px; }
  .footer-links a, .footer-links button { font-size: 10px; }
  .footer-bottom { font-size: 10px; }
}
@media (max-width: 440px) {
  .top-strip > span:first-child { max-width: 230px; }
  .portal-logo { height: 150px; width: calc(100% - 24px); margin-top: 20px; }
  .logo-top { font-size: 24px; letter-spacing: 6px; }
  .logo-bottom { font-size: 44px; letter-spacing: -1px; }
  .logo-caption { font-size: 7px; letter-spacing: 2px; margin-top: 9px; }
  .logo-orbit { width: 290px; height: 75px; top: 43px; }
  .logo-orbit::before, .logo-orbit::after { width: 32px; height: 23px; top: 25px; }
  .play-banner { height: 300px; align-items: flex-end; padding: 22px 15px 30px; }
  .play-banner::before { background: linear-gradient(0deg, #152b408a, #152b4028); }
  .play-banner-copy { width: 100%; }
  .play-banner h1 { font-size: 30px; }
  .play-banner p { font-size: 13px; margin-bottom: 23px; }
  .download-button { min-width: 220px; }
  .portal-sidebar { display: block; }
  .portal-sidebar .panel:last-child .community-card { margin-left: 20px; margin-right: 20px; }
  .portal-news { margin-left: 12px; margin-right: 12px; padding: 18px 16px; }
  .news-heading { font-size: 20px; }
  .gear-card { padding: 10px; }
  .gear-art { min-height: 84px; }
  .gear-art img { width: 56px; height: 56px; }
  .gear-card h3 { font-size: 12px; }
  .filter-tabs { gap: 4px; }
  .chip { padding: 7px 9px; font-size: 10px; }
  .search { flex-basis: 100%; }
  th, td { padding: 11px; }
  .detail-grid { gap: 8px; }
  .detail-grid > div { padding: 11px; font-size: 11px; }
  .balance-box { padding: 15px; }
  .balance-box strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
