/* ---------- Справка «Как играть»: вкладки и карточки ---------- */
.help-tabs { display: flex; gap: 4px; padding: 0 10px 8px; }
.htab { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-weight: 800; font-size: 11px; line-height: 1.1; font-family: inherit; cursor: pointer; overflow: hidden; white-space: nowrap; }
.htab span { font-size: 20px; line-height: 1; }
.htab.active { background: linear-gradient(180deg, var(--accent), #3c9a12); color: #0f2a05; border-color: transparent; }
.help-body { display: flex; flex-direction: column; gap: 8px; padding: 0 10px 14px; }
.hcard { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.hico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.htxt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.htxt b { font-size: 15px; color: var(--accent2); }
.htxt span { font-size: 13px; line-height: 1.3; color: var(--text); }
.hart { padding: 10px; border-radius: 14px; background: var(--panel-solid); border: 1px solid var(--line); }
.hsvg { display: block; width: 100%; height: auto; }
.hsvg.tgt { width: 120px; flex: none; }
.hzt { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.hzrow { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 8px; align-items: center; font-size: 12px; }
.hzrow i { width: 12px; height: 12px; border-radius: 50%; }
.hzrow b { color: var(--text); min-width: 74px; text-align: right; }
.hzrow em { font-style: normal; font-weight: 800; color: var(--accent2); min-width: 64px; text-align: right; }
.hevent { display: flex; align-items: center; gap: 16px; justify-content: center; }
.hevent table { border-collapse: collapse; font-size: 14px; font-weight: 800; }
.hevent td { padding: 3px 8px; }
.hevent td i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; }
.hladder { display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.hstep { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.hstep b { font-size: 11px; color: var(--text); }
.hstep span { font-size: 13px; font-weight: 900; color: var(--accent2); }
.hstep em { font-style: normal; font-size: 11px; color: var(--muted); }
.hchest { width: 100%; max-width: 52px; }
.harr { color: var(--muted); font-size: 22px; font-weight: 900; }
.hflow { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.hflow > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; }
.hflow > div span { font-size: 30px; }
.hflow > i { font-style: normal; color: var(--muted); font-size: 22px; font-weight: 900; }

/* ---------- Справка: красивые карточки по разделам ---------- */
.help-body { --hc1: var(--accent); --hc2: #3c9a12; gap: 10px; }
.help-body[data-sec="shoot"] { --hc1: #ff7a59; --hc2: #d93a2b; }
.help-body[data-sec="modes"] { --hc1: var(--info); --hc2: #2a6fd6; }
.help-body[data-sec="rewards"] { --hc1: var(--accent2); --hc2: #e08a10; }
.help-body[data-sec="weapons"] { --hc1: #b672ff; --hc2: #6a35c9; }
.hcard { gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(150,195,255,.22); background: linear-gradient(135deg, rgba(34,60,104,.62), rgba(13,27,52,.86)); box-shadow: 0 2px 10px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06); }
.hico { width: 52px; height: 52px; border-radius: 15px; font-size: 28px; background: linear-gradient(145deg, var(--hc1), var(--hc2)); box-shadow: 0 3px 8px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35); text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.htxt { gap: 3px; }
.htxt b { font-size: 15px; font-weight: 900; letter-spacing: .01em; color: var(--accent2); }
.htxt span { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.hart { padding: 12px; border-radius: 18px; background: linear-gradient(160deg, rgba(34,60,104,.7), rgba(13,27,52,.92)); border: 1px solid rgba(150,195,255,.25); box-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hxwrap { border-radius: 14px; padding: 6px 0 2px; background: radial-gradient(ellipse at 50% 50%, rgba(255,120,80,.28), rgba(95,183,255,.10) 55%, transparent 75%); }
.hxfig { position: relative; width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 942 / 602; }
.hxfig img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.hxlines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hxlines line { stroke-width: 1.5; opacity: .9; }
.hxdot { position: absolute; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%); border: 1.5px solid #fff; box-shadow: 0 0 6px rgba(0,0,0,.6); }
.hxpill { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; line-height: 1.05; padding: 3px 8px; border-radius: 10px; border: 2px solid; background: rgba(8,16,32,.92); box-shadow: 0 2px 6px rgba(0,0,0,.5); white-space: nowrap; }
.hxpill b { font-size: 13px; font-weight: 900; color: #fff; }
.hxpill em { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--accent2); }
.hzt { gap: 5px; margin-top: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.22); }
.hzrow em.neg { color: #ff8a7a; }

/* Разбор очков раунда (по тапу на строку таблицы раундов): параметр — значение — очки */
.rt-det > td { padding: 4px 0 10px !important; }
table.rt table.brk { width: 100%; border-collapse: collapse; font-size: 12px; margin: 4px 0; background: rgba(255,255,255,.04); border-radius: 10px; overflow: hidden; }
table.rt table.brk caption { text-align: left; font-weight: 800; font-size: 12px; padding: 4px 2px; opacity: .85; }
table.rt table.brk th { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; opacity: .55; font-weight: 700; text-align: left; padding: 6px 8px; }
table.rt table.brk td { padding: 6px 8px; border-top: 1px solid rgba(255,255,255,.07); }
table.rt table.brk td:nth-child(2) { opacity: .7; }
table.rt table.brk td:last-child, table.rt table.brk th:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
table.rt table.brk tr.neg td:last-child { color: #ff7a6b; }
table.rt table.brk tr.tot td { font-weight: 900; color: #8fe04a; border-top: 1px solid rgba(255,255,255,.18); }
