/* Clean Cut Dart Knife v1 - all rules scoped under .kg2 */
.kg2-section { padding: 0 !important; }
.kg2 { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; height: clamp(560px, 92svh, 920px); overflow: hidden;
  background: #2a160b; color: #fff4e0; font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif; touch-action: none;
  -webkit-user-select: none; user-select: none; border-radius: 0; }
.kg2 *, .kg2 *::before, .kg2 *::after { box-sizing: border-box; }
.kg2 .kg2-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.kg2 .kg2-ui { position: absolute; inset: 0; pointer-events: none; }
.kg2 .kg2-ui > * { pointer-events: auto; }
.kg2 .kg2-screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 18px; text-align: center; background: rgba(28, 14, 6, .55); overflow-y: auto; }
.kg2 .kg2-screen.kg2-bg { background: rgba(28,14,6,.35) var(--kg2-barn) center / cover no-repeat; background-blend-mode: multiply; }
.kg2 .kg2-title { font-size: clamp(30px, 8vw, 58px); line-height: 1; margin: 0; color: #ffd36b; font-weight: 900; letter-spacing: 1px;
  text-shadow: 0 3px 0 #7a2d12, 0 6px 14px rgba(0,0,0,.6); text-transform: uppercase; }
.kg2 h3 { font-size: clamp(20px, 5vw, 30px); margin: 0 0 4px; color: #ffd36b; text-shadow: 0 2px 0 #5a210c; }
.kg2 p { margin: 0; font-size: 15px; line-height: 1.35; color: #fff4e0; text-shadow: 0 1px 2px #000; }
.kg2 .kg2-small { font-size: 12px; opacity: .85; }
.kg2 .kg2-btn { appearance: none; border: 3px solid #3b1d0c; background: linear-gradient(#ffcf5a, #f29a2e); color: #3b1d0c; font: inherit; font-weight: 800;
  font-size: 17px; padding: 11px 20px; border-radius: 14px; cursor: pointer; box-shadow: 0 4px 0 #3b1d0c; min-width: 150px; text-transform: none; letter-spacing: 0; }
.kg2 .kg2-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #3b1d0c; }
.kg2 .kg2-btn.kg2-alt { background: linear-gradient(#4fd1c1, #1f9e8f); color: #08261f; }
.kg2 .kg2-btn.kg2-ghostbtn { background: rgba(255,244,224,.12); color: #fff4e0; border-color: #fff4e0; box-shadow: none; }
.kg2 .kg2-btn.kg2-sel { outline: 3px solid #fff; outline-offset: 2px; }
.kg2 .kg2-btn[disabled] { opacity: .45; cursor: default; }
.kg2 .kg2-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.kg2 .kg2-col { display: flex; flex-direction: column; gap: 10px; align-items: stretch; width: min(360px, 100%); }
.kg2 .kg2-tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.kg2 .kg2-tab { appearance: none; font: inherit; font-size: 13px; font-weight: 700; padding: 7px 10px; border-radius: 10px; border: 2px solid #ffd36b;
  background: rgba(0,0,0,.35); color: #ffd36b; cursor: pointer; }
.kg2 .kg2-tab.kg2-on { background: #ffd36b; color: #3b1d0c; }
.kg2 .kg2-card { width: min(300px, 82vw); background: #f6e7c8; color: #3b1d0c; border: 4px solid #6b3a1c; border-radius: 18px; padding: 12px;
  box-shadow: 0 8px 0 #3b1d0c; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.kg2 .kg2-card img { width: 100%; height: 190px; object-fit: contain; background: #fff; border-radius: 10px; }
.kg2 .kg2-card .kg2-soon { filter: grayscale(1) brightness(.6); }
.kg2 .kg2-card b { font-size: 17px; }
.kg2 .kg2-card p { color: #3b1d0c; text-shadow: none; font-size: 13px; }
.kg2 .kg2-card a { color: #1f6f66; font-weight: 800; }
.kg2 .kg2-carousel { display: flex; align-items: center; gap: 8px; }
.kg2 .kg2-arrow { appearance: none; border: 0; background: rgba(0,0,0,.45); color: #ffd36b; font-size: 26px; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }
.kg2 .kg2-hud { position: absolute; left: 0; right: 0; top: 0; display: flex; gap: 6px; padding: 6px; align-items: stretch; z-index: 2; pointer-events: none; }
.kg2 .kg2-hud > * { pointer-events: auto; }
.kg2 .kg2-pl { flex: 1; background: rgba(20,10,4,.78); border: 2px solid #6b3a1c; border-radius: 10px; padding: 4px 8px; min-width: 0; }
.kg2 .kg2-pl.kg2-turn { border-color: #ffd36b; box-shadow: 0 0 0 2px rgba(255,211,107,.35); }
.kg2 .kg2-pl span { display: block; font-size: 11px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kg2 .kg2-pl strong { font-size: 24px; line-height: 1.05; color: #ffd36b; }
.kg2 .kg2-pl em { font-style: normal; font-size: 11px; display: block; opacity: .85; }
.kg2 .kg2-iconbtn { appearance: none; border: 2px solid #6b3a1c; background: rgba(20,10,4,.78); color: #fff4e0; border-radius: 10px; width: 42px; font-size: 18px; cursor: pointer; }
.kg2 .kg2-chalk { position: absolute; left: 6px; bottom: 10px; top: auto; right: auto; background: #1f2a24; border: 4px solid #6b3a1c; border-radius: 8px; padding: 4px 6px; font-family: "Comic Sans MS", "Chalkboard SE", cursive; z-index: 5; max-height: 42%; overflow: auto;
  font-size: 13px; color: #f1f1e6; z-index: 2; pointer-events: none; }
.kg2 .kg2-chalk table { border-collapse: collapse; }
.kg2 .kg2-chalk td { padding: 0 5px; text-align: center; min-width: 22px; height: 17px; }
.kg2 .kg2-chalk td.kg2-n { color: #ffd36b; font-weight: 700; }
.kg2 .kg2-toast { position: absolute; left: 50%; transform: translateX(-50%); bottom: 18%; background: rgba(20,10,4,.85); border: 2px solid #ffd36b; border-radius: 12px;
  padding: 8px 14px; font-weight: 700; z-index: 3; pointer-events: none; max-width: 90%; text-align: center; }
.kg2 .kg2-pop { position: absolute; z-index: 3; pointer-events: none; font-weight: 900; font-size: 28px; color: #ffd36b; text-shadow: 0 3px 0 #7a2d12, 0 0 12px #000;
  transform: translate(-50%, -50%); animation: kg2pop 1.1s ease-out forwards; white-space: nowrap; }
.kg2 .kg2-pop.kg2-bust { color: #ff5a4a; font-size: 44px; text-shadow: 0 3px 0 #400, 0 0 16px #000; }
.kg2 .kg2-pop.kg2-score { font-size: 20px; color: #fff4e0; }
@keyframes kg2pop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -140%) scale(1); } }
.kg2 .kg2-flash { position: absolute; inset: 0; background: rgba(255,60,40,.35); z-index: 2; pointer-events: none; animation: kg2fade .5s forwards; }
.kg2 .kg2-flash.kg2-gold { background: rgba(255,211,107,.35); }
@keyframes kg2fade { to { opacity: 0; } }
.kg2 .kg2-hint { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 13px; opacity: .85; pointer-events: none; z-index: 2; text-shadow: 0 1px 2px #000; }
.kg2 .kg2-panel { background: rgba(20,10,4,.82); border: 3px solid #6b3a1c; border-radius: 16px; padding: 12px 16px; width: min(420px, 100%); }
.kg2 .kg2-test { display: inline-block; background: #ff5a4a; color: #fff; font-weight: 900; padding: 3px 8px; border-radius: 6px; font-size: 13px; letter-spacing: .5px; }
.kg2 .kg2-input { font: inherit; font-size: 16px; padding: 9px 10px; border-radius: 10px; border: 2px solid #6b3a1c; width: 100%; color: #3b1d0c; background: #fff8ea; }
.kg2 .kg2-link { font-size: 12px; word-break: break-all; }
.kg2 .kg2-noscript { padding: 40px; text-align: center; }
@media (min-width: 900px) { .kg2 .kg2-pl strong { font-size: 30px; } .kg2 .kg2-chalk { font-size: 15px; } }
.kg2 .kg2-screen.kg2-dark { background: rgba(28,14,6,.88); justify-content: flex-start; padding-top: 80px; }

.kg2 .kg2-pl.kg2-out { opacity: .45; }
.kg2 .kg2-pl.kg2-out strong { text-decoration: line-through; }
.kg2 .kg2-pl.kg2-lc-pl { border-color: #ff5a4a; box-shadow: 0 0 0 2px rgba(255,90,74,.45), 0 0 18px rgba(255,80,40,.35); }
.kg2 .kg2-screen.kg2-lc-screen { background: rgba(18, 4, 4, .82); z-index: 6; }
.kg2 .kg2-lc-title, .kg2 .kg2-lc-live, .kg2 .kg2-lc-dead {
  font-size: clamp(28px, 7.2vw, 64px); line-height: 1.05; margin: 0 0 10px; font-weight: 900;
  letter-spacing: 1.5px; text-transform: uppercase; text-align: center;
}
.kg2 .kg2-lc-title { color: #ffd36b; text-shadow: 0 0 22px rgba(255,70,40,.85), 0 3px 0 #7a2d12, 0 0 40px #000; animation: kg2lcpulse .7s ease-in-out infinite alternate; }
.kg2 .kg2-lc-live { color: #8dff9a; text-shadow: 0 0 22px rgba(80,255,120,.8), 0 3px 0 #14521c, 0 0 40px #000; }
.kg2 .kg2-lc-dead { color: #ff5a4a; text-shadow: 0 0 22px rgba(255,40,30,.85), 0 3px 0 #4a0000, 0 0 40px #000; }
@keyframes kg2lcpulse { from { transform: scale(.98); filter: brightness(1); } to { transform: scale(1.04); filter: brightness(1.15); } }
.kg2 .kg2-screen.kg2-lc-screen-live { background: rgba(8, 22, 10, .82); }
.kg2 .kg2-screen.kg2-lc-screen-dead { background: rgba(28, 4, 4, .88); }


/* Fullscreen / pseudo-fullscreen */
.kg2 { touch-action: none; overscroll-behavior: none; -webkit-user-select: none; user-select: none; }
.kg2.kg2-fs-pseudo {
  position: fixed !important; inset: 0 !important; z-index: 99999 !important;
  width: 100vw !important; height: 100vh !important; height: 100dvh !important;
  max-width: none !important; margin: 0 !important; border-radius: 0 !important;
  background: #1a0e08;
}
.kg2 { --kg2-ease-ui: cubic-bezier(0.16, 1, 0.3, 1); }
.kg2.kg2-fs .kg2-fs-exit { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.kg2.kg2-fs .kg2-hud { padding-left: 58px; }
.kg2.kg2-fs .kg2-screen { padding-top: 60px; }
.kg2-fs-exit {
  display: none; position: absolute; top: 6px; left: 6px; z-index: 100002;
  width: 44px; height: 44px; border-radius: 12px; border: 2px solid #ffd36b;
  background: rgba(20,10,4,.88); color: #fff4e0; font: 800 17px/1 system-ui,sans-serif;
  cursor: pointer; padding: 0;
  transition: transform 140ms var(--kg2-ease-ui), background-color 140ms var(--kg2-ease-ui);
}
.kg2-fs-exit:active { transform: scale(0.95); }
.kg2-fs-exit::after {
  content: "EXIT"; position: static;
  font: 700 8px/1 system-ui,sans-serif; letter-spacing: 0.04em; color: #ffd36b;
  pointer-events: none;
}
html.kg2-fs-lock, body.kg2-fs-lock { overflow: hidden !important; height: 100% !important; overscroll-behavior: none; touch-action: none; }
body.kg2-fs-lock #shopify-section-header,
body.kg2-fs-lock .header-wrapper,
body.kg2-fs-lock footer,
body.kg2-fs-lock .shopify-section-group-header-group,
body.kg2-fs-lock .shopify-section-group-footer-group,
body.kg2-fs-lock #PBarNextFrameWrapper { display: none !important; }


/* Title / Rough Cut come-play screen - hero image dominant */
.kg2 .kg2-title-stage { position:absolute; inset:0; overflow:hidden; z-index:20; background:#1a0e08; }
.kg2 .kg2-title-zoom {
  position:absolute; inset:0; overflow:hidden;
  transform: scale(1); transform-origin: 0 0;
  transition: transform 1.35s cubic-bezier(.2,.7,.2,1), filter 1.35s ease;
  filter: brightness(1);
}
.kg2 .kg2-title-zoom.kg2-zooming { filter: brightness(1.05); }
.kg2 .kg2-title-img {
  position:absolute; inset:auto; max-width:none;
  pointer-events:none; user-select:none; -webkit-user-drag:none;
}
.kg2 .kg2-title-hero {
  position:absolute; left:0; bottom:-4%; height:104%; width:auto; max-width:none;
  object-fit:contain; object-position:left bottom;
  pointer-events:none; user-select:none; -webkit-user-drag:none; z-index:1;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
  opacity:1; transition: opacity .9s ease .15s;
}
.kg2 .kg2-title-zoom.kg2-zooming .kg2-title-hero { opacity:0; }
.kg2 .kg2-title-ui {
  position:absolute; inset:0; z-index:2; pointer-events:none;
  background: linear-gradient(90deg, rgba(12,6,3,.05) 0%, rgba(12,6,3,.15) 48%, rgba(12,6,3,.55) 100%);
}
.kg2 .kg2-title-tools { pointer-events:auto; position:absolute; top:10px; right:10px; z-index:3; }
.kg2 .kg2-title-side {
  pointer-events:auto; position:absolute; right:3%; top:52%; transform:translateY(-50%);
  display:flex; flex-direction:column; align-items:stretch; gap:10px;
  width: min(275px, 44%); z-index:3;
}
.kg2 .kg2-title-cta { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.kg2 .kg2-rack {
  display:flex; flex-direction:column; gap:6px; padding:8px;
  background: rgba(20, 10, 4, .82); border: 2px solid #6b3a1c; border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,211,107,.18);
  backdrop-filter: blur(4px);
}
.kg2 .kg2-rack-hdr {
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #ffd36b; margin: 0 2px 2px; text-align: left; text-shadow: 0 1px 2px #000;
}
.kg2 .kg2-rack-stack { display:flex; flex-direction:column; gap:6px; }
.kg2 .kg2-kopt {
  appearance:none; width:100%; display:flex; align-items:center; gap:9px; padding:6px 8px;
  border-radius:10px; border:2px solid rgba(255,244,224,.18);
  background: rgba(38,20,10,.78); color:#fff4e0; text-align:left; cursor:pointer;
  font: inherit; position:relative;
  transition: transform 150ms var(--kg2-ease-ui), border-color 150ms var(--kg2-ease-ui), background-color 150ms var(--kg2-ease-ui), box-shadow 150ms var(--kg2-ease-ui);
}
.kg2 .kg2-kopt:hover { border-color: rgba(255,211,107,.65); background: rgba(52,28,14,.9); }
.kg2 .kg2-kopt:active { transform: scale(0.97); }
.kg2 .kg2-kopt.kg2-on {
  border-color: #ffd36b; background: rgba(68,36,16,.95);
  box-shadow: 0 0 0 2px rgba(255,211,107,.35), 0 4px 12px rgba(0,0,0,.45);
}
.kg2 .kg2-kopt-swatch {
  width: 5px; align-self: stretch; border-radius: 4px; flex: 0 0 auto;
  background: var(--kcol, #3fae49); box-shadow: 0 0 8px var(--kcol, #3fae49);
}
.kg2 .kg2-kopt-art { width: 52px; height: 34px; flex: 0 0 auto; display:flex; align-items:center; justify-content:center; }
.kg2 .kg2-kopt-art svg { width: 100%; height: 100%; display:block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.65)); }
.kg2 .kg2-kopt-meta { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:1px; }
.kg2 .kg2-kopt-name { font-size: 13px; font-weight: 800; line-height: 1.15; color: #fff4e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kg2 .kg2-kopt-sub { font-size: 10px; line-height: 1.15; color: rgba(255,244,224,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kg2 .kg2-kopt-check {
  flex: 0 0 auto; font-size: 10px; font-weight: 900; padding: 2px 6px; border-radius: 999px;
  background: #ffd36b; color: #3b1d0c; letter-spacing: .03em; display: none;
}
.kg2 .kg2-kopt.kg2-on .kg2-kopt-check { display: inline-block; }
.kg2 .kg2-rack-screen { width: min(340px, 92vw); }
.kg2 .kg2-rack-screen .kg2-kopt { padding: 10px 12px; gap: 12px; }
.kg2 .kg2-rack-screen .kg2-kopt-art { width: 68px; height: 42px; }
.kg2 .kg2-rack-screen .kg2-kopt-name { font-size: 16px; }
.kg2 .kg2-rack-screen .kg2-kopt-sub { font-size: 12px; }
@media (max-width: 699px) {
  .kg2 .kg2-title-hero { left: -8%; bottom: -3%; height: 88%; max-width: none; width: auto; }
  .kg2 .kg2-title-side {
    right: 2.5%; top: 53%; width: min(204px, 53vw); gap: 8px;
  }
  .kg2 .kg2-come { font-size: clamp(20px, 5.5vw, 26px); }
  .kg2 .kg2-come-sub { font-size: 11px; }
  .kg2 .kg2-rack { padding: 6px; gap: 5px; border-radius: 12px; }
  .kg2 .kg2-rack-hdr { font-size: 10px; }
  .kg2 .kg2-rack-stack { gap: 5px; }
  .kg2 .kg2-kopt { padding: 5px 6px; gap: 6px; }
  .kg2 .kg2-kopt-art { width: 38px; height: 26px; }
  .kg2 .kg2-kopt-name { font-size: 12px; }
  .kg2 .kg2-kopt-sub { display: none; }
  .kg2 .kg2-kopt-check { font-size: 9px; padding: 2px 5px; }
  .kg2 .kg2-play { padding: 11px 24px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .kg2 .kg2-kopt, .kg2-fs-exit, .kg2 .kg2-title-zoom { transition: none !important; }
}
.kg2 .kg2-come {
  margin:0; color:#ffe7c2;
  font:800 clamp(26px,7.2vw,40px)/1.05 "Trebuchet MS",system-ui,sans-serif;
  text-shadow:0 3px 10px rgba(0,0,0,.85);
}
.kg2 .kg2-come-sub { margin:0; color:#f0d2a8; font:600 13px/1.3 system-ui,sans-serif; text-shadow:0 1px 4px #000; }
.kg2 .kg2-play {
  border:0; cursor:pointer; padding:16px 34px; border-radius:999px;
  font:800 20px/1 system-ui,sans-serif; color:#1a0e08;
  background: linear-gradient(180deg,#ffe08a,#f0a93a);
  box-shadow:0 5px 0 #8a4e10, 0 10px 24px rgba(0,0,0,.4);
}
.kg2 .kg2-play:active { transform:translateY(2px); box-shadow:0 2px 0 #8a4e10, 0 4px 12px rgba(0,0,0,.35); }
.kg2.kg2-title-zooming .kg2-title-ui { opacity:0; transition:opacity .35s ease; pointer-events:none; }


.kg2.kg2-on-title .kg2-canvas { visibility:hidden; }
.kg2 .kg2-ui { position:absolute; inset:0; z-index:15; }


/* ---- End-of-match popup (always above HUD/chalk/FS chrome) ---- */
.kg2-hud-dim { opacity: .35; pointer-events: none; }
.kg2-end-screen {
  z-index: 100001 !important;
  justify-content: center !important;
  padding: 56px 14px 24px !important;
  background: rgba(20, 10, 4, .78) !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.kg2-end-popup {
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  width: min(420px, 100%);
  background: linear-gradient(165deg, #3a2214 0%, #1c0e08 55%, #2a1530 100%);
  border: 3px solid #c9a24a;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.55), inset 0 0 0 1px rgba(201,162,74,.35);
  padding: 18px 16px 16px;
  text-align: center;
  color: #fff4e0;
  opacity: 1; animation: kg2-end-in .4s ease-out both;
}
.kg2-end-popup.kg2-end-win { border-color: #e6c35c; box-shadow: 0 12px 40px rgba(0,0,0,.55), 0 0 28px rgba(180,80,200,.35), inset 0 0 0 1px rgba(230,195,92,.5); }
.kg2-end-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 7vw, 36px);
  color: #f0d27a;
  margin: 0 0 12px;
  text-shadow: 0 2px 0 #3b1d0c, 0 0 18px rgba(180,80,200,.45);
}
.kg2-end-scores { margin: 0 auto 10px; }
.kg2-end-scoreline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; align-items: baseline; margin: 6px 0; text-align: left; }
.kg2-end-who { flex: 1 1 auto; opacity: .9; }
.kg2-end-pts { color: #ffd36b; font-size: 1.05em; }
.kg2-end-darts { opacity: .7; font-size: 12px; }
.kg2-end-reward .kg2-end-gamescore,
.kg2-end-reward .kg2-end-prov { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin: 8px 0; text-align: left; }
.kg2-end-reward .kg2-end-gamescore b,
.kg2-end-reward .kg2-end-prov b { color: #ffd36b; font-size: 1.15em; }
.kg2-end-honest { background: rgba(90,30,60,.45); border: 1px solid rgba(201,162,74,.4); border-radius: 10px; padding: 8px 10px; margin: 10px 0; font-size: 13px; line-height: 1.35; text-align: left; }
.kg2-btn.kg2-login {
  display: inline-block; margin-top: 8px; text-decoration: none;
  background: linear-gradient(#7b4aa8, #4a2870); color: #fff4e0; border-color: #c9a24a;
}
.kg2-end-challenge { width: min(420px, 100%); margin: 8px auto; text-align: left; color: #fff4e0; }
.kg2-end-challenge summary { cursor: pointer; opacity: .85; font-size: 13px; padding: 6px; }
.kg2-end-actions { margin-top: 12px; justify-content: center; }
@keyframes kg2-end-in { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.kg2-celebrate { pointer-events: none; position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.kg2-celebrate span {
  position: absolute; top: -10px; width: 8px; height: 12px; border-radius: 2px;
  animation: kg2-confetti 1.6s ease-out forwards;
}
.kg2-celebrate span:nth-child(1) { left: 8%; background: #c9a24a; animation-delay: 0s; }
.kg2-celebrate span:nth-child(2) { left: 22%; background: #9b59b6; animation-delay: .05s; }
.kg2-celebrate span:nth-child(3) { left: 38%; background: #ffcf5a; animation-delay: .1s; }
.kg2-celebrate span:nth-child(4) { left: 52%; background: #6b3a1c; animation-delay: .02s; }
.kg2-celebrate span:nth-child(5) { left: 66%; background: #b07ad6; animation-delay: .12s; }
.kg2-celebrate span:nth-child(6) { left: 78%; background: #e6c35c; animation-delay: .08s; }
.kg2-celebrate span:nth-child(7) { left: 88%; background: #4fd1c1; animation-delay: .15s; }
.kg2-celebrate span:nth-child(8) { left: 45%; background: #fff4e0; animation-delay: .18s; }
@keyframes kg2-confetti {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(540deg); opacity: 0; }
}
.kg2-ui { z-index: 100000; }
.kg2-fs .kg2-ui { z-index: 100000; }

.kg2 .kg2-chalk { z-index: 5; }
.kg2:has(.kg2-end-popup) .kg2-chalk { display: none !important; }


/* ---- Bullseye zoom (SB/DB visual) - above .kg2-ui (z=100000) ---- */
.kg2-bullseye-zoom {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 200050;
  pointer-events: none;
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  font-size: clamp(72px, 24vw, 150px);
  letter-spacing: 0.06em;
  line-height: 1;
  color: #ffe7a0;
  text-shadow: 0 3px 0 #3b1d0c, 0 0 28px rgba(180, 80, 200, .7), 0 0 6px #000;
  white-space: nowrap;
  will-change: transform, opacity;
  opacity: 1;
  transform: translate(-50%, -50%) scale(0.28);
}
.kg2-bullseye-zoom.kg2-bullseye-db {
  color: #ffc0d0;
  text-shadow: 0 3px 0 #3b1d0c, 0 0 32px rgba(220, 40, 90, .75), 0 0 6px #000;
}
.kg2-bullseye-zoom.kg2-bullseye-static {
  opacity: 1 !important;
}
/* CSS fallback when WAAPI unavailable: move from board vars -> foreground */
.kg2-bullseye-zoom.kg2-bullseye-run {
  animation: kg2-bullseye-zoom-anim 1.05s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}
@keyframes kg2-bullseye-zoom-anim {
  0%   { transform: translate(var(--kg2-bx, 50%), var(--kg2-by, 40%)) translate(-50%, -50%) scale(0.28); opacity: 1; }
  55%  { transform: translate(var(--kg2-ex, 50%), var(--kg2-ey, 40%)) translate(-50%, -50%) scale(1.55); opacity: 1; }
  100% { transform: translate(var(--kg2-ex, 50%), var(--kg2-ey, 36%)) translate(-50%, -50%) scale(2.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .kg2-bullseye-zoom.kg2-bullseye-run { animation: none !important; }
}


/* ---- 3D knife layer (three.js WebGL canvas stacked on the 2D canvas, same screen coordinates) ---- */
.kg2 .kg2-canvas3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 1; background: transparent; }
.kg2.kg2-on-title .kg2-canvas3d { visibility: hidden; }
