/* Darts: a stage under spotlights, a board you can throw at, numbers that do the math. */
.w-darts { --accent: #EF5350; --accent-text: #C62828; --accent-ink: #fff; --d-red: #D8322A; --d-green: #1E7A4C; --d-gold: #F2C744; --d-cream: #F4E7C3; --d-stage: #0F1411; background: #FBF6EA; }
.w-darts h1 em, .w-darts h2 em { color: var(--accent-text); }
.w-darts .dark h1 em, .w-darts .dark h2 em, .d-hero h1 em { color: var(--d-gold); }
.w-darts .dark { background: var(--d-stage); }
.w-darts .dark .eyebrow, .d-hero .eyebrow { color: var(--d-gold); }

.d-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: calc(var(--header-h) + clamp(24px, 5vw, 64px)) 0 clamp(56px, 8vw, 110px);
  background: radial-gradient(50% 60% at 72% 42%, rgba(255, 240, 200, 0.16), transparent 70%), radial-gradient(80% 60% at 72% 120%, rgba(30, 122, 76, 0.35), transparent 70%), var(--d-stage); }
.d-hero::before, .d-hero::after { content: ""; position: absolute; top: -20%; width: 34%; height: 140%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 244, 210, 0.22), rgba(255, 244, 210, 0) 75%); filter: blur(18px); transform-origin: top center; }
.d-hero::before { left: 48%; transform: rotate(18deg); animation: sweep 9s ease-in-out infinite alternate; }
.d-hero::after { left: 70%; transform: rotate(-16deg); animation: sweep 11s ease-in-out infinite alternate-reverse; }
@keyframes sweep { from { transform: rotate(22deg); } to { transform: rotate(8deg); } }
@media (min-width: 821px) { .d-hero .split { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }
.d-hero h1 { margin-top: 18px; max-width: 13ch; }
.d-hero .lede { margin-top: 20px; color: #D6D2C4; }
.d-hero .crumbs { color: #A7A392; }
.d-hero .get-note { color: var(--on-dark-muted); }
.d-hero .get-note span::before { background: var(--d-gold); }
.proofline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.proofline span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 750; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: #F1ECDD; }
.proofline b { color: var(--d-gold); font-size: 0.95rem; }

/* ------------------------------------------------------------ the playable board */
.play { position: relative; display: grid; gap: 14px; justify-items: center; }
.board-wrap { position: relative; width: min(100%, 520px); aspect-ratio: 1; touch-action: manipulation; cursor: crosshair; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)); }
.board-wrap svg { width: 100%; height: 100%; }
.board-wrap .hover-seg { fill: rgba(255, 255, 255, 0.28); pointer-events: none; transition: opacity 0.15s; }
.board-wrap .hit { pointer-events: none; }
.board-wrap .hit circle.pin { fill: #fff; stroke: #151515; stroke-width: 1.5; }
.board-wrap .hit circle.ring { fill: none; stroke: #fff; stroke-width: 2; opacity: 0.9; animation: ping 0.7s var(--ease) forwards; }
@keyframes ping { from { r: 4; opacity: 1; } to { r: 22; opacity: 0; } }
.tip { position: absolute; pointer-events: none; transform: translate(-50%, -140%); padding: 5px 10px; border-radius: 999px; background: rgba(15, 20, 17, 0.9); color: #fff; font-weight: 800; font-size: 0.8rem; white-space: nowrap; opacity: 0; transition: opacity 0.15s; }
.tip.on { opacity: 1; }
.scorecard { width: min(100%, 520px); display: grid; grid-template-columns: auto 1fr auto; gap: 14px 18px; align-items: center; padding: 16px 18px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scorecard .rem { font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.scorecard .rem small, .scorecard .avg small { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #A7A392; font-weight: 750; margin-bottom: 4px; }
.scorecard .visit { display: flex; gap: 6px; }
.scorecard .visit span { min-width: 52px; padding: 8px 6px; text-align: center; border-radius: 10px; font-weight: 800; font-size: 0.9rem; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); color: #D6D2C4; }
.scorecard .visit span.t { background: var(--d-red); color: #fff; }
.scorecard .visit span.d { background: var(--d-green); color: #fff; }
.scorecard .avg { text-align: right; font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.scorecard .co { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 34px; font-size: var(--fs-sm); color: #D6D2C4; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 12px; }
.scorecard .co .seg { padding: 5px 11px; border-radius: 9px; font-weight: 800; color: #fff; }
.seg.T { background: var(--d-red); color: #fff; }
.seg.D { background: var(--d-green); color: #fff; }
.seg.b { background: #2F3A44; color: #fff; }
.seg.s { background: #FFFFFF; color: #151515; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.scorecard .co .seg.s { background: #EDE6D2; }
.play .reset { border: 0; background: none; color: #D6D2C4; font-weight: 700; font-size: var(--fs-xs); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.play .hint { font-size: var(--fs-xs); color: #A7A392; }
.toast { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(0.8); padding: 14px 22px; border-radius: 18px; background: var(--d-gold); color: #151515; font-weight: 800; font-size: 1.3rem; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5); }
.toast.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.toast.bust { background: #fff; }
.confetti { position: absolute; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; }
.confetti i { position: absolute; width: 9px; height: 14px; border-radius: 2px; opacity: 0; animation: conf 1.4s var(--ease) forwards; }
@keyframes conf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }

/* ------------------------------------------------------------ features */
.d-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.d-feature { padding: 24px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px rgba(21, 21, 21, 0.08); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.d-feature:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(21, 21, 21, 0.08), 0 24px 48px -30px rgba(120, 30, 20, 0.35); }
.d-feature .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(239, 83, 80, 0.12); color: var(--d-red); margin-bottom: 16px; }
.d-feature .ico svg { width: 22px; height: 22px; }
.d-feature h3 { margin-bottom: 6px; }
.d-feature p { color: #57534A; font-size: var(--fs-sm); }

/* phones row */
.phones { display: flex; gap: clamp(14px, 2vw, 26px); justify-content: center; align-items: flex-end; }
.phones .phone { --w: min(230px, 42vw); }
.phones .phone:nth-child(2) { --w: min(260px, 46vw); transform: translateY(-24px); }
@media (max-width: 700px) { .phones { overflow-x: auto; justify-content: flex-start; padding: 10px var(--gutter) 30px; margin-inline: calc(var(--gutter) * -1); scroll-snap-type: x mandatory; } .phones .phone { scroll-snap-align: center; } .phones .phone:nth-child(2) { transform: none; } }

/* heatmap */
.heat { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.heat svg { width: 100%; height: 100%; filter: saturate(0.6) brightness(0.8); }
.heat .blob { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 40, 0.95), rgba(255, 200, 60, 0.55) 45%, transparent); mix-blend-mode: screen; animation: heatp 3s ease-in-out infinite; animation-delay: var(--dl); }
@keyframes heatp { 0%, 100% { transform: scale(0.85); opacity: 0.75; } 50% { transform: scale(1.1); opacity: 1; } }

/* modes */
.modes { display: flex; flex-wrap: wrap; gap: 10px; }
.modes span { padding: 12px 18px; border-radius: 16px; font-weight: 800; font-size: var(--fs-sm); color: #fff; }
.modes span:nth-child(6n+1) { background: #D8322A; } .modes span:nth-child(6n+2) { background: #1E7A4C; } .modes span:nth-child(6n+3) { background: #D69927; color: #20160A; }
.modes span:nth-child(6n+4) { background: #2F3A44; } .modes span:nth-child(6n+5) { background: #267D85; } .modes span:nth-child(6n+6) { background: #8A4B79; }

.links3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.links3 a { display: block; padding: 22px 24px; border-radius: 22px; text-decoration: none; background: #fff; box-shadow: inset 0 0 0 1px rgba(21, 21, 21, 0.08); transition: transform 0.4s var(--ease); }
.links3 a:hover { transform: translateY(-4px); }
.links3 b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.links3 span { color: #57534A; font-size: var(--fs-sm); }
.credits { margin-top: 30px; font-size: 0.75rem; color: #625C4F; }
.credits a { color: inherit; }

.w-darts .gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.w-darts .gallery img { flex: none; width: min(240px, 62vw); height: auto; aspect-ratio: 9 / 16; border-radius: 22px; scroll-snap-align: center; box-shadow: 0 24px 50px -28px rgba(60, 20, 10, 0.5); }
.w-darts .final { background: radial-gradient(60% 80% at 50% 100%, rgba(239, 83, 80, 0.35), transparent 70%), var(--d-stage); color: #fff; }
.w-darts .final .get-note { color: var(--on-dark-muted); }

/* ------------------------------------------------------------ checkout chart page */
.co-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 820px) { .co-tool { grid-template-columns: 1fr; } }
.calc { padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px rgba(21, 21, 21, 0.08), 0 30px 60px -40px rgba(120, 30, 20, 0.35); }
.calc label { display: block; font-weight: 750; font-size: var(--fs-sm); margin-bottom: 8px; }
.calc .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.calc input[type="number"] { width: 140px; font: inherit; font-size: 2rem; font-weight: 800; padding: 8px 14px; border-radius: 14px; border: 2px solid rgba(21, 21, 21, 0.12); background: #FBF6EA; color: #151515; }
.calc input[type="number"]:focus { outline: none; border-color: var(--accent); }
.calc .darts { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #F1EAD6; }
.calc .darts button { border: 0; cursor: pointer; padding: 8px 12px; border-radius: 9px; font-weight: 750; font-size: var(--fs-xs); background: none; color: #57534A; }
.calc .darts button[aria-pressed="true"] { background: #fff; color: #151515; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.calc .result { margin-top: 18px; min-height: 52px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 700; }
.calc .result .seg { padding: 8px 14px; border-radius: 11px; font-weight: 800; font-size: 1.1rem; }
.co-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 196px), 1fr)); gap: 12px; align-items: start; }
.co-card { border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(21, 21, 21, 0.08); overflow: hidden; }
.co-card table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.co-card caption { text-align: left; padding: 14px 16px 10px; font-weight: 800; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--d-red); }
.co-card thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.co-card th, .co-card td { padding: 6px 16px; text-align: left; border-top: 1px solid rgba(21, 21, 21, 0.06); }
.co-card th { width: 3.2em; font-weight: 800; font-variant-numeric: tabular-nums; }
.co-card td { display: flex; gap: 4px; flex-wrap: wrap; }
.co-card .seg { padding: 2px 7px; border-radius: 6px; font-weight: 800; font-size: 0.8rem; }
.co-card .bogey { color: #8A8474; font-style: italic; font-size: 0.8rem; }
.co-card tr:target { background: rgba(242, 199, 68, 0.3); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: var(--fs-sm); margin-top: 18px; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend .seg { padding: 2px 8px; border-radius: 6px; font-weight: 800; font-size: 0.8rem; }

@media (max-width: 520px) {
  .scorecard { grid-template-columns: 1fr auto; }
  .scorecard .visit { grid-column: 1 / -1; order: 3; }
  .scorecard .visit span { flex: 1; }
  .scorecard .co { order: 4; }
}

/* rating on Google Play */
.rating { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px rgba(21, 21, 21, 0.08); }
.rating .avg-box { display: grid; justify-items: start; gap: 6px; }
.rating .avg-box b { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 2.4rem + 3vw, 4.6rem); line-height: 0.9; letter-spacing: -0.03em; }
.rating .avg-box small { font-size: var(--fs-sm); color: #57534A; font-weight: 650; max-width: 16rem; }
.stars { --pct: calc(var(--r) / 5 * 100%); display: inline-block; font-size: 1.35rem; letter-spacing: 3px; line-height: 1;
  background: linear-gradient(90deg, #F2A93B var(--pct), #E3DCCB var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars::before { content: "\2605\2605\2605\2605\2605"; }
.rating .bars { display: grid; gap: 7px; }
.rating .bars div { display: grid; grid-template-columns: 1.2em minmax(0, 1fr) 3.4em; gap: 10px; align-items: center; font-size: var(--fs-sm); font-weight: 750; }
.rating .bars i { height: 10px; border-radius: 10px; background: linear-gradient(90deg, #F2A93B var(--w), #F1EAD6 var(--w)); }
.rating .bars em { font-style: normal; color: #57534A; font-variant-numeric: tabular-nums; text-align: right; }
.rating .src { grid-column: 1 / -1; font-size: 0.8rem; color: #625C4F; border-top: 1px solid rgba(21, 21, 21, 0.08); padding-top: 14px; }
@media (max-width: 620px) { .rating { grid-template-columns: 1fr; } }
