/* VoltUp pixel edition. RetroUI-inspired geometry; OriginKit-inspired tactile motion.
   Vanilla CSS adaptation, with no framework or changes to the game state. */
@font-face {
  font-family: Monocraft;
  src: url('./assets/fonts/Monocraft.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-pixel: Monocraft, ui-monospace, monospace;
  --bg: #0d110f;
  --surface: #171d19;
  --surface-2: #202822;
  --surface-3: #29332b;
  --text: #e9eee6;
  --muted: #a1ada3;
  --lime: #c9f66f;
  --violet: #b395f2;
  --line: #3a473c;
  --pixel-shadow: #050805;
  --radius: 0px;
  --radius-lg: 0px;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --pixel-step: polygon(40% 0,60% 0,60% 4%,72% 4%,72% 8%,80% 8%,80% 16%,88% 16%,88% 24%,96% 24%,96% 36%,100% 36%,100% 64%,96% 64%,96% 76%,88% 76%,88% 84%,80% 84%,80% 92%,72% 92%,72% 96%,60% 96%,60% 100%,40% 100%,40% 96%,28% 96%,28% 92%,20% 92%,20% 84%,12% 84%,12% 76%,4% 76%,4% 64%,0 64%,0 36%,4% 36%,4% 24%,12% 24%,12% 16%,20% 16%,20% 8%,28% 8%,28% 4%,40% 4%);
}
body {
  font-family: var(--font-pixel);
  font-synthesis: none;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: auto;
}
body * { font-family: var(--font-pixel) !important; font-weight: 400 !important; }
body::before {
  background: radial-gradient(#334034 1px,transparent 1px) 0 0/16px 16px;
  opacity: .2;
  mask-image: none;
}
::selection { color: #0d110f; background: var(--lime); }
.ambient { display: none; }
svg { stroke-linecap: square !important; stroke-linejoin: miter !important; }
/* Crisp rectangular controls keep their focus outside the artwork. */
:is(button,input,select,.button,.nav-button,.balance-box,.profile-button,.search-box,
  .target-picker-search,.target-picker-price,.target-sort-menu,.target-option-price,
  .target-picker-sort,.target-picker-sort-menu,.target-picker-sort-option,.deposit-input,
  .wear-tag,.wear-chip,.rarity-tag,.inventory-price,.skin-card-price,.inventory-demo-badge,.inventory-toolbar small,.history-status,.fairness-row i,
  .switch,.switch::after,.preset-settings-input,.source-addon-empty i,.target-empty i,
  .profile-icon,.profile-tabs,.profile-tab-content,.profile-tab-count,.promo-line,
  .payment-grid button,.quick-deposit-popup,.quick-deposit-popover,.quick-deposit-input,.promo-line label) { border-radius: 0 !important; }
:is(button,a,[role="button"],[tabindex],input,select,textarea):focus-visible {
  outline: 2px solid var(--lime) !important;
  outline-offset: 4px !important;
  box-shadow: none;
}
.pointer-input :is(button,a,[role="button"],[tabindex],input,select,textarea):focus { outline: none !important; }
.brand,.main-nav a,.mobile-tabs a { border-radius: 0; }
.site-header {
  background: #111713;
  border-bottom: 2px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
}
.brand-name { font-size: 23px; letter-spacing: -1px; }
.brand-mark,.site-header > .brand .brand-mark,.brand-tab-icon,.brand-mini-icon {
  background: url('./assets/voltup-pixel-mark.svg') center/contain no-repeat;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  image-rendering: pixelated;
}
.mobile-tabs a[data-page-link="upgrade"].active .brand-tab-icon {
  background-image: url('./assets/voltup-pixel-active.svg');
}
.main-nav { background: #0d110f; border: 1px solid var(--line); border-radius: 0; padding: 5px; gap: 5px; }
.main-nav .nav-button { color: var(--muted); font-size: 12px; }
.main-nav a.active { color: #17200e; background: var(--lime); box-shadow: 0 3px #789748; }
.main-nav .nav-button:hover { color: var(--text); background: #253126; }
.main-nav a.active:hover { color: #17200e; background: #d6ff8d; }
.header-metrics em { color: var(--muted); font-size: 8px; }
.header-metrics b { color: var(--text); }
.balance-box { background: #211b30; border: 2px solid #655184; box-shadow: 0 3px #08060e; }
.balance-box:hover { background: #2b2240; border-color: var(--violet); }
.balance-box strong { font-size: 14px; }
.profile-button,a.profile-button { color: #e6d8ff; background: #3b2c53; border: 2px solid #8062af; box-shadow: 0 3px #08060e; }
.profile-button:hover { background: #503b6d; box-shadow: 0 3px #08060e; }
.icon-button,.deposit-button { border: 1px solid var(--line); background: var(--surface-2); box-shadow: 0 3px #080c09; }
body .vcoin-icon,body .balance-box span.balance-coin {
  background: url('./assets/vcoin-pixel.svg') center/contain no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: transparent !important;
  text-shadow: none;
  image-rendering: pixelated;
}
body .vcoin-icon::after { content: none; }
.live-strip { background: #121814; border-bottom: 2px solid #29352b; }
.live-title { background: #171f15; color: var(--lime); font-size: 10px; border-right: 2px solid #3b4b2d; }
.live-title i { border-radius: 0; box-shadow: none; animation: none; }
.live-viewport { mask-image: none; }
.live-item { background: #191e1c; border-right: 2px solid #344034; }
.live-item::before,.live-item::after { display: none; }
.live-item img { filter: none; }
.live-item small { color: #9ca99f; }
.live-item b { font-size: 10px; }
.live-item em { color: var(--violet); font-size: 9px; }
.app-main { position: relative; }
.app-page.is-active { animation: pixel-enter 180ms var(--ease-out) both; }
.upgrade-section::before { content: none; }
.stage-title { justify-content: space-between; align-items: end; padding: 8px 2px 22px; }
.stage-title h1 { margin: 7px 0 0; font-size: clamp(24px,3vw,34px); line-height: 1.1; letter-spacing: -1px; }
.stage-title h1,.stage-eyebrow { display: block; }
.stage-eyebrow,.eyebrow { color: var(--lime); font-size: 10px; letter-spacing: 1px; }
.stage-status { color: var(--muted); display: flex; align-items: center; gap: 8px; font-size: 10px; }
.stage-status i { width: 6px; height: 6px; background: var(--lime); }
.upgrade-workspace { gap: 16px; border-radius: 0; background: none; }
/* Two inset edges plus a hard base create the block/pixel material. */
:is(.item-panel,.wheel-panel,.mobile-stake-panel,.mobile-quick-panel,
  .inventory-dashboard,.inventory-shell,.section-heading.compact,.profile-balance-card,
  .profile-stats section,.profile-option,.profile-best,.profile-collection,.profile-footer,
  .modal-card,.quick-deposit-popup,.quick-deposit-popover) {
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: inset 2px 2px #2a352c,inset -2px -2px #101610,4px 4px #050805;
  backdrop-filter: none;
}
.item-panel { padding: 20px; }
/* Legacy mobile selectors are more specific; geometry must stay consistent. */
:is(.item-panel,.stake-addon,.selected-target,.multiplier-control,.cash-addon-value,
  #mobileCashStakeSummary,.fairness-row,.inventory-dashboard,.inventory-shell,
  .section-heading.compact,.history-list,.history-row,.history-thumb,
  .inventory-account-card,.inventory-wallet-card,.inventory-best-card,
  .inventory-stat-grid section,.mobile-stake-panel,.mobile-quick-panel) { border-radius: 0 !important; }
.upgrade-workspace > .target-panel:not(.picker-open) { background: var(--surface); }
.stake-addon-picker { background: #101611 !important; }
.cash-addon-value,#mobileCashStakeSummary { color: var(--violet); background: #241f30; border-color: #685384; }
.item-panel:hover { border-color: #536349; box-shadow: inset 2px 2px #2a352c,inset -2px -2px #101610,4px 4px #050805; transform: none; }
.panel-topline { margin-bottom: 16px; }
.panel-topline h2 { font-size: 16px; }
.step-label { color: var(--lime); font-size: 10px; letter-spacing: 0; }
.small-link { color: var(--lime); }
.stake-addon,.source-balance,.selected-target,.multiplier-control {
  background: #101611;
  border: 1px solid #3c493b;
  border-radius: 0;
  box-shadow: inset 2px 2px #060c08;
}
.stake-addon { border-style: solid; }
.source-balance { padding: 14px; }
.source-addon-empty i,.target-empty i {
  color: var(--lime); background: #26311b; border: 2px solid #668b3c;
  box-shadow: 3px 3px #070c06;
}
.source-addon-empty b,.target-empty b { font-size: 11px; }
.source-addon-empty small,.target-empty small { color: var(--muted); }
.cash-addon-head small,.selected-target p,.stake-range-scale { color: var(--muted); }
.source-tools button { background: #202a22; border-color: #425240; color: #b9c8bc; }
.source-tools .fast-spin-toggle.active { color: var(--lime); background: #28371b; border-color: #92b958; }
.wheel-panel { padding: 22px 18px; background: #131b16; overflow: visible; }
.wheel-panel::before,.wheel-panel::after { content: none; }
.wheel-wrap { background: none !important; filter: none; }
.chance-ring {
  border-radius: 0;
  clip-path: var(--pixel-step);
  box-shadow: none;
  filter: none;
}
.chance-ring::before { border-radius: 0; clip-path: var(--pixel-step); background: #111813; }
.ring-core {
  border-radius: 0;
  border: 0;
  clip-path: var(--pixel-step);
  background: #0d130f;
  box-shadow: none;
}
.ring-core span { color: #a4b0a4; letter-spacing: 2px; font-size: 11px; }
.ring-core strong { font-size: 32px; letter-spacing: -2px; color: #f1f5ed; text-shadow: 2px 2px #263326; }
.ring-core small { color: var(--violet); font-size: 12px; }
.wheel-orbit { border: 0; border-radius: 0; }
.wheel-orbit span { width: 4px; border-radius: 0; background: #526250; }
.wheel-pointer::before {
  filter: none !important;
  background: var(--lime) !important;
  clip-path: polygon(0 0,100% 0,100% 40%,82% 40%,82% 72%,65% 72%,65% 100%,35% 100%,35% 72%,18% 72%,18% 40%,0 40%) !important;
}
.result-flash { border-radius: 0; box-shadow: none; text-shadow: 3px 3px #080d09; }
.multiplier-control { padding: 12px; }
.multiplier-head > span,.multiplier-scale,.wheel-note { color: var(--muted); }
.multiplier-head > span { font-size: 9px; }
.multiplier-head em { color: var(--violet); }
.target-presets-head > span { color: var(--muted); }
.target-presets-head output { color: var(--lime); }
.target-price-line { border-color: #354334; }
.target-price-line > span { color: var(--muted); }
.target-price-line strong { color: var(--violet); }
.target-preset-grid button { background: #202a22; border-color: #40533c; color: #c7d4c4; }
.target-preset-grid button.active { background: #324323; border-color: var(--lime); color: var(--lime); }
.wear-tag { background: #20281f; border: 1px solid #506041; backdrop-filter: none; }
.fairness-row { color: var(--muted); font-size: 10px; gap: 22px; }
.fairness-row i { background: #25381b; }
/* OriginKit Tactile Button: 50ms press and a small, quick spring-like release. */
:is(.button,.empty-action,.inventory-wallet-actions button,.deposit-presets button,
  .source-tools button,.target-preset-grid button,.payment-grid button,.preset-settings-actions button) {
  --press-base: #070c08;
  border-radius: 0;
  box-shadow: 0 4px var(--press-base);
  transition: transform 170ms cubic-bezier(.2,1.5,.4,1),box-shadow 170ms var(--ease-out),background-color 120ms ease,border-color 120ms ease;
}
:is(.button,.empty-action,.inventory-wallet-actions button,.deposit-presets button,
  .source-tools button,.target-preset-grid button,.payment-grid button,.preset-settings-actions button):active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 1px var(--press-base);
  transition-duration: 50ms;
  transition-timing-function: ease-out;
}
.button { background: var(--lime); border: 2px solid #b4de61; color: #14200d; }
.button:hover:not(:disabled) { background: #d8ff8f; box-shadow: 0 4px #536c2a; }
.button-muted { background: #263128; color: #e3eddf; border-color: #4a6044; }
.button-muted:hover:not(:disabled) { background: #354331; }
.button:disabled { opacity: .6; background: #29322b; border-color: #455144; color: #a6b09e; box-shadow: 0 4px #070c08; }
.spin-button { border: 2px solid #b4de61; background: var(--lime); box-shadow: 0 5px #637e32; }
.spin-button::before,.spin-button::after { content: none; }
.spin-button span { font-size: 18px; letter-spacing: 1px; }
.spin-button small { font-size: 10px; }
.spin-button:disabled { background: #29392a; color: #b1c7a6; border-color: #526247; opacity: 1; }
.inventory-wallet-actions button:first-child { background: var(--lime); color: #14200d; border-color: #add75d; }
.inventory-wallet-actions button:last-child { background: #2a2238; color: #d7c3fc; border-color: #685483; }
.empty-action { background: var(--lime); color: #14200d; border: 2px solid #add75d; }
/* Square slider thumbs and pixel switches; no decoration runs continuously. */
.stake-range-block label,.multiplier-range-wrap { user-select: none; -webkit-user-select: none; }
:is(#stakeRange,#mobileStakeRange,#multiplierSlider) { touch-action: none; user-select: none; -webkit-user-select: none; }
input[type="range"] { border-radius: 0; }
input[type="range"]::-webkit-slider-runnable-track { border-radius: 0; background: #303e2e; }
input[type="range"]::-webkit-slider-thumb { border-radius: 0 !important; border: 2px solid #0c160c; box-shadow: 2px 2px #070b07; background: var(--lime); }
input[type="range"]::-moz-range-track { border-radius: 0; background: #303e2e; }
input[type="range"]::-moz-range-thumb { border-radius: 0; background: var(--lime); border: 2px solid #0c160c; box-shadow: 2px 2px #070b07; }
.switch { background: #384338; border: 1px solid #657261; }
.switch::after { background: #bbc7b7; }
.switch.on { background: #506b2d; border-color: var(--lime); }
.switch.on::after { background: var(--lime); }
/* The entire catalogue, including sorting and empty results. */
.target-panel.picker-open { border: 2px solid var(--line); }
.target-picker-inline .target-picker-shell { background: #141c16; border-radius: 0; border: 0; box-shadow: none; }
.target-picker-inline .target-picker-header { border-bottom: 2px solid #334632; margin-bottom: 12px; background: #1e2a1b; }
.target-picker-inline .target-picker-header h2 { font-size: 20px; white-space: normal; line-height: 1.3; text-overflow: clip; }
.target-picker-mark { border-radius: 0 !important; background: url('./assets/voltup-pixel-mark.svg') center/contain no-repeat !important; box-shadow: none; image-rendering: pixelated; }
.target-picker-header > button { background: #2a3827; border: 1px solid #53644b; color: var(--text); }
.target-picker-inline :is(.search-box,.target-picker-search,.target-picker-sort,.target-picker-price) { background: #0d140f; border-color: #485640; border-radius: 0; box-shadow: inset 2px 2px #060a06; }
.search-box input { background: transparent; color: var(--text); }
.search-box:focus-within,.target-picker-inline .search-box:focus-within { outline: none; border-color: var(--lime); box-shadow: none; }
:is(.search-box,.target-picker-search,.target-picker-price,.deposit-input,.quick-deposit-input,.promo-line,.preset-settings-input) input:focus-visible { outline: none !important; box-shadow: none; }
.target-picker-inline .target-picker-sort-menu { background: #1d2a1d; border: 2px solid #647452; box-shadow: 4px 4px #060c07; backdrop-filter: none; }
.target-picker-inline .target-sort-menu { background: #1d2a1d; border: 2px solid #647452; box-shadow: 4px 4px #060c07; backdrop-filter: none; }
.target-sort-menu button.selected { background: #304426; color: var(--lime); }
.target-picker-sort-option { color: var(--text); }
.target-picker-sort-option.selected { color: var(--lime); background: #304426; }
.target-kind-filters button { background: #202b20; color: #bcc9b8; border: 1px solid #47573e; }
.target-kind-filters button.active { color: #14200d; background: var(--lime); border-color: var(--lime); box-shadow: 0 3px #637e32; }
.target-picker-inline .target-picker-summary { color: var(--muted); }
.target-picker-inline .target-picker-grid { padding-top: 4px; gap: 7px; }
.target-picker-inline .target-skin-option {
  border-radius: 0;
  border: 1px solid #3d4c3a;
  background: #1b251d;
  box-shadow: inset 3px 0 var(--rarity),0 2px #060a06;
  transition: background-color 100ms ease,border-color 100ms ease;
}
.target-picker-inline .target-skin-option:hover { background: #1b251d; border-color: color-mix(in srgb,var(--rarity) 45%,#3d4c3a); transform: none; box-shadow: inset 3px 0 var(--rarity),0 2px #060a06; }
.target-picker-inline .target-skin-option.selected::after { border-radius: 0; background: var(--lime); color: #14200d; box-shadow: none; }
.target-picker-inline .target-skin-option.selected { border-color: var(--lime); background: #2c3d24; }
.target-picker-inline .target-option-copy b { color: #e7eee1; font-size: 11px; }
.target-picker-inline .target-option-copy small { color: var(--muted); }
.target-picker-inline .target-option-price { color: var(--violet); background: #292034d9; border: 1px solid #5a476f; }
.target-picker-more { background: #263822; border: 1px solid #607b49; border-radius: 0; color: var(--lime); }
.target-picker-empty { border-radius: 0; color: var(--muted); }
.target-picker-inline.opening { animation: pixel-enter 180ms var(--ease-out) both; }
.target-picker-inline.closing { animation: pixel-exit 160ms ease both; }
/* Profile: equipment, wallet and drop stats share one pixel material. */
.inventory-intro h2 { letter-spacing: -1px; }
.inventory-intro p { color: var(--muted); }
.inventory-demo-badge { background: #25351d; color: var(--lime); border: 1px solid #5a713f; letter-spacing: 0; }
.inventory-dashboard { padding: 14px; gap: 12px; background: #20291f; }
.inventory-account-card,.inventory-wallet-card,.inventory-best-card,.inventory-stat-grid section {
  border-radius: 0; background: #131b15; border: 1px solid #3f5039; box-shadow: inset 2px 2px #080f09;
}
.inventory-account-card { border-top: 3px solid var(--lime); }
.inventory-wallet-card { border-top: 3px solid var(--violet); }
.inventory-avatar { border-radius: 0; background: #304126; border: 2px solid #759d48; box-shadow: 3px 3px #070d07; }
.inventory-account-head small,.inventory-card-label { color: var(--lime); letter-spacing: 0; }
.inventory-account-head strong { font-size: 19px; }
.inventory-account-head div > span,.inventory-wallet-note { color: var(--muted); }
.inventory-account-foot > span { border-radius: 0; background: #212b20; color: #bbc7b8; }
.inventory-account-foot button { border-color: #41543a; background: #212c1e; color: #c9d7c2; }
.inventory-wallet-card > strong { font-size: clamp(28px,3vw,40px); }
.inventory-best-card { background: #251f31; border-color: #655078; border-top: 3px solid var(--violet); }
.inventory-best-card strong { font-size: 12px; }
.inventory-best-card #inventoryBestPrice { color: var(--violet); }
.inventory-best-image img { filter: none; image-rendering: pixelated; }
.inventory-stat-grid span { color: #c1cdbb; }
.inventory-stat-grid small { color: var(--muted); }
.inventory-shell { background: #131b15; }
.inventory-toolbar { border-bottom: 2px solid #43553b; background: #202c1e; padding: 12px; gap: 8px; }
.inventory-toolbar button { background: #101910; border: 1px solid #485c3e; color: #b5c7aa; box-shadow: 0 3px #081006; }
.inventory-toolbar button.active { background: var(--lime); color: #16200f; border-color: #b4de61; }
.inventory-toolbar small { background: #293c23; color: #d3e4c8; }
.inventory-toolbar button.active small { background: #a7cc61; color: #172511; }
.inventory-sale-toggle { color: var(--muted); }
.inventory-item,.skin-card {
  background: #1c271d;
  border: 2px solid #3c4d35;
  border-top-color: var(--rarity);
  border-radius: 0;
  box-shadow: 3px 3px #060c06;
  transition: border-color 120ms ease,background-color 120ms ease;
}
.inventory-item::before,.inventory-item::after,.skin-card::after { display: none; }
.inventory-item:hover { transform: none; background: #253420; border-color: #7a9761; box-shadow: 3px 3px #060c06; }
.skin-card:hover { transform: none; background: #1c271d; border-color: color-mix(in srgb,var(--rarity) 45%,#3c4d35); box-shadow: 3px 3px #060c06; }
.target-picker-inline .target-skin-option,.skin-card { isolation: isolate; }
.target-picker-inline .target-skin-option::before,.skin-card::before {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at center,color-mix(in srgb,var(--rarity) 32%,transparent),color-mix(in srgb,var(--rarity) 24%,transparent) 60%,color-mix(in srgb,var(--rarity) 16%,transparent));
  filter: none;
  opacity: .22;
  transform: none;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.target-picker-inline .target-skin-option:focus-visible::before,.skin-card:focus-visible::before { opacity: .8; }
@media (hover:hover) and (pointer:fine) {
  .target-picker-inline .target-skin-option:hover::before,.skin-card:hover::before { opacity: .8; }
}
@media (prefers-reduced-motion:reduce) {
  .target-picker-inline .target-skin-option::before,.skin-card::before { transition: none; }
}
.inventory-media,.skin-card-media { background: repeating-linear-gradient(0deg,transparent 0 23px,#273523 23px 24px); }
.inventory-item .inventory-media img,.skin-card img { image-rendering: pixelated; filter: none; }
.inventory-item:hover .inventory-media img { scale: 1; }
.inventory-copy small,.skin-card-copy small { color: var(--muted); }
.inventory-item .inventory-copy h3 { font-size: 12px; line-height: 1.5; }
.inventory-price,.skin-card-price { color: var(--violet); }
.inventory-item .inventory-price { background: #292034; border: 1px solid #5a476f; box-shadow: none; }
.inventory-item .inventory-bottom button { color: var(--lime); background: #2f4121; border: 1px solid #627f40; }
.inventory-activity-row { border-radius: 0; background: #1d281d; border: 1px solid #40543a; box-shadow: 0 2px #070d06; }
.inventory-activity-thumb { border-radius: 0; background: #283525; }
.inventory-activity-row time,.inventory-activity-row small { color: var(--muted); }
.empty-state { border-radius: 0; border: 1px solid #55684a; background: #10180f !important; color: var(--muted); }
.empty-state > span { border-radius: 0; background: #25351c; color: var(--lime); border: 2px solid #566f38; box-shadow: 3px 3px #070d06; }
.empty-state p { font-size: 12px; line-height: 1.6; }
.section-heading.compact { padding: 22px; }
.history-row { border-radius: 0; border: 1px solid #3e4e36; border-left: 3px solid #637754; background: #182319; box-shadow: 0 3px #060c06; }
.history-row:hover { background: #213020; box-shadow: 0 3px #060c06; }
.history-row time,.history-item-name small { color: var(--muted); }
.history-thumb { background: #273621; border-radius: 0; }
.history-status { border: 1px solid currentColor; letter-spacing: 0; }
.history-status.win { background: #293d1d; color: var(--lime); }
.history-status.loss { background: #392320; color: #f5a599; }
/* All overlays: opaque simple materials work on weaker devices as well. */
.modal { background: rgba(5,10,6,.86); backdrop-filter: none; }
.modal-card { color: var(--text); background: #1b251b; padding: 24px; }
.modal[open] .modal-card { animation: pixel-enter 180ms var(--ease-out) both; }
.modal-card.coupon-card { border-radius: 0; border: 2px solid #7c6299; background: #211d2b; box-shadow: inset 2px 2px #393043,4px 4px #08060c; }
.modal-head h2 { font-size: 24px; line-height: 1.35; }
.modal-close { border: 1px solid #6e795f; background: #2f3b28; color: var(--text); }
.info-modal ol li { border-radius: 0; background: #162113; border: 1px solid #4b603e; }
.info-modal li::before { border-radius: 0; box-shadow: 2px 2px #070c06; }
.preset-settings-actions > button:first-child { color: #c3d1ba; background: #2a3825; border-color: #596f47; }
.notice-card,.modal-notice,.payment-notice,.demo-notice,.preset-settings-section,.formula { background: #111c12; border-color: #526a43; border-radius: 0; box-shadow: none; }
.deposit-summary { background: transparent; border-color: #526a43; border-radius: 0; box-shadow: none; }
.notice-card > span { border-radius: 0; background: var(--lime); color: #17200d; box-shadow: 2px 2px #080d06; }
.coupon-help,.preset-settings-note { color: var(--muted); }
.coupon-input { border: 2px solid #735d8b; background: #120f1a; color: var(--text); box-shadow: inset 2px 2px #07050c; }
.coupon-input:focus-visible { border-color: var(--lime); }
.payment-grid button { background: #263221; color: #d4e1cb; border: 1px solid #5b6c4c; }
.payment-grid button.active { background: #344624; color: var(--lime); border-color: var(--lime); }
.deposit-input,.preset-settings-grid label,.preset-settings-input { background: #101810; border: 1px solid #5b6c4c; border-radius: 0; }
.promo-line { gap: 8px; border: 0; background: transparent; box-shadow: none; }
.promo-line label { background: #101810; border-color: #5b6c4c; }
.promo-line button { background: #263221; border-color: #5b6c4c; }
.deposit-input input,.promo-line input,.preset-settings-grid input { color: var(--text); background: transparent; }
.deposit-presets button { background: #263221; color: #ceddc5; border-color: #546c42; }
.deposit-presets button.active { color: #14200d; background: var(--lime); border-color: var(--lime); }
.quick-deposit-popup { background: #1c2a1c; }
.quick-deposit-popover { background: #1c2a1c; border-color: #627b4b; }
.quick-deposit-popover.open { animation: pixel-enter 160ms var(--ease-out) both; }
.quick-deposit-presets button { background: #253a20; border-color: #596f43; color: #cfddc5; }
.quick-deposit-presets button.active { color: #14200d; background: var(--lime); }
.quick-deposit-submit { color: #14200d; background: var(--lime); border: 1px solid #a3cc55; box-shadow: 0 3px #617b30; }
.quick-deposit-more { color: var(--muted); }
.quick-deposit-popup.open { animation: pixel-enter 160ms var(--ease-out) both; }
.quick-deposit-input { background: #111b10; border-color: #617c4d; }
.profile-view { background: #0d130e; }
.profile-best { background: #292033; }
.profile-tab-content,.profile-collection { background: #152113; }
.profile-tabs { background: #22301f; }
.profile-tabs button.active { color: #15200b; background: var(--lime); box-shadow: 0 3px #6d893b; }
.site-footer { border-top: 2px solid #374530; color: var(--muted); }
.site-footer p,.site-footer button,.site-footer a { color: #aab8a3; }
.footer-brand .brand-name { font-size: 18px; }
.mobile-tabs { background: #1a2419; border: 2px solid #4d6041; border-radius: 0; padding: 5px; box-shadow: 0 -3px #070d08; backdrop-filter: none; }
.mobile-tabs a { border-radius: 0; color: #b1bea8; font-size: 10px; transition: background-color 120ms ease,color 120ms ease; }
.mobile-tabs a.active { color: #17200d; background: var(--lime); border-radius: 0; box-shadow: inset -2px -2px #a6ce55; }
.mobile-tabs .profile-tab-icon,.mobile-tabs .history-tab-icon { border-radius: 0; }
.site-loader { background: #0d130e; transition: opacity 160ms ease,visibility 160ms ease; }
.site-loader-grid { background: radial-gradient(#405335 1px,transparent 1px) 0 0/20px 20px; opacity: .4; mask-image: none; }
.site-loader-beam { display: none; }
.site-loader-brand img { filter: none; image-rendering: pixelated; }
.site-loader-brand span { font-size: 44px; letter-spacing: -2px; }
.site-loader-track { height: 10px; border-radius: 0; border: 2px solid #61764c; background: #162113; box-shadow: 3px 3px #050a05; }
.site-loader-track i { border-radius: 0; background: var(--lime); box-shadow: none; animation: pixel-load 700ms steps(8,end) forwards; }
@keyframes pixel-load { from { width: 0; } to { width: 100%; } }
@keyframes pixel-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pixel-exit { to { opacity: 0; transform: translateY(4px); } }
@keyframes targetSwap { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
::view-transition-group(*),::view-transition-old(*),::view-transition-new(*) { animation-duration: 180ms; }
@media (hover:hover) and (pointer:fine) {
  .inventory-wallet-actions button:hover,.deposit-presets button:hover,.source-tools button:hover,.target-preset-grid button:hover { border-color: var(--lime); }
  .inventory-account-foot button span { transition: transform 120ms var(--ease-out); }
  .inventory-account-foot button:hover span { transform: translateX(3px); }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .upgrade-workspace { gap: 10px; }
  .item-panel { padding: 14px; }
  .brand-name { font-size: 20px; }
  .main-nav .nav-button { font-size: 10px; padding-inline: 10px; }
  .header-metrics { gap: 10px; }
  .ring-core strong { font-size: 29px; }
}
@media (max-width: 760px) {
  body { background: #0d110f; }
  .site-header { padding-inline: 10px; }
  .site-header > .brand .brand-mark { width: 29px; height: 29px; flex-basis: 29px; }
  .balance-box { min-width: 108px; }
  .live-item { min-width: 165px; }
  .upgrade-section { padding-top: 10px; padding-inline: 10px; }
  .upgrade-section .stage-title { display: flex; padding: 3px 0 13px; }
  .stage-title h1 { font-size: 22px; letter-spacing: -1px; margin-top: 5px; }
  .stage-eyebrow { font-size: 8px; letter-spacing: 0; }
  .stage-status { font-size: 8px; gap: 5px; align-self: center; }
  .stage-status i { width: 4px; height: 4px; }
  .upgrade-workspace { gap: 10px; }
  .upgrade-workspace .wheel-wrap { width: min(260px,calc(100vw - 40px)); min-width: 0; margin: 4px auto 12px; border-radius: 0; box-shadow: none; }
  .wheel-panel { box-shadow: none; border: 0; background: none; }
  .upgrade-workspace .chance-ring { width: clamp(196px,59vw,228px); height: clamp(196px,59vw,228px); border-radius: 0; }
  .upgrade-workspace .ring-core { border-radius: 0; background: #0d130f; }
  .ring-core strong { font-size: 29px; letter-spacing: -2px; }
  .ring-core span { font-size: 10px; }
  .ring-core small { font-size: 11px; }
  .upgrade-workspace .source-panel,.upgrade-workspace .target-panel { padding: 10px; border-radius: 0; min-height: 212px; }
  .panel-topline { margin-bottom: 10px; }
  .step-label { font-size: 10px; }
  .stake-addon,.source-balance,.selected-target { border-radius: 0; }
  .source-addon-empty b,.target-empty b { font-size: 9px; }
  .source-addon-empty i,.target-empty i { width: 34px; height: 34px; font-size: 20px; }
  .source-tools { gap: 5px; }
  .source-tools button { border-radius: 0; }
  .selected-target h3 { font-size: 10px; }
  .target-price-line { font-size: 9px; }
  .target-price-line strong { font-size: 12px; }
  .multiplier-head > span { font-size: 8px; }
  .multiplier-head em { font-size: 10px; }
  .multiplier-scale { font-size: 8px; }
  .spin-button span { font-size: 17px; }
  .spin-button small { font-size: 9px; }
  .wheel-note { font-size: 9px; }
  .mobile-stake-panel,.mobile-quick-panel { padding: 12px; border-radius: 0; }
  .mobile-control-head b { font-size: 10px; }
  .inventory-intro h2 { font-size: 26px; }
  .inventory-intro p { font-size: 10px; line-height: 1.6; }
  .inventory-demo-badge { font-size: 8px; }
  .inventory-dashboard { padding: 8px; gap: 10px; }
  .inventory-account-card,.inventory-wallet-card { padding: 14px; gap: 14px; }
  .inventory-account-head strong { font-size: 16px; }
  .inventory-account-head div > span { font-size: 9px; }
  .inventory-account-foot { gap: 8px; }
  .inventory-account-foot > span,.inventory-account-foot button { font-size: 9px; }
  .inventory-wallet-card > strong { font-size: 32px; }
  .inventory-wallet-actions button { min-height: 42px; font-size: 12px; }
  .inventory-best-card strong { font-size: 11px; }
  .inventory-stat-grid span { font-size: 10px; }
  .inventory-stat-grid strong { font-size: 24px; }
  .inventory-toolbar { padding: 8px; gap: 6px; }
  .inventory-toolbar button { padding: 5px 2px; gap: 4px; font-size: 9px; flex-direction: column; white-space: normal; }
  .inventory-toolbar small { min-height: 14px; font-size: 8px; }
  .inventory-panel { padding: 12px; }
  .inventory-copy small { font-size: 9px; }
  .inventory-item .inventory-copy h3 { font-size: 10px; line-height: 1.5; min-height: 32px; }
  .inventory-price { font-size: 11px; }
  .inventory-item .inventory-bottom { flex-wrap: wrap; gap: 6px; }
  .inventory-sale-toggle { font-size: 10px; }
  .inventory-sale-controls .button { font-size: 10px; padding-inline: 10px; }
  .target-picker-inline .target-picker-header h2 { font-size: 16px; }
  .target-picker-inline .target-option-copy b { font-size: 10px; }
  .target-picker-inline .target-option-copy small { font-size: 8px; }
  .target-picker-inline .target-option-price { font-size: 11px; }
  .target-kind-filters button { font-size: 9px; }
  .target-picker-inline .target-picker-price input { font-size: 10px; }
  .target-picker-inline .target-picker-header { margin-bottom: 8px; padding: 12px; }
  .target-picker-inline .target-picker-filters { padding-inline: 12px; }
  .modal-card { padding: 18px; max-width: calc(100vw - 24px); }
  .modal-head h2 { font-size: 20px; }
  .coupon-help { font-size: 11px; }
  .payment-grid button { font-size: 10px; min-height: 45px; }
  .deposit-presets button { font-size: 10px; }
  .preset-settings-grid label { font-size: 10px; }
  .modal-notice,.payment-notice,.demo-notice { font-size: 11px; }
  .formula { font-size: 12px; overflow-wrap: anywhere; }
  .section-heading.compact { padding: 16px; gap: 10px; }
  .section-heading.compact h2 { font-size: 24px; }
  .history-item-name b { font-size: 11px; }
  .history-chance,.history-status { font-size: 9px; }
  .mobile-tabs { left: 8px; right: 8px; bottom: calc(7px + env(safe-area-inset-bottom)); }
  .mobile-tabs a { min-height: 49px; }
}
@media (max-width: 360px) {
  .upgrade-section { padding-inline: 8px; }
  .stage-title h1 { font-size: 20px; }
  .stage-status { font-size: 7px; }
  .upgrade-workspace { gap: 8px; }
  .upgrade-workspace .source-panel,.upgrade-workspace .target-panel { padding: 8px; }
  .source-addon-empty b,.target-empty b { font-size: 8px; }
  .ring-core strong { font-size: 26px; }
  .inventory-demo-badge { max-width: 66px; font-size: 7px; }
  .inventory-account-foot { grid-template-columns: 1fr; }
  .inventory-toolbar button { font-size: 8px; }
  .inventory-price { font-size: 10px; }
  .target-kind-filters button { font-size: 8px; padding-inline: 5px; }
  .target-picker-inline .target-picker-header h2 { font-size: 14px; }
  .modal-head h2 { font-size: 18px; }
  .deposit-presets button { font-size: 9px; }
  .payment-grid button { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-page.is-active,.modal[open] .modal-card,.target-picker-inline.opening,
  .target-picker-inline.closing,.quick-deposit-popup.open,.quick-deposit-popover.open { animation: none; }
  .source-addon-selected,.selected-target.target-swapped > * { animation: none !important; }
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*) { animation-duration: 1ms; }
  :is(.button,.empty-action,.inventory-wallet-actions button,.deposit-presets button,
    .source-tools button,.target-preset-grid button,.payment-grid button,.preset-settings-actions button) { transition: none; }
  .live-track { animation: none !important; }
  .site-loader-track i { animation: none; width: 100%; }
  .site-loader { transition: none; }
}
