/* Мини-приложение «Схрон»: сталь, бетон, ржавчина. Редкость призов — цветом. */
:root {
  --bg: #0e1113;
  --panel: #161a1d;
  --card: #1b2024;
  --card-2: #232a2f;
  --line: #2a3237;
  --text: #e9edef;
  --muted: #8a969d;
  --rust: #e2653c;
  --rust-2: #ff8354;
  --steel: #8a969d;
  --rare: #43b7d8;
  --epic: #a06ce8;
  --legend: #f2b13a;
  --green: #57c08f;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  padding: 0 14px 34px;
  background:
    radial-gradient(120% 60% at 50% 0%, #182026 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.wrap { max-width: 520px; margin: 0 auto; }

h1, h2, .display { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500; letter-spacing: .02em; }

/* ------------------------------------------------------------------ шапка */
.head { display: flex; align-items: flex-end; justify-content: space-between; padding: 16px 0 12px; gap: 12px; }
.head .title {
  font-family: "Oswald", sans-serif; font-size: 24px;
  text-transform: uppercase; letter-spacing: .08em;
  display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
}
.head .title i { font-style: normal; color: var(--rust); }
.head .sub { font-size: 12px; color: var(--muted); margin-top: -2px; }
.refresh {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  background: var(--card); border: 1px solid var(--line); color: var(--muted);
  font-size: 17px; cursor: pointer;
}
.refresh:active { background: var(--card-2); }

/* ------------------------------------------------------------- кошелёк */
.wallet-wrap {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px;
}
.wallet { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.coins { display: flex; align-items: center; gap: 10px; min-width: 0; }
.coins svg { width: 34px; height: 34px; flex: none; }
.coins .n { font-family: "Oswald", sans-serif; font-size: 27px; line-height: 1; font-variant-numeric: tabular-nums; }
.coins .t { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.balance { text-align: right; }
.balance .n { font-family: "Oswald", sans-serif; font-size: 20px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.balance .t { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.progress { margin-top: 12px; }
.progress-line { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.progress-line b { color: var(--text); font-variant-numeric: tabular-nums; }
.bar { height: 7px; border-radius: 99px; background: #0c0f11; overflow: hidden; border: 1px solid var(--line); }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, #8a4526, var(--rust)); transition: width .45s ease; }

/* -------------------------------------------------------------- барабан */
.machine {
  margin-top: 12px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 18px; padding: 16px;
  position: relative;
}
.machine::before, .machine::after {
  content: ""; position: absolute; top: 10px; width: 5px; height: 5px; border-radius: 50%;
  background: #3a464d; box-shadow: 0 0 0 1px #10151800;
}
.machine::before { left: 10px; }
.machine::after { right: 10px; }

.reel-window {
  position: relative; height: 192px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(180deg, #0c0f11, #14191d 50%, #0c0f11);
}
.reel-window::before, .reel-window::after {
  content: ""; position: absolute; left: 0; right: 0; height: 64px; pointer-events: none; z-index: 2;
}
.reel-window::before { top: 0; background: linear-gradient(180deg, #0d1113 25%, transparent); }
.reel-window::after { bottom: 0; background: linear-gradient(0deg, #0d1113 25%, transparent); }

.band {
  position: absolute; left: 0; right: 0; top: 50%; height: 64px; transform: translateY(-50%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  pointer-events: none; z-index: 3; transition: box-shadow .3s, border-color .3s;
}
.band::before, .band::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; 
}
.band::before { left: 0; border-left-color: var(--steel); }
.band::after { right: 0; border-right-color: var(--steel); }
.band.rare { border-color: var(--rare); box-shadow: 0 0 22px rgba(67,183,216,.22) inset; }
.band.epic { border-color: var(--epic); box-shadow: 0 0 22px rgba(160,108,232,.24) inset; }
.band.legend { border-color: var(--legend); box-shadow: 0 0 30px rgba(242,177,58,.3) inset; }

.reel { will-change: transform; }
.row { height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.row + .row { border-top: 1px solid rgba(255,255,255,.035); }
.row .art { width: 34px; height: 34px; flex: none; display: grid; place-items: center; font-size: 22px; }
.row .art svg, .row .art img { width: 34px; height: 34px; object-fit: contain; }
.row .tx { font-weight: 500; min-width: 0; }
.row .sub { font-size: 11px; color: var(--muted); }
.row.r-rare .tx { color: #b7e6f5; }
.row.r-epic .tx { color: #dcc6ff; }
.row.r-legend .tx { color: #ffd98a; }

/* --------------------------------------------------------------- кнопка */
.result { text-align: center; min-height: 22px; margin-top: 14px; font-weight: 500; font-size: 14px; }
.result b { font-family: "Oswald", sans-serif; letter-spacing: .02em; }

.spin-btn {
  width: 100%; margin-top: 10px; padding: 16px 14px; border: 0; border-radius: 13px;
  background: linear-gradient(180deg, var(--rust-2), var(--rust));
  color: #190a04; cursor: pointer;
  font-family: "Oswald", sans-serif; font-size: 19px; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(226,101,60,.25);
}
.spin-btn:active { transform: translateY(1px); }
.spin-btn:disabled { opacity: .38; box-shadow: none; cursor: default; transform: none; }
.spin-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.free-badge {
  display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 99px;
  background: rgba(255,255,255,.9); color: #8a3a12; font-size: 11px; font-weight: 500;
  font-family: "Rubik", sans-serif; letter-spacing: 0; text-transform: none;
}
.limits { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: 11px; color: var(--muted); margin-top: 10px; }
.limits span { white-space: nowrap; }

/* ---------------------------------------------------------------- блоки */
.block { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 15px; margin-top: 12px; }
.block-title {
  font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 11px;
}

/* витрина особых призов */
.showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 9px; }
.relic {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 13px 12px 11px; text-align: center; overflow: hidden;
}
.relic.legend { border-color: rgba(242,177,58,.45); background: linear-gradient(180deg, rgba(242,177,58,.09), var(--card)); }
.relic.epic { border-color: rgba(160,108,232,.4); background: linear-gradient(180deg, rgba(160,108,232,.08), var(--card)); }
.relic svg, .relic img { width: 62px; height: 62px; object-fit: contain; display: block; margin: 0 auto; }
.relic .nm { font-size: 13px; font-weight: 500; margin-top: 6px; }
.relic .ch { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.relic .left {
  position: absolute; top: 8px; right: 8px; font-size: 10px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--legend); border: 1px solid rgba(242,177,58,.4);
  border-radius: 99px; padding: 2px 7px;
}
.relic.gone { opacity: .45; }
.relic.gone .left { color: var(--muted); border-color: var(--line); }

/* призы списком */
.prizes { display: flex; flex-direction: column; gap: 6px; }
.prize { display: flex; align-items: center; gap: 11px; background: var(--card); border-radius: 11px; padding: 9px 12px; border-left: 3px solid var(--steel); }
.prize.r-rare { border-left-color: var(--rare); }
.prize.r-epic { border-left-color: var(--epic); }
.prize.r-legend { border-left-color: var(--legend); }
.prize .art { width: 26px; height: 26px; flex: none; display: grid; place-items: center; font-size: 18px; }
.prize .art svg, .prize .art img { width: 26px; height: 26px; object-fit: contain; }
.prize .tx { flex: 1; min-width: 0; font-size: 13.5px; }
.prize .ch { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* купоны */
.coupon { background: linear-gradient(135deg, rgba(226,160,60,.12), var(--card)); border: 1px dashed rgba(226,160,60,.5); border-radius: 12px; padding: 12px; }
.coupon + .coupon { margin-top: 8px; }
.coupon .nm { font-size: 13px; }
.coupon .code {
  font-family: "Oswald", sans-serif; font-size: 22px; letter-spacing: .18em;
  color: var(--legend); margin-top: 4px;
}
.coupon .until { font-size: 11px; color: var(--muted); }

.bonus { background: rgba(87,192,143,.08); border: 1px solid rgba(87,192,143,.28); border-radius: 12px; padding: 11px 13px; font-size: 13.5px; }
.bonus + .bonus { margin-top: 7px; }
.bonus b { color: var(--green); }

.history { display: flex; flex-direction: column; }
.hrow { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 7px 0; }
.hrow + .hrow { border-top: 1px solid var(--line); }
.hrow .when { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); font-size: 13px; }

.foot { text-align: center; color: var(--muted); font-size: 11px; margin-top: 16px; line-height: 1.6; }

/* ------------------------------------------------- вспышка редкого приза */
.flash {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(8,10,12,.94); padding: 24px; text-align: center;
}
.flash[hidden] { display: none; }
.flash .ray {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,177,58,.28), transparent 62%);
  animation: pulse 2.4s ease-in-out infinite;
}
.flash .flash-art { position: relative; animation: rise .5s ease-out; line-height: 0; }
.flash .flash-art svg { width: 150px; height: 150px; filter: drop-shadow(0 0 26px rgba(242,177,58,.45)); }
.flash .flash-art img {
  width: 230px; max-width: 74vw; height: auto; object-fit: contain;
  filter: drop-shadow(0 0 34px rgba(242,177,58,.5));
}
.flash .kind { font-family: "Oswald", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--legend); font-size: 12px; position: relative; }
.flash .nm { font-family: "Oswald", sans-serif; font-size: 27px; margin-top: 8px; position: relative; }
.flash .note { color: var(--muted); font-size: 13px; margin-top: 8px; max-width: 280px; position: relative; }
.flash button {
  margin-top: 18px; padding: 13px 34px; border: 0; border-radius: 12px; position: relative;
  background: var(--legend); color: #211603; font-family: "Oswald", sans-serif;
  font-size: 16px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
@keyframes pulse { 0%, 100% { transform: scale(.94); opacity: .75 } 50% { transform: scale(1.06); opacity: 1 } }
@keyframes rise { from { transform: translateY(14px) scale(.85); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes pop { from { transform: scale(.9); opacity: 0 } to { transform: none; opacity: 1 } }
.pop { animation: pop .25s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .reel, .bar > i { transition: none !important; }
  .flash .ray, .flash svg { animation: none; }
}


/* ------------------------------------------------- кнопки магазина */
.links { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.link-btn {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: 15px;
  padding: 13px 15px; color: var(--text);
}
.link-btn:active { background: var(--card-2); }
.link-btn .ic { font-size: 21px; width: 26px; text-align: center; flex: none; }
.link-btn .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.link-btn .tx b { font-size: 14.5px; font-weight: 500; }
.link-btn .tx i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.link-btn .go { color: var(--muted); font-size: 20px; line-height: 1; }
.link-btn.shop { border-color: rgba(226,101,60,.45); background: linear-gradient(180deg, rgba(226,101,60,.1), var(--panel)); }
.link-btn.shop .go { color: var(--rust); }
.link-btn.funpay { border-color: rgba(67,183,216,.32); background: linear-gradient(180deg, rgba(67,183,216,.07), var(--panel)); }
.link-btn.funpay .go { color: var(--rare); }

/* ------------------------------------------------------- нижнее меню */
body { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }

.tabbar {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: #141a1e;
  border-top: 1px solid var(--line);
}

.tab-btn {
  border: 1px solid var(--line); background: var(--card); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 9px 2px 8px; border-radius: 14px; min-width: 0;
  color: var(--muted); font-family: "Rubik", sans-serif; font-size: 10px;
}
.tab-btn svg { width: 21px; height: 21px; }
.tab-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tab-btn:active { transform: translateY(1px); }
.tab-btn.active {
  background: linear-gradient(180deg, var(--rust-2), var(--rust));
  border-color: transparent; color: #190a04; font-weight: 500;
}
.tab-btn.active svg { color: #190a04; }
.tab-btn:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }

/* --------------------------------------------------------- вкладка заданий */
.hint-line { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.tasks { display: flex; flex-direction: column; gap: 9px; }
.task {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 14px;
}
.task .top { display: flex; gap: 10px; align-items: baseline; }
.task .nm { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 500; }
.task .pay { color: var(--rust); font-weight: 500; white-space: nowrap; font-size: 14px; }
.task .ds { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.task .meta { font-size: 11px; color: var(--muted); margin-top: 7px; display: flex; gap: 10px; flex-wrap: wrap; }
.task .row { display: flex; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.task button, .task a.btn {
  flex: 1; min-width: 118px; padding: 11px 12px; border-radius: 11px; border: 0;
  font-family: "Rubik", sans-serif; font-size: 13.5px; cursor: pointer;
  text-align: center; text-decoration: none;
}
.task .go { background: var(--card-2); color: var(--text); border: 1px solid var(--line); }
.task .check { background: linear-gradient(180deg, var(--rust-2), var(--rust)); color: #190a04; font-weight: 500; }
.task .msg { font-size: 12.5px; margin-top: 9px; color: var(--rust-2); }
.task .msg.ok { color: var(--green); }
.task input {
  width: 100%; margin-top: 9px; padding: 11px 12px; border-radius: 11px;
  border: 1px solid var(--line); background: #0f1316; color: var(--text);
  font-family: "Rubik", sans-serif; font-size: 14px;
}
.task.wait { opacity: .62; }

/* -------------------------------------------------------- вкладка профиля */
.pro-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.pro-name { font-family: "Oswald", sans-serif; font-size: 21px; }
.pro-id { font-size: 11.5px; color: var(--muted); }
.pro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pro-cell { background: var(--card-2); border-radius: 12px; padding: 11px 13px; }
.pro-cell .n { font-family: "Oswald", sans-serif; font-size: 19px; font-variant-numeric: tabular-nums; }
.pro-cell .t { font-size: 11px; color: var(--muted); margin-top: 1px; }

.wd-line { display: flex; justify-content: space-between; font-size: 12.5px; padding: 7px 0; }
.wd-line + .wd-line { border-top: 1px solid var(--line); }
.wd-status { color: var(--muted); }

.ref-link {
  background: #0f1316; border: 1px solid var(--line); border-radius: 11px;
  padding: 11px 12px; font-size: 12.5px; word-break: break-all; margin-top: 10px;
  color: var(--rare);
}
.btn-wide {
  display: block; width: 100%; margin-top: 9px; padding: 13px; border: 0;
  border-radius: 12px; cursor: pointer; text-align: center; text-decoration: none;
  background: var(--card-2); color: var(--text); border: 1px solid var(--line);
  font-family: "Rubik", sans-serif; font-size: 14px;
}
.btn-wide.primary {
  background: linear-gradient(180deg, var(--rust-2), var(--rust));
  color: #190a04; border: 0; font-weight: 500;
}

/* --------------------------------------------------------- вкладка правил */
.rules { font-size: 14px; line-height: 1.6; color: #d7dcdf; white-space: pre-wrap; }
.rules b { color: var(--text); }
.rules .empty { color: var(--muted); }


/* -------------------------------------------------------- вкладка друзей */
.friends-hero { background: linear-gradient(180deg, rgba(226,101,60,.12), var(--panel)); }
.fr-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.fr-num { font-family: "Oswald", sans-serif; font-size: 46px; line-height: 1; color: var(--rust); }
.fr-cap { font-size: 12px; color: var(--muted); margin-top: 3px; max-width: 170px; }
.fr-side { text-align: right; font-size: 12px; color: var(--muted); }
.fr-side b { display: block; font-family: "Oswald", sans-serif; font-size: 19px; color: var(--text); }
.fr-side div + div { margin-top: 8px; }
.fr-next { font-size: 13.5px; margin: 14px 0 7px; }
.fr-next b { color: var(--legend); }

.levels { display: flex; flex-direction: column; gap: 7px; }
.level {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  background: var(--card); border-radius: 12px; border-left: 3px solid var(--line);
}
.level.got { border-left-color: var(--green); }
.level.now { border-left-color: var(--rust); background: var(--card-2); }
.level .mark { width: 22px; text-align: center; font-size: 14px; }
.level .tx { flex: 1; min-width: 0; font-size: 13.5px; }
.level .pay { color: var(--legend); font-weight: 500; font-size: 13.5px; white-space: nowrap; }
.level.got .pay { color: var(--green); }

.fr-list { display: flex; flex-direction: column; }
.fr-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 9px 0; }
.fr-row + .fr-row { border-top: 1px solid var(--line); }
.fr-row .st { font-size: 11.5px; white-space: nowrap; }
.fr-row .st.ok { color: var(--green); }
.fr-row .st.wait { color: var(--muted); }

/* GLAVSTE UC — игровой интерфейс, совместимый с uc_bot_v49. */
:root{--bg:#101115;--panel:#1b1c22;--card:#202128;--card-2:#292a33;--line:#2b2c35;--text:#f8f8fa;--muted:#a4a6b3;--rust:#ff884d;--rust-2:#ffab75;--rare:#8bcefc;--epic:#c3a3fc;--legend:#f6bf70;--green:#8addb6}
[hidden]{display:none!important}
body{background:radial-gradient(ellipse at 50% 0,#ff884d08,transparent 550px),var(--bg);padding-left:18px;padding-right:18px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:14px}
.wrap{max-width:440px}.head{padding:23px 0 20px;align-items:center}.head .title{font-family:inherit;font-size:23px;font-weight:750;letter-spacing:-.7px;gap:6px}.head .sub{margin-top:5px;font-size:12px}.refresh{border-radius:50%;width:40px;height:40px}
.wallet-wrap{padding:0;background:none;border:0;border-radius:0}.wallet{grid-template-columns:1fr 1fr;gap:10px}.coins,.balance{min-height:88px;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:16px;text-align:left}.coins{gap:10px}.coins svg{width:26px;height:26px}.coins .n,.balance .n{font-family:inherit;font-size:27px;font-weight:650;letter-spacing:-.8px;line-height:1.1}.coins .t,.balance .t{font-size:11px;letter-spacing:0;text-transform:none;margin-top:5px}.progress{padding:0 3px;margin-top:13px}.progress-line{font-size:11px}.bar{height:5px;border:0;background:var(--line)}.bar>i{background:var(--rust)}
.game-intro{margin:25px 0 15px}.game-intro h1{font-family:inherit;font-size:28px;font-weight:700;letter-spacing:-1px;line-height:1.15;margin:0}.game-intro p{font-size:12px;color:var(--muted);margin:7px 0 0}
.machine{border-radius:22px;padding:16px 14px;background:radial-gradient(ellipse at 50% 0,#ff884d22,transparent 75%),var(--panel);overflow:hidden;margin-top:0}.machine::before,.machine::after{display:none}.machine-label{display:flex;justify-content:space-between;gap:8px;align-items:center;color:var(--muted);font-size:11px}.machine-label b{font-weight:600;letter-spacing:1.6px}.machine-label span{font-size:11px}
.reel-window{height:192px;margin:10px -14px 16px;border:0;border-radius:0;background:none;isolation:isolate}.reel-window::before,.reel-window::after{top:0;bottom:0;height:auto;width:24px;z-index:2}.reel-window::before{left:0;right:auto;background:linear-gradient(90deg,var(--panel),transparent)}.reel-window::after{right:0;left:auto;background:linear-gradient(-90deg,var(--panel),transparent)}
.reel{display:flex;gap:10px;position:absolute;top:20px;left:50%;width:max-content;transform:translateX(-184px)}
.reel .row{height:144px;width:116px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:10px 7px;background:linear-gradient(145deg,#9aa5be15,var(--bg));border:1px solid var(--line);border-radius:16px;text-align:center;--prize-color:var(--steel)}
.reel .row.r-rare{--prize-color:var(--rare);background:linear-gradient(145deg,#8bcefc1c,var(--bg))}.reel .row.r-epic{--prize-color:var(--epic);background:linear-gradient(145deg,#c3a3fc20,var(--bg))}.reel .row.r-legend{--prize-color:var(--legend);background:linear-gradient(145deg,#f6bf7026,var(--bg))}
.reel .row .art,.reel .row .art svg,.reel .row .art img{width:52px;height:52px}.reel .row .art{filter:drop-shadow(0 5px 10px #0004);transform:rotate(-8deg)}.reel .row .tx{font-size:12px;line-height:1.3;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.reel .row .sub{font-size:10px;margin-top:4px;line-height:1.3}.reel .row.winner{border-color:var(--prize-color);box-shadow:0 0 24px #ff884d22}
.band{left:50%;right:auto;top:14px;height:156px;width:126px;transform:translateX(-50%);border:1px solid #ffad7066;border-radius:20px;box-shadow:0 0 26px #ff884d16}.band::before{left:50%;top:-9px;border:0;width:9px;height:9px;border-radius:2px;background:var(--rust);transform:translateX(-50%) rotate(45deg);box-shadow:0 0 16px #ff884daa}.band::after{display:none}.machine.is-spinning .band{border-color:var(--rust);box-shadow:0 0 30px #ff884d33}
.spin-btn{margin:0;background:var(--rust);border-radius:12px;font-family:inherit;font-size:15px;font-weight:650;text-transform:none;letter-spacing:0;box-shadow:none;padding:15px;transition:transform .15s,filter .2s,box-shadow .2s}.spin-btn:hover:not(:disabled){filter:brightness(1.06);box-shadow:0 7px 22px #ff884d25}.spin-btn:active:not(:disabled){transform:scale(.98)}.spin-btn:disabled{opacity:.5}.free-badge{background:#2615071f;color:#261507;font-family:inherit;font-size:11px}.result{margin:12px 0 0;font-size:13px;min-height:20px;overflow-wrap:anywhere}.result:empty{display:none}.result b{font-family:inherit;letter-spacing:0}.pop{display:inline-block;animation:rise .4s ease-out}.limits{gap:5px 12px;line-height:1.5}.limits span{white-space:normal;text-align:center}
.block{margin-top:20px;padding:16px;border-radius:18px}.block-title{font-family:inherit;font-size:16px;font-weight:600;letter-spacing:-.3px;text-transform:none;color:var(--text);margin-bottom:14px}.links{gap:10px}.link-btn{border-radius:14px;padding:13px 14px}.link-btn.shop,.link-btn.funpay{background:var(--panel);border-color:var(--line)}.link-btn .tx b{font-size:13px}.link-btn .tx i{font-size:11px}.showcase{grid-template-columns:repeat(2,minmax(0,1fr))}.relic .left{position:static;display:inline-block;margin-bottom:8px}.relic .nm{overflow-wrap:anywhere}.prize{padding:12px}.prize .tx{overflow-wrap:anywhere}.hrow{padding:12px 0;font-size:12px}.hrow>div:first-child{overflow-wrap:anywhere}
.tabbar{left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:476px;padding:9px 6px calc(10px + env(safe-area-inset-bottom,0px));gap:2px;background:#1b1c22f5;backdrop-filter:blur(18px);border-radius:20px 20px 0 0}.tab-btn{border:0;background:none;border-radius:11px;font-family:inherit;font-size:11px;min-height:51px;gap:5px}.tab-btn.active{background:none;color:var(--rust)}.tab-btn.active svg{color:var(--rust)}.tab-btn svg{width:22px;height:22px}
.task{padding:16px;border-radius:16px;background:var(--bg)}.task .pay{color:var(--green);font-size:13px}.task .row{height:auto;padding:0;border:0}.task button,.task a.btn{font-family:inherit}.task .check{background:var(--rust)}.task input{font-family:inherit;font-size:16px}.pro-head{flex-wrap:wrap}.pro-name,.pro-cell .n,.fr-num,.fr-side b{font-family:inherit;font-weight:650;letter-spacing:-.5px}.pro-cell{padding:15px;background:var(--bg);border:1px solid var(--line);border-radius:15px}.pro-cell .n{font-size:23px}.btn-wide{font-family:inherit}.btn-wide.primary{background:var(--rust)}.rules{color:var(--muted)}.fr-top{gap:10px}.fr-side{min-width:95px}.fr-num{font-size:48px}.fr-row>div:first-child{min-width:0;overflow-wrap:anywhere}.wd-line{gap:10px}.flash{overflow-y:auto}.flash .ray{width:min(90vw,450px);height:min(90vw,450px);animation:rise .6s ease-out}.flash .nm,.flash .kind,.flash button{font-family:inherit}.flash .nm{font-size:30px;font-weight:650;letter-spacing:-.8px}.flash button{background:var(--rust);text-transform:none;letter-spacing:0;min-width:160px}.flash:focus{outline:none}
.game-sparks{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:6}.game-sparks i{position:absolute;left:50%;top:35%;height:9px;width:5px;border-radius:2px;background:var(--spark);animation:game-confetti 1.15s ease-out forwards}@keyframes game-confetti{0%{transform:translate(0,0) rotate(0);opacity:0}10%{opacity:1}100%{transform:translate(var(--dx),var(--dy)) rotate(var(--rot));opacity:0}}
button,a,input{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--rust);outline-offset:3px}
@media(max-width:350px){body{padding-left:12px;padding-right:12px}.coins,.balance{padding:12px}.game-intro h1{font-size:25px}.tab-btn{font-size:10px}.block{padding:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
