:root {
  --bg: #141416;
  --nav: #161618;
  --card: #1c1c1f;
  --card-2: #232327;
  --card-3: #2a2a2f;
  --border: #29292e;
  --text: #f3f3f5;
  --muted: #8d8d96;
  --accent: #e8435a;
  --accent-2: #ff6178;
  --accent-soft: rgba(232, 67, 90, 0.14);
  --green: #6fdc8c;
  --red: #e5484d;
  --gold: #f5c451;
  --radius: 24px;
  --radius-sm: 16px;
  --font: 'Gilroy', 'Manrope', 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; }
svg { display: block; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.sm { font-size: 13px; }
.xs { font-size: 12px; }
.green { color: var(--green); }
.red { color: var(--red); }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt18 { margin-top: 18px !important; }
.mt26 { margin-top: 26px; }
.field.static { display: flex; align-items: center; font-weight: 700; }
.btn svg { width: 18px; height: 18px; }
.pl .btn svg { width: 16px; height: 16px; }

/* ───── Загрузка / ошибки ───── */
.boot { height: 100vh; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 24px; }
.boot-text { color: var(--muted); font-size: 15px; }
.boot h1 { font-size: 22px; }
.boot p { color: var(--muted); max-width: 420px; line-height: 1.5; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--card-3); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───── Каркас ───── */
.shell { display: grid; grid-template-columns: 118px 1fr; height: 100vh; }
.nav { background: var(--nav); border-right: 1px solid var(--border); padding: 18px 12px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 12px; border-radius: 18px; color: var(--muted); font-size: 12.5px; transition: background 0.15s, color 0.15s; }
.nav-item svg { width: 24px; height: 24px; }
.nav-item:hover { background: #1f1f23; color: var(--text); }
.nav-item.active { background: var(--card-3); color: var(--text); }
.badge { position: absolute; top: 8px; right: 18px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.badge:empty { display: none; }

.main { overflow-y: auto; padding: 34px 40px 60px; }
.page { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; animation: fade 0.2s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.page-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-head .grow { flex: 1; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h2 { font-size: 19px; font-weight: 700; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.link { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-weight: 600; font-size: 15px; }
.link svg { width: 18px; height: 18px; }
.link:hover { color: var(--text); }

/* ───── Кнопки / поля ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 15px; background: var(--card-3); transition: filter 0.15s, transform 0.05s, opacity 0.15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: default; filter: none; transform: none; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.green { background: #2f9e57; color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--border); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 11px; }
.btn.block { width: 100%; }
.lbl { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin: 16px 0 8px; }
.lbl:first-child { margin-top: 0; }
.field { width: 100%; height: 46px; padding: 0 16px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--border); outline: none; transition: border-color 0.15s; }
.field:focus { border-color: var(--accent); }
textarea.field { height: 86px; padding: 12px 16px; resize: none; }
input[type='number']::-webkit-inner-spin-button { -webkit-appearance: none; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { height: 40px; padding: 0 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); font-weight: 600; color: var(--muted); }
.tab.on { background: var(--card-3); color: var(--text); border-color: var(--card-3); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-b { flex: 1; min-width: 90px; height: 42px; padding: 0 12px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); font-weight: 600; font-size: 14px; color: var(--muted); }
.seg-b.on { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.controls .seg-b { min-width: 0; }
.modal .seg { display: grid; grid-template-columns: 1fr 1fr; }
.modal .seg-b { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.pill b { color: var(--text); }
.cur { width: 22px; height: 22px; color: var(--accent); }
.pill .cur { width: 16px; height: 16px; }

/* ───── Главная ───── */
.hero { display: flex; align-items: center; gap: 22px; padding: 28px; }
.avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: var(--card-3); flex-shrink: 0; }
.hero-info { flex: 1; min-width: 0; }
.hero-info h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-info .muted { margin-top: 4px; font-size: 15px; }
.progress { height: 7px; border-radius: 4px; background: var(--card-3); margin-top: 14px; max-width: 340px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--muted); transition: width 0.6s ease; }
.progress.accent i { background: var(--accent); }
.balance-tile { background: var(--card-2); border-radius: 20px; padding: 18px 26px; text-align: right; min-width: 160px; }
.balance-val { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 32px; font-weight: 800; margin: 6px 0 4px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 22px; min-height: 160px; transition: border-color 0.15s, transform 0.1s; }
button.stat:hover { border-color: #3a3a42; }
.stat.hot { border-color: var(--accent); }
.stat-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--card-3); display: grid; place-items: center; margin-bottom: 10px; color: var(--muted); }
.stat-ic svg { width: 22px; height: 22px; }
.stat.hot .stat-ic { background: var(--accent-soft); color: var(--accent); }
.stat-val { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }

.bottom { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; }
.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.game-tile { background: var(--card-2); border: 1px solid var(--border); border-radius: 20px; padding: 14px 14px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: border-color 0.15s, transform 0.12s; }
.game-tile:hover { border-color: #3d3d45; transform: translateY(-2px); }
.game-art { width: 100%; aspect-ratio: 1.2; border-radius: 14px; background: #19191c; display: grid; place-items: center; overflow: hidden; }
.game-art svg { width: 78%; height: 78%; }
.game-name { font-weight: 700; font-size: 16px; }

.week-sum { display: flex; gap: 12px; font-weight: 700; }
.chart { display: flex; justify-content: space-between; gap: 6px; height: 220px; padding-top: 6px; position: relative; }
.chart::before { content: ''; position: absolute; left: 0; right: 0; top: calc(50% - 10px); border-top: 1px dashed #303036; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; }
.chart .half { flex: 1; width: 100%; display: flex; justify-content: center; }
.chart .up { align-items: flex-end; }
.chart .down { align-items: flex-start; }
.chart .half i { width: 26px; max-width: 70%; height: 3px; transition: height 0.6s ease; }
.chart .up i { background: var(--green); border-radius: 6px 6px 0 0; }
.chart .down i { background: var(--red); border-radius: 0 0 6px 6px; }
.chart .col span { font-size: 12px; color: var(--muted); margin-top: 10px; height: 14px; }
.chart .col.today span { color: var(--text); font-weight: 700; }

/* ───── Казино ───── */
.casino-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.casino-tile { display: flex; flex-direction: column; gap: 16px; text-align: left; transition: border-color 0.15s, transform 0.12s; }
.casino-tile:hover { border-color: #3d3d45; transform: translateY(-2px); }
.casino-tile .game-art { aspect-ratio: 1.35; }
.game-layout { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.controls .btn.block { margin-top: 20px; }
.bet { display: flex; gap: 8px; }
.bet .field { flex: 1; min-width: 0; }
.bet-q { display: flex; gap: 6px; }
.bet-q button { height: 46px; min-width: 46px; padding: 0 10px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--border); font-weight: 700; font-size: 13px; color: var(--muted); }
.bet-q button:hover { color: var(--text); }
.hint { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.stage { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; position: relative; overflow: hidden; }
.result { font-size: 20px; font-weight: 800; min-height: 28px; text-align: center; }
.result.win { color: var(--green); }
.result.lose { color: var(--red); }

.dice-side { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dice-side .who { color: var(--muted); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.dice-row { display: flex; gap: 14px; }
.vs { color: var(--muted); font-weight: 800; }
.die { width: 84px; height: 84px; border-radius: 20px; background: #f4f4f6; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); padding: 14px; gap: 4px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
.die.red { background: var(--accent); }
.die i { border-radius: 50%; place-self: center; width: 13px; height: 13px; }
.die i.on { background: #1b1b1e; }
.die.red i.on { background: #fff; }
.die.rolling { animation: shake 0.18s infinite; }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg) translateY(-3px); } 75% { transform: rotate(8deg) translateY(2px); } }

.coin-wrap { perspective: 900px; }
.coin { width: 190px; height: 190px; position: relative; transform-style: preserve-3d; transition: transform 1.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.coin .face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; backface-visibility: hidden; font-weight: 900; font-size: 22px; letter-spacing: 0.08em; }
.coin .front { background: radial-gradient(circle at 35% 30%, #ff7d90, var(--accent) 60%, #b8283d); color: #fff; box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.12); }
.coin .back { background: radial-gradient(circle at 35% 30%, #4a4a52, #2c2c32 60%, #1d1d21); color: #fff; transform: rotateY(180deg); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.06); }

.tower { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 420px; }
.trow { display: grid; grid-template-columns: repeat(3, 1fr) 64px; gap: 8px; align-items: center; }
.tcell { height: 40px; border-radius: 11px; background: var(--card-2); border: 1px solid var(--border); transition: background 0.15s, border-color 0.15s; }
.tcell.active { background: var(--card-3); cursor: pointer; border-color: #3d3d45; }
.tcell.active:hover { border-color: var(--accent); background: var(--accent-soft); }
.tcell.safe { background: rgba(111, 220, 140, 0.18); border-color: var(--green); }
.tcell.bomb { background: rgba(229, 72, 77, 0.18); border-color: var(--red); }
.tcell.boom { background: var(--red); border-color: var(--red); }
.tmult { font-size: 13px; font-weight: 700; color: var(--muted); text-align: right; }
.trow.current .tmult { color: var(--text); }

.crash-box { width: 100%; position: relative; }
.crash-box canvas { width: 100%; height: 340px; display: block; border-radius: 16px; background: #18181b; }
.crash-mult { position: absolute; inset: 0; display: grid; place-items: center; font-size: 56px; font-weight: 900; letter-spacing: -0.02em; pointer-events: none; }
.crash-mult.crashed { color: var(--red); }
.crash-mult.cashed { color: var(--green); }

/* ───── Магазин ───── */
.shop-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.price-title { font-family: Consolas, 'SF Mono', Menlo, monospace; font-size: 13.5px; background: #151517; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; margin: 22px 0 10px; color: #d8d8de; }
.price-title:first-child { margin-top: 0; }
.price-row { display: flex; align-items: center; gap: 14px; padding: 10px 4px; border-bottom: 1px solid #222226; }
.price-row:last-child { border-bottom: 0; }
.price-row .nm { flex: 1; min-width: 0; font-weight: 600; }
.price-row .nm small { color: var(--muted); font-weight: 500; margin-left: 6px; }
.price-row .pr { font-weight: 800; white-space: nowrap; }
.orders { display: flex; flex-direction: column; gap: 10px; }
.order-item { background: var(--card-2); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.order-item .top { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 14px; }
.status { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--card-3); color: var(--muted); }
.status.open { color: #9fb4ff; }
.status.taken { color: var(--gold); }
.status.completed { color: var(--green); }
.status.closed { color: var(--red); }

/* ───── Списки ───── */
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px solid #222226; }
.li:last-child { border-bottom: 0; }
.li .grow { flex: 1; min-width: 0; }
.li .ttl { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .val { font-weight: 800; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.li .val .cur { width: 16px; height: 16px; }
.li.me { background: var(--accent-soft); border-radius: 14px; padding: 13px 14px; border-bottom: 0; }
.place { width: 34px; height: 34px; border-radius: 10px; background: var(--card-2); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.place.p1 { background: rgba(245, 196, 81, 0.18); color: var(--gold); }
.place.p2 { background: rgba(200, 205, 215, 0.16); color: #cfd3dc; }
.place.p3 { background: rgba(214, 140, 90, 0.18); color: #e0956a; }
.li .av { width: 38px; height: 38px; border-radius: 50%; background: var(--card-3); object-fit: cover; flex-shrink: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.dot.read { background: transparent; }
.empty { padding: 34px 0; text-align: center; color: var(--muted); }

.wallet-layout { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.big-bal { display: flex; align-items: center; gap: 10px; font-size: 40px; font-weight: 900; margin: 6px 0 4px; }
.big-bal .cur { width: 30px; height: 30px; }

/* ───── Пропуск ───── */
.pass-head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pass-head .grow { flex: 1; min-width: 240px; }
.pass-lvl { font-size: 44px; font-weight: 900; line-height: 1; }
.pass-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pl { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pl .n { font-size: 13px; color: var(--muted); font-weight: 700; }
.pl .rw { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 800; }
.pl .rw .cur { width: 18px; height: 18px; }
.pl.locked { opacity: 0.5; }
.pl.ready { border-color: var(--accent); }
.pl.claimed .rw { color: var(--muted); }
.pl.big { background: linear-gradient(160deg, rgba(232, 67, 90, 0.16), var(--card) 60%); }

/* ───── Профиль ───── */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 18px 20px; }
.tile .k { font-size: 13px; color: var(--muted); font-weight: 600; }
.tile .v { font-size: 22px; font-weight: 800; margin-top: 6px; }
.vip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; background: rgba(245, 196, 81, 0.16); color: var(--gold); font-size: 13px; font-weight: 800; margin-left: 10px; vertical-align: middle; }

/* ───── Оверлей / модалки ───── */
.overlay { position: fixed; inset: 0; background: rgba(6, 6, 8, 0.72); display: grid; place-items: center; z-index: 50; padding: 20px; animation: fade 0.15s ease; }
.modal { width: 100%; max-width: 480px; max-height: calc(100vh - 40px); background: #19191c; border: 1px solid var(--border); border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; }
.modal.wide { max-width: 720px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 20px; font-weight: 800; }
.x { width: 34px; height: 34px; border-radius: 10px; color: var(--muted); font-size: 22px; line-height: 1; }
.x:hover { background: var(--card-3); color: var(--text); }
.modal-body { padding: 22px 24px; overflow-y: auto; }
.modal-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 24px; border-top: 1px solid var(--border); }
.order-product { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card-2); font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--card-2); border: 1px solid var(--border); border-radius: 14px; padding: 4px; }
.qty button { width: 38px; height: 38px; border-radius: 10px; font-size: 20px; font-weight: 700; }
.qty button:hover { background: var(--card-3); }
.qty span { min-width: 40px; text-align: center; font-weight: 800; }
input[type='range'] { width: 100%; accent-color: var(--accent); }
.coins-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; }
.order-total { margin-top: 20px; display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--muted); }
.order-total b { font-size: 24px; color: var(--text); }
.success { text-align: center; padding: 12px 0 6px; }
.success .ok { width: 64px; height: 64px; border-radius: 50%; background: rgba(111, 220, 140, 0.16); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.success .ok svg { width: 30px; height: 30px; }
.success h3 { font-size: 22px; margin-bottom: 8px; }
.success p { color: var(--muted); line-height: 1.5; }

.roulette { position: relative; overflow: hidden; border-radius: 16px; background: #151517; border: 1px solid var(--border); padding: 18px 0; }
.roulette::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.strip { display: flex; gap: 10px; padding-left: 10px; will-change: transform; }
.ritem { width: 110px; height: 110px; flex-shrink: 0; border-radius: 14px; background: var(--card-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 800; font-size: 18px; border-bottom: 4px solid #5a5a63; }
.ritem .cur { width: 22px; height: 22px; }
.ritem.t1 { border-color: #4b8cff; }
.ritem.t2 { border-color: #a35cff; }
.ritem.t3 { border-color: var(--accent); }
.ritem.t4 { border-color: var(--gold); background: linear-gradient(180deg, rgba(245, 196, 81, 0.14), var(--card-2)); }
.case-result { text-align: center; margin-top: 18px; min-height: 64px; }
.case-result b { font-size: 30px; display: block; }

.toasts { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; z-index: 60; }
.toast { background: #222226; border: 1px solid var(--border); border-left: 4px solid var(--muted); border-radius: 14px; padding: 13px 18px; min-width: 240px; max-width: 360px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); animation: fade 0.2s ease; }
.toast.ok { border-left-color: var(--green); }
.toast.err { border-left-color: var(--red); }

/* ───── Адаптив ───── */
@media (max-width: 1100px) {
  .stats, .tiles { grid-template-columns: repeat(2, 1fr); }
  .bottom, .shop-layout, .wallet-layout, .game-layout { grid-template-columns: 1fr; }
  .casino-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .nav { order: 2; flex-direction: row; overflow-x: auto; padding: 8px; border-right: 0; border-top: 1px solid var(--border); }
  .nav-item { min-width: 76px; padding: 10px 4px 8px; font-size: 11px; }
  .main { padding: 18px 14px 40px; }
  .hero { flex-wrap: wrap; padding: 20px; }
  .balance-tile { width: 100%; text-align: left; }
  .balance-val { justify-content: flex-start; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .stats, .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { min-height: 130px; padding: 16px; }
  .card { padding: 18px; }
  .die { width: 64px; height: 64px; padding: 10px; }
  .die i { width: 10px; height: 10px; }
}
