/* Телефон игрока — mobile-first, одна рука, кнопки ≥ 48px */
html, body { min-height: 100%; background: var(--bg-app); }
body { overscroll-behavior: none; }
.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); overflow-x: hidden; }

.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: var(--bg-base); border-bottom: 1px solid var(--border-subtle); min-height: 60px; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who img { width: 34px; height: 34px; flex: none; }
.who .logo-d { display: none; }
.who > span { font-family: var(--font-serif); font-weight: 600; font-size: 17px; color: var(--accent-soft-ink); }
.who b { color: var(--gold); }
.who .nm { display: grid; min-width: 0; font-family: var(--font-sans); }
.who .nm strong { font-size: 16px; font-weight: 700; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who .nm small { font-size: 12px; color: var(--text-secondary); }
@media (prefers-color-scheme: dark) { :root.themable:not([data-theme="light"]) .who .logo-l { display: none; } :root.themable:not([data-theme="light"]) .who .logo-d { display: block; } }
.score { flex: none; display: grid; justify-items: end; line-height: 1.1; }
.score b { font-size: 22px; font-weight: 800; color: var(--accent-soft-ink); font-variant-numeric: tabular-nums; }
.score small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-tertiary); }
.score.bump b { animation: bump .6s var(--ease-out); }
@keyframes bump { 30% { color: var(--gold); transform: scale(1.15); } }

.net { background: var(--warn-soft); color: var(--warn-ink); font-size: 14px; font-weight: 600; padding: 10px 16px; text-align: center; }
.content { flex: 1; padding: 16px; display: grid; gap: 14px; align-content: start; grid-template-columns: minmax(0, 1fr); }
.foot { padding: 12px 16px 16px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }

.card { background: var(--bg-base); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 20px 18px; box-shadow: var(--shadow-sm); display: grid; gap: 12px; animation: rise .3s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.card.center { text-align: center; justify-items: center; padding: 28px 20px; }
.card h1, .card h2 { margin: 0; }
.card h1 { font-family: var(--font-serif); font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--accent-soft-ink); }
.card h2 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-secondary); }
.overline { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-link); }
.muted { color: var(--text-secondary); }
.q-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.q-head .timer { width: 52px; height: 52px; flex: none; }
.q-head .timer .t-num { font-size: 18px; }
.case-box { background: var(--accent-soft); color: var(--accent-soft-ink); border-radius: 12px; padding: 14px; font-family: var(--font-serif); font-size: 17px; line-height: 1.4; }
.hint-box { background: var(--warn-soft); color: var(--warn-ink); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-family: var(--font-serif); font-style: italic; }
.emoji-big { font-size: 56px; text-align: center; line-height: 1.2; }

.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 18px; border-radius: 12px; border: 1.5px solid transparent; background: var(--accent); color: var(--text-on-brand); font-size: 16px; font-weight: 700; width: 100%; transition: background .14s var(--ease), transform .14s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:active { background: var(--accent-press); transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.ghost { background: transparent; color: var(--accent-soft-ink); border-color: var(--border-default); }
.btn.joker { background: var(--bg-base); color: var(--warn-ink); border-color: var(--gold); min-height: 56px; }
.btn.joker.used { border-color: var(--border-default); color: var(--text-secondary); }

.opts { display: grid; gap: 10px; }
.opt { display: grid; gap: 4px; text-align: left; min-height: 56px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--border-default); background: var(--bg-base); font-size: 17px; font-weight: 600; color: var(--text-primary); -webkit-tap-highlight-color: transparent; transition: all .14s var(--ease); }
.opt small { font-size: 14px; font-weight: 500; color: var(--text-secondary); line-height: 1.35; }
.opt:active { background: var(--bg-hover); }
.opt.sel { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-soft-ink); box-shadow: inset 0 0 0 1px var(--accent); }
.opt.sel small { color: var(--accent-soft-ink); }
.opt:disabled { opacity: .4; }
.opts.grid2 { grid-template-columns: 1fr 1fr; }
.opts.grid2 .opt { font-size: 15px; text-align: center; place-content: center; }

.field { width: 100%; min-height: 56px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--field-border); background: var(--field-bg); font-size: 22px; font-weight: 600; outline: none; }
.field:focus { border-color: var(--field-focus); background: var(--bg-base); }
textarea.field { font-size: 17px; font-weight: 500; min-height: 120px; resize: none; line-height: 1.45; }
.field-note { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-tertiary); }
.big-num { font-size: 15px; color: var(--text-secondary); min-height: 20px; font-variant-numeric: tabular-nums; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick .btn { min-height: 48px; font-size: 14px; }

.accepted { display: flex; align-items: center; gap: 10px; background: var(--ok-soft); color: var(--ok-ink); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.accepted svg { flex: none; }
.accepted span { flex: 1; }

.result-amount { font-size: 44px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent-soft-ink); line-height: 1; }
.result-amount.zero { color: var(--text-tertiary); }
.result-amount.neg { color: var(--danger); }
.verdict { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.verdict.ok { background: var(--ok-soft); color: var(--ok-ink); }
.verdict.bad { background: var(--bad-soft); color: var(--bad-ink); }
.reasons { font-size: 13px; color: var(--text-secondary); display: grid; gap: 2px; }

.board-m { display: grid; gap: 12px; }
.board-m .cat-t { font-size: 13px; font-weight: 700; color: var(--text-secondary); margin-bottom: 6px; }
.board-m .row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.board-m .cell { min-height: 52px; border-radius: 10px; border: 0; background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; }
.board-m .cell:disabled { background: var(--bg-sunken); color: var(--text-tertiary); }

.people { display: grid; gap: 8px; }
.person { display: grid; text-align: left; gap: 2px; min-height: 60px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--border-default); background: var(--bg-base); }
.person b { font-size: 16px; }
.person small { font-size: 13px; color: var(--text-secondary); }
.person:disabled { opacity: .5; }
.person .taken { color: var(--warn-ink); font-weight: 600; }

.medcard { align-content: start; background: var(--bg-base); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 14px 16px; display: grid; gap: 10px; }
.medcard .t { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .08em; }
.stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.stamp { min-width: 0; overflow-wrap: anywhere; hyphens: auto; display: grid; justify-items: center; align-content: start; gap: 4px; font-size: 9.5px; font-weight: 600; color: var(--text-tertiary); text-align: center; line-height: 1.15; }
.stamp i { width: 40px; height: 40px; border-radius: 50%; border: 2px dashed var(--border-strong); display: grid; place-items: center; font-style: normal; font-size: 15px; font-weight: 800; color: var(--text-tertiary); }
.stamp.done i { border: 2px solid var(--accent); background: var(--accent); color: #fff; transform: rotate(-8deg); }
.stamp.done { color: var(--accent-soft-ink); }
.stamp.now i { border-style: solid; border-color: var(--field-focus); color: var(--field-focus); }

.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border-default); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dlg { position: fixed; inset: 0; background: rgba(11, 32, 27, .5); display: grid; place-items: end center; z-index: 100; padding: 16px; animation: fade .2s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.dlg .card { width: 100%; max-width: 448px; margin-bottom: env(safe-area-inset-bottom); }

/* Выбор аватара: 15 цветов */
.av-preview { padding: 6px 0 2px; }
.av-picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.av-pick { position: relative; aspect-ratio: 1; padding: 5px; border-radius: 16px; border: 2px solid transparent; background: transparent; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; min-height: 48px; }
.av-pick .ava { width: 100%; height: 100%; }
.av-pick.sel { border-color: var(--field-focus); background: var(--accent-soft); }
.av-pick:disabled .ava { filter: grayscale(1) opacity(.35); }
.av-busy { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); font-size: 10px; font-weight: 700; color: var(--text-tertiary); }
.who .ava { flex: none; }

/* Кнопка «Отвечаю!» */
.buzz { justify-self: center; width: min(72vw, 280px); aspect-ratio: 1; border-radius: 50%; border: 0; background: var(--green-800); color: #fff; font-size: 30px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 10px 0 var(--green-900), 0 18px 30px rgba(17, 46, 38, .35); transition: transform .08s var(--ease), box-shadow .08s var(--ease); -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none; margin-top: 8px; }
.buzz:active, .buzz.pressed { transform: translateY(8px); box-shadow: 0 2px 0 var(--green-900), 0 6px 12px rgba(17, 46, 38, .3); }
.buzz:disabled { opacity: .7; }
.buzz-note { text-align: center; color: var(--text-secondary); font-size: 14px; margin: 4px 0 0; }

/* Ползунок «Ближе всех» */
.slider-box { display: grid; gap: 12px; }
.slider-val { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.slider-val b { font-size: 44px; font-weight: 800; color: var(--accent-soft-ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.slider-val span { font-size: 18px; font-weight: 600; color: var(--text-secondary); }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; touch-action: pan-y; }
.slider::-webkit-slider-runnable-track { height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--green-700) 0, var(--green-600) var(--p), var(--bg-sunken) var(--p)); }
.slider::-moz-range-track { height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--green-700) 0, var(--green-600) var(--p), var(--bg-sunken) var(--p)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 40px; height: 40px; margin-top: -13px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.slider::-moz-range-thumb { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.slider:active::-webkit-slider-thumb { transform: scale(1.12); }
.slider-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; margin-top: -6px; }
.nudge { display: grid; grid-template-columns: 56px 1fr 56px; gap: 8px; }
.nudge .btn { min-height: 48px; font-size: 15px; }
.nudge [data-nudge] { font-size: 24px; padding: 0; }

/* Финал: топ-1/2/3 */
.rank-opt { grid-template-columns: 40px 1fr; align-items: center; }
.rank-opt .rk { font-size: 28px; text-align: center; }
.rank-opt.m1 { border-color: #B98A4E; background: #F5EBD6; color: #5E4422; box-shadow: inset 0 0 0 1px #B98A4E; }
.rank-opt.m2 { border-color: #A3A6A0; background: #EFEEEA; color: #4E5A54; box-shadow: inset 0 0 0 1px #A3A6A0; }
.rank-opt.m3 { border-color: #A86F4C; background: #F2E2D6; color: #6B3F25; box-shadow: inset 0 0 0 1px #A86F4C; }
.rank-opt.sel small { color: inherit; opacity: .8; }
.btn.oral { margin-top: 2px; }

/* Название цвета над аватаром — крупно, градиентом выбранного цвета */
.av-name { font-family: var(--font-serif); font-size: 38px; font-weight: 700; line-height: 1.1; background: var(--g); -webkit-background-clip: text; background-clip: text; color: transparent; filter: saturate(1.25); animation: rise .3s var(--ease-out) both; }

/* Кнопка «Отвечаю!» — в зелёных цветах Медаксиума, тонкое золотое кольцо */
.buzz { background: radial-gradient(circle at 35% 30%, var(--green-600) 0%, var(--green-700) 45%, var(--green-800) 100%); box-shadow: 0 0 0 3px rgba(223, 201, 142, .5), 0 10px 0 var(--green-900), 0 18px 30px rgba(17, 46, 38, .4); }
.buzz:active, .buzz.pressed { box-shadow: 0 0 0 3px rgba(223, 201, 142, .5), 0 2px 0 var(--green-900), 0 6px 12px rgba(17, 46, 38, .3); }

/* Реакции из зала */
.react-bar { position: sticky; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 8px; background: var(--bg-base); border: 1px solid var(--border-subtle); border-radius: 18px; box-shadow: var(--shadow-md); }
.react { min-height: 52px; border: 0; border-radius: 12px; background: var(--bg-subtle); font-size: 28px; line-height: 1; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .1s var(--ease); }
.react:active { transform: scale(.88); background: var(--accent-soft); }
.react-fly { position: fixed; z-index: 200; font-size: 34px; pointer-events: none; transform: translate(-50%, 0); animation: react-fly 1s var(--ease-out) forwards; }
@keyframes react-fly { to { transform: translate(calc(-50% + var(--dx)), -140px) scale(1.4); opacity: 0; } }

/* «Выписной эпикриз» — личный итог */
.epicrisis { position: relative; background: var(--surface); color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); animation: rise .5s var(--ease-out) both; }
.ep-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--grad-dark); color: #fff; }
.ep-head img { width: 38px; height: 38px; }
.ep-head b { display: block; font-family: var(--font-serif); font-size: 20px; font-weight: 700; letter-spacing: .01em; }
.ep-head span { font-size: 12px; opacity: .75; }
.ep-hero { display: grid; justify-items: center; gap: 4px; padding: 22px 16px 16px; background: linear-gradient(160deg, var(--g1) 0%, var(--g2) 55%, var(--g3) 100%); text-align: center; }
.ep-ava { padding: 6px; border-radius: 50%; background: rgba(255,255,255,.35); margin-bottom: 6px; }
.ep-name { font-family: var(--font-serif); font-size: 22px; font-weight: 700; line-height: 1.2; color: #12241F; text-wrap: balance; }
.ep-clinic { font-size: 13px; font-weight: 600; color: rgba(18, 36, 31, .7); }
.ep-stats { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px dashed var(--border); }
.ep-stats > div { display: grid; justify-items: center; padding: 14px 8px; }
.ep-stats > div + div { border-left: 1px dashed var(--border); }
.ep-stats b { font-size: 34px; font-weight: 800; color: var(--green-800); line-height: 1.1; font-variant-numeric: tabular-nums; }
.ep-stats small { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.ep-lbl { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ep-diag { padding: 16px 18px; border-bottom: 1px dashed var(--border); display: grid; gap: 4px; }
.ep-nom { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--gold); line-height: 1.2; }
.ep-why { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.ep-table { padding: 14px 18px 6px; display: grid; gap: 2px; }
.ep-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--beige-3); font-size: 14px; }
.ep-row:last-child { border-bottom: 0; }
.ep-row b { font-variant-numeric: tabular-nums; color: var(--green-800); }
.ep-jk { font-size: 11px; font-weight: 800; color: #6B4E24; background: #EFE2BF; padding: 1px 6px; border-radius: 999px; }
.ep-foot { position: relative; padding: 14px 18px 18px; font-size: 11px; color: var(--muted); min-height: 64px; }
.ep-stamp { position: absolute; right: 14px; bottom: 12px; font-style: normal; font-weight: 800; font-size: 18px; letter-spacing: .12em; color: rgba(28, 76, 64, .85); border: 3px solid rgba(28, 76, 64, .85); border-radius: 8px; padding: 4px 10px; transform: rotate(-12deg); animation: stamp-in .5s var(--ease-out) both .6s; mix-blend-mode: multiply; }
@keyframes stamp-in { from { opacity: 0; transform: rotate(-12deg) scale(2); } }
.ep-hint { text-align: center; font-size: 14px; color: var(--text-secondary); margin: 2px 0 0; }

/* Окно реакций */
.react-wrap { position: sticky; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 5; display: grid; gap: 6px; }
.react-wrap .react-bar { position: static; }
.react-cd { justify-self: center; font-size: 13px; font-weight: 700; color: var(--accent-soft-ink); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; }

/* Джокер — золото с переливом */
.btn.joker { position: relative; overflow: hidden; justify-content: flex-start; gap: 12px; min-height: 64px; padding: 10px 16px; border: 0; color: #3E2E14; text-align: left;
  background: linear-gradient(110deg, #C9A567 0%, #DFC98E 22%, #F5EBD0 38%, #D9BC7E 55%, #BE9558 78%, #DFC98E 100%); background-size: 250% 100%;
  box-shadow: 0 4px 0 #8F6A3A, 0 10px 24px rgba(143, 106, 58, .3), inset 0 1px 0 rgba(255,255,255,.6); animation: jk-flow 3.2s linear infinite; }
.btn.joker::after { content: ''; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.85), transparent); transform: skewX(-20deg); animation: jk-shine 2.6s ease-in-out infinite 1s; }
.btn.joker:active { transform: translateY(3px); box-shadow: 0 1px 0 #8F6A3A, 0 4px 10px rgba(143, 106, 58, .25), inset 0 1px 0 rgba(255,255,255,.6); }
.jk-eye { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 2px rgba(110, 80, 40, .25); animation: jk-pulse 1.8s ease-in-out infinite; }
.jk-eye svg { width: 24px; height: 24px; }
.jk-txt { display: grid; gap: 2px; position: relative; z-index: 1; }
.jk-txt b { font-size: 16px; font-weight: 800; letter-spacing: .01em; }
.jk-txt small { font-size: 13px; font-weight: 600; opacity: .8; }
.btn.joker.used { animation: none; background: linear-gradient(110deg, #EFE3C6, #F7EEDB); box-shadow: inset 0 0 0 1.5px #D2B680; color: #6B4E24; }
.btn.joker.used::after, .btn.joker.used .jk-eye { animation: none; }
@keyframes jk-flow { to { background-position: -250% 0; } }
@keyframes jk-shine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes jk-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* Джокер появляется на заставке: выезжает снизу с золотой вспышкой */
.jk-wrap { position: relative; }
.jk-wrap.appear .btn.joker { animation: jk-appear .9s cubic-bezier(.2, .9, .25, 1.15) both, jk-flow 3.2s linear infinite .9s; }
.jk-wrap.appear::before { content: ''; position: absolute; inset: -14px; border-radius: 22px; background: radial-gradient(closest-side, rgba(223, 201, 142, .75), rgba(223, 201, 142, 0)); animation: jk-glow 1.4s ease-out both .35s; pointer-events: none; }
.jk-sparks { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 2; pointer-events: none; }
.jk-sparks i { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: radial-gradient(circle, #FFF8E6 0 35%, #DFC98E 36% 70%, transparent 71%); opacity: 0; animation: jk-spark .9s ease-out forwards .55s; }
@keyframes jk-appear { 0% { opacity: 0; transform: translateY(80px) scale(.7) rotate(-4deg); } 60% { opacity: 1; transform: translateY(-6px) scale(1.04) rotate(1deg); } 100% { transform: none; } }
@keyframes jk-glow { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes jk-spark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(.4); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-90px) scale(1.2); } }

/* Реакции: пауза 3 секунды после нажатия — полоска под кнопками */
.react-bar { position: relative; overflow: hidden; }
.react-bar.cool .react { opacity: .45; pointer-events: none; }
.react-bar.cool::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--green-600); transform-origin: left; animation: cool var(--cool, 3000ms) linear forwards; }
@keyframes cool { from { transform: scaleX(1); } to { transform: scaleX(0); } }
select.field.select { font-size: 17px; font-weight: 600; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%), linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }

/* Джокер на телефоне: без постоянного перелива — редкий быстрый блик по золоту */
.btn.joker, .jk-wrap.appear .btn.joker { background-size: 100% 100%; }
.btn.joker { animation: none; }
.jk-wrap.appear .btn.joker { animation: jk-appear .9s cubic-bezier(.2, .9, .25, 1.15) both; }
.btn.joker::after { animation: jk-glint 5s cubic-bezier(.4, 0, .2, 1) infinite 1.2s; }
@keyframes jk-glint { 0% { left: -60%; } 14% { left: 130%; } 100% { left: 130%; } }
