@font-face { font-family: "Manrope"; font-weight: 500 800; font-display: swap; src: url(fonts/manrope-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 500 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 600 800; font-display: swap; src: url(fonts/unbounded-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 600 800; font-display: swap; src: url(fonts/unbounded-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #07070c;
  --raise: #11121b;
  --s1: rgba(255, 255, 255, .035);
  --s2: rgba(255, 255, 255, .06);
  --s3: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #f3f3f7;
  --muted: #a0a3b8;
  --dim: #6f7390;
  --gold: #f6c453;
  --gold2: #e89a18;
  --gold-ink: #1f1500;
  --green: #2bd98f;
  --red: #ff5a74;
  --violet: #8b7cff;
  --pink: #ff4fa3;
  --cyan: #3fd0ff;
  --blue: #4c8dff;
  --orange: #ff9a3d;
  --r-lg: 22px;
  --r: 18px;
  --r-sm: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ui: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", -apple-system, "SF Pro Display", Roboto, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 600 15px/1.42 var(--ui);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}
input { user-select: text; -webkit-user-select: text; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i.sm { width: 16px; height: 16px; }
.i.lg { width: 28px; height: 28px; }

/* ambient light */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 70% at 50% -10%, #171428 0%, var(--bg) 60%); }
.ambient i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(70px); opacity: .16; }
.ambient i:nth-child(1) { background: #8b7cff; left: -20vmax; top: -25vmax; animation: drift 22s ease-in-out infinite alternate; }
.ambient i:nth-child(2) { background: #f6c453; right: -28vmax; top: 10vmax; opacity: .09; animation: drift 28s ease-in-out infinite alternate-reverse; }
.ambient i:nth-child(3) { background: #2bd98f; left: 10vmax; bottom: -38vmax; opacity: .07; animation: drift 34s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.1); } }

/* header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px;
  background: rgba(8, 8, 14, .7);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.me { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left; min-height: 44px; }
.ring { --p: 0; width: 44px; height: 44px; border-radius: 50%; flex: none; padding: 3px;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0); }
.avatar {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #6d5dfc, #ff4fa3) center / cover no-repeat;
  font: 800 16px var(--display); border: 2px solid var(--bg);
}
.who { display: flex; flex-direction: column; min-width: 0; }
.who b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wallet { display: flex; gap: 6px; flex: none; }
.money {
  display: flex; align-items: center; gap: 6px; height: 34px;
  padding: 0 11px 0 4px; border-radius: 999px;
  background: var(--s2); border: 1px solid var(--line);
  font: 700 13.5px var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.2px;
}
.money i {
  font: 800 12px var(--ui); font-style: normal; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-ink);
  background: linear-gradient(140deg, #ffe08c, var(--gold) 45%, var(--gold2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
.money.eur i { background: linear-gradient(140deg, #b6e3ff, #4c8dff); color: #04172e; }
.money.bump b { animation: bump .6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.16); color: var(--gold); } }

/* tabs */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 17, .84);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--line);
}
.tabs button {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  min-height: 52px; padding: 8px 0 4px; color: var(--dim); font-size: 11.5px; font-weight: 700;
  transition: color .2s;
}
.tabs button::before {
  content: ""; position: absolute; top: -6px; width: 22px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--gold); box-shadow: 0 0 14px var(--gold); opacity: 0; transform: scaleX(.3); transition: all .3s var(--ease);
}
.tabs button.on { color: var(--text); }
.tabs button.on .i { color: var(--gold); }
.tabs button.on::before { opacity: 1; transform: none; }
.tabs button:active { transform: scale(.94); }

main { padding: 16px 16px calc(100px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
.loading { display: grid; place-items: center; height: 50vh; }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .1); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fatal { text-align: center; padding: 64px 20px; color: var(--muted); }
.fatal b { display: block; font-size: 44px; margin-bottom: 10px; }

/* typography and blocks */
.h1 { font: 800 24px/1.15 var(--display); letter-spacing: -.4px; margin: 4px 0 4px; }
.lead { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; }
.label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px;
  text-transform: uppercase; letter-spacing: .09em; font-weight: 800; margin: 24px 2px 10px; }
.label button { color: var(--gold); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 700; min-height: 32px; }
.card {
  position: relative; border-radius: var(--r); padding: 16px; margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums; }
.disp { font-family: var(--display); letter-spacing: -.3px; }
.up { color: var(--green); }
.down { color: var(--red); }
.gold { color: var(--gold); }
.screen-head { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.back {
  width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: var(--s2); border: 1px solid var(--line); transition: transform .12s, background .2s;
}
.back:active { transform: scale(.94); background: var(--s3); }
.screen-head .title { font: 800 19px/1.2 var(--display); letter-spacing: -.3px; }
.screen-head .sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.pill { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill.up { background: rgba(43, 217, 143, .14); }
.pill.down { background: rgba(255, 90, 116, .14); }
.pill.flat { background: var(--s2); color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: 38px; padding: 0 12px; border-radius: 12px; font-size: 13px; font-weight: 800;
  background: var(--s2); border: 1px solid var(--line); color: var(--muted); transition: all .15s; }
.chip.on { background: rgba(246, 196, 83, .13); border-color: rgba(246, 196, 83, .5); color: var(--gold); }
.chip:active { transform: scale(.95); }
.btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 16px; white-space: nowrap;
  font-weight: 800; font-size: 15.5px; letter-spacing: .1px;
  transition: transform .12s var(--ease), filter .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .42; pointer-events: none; }
.btn.gold { color: var(--gold-ink); background: linear-gradient(180deg, #ffe08c, var(--gold) 45%, var(--gold2));
  box-shadow: 0 10px 30px -6px rgba(246, 170, 40, .55), inset 0 1px 0 rgba(255, 255, 255, .65); }
.btn.green { color: #021a10; background: linear-gradient(180deg, #7cf3c4, var(--green));
  box-shadow: 0 10px 30px -6px rgba(43, 217, 143, .5), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.red { color: #fff; background: linear-gradient(180deg, #ff8799, var(--red)); box-shadow: 0 10px 30px -8px rgba(255, 90, 116, .5); }
.btn.ghost { background: var(--s2); border: 1px solid var(--line); }
.btn.small { min-height: 40px; border-radius: 12px; font-size: 13.5px; padding: 0 12px; width: auto; }
.btn.pulse { animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 10px 38px -2px rgba(43, 217, 143, .85), inset 0 1px 0 rgba(255, 255, 255, .5); } }
.btns { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 8px; }
.btns .btn { padding: 0 6px; font-size: 14.5px; }
.seg { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); padding: 4px; border-radius: 15px; background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line); margin-bottom: 14px; }
.seg button { min-height: 40px; border-radius: 11px; font-weight: 800; font-size: 14px; color: var(--muted); transition: all .25s var(--ease); }
.seg button.on { background: var(--s3); color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.seg button.on.buy { background: rgba(43, 217, 143, .16); color: var(--green); }
.seg button.on.sell { background: rgba(255, 90, 116, .16); color: var(--red); }
.field { display: flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line);
  border-radius: 15px; padding: 4px 4px 4px 14px; transition: border-color .2s; }
.field:focus-within { border-color: rgba(246, 196, 83, .55); }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text);
  font: 700 19px var(--display); font-variant-numeric: tabular-nums; padding: 9px 0; letter-spacing: -.3px; }
.field input::placeholder { color: var(--dim); }
.field .unit { color: var(--muted); font-weight: 800; }
.field button { min-width: 44px; height: 42px; border-radius: 11px; background: var(--s3); font-weight: 800; padding: 0 8px; }
.bet { margin: 14px 0 12px; }
.bet .chips { margin-top: 8px; display: grid; grid-template-columns: repeat(5, 1fr); }
.bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold2), var(--gold)); transition: width .6s var(--ease); }
.bar.green i { background: linear-gradient(90deg, #17b673, var(--green)); }
.bar.violet i { background: linear-gradient(90deg, #6d5dfc, var(--violet)); }
.bar.red i { background: linear-gradient(90deg, #d93a55, var(--red)); }
.empty { text-align: center; color: var(--muted); padding: 28px 10px; }
.empty b { display: block; font-size: 38px; margin-bottom: 6px; }
.warn { font-size: 12.5px; color: var(--muted); line-height: 1.5; font-weight: 600; }
.stagger > * { animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* toast and sheet */
#toast {
  position: fixed; left: 50%; top: 72px; z-index: 70; transform: translate(-50%, -16px);
  max-width: min(92vw, 420px); padding: 12px 16px; border-radius: 16px;
  background: rgba(24, 25, 38, .97); border: 1px solid var(--line2); box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  font-weight: 700; font-size: 14px; text-align: center; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .3s var(--ease);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { border-color: rgba(255, 90, 116, .5); }
#toast.good { border-color: rgba(43, 217, 143, .5); }
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(2, 2, 6, .6); opacity: 0; transition: opacity .25s;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.scrim.open { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; margin: 0 auto; max-width: 640px; max-height: 88vh; overflow-y: auto;
  background: linear-gradient(180deg, #161725, #0e0f18 40%); border-radius: 26px 26px 0 0; border-top: 1px solid var(--line2);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .55);
  padding: 8px 16px calc(18px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .38s var(--ease);
}
.sheet.open { transform: none; }
.grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .18); margin: 2px auto 12px; }
.result-head { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 0 14px; text-align: center; }
.badge-ico { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; color: var(--c, var(--gold));
  background: linear-gradient(145deg, color-mix(in srgb, var(--c, var(--gold)) 38%, transparent), color-mix(in srgb, var(--c, var(--gold)) 10%, transparent));
  border: 1px solid color-mix(in srgb, var(--c, var(--gold)) 45%, transparent);
  box-shadow: 0 12px 40px -10px var(--c, var(--gold)); }
.badge-ico .i { width: 30px; height: 30px; }
.result-head .title { font: 800 17px var(--display); }
.amount { font: 800 38px/1 var(--display); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.amount.plus { background: linear-gradient(180deg, #c4ffe6, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 22px rgba(43, 217, 143, .35)); }
.amount.minus { color: var(--red); }
.bubble { border-radius: 18px; padding: 14px; margin-bottom: 10px; background: var(--s1); border: 1px solid var(--line);
  white-space: pre-line; font-weight: 600; line-height: 1.5; font-size: 14.5px; user-select: text; -webkit-user-select: text; }
.bubble b { font-weight: 800; color: #fff; }
.bubble code { font-family: ui-monospace, Menlo, monospace; background: var(--s2); padding: 1px 5px; border-radius: 6px; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -2px 0 10px; }
.answers button { min-height: 48px; padding: 8px 10px; border-radius: 14px; background: var(--s3); border: 1px solid var(--line2);
  font-weight: 800; font-size: 14px; line-height: 1.2; transition: transform .12s; }
.answers button:active { transform: scale(.97); }
.answers button.wrong { border-color: rgba(255, 90, 116, .6); color: var(--red); }

/* earn hub */
.level-card { display: flex; align-items: center; gap: 14px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(139, 124, 255, .28), transparent 55%),
              radial-gradient(90% 120% at 100% 100%, rgba(246, 196, 83, .16), transparent 60%),
              linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
.lvl-ring { position: relative; width: 76px; height: 76px; flex: none; }
.lvl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lvl-ring circle { fill: none; stroke-width: 7; }
.lvl-ring .track { stroke: rgba(255, 255, 255, .09); }
.lvl-ring .fill { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); filter: drop-shadow(0 0 6px rgba(246, 196, 83, .6)); }
.lvl-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 22px var(--display); padding-bottom: 8px; }
.lvl-ring small { position: absolute; left: 0; right: 0; bottom: 17px; text-align: center; font-size: 9px; color: var(--muted); font-weight: 800; letter-spacing: .1em; }
.level-card .t { font: 800 17px var(--display); }
.level-card .s { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.level-card .chips { margin-top: 9px; }
.level-card .chip { min-height: 28px; font-size: 12px; padding: 0 9px; border-radius: 9px; display: inline-flex; align-items: center; gap: 4px; }
.banner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); margin-bottom: 12px; text-align: left; width: 100%;
  background: linear-gradient(110deg, rgba(246, 196, 83, .22), rgba(255, 79, 163, .16)); border: 1px solid rgba(246, 196, 83, .4); }
.banner > .i { color: var(--gold); }
.banner b { display: block; font-weight: 800; }
.banner small { color: #e7dcc4; font-size: 12.5px; }
.banner.starter { background: linear-gradient(110deg, rgba(43, 217, 143, .24), rgba(63, 208, 255, .14)); border-color: rgba(43, 217, 143, .45); }
.banner.starter > .i { color: var(--green); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  --c: var(--gold);
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left;
  padding: 14px; border-radius: var(--r); min-height: 136px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .14s var(--ease), border-color .3s;
}
.tile:active { transform: scale(.97); }
.ico { --c: inherit; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--c, var(--gold));
  background: linear-gradient(145deg, color-mix(in srgb, var(--c, var(--gold)) 30%, transparent), color-mix(in srgb, var(--c, var(--gold)) 8%, transparent));
  border: 1px solid color-mix(in srgb, var(--c, var(--gold)) 35%, transparent); }
.tile b { font-size: 15px; font-weight: 800; }
.tile small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 1px; }
.state { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 12.5px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.state .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(43, 217, 143, .6); } 70% { box-shadow: 0 0 0 7px rgba(43, 217, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 217, 143, 0); } }
.tile.ready { border-color: color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 34px -16px var(--c); }
.tile.ready .state { color: var(--green); }
.tile.off { opacity: .55; }
.c-gold { --c: #f6c453; } .c-green { --c: #2bd98f; } .c-violet { --c: #8b7cff; } .c-cyan { --c: #3fd0ff; }
.c-pink { --c: #ff4fa3; } .c-orange { --c: #ff9a3d; } .c-blue { --c: #4c8dff; } .c-red { --c: #ff5a74; }
.list-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px; border-radius: var(--r); margin-bottom: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022)); border: 1px solid var(--line);
  transition: transform .14s var(--ease); }
.list-row:active { transform: scale(.98); }
.list-row b { display: block; font-weight: 800; }
.list-row small { color: var(--muted); font-size: 12.5px; }
.list-row .go { color: var(--dim); }
.list-row .side-val { font: 800 14px var(--display); white-space: nowrap; }
.task { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.task:last-of-type { border-bottom: 0; }
.task .tick { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--s2); color: var(--dim); }
.task.done .tick { background: rgba(43, 217, 143, .16); color: var(--green); }
.task.ready .tick { background: rgba(246, 196, 83, .18); color: var(--gold); }
.task .what { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; }
.task .what .bar { margin-top: 7px; height: 6px; }
.task .rew { font: 800 13px var(--display); white-space: nowrap; }
.task.done .rew { color: var(--dim); text-decoration: line-through; }
.promo { display: flex; gap: 8px; }
.promo .field { flex: 1; }
.promo .field input { font: 800 16px var(--ui); text-transform: uppercase; letter-spacing: .06em; }

/* sub screens */
.hero-card { --c: var(--gold); text-align: center; padding: 22px 16px; border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; position: relative;
  background: radial-gradient(100% 120% at 50% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 65%),
              linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.hero-card .big { font: 800 34px/1.1 var(--display); letter-spacing: -1px; font-variant-numeric: tabular-nums; margin: 6px 0 2px; }
.hero-card .cap { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hero-card .sub { color: var(--muted); font-size: 13px; margin-top: 6px; }
.biz { padding: 14px; border-radius: var(--r); margin-bottom: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022)); border: 1px solid var(--line); }
.biz.mine { border-color: rgba(246, 196, 83, .35); box-shadow: 0 12px 30px -20px rgba(246, 196, 83, .8); }
.biz .head { display: flex; align-items: center; gap: 12px; }
.biz .art { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 27px; background: var(--s2); flex: none; }
.biz .stars { color: var(--gold); letter-spacing: 1px; font-size: 12px; }
.biz .meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.biz .meta div { background: rgba(0, 0, 0, .25); border-radius: 12px; padding: 8px 10px; }
.biz .meta small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.biz .meta b { font-size: 14px; font-variant-numeric: tabular-nums; }
.pet-hero { text-align: center; padding: 22px 16px 18px; border-radius: var(--r-lg); margin-bottom: 12px;
  background: radial-gradient(80% 90% at 50% 20%, rgba(139, 124, 255, .3), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(139, 124, 255, .3); }
.pet-hero .face { font-size: 84px; line-height: 1; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .5)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.pet-hero .name { font: 800 22px var(--display); margin-top: 8px; }
.meters { display: grid; gap: 12px; margin-top: 16px; text-align: left; }
.meters small { color: var(--muted); font-weight: 700; font-size: 12px; }
.pet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pet-grid button { padding: 14px 6px; border-radius: var(--r); text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022)); border: 1px solid var(--line); transition: transform .14s var(--ease); }
.pet-grid button:active { transform: scale(.96); }
.pet-grid button span { display: block; font-size: 38px; }
.pet-grid button b { display: block; font-size: 13.5px; margin-top: 4px; }
.pet-grid button small { color: var(--gold); font-weight: 800; font-size: 12px; }
.shop-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); margin-bottom: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022)); border: 1px solid var(--line); }
.shop-item .emo { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: var(--s2); flex: none; }
.shop-item b { display: block; font-size: 14px; font-weight: 800; line-height: 1.3; }
.shop-item small { color: var(--gold); font-weight: 800; font-size: 13px; }
.guess-range { display: flex; align-items: center; justify-content: center; gap: 14px; font: 800 30px var(--display); margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.guess-range span { color: var(--dim); font-size: 18px; }
.trail { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; min-height: 30px; }
.trail span { padding: 4px 10px; border-radius: 999px; background: var(--s2); font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.trail .hi { color: var(--cyan); } .trail .lo { color: var(--orange); } .trail .ok { color: var(--green); background: rgba(43, 217, 143, .15); }
.fortune { position: relative; width: min(82vw, 310px); aspect-ratio: 1; margin: 6px auto 14px; }
.fortune canvas { width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)); }
.pointer { position: absolute; left: 50%; top: -8px; transform: translateX(-50%); width: 0; height: 0; z-index: 2;
  border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 24px solid var(--gold); filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .6)); }

/* casino */
.hero {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 22px 18px 20px; margin-bottom: 14px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(246, 196, 83, .26), transparent 55%),
              radial-gradient(90% 90% at 100% 100%, rgba(255, 79, 163, .3), transparent 60%), linear-gradient(135deg, #1b1033, #0c0d1d);
  border: 1px solid rgba(246, 196, 83, .26); box-shadow: 0 18px 50px -20px rgba(139, 124, 255, .45);
}
.hero h1 { margin: 0; font: 800 28px/1.05 var(--display); letter-spacing: -.6px;
  background: linear-gradient(90deg, #fff3c9, var(--gold), #ffb347); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 8px 0 0; color: #cfcbe3; font-size: 13.5px; max-width: 64%; }
.hero .art { position: absolute; right: 12px; top: 10px; font-size: 64px; transform: rotate(12deg); filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .5)); }
.hero .lights { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--pink), var(--violet), var(--cyan), var(--gold)); background-size: 200% 100%; animation: slide 3s linear infinite; }
@keyframes slide { to { background-position: 200% 0; } }
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.game { position: relative; overflow: hidden; text-align: left; border-radius: 20px; padding: 14px; min-height: 140px;
  border: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; justify-content: flex-end; transition: transform .14s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 14px 30px -18px rgba(0, 0, 0, .8); }
.game:active { transform: scale(.97); }
.game::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .35)); pointer-events: none; }
.game .art { position: absolute; right: -6px; top: -2px; font-size: 64px; transform: rotate(-10deg); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); }
.game .wheel-art { width: 74px; height: 74px; right: 10px; top: 10px; border-radius: 50%;
  background: radial-gradient(circle, #fff3c4 0 7%, #c8901e 8% 14%, #4a2c10 15% 46%, transparent 47%), repeating-conic-gradient(from -4.86deg, #c4142f 0 9.73deg, #17171d 9.73deg 19.46deg);
  box-shadow: 0 0 0 4px #c8901e, 0 0 0 6px #5b3a1a, 0 12px 22px rgba(0, 0, 0, .5); animation: spin 12s linear infinite; }
.game b { font: 800 16px var(--display); position: relative; z-index: 1; }
.game small { color: rgba(255, 255, 255, .78); font-size: 12px; position: relative; z-index: 1; }
.game .tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .38); font-size: 11px; font-weight: 800; color: var(--gold); }
.g-slots { background: linear-gradient(150deg, #7c3aed, #db2777); } .g-crash { background: linear-gradient(150deg, #0ea5e9, #312e81); }
.g-mines { background: linear-gradient(150deg, #10b981, #064e3b); } .g-blackjack { background: linear-gradient(150deg, #15803d, #052e16); }
.g-roulette { background: linear-gradient(150deg, #dc2626, #1f0a0a); } .g-dice { background: linear-gradient(150deg, #f59e0b, #7c2d12); }
.fair { margin-top: 14px; text-align: center; color: var(--dim); font-size: 12px; }
.machine { position: relative; border-radius: 26px; padding: 34px 14px 16px; background: linear-gradient(180deg, #2a1350, #12081f);
  box-shadow: 0 0 0 2px rgba(246, 196, 83, .55), 0 0 44px rgba(255, 170, 40, .18), inset 0 0 40px rgba(0, 0, 0, .5); }
.bulbs { position: absolute; left: 18px; right: 18px; top: 12px; display: flex; justify-content: space-between; }
.bulbs i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: blink 1.2s infinite; }
.bulbs i:nth-child(2n) { animation-delay: .6s; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.machine.spinning .bulbs i { animation-duration: .25s; }
@keyframes blink { 50% { opacity: .25; } }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.reel { --sym: 96px; height: var(--sym); overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, #e9e6f5, #fff 30%, #fff 70%, #d9d4ec);
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, .35), inset 0 -6px 12px rgba(0, 0, 0, .25); }
.strip { will-change: transform; }
.sym { height: var(--sym); display: grid; place-items: center; font-size: 54px; line-height: 1; }
.machine.win .reel { box-shadow: inset 0 0 0 3px var(--gold), 0 0 22px rgba(246, 196, 83, .65); }
.slot-result { margin-top: 14px; min-height: 48px; text-align: center; font-weight: 800; font-size: 16px; display: grid; place-items: center; }
.slot-result .big { font: 800 26px var(--display); }
.paytable { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.paytable div { display: flex; justify-content: space-between; align-items: center; padding: 9px 11px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); font-size: 14px; }
.paytable b { color: var(--gold); font-family: var(--display); }
.crash-box { position: relative; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 100% at 50% 100%, #12234a, #070a17); border: 1px solid var(--line); }
.crash-box canvas { display: block; width: 100%; height: 270px; }
.crash-value { position: absolute; left: 0; right: 0; top: 22px; text-align: center; font: 800 42px var(--display); letter-spacing: -1px; font-variant-numeric: tabular-nums; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); pointer-events: none; }
.crash-value small { display: block; font: 700 13.5px var(--ui); letter-spacing: 0; color: var(--muted); margin-top: 4px; }
.crash-value.boom { color: var(--red); animation: shake .4s; }
.crash-value.won { color: var(--green); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.history { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.history::-webkit-scrollbar { display: none; }
.history span { flex: none; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--s2); font-variant-numeric: tabular-nums; }
.history .hi { color: var(--green); } .history .lo { color: var(--red); }
.mines-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mines-info div { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 9px 10px; }
.mines-info small { display: block; color: var(--muted); font-size: 11.5px; }
.mines-info b { font: 800 15px var(--display); font-variant-numeric: tabular-nums; }
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mcell { aspect-ratio: 1; border-radius: 14px; font-size: 28px; display: grid; place-items: center;
  background: linear-gradient(180deg, #2b2f4d, #1c1f36); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 4px 0 #11132a; transition: transform .12s, background .2s; }
.mcell:active { transform: translateY(2px); }
.mcell.gem { background: linear-gradient(180deg, rgba(43, 217, 143, .35), rgba(43, 217, 143, .12)); box-shadow: inset 0 0 0 2px rgba(43, 217, 143, .6), 0 0 18px rgba(43, 217, 143, .3); animation: pop .3s; }
.mcell.bomb { background: linear-gradient(180deg, rgba(255, 90, 116, .5), rgba(255, 90, 116, .2)); box-shadow: inset 0 0 0 2px var(--red), 0 0 24px rgba(255, 90, 116, .5); animation: pop .3s; }
.mcell.ghost { opacity: .45; box-shadow: none; }
.mcell:disabled { cursor: default; }
@keyframes pop { 0% { transform: scale(.6); } 70% { transform: scale(1.1); } }
.felt { border-radius: 26px; padding: 16px 12px 18px; min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  background: radial-gradient(120% 80% at 50% 40%, #1e7a46, #0b3d22 70%, #062615); border: 3px solid #5b3a1a; box-shadow: inset 0 0 50px rgba(0, 0, 0, .55), 0 10px 30px rgba(0, 0, 0, .4); }
.hand-label { display: flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 800; }
.score { padding: 2px 9px; border-radius: 999px; background: rgba(0, 0, 0, .4); color: #fff; font-weight: 800; }
.hand { display: flex; justify-content: center; min-height: 104px; padding: 6px 0; }
.pcard { width: 70px; height: 100px; margin: 0 -14px; border-radius: 10px; position: relative; background: linear-gradient(180deg, #fff, #f1f1f6); color: #161616;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .45); animation: deal .35s ease both; }
.pcard.red { color: #d61a3c; }
.pcard .r { position: absolute; left: 7px; top: 5px; font: 800 17px var(--display); line-height: 1; text-align: center; }
.pcard .r small { display: block; font-size: 14px; }
.pcard .s { position: absolute; inset: 0; display: grid; place-items: center; font-size: 36px; }
.pcard.still { animation: none; }
.pcard.back { background: repeating-linear-gradient(45deg, #5b21b6 0 6px, #7c3aed 6px 12px); border: 3px solid #fff; }
@keyframes deal { from { transform: translateY(-40px) rotate(-8deg); opacity: 0; } }
.verdict { text-align: center; font: 800 18px var(--display); min-height: 26px; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.wheel-wrap { position: relative; width: min(84vw, 300px); aspect-ratio: 1; margin: 4px auto 6px; }
.wheel-wrap canvas { width: 100%; height: 100%; display: block; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .6)); }
.rbets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.rbet { grid-column: span 3; min-height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 800; font-size: 13.5px; background: var(--s2); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.rbet.third { grid-column: span 2; padding: 0 8px; }
.rbet.full { grid-column: span 6; }
.rbet em { font-style: normal; color: var(--muted); font-size: 12px; }
.rbet.on { border-color: var(--gold); background: rgba(246, 196, 83, .12); }
.rbet.red { background: rgba(214, 26, 60, .25); } .rbet.black { background: rgba(0, 0, 0, .45); }
.numbers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-top: 8px; }
.numbers button { min-height: 38px; border-radius: 9px; font-weight: 800; font-size: 13px; border: 2px solid transparent; }
.numbers .n-red { background: #b3132f; } .numbers .n-black { background: #23232b; } .numbers .n-green { background: #0f8a4a; grid-column: span 6; }
.numbers button.on { border-color: var(--gold); box-shadow: 0 0 12px rgba(246, 196, 83, .6); }
.rhist span.r { color: #ff7d91; } .rhist span.g { color: var(--green); }
.dice-box { text-align: center; padding: 22px 14px 18px; border-radius: 22px; background: radial-gradient(100% 100% at 50% 0%, #3a2207, #120b05); border: 1px solid rgba(255, 159, 28, .3); }
.dice-num { font: 800 58px var(--display); font-variant-numeric: tabular-nums; letter-spacing: -2px; }
.dice-num.win { color: var(--green); text-shadow: 0 0 24px rgba(43, 217, 143, .5); }
.dice-num.lose { color: var(--red); }
.dice-bar { position: relative; height: 12px; border-radius: 999px; margin: 14px 4px 6px; background: var(--red); }
.dice-bar .ok { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px 0 0 999px; background: var(--green); }
.dice-bar .mark { position: absolute; top: -7px; width: 4px; height: 26px; margin-left: -2px; border-radius: 3px; background: #fff; box-shadow: 0 0 10px #fff; transition: left .5s var(--ease); }
.dice-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; padding: 0 4px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 38px; background: none; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--green) var(--p, 50%), rgba(255, 255, 255, .12) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--green); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; }
.dice-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.dice-stats div { background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; }
.dice-stats small { display: block; color: var(--muted); font-size: 11px; }
.dice-stats b { font-variant-numeric: tabular-nums; }

/* markets */
.summary { background: radial-gradient(120% 130% at 0% 0%, rgba(139, 124, 255, .25), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
.summary .big { font: 800 26px var(--display); letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.list { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02)); }
.coin-row { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 64px; padding: 12px; text-align: left; border-bottom: 1px solid var(--line); transition: background .15s; }
.coin-row:last-child { border-bottom: 0; }
.coin-row:active { background: rgba(255, 255, 255, .05); }
.logo { position: relative; width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 900; background: #23263f; overflow: hidden; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #23263f; }
.coin-row .info { flex: 1; min-width: 0; }
.coin-row .info b { display: block; font-size: 15.5px; font-weight: 800; }
.coin-row .info small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.coin-row canvas { width: 64px; height: 28px; flex: none; }
.coin-row .px { text-align: right; flex: none; min-width: 92px; }
.coin-row .px b { display: block; font-variant-numeric: tabular-nums; font-size: 14.5px; font-weight: 800; transition: color .4s; }
.flash-up { color: var(--green) !important; }
.flash-down { color: var(--red) !important; }
.badge { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; font-size: 10px; font-weight: 800; vertical-align: 2px; }
.badge.live { background: rgba(43, 217, 143, .15); color: var(--green); }
.badge.cold { background: rgba(125, 211, 252, .15); color: #7dd3fc; }
.badge.mine { background: rgba(246, 196, 83, .15); color: var(--gold); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 5px; animation: ping 1.6s infinite; vertical-align: 1px; }
.coin-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.coin-head .logo { width: 50px; height: 50px; }
.price-big { font: 800 28px var(--display); letter-spacing: -.8px; font-variant-numeric: tabular-nums; transition: color .4s; }
.tf { display: flex; gap: 4px; margin: 12px 0 8px; padding: 4px; border-radius: 13px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.tf button { flex: 1; min-height: 34px; border-radius: 9px; font-weight: 800; font-size: 13px; color: var(--muted); }
.tf button.on { background: var(--s3); color: var(--text); }
.chart { height: 320px; border-radius: 18px; overflow: hidden; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); position: relative; }
.chart .wait { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.stats div { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.stats small { display: block; color: var(--muted); font-size: 11.5px; }
.stats b { font-variant-numeric: tabular-nums; font-size: 14.5px; font-weight: 800; }
.changes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.changes div { text-align: center; background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 7px 2px; }
.changes small { display: block; color: var(--muted); font-size: 11px; }
.changes b { font-size: 13px; font-variant-numeric: tabular-nums; }
.pressure { height: 8px; border-radius: 999px; overflow: hidden; display: flex; margin: 8px 0 4px; background: var(--red); }
.pressure i { background: var(--green); }
.holding { display: flex; justify-content: space-between; align-items: center; }
.holding b { font: 800 17px var(--display); font-variant-numeric: tabular-nums; }
.estimate { margin: 10px 2px 12px; color: var(--muted); font-size: 13px; min-height: 18px; }
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.book .side { font-variant-numeric: tabular-nums; font-size: 13px; }
.book .line { isolation: isolate; position: relative; display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 7px; overflow: hidden; }
.book .line i { position: absolute; top: 0; bottom: 0; right: 0; z-index: -1; opacity: .18; }
.book .ask .line i { background: var(--red); } .book .bid .line i { background: var(--green); }
.book .ask .line b { color: var(--red); } .book .bid .line b { color: var(--green); }
.book h4 { margin: 0 0 6px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.trades .line { display: flex; justify-content: space-between; padding: 7px 2px; border-bottom: 1px solid var(--line); font-size: 13px; font-variant-numeric: tabular-nums; }
.trades .line:last-child { border-bottom: 0; }

/* profile */
.profile-head { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 0 16px; text-align: center; }
.profile-head .ring { width: 96px; height: 96px; padding: 4px; }
.profile-head .avatar { font-size: 34px; border-width: 3px; }
.profile-head b { font: 800 21px var(--display); }
.vip { padding: 4px 11px; border-radius: 999px; font-weight: 800; font-size: 12px; color: var(--gold-ink); background: linear-gradient(135deg, #ffe08c, var(--gold2)); }
.balances { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.balances .card { margin: 0; }
.balances b { display: block; font: 800 20px var(--display); letter-spacing: -.5px; font-variant-numeric: tabular-nums; margin-top: 4px; }
.hist .line { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.hist .line:last-child { border-bottom: 0; }
.hist .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--s2); font-size: 17px; flex: none; }
.hist .what { flex: 1; min-width: 0; }
.hist .what b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist .what small { color: var(--muted); font-size: 12px; }
.hist .sum { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* celebrations */
.burst { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.burst i { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
.win-pop { animation: winpop .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes winpop { 0% { transform: scale(.4); opacity: 0; } }

/* calendar, ore, cases, achievements */
.cal { background: radial-gradient(120% 120% at 100% 0%, rgba(246, 196, 83, .16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022)); }
.cal .row b { font-size: 15px; white-space: nowrap; }
.cal .row span { white-space: nowrap; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 12px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 8px; border-radius: 12px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.day small { font-size: 10px; font-weight: 800; color: var(--dim); }
.day b { font: 800 11px var(--display); color: var(--text); }
.day.done { background: rgba(43, 217, 143, .12); border-color: rgba(43, 217, 143, .35); color: var(--green); }
.day.now { background: rgba(246, 196, 83, .16); border-color: var(--gold); box-shadow: 0 0 18px -4px var(--gold); animation: glow 1.6s ease-in-out infinite; }
.day.big { background: linear-gradient(180deg, rgba(139, 124, 255, .25), rgba(0, 0, 0, .28)); }
@keyframes glow { 50% { box-shadow: 0 0 26px -2px var(--gold); } }
.ore { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ore:last-of-type { border-bottom: 0; }
.ore .emo { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: var(--s2); flex: none; }
.ore b { display: block; font-weight: 800; font-variant-numeric: tabular-nums; }
.ore small { display: block; color: var(--muted); font-size: 12px; }
.case-card { --c: var(--blue); display: flex; align-items: center; gap: 14px; padding: 16px 14px; border-radius: var(--r-lg); margin-bottom: 12px;
  background: radial-gradient(110% 130% at 0% 50%, color-mix(in srgb, var(--c) 28%, transparent), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); box-shadow: 0 14px 34px -22px var(--c); }
.case-art { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 38px; flex: none;
  background: color-mix(in srgb, var(--c) 18%, rgba(0, 0, 0, .3)); filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .4)); animation: bob 3.2s ease-in-out infinite; }
.case-actions { display: flex; flex-direction: column; gap: 6px; flex: none; }
.reel-box { position: relative; overflow: hidden; border-radius: 18px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); padding: 12px 0; margin-bottom: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.reel-marker { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--gold); box-shadow: 0 0 14px var(--gold); z-index: 2; }
.reel-track { display: flex; gap: 8px; padding-left: 50%; will-change: transform; }
.reel-item { --rc: #6b7aa6; flex: none; width: 96px; height: 104px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 6px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 22%, #151726), #10111b); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); border-bottom: 3px solid var(--rc); }
.reel-item span { font-size: 30px; }
.reel-item small { font-size: 11px; font-weight: 800; line-height: 1.2; color: #dfe1ee; }
.reel-item.won { transform: scale(1.06); box-shadow: 0 0 28px -2px var(--rc); transition: transform .3s var(--ease); }
.r-common { --rc: #6b7aa6; } .r-rare { --rc: #8b7cff; } .r-epic { --rc: #ff4fa3; } .r-legend { --rc: #f6c453; }
.emo.r-common, .emo.r-rare, .emo.r-epic, .emo.r-legend { background: color-mix(in srgb, var(--rc) 22%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent); }
.case-win { --rc: #6b7aa6; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; margin-bottom: 14px; border-radius: 18px; text-align: center;
  background: radial-gradient(100% 120% at 50% 0%, color-mix(in srgb, var(--rc) 30%, transparent), transparent 70%); border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent); }
.case-win span { font-size: 46px; }
.case-win b { font: 800 22px var(--display); }
.case-win small { color: var(--rc); font-weight: 800; }
.ach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ach { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: var(--r); min-height: 150px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid var(--line); }
.ach .ach-emo { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--s2); filter: grayscale(1) opacity(.55); }
.ach b { font-size: 13.5px; font-weight: 800; line-height: 1.25; }
.ach small { color: var(--muted); font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.ach .bar { height: 6px; }
.ach .ach-rew { margin-top: auto; font: 800 12px var(--display); color: var(--gold); }
.ach.done { border-color: rgba(246, 196, 83, .35); background: radial-gradient(100% 100% at 0% 0%, rgba(246, 196, 83, .14), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.ach.done .ach-emo { filter: none; background: rgba(246, 196, 83, .16); box-shadow: 0 8px 22px -10px var(--gold); }
.ach.done .ach-rew { color: var(--dim); }
.ach.fresh { animation: winpop .7s cubic-bezier(.2, 1.6, .4, 1); box-shadow: 0 0 30px -6px var(--gold); }
.switch { position: relative; width: 50px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .14); flex: none; transition: background .25s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.switch.on { background: var(--green); }
.switch.on::after { transform: translateX(20px); }

/* new games */
.game.wide { grid-column: span 2; min-height: 120px; }
.g-party { background: radial-gradient(120% 140% at 100% 0%, rgba(255, 79, 163, .55), transparent 60%), linear-gradient(135deg, #1d4ed8, #0b1240); }
.g-plinko { background: linear-gradient(150deg, #e11d48, #4c0519); } .g-tower { background: linear-gradient(150deg, #6366f1, #1e1b4b); }
.g-hilo { background: linear-gradient(150deg, #0d9488, #042f2e); }
.live-tag { position: absolute; right: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px;
  background: rgba(255, 90, 116, .9); font-size: 11px; font-weight: 800; color: #fff; }
.live-tag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
.plinko-box { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, #2a1240, #0a0814 70%); }
.plinko-box canvas { display: block; width: 100%; height: 390px; }
.tower { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #1a1740, #0c0b1d); }
.floor { display: flex; align-items: center; gap: 10px; opacity: .55; transition: opacity .3s; }
.floor.now, .floor.done { opacity: 1; }
.floor .lvl { width: 58px; flex: none; text-align: right; font: 800 12px var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.floor.now .lvl { color: var(--gold); }
.doors { flex: 1; display: grid; grid-template-columns: repeat(var(--d), 1fr); gap: 6px; }
.door { height: 38px; border-radius: 11px; font-size: 18px; display: grid; place-items: center; background: linear-gradient(180deg, #2f2b63, #201d48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 3px 0 #120f2c; transition: transform .12s; }
.floor.now .door { background: linear-gradient(180deg, #4f46e5, #3730a3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 3px 0 #1e1b4b, 0 0 16px -4px #818cf8; }
.door:active { transform: translateY(2px); }
.door.gem { background: linear-gradient(180deg, rgba(43, 217, 143, .45), rgba(43, 217, 143, .15)); box-shadow: inset 0 0 0 2px rgba(43, 217, 143, .6); }
.door.boom { background: linear-gradient(180deg, rgba(255, 90, 116, .6), rgba(255, 90, 116, .2)); box-shadow: inset 0 0 0 2px var(--red); animation: shake .4s; }
.door.ghost { opacity: .45; box-shadow: none; }
.hilo-table { border-radius: 24px; padding: 20px 14px 14px; border: 3px solid #0f3d38; text-align: center;
  background: radial-gradient(120% 90% at 50% 30%, #14706a, #0a3b37 70%, #062523); box-shadow: inset 0 0 40px rgba(0, 0, 0, .5); }
.hilo-card { display: flex; justify-content: center; perspective: 600px; }
.hcard { width: 120px; height: 168px; border-radius: 16px; position: relative; background: linear-gradient(180deg, #fff, #eef0f6); color: #151515;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .45); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hcard.red { color: #d61a3c; }
.hcard .r { font: 800 54px/1 var(--display); }
.hcard .s { font-size: 44px; line-height: 1; margin-top: 6px; }
.hcard.back { background: repeating-linear-gradient(45deg, #0f766e 0 8px, #14b8a6 8px 16px); border: 4px solid #fff; }
.hcard.flip { animation: flip .45s var(--ease); }
@keyframes flip { from { transform: rotateY(90deg) scale(.9); } }
.hilo-trail { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 12px; min-height: 26px; }
.hilo-trail span { padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .3); font-weight: 800; font-size: 12.5px; }
[data-moves] .btn { min-height: 64px; line-height: 1.15; font-size: 15px; }
[data-moves] .btn small { font-weight: 700; font-size: 12px; opacity: .85; }
.crash-box.party { background: radial-gradient(120% 100% at 50% 100%, #1b2a6b, #070a17); }
.party-phase { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .4); font-size: 12px; font-weight: 800; color: var(--gold); }
.party-list .pl { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.party-list .pl:last-child { border-bottom: 0; }
.party-list .pl b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.party-list .pl.me b { color: var(--gold); }

/* leaderboards */
.scroll-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 0 16px; }
.scroll-chips::-webkit-scrollbar { display: none; }
.scroll-chips .chip { flex: none; }
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 8px; align-items: end; margin-bottom: 12px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; padding: 14px 6px 12px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line); min-width: 0; }
.pod.p1 { padding-top: 22px; border-color: rgba(246, 196, 83, .5); background: radial-gradient(100% 90% at 50% 0%, rgba(246, 196, 83, .3), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: 0 16px 40px -18px var(--gold); }
.pod .medal { font-size: 32px; }
.pod.p1 .medal { font-size: 40px; }
.pod b { font-size: 13.5px; font-weight: 800; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod small { color: var(--muted); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pod .prize { margin-top: 3px; font-size: 10.5px; font-weight: 800; color: var(--gold); }
.pod.me b { color: var(--gold); }
.empty-pod { visibility: hidden; }
.top-list .trow { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.top-list .trow:last-child { border-bottom: 0; }
.top-list .place { font: 800 13px var(--display); color: var(--dim); text-align: center; }
.top-list .trow b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.top-list .trow span:last-child { font-weight: 800; font-size: 13.5px; }
.top-list .trow.me { background: rgba(246, 196, 83, .08); border-radius: 10px; }
.top-list .trow.me b { color: var(--gold); }

/* slot machines and pvp */
.g-pvp { background: radial-gradient(120% 140% at 100% 0%, rgba(255, 90, 116, .5), transparent 60%), linear-gradient(135deg, #7f1d1d, #1c0a0a); }
.g-machines { background: radial-gradient(120% 140% at 100% 0%, rgba(246, 196, 83, .45), transparent 60%), linear-gradient(135deg, #6d28d9, #1e0b3a); }
.mach-card { --c: var(--gold); display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 14px; border-radius: var(--r-lg); margin-bottom: 12px;
  background: radial-gradient(110% 130% at 0% 50%, color-mix(in srgb, var(--c) 30%, transparent), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); transition: transform .14s var(--ease); }
.mach-card:active { transform: scale(.98); }
.mach-card b { display: block; font-size: 16px; }
.mach-card small { color: var(--muted); font-size: 12.5px; }
.mach-art { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 34px; flex: none; background: color-mix(in srgb, var(--c) 18%, rgba(0, 0, 0, .3)); }
.m-фрукты { --c: #ff4fa3; } .m-фараон { --c: #f6c453; } .m-пираты { --c: #3fd0ff; }
.slot5 { position: relative; border-radius: 26px; padding: 34px 10px 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 28%, #160b2a), #0c0716);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 65%, transparent), 0 0 44px -6px color-mix(in srgb, var(--c) 45%, transparent), inset 0 0 40px rgba(0, 0, 0, .5); }
.grid5x3 { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.col5 { height: 210px; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #e6e3f3, #fff 25%, #fff 75%, #d6d1ea); box-shadow: inset 0 5px 10px rgba(0, 0, 0, .3), inset 0 -5px 10px rgba(0, 0, 0, .22); }
.strip5 { will-change: transform; }
.sym5 { height: 70px; display: grid; place-items: center; font-size: 34px; line-height: 1; transition: background .3s; }
.sym5.hit { background: radial-gradient(circle, rgba(246, 196, 83, .55), transparent 70%); animation: pop .5s; }
.sym5 .letter, .emo .letter { font: 800 28px var(--display); background: linear-gradient(180deg, #7c3aed, #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paylines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.paylines polyline { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .6)); }
.free-banner { position: absolute; left: 12px; right: 12px; top: 8px; z-index: 2; text-align: center; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
  color: var(--gold-ink); background: linear-gradient(90deg, #ffe08c, var(--gold), #ffb347); box-shadow: 0 0 18px rgba(246, 196, 83, .6); }
.chests { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.chest { height: 78px; border-radius: 16px; font-size: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(180deg, #5b3a1a, #2a1708); border: 1px solid rgba(246, 196, 83, .35); transition: transform .2s; }
.chest:active { transform: scale(.94); }
.chest span { font-size: 26px; }
.chest b { font: 800 13px var(--display); color: var(--gold); }
.chest.open { background: radial-gradient(circle, rgba(246, 196, 83, .5), #3a2207); box-shadow: 0 0 24px rgba(246, 196, 83, .7); animation: winpop .6s cubic-bezier(.2, 1.6, .4, 1); }
.chest.shown { opacity: .55; }
.duel-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); margin-bottom: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022)); border: 1px solid var(--line); }
.duel-row.mine { border-color: rgba(246, 196, 83, .35); }
.duel-row .emo { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: var(--s2); flex: none; }
.duel-row b { display: block; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.duel-row small { color: var(--muted); font-size: 12px; }
.duel-hist { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 2px; border-bottom: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.duel-hist:last-child { border-bottom: 0; }
.duel-stage { min-height: 170px; display: grid; place-items: center; margin-bottom: 12px; perspective: 700px; }
.duel-line { text-align: center; margin-top: 10px; font-weight: 700; }
.coin3d { position: relative; width: 120px; height: 120px; transform-style: preserve-3d; animation: coinflip 1.8s cubic-bezier(.2, .7, .2, 1) forwards; }
.coin3d .face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-size: 56px; backface-visibility: hidden;
  background: radial-gradient(circle at 35% 30%, #fff3c4, #f6c453 45%, #b8860b); box-shadow: inset 0 0 0 6px rgba(0, 0, 0, .15), 0 14px 30px rgba(0, 0, 0, .5); }
.coin3d .back { transform: rotateY(180deg); }
@keyframes coinflip { 0% { transform: rotateY(0) translateY(0); } 50% { transform: rotateY(1080deg) translateY(-40px); } 100% { transform: rotateY(2160deg) translateY(0); } }
.dice-duel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; text-align: center; }
.dice-duel small { display: block; color: var(--muted); font-weight: 700; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.die5 { display: inline-grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); width: 52px; height: 52px; padding: 7px; margin: 0 4px; border-radius: 12px;
  background: linear-gradient(180deg, #fff, #e9e9f2); box-shadow: 0 8px 18px rgba(0, 0, 0, .45); }
.die5 i { width: 9px; height: 9px; border-radius: 50%; background: #1b1b2b; place-self: center; }
.die5.d1 i { grid-area: 2 / 2; }
.die5.d2 i:nth-child(1) { grid-area: 1 / 1; } .die5.d2 i:nth-child(2) { grid-area: 3 / 3; }
.die5.d3 i:nth-child(1) { grid-area: 1 / 1; } .die5.d3 i:nth-child(2) { grid-area: 2 / 2; } .die5.d3 i:nth-child(3) { grid-area: 3 / 3; }
.die5.d4 i:nth-child(1) { grid-area: 1 / 1; } .die5.d4 i:nth-child(2) { grid-area: 1 / 3; } .die5.d4 i:nth-child(3) { grid-area: 3 / 1; } .die5.d4 i:nth-child(4) { grid-area: 3 / 3; }
.die5.d5 i:nth-child(1) { grid-area: 1 / 1; } .die5.d5 i:nth-child(2) { grid-area: 1 / 3; } .die5.d5 i:nth-child(3) { grid-area: 2 / 2; } .die5.d5 i:nth-child(4) { grid-area: 3 / 1; } .die5.d5 i:nth-child(5) { grid-area: 3 / 3; }
.die5.d6 i:nth-child(1) { grid-area: 1 / 1; } .die5.d6 i:nth-child(2) { grid-area: 2 / 1; } .die5.d6 i:nth-child(3) { grid-area: 3 / 1; } .die5.d6 i:nth-child(4) { grid-area: 1 / 3; } .die5.d6 i:nth-child(5) { grid-area: 2 / 3; } .die5.d6 i:nth-child(6) { grid-area: 3 / 3; }
.crash-duel { width: 100%; text-align: center; }
.crash-duel .crash-value { position: static; }
.duel-marks { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.duel-marks span { padding: 7px 12px; border-radius: 12px; background: var(--s2); font-weight: 800; transition: all .3s; }
.duel-marks span.up { background: rgba(43, 217, 143, .16); color: var(--green); }
.duel-marks span.down { background: rgba(255, 90, 116, .16); color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ambient i { animation: none; }
}
