/* =====================================================================
   COURT HEAT THEME: loads after styles.css and overrides it
   ===================================================================== */
:root {
  --bg: #0c3428; --panel: #14503d; --line: rgba(246,255,248,.22); --text: #f6fff8; --muted: #a9cdbb;
  --yellow: #d7ff2e; --cyan: #f6fff8; --pos: #d7ff2e; --mid: #7fa593; --neg: #ff7a1a;
  --clay: #ff7a1a; --turf: #14503d; --court: #0e3b2e; --ink: #16210a;
  --head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
}
body { font-family: var(--body); background-color: var(--bg); background-image: none; }
h1, h2, h3, h4, .brand, .nav, button, .num, .tile b, .g-val, .rv-score .big, .tile span, .g-title, .eyebrow, .kicker, .badges { font-family: var(--head); }
h2 { font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; font-size: 2.3rem; border-bottom: 0; margin: 0; padding: 0; }
h3 { font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 1.35rem; }
a { color: var(--yellow); }

/* header */
.top { background: rgba(12,52,40,.92); border-bottom: 3px solid var(--yellow); }
.brand { font-size: 1.5rem; font-weight: 800; font-style: italic; text-transform: uppercase; text-decoration: none; color: var(--text); letter-spacing: .02em; }
.brand b, .logo { color: var(--yellow); }
.nav { margin-left: auto; display: flex; gap: 22px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.nav a:hover { color: var(--yellow); }

/* landing */
.landing { position: relative; background: var(--turf); clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); padding: 56px max(16px, 3vw) 120px; overflow: hidden; }
.court-lines { position: absolute; inset: 26px 2.2% 70px; border: 4px solid rgba(246,255,248,.28); pointer-events: none;
  background:
    linear-gradient(rgba(246,255,248,.28), rgba(246,255,248,.28)) 50% 0 / 4px 100% no-repeat,
    linear-gradient(rgba(246,255,248,.28), rgba(246,255,248,.28)) 0 34% / 100% 4px no-repeat,
    linear-gradient(rgba(246,255,248,.28), rgba(246,255,248,.28)) 0 66% / 100% 4px no-repeat,
    linear-gradient(rgba(14,59,46,.35), rgba(14,59,46,.35)) 0 34% / 100% 32% no-repeat; }
.landing-in { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: center; }
.kicker { margin: 0 0 8px; color: var(--ink); background: var(--yellow); display: inline-block; padding: 3px 14px; transform: skewX(-10deg); font-weight: 800; font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; }
.landing h1 { font-size: clamp(3.6rem, 9.4vw, 8.2rem); line-height: .86; font-weight: 800; font-style: italic; text-transform: uppercase; margin: 14px 0 20px; letter-spacing: -.01em; text-shadow: 6px 6px 0 rgba(0,0,0,.28); }
.landing h1 em { color: var(--yellow); font-style: italic; }
.lede { font-size: 1.2rem; max-width: 36em; color: #e3f6ea; margin: 0 0 26px; }
.landing .urlbar { max-width: 640px; margin: 0; background: #fff; padding: 6px; border-radius: 6px; transform: skewX(-6deg); box-shadow: 7px 7px 0 rgba(0,0,0,.3); }
.landing .urlbar input { background: transparent; border: 0; color: #0b1a12; font: 600 14px var(--body); }
.landing .urlbar input:focus { outline: 0; }
#go { background: var(--yellow); color: var(--ink); border: 0; font-weight: 800; font-size: 1.25rem; font-style: italic; text-transform: uppercase; letter-spacing: .04em; padding: 10px 22px; border-radius: 4px; }
#go:hover { background: #e8ff7d; color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
.badges li { border: 2px solid rgba(246,255,248,.5); padding: 2px 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .95rem; transform: skewX(-10deg); }

.landing-art { position: relative; min-height: 460px; display: grid; place-items: center; }
.art-hex { position: absolute; background: var(--yellow); clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); opacity: .95; }
.art-hex.a1 { width: 330px; height: 300px; left: 12%; top: 6%; }
.art-hex.a2 { width: 120px; height: 108px; right: 2%; top: 4%; background: var(--clay); }
.art-hex.a3 { width: 80px; height: 72px; left: 2%; bottom: 8%; background: #f6fff8; opacity: .85; }
.hero-mascot { position: relative; width: min(380px, 80%); filter: drop-shadow(8px 10px 0 rgba(0,0,0,.25)); }
.speech { position: absolute; left: -2%; top: 8%; background: #fff; color: var(--ink); font: 800 1.35rem/1.05 var(--head); font-style: italic; text-transform: uppercase; padding: 10px 16px; border: 4px solid var(--ink); border-radius: 14px; transform: rotate(-6deg); box-shadow: 5px 5px 0 var(--ink); }
.speech::after { content: ""; position: absolute; right: 26px; bottom: -22px; border: 10px solid transparent; border-top: 14px solid var(--ink); }
@media (max-width: 880px) { .landing-in { grid-template-columns: 1fr; } .landing-art { min-height: 340px; } .nav { display: none; } }

/* mascot behaviour */
.mascot { width: 100%; height: auto; display: block; overflow: visible; }
.m-body { animation: bob 2.4s ease-in-out infinite; }
.m-arms { animation: bob 2.4s ease-in-out infinite; animation-delay: -.15s; }
.m-ball { animation: ballspin 6s linear infinite; transform-box: fill-box; transform-origin: center; }
.m-eyes { animation: blink 5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ballspin { to { transform: rotate(360deg); } }
@keyframes blink { 0%,93%,100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) { .m-body, .m-arms, .m-ball, .m-eyes { animation: none; } }

/* results header */
main { padding-top: 10px; }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 18px 0 20px; }
.eyebrow { color: var(--ink); background: var(--yellow); display: inline-block; padding: 2px 12px; transform: skewX(-10deg); font-weight: 800; letter-spacing: .12em; margin: 0 0 8px; font-size: .95rem; }
.ptitle { font-size: clamp(2.2rem, 5vw, 4rem); line-height: .95; font-weight: 800; font-style: italic; text-transform: uppercase; }
.hero-guide { width: 120px; flex: none; margin-bottom: -6px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 4px solid var(--yellow); margin: 62px 0 18px; }
.sec-mascot { width: 92px; margin: 0 8px -4px; flex: none; }
.pill { background: transparent; border: 2px solid rgba(246,255,248,.45); color: var(--text); border-radius: 0; transform: skewX(-8deg); font-weight: 600; }
.pill.price { background: var(--yellow); color: var(--ink); border-color: var(--yellow); font-weight: 800; }
.status { border-color: var(--yellow); color: var(--text); font-weight: 600; }

/* controls and buttons */
button { background: rgba(246,255,248,.08); border: 2px solid rgba(246,255,248,.5); color: var(--text); border-radius: 4px; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }
button:hover { border-color: var(--yellow); color: var(--yellow); }
button.primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); font-weight: 800; font-style: italic; }
button.primary:hover { color: var(--ink); background: #e8ff7d; }
button.on { border-color: var(--yellow); color: var(--yellow); }
.scrub, .toggle { color: var(--muted); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(215,255,46,.6); } 50% { box-shadow: 0 0 0 12px rgba(215,255,46,0); } }

/* the stage is the court */
.stage { background: radial-gradient(ellipse at 50% 40%, #1b6a50 0%, #14503d 55%, #0e3b2e 100%); border: 3px solid var(--yellow); border-radius: 6px; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 22px 2.5%; border: 3px solid rgba(246,255,248,.3); pointer-events: none; z-index: 0;
  background:
    linear-gradient(rgba(246,255,248,.3), rgba(246,255,248,.3)) 50% 0 / 3px 100% no-repeat,
    linear-gradient(rgba(246,255,248,.3), rgba(246,255,248,.3)) 0 70% / 100% 3px no-repeat; }
.dim-line, .dim-tick { stroke: #f6fff8; } .dim-text, .dim-tag { fill: #f6fff8; stroke: #0e3b2e; }
.leader { stroke: var(--yellow); } .leader-dot { fill: var(--yellow); }
.axis { border-left-color: rgba(246,255,248,.6) !important; }

/* callout cards */
.card { background: rgba(10,43,33,.94); border: 2px solid rgba(246,255,248,.28); border-left: 6px solid var(--yellow); border-radius: 4px; }
.card:hover, .card.active { border-color: var(--yellow); box-shadow: 5px 5px 0 rgba(0,0,0,.35); }
.card h4 { font-size: 1.15rem; font-style: italic; text-transform: uppercase; }
.num { background: var(--yellow); color: var(--ink); font-family: var(--head); font-weight: 800; border-radius: 4px; }
.chip { border-radius: 2px; }
.chip.spec { background: rgba(215,255,46,.12); border-color: rgba(215,255,46,.4); color: var(--yellow); }
.chip.feat { background: rgba(246,255,248,.1); border-color: rgba(246,255,248,.35); color: #f6fff8; }
.parts-list li, .fcard, .tile, .gauge, .radar-box, .feel-box, .mrow, .theme, .rv, .rv-top { background: var(--panel); border: 2px solid rgba(246,255,248,.2); border-radius: 4px; }
.fcard:hover, .theme:hover, .mrow:hover { border-color: var(--yellow); }
.new { background: var(--clay); color: #fff; border-radius: 2px; }
.to-part, .t-part { color: var(--yellow); border-color: rgba(215,255,46,.5); font-size: .9rem; }

/* big numbers */
.tile b { font-size: 3.4rem; font-weight: 800; font-style: italic; color: var(--yellow); line-height: 1; }
.tile span, .g-title { font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.g-val { font-size: 3.6rem; font-weight: 800; font-style: italic; }
.g-track { background: linear-gradient(90deg, #ff7a1a, #ffb347 40%, #d7ff2e 70%, #f6fff8); }
.g-track i { background: var(--ink); border: 3px solid #fff; box-shadow: none; }
.m-val { font-family: var(--head); font-size: 1.5rem; font-weight: 800; font-style: italic; color: var(--yellow); }
.pct.hi, .ok { color: var(--yellow); } .pct.lo { color: var(--clay); }
.m-dot.hi { color: var(--yellow); } .m-dot.lo { color: var(--clay); } .m-dot.mid { color: #f6fff8; }
.lab-chip.hi { color: var(--yellow); border-color: rgba(215,255,46,.5); } .lab-chip.lo { color: var(--clay); border-color: rgba(255,122,26,.6); }
.hbar, .m-track, .t-bar, .vbar { background: rgba(0,0,0,.28); }
.hbar i { background: var(--yellow); } .vbar i { background: #f6fff8; }
.rv-score .big { font-size: 5rem; font-style: italic; font-weight: 800; }
.radar .me { fill: rgba(215,255,46,.25); stroke: var(--yellow); } .radar .me-dot { fill: var(--yellow); }
.radar .cmp { stroke: #f6fff8; fill: rgba(246,255,248,.1); } .radar .cmp-dot { fill: #f6fff8; }
.radar .ring, .radar .spoke { stroke: rgba(246,255,248,.2); } .rlabel { font-family: var(--head); font-size: 14px; fill: #f6fff8; }
mark { background: rgba(215,255,46,.25); color: var(--yellow); }
.t-bar .p, .legend .p { background: var(--yellow); } .t-bar .m, .legend .m { background: #7fa593; } .t-bar .n, .legend .n { background: var(--clay); }
select { background: var(--panel); border: 2px solid var(--line); font-family: var(--body); }
.specs div { border-bottom-color: var(--line); }

.foot { display: flex; justify-content: space-between; gap: 12px; padding: 26px max(16px, 3vw); border-top: 3px solid var(--yellow); font: 800 1.1rem var(--head); font-style: italic; text-transform: uppercase; }

section h2.ptitle { border: 0; margin: 0; padding: 0; }
section .sec-head h2 { margin: 0; padding: 0; border: 0; }
