/* docs/styles.css (FULL REPLACEMENT) — LIVE TOP 2-LINE + MATRIX RW&B SCREAMERS */

:root{
  --bg:#06070a;
  --card: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.12);
  --text:#eef2f7;
  --muted: rgba(238,242,247,.65);

  --red:#d64040;
  --white:#eef2f7;
  --blue:#2f66ff;

  --aim:#67f3a4;
  --hit:#b7ff3c;

  /* Screamer tuning */
  --screamGlow: rgba(103,243,164,.22);
  --screamGlow2: rgba(47,102,255,.18);
  --screamEdge: rgba(214,64,64,.22);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(47,102,255,.14), transparent 60%),
    radial-gradient(800px 500px at 85% 0%, rgba(214,64,64,.10), transparent 60%),
    linear-gradient(180deg, #04050a, var(--bg));
}

.page{
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 12px 90px;
}

/* ===== HERO ===== */
.hero{
  position: relative;
  background: radial-gradient(1200px 600px at 25% 15%, rgba(47,102,255,.20), transparent 60%),
              radial-gradient(900px 600px at 80% 30%, rgba(214,64,64,.18), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 18px 16px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  overflow: hidden;
}

.brandRow{ display:flex; flex-direction:column; gap:6px; padding: 4px 2px 10px; }

.brandTitle{
  font-weight: 1000;
  letter-spacing: .06em;
  font-size: clamp(28px, 5.4vw, 46px);
  line-height: 1.02;
  text-transform: uppercase;
  user-select:none;
  -webkit-user-select:none;
}
.brandTitle .r{ color: var(--red); }
.brandTitle .w{ color: var(--white); }
.brandTitle .b{ color: var(--blue); }

.brandSub{
  font-size: clamp(16px, 2.6vw, 22px);
  font-weight: 900;
  color: rgba(238,242,247,.80);
  letter-spacing: .02em;
}

.heroMid{
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  gap: 14px;
  align-items:center;
  text-align:center;
}

.heroBtn{
  width: 100%;
  max-width: 720px;
  height: 74px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(214,64,64,.88);
  color: #eef2f7;
  font-weight: 1000;
  font-size: clamp(18px, 3.2vw, 26px);
  letter-spacing: .02em;
  cursor:pointer;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
}
.heroBtn:active{ transform: translateZ(0) translateY(1px); }

.heroTip{
  font-weight: 900;
  font-size: clamp(18px, 3.2vw, 30px);
  line-height: 1.14;
  color: rgba(238,242,247,.92);
  max-width: 820px;
}

/* Vendor center row */
.vendorCenterRow{
  margin-top: 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 8px;
  width: 100%;
}

.vendorBox{
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.24);
  box-shadow: 0 16px 44px rgba(0,0,0,.35);
  text-decoration:none;
  color: rgba(238,242,247,.92);
  display: inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  -webkit-tap-highlight-color: transparent;
  user-select:none;
  -webkit-user-select:none;
}

.vendorBoxFlow{ width: min(520px, 92%); max-width: 720px; }
.vendorBoxFlow, .vendorBoxFlow *{ pointer-events:auto; }

.vendorPillText{
  font-weight: 1000;
  letter-spacing: .12em;
  font-size: 13px;
  text-transform: uppercase;
  color: rgba(238,242,247,.90);
  line-height: 1.1;
  white-space: nowrap;
}

.vendorWireFlow{
  width: min(520px, 92%);
  height: 36px;
  opacity: .55;
  pointer-events:none;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.55));
}

/* iOS: do NOT display:none file input */
.fileHidden{
  position:absolute;
  left:-9999px;
  width:1px; height:1px;
  opacity:0;
}

/* ===== shared cards ===== */
.card{
  border: 1px solid var(--stroke);
  background: var(--card);
  border-radius: 18px;
  overflow:hidden;
  margin-top: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

.cardTitle{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  letter-spacing:.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  color: rgba(238,242,247,.75);
}

/* header row: SHOOTER EXPERIENCE CARD + SEC */
.cardTitleSEC{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.secTitle{
  display:flex;
  align-items:baseline;
  gap: 10px;
  font-weight: 1000;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
}
.secTitle .r{ color: var(--red); }
.secTitle .w{ color: var(--white); }
.secTitle .b{ color: var(--blue); }

.secTag{
  font-weight: 1100;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 12px;
  white-space: nowrap;
}
.secTag .r{ color: var(--red); }
.secTag .w{ color: var(--white); }
.secTag .b{ color: var(--blue); }

.scoreHidden{ display:none !important; }
.mt12{ margin-top:12px; }

/* ============================================================
   LIVE BAR — 2 LINES
============================================================ */
.liveBar{
  padding: 10px 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
}

.liveRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.liveRowTop{ flex-wrap: nowrap; }
.liveRowBottom{ justify-content:flex-start; margin-top: 6px; }

.liveLine{
  display:flex;
  align-items:baseline;
  gap: 8px;
  min-width: 0;
  overflow:hidden;
}

.liveLinePrimary{
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: .02em;
  white-space: nowrap;
}

.liveSep{
  opacity: .40;
  font-weight: 900;
  letter-spacing: .12em;
  white-space: nowrap;
}

/* Target line (line 2, left) */
.liveTargetLine{
  display:flex;
  align-items:baseline;
  gap: 8px;
  min-width: 0;
}

.liveLineMiniLabel{
  font-size: 12px;
  font-weight: 1100;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(238,242,247,.70);
  white-space: nowrap;
}

.liveLineMiniValue{
  font-size: 13px;
  font-weight: 1100;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(238,242,247,.92);
  white-space: nowrap;
}

/* Matrix button */
.matrixBtn{
  height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(47,102,255,.35);
  background: rgba(47,102,255,.12);
  color: rgba(238,242,247,.92);
  font-weight: 1100;
  letter-spacing: .16em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex: 0 0 auto;
}
.matrixBtnTight{
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
}

/* ============================================================
   MATRIX PANEL — RW&B AUTHORITY + SCREAMERS
============================================================ */
.matrixPanel{
  margin: 10px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.20)),
    radial-gradient(900px 320px at 20% 0%, rgba(47,102,255,.16), transparent 60%),
    radial-gradient(900px 320px at 80% 0%, rgba(214,64,64,.14), transparent 60%);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  padding: 12px;

  /* Screamer outer aura */
  outline: 1px solid rgba(103,243,164,.08);
  box-shadow:
    0 18px 50px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.06),
    0 0 30px rgba(103,243,164,.10),
    0 0 34px rgba(47,102,255,.10);
}
.matrixHidden{ display:none; }

/* MATRIX title = RW&B authority bar */
.matrixTitle{
  font-weight: 1200;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(238,242,247,.95);
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(90deg,
      rgba(214,64,64,.26),
      rgba(238,242,247,.10),
      rgba(47,102,255,.24)
    );
  position: relative;
  overflow:hidden;
}

/* Title shimmer (one tasteful pass) */
.matrixTitle::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-30%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  transform: rotate(18deg);
  animation: screamShine 2.4s ease-in-out 1;
  pointer-events:none;
}
@keyframes screamShine{
  0%{ transform: translateX(-40%) rotate(18deg); opacity:0; }
  30%{ opacity:.9; }
  100%{ transform: translateX(240%) rotate(18deg); opacity:0; }
}

/* each section */
.matrixGroup{
  margin-bottom: 14px;
  padding: 10px 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow:hidden;
}

/* ACTIVE SECTION = SCREAMER SPOTLIGHT */
.matrixGroup:focus-within{
  border-color: rgba(103,243,164,.22);
  box-shadow:
    0 18px 46px rgba(0,0,0,.55),
    0 0 0 1px rgba(103,243,164,.12),
    0 0 26px var(--screamGlow),
    0 0 22px var(--screamGlow2);
  transform: translateY(-1px);
}

/* RW&B stripe on active section */
.matrixGroup:focus-within::before{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  top:10px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(214,64,64,.75),
    rgba(238,242,247,.30),
    rgba(47,102,255,.70)
  );
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 0 18px rgba(103,243,164,.14);
}

/* section labels = bold + colored */
.matrixLabel{
  font-size: 12px;
  font-weight: 1200;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(238,242,247,.92);
  margin-bottom: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(90deg,
      rgba(214,64,64,.18),
      rgba(255,255,255,.06),
      rgba(47,102,255,.16)
    );
}

/* label gets louder when active */
.matrixGroup:focus-within .matrixLabel{
  border-color: rgba(103,243,164,.24);
  box-shadow:
    0 0 0 1px rgba(103,243,164,.10),
    0 0 18px rgba(103,243,164,.10);
}

.matrixRow{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}

.matrixMicro{
  margin-top: 10px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(238,242,247,.62);
  line-height: 1.2;
}

/* chips */
.chipRow{ display:flex; gap: 10px; flex-wrap: wrap; }
.chipRowTight{ gap: 8px; }

.chip{
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.16);
  color: rgba(238,242,247,.95);
  font-weight: 1100;
  letter-spacing: .08em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
.chip:active{ transform: translateY(1px); }

/* Focus ring = screamer */
.chip:focus-visible{
  outline: none;
  border-color: rgba(103,243,164,.40);
  box-shadow:
    0 0 0 2px rgba(103,243,164,.18),
    0 0 22px rgba(103,243,164,.14);
}

/* selected chip highlight */
.chipOn{
  border-color: rgba(103,243,164,.44) !important;
  background: rgba(103,243,164,.12) !important;
  color: rgba(238,242,247,.98) !important;
  box-shadow:
    0 0 0 1px rgba(103,243,164,.14),
    0 0 22px rgba(103,243,164,.16);
}

/* matrix footer */
.matrixFoot{ display:flex; justify-content:flex-end; padding-top: 4px; }

.matrixCloseBtn{
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(103,243,164,.28);
  background: rgba(103,243,164,.10);
  color: rgba(238,242,247,.92);
  font-weight: 1100;
  letter-spacing: .10em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, box-shadow .14s ease;
}
.matrixCloseBtn:active{ transform: translateY(1px); }
.matrixCloseBtn:focus-visible{
  outline:none;
  box-shadow: 0 0 0 2px rgba(103,243,164,.18), 0 0 24px rgba(103,243,164,.14);
}

/* controls */
.miniBtn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  color: #eef2f7;
  font-size: 20px;
  font-weight: 1100;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex: 0 0 auto;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.miniBtn:active{ transform: translateY(1px); }
.miniBtn:focus-visible{
  outline:none;
  border-color: rgba(103,243,164,.34);
  box-shadow: 0 0 0 2px rgba(103,243,164,.16), 0 0 22px rgba(103,243,164,.12);
}

.miniBtnTight{
  width: 30px;
  height: 38px;
  border-radius: 12px;
  font-size: 20px;
}

.miniInput{
  width: 92px;
  max-width: 92px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  color: #eef2f7;
  font-weight: 1100;
  font-size: 18px;
  text-align:center;
  outline:none;
  flex: 0 0 auto;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.miniInput:focus{
  border-color: rgba(103,243,164,.34);
  box-shadow: 0 0 0 2px rgba(103,243,164,.16), 0 0 26px rgba(103,243,164,.10);
}
.miniInputTight{
  width: 72px;
  max-width: 72px;
  height: 38px;
  font-size: 18px;
  border-radius: 12px;
}

.miniInputWide{
  width: 120px;
  max-width: 120px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  color: #eef2f7;
  font-weight: 1100;
  font-size: 18px;
  text-align:center;
  outline:none;
  flex: 0 0 auto;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.miniInputWide:focus{
  border-color: rgba(103,243,164,.34);
  box-shadow: 0 0 0 2px rgba(103,243,164,.16), 0 0 26px rgba(103,243,164,.10);
}
.miniInputWideTight{
  width: 86px;
  max-width: 86px;
  height: 38px;
  font-size: 18px;
  border-radius: 12px;
}

.miniUnit{
  font-size: 14px;
  font-weight: 1100;
  letter-spacing: .02em;
  color: rgba(238,242,247,.86);
  padding: 0 2px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.segBtn{
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.14);
  color: rgba(238,242,247,.95);
  font-weight: 1100;
  letter-spacing: .08em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.segBtn:active{ transform: translateY(1px); }
.segBtn:focus-visible{
  outline:none;
  border-color: rgba(103,243,164,.30);
  box-shadow: 0 0 0 2px rgba(103,243,164,.14), 0 0 22px rgba(103,243,164,.10);
}

.segBtn.segOn{
  border-color: rgba(103,243,164,.35);
  background: rgba(103,243,164,.10);
  box-shadow: 0 0 18px rgba(103,243,164,.10);
}

.segBtnTiny{
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
}

.unitToggle{ display:flex; gap: 6px; align-items:center; }

/* ============================================================
   Target wrap + dots
============================================================ */
.targetWrap{
  width: calc(100% - 28px);
  margin: 0 14px 12px;
  border-radius: 16px;
  overflow:hidden;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  position: relative;
  scroll-margin-top: 14px;
}

#targetImg{
  width: 100%;
  height: auto;
  display:block;
  user-select:none;
  -webkit-user-drag:none;
}

.dotsLayer{
  position:absolute;
  left:0; top:0; right:0; bottom:0;
  pointer-events:none;
}

/* Dot sizes (aim bigger, bullet holes smaller) */
.tapDot{
  position:absolute;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
}
.tapDotAim{ width: 14px; height: 14px; }
.tapDotHit{ width: 8px; height: 8px; }

/* Row + buttons */
.row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  padding: 0 14px 14px;
}
.rowTight{ padding-top: 0; }

.pill{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  color: rgba(238,242,247,.80);
  font-weight: 900;
}

.btnSecondary{
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 950;
  cursor:pointer;
  border: 1px solid rgba(214,64,64,.45);
  background: rgba(214,64,64,.12);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.btnSecondary:active{ transform: translateY(1px); }

.hint{
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

/* BIG INSTRUCTION */
.instructionLine{
  padding: 2px 14px 16px;
  text-align:center;
  font-size: 18px;
  font-weight: 1100;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(238,242,247,.86);
}

/* Footer */
.footer{
  margin-top: 14px;
  text-align:center;
  color: rgba(238,242,247,.30);
  font-weight: 900;
  letter-spacing:.22em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 10px 0 0;
}
.footerMark{ opacity:.9; }

/* Sticky Results Bar */
.stickyBar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 12px 12px 18px;
  background: linear-gradient(180deg, rgba(6,7,10,0), rgba(6,7,10,.85) 30%, rgba(6,7,10,.95));
  display:flex;
  justify-content:center;
  z-index: 9999;
}
.stickyHidden{ display:none; }

.stickyBtn{
  width: min(560px, 100%);
  border-radius: 18px;
  padding: 16px 14px;
  font-size: 16px;
  font-weight: 1000;
  border: 1px solid rgba(103,243,164,.35);
  background: rgba(103,243,164,.12);
  color: var(--text);
  cursor:pointer;
  box-shadow:
    0 18px 45px rgba(0,0,0,.55),
    0 0 0 1px rgba(103,243,164,.22),
    0 0 22px rgba(103,243,164,.18);
  -webkit-tap-highlight-color: transparent;
}
.stickyBtn:active{ transform: translateY(1px); }

/* ============================================================
   MATRIX TIGHTEN (PASTE AT BOTTOM)
   Goal: fit the entire Matrix drawer on one phone screen.
============================================================ */

/* Drawer box tighter */
.matrixPanel{
  margin: 8px 12px 10px;
  padding: 10px;
  border-radius: 14px;
}

/* Headings tighter + bolder */
.matrixTitle{
  font-size: 11px;
  font-weight: 1000;
  margin-bottom: 8px;
  letter-spacing: .14em;
}

.matrixGroup{ margin-bottom: 10px; }
.matrixLabel{
  font-size: 11px;
  font-weight: 1000;
  margin-bottom: 6px;
  letter-spacing: .10em;
}

/* Rows tighter */
.matrixRow{ gap: 8px; }
.chipRow{ gap: 8px; }
.chipRowTight{ gap: 6px; }

/* Chips smaller */
.chip{
  height: 34px;
  padding: 0 10px;
  font-size: 12px;
  letter-spacing: .06em;
}

/* Segment buttons smaller */
.segBtn{
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 12px;
}
.segBtnTiny{
  height: 26px;
  padding: 0 9px;
  font-size: 11px;
  letter-spacing: .12em;
}

/* +/- and inputs smaller */
.miniBtn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 18px;
}
.miniBtnTight{
  width: 30px;
  height: 34px;
  border-radius: 10px;
  font-size: 18px;
}

.miniInput{
  height: 38px;
  border-radius: 12px;
  font-size: 16px;
}
.miniInputTight{
  height: 34px;
  border-radius: 10px;
  font-size: 16px;
}

.miniInputWide{
  height: 38px;
  border-radius: 12px;
  font-size: 16px;
}
.miniInputWideTight{
  height: 34px;
  border-radius: 10px;
  font-size: 16px;
}

/* Micro helper text smaller + optional hide on small screens */
.matrixMicro{
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.15;
  color: rgba(238,242,247,.50);
}

@media (max-width: 420px){
  .matrixMicro{ display:none; }
}

/* Close button tighter */
.matrixCloseBtn{
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: .12em;
}

/* Unit toggle tighter */
.unitToggle{ gap: 4px; }
/* ============================================================
   MATRIX FINAL: 2-ROW QUICK PRESETS + STRONG RW&B AUTHORITY
   - Quick Presets become 3 columns x 2 rows
   - Matrix section labels become a thin RW&B banner
   - Distance/Dial/Quick Preset controls get stronger RW&B styling
============================================================ */

/* --- RW&B thin banner for Matrix section titles --- */
.matrixPanel .matrixLabel{
  font-weight: 1000;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11px;

  padding: 6px 10px;
  border-radius: 12px;

  color: rgba(238,242,247,.98);
  background: linear-gradient(90deg,
    rgba(214,64,64,.92) 0%,
    rgba(238,242,247,.18) 50%,
    rgba(47,102,255,.92) 100%
  );
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

/* --- Make matrix controls pop (not faded) --- */
.matrixPanel .miniBtn,
.matrixPanel .miniInput,
.matrixPanel .miniInputWide,
.matrixPanel .segBtn,
.matrixPanel .chip{
  border-color: rgba(255,255,255,.22) !important;
  background: rgba(255,255,255,.10) !important;
  color: rgba(238,242,247,.96) !important;
}

/* Give the MOA/MRAD + YDS/M buttons a stronger “active” look */
.matrixPanel .segBtn.segOn{
  border-color: rgba(255,255,255,.26) !important;
  background: linear-gradient(90deg,
    rgba(214,64,64,.35) 0%,
    rgba(238,242,247,.10) 50%,
    rgba(47,102,255,.35) 100%
  ) !important;
  box-shadow:
    0 10px 22px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.10) inset;
}

/* Chips: add subtle RW&B sheen */
.matrixPanel .chip{
  background: linear-gradient(90deg,
    rgba(214,64,64,.18) 0%,
    rgba(255,255,255,.08) 50%,
    rgba(47,102,255,.18) 100%
  ) !important;
}

/* Keep selected target size chip (chipOn) dominant */
.matrixPanel .chipOn{
  border-color: rgba(103,243,164,.55) !important;
  background: rgba(103,243,164,.14) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

/* --- Quick Presets: force 2 lines (3 across) --- */
#presetChipRow{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* Tighten preset chip size just a touch so it never overflows */
#presetChipRow .chip{
  height: 32px;
  padding: 0 8px;
  font-size: 11px;
  letter-spacing: .08em;
  text-align: center;
  justify-content: center;
}

/* If someone’s on an ultra-narrow screen, drop to 2 columns */
@media (max-width: 360px){
  #presetChipRow{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ============================================================
   MIRRORED CORNER PROMPTS (TL / BR)
============================================================ */

.targetWrap{ position: relative; }

.cornerPrompt{
  position:absolute;
  z-index: 6;
  pointer-events:none;
  user-select:none;
  -webkit-user-select:none;

  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.20);

  font-weight: 1100;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;

  color: rgba(238,242,247,.98);
  background: linear-gradient(90deg,
    rgba(214,64,64,.78) 0%,
    rgba(238,242,247,.10) 50%,
    rgba(47,102,255,.78) 100%
  );
  box-shadow: 0 14px 34px rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}

.cornerTL{ top: 10px; left: 10px; }
.cornerBR{ bottom: 10px; right: 10px; }

@media (max-width: 420px){
  .cornerPrompt{ font-size: 11px; padding: 7px 9px; border-radius: 13px; }
  .cornerTL{ top: 8px; left: 8px; }
  .cornerBR{ bottom: 8px; right: 8px; }
}
