:root {
  --bg: #15120e;
  --bg2: #1f1a14;
  --panel: #241e17;
  --line: #3a3026;
  --text: #f3e9d8;
  --muted: #a8977f;
  --accent: #f0a032;
  --accent2: #ffcc66;
  --blue: #4aa8ff;
  --red: #e5483b;
  --green: #5bd67a;
  --radius: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: radial-gradient(ellipse at top, #2c2318 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font: 15px/1.5 Rubik, system-ui, sans-serif;
  min-height: 100vh;
}
body.in-game { overflow: hidden; }
a { color: var(--accent2); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.blue { color: var(--blue); }
kbd {
  display: inline-block; min-width: 1.6em; padding: 1px 6px; margin: 0 2px;
  border: 1px solid #5a4a38; border-bottom-width: 3px; border-radius: 5px;
  background: #2e261d; color: var(--text); font: 600 12px Rubik, sans-serif; text-align: center;
}

.btn {
  font: 600 15px Rubik, sans-serif; cursor: pointer; border-radius: 10px; padding: 10px 18px;
  border: 1px solid var(--line); background: #2d251c; color: var(--text); transition: transform .08s, background .15s, filter .15s;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-primary { background: linear-gradient(180deg, #f5ad44, #d9861c); border-color: #f5b155; color: #1b1208; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* ---------- Шапка ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 24px; border-bottom: 1px solid var(--line); background: rgba(20, 16, 12, .7);
  backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 5;
}
.logo { font: 24px 'Russo One', sans-serif; letter-spacing: 1px; }
.logo span { color: var(--accent); }
.user-box { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nick { font-weight: 600; margin-right: 6px; }

/* ---------- Меню ---------- */
.menu { max-width: 1180px; margin: 0 auto; padding: 32px 16px 40px; }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; margin-bottom: 32px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 99px; background: #3a2c18; color: var(--accent2); font-weight: 600; font-size: 13px; }
.hero h1 { font: 46px/1.1 'Russo One', sans-serif; margin: 14px 0 12px; }
.lead { color: #d6c7ae; font-size: 17px; max-width: 560px; }
.btn-play { font: 22px 'Russo One', sans-serif; padding: 16px 44px; margin-top: 10px; box-shadow: 0 10px 30px rgba(240, 160, 50, .25); }
.play-note { margin-top: 12px; color: var(--muted); font-size: 14px; }
.hero-card {
  background: linear-gradient(160deg, #1d3550, #1a2433); border: 1px solid #2e4c6e; border-radius: 16px; padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.iq-scale .iq-row { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.iq-scale .iq-row:last-child { border: 0; }
.iq-scale b { color: var(--blue); min-width: 90px; font-family: 'Russo One', sans-serif; font-weight: 400; }
.iq-scale span { color: #cfe1f5; font-size: 14px; }

.grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; min-width: 0; }
.panel h2 { font: 20px 'Russo One', sans-serif; margin: 4px 0 12px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; }
.lb { width: 100%; border-collapse: collapse; font-size: 15px; }
.lb th { text-align: left; color: var(--muted); font-weight: 500; font-size: 13px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.lb td { padding: 8px; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.lb tr.mine td { background: rgba(240, 160, 50, .12); }
.lb-nick { font-weight: 600; word-break: break-word; }
.lb-round { font: 18px 'Russo One', sans-serif; color: var(--accent2); }
.keys, .rules { padding-left: 18px; margin: 0 0 16px; }
.keys li, .rules li { margin: 6px 0; color: #ddcfb8; }
.foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 30px; }

/* ---------- Модалка входа ---------- */
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .65); display: grid; place-items: center; z-index: 20; padding: 16px; }
.modal-card { width: 100%; max-width: 400px; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 22px; position: relative; }
.modal-x { position: absolute; right: 12px; top: 10px; background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.auth-tabs button { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 15px Rubik; cursor: pointer; }
.auth-tabs button.on { background: #33291e; color: var(--text); border-color: #5a4a38; }
#auth-form label { display: block; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
#auth-form input { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: #15110d; color: var(--text); font: 15px Rubik; }
#auth-form input:focus { outline: 2px solid var(--accent); border-color: transparent; }
#auth-form .btn { width: 100%; margin-top: 6px; }
.auth-error { color: #ff8a7a; min-height: 20px; font-size: 14px; }

@media (max-width: 860px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .topbar { padding: 12px 16px; }
  .lb th:nth-child(5), .lb td:nth-child(5) { display: none; }
}

/* ================= ИГРА ================= */
.game-root { position: fixed; inset: 0; z-index: 50; background: #000; user-select: none; }
.game-canvas, .game-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hud-root { position: absolute; inset: 0; pointer-events: none; font-family: Rubik, sans-serif; }
.hud { position: absolute; inset: 0; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.hud-root .overlay, .hud-root .overlay * { pointer-events: auto; }

.hud-tl { position: absolute; left: 20px; top: 16px; }
.money { font: 30px 'Russo One', sans-serif; color: #8df08f; }
.lives { font-size: 22px; color: #ff4d5e; letter-spacing: 2px; }
.lives span { color: rgba(255, 255, 255, .2); }
.ranked { font-size: 12px; color: rgba(255, 255, 255, .7); margin-top: 2px; }

.hud-tc { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); }
.round-box { background: rgba(0, 0, 0, .45); border-radius: 12px; padding: 6px 22px 8px; text-align: center; min-width: 170px; }
.score { font: 20px 'Russo One', sans-serif; }
.score .me { color: var(--accent2); }
.score .st { color: var(--blue); }
.score .sep { opacity: .5; margin: 0 6px; }
.timer { font: 32px 'Russo One', sans-serif; line-height: 1; }
.timer.urgent { color: #ff5a4a; }
.phase { font-size: 11px; letter-spacing: 3px; color: rgba(255, 255, 255, .75); }
.round-n { font-size: 12px; color: rgba(255, 255, 255, .6); }

.hud-tr { position: absolute; right: 18px; top: 14px; width: 330px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.studio-card { background: rgba(20, 50, 90, .55); border: 1px solid rgba(80, 160, 255, .4); border-radius: 12px; padding: 8px 12px; width: 230px; }
.studio-name { font: 16px 'Russo One', sans-serif; color: var(--blue); }
.iq-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.iq-bar { flex: 1; height: 7px; background: rgba(255, 255, 255, .15); border-radius: 9px; overflow: hidden; }
.iq-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4aa8ff, #b46bff, #ff4d6a); transition: width .6s; }
.iq-row b { font: 16px 'Russo One', sans-serif; min-width: 34px; text-align: right; }
.studio-gear { font-size: 12px; color: #cfe4ff; margin-top: 3px; }
.killfeed { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.feed-item { background: rgba(0, 0, 0, .55); padding: 4px 10px; border-radius: 6px; font-size: 13px; transition: opacity 1s; max-width: 330px; }
.feed-item.me { border: 1px solid rgba(255, 200, 100, .6); }
.feed-item.enemy { border: 1px solid rgba(255, 80, 80, .6); }
.feed-item.learn { background: rgba(80, 30, 120, .7); }
.feed-item.fade { opacity: 0; }
.feed-item .blue { color: #7cc3ff; }

.crosshair { position: absolute; left: 50%; top: 50%; --gap: 4px; transition: opacity .1s; }
.crosshair i { position: absolute; background: #6bff8a; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); }
.crosshair .t, .crosshair .b { width: 2px; height: 8px; left: -1px; }
.crosshair .l, .crosshair .r { height: 2px; width: 8px; top: -1px; }
.crosshair .t { bottom: var(--gap); }
.crosshair .b { top: var(--gap); }
.crosshair .l { right: var(--gap); }
.crosshair .r { left: var(--gap); }
.crosshair .dot { width: 2px; height: 2px; left: -1px; top: -1px; }

.hitmarker { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%) rotate(45deg); opacity: 0; }
.hitmarker::before, .hitmarker::after { content: ''; position: absolute; background: #fff; }
.hitmarker::before { left: 12px; top: 0; width: 2px; height: 26px; }
.hitmarker::after { top: 12px; left: 0; height: 2px; width: 26px; }
.hitmarker.show { opacity: 1; }
.hitmarker.head::before, .hitmarker.head::after { background: #ffd23f; }
.hitmarker.kill::before, .hitmarker.kill::after { background: #ff3b3b; }
.hitmarker.kill { width: 40px; height: 40px; }
.hitmarker.kill::before { left: 19px; height: 40px; }
.hitmarker.kill::after { top: 19px; width: 40px; }

.dmg-ind { position: absolute; left: 50%; top: 50%; }
.dmg-ind i {
  position: absolute; left: -60px; top: -140px; width: 120px; height: 30px; transform-origin: 60px 140px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 40, 30, .85), rgba(255, 40, 30, 0) 70%);
  animation: dmgfade .9s forwards;
}
@keyframes dmgfade { to { opacity: 0; } }
.vignette { position: absolute; inset: 0; opacity: 0; box-shadow: inset 0 0 160px rgba(255, 0, 0, .7); }
.vignette.hit { animation: vig .5s; }
@keyframes vig { from { opacity: 1; } to { opacity: 0; } }
.lowhp { position: absolute; inset: 0; opacity: 0; box-shadow: inset 0 0 220px rgba(160, 0, 0, .9); transition: opacity .4s; }

.banner { position: absolute; left: 50%; top: 22%; transform: translate(-50%, -10px); text-align: center; opacity: 0; transition: opacity .3s, transform .3s; }
.banner.show { opacity: 1; transform: translate(-50%, 0); }
.b-title { font: 44px 'Russo One', sans-serif; letter-spacing: 2px; }
.b-sub { font-size: 18px; color: rgba(255, 255, 255, .85); }
.banner.win .b-title { color: var(--accent2); }
.banner.lose .b-title { color: #ff5a4a; }
.banner.info .b-title { color: #fff; }
.banner.go .b-title { color: #8df08f; }

.hud-bl { position: absolute; left: 20px; bottom: 18px; display: flex; gap: 18px; background: rgba(0, 0, 0, .4); padding: 8px 18px; border-radius: 12px; }
.hud-bl > div { display: flex; align-items: center; gap: 8px; }
.hud-bl b { font: 34px 'Russo One', sans-serif; }
.hud-bl .ico { font-size: 22px; opacity: .85; }
.hud-bl .hp .ico { color: #ff6b6b; }
.hud-bl .armor .ico { color: #8fb8ff; }

.hud-br { position: absolute; right: 20px; bottom: 18px; text-align: right; }
.slots { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; margin-bottom: 6px; }
.slot { font-size: 12px; opacity: .55; background: rgba(0, 0, 0, .35); padding: 2px 8px; border-radius: 6px; }
.slot.on { opacity: 1; background: rgba(240, 160, 50, .35); }
.slot kbd { font-size: 10px; padding: 0 4px; }
.wname { font-size: 14px; color: rgba(255, 255, 255, .85); }
.ammo b { font: 40px 'Russo One', sans-serif; }
.ammo span { font-size: 20px; opacity: .75; margin-left: 6px; }
.reload-bar { width: 160px; height: 5px; background: rgba(255, 255, 255, .2); border-radius: 5px; overflow: hidden; margin-left: auto; opacity: 0; }
.reload-bar i { display: block; height: 100%; background: var(--accent2); width: 0; }
.hint { position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%); background: rgba(0, 0, 0, .5); padding: 6px 14px; border-radius: 8px; font-size: 13px; opacity: 0; transition: opacity .3s; white-space: nowrap; }

.scope { position: absolute; inset: 0; display: none; }
.scope.on { display: block; }
.scope-ring { position: absolute; left: 50%; top: 50%; width: 100vmin; height: 100vmin; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 100vmax #000, inset 0 0 60px rgba(0, 0, 0, .9); }
.scope .sh { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #000; }
.scope .sv { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #000; }

.overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 6, 4, .6); }
.buy-panel { width: min(1100px, 96vw); max-height: 92vh; overflow: auto; background: rgba(28, 23, 17, .96); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; color: var(--text); text-shadow: none; }
.buy-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.buy-head h2 { font: 26px 'Russo One', sans-serif; margin: 0; }
.buy-sub { color: var(--muted); font-size: 14px; }
.buy-money { font: 32px 'Russo One', sans-serif; color: #8df08f; }
.buy-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.buy-col h3 { font-size: 13px; color: var(--muted); margin: 0 0 8px; text-transform: uppercase; letter-spacing: 1px; }
.buy-item {
  display: block; width: 100%; text-align: left; margin-bottom: 8px; padding: 10px 10px 8px; border-radius: 10px;
  background: #2b241b; border: 1px solid #45392b; color: var(--text); cursor: pointer; font: 14px Rubik; position: relative;
}
.buy-item:hover { background: #3a2f22; border-color: var(--accent); }
.buy-item.off { opacity: .45; }
.buy-item.owned { border-color: #4f8f5a; opacity: .8; }
.buy-item kbd { position: absolute; right: 8px; top: 8px; font-size: 10px; }
.bname { font-weight: 700; }
.bprice { color: #8df08f; font-weight: 600; }
.bstats { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 11px; color: var(--muted); margin-top: 3px; }
.buy-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.buy-loadout span { margin-right: 10px; }

.pause-card, .over-card, .load-card { background: rgba(28, 23, 17, .97); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; text-align: center; min-width: 320px; max-width: 92vw; text-shadow: none; color: var(--text); }
.pause-card h2 { font: 30px 'Russo One', sans-serif; margin: 0 0 6px; }
.settings { text-align: left; margin: 16px 0; }
.settings label { display: grid; grid-template-columns: 1fr 150px 50px; gap: 10px; align-items: center; margin: 8px 0; font-size: 14px; }
.pause-btns { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.over-title { font: 34px 'Russo One', sans-serif; color: #ff6b5a; }
.over-big { margin: 10px 0; }
.over-big span { font: 72px 'Russo One', sans-serif; color: var(--accent2); display: block; line-height: 1; }
.over-big small { color: var(--muted); }
.over-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 14px 0; text-align: left; }
.over-stats div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 3px 0; }
.over-note { color: #d6c7ae; font-size: 14px; margin-top: 6px; }
.load-title { font: 22px 'Russo One', sans-serif; margin-bottom: 14px; }
.load-bar { height: 8px; background: rgba(255, 255, 255, .1); border-radius: 8px; overflow: hidden; }
.load-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--accent)); transition: width .2s; }
.load-text { color: var(--muted); font-size: 14px; margin-top: 10px; }
.toast { position: absolute; left: 50%; bottom: 140px; transform: translateX(-50%); background: rgba(0, 0, 0, .7); padding: 6px 14px; border-radius: 8px; font-size: 14px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.show { opacity: 1; }
.toast.good { color: #8df08f; }
.toast.bad { color: #ff8a7a; }

@media (max-width: 900px) {
  .buy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hud-tr { width: 230px; }
}
/* ---------- Онлайн ---------- */
.online { margin-bottom: 20px; background: linear-gradient(160deg, #2a1d14, var(--panel)); }
.online-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.online-box { background: rgba(0, 0, 0, .2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.online-box h3 { margin: 0; font: 17px 'Russo One', sans-serif; }
.online-box select, .online-box input {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: #15110d; color: var(--text); font: 15px Rubik;
}
.online-box input { font: 26px 'Russo One', sans-serif; letter-spacing: 8px; text-align: center; }
@media (max-width: 860px) { .online-row { grid-template-columns: 1fr; } }
.load-code { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px 0; }
.load-code span { font: 54px 'Russo One', sans-serif; letter-spacing: 10px; color: var(--accent2); }
.load-card [data-r="loadCancel"] { margin-top: 14px; }
.load-text b { color: var(--accent2); }

.buy-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.rotate-hint { display: none; z-index: 30; font-size: 22px; }

/* ================= ТЕЛЕФОН ================= */
.game-root { touch-action: none; overscroll-behavior: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.touch-ui { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.hud-root .overlay { z-index: 10; }
.touch-ui > * { pointer-events: auto; }
.t-stick-zone { position: absolute; left: 0; bottom: 0; width: 42%; top: 22%; }
.t-stick {
  position: fixed; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .3); display: none; pointer-events: none !important;
}
.t-stick.on { display: block; }
.t-stick i { position: absolute; left: 35px; top: 35px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.t-btn {
  position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35);
  background: rgba(0, 0, 0, .35); color: #fff; font: 600 20px Rubik, sans-serif; display: grid; place-items: center;
  padding: 0; -webkit-tap-highlight-color: transparent; touch-action: none;
}
.t-btn:active, .t-btn.on { background: rgba(240, 160, 50, .55); }
.t-fire { right: 96px; bottom: 74px; width: 88px; height: 88px; font-size: 32px; background: rgba(200, 40, 30, .45); }
.t-fire2 { left: 22px; top: 34%; width: 60px; height: 60px; background: rgba(200, 40, 30, .35); }
.t-jump { right: 20px; bottom: 150px; }
.t-crouch { right: 20px; bottom: 80px; }
.t-scope { right: 196px; bottom: 140px; width: 52px; height: 52px; }
.t-reload { right: 196px; bottom: 74px; width: 52px; height: 52px; }
.t-switch { right: 116px; bottom: 176px; width: 50px; height: 50px; }
.t-knife { right: 50px; bottom: 222px; width: 46px; height: 46px; font-size: 18px; }
.t-nade { right: 176px; bottom: 206px; width: 46px; height: 46px; font-size: 18px; }
.t-buy { left: 50%; top: 104px; transform: translateX(-50%); width: auto; height: auto; border-radius: 10px; padding: 8px 16px; font-size: 15px; }
.t-pause { left: 50%; top: 14px; margin-left: 100px; width: 40px; height: 40px; font-size: 13px; }
.touch-ui.buy-phase .t-stick-zone, .touch-ui.buy-phase .t-btn:not(.t-buy):not(.t-pause) { opacity: .35; }

.is-touch .desk-only { display: none; }
.is-touch .hud-br { right: auto; left: 50%; transform: translateX(-50%); bottom: 6px; text-align: center; }
.is-touch .slots, .is-touch .reload-bar { display: none; }
.is-touch .ammo b { font-size: 26px; }
.is-touch .ammo span { font-size: 14px; }
.is-touch .wname { font-size: 11px; }
.is-touch .hud-bl { left: 12px; bottom: auto; top: 86px; padding: 4px 10px; gap: 10px; }
.is-touch .hud-bl b { font-size: 20px; }
.is-touch .hud-bl .ico { font-size: 14px; }
.is-touch .money { font-size: 20px; }
.is-touch .lives { font-size: 15px; }
.is-touch .hud-tl { left: 12px; top: 8px; }
.is-touch .round-box { padding: 3px 14px 4px; min-width: 120px; }
.is-touch .timer { font-size: 22px; }
.is-touch .score { font-size: 15px; }
.is-touch .hud-tr { right: 10px; top: 8px; width: 200px; }
.is-touch .studio-card { width: 180px; padding: 5px 9px; }
.is-touch .feed-item { font-size: 11px; }
.is-touch .b-title { font-size: 28px; }
.is-touch .b-sub { font-size: 14px; }
.is-touch .hint { bottom: 64px; font-size: 11px; white-space: normal; max-width: 70vw; text-align: center; }
.is-touch .toast { bottom: 110px; }
.is-touch .buy-panel { padding: 10px 12px; max-height: 96vh; }
.is-touch .buy-head h2 { font-size: 18px; }
.is-touch .buy-money { font-size: 20px; }
.is-touch .buy-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 8px 0; }
.is-touch .buy-item { padding: 6px; font-size: 11px; margin-bottom: 5px; }
.is-touch .buy-item kbd, .is-touch .bstats { display: none; }
.is-touch .buy-col h3 { font-size: 10px; margin-bottom: 4px; }
.is-touch .pause-card, .is-touch .over-card { padding: 14px 18px; max-height: 94vh; overflow: auto; }
.is-touch .over-big span { font-size: 48px; }
@media (orientation: portrait) {
  .is-touch .rotate-hint { display: grid; }
}
