/* Rainbow Six Siege free tools (Batch 188) — tools/r6_squad.html, r6_rewards.html, r6_eligibility.html. Loaded after
   content.css and kit.css (.kit-chip, .kit-locked-note). Everything here is prefixed .r6t- (shared) / .r6s- (squad
   checker) / .r6w- (rewards track) / .r6e- (eligibility) except the .tool-r6 theme, which recolours the shared tool kit
   in Siege blue. The blue is too light for white text (kit.accent_ink), so filled buttons use near-black ink. */
.tool-r6 { --taccent: #3d8bff; --accent-hot: #6ea8ff; --accent: #3d8bff; --accent-rgb: 61,139,255; --accent-deep: #1f63d1;
  --accent-ink: #06101f; --accent-btn: #3d8bff; }
.tool-r6 .btn-primary:hover { background: #6ea8ff; color: #06101f; }
.tool-r6 .fe-stat b { color: #8cbcff; }

/* ---- shared */
.r6t-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.r6t-form { display: grid; gap: 14px; }
.r6t-lbl { display: block; margin: 0 0 8px; padding: 0; font: 700 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.r6t-faint { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-faint); }
.r6t-hint { margin: 0; font-size: 12.5px; color: var(--text-faint); line-height: 1.5; }
.r6t-hint b { color: var(--text-muted); }
.r6t-go { justify-self: start; }
.r6t-seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.r6t-seg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.r6t-pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text-muted); font: 650 13.5px/1.1 var(--font); cursor: pointer;
  transition: border-color .15s, color .15s, background .15s; }
.r6t-pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.r6t-pill small { font-weight: 600; color: var(--text-faint); }
.r6t-pill:hover { border-color: var(--border-strong); color: var(--text); }
.r6t-pill:has(input:checked) { border-color: var(--accent); color: var(--text); background: color-mix(in srgb, var(--accent) 16%, var(--bg)); }
.r6t-pill:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.r6t-size { min-width: 44px; font-variant-numeric: tabular-nums; }
.r6t-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--text-muted); cursor: pointer; }
.r6t-check input[type=checkbox] { width: 18px; height: 18px; flex: none; margin: 1px 0 0; accent-color: var(--accent); }
.r6t-check b { color: var(--text); }
.r6t-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.r6t-nums .bxc-num { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.r6t-nums label[hidden] { display: none; }
.r6t-block { display: grid; gap: 10px; }
.r6t-block > .r6t-lbl { margin: 0; }
.r6t-maths { margin: 12px 0 0; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px dashed var(--border-strong);
  font-size: 13.5px; line-height: 1.55; color: var(--text-muted); overflow-wrap: anywhere; }
.r6t-maths b { color: var(--text); margin-right: 4px; font: 700 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.r6t-meta { line-height: 1.55; }
.r6t-notes { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.r6t-notes[hidden] { display: none; }
.r6t-notes li { position: relative; padding: 9px 12px 9px 30px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border);
  font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.r6t-notes li::before { content: ""; position: absolute; left: 12px; top: 15px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.r6t-table td, .r6t-table th { vertical-align: middle; }
.r6t-table .kit-chip img { width: 24px; height: 24px; }
.r6t-src { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 12.5px; line-height: 1.5; color: var(--text-faint); }
.r6t-src b { color: var(--text-muted); }
.r6t-src ul { margin: 6px 0 0; padding-left: 18px; }
.r6t-src li { margin: 3px 0; }
.r6t-src a { color: var(--text-muted); overflow-wrap: anywhere; }
.r6t-locked { margin: 10px 0 0; }
.r6t-locked a { color: #f2c75c; text-decoration: underline; text-underline-offset: 2px; }
.r6t-tag { display: inline-block; padding: 4px 9px; border-radius: 999px; font: 700 12px/1 var(--font); white-space: nowrap; }
.r6t-tag.is-ok { color: #3ddc84; background: rgba(61,220,132,.12); border: 1px solid rgba(61,220,132,.35); }
.r6t-tag.is-no { color: #ff7a7a; background: rgba(255,92,92,.12); border: 1px solid rgba(255,92,92,.35); }
.r6t-tag.is-maybe { color: #ffcf8a; background: rgba(255,181,71,.12); border: 1px solid rgba(255,181,71,.35); }
.r6t-boost { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.r6t-boost h3 { margin: 0; font-size: 17px; }
.r6t-boost .muted { margin: 6px 0 12px; font-size: 14px; line-height: 1.55; }

/* the rank tiles: Ubisoft's badges as radio buttons (tools/r6_shared.html r6_tier_tiles) */
.r6t-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.r6t-tiles.has-none { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.r6t-tile { --tc: #888; position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 7px 2px 6px;
  border-radius: 10px; border: 1px solid var(--border); background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.r6t-tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.r6t-tile img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)) grayscale(.35); opacity: .78; transition: opacity .15s, filter .15s; }
.r6t-tile span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 10.5px/1.1 var(--font); color: var(--text-faint); }
.r6t-tile:hover { border-color: var(--border-strong); }
.r6t-tile:hover img { opacity: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.r6t-tile:has(input:checked) { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 16%, var(--bg));
  box-shadow: inset 0 0 0 1px var(--tc), 0 0 14px color-mix(in srgb, var(--tc) 28%, transparent); }
.r6t-tile:has(input:checked) img { opacity: 1; filter: drop-shadow(0 3px 6px rgba(0,0,0,.55)); }
.r6t-tile:has(input:checked) span { color: var(--text); }
.r6t-tile:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.r6t-none i { display: grid; place-items: center; width: 34px; height: 34px; font: 800 18px/1 var(--font); font-style: normal; color: var(--text-faint); }
.r6t-none:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); box-shadow: inset 0 0 0 1px var(--accent); }
.r6t-tiles-sm .r6t-tile img, .r6t-tiles-sm .r6t-none i { width: 30px; height: 30px; }

/* ---- squad checker */
.r6s-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.r6s-pl { max-width: 430px; }
.r6s-players { display: grid; gap: 10px; }
.r6s-player { display: grid; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--panel) 45%, var(--bg)); border: 1px solid var(--border); }
.r6s-player[hidden] { display: none; }
.r6s-player-h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.r6s-num, .r6s-mk { display: inline-grid; place-items: center; border-radius: 50%; font: 800 13px/1 var(--font); color: #06101f; background: var(--mk, #3d8bff); flex: none; }
.r6s-num { width: 26px; height: 26px; }
.r6s-mk1 { --mk: #6ea8ff; } .r6s-mk2 { --mk: #f0c34e; } .r6s-mk3 { --mk: #c3a6ff; } .r6s-mk4 { --mk: #7fdc8f; } .r6s-mk5 { --mk: #ff8f87; }
.r6s-badge { width: 36px; height: 36px; object-fit: contain; flex: none; filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
.r6s-who { display: grid; gap: 1px; min-width: 0; flex: 1 1 auto; }
.r6s-who b { font: 700 11.5px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.r6s-who output { font: 800 16px/1.2 var(--font-display); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r6s-if { display: none; }
.r6s-div { flex: none; }
.r6s-div-sel { width: auto; min-width: 116px; padding: 8px 10px; font-size: 14px; }
.r6s-result { --rc: #3ddc84; margin: 20px 0 0; padding: 16px 18px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--rc) 45%, var(--border));
  background: radial-gradient(120% 150% at 90% 0%, color-mix(in srgb, var(--rc) 13%, transparent), transparent 62%), var(--bg); }
.r6s-result.is-blocked { --rc: #ff5c5c; }
.r6s-result.is-placements { --rc: #6ea8ff; }
.r6s-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.r6s-verdict b { font: 800 24px/1.15 var(--font-display); color: var(--rc); }
.r6s-verdict small { font-size: 12.5px; font-weight: 650; color: var(--text-faint); }
.r6s-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--rc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rc) 22%, transparent); flex: none; }
.r6s-reason { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.r6s-after, .r6s-join { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.r6s-join { font-weight: 650; color: var(--text); }
.r6s-after[hidden], .r6s-join[hidden], .r6s-fix[hidden] { display: none; }
.r6s-fix { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.r6s-fix li { padding: 8px 12px; border-left: 3px solid var(--rc); border-radius: 0 8px 8px 0; background: color-mix(in srgb, var(--rc) 8%, transparent);
  font-size: 13.5px; line-height: 1.5; color: var(--text); }
.r6s-notes li { background: color-mix(in srgb, var(--panel) 60%, var(--bg)); }
.r6s-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin: 18px 0 0; padding: 12px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border); }
.r6s-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 8px 2px; border-radius: 8px;
  background: color-mix(in srgb, var(--tc) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc) 22%, transparent); }
.r6s-cell img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)) grayscale(.5); opacity: .55; }
.r6s-cell-n { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 10px/1.1 var(--font); color: var(--text-faint); }
.r6s-cell.in { background: rgba(61,220,132,.2); box-shadow: inset 0 0 0 1px rgba(61,220,132,.75), 0 0 10px rgba(61,220,132,.25); }
.r6s-cell.in img { filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); opacity: 1; }
.r6s-cell.in .r6s-cell-n { color: var(--text); }
.r6s-mks { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; min-height: 16px; }
.r6s-mk { width: 16px; height: 16px; font-size: 10px; }
.r6s-legend { margin: 8px 0 0; font-size: 12px; color: var(--text-faint); line-height: 1.45; }
.r6s-mx-wrap { max-width: 640px; }
.r6s-mx { width: 100%; table-layout: fixed; }
.r6s-mx th, .r6s-mx td { padding: 6px 2px; text-align: center; vertical-align: middle; }
.r6s-mx thead th { width: 10%; }
.r6s-mx thead th:first-child, .r6s-mx tbody th { width: 20%; text-align: left; padding-left: 8px; }
.r6s-mx thead img { width: 24px; height: 24px; object-fit: contain; vertical-align: middle; }
.r6s-mx tbody th .kit-chip { gap: 6px; font-size: 13px; }
.r6s-mx td { font-weight: 800; font-size: 14px; }
.r6s-mx td.is-ok { color: #3ddc84; background: rgba(61,220,132,.10); }
.r6s-mx td.is-no { color: rgba(255,122,122,.55); }

/* ---- rewards track */
.r6w-by { display: flex; flex-wrap: wrap; gap: 8px; }
.r6w-track { margin: 20px 0 0; padding: 14px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border-strong); }
.r6w-track-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px;
  font: 700 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.r6w-track-h b { font: 800 20px/1 var(--font-display); letter-spacing: 0; text-transform: none; color: var(--accent-hot); font-variant-numeric: tabular-nums; white-space: nowrap; }
.r6w-steps { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 4px; list-style: none; margin: 0; padding: 0; }
.r6w-step { display: grid; justify-items: center; gap: 5px; min-width: 0; }
.r6w-glyph { --gc: #8a96a8; display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-width: 40px; border-radius: 9px; color: var(--gc);
  background: color-mix(in srgb, var(--gc) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gc) 22%, transparent); opacity: .55; transition: opacity .2s, background .2s; }
.r6w-glyph .ic { width: 62%; height: 62%; }
.r6w-step.k-coins .r6w-glyph { --gc: #f0c34e; }
.r6w-step.k-packs .r6w-glyph { --gc: #6ea8ff; }
.r6w-step.k-card .r6w-glyph, .r6w-step.k-charm .r6w-glyph { --gc: #c3a6ff; }
.r6w-step.k-headgear .r6w-glyph { --gc: #ff8f87; }
.r6w-step.on .r6w-glyph { opacity: 1; background: color-mix(in srgb, var(--gc) 22%, var(--bg)); box-shadow: inset 0 0 0 1px var(--gc), 0 0 10px color-mix(in srgb, var(--gc) 30%, transparent); }
.r6w-step.next .r6w-glyph { opacity: 1; box-shadow: inset 0 0 0 2px var(--gc); }
.r6w-seg { position: relative; width: 100%; height: 8px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.07); }
.r6w-seg i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #1f63d1, #6ea8ff); }
.r6w-step small { font: 700 10px/1 var(--font); color: var(--text-faint); font-variant-numeric: tabular-nums; }
.r6w-step.on small { color: var(--text-muted); }
.r6w-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--text-faint); }
.r6w-legend li { display: inline-flex; align-items: center; gap: 6px; }
.r6w-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--gc); }
.r6w-next { margin: 12px 0 0; font-size: 14px; line-height: 1.5; font-weight: 650; color: var(--text); }
.r6w-plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; }
.r6w-plan[hidden] { display: none; }
.r6w-plan > div { display: grid; gap: 4px; padding: 12px 13px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--border); min-width: 0; }
.r6w-plan span { font: 750 11px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.r6w-plan b { font: 800 22px/1.1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.r6w-plan small { font-size: 12px; color: var(--text-muted); }
.r6w-plan .is-main { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); background: color-mix(in srgb, var(--accent) 9%, var(--bg)); }
.r6w-plan .is-main b { color: var(--accent-hot); }
.r6w-deadline { margin: 10px 0 0; padding: 10px 13px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.r6w-deadline[hidden] { display: none; }
.r6w-deadline.is-late { background: rgba(255,181,71,.08); border-color: rgba(255,181,71,.35); color: #ffd9a3; }
.r6w-rank { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; margin: 16px 0 0; padding: 14px; border-radius: var(--radius);
  background: radial-gradient(120% 160% at 0% 0%, color-mix(in srgb, var(--rk, #3d8bff) 16%, transparent), transparent 65%), var(--bg); border: 1px solid var(--border); }
.r6w-rank img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.r6w-rank img[hidden] { display: none; }
.r6w-rank-none { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; border: 1px dashed var(--border-strong); color: var(--text-faint); font: 800 22px/1 var(--font); }
.r6w-rank-none[hidden] { display: none; }
.r6w-rank h3 { margin: 0 0 4px; font-size: 15px; }
.r6w-rank p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.r6w-got { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.r6w-got li { padding: 5px 10px; border-radius: 999px; font: 650 12px/1.2 var(--font); color: var(--text); background: color-mix(in srgb, #c3a6ff 14%, var(--bg)); border: 1px solid color-mix(in srgb, #c3a6ff 40%, var(--border)); }
.r6w-got[hidden] { display: none; }
.r6w-tbl td:first-child { font-variant-numeric: tabular-nums; font-weight: 700; }
.r6w-tbl .r6w-k { display: inline-flex; align-items: center; gap: 8px; }
.r6w-tbl .r6w-k .ic { flex: none; }
.r6w-tbl .k-coins .ic { color: #f0c34e; } .r6w-tbl .k-packs .ic { color: #6ea8ff; }
.r6w-tbl .k-card .ic, .r6w-tbl .k-charm .ic { color: #c3a6ff; } .r6w-tbl .k-headgear .ic { color: #ff8f87; }
.r6w-ranks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.r6w-ranks li { display: grid; justify-items: center; gap: 4px; min-width: 0; padding: 8px 2px; border-radius: 10px; background: color-mix(in srgb, var(--tc) 8%, var(--bg)); border: 1px solid color-mix(in srgb, var(--tc) 30%, var(--border)); }
.r6w-ranks img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
.r6w-ranks span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 11px/1.1 var(--font); color: var(--text-muted); }

/* ---- eligibility */
.r6e-sec { display: grid; gap: 14px; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--panel) 45%, var(--bg)); border: 1px solid var(--border); }
.r6e-sec > h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; }
.r6e-sec > h3 .ic { color: var(--accent-hot); }
.r6e-q { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.r6e-q > legend, .r6e-q > .r6t-lbl { margin: 0 0 8px; }
.r6e-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.r6e-level { max-width: 220px; }
.r6e-st .r6t-pill { --sc: #8a96a8; }
.r6e-st .r6t-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sc); flex: none; }
.r6e-st .r6t-pill:has(input:checked) { border-color: var(--sc); background: color-mix(in srgb, var(--sc) 14%, var(--bg)); }
.r6e-st .s-exemplary { --sc: #3ddc84; } .r6e-st .s-esteemed { --sc: #7fdc8f; } .r6e-st .s-respectable { --sc: #6ea8ff; }
.r6e-st .s-disruptive { --sc: #ffb547; } .r6e-st .s-dishonorable { --sc: #ff5c5c; }
.r6e-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); }
.r6e-pc[hidden] { display: none; }
.r6e-pc .r6t-lbl { grid-column: 1 / -1; margin: 0; }
.r6e-pc .r6t-check { align-items: center; }
.r6e-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 0; align-items: start; }
.r6e-card { --rc: #3ddc84; display: grid; align-content: start; gap: 10px; padding: 16px; border-radius: var(--radius); min-width: 0;
  border: 1px solid color-mix(in srgb, var(--rc) 45%, var(--border)); background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--rc) 12%, transparent), transparent 62%), var(--bg); }
.r6e-card.is-no { --rc: #ff7a5c; }
.r6e-card-k { font: 750 11.5px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.r6e-card-h { display: flex; align-items: flex-start; gap: 10px; }
.r6e-card-h b { font: 800 19px/1.2 var(--font-display); color: var(--rc); }
.r6e-card-h .r6s-dot { margin-top: 5px; }
.r6e-first { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.r6e-gates { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.r6e-gate { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px 10px; border-radius: 9px; background: color-mix(in srgb, var(--panel) 55%, var(--bg)); }
.r6e-gate i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 900 12px/1 var(--font); font-style: normal; }
.r6e-gate.is-ok i { color: #06140c; background: #3ddc84; }
.r6e-gate.is-no i { color: #1a0606; background: #ff7a5c; }
.r6e-gate.is-maybe i { color: #1a1206; background: #ffcf8a; }
.r6e-gate b { display: block; font-size: 13.5px; color: var(--text); }
.r6e-gate span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.r6e-gate.is-maybe { background: rgba(255,181,71,.07); }
.r6e-gate span.r6t-tag { display: inline-block; margin-left: 6px; padding: 3px 7px; font-size: 11px; line-height: 1; color: #ffcf8a; vertical-align: 1px; }
.r6e-window { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.r6e-window .r6t-tag { margin-right: 8px; vertical-align: 1px; }
.r6e-window b { color: var(--text); }
.r6e-vs th:first-child { width: 26%; }

@media (max-width: 860px) {
  .r6e-cards { grid-template-columns: minmax(0, 1fr); }
  .r6w-steps { grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 3px; }
}
@media (max-width: 560px) {
  .tool-r6 .tool-body { padding-left: 16px; padding-right: 16px; }
  .r6t-card { padding: 18px 14px 16px; }
  .r6t-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r6t-pill { padding: 9px 11px; font-size: 13px; }
  .r6t-tiles { gap: 4px; }
  .r6t-tile { padding: 6px 0 5px; border-radius: 8px; }
  .r6t-tile span { display: none; }
  .r6t-none span { display: block; font-size: 9.5px; }
  .r6t-tile img, .r6t-none i { width: 28px; height: 28px; }
  .r6t-tiles.has-none { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .r6s-player { padding: 10px; }
  .r6s-who output { font-size: 15px; }
  .r6s-div-sel { min-width: 0; width: 104px; }
  .r6s-verdict { display: grid; grid-template-columns: 12px minmax(0, 1fr); column-gap: 10px; }
  .r6s-verdict b { font-size: 20px; }
  .r6s-verdict small { grid-column: 2; }
  .r6s-strip { gap: 3px; padding: 8px 6px; }
  .r6s-cell { padding: 6px 0; }
  .r6s-cell img { width: 24px; height: 24px; }
  .r6s-cell-n { display: none; }
  .r6s-mk { width: 14px; height: 14px; font-size: 9px; }
  .r6s-mx th, .r6s-mx td { padding: 5px 1px; font-size: 12px; }
  .r6s-mx thead img { width: 20px; height: 20px; }
  .r6s-mx thead th:first-child, .r6s-mx tbody th { width: 13%; padding-left: 4px; }
  .r6s-mx tbody th .kit-chip img { width: 22px; height: 22px; margin: 0; }
  .r6s-mx-n { display: none; }
  .r6w-steps { grid-template-columns: repeat(8, minmax(0, 1fr)); row-gap: 10px; }
  .r6w-track { padding: 12px 10px; }
  .r6w-plan { grid-template-columns: minmax(0, 1fr); }
  .r6w-plan > div { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 10px; }
  .r6w-plan small { grid-column: 1 / -1; }
  .r6w-plan b { font-size: 19px; text-align: right; }
  .r6w-rank { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .r6w-rank img, .r6w-rank-none { width: 48px; height: 48px; }
  .r6w-ranks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .r6e-sec { padding: 12px 10px; }
  .r6e-row, .r6e-pc { grid-template-columns: minmax(0, 1fr); }
  .r6e-level { max-width: none; }
  .r6t-table th, .r6t-table td { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 380px) {
  .r6s-player-h { flex-wrap: wrap; }
  .r6s-div { margin-left: 36px; }
  .r6t-nums { gap: 10px; }
}
