/* =========================================================
   CourtCheck AI — shared stylesheet (v4 restructure)
   Consumed by: courtcheck.html (hero), tennis-cmt.html,
                tennis-analyze.html, tennis-data.html,
                tennis-coach.html
   ========================================================= */

:root{
  --cc-primary:#1a56db;          /* court blue */
  --cc-primary-dark:#1e40af;
  --cc-accent:#f59e0b;            /* tennis ball yellow */
  --cc-accent-dark:#d97706;
  --cc-court-green:#2d6a4f;       /* court surround green */
  --cc-white:#ffffff;
  --cc-dark:#0f172a;
  --cc-surface:rgba(255,255,255,0.95);
  --cc-bg:#f8fafc;
  --cc-card:#ffffff;
  --cc-text:#0f172a;
  --cc-text-2:#1e293b;
  --cc-text-3:#1e293b;
  --cc-border:rgba(26,86,219,0.15);   /* subtle blue — was #e2e8f0 */
  --cc-border-soft:#eef2f6;
  --cc-ok:#16a34a;
  --cc-warn:#b45309;
  --cc-radius:14px;
  --cc-radius-sm:10px;
  --cc-shadow:0 4px 24px rgba(26,86,219,0.08);     /* tinted toward brand */
  --cc-shadow-lg:0 12px 36px rgba(26,86,219,0.14);
  --cc-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0;background:var(--cc-bg);color:var(--cc-text);font-family:var(--cc-font);-webkit-font-smoothing:antialiased;line-height:1.5}
a{color:var(--cc-primary);text-decoration:none}
a:hover{text-decoration:underline}
button{font-family:inherit;cursor:pointer}

/* ── NAV ─────────────────────────────────────────────── */
.cc-nav{position:fixed;top:0;left:0;right:0;z-index:60;background:#ffffff;box-shadow:0 2px 10px rgba(15,23,42,.06);border-bottom:1px solid var(--cc-border)}
.cc-nav-inner{max-width:1200px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.cc-brand{display:flex;align-items:center;text-decoration:none}
.cc-brand:hover{text-decoration:none}
.cc-brand-mark{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:#16a34a;color:#ffffff;font-weight:900;font-size:18px;border-radius:8px;margin-right:8px}
.cc-brand-name{font-weight:800;font-size:18px;color:#0f172a;letter-spacing:-.2px}
.cc-nav-links{display:flex;gap:22px;font-size:14px;font-weight:600}
.cc-nav-links a{color:var(--cc-text-2)}
.cc-nav-links a:hover{color:var(--cc-primary);text-decoration:none}
.cc-nav-cta{display:flex;align-items:center;gap:12px}
.cc-signin{font-size:14px;font-weight:600;color:var(--cc-text-2)}
.cc-signin:hover{color:var(--cc-primary);text-decoration:none}

/* Buttons */
.cc-btn{display:inline-block;padding:10px 16px;border-radius:10px;font-weight:700;font-size:14px;border:0;transition:transform .1s ease,box-shadow .15s ease;cursor:pointer}
.cc-btn:hover{transform:translateY(-1px);text-decoration:none}
.cc-btn-primary{background:var(--cc-primary);color:#fff;box-shadow:0 4px 12px rgba(26,86,219,.25);padding:10px 18px;border-radius:8px;font-weight:700;font-size:14px;border:0;transition:background .15s ease,transform .1s ease,box-shadow .15s ease;cursor:pointer;text-decoration:none;display:inline-block}
.cc-btn-primary:hover{background:var(--cc-primary-dark);transform:translateY(-1px);text-decoration:none;color:#fff;box-shadow:0 6px 18px rgba(26,86,219,.35)}
/* "Find My Matches" nav CTA — matched to the SwingCheck landing
   "Start Free" button (.btn-primary uses var(--green) = #16a34a,
   hover var(--green-dark) = #15803d) so the two product surfaces
   share one primary-action color. */
.cc-btn-primary.cc-btn-accent-cta{background:#16a34a;color:#ffffff}
.cc-btn-primary.cc-btn-accent-cta:hover{background:#15803d;color:#ffffff}
.cc-btn-accent{background:linear-gradient(135deg,var(--cc-accent),var(--cc-accent-dark));color:#1f2937;box-shadow:0 4px 12px rgba(245,158,11,.3)}
.cc-btn-ghost{background:transparent;color:var(--cc-primary);border:1px solid var(--cc-primary)}
.cc-btn-lg{padding:14px 22px;font-size:15px}

/* Mobile nav drawer */
.cc-hamburger{display:none;background:none;border:0;font-size:22px;color:var(--cc-text);padding:4px 8px;cursor:pointer}
.cc-nav-mobile{display:none;padding:10px 20px 14px;border-top:1px solid var(--cc-border);background:#fff;flex-direction:column;gap:2px}
.cc-nav-mobile.active{display:flex}
.cc-nav-mobile a{display:block;padding:12px 4px;color:var(--cc-text-2);font-size:15px;font-weight:600;border-bottom:1px solid var(--cc-border-soft);text-decoration:none}
.cc-nav-mobile a:last-child{border-bottom:0;margin-top:6px;text-align:center;padding:12px}
.cc-nav-mobile a.cc-btn-primary{color:#fff;margin-top:8px}
@media (max-width:820px){
  .cc-nav-links{display:none}
  .cc-nav-cta .cc-signin{display:none}
  .cc-nav-cta .cc-btn-primary{display:none}
  .cc-hamburger{display:inline-block}
}

/* ── HERO ─── court photo + dark overlay + white text ── */
.cc-hero{position:relative;min-height:100vh;padding:calc(66px + 32px) 20px 24px;background:linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.30)),url('/images/tennis-court-hero.jpg') center/cover no-repeat;border-bottom:1px solid var(--cc-border);color:#ffffff;display:flex;flex-direction:column}
.cc-hero-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:1100px;margin:0 auto;width:100%;padding:12px 0}
.cc-hero .cc-eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:3px;text-transform:uppercase;color:#ffffff;background:rgba(255,255,255,0.15);border:1px solid rgba(255,255,255,.28);padding:6px 14px;border-radius:999px;margin-bottom:14px;backdrop-filter:blur(4px);box-shadow:none}
.cc-hero h1{font-size:clamp(32px,4.6vw,54px);line-height:1.08;letter-spacing:-1.6px;font-weight:900;margin:0 0 14px;color:#ffffff;text-shadow:0 2px 14px rgba(0,0,0,.4)}
.cc-hero h1 .cc-accent-text{color:var(--cc-accent);-webkit-background-clip:initial;background-clip:initial;background:none}
.cc-hero p{font-size:clamp(14px,1.5vw,17px);color:#f1f5f9;max-width:680px;margin:0 auto 26px;line-height:1.55;text-shadow:0 1px 8px rgba(0,0,0,.4)}

/* ── Hero feature buttons (glass/frosted, 2×2 grid) ── */
/* Odd-count last child spans the full row so it centers naturally. */
.cc-hero-buttons{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:480px;margin:0 auto 28px}
.cc-hero-buttons > .cc-hero-btn:last-child:nth-child(odd){grid-column:1 / -1}
.cc-hero-btn{width:100%;min-height:96px;background:rgba(255,255,255,0.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,0.25);border-radius:12px;padding:12px 14px;font-weight:700;font-size:13px;color:#ffffff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;transition:all .18s ease;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.18);text-decoration:none;font-family:inherit}
.cc-hero-btn:hover{background:rgba(255,255,255,0.22);border-color:rgba(255,255,255,0.45);transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.28);text-decoration:none;color:#ffffff}
.cc-hero-btn-icon{font-size:26px;line-height:1;filter:drop-shadow(0 2px 6px rgba(0,0,0,.4))}
.cc-hero-btn-label{font-size:13px;font-weight:800;letter-spacing:.3px;line-height:1.2}

/* Hero stats bar */
.cc-hero-stats{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 28px;padding:18px 22px;background:rgba(0,0,0,0.3);border:1px solid rgba(255,255,255,.12);border-radius:14px;max-width:900px;margin:0 auto;backdrop-filter:blur(6px)}
.cc-hero-stat{text-align:center;min-width:110px}
.cc-hero-stat-num{font-size:22px;font-weight:900;color:var(--cc-accent);line-height:1}
.cc-hero-stat-lbl{font-size:10px;color:#cbd5e1;letter-spacing:1.5px;text-transform:uppercase;margin-top:4px;font-weight:600}
@media (max-width:480px){
  .cc-hero h1{font-size:30px}
  .cc-hero-btn{min-height:88px;font-size:12px}
  .cc-hero-btn-icon{font-size:22px}
  .cc-hero-stat-num{font-size:18px}
}

/* ── SECTIONS / LAYOUT ────────────────────────────── */
.cc-section{padding:64px 20px}
.cc-section-inner{max-width:1200px;margin:0 auto}
/* Section bands are transparent so the body hero background shows
   through. Cards inside (cc-cmt-card, cc-step, cc-match, cc-feat-card
   etc.) carry their own opaque fills for readable text. */
.cc-section-white{background:transparent;border-bottom:1px solid var(--cc-border)}
.cc-section-tint{background:transparent;border-bottom:1px solid var(--cc-border)}
.cc-section-head{text-align:center;margin-bottom:36px}
.cc-section-head h2{font-size:clamp(24px,3.4vw,36px);font-weight:900;letter-spacing:-0.5px;margin:0 0 10px;color:var(--cc-text)}
.cc-section-head p{font-size:15px;color:var(--cc-text-2);max-width:680px;margin:0 auto;font-weight:400}
/* Tennis-court accent bar under each section head — subtle reference
   to the court's center line / T-bar. Short, yellow, intentional. */
.cc-section-head::after{content:'';display:block;width:60px;height:3px;background:var(--cc-accent);margin:12px auto 0;border-radius:2px}
.cc-eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:3px;text-transform:uppercase;color:#ffffff;background:linear-gradient(135deg,var(--cc-primary),var(--cc-primary-dark));padding:6px 16px;border-radius:999px;margin-bottom:14px;box-shadow:0 2px 8px rgba(26,86,219,.25)}

/* Pages with a nav need top padding to clear the fixed bar.
   Inner-page tennis pages (tennis-cmt, tennis-analyze, tennis-data)
   carry the same aerial-court hero background as the courtcheck
   landing, with the identical dark blue/black gradient overlay.
   Cards on these pages have solid white backgrounds that preserve
   text contrast against the darkened court image. */
body.cc-page-top{
  padding-top:66px;
  min-height:100vh;
  background:
    linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.30)),
    url('/images/tennis-court-hero.jpg') center/cover scroll no-repeat;
}

/* Back-to-hero strip */
.cc-back-strip{max-width:1200px;margin:12px auto 0;padding:0 20px;font-size:13px}
.cc-back-strip a{color:var(--cc-text-2);font-weight:600}
.cc-back-strip a:hover{color:var(--cc-primary)}

/* How It Works — tennis ball yellow top border reads like the
   baseline of a court. Same pattern applied to .cc-feat below. */
.cc-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.cc-step{background:var(--cc-surface);border:1px solid var(--cc-border);border-top:3px solid var(--cc-accent);border-radius:12px;padding:22px;box-shadow:var(--cc-shadow);transition:transform .2s ease,box-shadow .2s ease}
.cc-step:hover{transform:translateY(-3px);box-shadow:var(--cc-shadow-lg)}
.cc-step-num{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,var(--cc-primary),var(--cc-primary-dark));color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:15px;margin-bottom:12px}
.cc-step h3{font-size:17px;font-weight:900;margin:0 0 6px;color:var(--cc-text);letter-spacing:-0.3px}
.cc-step p{font-size:14px;color:var(--cc-text);margin:0;line-height:1.55;font-weight:400}

/* CMT — blue header band + floating form card */
.cc-cmt{background:transparent;padding:0;border-bottom:1px solid var(--cc-border)}
.cc-cmt-band{background:linear-gradient(135deg,var(--cc-primary),var(--cc-primary-dark));color:#fff;padding:48px 20px 56px;text-align:center;position:relative}
.cc-cmt-band::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:24px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(26,86,219,.08) 100%);pointer-events:none}
.cc-cmt-band .cc-eyebrow{background:rgba(255,255,255,.18);color:#ffffff;border:1px solid rgba(255,255,255,.25);box-shadow:none}
.cc-cmt-band h2{font-size:clamp(26px,3.6vw,38px);font-weight:900;letter-spacing:-1px;margin:0 0 10px;color:#ffffff}
.cc-cmt-band p{font-size:15px;color:#dbeafe;max-width:640px;margin:0 auto}
.cc-cmt-inner{max-width:1100px;margin:-36px auto 0;padding:0 20px 56px;position:relative;z-index:1}
.cc-cmt-card{background:var(--cc-card);border:1px solid var(--cc-border);border-left:6px solid var(--cc-primary);border-radius:16px;padding:28px;box-shadow:0 14px 40px rgba(15,23,42,.10)}
.cc-prefill-banner{background:rgba(34,197,94,.08);border:1px solid rgba(22,163,74,.25);color:#065f46;padding:10px 14px;border-radius:10px;font-size:13px;font-weight:700;margin-bottom:16px;display:none}
.cc-prefill-banner.active{display:block}

/* Form grid */
.cc-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.cc-field{display:flex;flex-direction:column;gap:6px}
.cc-field label{font-size:12px;font-weight:600;color:var(--cc-text);letter-spacing:.3px;display:flex;align-items:center;gap:6px}
.cc-field .cc-tip{font-size:11px;color:var(--cc-text-3);font-weight:500;margin-left:4px;cursor:help;text-decoration:underline dotted}
.cc-field input,.cc-field select{padding:11px 12px;border:2px solid rgba(26,86,219,0.15);border-radius:8px;font-size:14px;background:#fff;color:var(--cc-text);font-family:inherit;transition:border-color .15s,box-shadow .15s;font-weight:500}
.cc-field input:focus,.cc-field select:focus{outline:none;border-color:var(--cc-primary);box-shadow:0 0 0 3px rgba(26,86,219,0.1)}
.cc-form-actions{margin-top:22px;display:flex;flex-direction:column;gap:10px}
.cc-submit{background:linear-gradient(135deg,var(--cc-primary),var(--cc-primary-dark));color:#fff;border:0;border-radius:12px;padding:16px;font-size:16px;font-weight:800;letter-spacing:.3px;cursor:pointer;box-shadow:0 6px 16px rgba(26,86,219,.25);transition:transform .1s ease,box-shadow .15s ease}
.cc-submit:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(26,86,219,.33)}
.cc-intl-toggle{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--cc-border);background:#fafbfc;border-radius:10px;font-size:13px;color:var(--cc-text-2);cursor:pointer;user-select:none}
.cc-intl-toggle input{margin:0}
.cc-intl-toggle:hover{background:#f1f5f9}
.cc-intl-region{margin-top:2px;padding:12px 14px;border:1px dashed var(--cc-border);background:#fafbfc;border-radius:10px}
.cc-intl-region-label{font-size:12px;font-weight:700;color:var(--cc-text-2);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.cc-intl-region-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}
.cc-intl-region-btn{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--cc-border);background:#fff;border-radius:8px;font-size:13px;color:var(--cc-text);cursor:pointer;user-select:none;transition:all .15s ease}
.cc-intl-region-btn:hover{border-color:var(--cc-primary);background:#f1f5f9}
.cc-intl-region-btn input{margin:0;accent-color:var(--cc-primary)}
.cc-intl-region-btn:has(input:checked){border-color:var(--cc-primary);background:rgba(26,86,219,.06);font-weight:700}

/* CMT Results */
.cc-results{margin-top:28px;display:none}
.cc-results.active{display:block}
.cc-results-title{font-size:14px;font-weight:800;color:var(--cc-text-2);letter-spacing:2px;text-transform:uppercase;margin:18px 0 12px}
.cc-banner{padding:14px 16px;border-radius:12px;margin-bottom:14px;font-size:14px;line-height:1.5}
.cc-banner-projection{background:linear-gradient(135deg,rgba(26,86,219,.06),rgba(245,158,11,.06));border:1px solid rgba(26,86,219,.2);color:var(--cc-text)}
.cc-banner-projection b{color:var(--cc-primary)}
.cc-banner-threshold{background:#fff;border:1px solid var(--cc-border);padding:16px}
.cc-div-grid{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.cc-div-card{flex:1;min-width:220px;background:#f8fafc;border:1px solid var(--cc-border);border-radius:10px;padding:12px}
.cc-div-lbl{font-size:13px;font-weight:900;letter-spacing:1px;margin-bottom:6px}
.cc-div-row{font-size:12px;padding:3px 0;font-weight:600}
.cc-div-row.ok{color:var(--cc-ok)}
.cc-div-row.gap{color:var(--cc-warn)}
.cc-div-row.nil{color:var(--cc-text-3);font-weight:500}
.cc-banner-threshold .cc-hint{font-size:11px;color:var(--cc-text-3);margin-top:10px}

/* Match cards — division-colored left border, tennis-ball-yellow
   meter bar, division badge pinned top-right. Feels like a player's
   hitting-zone scorecard. */
.cc-match{background:var(--cc-surface);border:1px solid var(--cc-border);border-left:5px solid var(--cc-primary);border-radius:12px;padding:18px;margin-bottom:12px;box-shadow:var(--cc-shadow);transition:transform .2s ease,box-shadow .2s ease;position:relative}
.cc-match:hover{transform:translateY(-3px);box-shadow:var(--cc-shadow-lg)}
/* Division-colored left border — class applied by the matchCard JS */
.cc-match.div-d1-elite{border-left-color:#f59e0b}  /* gold */
.cc-match.div-d1       {border-left-color:#1a56db}  /* blue */
.cc-match.div-d2       {border-left-color:#7c3aed}  /* purple */
.cc-match.div-d3       {border-left-color:#64748b}  /* slate */
.cc-match.div-naia     {border-left-color:#2d6a4f}  /* green */
.cc-match-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}
.cc-match-title{font-size:19px;font-weight:900;color:var(--cc-text);line-height:1.2;letter-spacing:-0.3px}
.cc-match-meta{font-size:12px;color:var(--cc-text-2);margin-top:3px;font-weight:500}
.cc-match-score{text-align:right;flex-shrink:0}
.cc-match-score-num{font-size:22px;font-weight:900;line-height:1;color:var(--cc-primary)}
.cc-match-score-lbl{font-size:10px;color:var(--cc-text-2);text-transform:uppercase;letter-spacing:1px;margin-top:2px;font-weight:700}
/* Meter bar — tennis-ball yellow fill for the match score */
.cc-match-meter{width:100%;height:10px;background:rgba(26,86,219,0.08);border-radius:5px;overflow:hidden;margin:4px 0 10px}
.cc-match-meter-fill{height:100%;background:linear-gradient(90deg,var(--cc-accent),var(--cc-accent-dark));border-radius:5px;transition:width .45s cubic-bezier(.2,.9,.3,1.05)}
.cc-match-badges{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.cc-badge{font-size:11px;font-weight:800;padding:4px 10px;border-radius:999px;letter-spacing:.4px;text-transform:uppercase}
.cc-match-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:10px 0;font-size:12px;color:var(--cc-text)}
.cc-match-det{padding:6px 10px;background:rgba(26,86,219,0.05);border-radius:8px}
.cc-match-det b{color:var(--cc-text);font-weight:700}
.cc-match-notable{font-size:12px;color:var(--cc-text-2);font-style:italic;margin-top:6px;font-weight:500}
.cc-match-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cc-match-actions a,.cc-match-actions button{font-size:13px;padding:7px 12px;border-radius:8px;font-weight:700}

/* Features grid */
.cc-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.cc-feat{background:var(--cc-surface);border:1px solid var(--cc-border);border-top:3px solid var(--cc-accent);border-radius:12px;padding:22px;transition:transform .2s ease,box-shadow .2s ease}
.cc-feat:hover{transform:translateY(-3px);box-shadow:var(--cc-shadow-lg)}
.cc-feat-icon{width:44px;height:44px;border-radius:10px;background:rgba(26,86,219,.08);display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:12px}
.cc-feat h3{font-size:16px;font-weight:900;margin:0 0 6px;color:var(--cc-text);letter-spacing:-0.3px}
.cc-feat p{font-size:13px;color:var(--cc-text);margin:0;line-height:1.55;font-weight:400}

/* Data credibility (dark band) */
.cc-credibility{background:linear-gradient(135deg,#1e293b,#0f172a);color:#f8fafc;padding:56px 20px;text-align:center}
.cc-credibility h2{font-size:clamp(24px,3vw,32px);margin:0 0 10px;color:#fff;letter-spacing:-.5px}
.cc-credibility p{font-size:15px;color:#cbd5e1;max-width:680px;margin:0 auto 28px;line-height:1.55}
.cc-cred-grid{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.cc-cred-stat{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:18px}
.cc-cred-stat-num{font-size:28px;font-weight:900;color:var(--cc-accent);line-height:1}
.cc-cred-stat-lbl{font-size:12px;color:#94a3b8;margin-top:4px;font-weight:600}

/* Japan / International report */
.cc-japan{display:none;margin-top:20px;background:#fffbeb;border:1px solid #fde68a;border-radius:14px;padding:20px}
.cc-japan.active{display:block}
.cc-japan h3{font-size:17px;font-weight:900;margin:0 0 8px;color:#92400e;display:flex;align-items:center;gap:8px}
.cc-japan-sub{font-size:13px;color:#78350f;margin-bottom:14px}
.cc-japan-section{margin:12px 0;padding:12px;background:#fff;border:1px solid #fde68a;border-radius:10px}
.cc-japan-section h4{font-size:13px;font-weight:800;margin:0 0 6px;color:#92400e;text-transform:uppercase;letter-spacing:.5px}
.cc-japan-section ul{margin:0;padding-left:20px;font-size:13px;color:var(--cc-text)}
.cc-japan-section li{margin:3px 0}

/* Stroke selector (pre-capture) — each card is court-themed per
   shot type. Idle state uses the stroke's color on border + text.
   Selected state fills with the same color, inverts text, scales 1.05. */
.cc-stroke-select{max-width:720px;margin:0 auto;background:var(--cc-surface);border:1px solid var(--cc-border);border-top:3px solid var(--cc-accent);border-radius:16px;padding:24px;box-shadow:var(--cc-shadow)}
.cc-stroke-select h3{font-size:18px;font-weight:900;margin:0 0 14px;color:var(--cc-text);text-align:center;letter-spacing:-0.3px}
.cc-stroke-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.cc-stroke-card{background:#ffffff;border:2px solid var(--cc-primary);border-radius:12px;padding:20px 14px;text-align:center;cursor:pointer;transition:all .2s cubic-bezier(.2,.9,.3,1.05);font-family:inherit;color:var(--cc-primary);display:flex;flex-direction:column;align-items:center;gap:10px;min-height:132px;justify-content:center}
.cc-stroke-card:hover{transform:translateY(-3px);box-shadow:var(--cc-shadow-lg)}
.cc-stroke-card.selected{color:#ffffff;transform:scale(1.05);box-shadow:0 10px 28px rgba(26,86,219,.25)}
.cc-stroke-icon{font-size:48px;line-height:1}
.cc-stroke-label{font-size:14px;font-weight:800;letter-spacing:.2px}
.cc-stroke-sub{font-size:11px;font-weight:600;opacity:.8;margin-top:-2px}
/* Per-stroke court-themed color palette */
.cc-stroke-card[data-stroke="serve"]       {border-color:#1a56db;color:#1a56db}
.cc-stroke-card[data-stroke="forehand"]    {border-color:#f59e0b;color:#d97706}
.cc-stroke-card[data-stroke="backhand_2h"] {border-color:#2d6a4f;color:#2d6a4f}
.cc-stroke-card[data-stroke="volley"]      {border-color:#7c3aed;color:#7c3aed}
.cc-stroke-card[data-stroke="overhead"]    {border-color:#dc2626;color:#dc2626}
.cc-stroke-card[data-stroke="match_play"]  {border-color:#0f172a;color:#0f172a}
.cc-stroke-card[data-stroke="serve"].selected       {background:#1a56db;border-color:#1a56db}
.cc-stroke-card[data-stroke="forehand"].selected    {background:#f59e0b;border-color:#f59e0b;color:#1f2937}
.cc-stroke-card[data-stroke="backhand_2h"].selected {background:#2d6a4f;border-color:#2d6a4f}
.cc-stroke-card[data-stroke="volley"].selected      {background:#7c3aed;border-color:#7c3aed}
.cc-stroke-card[data-stroke="overhead"].selected    {background:#dc2626;border-color:#dc2626}
.cc-stroke-card[data-stroke="match_play"].selected  {background:#0f172a;border-color:#0f172a}
.cc-stroke-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;background:rgba(26,86,219,.08);border:1px solid rgba(26,86,219,.25);border-radius:999px;font-size:13px;font-weight:700;color:var(--cc-primary);margin-bottom:12px}
.cc-stroke-chip button{background:none;border:0;color:var(--cc-text-3);font-size:12px;font-weight:600;cursor:pointer;padding:0;text-decoration:underline;font-family:inherit}
.cc-stroke-chip button:hover{color:var(--cc-primary)}

/* Analysis section (Live / Upload) */
.cc-analyze-card{background:#ffffff;border:1px solid var(--cc-border);border-left:6px solid var(--cc-primary);border-radius:16px;padding:22px;box-shadow:0 10px 30px rgba(15,23,42,.08);max-width:880px;margin:0 auto}
.cc-tabs{display:flex;gap:8px;margin-bottom:18px;border-bottom:1px solid var(--cc-border)}
.cc-tab{background:transparent;border:0;padding:10px 16px;font-size:14px;font-weight:700;color:var(--cc-text-2);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-1px;font-family:inherit}
.cc-tab:hover{color:var(--cc-primary)}
.cc-tab.active{color:var(--cc-primary);border-bottom-color:var(--cc-primary)}
.cc-live-video{width:100%;aspect-ratio:16/9;background:#0f172a;border-radius:12px;display:block;object-fit:cover}
.cc-controls{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.cc-controls button{background:var(--cc-primary);color:#fff;border:0;padding:12px 18px;border-radius:10px;font-weight:700;font-size:14px;cursor:pointer;font-family:inherit}
.cc-controls button[disabled]{background:#94a3b8;cursor:not-allowed}
.cc-controls button.cc-stop{background:#dc2626}
.cc-drop{border:2px dashed var(--cc-border);border-radius:12px;padding:40px 20px;text-align:center;background:#fafbfc;transition:all .15s}
.cc-drop.dragging{background:rgba(26,86,219,.06);border-color:var(--cc-primary)}
.cc-drop-icon{font-size:42px;line-height:1;margin-bottom:10px}
.cc-drop-title{font-size:17px;font-weight:800;color:var(--cc-text);margin-bottom:4px}
.cc-drop-sub{font-size:13px;color:var(--cc-text-2);margin-bottom:6px}
.cc-drop-tip{font-size:12px;color:var(--cc-text-3);font-style:italic}
.cc-hint{font-size:12px;color:var(--cc-text-3);margin-top:10px}
.cc-progress-wrap{margin-top:16px;padding:14px;background:rgba(26,86,219,0.05);border-radius:10px;border:1px solid rgba(26,86,219,0.12)}
.cc-progress-bar{height:10px;background:rgba(26,86,219,0.10);border-radius:5px;overflow:hidden}
.cc-progress-bar > div{height:100%;background:linear-gradient(90deg,var(--cc-accent),var(--cc-accent-dark));width:0%;transition:width .25s cubic-bezier(.2,.9,.3,1.05);background-size:200% 100%;animation:ccProgBounce 1.2s ease-in-out infinite}
.cc-progress-text{font-size:12px;color:var(--cc-text);margin-top:8px;font-weight:700}
@keyframes ccProgBounce{0%,100%{background-position:0% 0}50%{background-position:100% 0}}
.cc-analysis-results{margin-top:18px;padding:18px;background:linear-gradient(135deg,rgba(26,86,219,.06),rgba(245,158,11,.06));border:1px solid rgba(26,86,219,.2);border-radius:12px}
.cc-analysis-results h3{font-size:15px;font-weight:800;margin:0 0 10px;color:var(--cc-text);display:flex;align-items:center;gap:8px}
.cc-analysis-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-bottom:12px}
.cc-ar-cell{background:var(--cc-surface);border:1px solid var(--cc-border);border-top:3px solid var(--cc-accent);border-radius:10px;padding:12px 10px}
.cc-ar-cell .v{font-size:22px;font-weight:900;color:var(--cc-primary);line-height:1;letter-spacing:-0.3px}
.cc-ar-cell .l{font-size:10px;color:var(--cc-text);text-transform:uppercase;letter-spacing:1px;margin-top:3px;font-weight:700}
.cc-ar-flag{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:10px;margin-top:6px;font-size:13px;color:#7c2d12}
.cc-ar-flag.red{background:#fef2f2;border-color:#fecaca;color:#7f1d1d}
.cc-ar-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.cc-ar-actions button,.cc-ar-actions a{font-size:13px;font-weight:700;padding:10px 14px;border-radius:10px;border:0;cursor:pointer;font-family:inherit}

/* Why CourtCheck AI modal */
.cc-modal{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.75);display:none;align-items:flex-start;justify-content:center;padding:40px 16px;overflow-y:auto;animation:ccFade .15s ease}
.cc-modal.active{display:flex}
.cc-modal-card{background:#ffffff;max-width:720px;width:100%;border-radius:16px;padding:36px 32px 30px;box-shadow:0 28px 80px rgba(0,0,0,.45);position:relative;animation:ccPop .2s cubic-bezier(.2,.9,.3,1.2)}
.cc-modal-close{position:absolute;top:14px;right:14px;background:#f1f5f9;border:0;width:34px;height:34px;border-radius:50%;font-size:18px;color:var(--cc-text-2);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s}
.cc-modal-close:hover{background:var(--cc-border)}
.cc-modal-eyebrow{font-size:11px;font-weight:800;letter-spacing:3px;text-transform:uppercase;color:var(--cc-primary);margin-bottom:8px}
.cc-modal-card h3{font-size:clamp(24px,3vw,32px);font-weight:900;letter-spacing:-.8px;margin:0 0 16px;color:var(--cc-text)}
.cc-modal-card p{font-size:15px;color:var(--cc-text-2);line-height:1.6;margin:0 0 14px}
.cc-modal-card ul{list-style:none;padding:0;margin:14px 0}
.cc-modal-card ul li{position:relative;padding:10px 0 10px 30px;border-top:1px solid var(--cc-border-soft);font-size:14px;color:var(--cc-text);line-height:1.5}
.cc-modal-card ul li:first-child{border-top:0}
.cc-modal-card ul li::before{content:'✓';position:absolute;left:0;top:10px;width:22px;height:22px;background:rgba(22,163,74,.12);color:#16a34a;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:12px}
.cc-modal-card ul li b{color:var(--cc-primary);font-weight:800}
.cc-modal-footer-line{margin-top:16px;padding-top:14px;border-top:1px solid var(--cc-border);font-size:13px;color:var(--cc-text-3);font-style:italic}
@keyframes ccFade{from{opacity:0}to{opacity:1}}
@keyframes ccPop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}

/* UTR modal — two college benchmark tables (Men / Women).
   Order is set dynamically by openUtrModal() based on the cc_gender
   selection; the "primary" one gets a solid blue left rail. */
.cc-utr-table{background:#f8fafc;border:1px solid var(--cc-border);border-radius:12px;padding:14px 16px;margin:12px 0}
.cc-utr-table.primary{border-left:4px solid var(--cc-primary);background:rgba(26,86,219,.04)}
.cc-utr-table-title{font-size:12px;font-weight:800;color:var(--cc-primary);letter-spacing:1.5px;text-transform:uppercase;margin-bottom:8px}
.cc-utr-table ul{list-style:none;margin:0;padding:0}
.cc-utr-table ul li{padding:6px 0;border-top:1px solid var(--cc-border-soft);font-size:14px;color:var(--cc-text)}
.cc-utr-table ul li:first-child{border-top:0}
.cc-utr-table ul li::before{content:'';display:none}  /* override the generic modal-card ul ::before check */
.cc-utr-table ul li b{color:var(--cc-text);font-weight:800}

/* Footer */
.cc-footer{background:#0f172a;color:#cbd5e1;padding:28px 20px;text-align:center;font-size:13px}
.cc-footer a{color:var(--cc-accent)}

/* Misc */
.cc-empty{padding:28px;text-align:center;color:var(--cc-text-3);font-size:14px}
.cc-scroll-target{scroll-margin-top:80px}

/* ═══════════════════════════════════════════════════════════════════
   GLASSMORPHISM REDESIGN — inner tennis pages only
   ------------------------------------------------------------------
   Scoped under body.cc-page-top so the courtcheck landing
   (body without that class) is completely unaffected. Every surface
   floats over the aerial-court hero as frosted glass; tennis yellow
   (#d4ed26) is the single accent.
   ═══════════════════════════════════════════════════════════════════ */

/* Typography — white headings, soft-white body copy */
body.cc-page-top .cc-section-head h2{color:#ffffff;font-weight:900;text-shadow:0 2px 12px rgba(0,0,0,.3)}
body.cc-page-top .cc-section-head p{color:rgba(255,255,255,0.8)}
body.cc-page-top .cc-results-title{color:rgba(255,255,255,0.85)}
body.cc-page-top .cc-back-strip a{color:rgba(255,255,255,0.8)}
body.cc-page-top .cc-back-strip a:hover{color:#d4ed26}

/* Eyebrow pill — glass, white, backdrop-blur */
body.cc-page-top .cc-eyebrow{
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.25);
  color:#ffffff;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-radius:999px;
  box-shadow:none;
}

/* CMT band — was solid blue, now glass card */
body.cc-page-top .cc-cmt-band{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:16px;
  color:#ffffff;
  max-width:1100px;
  margin:24px auto 0;
  padding:36px 24px 40px;
  box-shadow:0 8px 32px rgba(0,0,0,0.25);
}
body.cc-page-top .cc-cmt-band::after{display:none}
body.cc-page-top .cc-cmt-band h2{color:#ffffff}
body.cc-page-top .cc-cmt-band p{color:rgba(255,255,255,0.8)}
body.cc-page-top .cc-cmt-band .cc-eyebrow{
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.25);
  color:#ffffff;
}
body.cc-page-top .cc-cmt-inner{margin-top:20px;padding-top:0}

/* Form card — frosted glass */
body.cc-page-top .cc-cmt-card{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.2);
  border-left:1px solid rgba(255,255,255,0.2);
  border-radius:20px;
  box-shadow:0 8px 48px rgba(0,0,0,0.3);
  color:#ffffff;
}

/* Field labels */
body.cc-page-top .cc-field label{
  color:rgba(255,255,255,0.85);
  font-weight:700;
  font-size:13px;
}
body.cc-page-top .cc-field .cc-tip{color:rgba(255,255,255,0.6)}

/* Input fields — glass with white text, tennis-yellow focus ring */
body.cc-page-top .cc-field input,
body.cc-page-top .cc-field select{
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2);
  border-radius:8px;
  color:#ffffff;
  padding:12px;
  font-weight:500;
}
body.cc-page-top .cc-field input::placeholder{color:rgba(255,255,255,0.5)}
/* Browser-native dropdown lists need dark text on white so they're
   readable after the select is tapped. */
body.cc-page-top .cc-field select option{color:#0f172a;background:#ffffff}
body.cc-page-top .cc-field input:focus,
body.cc-page-top .cc-field select:focus{
  border-color:#d4ed26;
  box-shadow:0 0 0 3px rgba(212,237,38,0.2);
  outline:none;
  background:rgba(255,255,255,0.15);
}

/* Primary CTA — tennis yellow */
body.cc-page-top .cc-submit{
  background:linear-gradient(135deg,#d4ed26,#b5d400);
  color:#1a2e1a;
  font-weight:900;
  font-size:18px;
  border-radius:12px;
  padding:18px;
  border:none;
  width:100%;
  letter-spacing:.3px;
  box-shadow:0 6px 20px rgba(212,237,38,0.3);
}
body.cc-page-top .cc-submit:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(212,237,38,0.45);
}

/* International toggle — CSS switch in tennis yellow */
body.cc-page-top .cc-intl-toggle{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.2);
  color:rgba(255,255,255,0.9);
  border-radius:12px;
}
body.cc-page-top .cc-intl-toggle:hover{background:rgba(255,255,255,0.12)}
body.cc-page-top .cc-intl-toggle input[type="checkbox"]{
  appearance:none;
  -webkit-appearance:none;
  width:46px;
  height:26px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.25);
  border-radius:999px;
  position:relative;
  cursor:pointer;
  transition:all .2s ease;
  flex-shrink:0;
  margin:0;
}
body.cc-page-top .cc-intl-toggle input[type="checkbox"]::before{
  content:'';
  position:absolute;
  top:2px;
  left:2px;
  width:20px;
  height:20px;
  background:rgba(255,255,255,0.9);
  border-radius:50%;
  transition:all .2s ease;
  box-shadow:0 2px 6px rgba(0,0,0,.25);
}
body.cc-page-top .cc-intl-toggle input[type="checkbox"]:checked{
  background:#d4ed26;
  border-color:#d4ed26;
}
body.cc-page-top .cc-intl-toggle input[type="checkbox"]:checked::before{
  left:22px;
  background:#1a2e1a;
}

/* Region selector (under the switch) */
body.cc-page-top .cc-intl-region{
  background:rgba(255,255,255,0.05);
  border:1px dashed rgba(255,255,255,0.2);
}
body.cc-page-top .cc-intl-region-label{color:rgba(255,255,255,0.7)}
body.cc-page-top .cc-intl-region-btn{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  color:rgba(255,255,255,0.9);
}
body.cc-page-top .cc-intl-region-btn:hover{
  border-color:#d4ed26;
  background:rgba(255,255,255,0.12);
}
body.cc-page-top .cc-intl-region-btn:has(input:checked){
  border-color:#d4ed26;
  background:rgba(212,237,38,0.15);
  color:#d4ed26;
  font-weight:700;
}

/* Prefill banner */
body.cc-page-top .cc-prefill-banner{
  background:rgba(212,237,38,0.1);
  border:1px solid rgba(212,237,38,0.3);
  color:#d4ed26;
}

/* Match result cards — glass with division-colored left rail */
body.cc-page-top .cc-match{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.15);
  border-left:5px solid #4a7c59;
  border-radius:16px;
  color:#ffffff;
  box-shadow:0 8px 32px rgba(0,0,0,0.2);
}
body.cc-page-top .cc-match.div-d1-elite{border-left-color:#d4ed26}
body.cc-page-top .cc-match.div-d1       {border-left-color:#4a7c59}
body.cc-page-top .cc-match.div-d2       {border-left-color:#7c3aed}
body.cc-page-top .cc-match.div-d3       {border-left-color:#94a3b8}
body.cc-page-top .cc-match.div-naia     {border-left-color:#2d6a4f}
body.cc-page-top .cc-match-title{color:#ffffff}
body.cc-page-top .cc-match-meta{color:rgba(255,255,255,0.75)}
body.cc-page-top .cc-match-score-num{color:#d4ed26}
body.cc-page-top .cc-match-score-lbl{color:rgba(255,255,255,0.75)}
body.cc-page-top .cc-match-meter{background:rgba(255,255,255,0.1)}
body.cc-page-top .cc-match-meter-fill{background:linear-gradient(90deg,#d4ed26,#b5d400)}
body.cc-page-top .cc-match-details{color:rgba(255,255,255,0.85)}
body.cc-page-top .cc-match-det{background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12);color:rgba(255,255,255,0.9)}
body.cc-page-top .cc-match-det b{color:#ffffff}
body.cc-page-top .cc-match-notable{color:rgba(255,255,255,0.7)}

/* Banners above results */
body.cc-page-top .cc-banner-projection,
body.cc-page-top .cc-banner-threshold{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.15);
  color:#ffffff;
}
body.cc-page-top .cc-banner-projection b{color:#d4ed26}
body.cc-page-top .cc-div-card{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.15);color:#ffffff}
body.cc-page-top .cc-div-row.nil{color:rgba(255,255,255,0.55)}
body.cc-page-top .cc-banner-threshold .cc-hint{color:rgba(255,255,255,0.6)}

/* International / Japan report card */
body.cc-page-top .cc-japan{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.15);
  color:#ffffff;
}
body.cc-page-top .cc-japan h3{color:#d4ed26}
body.cc-page-top .cc-japan-sub{color:rgba(255,255,255,0.8)}
body.cc-page-top .cc-japan-section{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.12);
  color:#ffffff;
}
body.cc-page-top .cc-japan-section h4{color:#d4ed26}
body.cc-page-top .cc-japan-section ul{color:rgba(255,255,255,0.85)}

/* How It Works / Features — glass cards */
body.cc-page-top .cc-step,
body.cc-page-top .cc-feat{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.15);
  border-top:1px solid rgba(255,255,255,0.15);
  border-radius:16px;
  color:#ffffff;
  box-shadow:0 8px 32px rgba(0,0,0,0.2);
}
body.cc-page-top .cc-step h3,
body.cc-page-top .cc-feat h3{color:#ffffff}
body.cc-page-top .cc-step p,
body.cc-page-top .cc-feat p{color:rgba(255,255,255,0.8)}
body.cc-page-top .cc-feat-icon{background:rgba(255,255,255,0.1)}

/* Analyze card — glass */
body.cc-page-top .cc-analyze-card{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.2);
  border-left:1px solid rgba(255,255,255,0.2);
  border-radius:20px;
  color:#ffffff;
  box-shadow:0 8px 48px rgba(0,0,0,0.3);
}
body.cc-page-top .cc-tabs{border-bottom-color:rgba(255,255,255,0.2)}
body.cc-page-top .cc-tab{color:rgba(255,255,255,0.7)}
body.cc-page-top .cc-tab:hover{color:#d4ed26}
body.cc-page-top .cc-tab.active{color:#d4ed26;border-bottom-color:#d4ed26}
body.cc-page-top .cc-controls button{
  background:linear-gradient(135deg,#d4ed26,#b5d400);
  color:#1a2e1a;
  font-weight:800;
}
body.cc-page-top .cc-controls button.cc-stop{
  background:linear-gradient(135deg,#dc2626,#991b1b);
  color:#fff;
}
body.cc-page-top .cc-controls button[disabled]{background:rgba(255,255,255,0.15);color:rgba(255,255,255,0.4)}
body.cc-page-top .cc-drop{
  background:rgba(255,255,255,0.05);
  border:2px dashed rgba(255,255,255,0.2);
  color:#ffffff;
}
body.cc-page-top .cc-drop.dragging{background:rgba(212,237,38,0.1);border-color:#d4ed26}
body.cc-page-top .cc-drop-title{color:#ffffff}
body.cc-page-top .cc-drop-sub,body.cc-page-top .cc-drop-tip{color:rgba(255,255,255,0.7)}
body.cc-page-top .cc-hint{color:rgba(255,255,255,0.6)}
body.cc-page-top .cc-progress-wrap{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.15)}
body.cc-page-top .cc-progress-bar{background:rgba(255,255,255,0.1)}
body.cc-page-top .cc-progress-text{color:#ffffff}

/* Stroke selector — glass wrapper + glass cards */
body.cc-page-top .cc-stroke-select{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.2);
  border-top:1px solid rgba(255,255,255,0.2);
  border-radius:20px;
  color:#ffffff;
  box-shadow:0 8px 48px rgba(0,0,0,0.3);
}
body.cc-page-top .cc-stroke-select h3{color:#ffffff}
body.cc-page-top .cc-stroke-card,
body.cc-page-top .cc-stroke-card[data-stroke]{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:16px;
  color:#ffffff;
}
body.cc-page-top .cc-stroke-card.selected,
body.cc-page-top .cc-stroke-card[data-stroke].selected{
  background:rgba(212,237,38,0.2);
  border-color:#d4ed26;
  color:#d4ed26;
  transform:scale(1.05);
  box-shadow:0 10px 30px rgba(212,237,38,0.25);
}
body.cc-page-top .cc-stroke-chip{
  background:rgba(212,237,38,0.15);
  border-color:rgba(212,237,38,0.4);
  color:#d4ed26;
}
body.cc-page-top .cc-stroke-chip button{color:rgba(255,255,255,0.7)}
body.cc-page-top .cc-stroke-chip button:hover{color:#d4ed26}

/* Analysis results block */
body.cc-page-top .cc-analysis-results{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.15);
  color:#ffffff;
}
body.cc-page-top .cc-analysis-results h3{color:#ffffff}
body.cc-page-top .cc-ar-cell{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.15);
  border-top:2px solid #d4ed26;
  color:#ffffff;
}
body.cc-page-top .cc-ar-cell .v{color:#d4ed26}
body.cc-page-top .cc-ar-cell .l{color:rgba(255,255,255,0.7)}
