/* SkinUp 2026 visual system — presentation only. */
:root {
  color-scheme: dark;
  --bg: #060810;
  --bg-raised: #090d16;
  --surface-0: #080c14;
  --surface-1: #0c111c;
  --surface-2: #111827;
  --surface-3: #151d2d;
  --line-soft: #20283a;
  --line-strong: #303a50;
  --text: #f4f6fb;
  --text-soft: #c8cfdd;
  --text-muted: #7f899d;
  --purple: #7769a8;
  --purple-soft: #9286bf;
  --purple-rgb: 119, 105, 168;
  --accent: #f2c94c;
  --accent-strong: #ffe174;
  --gold: #f2c94c;
  --neon-blue: #9286bf;
  --game-accent: #7769a8;
  --game-accent-rgb: 119, 105, 168;
  --win: #62c49a;
  --lose: #e46975;
  --sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

.admin-logout {
  border: 1px solid rgba(248, 113, 113, .45);
  background: rgba(127, 29, 29, .24);
  color: #fecaca;
  border-radius: 6px;
  padding: 7px 12px;
  font: 700 10px/1 var(--mono, monospace);
  letter-spacing: .08em;
  cursor: pointer;
}

body.admin-route .live-drops-bar,
body.admin-route .game-switcher,
body.admin-route .user-actions,
body.admin-route #tabUpgrade,
body.admin-route #tabCoinflip,
body.admin-route #tabMarket,
body.admin-route #tabBag,
body.admin-route .site-footer,
body.admin-route #chatLauncher,
body.admin-route #communityChat { display: none !important; }
body.admin-route .navbar { justify-content: center; }
body.admin-route .nav-tabs { margin-left: auto; }
body.admin-route main { max-width: 1440px; }
body.admin-route #tabAdmin { min-width: 180px; justify-content: center; }
.admin-list-actions input { min-width: 220px; margin: 0 !important; }
.admin-list-actions button:disabled { opacity: .45; cursor: not-allowed; }

.admin-rain-note {
  border: 1px solid rgba(35, 139, 255, .35);
  background: rgba(35, 139, 255, .08);
  color: #9ccaff;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 11px;
}

.admin-asset-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  max-height: 430px;
  overflow: auto;
}

.admin-asset-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, .16);
  background: rgba(4, 9, 18, .48);
  border-radius: 7px;
  padding: 9px;
}

.admin-asset-row img {
  width: 58px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.admin-asset-row div { min-width: 0; }
.admin-asset-row strong,
.admin-asset-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-asset-row strong { color: #e5edf7; font-size: 11px; }
.admin-asset-row small { color: #7890aa; margin-top: 5px; font: 9px/1.4 var(--mono, monospace); }

/* Player-vs-player coinflip lobby */
.coinflip-lobby-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 17px 18px;
  border: 1px solid #252e40;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #111824, #0d131e);
}
.coinflip-lobby-heading { display: flex; flex-direction: column; gap: 5px; }
.coinflip-lobby-signal { display: flex; align-items: center; gap: 9px; }
.coinflip-lobby-signal i { width: 7px; height: 7px; border-radius: 50%; background: #62c49a; box-shadow: 0 0 0 4px rgba(98, 196, 154, .09); }
.coinflip-lobby-signal span { color: #f4f6fb; font-size: 12px; font-weight: 850; letter-spacing: 1.4px; }
.coinflip-lobby-heading small { color: #758096; font-size: 11px; }
.coinflip-lobby-tools { display: flex; align-items: center; gap: 9px; }
.coinflip-open-count { padding: 8px 11px; border: 1px solid rgba(98, 196, 154, .18); border-radius: 5px; color: #82d6b2; background: rgba(98, 196, 154, .06); font: 800 10px/1 var(--mono); letter-spacing: .8px; }
.coinflip-lobby-head button,
.coinflip-lobby-action {
  border: 1px solid #303a4e;
  border-radius: 5px;
  background: #151d2b;
  color: #dbe4ef;
  padding: 9px 13px;
  font: 800 11px/1 'Inter', sans-serif;
  letter-spacing: .8px;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.coinflip-lobby-head button span { display: inline-block; margin-right: 4px; color: #929db1; font-size: 14px; transition: transform .2s ease; }
.coinflip-lobby-head button:hover,
.coinflip-lobby-action:hover:not(:disabled) { border-color: #515d74; color: #fff; transform: translateY(-1px); }
.coinflip-lobby-head button:hover span { transform: rotate(35deg); }
.coinflip-lobby-list {
  display: grid;
  gap: 9px;
  max-height: 410px;
  overflow-y: auto;
  padding: 11px;
  border: 1px solid #252e40;
  border-radius: 0 0 10px 10px;
  background: #080d15;
}
.coinflip-lobby-list + .coinflip-arena { margin-top: 16px; }
.coinflip-lobby-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(285px, 1.65fr) minmax(145px, .8fr) minmax(138px, .7fr) minmax(116px, auto);
  align-items: center;
  gap: 17px;
  min-height: 94px;
  padding: 14px 15px;
  border: 1px solid #222b3b;
  border-radius: 7px;
  background: linear-gradient(105deg, #111824, #0c121c 72%);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.coinflip-lobby-row:hover { border-color: #354057; background: linear-gradient(105deg, #141c29, #0e1520 72%); }
.coinflip-lobby-row.is-own { border-left: 2px solid #f2c94c; }
.coinflip-lobby-row.is-complete { opacity: .68; }
.coinflip-matchup { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; }
.coinflip-lobby-player,
.coinflip-open-seat { display: flex; align-items: center; min-width: 0; gap: 9px; }
.coinflip-avatar-shell,
.coinflip-open-seat-mark { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 6px; background: #182235; }
.coinflip-avatar-shell { position: relative; display: inline-flex; overflow: hidden; }
.coinflip-avatar-shell .coinflip-player-avatar,
.coinflip-avatar-shell .coinflip-avatar-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.coinflip-avatar-shell .coinflip-player-avatar { z-index: 2; object-fit: cover; background: #182235; }
.coinflip-avatar-fallback,
.coinflip-open-seat-mark { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #303a4e; color: #dbe4ef; font: 850 13px/1 'Inter', sans-serif; }
.coinflip-avatar-fallback { border-radius: 6px; background: #182235; }
.coinflip-open-seat-mark { color: #6f7b91; border-style: dashed; background: #0c121c; }
.coinflip-lobby-player div,
.coinflip-open-seat div { min-width: 0; }
.coinflip-lobby-player strong,
.coinflip-open-seat strong { display: block; overflow: hidden; color: #edf2f7; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.coinflip-open-seat strong { color: #9da8bb; }
.coinflip-lobby-player small,
.coinflip-open-seat small { display: block; margin-top: 4px; color: #65748a; font: 700 9px/1 var(--mono); letter-spacing: .65px; }
.coinflip-vs { color: #4f5b70; font: 800 9px/1 var(--mono); text-align: center; }
.coinflip-side-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 18px; margin-left: 3px; border-radius: 3px; font: 900 8px/1 'Inter', sans-serif; }
.coinflip-side-chip.red { color: #fecaca; border: 1px solid rgba(239, 68, 68, .35); background: rgba(239, 68, 68, .12); }
.coinflip-side-chip.blue { color: #bae6fd; border: 1px solid rgba(56, 189, 248, .35); background: rgba(56, 189, 248, .12); }
.coinflip-lobby-items { display: flex; align-items: center; min-width: 0; gap: 0; padding-left: 7px; }
.coinflip-lobby-item { width: 43px; height: 43px; margin-left: -7px; padding: 4px; border: 1px solid #2b3446; border-radius: 6px; background: #090e17; object-fit: contain; }
.coinflip-lobby-item:first-child { margin-left: 0; }
.coinflip-lobby-more { color: #8190a5; font: 800 11px/1 'Inter', sans-serif; }
.coinflip-lobby-meta { display: flex; flex-direction: column; gap: 4px; }
.coinflip-lobby-meta > span { color: #65748a; font: 750 9px/1 var(--mono); letter-spacing: .75px; }
.coinflip-lobby-meta b { color: #f2c94c; font: 850 15px/1 'Inter', sans-serif; }
.coinflip-lobby-meta small { color: #818ca0; font-size: 10px; white-space: nowrap; }
.coinflip-lobby-action-wrap { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
.coinflip-lobby-action-wrap small { color: #606c81; font: 700 8px/1 var(--mono); letter-spacing: .45px; text-align: center; }
.coinflip-lobby-action { min-width: 108px; min-height: 36px; }
.coinflip-lobby-action.join { border-color: #d1ac3d; background: #e6bd42; color: #10131a; }
.coinflip-lobby-action.join:hover:not(:disabled) { border-color: #ffe174; background: #f2c94c; color: #090c12; }
.coinflip-lobby-action.cancel { color: #fca5a5; border-color: rgba(239, 68, 68, .28); }
.coinflip-lobby-action:disabled { cursor: not-allowed; opacity: .42; }
.coinflip-lobby-empty { display: flex; min-height: 150px; padding: 28px 18px; align-items: center; justify-content: center; color: #718096; text-align: center; }
.coinflip-empty-content { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.coinflip-empty-mark { position: relative; width: 46px; height: 30px; margin-bottom: 5px; }
.coinflip-empty-mark i { position: absolute; top: 1px; width: 28px; height: 28px; border: 1px solid #354057; border-radius: 50%; background: #111824; }
.coinflip-empty-mark i:first-child { left: 2px; }
.coinflip-empty-mark i:last-child { right: 2px; }
.coinflip-empty-content strong { color: #cbd3df; font-size: 12px; }
.coinflip-empty-content small { color: #657186; font-size: 10px; }
@media (max-width: 940px) {
  .coinflip-lobby-row { grid-template-columns: 1fr 140px auto; }
  .coinflip-lobby-items { display: none; }
}
@media (max-width: 680px) {
  .coinflip-lobby-head { align-items: flex-start; }
  .coinflip-lobby-heading small { display: none; }
  .coinflip-open-count { display: none; }
  .coinflip-lobby-row { grid-template-columns: 1fr auto; gap: 12px; }
  .coinflip-matchup { grid-column: 1 / -1; }
  .coinflip-lobby-meta { grid-column: 1; }
  .coinflip-lobby-action-wrap { grid-column: 2; }
}

* { scrollbar-color: #343d53 #080b12; }

body,
body[data-game="rust"] {
  color: var(--text);
  background:
    radial-gradient(900px 440px at 18% -120px, rgba(var(--game-accent-rgb), .11), transparent 70%),
    #060810 !important;
}

body::before,
.ambient-layer { display: none !important; }

::selection { color: #10131a; background: var(--accent); }

button,
input,
select { font-family: var(--sans); }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #9b8fc7 !important;
  outline-offset: 3px;
}

img[src="/assets/skinup-logo.png"] {
  object-fit: contain !important;
  filter: none !important;
}

/* Shared shell */
.navbar,
body[data-game="rust"] .navbar {
  min-height: 72px;
  padding: 10px 22px !important;
  gap: 16px;
  border-bottom: 1px solid var(--line-soft) !important;
  background: #080b12 !important;
  box-shadow: none !important;
}

.navbar::after { display: none !important; }
.brand { gap: 12px !important; }
.brand img.brand-mark { height: 42px !important; max-width: 152px !important; }
.brand .brand-tag {
  padding-left: 11px !important;
  border-left: 1px solid var(--line-strong) !important;
  color: #757f94 !important;
  font: 600 8px/1.3 var(--mono) !important;
  letter-spacing: .1em !important;
}

.game-switcher {
  min-width: 184px !important;
  gap: 4px !important;
  padding: 4px !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: 6px !important;
  background: #090e17 !important;
}

.game-choice {
  min-height: 42px !important;
  padding: 6px 10px !important;
  grid-template-columns: 28px auto !important;
  column-gap: 10px !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  background: transparent !important;
  color: #788297 !important;
}

.game-choice:hover { color: #c8d0df !important; background: #111725 !important; }
.game-choice.active {
  border-color: rgba(var(--game-accent-rgb), .48) !important;
  background: rgba(var(--game-accent-rgb), .13) !important;
  color: #eeeaf9 !important;
  box-shadow: none !important;
}

.game-choice[data-game="rust"].active {
  border-color: rgba(218, 118, 63, .48) !important;
  background: rgba(218, 118, 63, .12) !important;
}

.game-choice-img { border-radius: 3px !important; }
.nav-tabs {
  gap: 2px !important;
  padding: 3px !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: 6px !important;
  background: #090d15 !important;
}

.tab-btn {
  min-height: 38px !important;
  padding: 0 16px !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  color: #768095 !important;
  background: transparent !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  transition: all 0.15s ease !important;
}

.tab-btn:hover { color: #e8ebf2 !important; background: #111725 !important; }
.tab-btn.active,
.tab-btn.admin-tab.active,
body[data-game="rust"] .nav-tabs .tab-btn.active {
  border-color: rgba(var(--game-accent-rgb), .45) !important;
  background: rgba(var(--game-accent-rgb), .14) !important;
  color: #f4f1fb !important;
  box-shadow: inset 0 -2px var(--game-accent) !important;
}

.user-actions { gap: 8px !important; }
.daily-reward-trigger,
.upoin-balance,
.btn-steam,
.btn-signout,
.nav-btn-settings {
  min-height: 38px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 9px !important;
  background: #0d131e !important;
  color: #c6cedc !important;
  box-shadow: none !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-weight: 700 !important;
}

.daily-reward-trigger:hover,
.upoin-balance:hover,
.btn-steam:hover,
.btn-signout:hover,
.nav-btn-settings:hover { border-color: #525d77 !important; background: #121a28 !important; }
.daily-trigger-dot { background: var(--win) !important; box-shadow: none !important; }
.upoin-balance { color: #d9d2eb !important; }
.upoin-balance img { filter: none !important; }
.nav-user-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid #343d53;
  border-radius: 5px;
  object-fit: cover;
  background: #111827;
}
.user-profile-btn { gap: 10px !important; }
.profile-chevron {
  width: 7px;
  height: 7px;
  margin: -3px 1px 0 3px;
  flex: 0 0 7px;
  border-right: 1.5px solid #8d96a8;
  border-bottom: 1.5px solid #8d96a8;
  transform: rotate(45deg);
  transition: border-color .15s ease, transform .15s ease;
}
.user-profile-btn:hover .profile-chevron {
  border-color: var(--accent);
  transform: translateY(1px) rotate(45deg);
}

.btn-deposit,
.btn-upgrade:not(:disabled),
.event-join {
  min-height: 40px;
  border: 1px solid rgba(255, 235, 120, 0.45) !important;
  border-radius: 9px !important;
  background: linear-gradient(180deg, #ffc700 0%, #e09b00 100%) !important;
  color: #0d1117 !important;
  box-shadow: 0 4px 18px rgba(224, 155, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  cursor: pointer !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-action {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f1f5f9 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  cursor: pointer !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.chat-compose button {
  min-height: 40px;
  border: 1px solid rgba(255, 235, 120, 0.4) !important;
  border-radius: 9px !important;
  background: linear-gradient(180deg, #ffc700 0%, #e09b00 100%) !important;
  color: #0d1117 !important;
  box-shadow: 0 2px 10px rgba(224, 155, 0, 0.25) !important;
  font-weight: 800 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

.btn-deposit:hover,
.btn-upgrade:hover:not(:disabled),
.event-join:hover,
.chat-compose button:hover {
  background: linear-gradient(180deg, #ffd428 0%, #f0a700 100%) !important;
  border-color: rgba(255, 245, 160, 0.75) !important;
  box-shadow: 0 6px 24px rgba(224, 155, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
  transform: translateY(-1px) !important;
}

.btn-action:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.btn-deposit:active,
.btn-action:active,
.btn-upgrade:active:not(:disabled),
.event-join:active,
.chat-compose button:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

.btn-upgrade:disabled,
.btn-action:disabled {
  border-color: rgba(255, 255, 255, 0.08) !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #475569 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 0.8 !important;
}

.market-status {
  min-height: 34px;
  border-bottom: 1px solid #191f2d !important;
  background: #070a10 !important;
}
.market-status > div { border-color: #191f2d !important; }
.market-status span { color: #596276 !important; }
.market-status strong { color: #9ca6b9 !important; }
.market-status i { background: var(--win) !important; box-shadow: none !important; animation: none !important; }

.container { width: min(1480px, 100%) !important; padding: 0 24px 42px !important; }
.page-intro,
.page-intro.compact { padding: 34px 4px 22px !important; gap: 26px !important; }
.page-intro h1,
.page-intro.compact h1,
body[data-game="rust"] .page-intro h1 {
  color: #f5f6fa !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  font-size: clamp(31px, 3vw, 46px) !important;
  font-weight: 680 !important;
  letter-spacing: -.04em !important;
}
.page-intro p { color: #7e899d !important; }
.eyebrow,
body[data-game="rust"] .eyebrow { color: var(--game-accent) !important; }

.terminal-metrics {
  border: 1px solid var(--line-soft) !important;
  border-radius: 5px !important;
  background: #0a0f18 !important;
}
.terminal-metrics > div { border-color: var(--line-soft) !important; }
.terminal-metrics span { color: #626c80 !important; }
.terminal-metrics strong { color: #d9deea !important; }

/* Panels, forms and lists */
.card,
body[data-game="rust"] .card,
.fair-panel,
.trade-assurance,
.admin-community-card,
.liquidity-console,
.modal-box,
.daily-profile,
.daily-requirement {
  border-color: var(--line-soft) !important;
  border-radius: 5px !important;
  background: var(--surface-1) !important;
  box-shadow: none !important;
  clip-path: none !important;
}
.card { padding: 18px !important; }
.card::before { display: none !important; }
.section-title {
  padding-bottom: 13px !important;
  border-bottom: 1px solid var(--line-soft) !important;
  color: #dbe0eb !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
}

input,
select,
.search-input,
#searchMarket {
  min-height: 42px;
  border: 1px solid #2a3347 !important;
  border-radius: 4px !important;
  background: #080c13 !important;
  color: #dce1eb !important;
  box-shadow: none !important;
}
input::placeholder { color: #586276 !important; }
input:focus,
select:focus { border-color: #74699d !important; box-shadow: 0 0 0 3px rgba(var(--purple-rgb), .1) !important; }

.filter-bar { gap: 10px !important; }
.filter-group,
.filter-search {
  border: 1px solid var(--line-soft) !important;
  border-radius: 4px !important;
  background: #090e16 !important;
}
.filter-group-label,
.filter-search label { color: #626c80 !important; }
.filter-btn { border-radius: 3px !important; color: #758095 !important; }
.filter-btn:hover { color: #e0e4ed !important; background: #151c29 !important; }
.filter-btn.active {
  border-color: rgba(var(--game-accent-rgb), .42) !important;
  background: rgba(var(--game-accent-rgb), .15) !important;
  color: #edeaf6 !important;
}
.catalog-meta { border-color: var(--line-soft) !important; }

/* Compact filter rail aligned with the site's existing controls. */
.filter-tabs,
#catalogFilters,
#marketFilters {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  gap: 5px !important;
  width: 100%;
  max-height: none !important;
  min-width: 0;
  padding: 0 !important;
  overflow: visible !important;
  scrollbar-width: none;
}
.filter-tabs .filter-group {
  display: flex !important;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  gap: 8px !important;
  padding: 5px 7px !important;
}
.filter-tabs .filter-group[hidden] { display: none !important; }
.filter-tabs .filter-group-label {
  flex: 0 0 86px;
  min-height: 0;
  padding: 0 4px !important;
  font-size: 7px !important;
  letter-spacing: .13em;
}
.filter-tabs .filter-group-buttons {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px !important;
  min-width: 0;
}
.filter-tabs .filter-btn {
  width: auto;
  min-width: 54px;
  min-height: 26px;
  padding: 5px 9px !important;
  border-radius: 5px !important;
  font-size: 8px !important;
  letter-spacing: .04em;
  text-align: center;
}
.filter-bar { grid-template-columns: minmax(0, 1fr) 240px !important; align-items: start !important; }
.filter-search { min-height: 0; padding: 8px !important; gap: 6px !important; }
.filter-search .search-input,
#searchMarket { min-height: 34px !important; padding: 7px 9px !important; font-size: 11px !important; }
#viewUpgrade .filter-bar {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch;
}
#viewUpgrade .filter-search { grid-row: auto; }

/* Item-focused surfaces */
.skin-grid { gap: 9px !important; }
.skin-card,
body[data-game="rust"] .skin-card {
  border: 1px solid #252e41 !important;
  border-bottom: 2px solid var(--rarity-color, #7467a6) !important;
  border-radius: 5px !important;
  background: #0d131e !important;
  box-shadow: none !important;
  transition: border-color .15s ease, background .15s ease, transform .15s ease !important;
}
.skin-card::after {
  background: radial-gradient(ellipse 110px 55px at 50% 25%, color-mix(in srgb, var(--rarity-color, #7467a6) 10%, transparent), transparent 72%) !important;
}
.skin-card:hover,
body[data-game="rust"] .skin-card:hover {
  transform: translateY(-2px) !important;
  border-color: color-mix(in srgb, var(--rarity-color, #7467a6) 55%, #384055) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .24) !important;
}
.skin-card.selected {
  border-color: var(--accent) !important;
  border-bottom-color: var(--accent) !important;
  background: #17170f !important;
  box-shadow: inset 0 0 0 1px rgba(242, 201, 76, .2) !important;
}
.skin-card.selected::after { background: radial-gradient(ellipse 110px 55px at 50% 25%, rgba(242, 201, 76, .12), transparent 72%) !important; }
.skin-card-price { color: var(--accent) !important; }
.skin-card-name { color: #e5e8f0 !important; }
.skin-card-weapon { color: #667186 !important; }
.skin-card-wear { border-color: #30384b !important; background: #151b27 !important; }
.skin-card img { filter: drop-shadow(0 6px 10px rgba(0,0,0,.65)) !important; }
.skin-card-check { background: var(--accent) !important; box-shadow: none !important; }
.skin-card-empty { border-color: #222a39 !important; border-radius: 5px !important; background: #090d15 !important; }

/* Upgrade */
.upgrade-stage {
  border: 1px solid #252d40 !important;
  border-radius: 6px !important;
  background: #080c13 !important;
}
.upgrade-slot {
  border: 1px solid #2a3448 !important;
  border-radius: 5px !important;
  background: #0d1420 !important;
}
.upgrade-slot::before,
.upgrade-slot::after { display: none !important; }
.upgrade-item-visual {
  border: 1px solid rgba(239, 137, 35, .22);
  border-radius: 5px;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(239, 137, 35, .16), rgba(239, 137, 35, .045) 56%, transparent 78%),
    rgba(239, 137, 35, .025);
  box-shadow: inset 0 0 24px rgba(239, 137, 35, .035);
}
#slotDeposit > div > div:nth-child(2) > div:first-child {
  border-color: rgba(var(--purple-rgb), .42) !important;
  background: rgba(var(--purple-rgb), .08) !important;
  color: var(--purple-soft) !important;
  box-shadow: none !important;
}
.upgrade-ring-box {
  background: transparent !important;
  filter: none !important;
  box-shadow: none !important;
  animation: none !important;
}
.upgrade-stage::before { display: none !important; }
.upgrade-ring-box svg { filter: none !important; }
#ringGrad stop:first-child { stop-color: #f2c94c; }
#ringGrad stop:last-child { stop-color: #b79538; }
.ring-percent { color: #f4f1e7 !important; text-shadow: none !important; }
.mult-btn { border-color: #293246 !important; border-radius: 3px !important; background: #0c121c !important; color: #7f899d !important; }
.mult-btn:hover,
.mult-btn.active { border-color: #7769a8 !important; background: rgba(var(--purple-rgb), .14) !important; color: #ece8f6 !important; }
.fair-panel { background: #0b111a !important; }
.fair-reveal { border-color: #383248 !important; background: #100e17 !important; color: #aaa0c9 !important; }

/* Coinflip */
.coinflip-arena,
.coinflip-ledger {
  border: 1px solid var(--line-soft) !important;
  border-radius: 5px !important;
  background: #080c13 !important;
  box-shadow: none !important;
}
.coinflip-arena::before { display: none !important; }
.coinflip-arena .side-btn,
#btnSideRed,
#btnSideBlack {
  border-radius: 5px !important;
  background: #0d131e !important;
  box-shadow: none !important;
}
#btnSideRed { border-color: rgba(228, 105, 117, .4) !important; }
#btnSideBlack { border-color: rgba(var(--purple-rgb), .48) !important; }
.coinflip-arena .side-btn:hover:not(:disabled) { transform: translateY(-2px) !important; }
.coinflip-arena .side-btn.red.active { border-color: #d96470 !important; box-shadow: inset 3px 0 #d96470, 0 0 14px rgba(217, 100, 112, .16) !important; }
.coinflip-arena .side-btn.black.active { border-color: #8b7eb8 !important; box-shadow: inset -3px 0 #8b7eb8, 0 0 14px rgba(139, 126, 184, .16) !important; }
.coinflip-arena .side-btn.side-locked:not(.active) { opacity: .46 !important; filter: saturate(.55); cursor: not-allowed !important; }
.coinflip-arena .side-btn.side-locked.active { opacity: 1 !important; cursor: default !important; }
.machine-state { border-color: #2a3244 !important; border-radius: 3px !important; background: #080c13 !important; color: #687287 !important; }
.coinflip-ledger span { border-color: var(--line-soft) !important; }

/* Account, transfer and reward dialogs */
.modal-overlay,
#modalProfile { background: rgba(2, 4, 8, .88) !important; backdrop-filter: blur(4px) !important; }
.modal-box {
  padding: 22px !important;
  background: #0b1019 !important;
}
.modal-header { border-color: var(--line-soft) !important; }
.modal-header h3 { color: #eef1f6 !important; }
#profileModalBox {
  border-color: #293246 !important;
  border-radius: 5px !important;
  background: #0a0f18 !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.58) !important;
}
#profileModalBox > div:first-child { border-color: var(--line-soft) !important; background: #0e1420 !important; }
#profileModalBox > div:nth-child(2) > div:first-child { border-color: var(--line-soft) !important; background: #080c13 !important; }
.prof-nav-btn { border-radius: 3px !important; color: #8b95a8 !important; }
.prof-nav-btn:hover { border-color: #30394c !important; background: #111722 !important; color: #eceff5 !important; }
.prof-nav-btn.active { border-color: rgba(242,201,76,.43) !important; background: rgba(242,201,76,.1) !important; color: var(--accent) !important; box-shadow: inset 2px 0 var(--accent) !important; }
.prof-card,
.prof-stat-card,
.prof-promo-row {
  border-color: var(--line-soft) !important;
  border-radius: 4px !important;
  background: #101722 !important;
  box-shadow: none !important;
}
.prof-section-title,
.prof-card-label,
.prof-stat-label { color: #7d879b !important; }
.settings-help,
.settings-verified,
#profRefLinkInput,
.prof-stat-val[style*="#38bdf8"] { color: var(--purple-soft) !important; }
#profAvatar,
.daily-profile-avatar { border-color: #443c5c !important; background: #11101a !important; }
.prof-btn-primary { border-radius: 4px !important; background: var(--accent) !important; color: #11131a !important; box-shadow: none !important; }
.prof-btn-ghost { border-radius: 4px !important; border-color: #333d51 !important; background: #111823 !important; color: #c8cfdd !important; }
.prof-btn-ghost:hover { border-color: #74699d !important; background: #171d2a !important; }

.daily-reward-modal { background: #0b1019 !important; }
.daily-reward-hero {
  border-color: #3a334d !important;
  border-radius: 5px !important;
  background: #100e17 !important;
}
.daily-token-wrap img { filter: none !important; }
.daily-token-pulse { border-color: rgba(var(--purple-rgb), .25) !important; box-shadow: none !important; animation: none !important; }
.daily-modal-kicker,
.daily-reward-hero small { color: var(--purple-soft) !important; }
.daily-check { border-color: #384158 !important; }
.daily-requirement.complete { border-color: rgba(98,196,154,.38) !important; background: rgba(98,196,154,.08) !important; }

/* Community, events and admin */
.event-rail {
  border: 1px solid color-mix(in srgb, var(--event-accent, #7769a8) 38%, #222a3a) !important;
  border-radius: 5px !important;
  background: #0c111b !important;
  box-shadow: none !important;
  clip-path: none !important;
}
.event-signal i,
.chat-head i,
.chat-launcher > span { box-shadow: none !important; animation: none !important; }
.event-copy strong { color: #e9ecf3 !important; }
.event-copy span,
.event-stats span { color: #727c90 !important; }
.event-stats b { color: #cfd5e0 !important; }

.chat-launcher {
  left: 22px !important;
  right: auto !important;
  border-color: #4d4569 !important;
  border-radius: 4px !important;
  background: #101621 !important;
  color: #d6d0e6 !important;
  box-shadow: none !important;
}
.community-chat {
  left: 22px !important;
  right: auto !important;
  border-color: #3a334e !important;
  border-radius: 5px !important;
  background: #0b1019 !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.58) !important;
  backdrop-filter: none !important;
}
.chat-head,
.chat-guideline,
.chat-compose { border-color: var(--line-soft) !important; }
.chat-guideline { color: #747f93 !important; background: #0d131e !important; }
.chat-avatar { border-color: #433b5b !important; background: #171322 !important; color: #afa5d0 !important; }
.chat-meta strong { color: #d5cfE6 !important; }
.chat-body p { color: #a6afbf !important; }
.chat-compose input { border-color: #2a3347 !important; background: #080c13 !important; }

.admin-community-card { background: #0c121c !important; }
.admin-list-row,
.readiness-item {
  border-color: var(--line-soft) !important;
  background: #0a0f18 !important;
}
.admin-list-row strong { color: #dce0e9 !important; }
.admin-list-actions button { border-color: #443c5c !important; border-radius: 3px !important; background: #151120 !important; color: #aaa0ca !important; }
.stat-card { border-color: #343048 !important; border-radius: 4px !important; background: #0d111a !important; }
.stat-num { color: #aaa0ca !important; }

/* Supporting overlays and footer */
.age-gate {
  background: rgba(4, 7, 14, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10000 !important;
}
.age-gate[hidden] {
  display: none !important;
}
.age-card {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #101625 0%, #090e18 100%) !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  clip-path: none !important;
  max-width: 440px !important;
  padding: 34px 30px !important;
  text-align: center !important;
  margin: auto !important;
}
.age-card > img {
  width: 84px !important;
  height: 84px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 24px rgba(245, 196, 0, 0.35)) !important;
  margin: 0 auto 10px !important;
  display: block !important;
}
.age-card .eyebrow {
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  color: #f5c400 !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}
.age-card h2 {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.3px !important;
  margin: 6px 0 10px !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}
.age-card > p {
  color: #94a3b8 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  margin-bottom: 20px !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}
.age-check {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  padding: 12px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 12px !important;
  color: #cbd5e1 !important;
  margin: 0 0 18px !important;
  cursor: pointer !important;
  text-align: left !important;
}
.age-check input {
  accent-color: #f5c400 !important;
  width: 17px !important;
  height: 17px !important;
  cursor: pointer !important;
}
.age-check a {
  color: #f5c400 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}
.age-card .btn-upgrade {
  width: 100% !important;
  height: 46px !important;
  font-size: 13.5px !important;
  letter-spacing: 1px !important;
  border-radius: 10px !important;
}
.age-exit {
  color: #64748b !important;
  font-size: 11.5px !important;
  margin-top: 14px !important;
  display: inline-block !important;
  text-decoration: none !important;
  transition: color 0.15s !important;
}
.age-exit:hover {
  color: #cbd5e1 !important;
}

.cookie-notice {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #101625 0%, #090e18 100%) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6) !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}
.cookie-notice a { color: #f5c400 !important; }
.toast { border-color: rgba(255, 255, 255, 0.14) !important; border-radius: 10px !important; background: #0f1523 !important; font-family: 'Inter', system-ui, sans-serif !important; }
.toast::before { background: #f5c400 !important; box-shadow: none !important; }

.site-footer {
  border-top: 1px solid #1c2230;
  color: #5f687a !important;
}
.site-footer img.footer-brand-img { height: 28px !important; max-width: 120px !important; }
.site-footer small { border-color: #272e3e !important; }
.footer-links a { color: #737d91 !important; }
.footer-links a:hover { color: #b4aacd !important; }

/* Rust keeps its warm identity while sharing the SkinUp system. */
body[data-game="rust"] {
  --game-accent: #c8713f;
  --game-accent-rgb: 200, 113, 63;
}
body[data-game="rust"] .btn-action,
body[data-game="rust"] .btn-deposit,
body[data-game="rust"] .btn-upgrade:not(:disabled) {
  border-color: var(--accent) !important;
  background: var(--accent) !important;
  color: #11131a !important;
}
body[data-game="rust"] .skin-card { background: #12100f !important; }

/* Serious primary-action system — restrained motion, shared across game flows. */
.btn-upgrade:not(:disabled),
.btn-deposit,
.event-join,
.chat-compose button,
.reveal-btn-primary,
.prof-btn-primary {
  --action-accent: #8272b3;
  --action-accent-rgb: 130, 114, 179;
  --action-highlight: #d5b956;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(var(--action-accent-rgb), .72) !important;
  border-radius: 6px !important;
  background:
    linear-gradient(180deg, rgba(var(--action-accent-rgb), .17), rgba(var(--action-accent-rgb), .035)),
    #0d1119 !important;
  color: #eeeaf7 !important;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .055),
    inset 0 -1px 0 rgba(0, 0, 0, .45) !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: .085em !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .65);
  transform: none !important;
  transition:
    color .2s ease,
    border-color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease !important;
}

.btn-upgrade:not(:disabled)::before,
.btn-deposit::before,
.event-join::before,
.chat-compose button::before,
.reveal-btn-primary::before,
.prof-btn-primary::before {
  content: '' !important;
  position: absolute !important;
  inset: auto !important;
  top: -20% !important;
  bottom: -20% !important;
  left: -32% !important;
  width: 20% !important;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent) !important;
  transform: skewX(-18deg) !important;
  transition: left .58s cubic-bezier(.2, .75, .25, 1) !important;
}

.btn-upgrade:not(:disabled)::after,
.btn-deposit::after,
.event-join::after,
.chat-compose button::after,
.reveal-btn-primary::after,
.prof-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--action-highlight), transparent);
  opacity: .7;
}

.btn-upgrade:hover:not(:disabled),
.btn-deposit:hover,
.event-join:hover,
.chat-compose button:hover,
.reveal-btn-primary:hover,
.prof-btn-primary:hover {
  border-color: rgba(var(--action-accent-rgb), 1) !important;
  background:
    linear-gradient(180deg, rgba(var(--action-accent-rgb), .24), rgba(var(--action-accent-rgb), .07)),
    #10141e !important;
  color: #ffffff !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .34),
    0 0 0 1px rgba(var(--action-accent-rgb), .1),
    inset 0 1px 0 rgba(255, 255, 255, .075) !important;
  transform: none !important;
}

.btn-upgrade:hover:not(:disabled)::before,
.btn-deposit:hover::before,
.event-join:hover::before,
.chat-compose button:hover::before,
.reveal-btn-primary:hover::before,
.prof-btn-primary:hover::before {
  left: 116% !important;
}

.btn-upgrade:active:not(:disabled),
.btn-deposit:active,
.event-join:active,
.chat-compose button:active,
.reveal-btn-primary:active,
.prof-btn-primary:active {
  background:
    linear-gradient(180deg, rgba(var(--action-accent-rgb), .09), rgba(var(--action-accent-rgb), .16)),
    #0a0d14 !important;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .5) !important;
  transform: scale(.995) !important;
}

.btn-upgrade:focus-visible,
.btn-deposit:focus-visible,
.event-join:focus-visible,
.chat-compose button:focus-visible,
.reveal-btn-primary:focus-visible,
.prof-btn-primary:focus-visible {
  outline: 2px solid var(--action-highlight);
  outline-offset: 3px;
}

.btn-upgrade:disabled,
.btn-action:disabled {
  border-color: #293142 !important;
  border-radius: 6px !important;
  background: linear-gradient(180deg, #111722, #0b1018) !important;
  color: #505b6e !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
  opacity: .72 !important;
}

body[data-game="rust"] .btn-upgrade:not(:disabled),
body[data-game="rust"] .btn-deposit,
body[data-game="rust"] .event-join,
body[data-game="rust"] .chat-compose button,
body[data-game="rust"] .reveal-btn-primary,
body[data-game="rust"] .prof-btn-primary {
  --action-accent: #b86b42;
  --action-accent-rgb: 184, 107, 66;
  --action-highlight: #dca06e;
  border-color: rgba(var(--action-accent-rgb), .76) !important;
  background:
    linear-gradient(180deg, rgba(var(--action-accent-rgb), .18), rgba(var(--action-accent-rgb), .04)),
    #120f0e !important;
  color: #f3e8df !important;
}

@media (max-width: 1380px) {
  .navbar,
  body[data-game="rust"] .navbar { grid-template-columns: auto 1fr auto !important; }
  .nav-tabs { border-top: 1px solid var(--line-soft) !important; }
}

@media (max-width: 820px) {
  .filter-bar { grid-template-columns: minmax(0, 1fr) !important; }
  .navbar,
  body[data-game="rust"] .navbar { padding: 10px 12px !important; }
  .container { padding-inline: 12px !important; }
  .nav-tabs { border: 1px solid var(--line-soft) !important; }
  .page-intro,
  .page-intro.compact { padding-top: 25px !important; }
  .card { padding: 14px !important; }
  .upgrade-stage { gap: 12px !important; padding: 12px !important; }
  #viewUpgrade > div[style*="minmax(460px"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  #viewUpgrade > div[style*="minmax(460px"] > .card { min-width: 0 !important; }
}

@media (max-width: 560px) {
  .brand img.brand-mark { height: 36px !important; max-width: 112px !important; }
  .game-choice { min-width: 0 !important; }
  .tab-btn { flex: 0 0 auto; padding-inline: 12px !important; }
  .page-intro h1,
  .page-intro.compact h1 { font-size: 32px !important; }
  .terminal-metrics { width: 100% !important; }
  .skin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .skin-card { min-height: 174px !important; }
  .modal-box { padding: 15px !important; }
  .filter-tabs .filter-group { align-items: flex-start; flex-direction: column; gap: 5px !important; }
  .filter-tabs .filter-group-label { flex-basis: auto; }
  .event-rail { border-radius: 4px !important; }
  .chat-launcher { left: 10px !important; right: auto !important; }
  .community-chat { left: 10px !important; right: auto !important; width: calc(100vw - 20px) !important; }
  #viewUpgrade > div[style*="minmax(460px"] > .card > div:first-child {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

@media (max-width: 360px) {
  .skin-grid { grid-template-columns: 1fr !important; }
  .game-choice span small { display: none !important; }
}

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