:root {
  --bg: #0b0d12;
  --bg2: #11141b;
  --panel: #161a23;
  --panel2: #1c212c;
  --line: #262c39;
  --text: #e8ebf2;
  --muted: #8a93a6;
  --accent: #ffb547;
  --accent2: #ff7a2f;
  --good: #3ddc84;
  --bad: #ff4d6a;
  --blue: #4b8bff;
  --r: 14px;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 Inter, system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, select { font: inherit; color: var(--text); }

.bg-glow {
  position: fixed; inset: -20% -10% auto -10%; height: 70vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(255,122,47,.12), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, rgba(75,139,255,.10), transparent 70%);
  animation: glowShift 14s ease-in-out infinite alternate;
}
@keyframes glowShift { to { transform: translate3d(3%, 4%, 0) scale(1.08); } }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px 24px;
  background: rgba(11,13,18,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; font-size: 18px; letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
.logo-mark { color: var(--accent); display: inline-block; animation: spin 8s linear infinite; }
.logo-sub { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav a {
  padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--panel); }
.nav a.active { color: var(--bg); background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.user-box { display: flex; align-items: center; gap: 10px; }
.balance {
  display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line); font-weight: 700; font-variant-numeric: tabular-nums;
}
.balance .cur { color: var(--good); }
.balance.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.12); box-shadow: 0 0 0 4px rgba(61,220,132,.2); } }
.avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--panel2); object-fit: cover; display: grid; place-items: center; font-weight: 800; color: var(--accent); }
.user-name { font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- common ---------- */
.view { max-width: 1240px; margin: 0 auto; padding: 28px 24px 120px; }
.page-enter { animation: pageIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }
h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.3px; }
h2 { font-size: 18px; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 24px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 12px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font-weight: 700; background: var(--panel2); border-color: var(--line);
  transition: transform .15s, box-shadow .2s, background .2s, opacity .2s;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #1a0f00; border: 0; box-shadow: 0 6px 24px -6px rgba(255,122,47,.6); }
.btn.primary:hover:not(:disabled) { box-shadow: 0 10px 30px -6px rgba(255,122,47,.8); }
.btn.good { background: var(--good); color: #062; border: 0; }
.btn.danger { background: rgba(255,77,106,.12); color: var(--bad); border-color: rgba(255,77,106,.35); }
.btn.ghost { background: transparent; }
.btn.steam { background: #171a21; border-color: #2a475e; color: #c7d5e0; }
.btn.sm { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.btn.lg { padding: 14px 28px; font-size: 16px; }
.btn.loading { position: relative; color: transparent !important; }
.btn.loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin .7s linear infinite;
}

.input, .select {
  width: 100%; padding: 11px 14px; border-radius: 10px; background: var(--bg2);
  border: 1px solid var(--line); outline: none; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,181,71,.15); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; color: var(--muted); font-weight: 600; }
.err-text { color: var(--bad); font-size: 13px; min-height: 18px; }
.err-text.shake { animation: shake .4s; }
@keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }

.chip { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--panel2); color: var(--muted); border: 1px solid var(--line); }
.chip.good { color: var(--good); border-color: rgba(61,220,132,.35); background: rgba(61,220,132,.08); }
.chip.bad { color: var(--bad); border-color: rgba(255,77,106,.35); background: rgba(255,77,106,.08); }
.chip.warn { color: var(--accent); border-color: rgba(255,181,71,.35); background: rgba(255,181,71,.08); }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .big { font-size: 42px; margin-bottom: 8px; opacity: .6; }

.skeleton { background: linear-gradient(90deg, var(--panel) 0%, var(--panel2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid.sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.stagger > * { animation: cardIn .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }

.case-card {
  position: relative; display: block; padding: 18px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-6px); border-color: rgba(255,181,71,.5); box-shadow: 0 18px 40px -16px rgba(255,122,47,.45); }
.case-card .case-art { height: 150px; display: grid; place-items: center; margin-bottom: 12px; }
.case-card .case-art img { max-height: 100%; max-width: 100%; transition: transform .35s; }
.case-card:hover .case-art img, .case-card:hover .case-box { transform: scale(1.08) rotate(-3deg); }
.case-box {
  width: 120px; height: 90px; border-radius: 14px; position: relative; transition: transform .35s;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: inset 0 -12px 0 rgba(0,0,0,.18), 0 14px 30px -10px rgba(255,122,47,.6);
}
.case-box::before { content: ""; position: absolute; left: 0; right: 0; top: 34%; height: 8px; background: rgba(0,0,0,.2); }
.case-box::after { content: "◆"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(0,0,0,.35); font-size: 26px; }
.case-title { font-weight: 700; font-size: 16px; }
.case-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.price { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }

.item-card {
  --rc: #8a93a6;
  position: relative; border-radius: 12px; padding: 12px; overflow: hidden; cursor: default;
  background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.item-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rc); box-shadow: 0 0 12px var(--rc); }
.item-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--rc) 60%, transparent); }
.item-card.selectable { cursor: pointer; }
.item-card.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset, 0 10px 30px -12px var(--accent); }
.item-card.dim { opacity: .45; }
.item-img { height: 90px; display: grid; place-items: center; margin-bottom: 8px; background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 25%, transparent), transparent); }
.item-img img { max-height: 100%; max-width: 100%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.item-ph { font-size: 34px; font-weight: 800; color: var(--rc); opacity: .85; }
.item-name { font-weight: 600; font-size: 13px; line-height: 1.3; min-height: 34px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.item-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; gap: 6px; }
.item-chance { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.item-status { position: absolute; top: 8px; left: 8px; }
.item-check { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); background: var(--bg2); display: grid; place-items: center; font-size: 12px; transition: all .2s; }
.item-card.selected .item-check { background: var(--accent); border-color: var(--accent); color: #000; }

/* ---------- case page ---------- */
.case-hero { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.case-hero .case-art { height: 180px; display: grid; place-items: center; }
.case-hero .case-box { width: 170px; height: 125px; animation: float 3s ease-in-out infinite; }
.case-hero .case-art img { max-height: 180px; animation: float 3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(2deg); } }
.qty { display: inline-flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; }
.qty button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; cursor: pointer; font-weight: 700; color: var(--muted); transition: all .2s; }
.qty button.on { background: var(--panel2); color: var(--text); box-shadow: 0 0 0 1px var(--accent) inset; }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--muted); user-select: none; }
.toggle input { accent-color: var(--accent); }

/* ---------- roulette ---------- */
.reels { display: grid; gap: 10px; margin: 0 0 28px; }
.reel {
  position: relative; overflow: hidden; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line);
  height: var(--rh, 150px);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: reelIn .4s ease both;
}
@keyframes reelIn { from { opacity: 0; transform: scaleY(.6); } }
.reel-track { position: absolute; top: 0; bottom: 0; left: 0; display: flex; gap: 6px; padding: 8px 0; will-change: transform; }
.reel-track .item-card { width: var(--cw, 130px); flex: none; padding: 8px; }
.reel-track .item-img { height: calc(var(--rh, 150px) - 80px); }
.reel-marker { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: translateX(-1px); z-index: 2; box-shadow: 0 0 14px var(--accent); }
.reel-marker::before, .reel-marker::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border: 8px solid transparent; }
.reel-marker::before { top: 0; border-top-color: var(--accent); }
.reel-marker::after { bottom: 0; border-bottom-color: var(--accent); }
.reel .item-card.win { animation: winPulse 1s ease 2; border-color: var(--accent); }
@keyframes winPulse { 50% { transform: scale(1.06); box-shadow: 0 0 30px var(--rc); } }
.reels.compact { --rh: 116px; --cw: 100px; }
.reels.compact .reel-track .item-img { height: 58px; margin-bottom: 4px; }
.reels.compact .item-ph { font-size: 26px; }
.reels.compact .item-name { font-size: 11px; min-height: 0; -webkit-line-clamp: 1; }
.reels.compact .item-foot { display: none; }

/* ---------- drop result ---------- */
.drops { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.drop { width: 170px; animation: dropIn .7s cubic-bezier(.2,1.4,.4,1) both; position: relative; }
@keyframes dropIn { from { opacity: 0; transform: translateY(30px) scale(.6) rotate(-6deg); } }
.drop .item-card { padding: 16px; }
.drop .item-img { height: 110px; }
.burst { position: absolute; inset: -30px; pointer-events: none; z-index: -1; background: radial-gradient(closest-side, var(--rc), transparent); opacity: 0; animation: burst 1.2s ease-out .2s; }
@keyframes burst { 30% { opacity: .55; } to { opacity: 0; transform: scale(1.4); } }
.confetti { position: fixed; top: -10px; width: 8px; height: 14px; z-index: 100; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot)); } }

/* ---------- upgrader ---------- */
.upg { display: grid; grid-template-columns: 1fr 320px 1fr; gap: 20px; align-items: start; }
.upg-slot { min-height: 230px; display: grid; place-items: center; border: 2px dashed var(--line); border-radius: 16px; padding: 16px; transition: border-color .2s; }
.upg-slot.filled { border-style: solid; border-color: var(--accent); }
.upg-slot .item-card { width: 170px; }
.upg-wheel { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.upg-wheel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.upg-arc { transition: stroke-dasharray .6s cubic-bezier(.2,.8,.2,1); }
.upg-pointer { position: absolute; inset: 0; transition: transform 4.5s cubic-bezier(.12,.75,.18,1); }
.upg-pointer::before { content: ""; position: absolute; left: 50%; top: 4px; transform: translateX(-50%); border: 12px solid transparent; border-top: 22px solid #fff; filter: drop-shadow(0 0 8px rgba(255,255,255,.6)); }
.upg-center { position: absolute; inset: 60px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--bg2); border: 1px solid var(--line); }
.upg-center .pct { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; }
.upg-center .lbl { font-size: 12px; color: var(--muted); }
.upg-wheel.win .upg-center { animation: winGlow 1.2s ease 2; }
.upg-wheel.lose .upg-center { animation: loseGlow 1.2s ease 1; }
@keyframes winGlow { 50% { box-shadow: 0 0 60px rgba(61,220,132,.7); border-color: var(--good); } }
@keyframes loseGlow { 50% { box-shadow: 0 0 60px rgba(255,77,106,.6); border-color: var(--bad); } }
.picker { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.picker .panel { max-height: 520px; overflow: auto; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); background: var(--bg2); }
tbody tr { cursor: pointer; transition: background .15s; animation: cardIn .4s both; }
tbody tr:hover { background: var(--panel2); }
.tabs { display: inline-flex; gap: 4px; background: var(--bg2); padding: 4px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 18px; }
.tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; cursor: pointer; font-weight: 700; color: var(--muted); transition: all .2s; }
.tabs button.on { background: var(--panel2); color: var(--text); }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 20px; align-items: center; }

/* ---------- modal ---------- */
.modal-root { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.modal-back { position: absolute; inset: 0; background: rgba(5,6,10,.7); backdrop-filter: blur(6px); pointer-events: auto; display: grid; place-items: center; padding: 20px; animation: fadeIn .25s ease; }
.modal-back.closing { animation: fadeOut .2s ease forwards; }
.modal { width: min(460px, 100%); max-height: 90vh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px; animation: modalIn .35s cubic-bezier(.2,1.2,.4,1); position: relative; }
.modal.wide { width: min(860px, 100%); }
.modal-back.closing .modal { animation: modalOut .2s ease forwards; }
.modal-x { position: absolute; top: 14px; right: 14px; border: 0; background: var(--panel2); width: 32px; height: 32px; border-radius: 9px; cursor: pointer; color: var(--muted); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.94); } }
@keyframes modalOut { to { opacity: 0; transform: scale(.96); } }

.auth-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--bg2); padding: 4px; border-radius: 12px; margin: 16px 0 20px; position: relative; }
.auth-tabs button { position: relative; z-index: 1; border: 0; background: transparent; padding: 9px; border-radius: 9px; cursor: pointer; font-weight: 700; color: var(--muted); transition: color .25s; }
.auth-tabs button.on { color: var(--text); }
.auth-tabs .ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 16px) / 3); background: var(--panel2); border-radius: 9px; transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 0 1px var(--line) inset; }
.auth-pane { animation: pageIn .3s ease; }
.auth-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #1a0f00; margin-bottom: 14px; animation: float 3s ease-in-out infinite; }

pre.json { margin: 0; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font: 12px/1.5 var(--mono); overflow: auto; max-height: 360px; white-space: pre-wrap; word-break: break-word; }
.j-k { color: #7fb4ff; } .j-s { color: #9be29b; } .j-n { color: #ffb86b; } .j-b { color: #ff7ab8; } .j-null { color: #8a93a6; }

/* ---------- toasts ---------- */
.toasts { position: fixed; top: 76px; right: 20px; z-index: 60; display: grid; gap: 10px; width: min(360px, calc(100vw - 40px)); }
.toast { padding: 12px 16px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.4); animation: toastIn .4s cubic-bezier(.2,1.2,.4,1); border-left: 4px solid var(--blue); }
.toast.good { border-left-color: var(--good); } .toast.bad { border-left-color: var(--bad); }
.toast.out { animation: toastOut .3s ease forwards; }
.toast b { display: block; margin-bottom: 2px; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ---------- debug ---------- */
.debug-toggle { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel2); cursor: pointer; font-weight: 800; font-family: var(--mono); box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s; }
.debug-toggle:hover { transform: translateY(-2px); }
.debug-toggle b { background: var(--accent); color: #000; border-radius: 6px; padding: 0 6px; min-width: 22px; text-align: center; }
.debug-toggle.ping b { animation: bump .4s; }
.debug { position: fixed; top: 0; right: 0; bottom: 0; width: min(620px, 100vw); z-index: 45; background: var(--bg2); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(0,0,0,.5); }
.debug.open { transform: none; }
.debug-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.debug-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; min-width: 0; }
.api-base { font-size: 11px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.api-base input { width: min(220px, 50vw); padding: 5px 8px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg); font: 11px var(--mono); }
.debug-list { overflow: auto; flex: 1; padding: 10px; display: grid; gap: 8px; align-content: start; }
.log { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); animation: cardIn .3s both; }
.log summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 44px 1fr auto; gap: 8px; align-items: center; padding: 9px 12px; font: 12px var(--mono); }
.log summary::-webkit-details-marker { display: none; }
.log .m { font-weight: 700; color: var(--blue); }
.log .s.ok { color: var(--good); } .log .s.err { color: var(--bad); }
.log .p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log .body { padding: 0 12px 12px; display: grid; gap: 8px; }
.log .body h4 { margin: 4px 0 0; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }

@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .nav { order: 3; width: 100%; flex: none; }
  .user-box { margin-left: auto; }
  .user-name { display: none; }
  .view { padding: 20px 16px 120px; }
  .case-hero { grid-template-columns: 1fr; text-align: center; }
  .case-hero .row { justify-content: center; }
  .upg { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
