/* Дизайн «Игровой» (Claymorphism): объёмные карточки с толстой обводкой и двойной тенью,
   мята + персик, шрифт Nunito. Все цвета и поверхности — токены. */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800;900&display=swap");

:root {
  --bg: #eaf6ee;
  --bg-2: #ffffff;
  --ink: #173a27;
  --muted: #587464;
  --line: rgba(23, 58, 39, .1);
  --accent: #2f8a57;          /* главные кнопки, активные элементы */
  --accent-ink: #ffffff;
  --accent-dark: #1f6b41;     /* «нижняя грань» объёмных кнопок */
  --accent-2: #ff9f7a;        /* персиковый второстепенный акцент */
  --accent-2-ink: #3a1a0d;
  --accent-2-dark: #d9734f;
  --accent-soft: #d4f0dd;
  --amber: #9a5a08;
  --amber-soft: #ffe9cc;
  --danger: #c0362c;
  --danger-ink: #ffffff;

  --card-bg: #ffffff;
  --card-border: 3px solid #d2ebdb;
  --card-shadow: 0 6px 0 #c2e2cd, 0 16px 26px rgba(23, 58, 39, .08);
  --card-blur: 0px;
  --radius: 26px;
  --radius-sm: 18px;
  --chip-bg: #d9efe0;
  --seg-bg: #d9efe0;
  --input-bg: #ffffff;
  --input-border: #c2e2cd;
  --tabs-bg: #ffffff;
  --sheet-bg: #ffffff;
  --backdrop: rgba(23, 58, 39, .32);
  --btn-shadow: 0 4px 0 var(--accent-dark);

  --page-bg:
    radial-gradient(circle at 12% 6%, #d4f0dd 0 70px, transparent 71px),
    radial-gradient(circle at 92% 24%, #ffe3d6 0 54px, transparent 55px),
    radial-gradient(circle at 6% 70%, #fff1c9 0 40px, transparent 41px),
    #eaf6ee;
  --page-overlay: none;

  --stub-bg: linear-gradient(135deg, #ffb795 0%, #ff9f7a 100%);
  --stub-ink: #3a1a0d;
  --stub-qr-bg: #ffffff;
  --logo-color: #2f8a57;
  --hub-bg: #2f8a57;
  --hub-ring: #ffffff;
  --hub-logo: #ffffff;

  /* колесо: пары «фон/текст» секторов, обод и указатель */
  --wheel-ring: #173a27;
  --wheel-bulb: #ffd56b;
  --wheel-pointer: #ff7a59;
  --w1: #2f8a57; --w1t: #ffffff;
  --w2: #ffd56b; --w2t: #3a2a05;
  --w3: #ff9f7a; --w3t: #3a1a0d;
  --w4: #d4f0dd; --w4t: #173a27;
  --w5: #7ec8e3; --w5t: #0b2c3a;
  --w6: #ffffff; --w6t: #173a27;
  --chest-body: #ff9f7a;
  --chest-lid: #ffb795;
  --chest-band: #ffd56b;
  --chest-lock: #2f8a57;
  --chest-stroke: #c2603d;

  --display: "Nunito", system-ui, sans-serif;
  --display-weight: 800;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --tabs-h: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--ink); background: transparent; /* фон рисуют html и body::before */
  font: 500 15px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: var(--page-bg); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--page-overlay); }
#app {
  min-height: 100vh;
  padding: 14px var(--gutter) calc(var(--tabs-h) + 28px + env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto;
}
body.no-tabs #app { padding-bottom: 32px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: var(--display-weight); line-height: 1.15; }
h1 { font-size: 28px; letter-spacing: -0.01em; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
p { margin: 0; }
a { color: var(--accent); }
img, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.center-fill { min-height: 60vh; display: grid; place-items: center; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
[hidden] { display: none !important; }

/* иконки */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none; }
.tk { width: 1.05em; height: 1.05em; vertical-align: -0.18em; }
.logo-mark {
  display: inline-block; flex: none; background: var(--logo-color);
  -webkit-mask: url("../img/logo.png") center / contain no-repeat; mask: url("../img/logo.png") center / contain no-repeat;
}

/* ---------- кнопки ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; font-size: 15px;
  background: var(--accent); color: var(--accent-ink); box-shadow: var(--btn-shadow);
  transition: transform .12s ease, opacity .12s ease, filter .12s ease;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-dark); }
.btn.chrome:active { box-shadow: 0 1px 0 var(--accent-2-dark); }
.btn.ghost:active, .btn.outline:active, .btn.danger:active { transform: translateY(1px); box-shadow: inset 0 0 0 2.5px currentColor; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2.5px currentColor; }
.btn.outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2.5px currentColor; }
.btn.chrome { background: var(--accent-2); color: var(--accent-2-ink); box-shadow: 0 4px 0 var(--accent-2-dark); }
.btn.danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 2.5px currentColor; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; min-height: 32px; }

/* ---------- шапка ---------- */
.brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 2px 0 16px; }
.brand .logo-mark { width: 30px; height: 30px; }
.brand-name { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: .85; white-space: nowrap; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; min-height: 40px; }
.hello-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.hello-row .row { flex: none; padding-top: 6px; }
.chip {
  border: 0; cursor: pointer; border-radius: 999px; padding: 8px 13px; min-height: 36px;
  background: var(--chip-bg); color: var(--ink); font-weight: 600; font-size: 13px;
  box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 4px;
}
.chip.lacquer { background: var(--accent); color: var(--accent-ink); box-shadow: none; }

/* ---------- билет ---------- */
.stub {
  --notch: 13px; --cut: 128px;
  position: relative; display: grid; grid-template-columns: 1fr var(--cut);
  color: var(--stub-ink); border-radius: 28px; min-height: 160px; background: var(--stub-bg);
  -webkit-mask:
    radial-gradient(circle var(--notch) at calc(100% - var(--cut)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - var(--cut)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at calc(100% - var(--cut)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at calc(100% - var(--cut)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.stub.solo { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
.stub-main { padding: 18px 18px 16px 20px; display: flex; flex-direction: column; justify-content: space-between; }
.stub-label { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.stub-count { font: var(--display-weight) 60px/1 var(--display); margin-top: 4px; }
.stub-foot { font-size: 12.5px; opacity: .8; }
.stub-side {
  border: 0; border-left: 1.5px dashed currentColor; background: none; color: var(--stub-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 10px; cursor: pointer;
}
.stub-side { border-left-color: color-mix(in srgb, currentColor 35%, transparent); }
.stub-qr { width: 92px; height: 92px; background: var(--stub-qr-bg); border-radius: 14px; padding: 5px; border: 3px solid var(--stub-ink); }
.stub-qr svg { width: 100%; height: 100%; display: block; }
.stub-side span { font-size: 11px; font-weight: 700; }

/* ---------- поверхности ---------- */
.panel, .tile, .card, .menu-item, .stat {
  background: var(--card-bg); border: var(--card-border); box-shadow: var(--card-shadow);
  backdrop-filter: blur(var(--card-blur)); -webkit-backdrop-filter: blur(var(--card-blur));
}
.panel { border-radius: var(--radius); padding: 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.daily { display: grid; grid-template-columns: 46px 1fr; gap: 4px 14px; align-items: center; }
.daily .btn { grid-column: 2; justify-self: start; margin-top: 8px; }
.daily h3 { font-size: 17px; }
.daily-icon {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 22px;
}
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  text-align: left; border-radius: var(--radius); padding: 14px; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px; min-height: 100px;
}
.tile svg { width: 24px; height: 24px; color: var(--accent); }
.tile b { font-size: 14px; font-weight: 600; }
.tile .small { margin-top: -6px; }
.tile:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 0; align-items: center; }
.tile:last-child:nth-child(odd) svg { grid-row: span 2; }
.tile:last-child:nth-child(odd) .small { margin-top: 0; }

.card { border-radius: var(--radius); overflow: hidden; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.card-media img, .card-media video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--chip-bg); }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--chip-bg); color: var(--muted); white-space: nowrap;
}
.badge.ok { background: var(--accent-soft); color: var(--accent); }
.badge.warn { background: var(--amber-soft); color: var(--amber); }
.badge.hot { background: var(--accent); color: var(--accent-ink); }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.conds { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.price { font: var(--display-weight) 19px/1.2 var(--display); color: var(--accent); white-space: nowrap; }
.empty { text-align: center; padding: 40px 12px; color: var(--muted); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.empty .big { width: 48px; height: 48px; color: var(--accent); }
.empty .big svg { width: 100%; height: 100%; }

/* ---------- выигрыши ---------- */
.prize { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; padding: 14px; }
.prize-icon, .daily-icon { box-shadow: 0 4px 0 rgba(23, 58, 39, .15); }
.prize-icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font: var(--display-weight) 17px/1 var(--display);
}
.prize-icon svg { width: 24px; height: 24px; }
.prize h3 { font-size: 17px; }
.prize.dim { opacity: .5; }
.prize-actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- сегменты ---------- */
.segment { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--seg-bg); border-radius: 999px; padding: 4px; gap: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.segment button { border: 0; background: none; border-radius: 999px; padding: 10px 8px; min-height: 40px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.segment button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: 0 3px 0 var(--accent-dark); }

/* ---------- колесо ---------- */
.wheel-wrap { position: relative; width: min(100%, 330px); margin: 8px auto 0; aspect-ratio: 1; }
.wheel { width: 100%; height: 100%; transition: transform 4.6s cubic-bezier(.12,.7,.08,1); filter: drop-shadow(0 8px 0 rgba(23, 58, 39, .22)); }
.wheel-pointer {
  position: absolute; left: 50%; top: -8px; transform: translateX(-50%); z-index: 2;
  width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent;
  border-top: 26px solid var(--wheel-pointer); filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
.wheel-hub {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: 70px; height: 70px; border-radius: 50%; background: var(--hub-bg);
  box-shadow: 0 0 0 4px var(--hub-ring); display: grid; place-items: center;
}
.wheel-hub .logo-mark { width: 50px; height: 50px; background: var(--hub-logo); }
.game-cost { text-align: center; }

/* ---------- сундуки ---------- */
.chests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.chest { border: 0; background: none; cursor: pointer; padding: 6px 2px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.chest svg { width: 100%; max-width: 104px; height: auto; transition: transform .3s ease; }
.chest .c-body { fill: var(--chest-body); stroke: var(--chest-stroke); }
.chest .c-lid { fill: var(--chest-lid); stroke: var(--chest-stroke); }
.chest .c-band { fill: var(--chest-band); }
.chest .c-lock { fill: var(--chest-lock); }
.chest .c-key { fill: var(--chest-body); }
.chest .lid { transform-box: view-box; transform-origin: 9px 44px; transition: transform .5s cubic-bezier(.2,.8,.2,1.2); }
.chest.open .lid { transform: rotate(-30deg); }
.chest .glow { opacity: 0; fill: var(--accent); transition: opacity .4s ease .15s; }
.chest.open .glow { opacity: 1; }
.chest.picked svg { transform: translateY(-6px) scale(1.06); }
.chest.dim { opacity: .45; }
.chest-label { font-size: 12.5px; font-weight: 600; text-align: center; min-height: 34px; line-height: 1.35; }
.chests.idle .chest:nth-child(2) svg { animation: nudge 2.6s ease-in-out infinite; }
@keyframes nudge { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-4deg); } 95% { transform: rotate(4deg); } }

/* ---------- прогресс подруг ---------- */
.dots { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dot { width: 32px; height: 32px; border-radius: 50%; background: var(--chip-bg); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); color: var(--accent); }
.dot.on { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.dot svg { width: 16px; height: 16px; }

/* ---------- нижние вкладки ---------- */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; border-top-width: 3px !important;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: var(--tabs-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 3px solid #d2ebdb;
}
.tabs button {
  border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 2px; min-height: 48px; font-size: 11px; font-weight: 600; color: var(--muted); border-radius: 12px;
}
.tabs svg { width: 23px; height: 23px; }
.tabs button[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

/* ---------- модалка ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 40; background: var(--backdrop);
  display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease;
}
.sheet {
  width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  background: var(--sheet-bg); border-radius: 30px 30px 0 0; border-top: 3px solid #d2ebdb;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  animation: rise .26s cubic-bezier(.2,.8,.2,1);
}
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--input-border); margin: 0 auto 16px; }
.qr-big { background: #fff; border-radius: 26px; padding: 14px; width: min(78vw, 300px); margin: 0 auto; border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.qr-big svg { width: 100%; height: auto; display: block; }
.code { font: 800 15px/1 var(--body); letter-spacing: .08em; text-align: center; color: var(--muted); }
.win { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 6px 0 4px; }
.win-burst {
  width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center;
  background: var(--hub-bg); box-shadow: 0 0 0 4px var(--hub-ring), 0 0 0 12px var(--accent-soft), 0 10px 0 12px rgba(23, 58, 39, .08);
  animation: pop .45s cubic-bezier(.2,.9,.3,1.4);
}
.win-burst .logo-mark { width: 78px; height: 78px; background: var(--hub-logo); }
.win-name { font: var(--display-weight) 28px/1.2 var(--display); color: var(--accent); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- тост ---------- */
.toast {
  box-shadow: 0 4px 0 var(--accent-dark);
  position: fixed; left: 50%; bottom: calc(var(--tabs-h) + 22px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 16px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px; text-align: center;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); color: var(--danger-ink); box-shadow: 0 4px 0 #8f241c; }

/* ---------- формы (панель) ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--input-border); background: var(--input-bg); color: var(--ink); font: inherit;
}
.input::placeholder { color: var(--muted); opacity: .75; }
textarea.input { min-height: 96px; resize: vertical; }
.input { border-width: 2.5px; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input.amount { font: var(--display-weight) 30px/1 var(--display); text-align: center; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; min-height: 40px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.file-drop {
  border: 1px dashed var(--input-border); border-radius: var(--radius-sm); padding: 14px; text-align: center;
  color: var(--muted); font-weight: 600; cursor: pointer; display: block;
}
.file-drop img, .file-drop video { max-height: 160px; margin: 8px auto 0; border-radius: 10px; }
.file-drop input { display: none; }

.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-item {
  text-align: left; border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; gap: 6px; cursor: pointer; min-height: 96px;
}
.menu-item .em { width: 26px; height: 26px; color: var(--accent); }
.menu-item .em svg { width: 100%; height: 100%; }
.menu-item b { font: var(--display-weight) 18px/1.2 var(--display); }
.menu-item.primary { grid-column: 1 / -1; color: var(--stub-ink); background: var(--stub-bg); border-color: transparent; }
.menu-item.primary .muted { color: inherit; opacity: .75; }
.menu-item.primary .em { color: inherit; }
.menu-item.primary b { font-size: 22px; }

.list { display: flex; flex-direction: column; }
.list-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row.tap { cursor: pointer; }
.entry { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.entry:last-child { border-bottom: 0; }
.entry-actions { margin-top: 6px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { border-radius: var(--radius); padding: 12px 14px; }
.stat b { display: block; font: var(--display-weight) 26px/1.2 var(--display); }
.stat span { font-size: 12px; color: var(--muted); font-weight: 500; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { color: var(--muted); font-weight: 600; }
.tbl td.num, .tbl th.num { text-align: right; }

.spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--chip-bg); border-top-color: var(--accent); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .wheel { transition-duration: 1.2s !important; }
}
