/* DEV-only public home page concept */
.hp-simple-hero {
    min-height: 610px;
    display: grid;
    align-items: center;
    padding: 82px 0;
    color: #f7fbfa;
    border-bottom: 1px solid #294043;
    background: #0b1214;
}
.hp-simple-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr); gap: 80px; align-items: center; }
.hp-simple-copy h1 { max-width: 660px; margin: 18px 0 0; color: #f7fbfa; font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 760; letter-spacing: -.055em; line-height: 1.02; }
.hp-simple-copy h1 span { color: #2dd4bf; }
.hp-simple-copy > p:not(.hp-owner-link) { max-width: 620px; margin: 24px 0 0; color: #a9bcba; font-size: 1.14rem; line-height: 1.7; }
.hp-simple-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hp-owner-link { margin: 20px 0 0; color: #78918f; font-size: .9rem; }
.hp-owner-link a { color: #9ef3e7; font-weight: 750; }
.hp-feature-panel { padding: 36px; border-left: 1px solid #294043; }
.hp-feature-heading > span { color: #78918f; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hp-feature-heading h2 { margin: 7px 0 0; color: #f7fbfa; font-size: 1.45rem; font-weight: 780; }
.hp-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 28px; margin-top: 26px; }
.hp-feature-grid a { display: grid; grid-template-columns: 46px 1fr; gap: 13px; align-items: start; padding: 17px 8px; color: #f7fbfa; border-bottom: 1px solid #223538; text-decoration: none; }
.hp-feature-grid a:hover { color: #5eead4; }
.hp-feature-grid i { width: 42px; height: 42px; display: grid; place-items: center; color: #2dd4bf; border-radius: 12px; background: #123633; font-size: 1.35rem; }
.hp-feature-grid strong, .hp-feature-grid small { display: block; }
.hp-feature-grid strong { font-size: 1.02rem; }
.hp-feature-grid small { margin-top: 4px; color: #8da3a1; font-size: .78rem; line-height: 1.4; }
.hp-direct-links { border-bottom: 1px solid #294043; background: #0e171a; }
.hp-direct-links .acc-shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.hp-direct-links a { min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #b8c9c7; border-inline-end: 1px solid #223538; text-decoration: none; font-size: .88rem; font-weight: 750; }
.hp-direct-links a:first-child { border-inline-start: 1px solid #223538; }
.hp-direct-links a:hover { color: #5eead4; background: #123633; }
.hp-direct-links i { color: #2dd4bf; font-size: 1.15rem; }

@media (max-width: 1050px) {
    .hp-simple-grid { grid-template-columns: 1fr; gap: 48px; }
    .hp-feature-panel { padding: 32px 0 0; border-top: 1px solid #294043; border-left: 0; }
}
@media (max-width: 700px) {
    .hp-simple-hero { min-height: auto; padding: 62px 0 50px; }
    .hp-simple-grid { width: min(100% - 30px, 1180px); }
    .hp-simple-copy h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
    .hp-simple-actions { display: grid; }
    .hp-feature-grid { grid-template-columns: 1fr; }
    .hp-feature-panel { padding-top: 26px; }
    .hp-direct-links .acc-shell { width: 100%; grid-template-columns: repeat(2, 1fr); }
    .hp-direct-links a { padding: 0 10px; text-align: center; border-bottom: 1px solid #223538; }
}

.hp-page {
    --hp-ink: #122033;
    --hp-muted: #65748a;
    --hp-teal: #0f9488;
    --hp-teal-dark: #08746b;
    --hp-mint: #d9fbf5;
    --hp-orange: #f97316;
    --hp-purple: #5947d9;
    --hp-line: #dce7ea;
    --hp-bg: #f5f9fa;
    color: var(--hp-ink);
    background: var(--hp-bg);
    font-family: var(--ui-font, Inter, system-ui, sans-serif);
}
.hp-page * { box-sizing: border-box; }
.hp-hero {
    position: relative;
    min-height: 690px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(5, 19, 34, .98), rgba(5, 45, 57, .94)),
        radial-gradient(circle at 80% 20%, rgba(45, 212, 191, .28), transparent 40%);
}
.hp-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 110px;
    background: linear-gradient(180deg, transparent, rgba(4, 19, 31, .36));
}
.hp-orb { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hp-orb-one { width: 430px; height: 430px; right: -100px; top: -130px; background: rgba(45, 212, 191, .15); }
.hp-orb-two { width: 250px; height: 250px; left: 42%; bottom: -130px; background: rgba(249, 115, 22, .12); }
.hp-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr);
    gap: 70px;
    align-items: center;
    padding-block: 90px 120px;
}
.hp-eyebrow, .hp-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9ef3e7;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.hp-hero h1 {
    max-width: 720px;
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(3rem, 5.6vw, 5.4rem);
    font-weight: 880;
    letter-spacing: -.06em;
    line-height: .98;
}
.hp-hero h1 span { color: #65ead9; }
.hp-hero-copy > p {
    max-width: 660px;
    margin: 24px 0 0;
    color: #d2e0e7;
    font-size: clamp(1.05rem, 1.7vw, 1.23rem);
    line-height: 1.72;
}
.hp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hp-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.hp-button:hover { transform: translateY(-2px); }
.hp-button-primary { color: #06211e !important; background: #67eadb; box-shadow: 0 14px 32px rgba(45, 212, 191, .24); }
.hp-button-primary:hover { background: #8ff3e6; }
.hp-button-login { color: #fff !important; border-color: rgba(103,234,219,.6); background: rgba(15,148,136,.28); }
.hp-button-login:hover { background: rgba(15,148,136,.46); border-color: #67eadb; }
.hp-button-secondary { color: #fff !important; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.hp-button-secondary:hover { background: rgba(255,255,255,.13); }
.hp-button-light { color: #092934 !important; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.hp-trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: #c5d7df; font-size: .9rem; font-weight: 650; }
.hp-trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.hp-trust-row i { color: #67eadb; font-size: 1.12rem; }
.hp-discovery-card {
    padding: 25px;
    color: var(--hp-ink);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 34px 90px rgba(0,0,0,.34);
}
.hp-discovery-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hp-discovery-head span { color: var(--hp-teal); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hp-discovery-head h2 { margin: 4px 0 0; color: var(--hp-ink); font-size: 1.35rem; font-weight: 850; }
.hp-discovery-head > i { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--hp-teal); border-radius: 15px; font-size: 1.5rem; }
.hp-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 8px 9px 8px 16px;
    border: 1px solid var(--hp-line);
    border-radius: 14px;
    background: #f7fafb;
}
.hp-search > i { color: var(--hp-teal); font-size: 1.18rem; }
.hp-search input { width: 100%; min-width: 0; padding: 10px 2px; color: var(--hp-ink); border: 0; outline: 0; background: transparent; font-size: .92rem; }
.hp-search button { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border: 0; border-radius: 11px; background: var(--hp-teal); }
.hp-quick-grid { display: grid; gap: 9px; margin-top: 14px; }
.hp-quick-grid a {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    color: var(--hp-ink);
    border: 1px solid var(--hp-line);
    border-radius: 14px;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.hp-quick-grid a::after { content: "›"; color: var(--hp-muted); font-size: 1.4rem; }
.hp-quick-grid a:hover { transform: translateX(3px); border-color: #8bdcd2; background: #f0fdfa; }
.hp-quick-grid a > i { width: 44px; height: 44px; display: grid; place-items: center; color: var(--hp-teal); border-radius: 13px; background: var(--hp-mint); font-size: 1.25rem; }
.hp-quick-grid strong, .hp-quick-grid small { display: block; }
.hp-quick-grid strong { font-size: .92rem; }
.hp-quick-grid small { margin-top: 3px; color: var(--hp-muted); font-size: .76rem; }

.hp-services { position: relative; z-index: 4; margin-top: -54px; padding: 0 0 95px; }
.hp-section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.hp-section-kicker { color: var(--hp-teal-dark); }
.hp-section-heading h2, .hp-manager h2 {
    margin: 10px 0 0;
    color: var(--hp-ink);
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 870;
    letter-spacing: -.045em;
    line-height: 1.08;
}
.hp-section-heading p { margin: 15px auto 0; color: var(--hp-muted); font-size: 1.05rem; line-height: 1.7; }
.hp-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-service-card {
    position: relative;
    min-height: 440px;
    padding: 27px;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 35, 52, .09);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hp-service-card:hover { transform: translateY(-6px); box-shadow: 0 28px 58px rgba(15, 35, 52, .14); }
.hp-service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--card-color); }
.hp-clubs { --card-color: var(--hp-teal); }
.hp-events { --card-color: var(--hp-orange); }
.hp-tournaments { --card-color: var(--hp-purple); }
.hp-card-top { display: flex; align-items: center; justify-content: space-between; }
.hp-card-icon { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; border-radius: 18px; background: var(--card-color); font-size: 1.7rem; box-shadow: 0 12px 25px color-mix(in srgb, var(--card-color) 26%, transparent); }
.hp-card-number { color: #d7e1e6; font-size: 2.7rem; font-weight: 900; }
.hp-service-card h3 { margin: 24px 0 0; color: var(--hp-ink); font-size: 1.65rem; font-weight: 850; letter-spacing: -.03em; }
.hp-service-card > p { margin: 11px 0 0; color: var(--hp-muted); line-height: 1.65; }
.hp-service-card ul { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; }
.hp-service-card li { display: flex; align-items: center; gap: 8px; color: #405066; font-size: .9rem; }
.hp-service-card li i { color: var(--card-color); font-weight: 900; }
.hp-service-card > a { position: absolute; left: 27px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; color: var(--card-color); font-weight: 800; text-decoration: none; }

.hp-showcase { padding: 90px 0 100px; border-block: 1px solid var(--hp-line); background: #fff; }
.hp-heading-left { max-width: 760px; margin-inline: 0; text-align: left; }
.hp-filter-tabs { display: inline-flex; gap: 7px; padding: 7px; border: 1px solid var(--hp-line); border-radius: 16px; background: var(--hp-bg); }
.hp-filter-tabs button { min-height: 46px; display: inline-flex; align-items: center; gap: 7px; padding: 0 18px; color: var(--hp-muted); border: 0; border-radius: 11px; background: transparent; font-weight: 750; }
.hp-filter-tabs button.active { color: #fff; background: var(--hp-teal); box-shadow: 0 8px 20px rgba(15, 148, 136, .22); }
.hp-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.hp-listing-grid[hidden] { display: none; }
.hp-listing-card { overflow: hidden; border: 1px solid var(--hp-line); border-radius: 20px; background: #fff; box-shadow: 0 13px 34px rgba(15, 35, 52, .07); }
.hp-listing-visual, .hp-date-visual, .hp-trophy-visual { min-height: 145px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: linear-gradient(135deg, #0f766e, #22c5b7); }
.hp-listing-visual i, .hp-trophy-visual i { font-size: 2.4rem; }
.hp-listing-visual span, .hp-trophy-visual span { font-size: 1.1rem; font-weight: 850; }
.hp-listing-visual.is-pickleball { background: linear-gradient(135deg, #f97316, #fbad3f); }
.hp-listing-visual.is-tennis { background: linear-gradient(135deg, #4f46c7, #8173eb); }
.hp-date-visual { flex-direction: column; gap: 0; background: linear-gradient(135deg, #0f766e, #22c5b7); }
.hp-date-visual strong { font-size: 3rem; line-height: 1; }
.hp-date-visual span { margin-top: 6px; font-weight: 850; letter-spacing: .14em; }
.hp-date-visual.is-orange, .hp-trophy-visual.is-orange { background: linear-gradient(135deg, #e85f0b, #ff9b32); }
.hp-date-visual.is-blue { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.hp-trophy-visual { background: linear-gradient(135deg, #0b6c65, #12b8aa); }
.hp-trophy-visual.is-purple { background: linear-gradient(135deg, #4f46c7, #8478ed); }
.hp-listing-body { padding: 20px; }
.hp-badge { display: inline-flex; padding: 5px 9px; color: var(--hp-teal-dark); border-radius: 999px; background: var(--hp-mint); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.hp-listing-body h3 { margin: 12px 0 0; color: var(--hp-ink); font-size: 1.1rem; font-weight: 820; }
.hp-listing-body p { margin: 8px 0 0; color: var(--hp-muted); font-size: .88rem; }
.hp-listing-body > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.hp-listing-body > div span { padding: 6px 9px; color: #526176; border-radius: 8px; background: #f0f5f6; font-size: .75rem; font-weight: 700; }

.hp-manager { padding: 80px 0; color: #fff; background: linear-gradient(125deg, #08283a, #0b5f64); }
.hp-manager-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 36px 60px; align-items: center; }
.hp-manager h2 { color: #fff; }
.hp-manager p { max-width: 650px; margin: 16px 0 0; color: #c6dce1; font-size: 1.03rem; line-height: 1.7; }
.hp-manager-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hp-manager-features span { display: flex; align-items: center; gap: 10px; padding: 14px; color: #eafffc; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; background: rgba(255,255,255,.07); font-weight: 700; }
.hp-manager-features i { color: #63eadb; font-size: 1.2rem; }
.hp-manager .hp-button { width: max-content; }
.hp-mobile-dock { display: none; }

html[data-theme="dark"] .hp-services,
html[data-theme="dark"] .hp-page { --hp-ink: #eff8fa; --hp-muted: #aab9c9; --hp-line: #26394a; --hp-bg: #07121e; background: var(--hp-bg); }
html[data-theme="dark"] .hp-service-card,
html[data-theme="dark"] .hp-showcase,
html[data-theme="dark"] .hp-listing-card { background: #101d2b; }
html[data-theme="dark"] .hp-service-card li { color: #c7d2df; }
html[data-theme="dark"] .hp-listing-body > div span { color: #cbd7e2; background: #1a2a39; }
html[data-theme="dark"] .hp-discovery-card { background: #101d2b; }
html[data-theme="dark"] .hp-search { background: #0a1622; }
html[data-theme="dark"] .hp-search input { color: #eff8fa; }
html[data-theme="dark"] .hp-filter-tabs { background: #0a1622; }

@media (max-width: 1199px) {
    .hp-hero-inner { grid-template-columns: 1fr; gap: 42px; }
    .hp-hero-copy { max-width: 820px; }
    .hp-discovery-card { max-width: 720px; }
    .hp-services { margin-top: 0; padding-top: 80px; }
}
@media (max-width: 900px) {
    .hp-service-grid, .hp-listing-grid { grid-template-columns: 1fr; }
    .hp-service-card { min-height: 390px; }
    .hp-manager-inner { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .hp-page { padding-bottom: 76px; }
    .hp-hero { min-height: auto; }
    .hp-hero-inner { width: min(100% - 30px, 1180px); padding-block: 66px 74px; }
    .hp-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
    .hp-hero-copy > p { font-size: 1rem; }
    .hp-hero-actions { display: grid; }
    .hp-button { width: 100%; }
    .hp-trust-row { display: grid; gap: 10px; }
    .hp-discovery-card { padding: 19px; border-radius: 21px; }
    .hp-discovery-head > i { display: none; }
    .hp-quick-grid a { grid-template-columns: 40px 1fr auto; }
    .hp-quick-grid a > i { width: 40px; height: 40px; }
    .hp-services { padding: 68px 0 76px; }
    .hp-section-heading { margin-bottom: 28px; text-align: left; }
    .hp-service-card { min-height: 410px; padding: 23px; }
    .hp-service-card > a { left: 23px; }
    .hp-showcase { padding: 72px 0 80px; }
    .hp-filter-tabs { width: 100%; overflow-x: auto; }
    .hp-filter-tabs button { flex: 1 0 auto; padding-inline: 13px; }
    .hp-manager { padding: 68px 0; }
    .hp-manager-features { grid-template-columns: 1fr 1fr; }
    .hp-mobile-dock {
        position: fixed;
        z-index: 1055;
        left: 12px;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 8px;
        border: 1px solid var(--hp-line);
        border-radius: 18px;
        background: color-mix(in srgb, #fff 94%, transparent);
        box-shadow: 0 18px 50px rgba(5, 22, 37, .24);
        backdrop-filter: blur(18px);
    }
    .hp-mobile-dock a { display: grid; justify-items: center; gap: 3px; padding: 7px 2px; color: #4b5d70; border-radius: 11px; text-decoration: none; font-size: .65rem; font-weight: 750; }
    .hp-mobile-dock a:hover { color: var(--hp-teal); background: var(--hp-mint); }
    .hp-mobile-dock i { font-size: 1.25rem; }
    html[data-theme="dark"] .hp-mobile-dock { background: rgba(12, 25, 39, .94); }
}
@media (max-width: 420px) {
    .hp-discovery-card { margin-inline: -2px; }
    .hp-manager-features { grid-template-columns: 1fr; }
    .hp-filter-tabs button { font-size: .78rem; }
}


/* Brand alignment for the AllClubCourts dark theme. */
html[data-theme="dark"] .hp-page {
    --hp-ink: #f7fbfa;
    --hp-muted: #a9bcba;
    --hp-teal: #2dd4bf;
    --hp-teal-dark: #5eead4;
    --hp-mint: #123633;
    --hp-orange: #fb923c;
    --hp-purple: #2dd4bf;
    --hp-line: #294043;
    --hp-bg: #0b1214;
    background: #0b1214;
}
html[data-theme="dark"] .hp-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(45,212,191,.13), transparent 34%),
        linear-gradient(125deg, #071114, #0b191c 58%, #0c2023);
}
html[data-theme="dark"] .hp-discovery-card,
html[data-theme="dark"] .hp-service-card,
html[data-theme="dark"] .hp-listing-card { color: #e7f2f1; background: #111b1d; border-color: #294043; }
html[data-theme="dark"] .hp-discovery-head h2,
html[data-theme="dark"] .hp-service-card h3,
html[data-theme="dark"] .hp-listing-body h3,
html[data-theme="dark"] .hp-section-heading h2 { color: #f7fbfa; }
html[data-theme="dark"] .hp-search { background: #172427; border-color: #365255; }
html[data-theme="dark"] .hp-search input { color: #e7f2f1; }
html[data-theme="dark"] .hp-search input::placeholder { color: #78918f; }
html[data-theme="dark"] .hp-quick-grid a { color: #e7f2f1; border-color: #294043; background: #111b1d; }
html[data-theme="dark"] .hp-quick-grid a:hover { border-color: #2dd4bf; background: #123633; }
html[data-theme="dark"] .hp-quick-grid a::after { color: #78918f; }
html[data-theme="dark"] .hp-services { background: #0b1214; }
html[data-theme="dark"] .hp-service-card li { color: #b8c9c7; }
html[data-theme="dark"] .hp-tournaments { --card-color: #2dd4bf; }
html[data-theme="dark"] .hp-showcase { background: #0e171a; border-color: #294043; }
html[data-theme="dark"] .hp-filter-tabs { background: #111b1d; border-color: #294043; }
html[data-theme="dark"] .hp-filter-tabs button { color: #a9bcba; }
html[data-theme="dark"] .hp-filter-tabs button.active { color: #06211e; background: #2dd4bf; }
html[data-theme="dark"] .hp-listing-visual.is-tennis,
html[data-theme="dark"] .hp-trophy-visual.is-purple { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
html[data-theme="dark"] .hp-listing-body > div span { color: #b8c9c7; background: #172427; }
html[data-theme="dark"] .hp-badge { color: #99f6e4; background: #123633; }
html[data-theme="dark"] .hp-manager { background: linear-gradient(125deg, #0b171a, #123633); border-top: 1px solid #294043; }
html[data-theme="dark"] .hp-mobile-dock { border-color: #294043; background: rgba(17,27,29,.96); }
html[data-theme="dark"] .hp-mobile-dock a { color: #a9bcba; }


/* RFID race solution */
.hp-rfid {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
    color: #e7f2f1;
    border-top: 1px solid #294043;
    background:
        radial-gradient(circle at 12% 18%, rgba(251,146,60,.11), transparent 28%),
        radial-gradient(circle at 88% 78%, rgba(45,212,191,.12), transparent 30%),
        #0b1214;
}
.hp-rfid-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr); gap: 70px; align-items: center; }
.hp-rfid-copy h2 { margin: 12px 0 0; color: #f7fbfa; font-size: clamp(2.2rem, 4vw, 3.65rem); font-weight: 880; letter-spacing: -.05em; line-height: 1.04; }
.hp-rfid-copy > p { max-width: 680px; margin: 20px 0 0; color: #a9bcba; font-size: 1.05rem; line-height: 1.75; }
.hp-rfid-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.hp-rfid-benefits > span { display: grid; grid-template-columns: 40px 1fr; column-gap: 11px; padding: 14px; border: 1px solid #294043; border-radius: 14px; background: #111b1d; }
.hp-rfid-benefits i { grid-row: 1 / span 2; width: 40px; height: 40px; display: grid; place-items: center; color: #2dd4bf; border-radius: 12px; background: #123633; font-size: 1.2rem; }
.hp-rfid-benefits strong { color: #f7fbfa; font-size: .9rem; }
.hp-rfid-benefits small { margin-top: 3px; color: #a9bcba; font-size: .75rem; line-height: 1.45; }
.hp-rfid-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.hp-button-rfid { color: #071917 !important; background: #2dd4bf; box-shadow: 0 13px 30px rgba(45,212,191,.18); }
.hp-button-rfid:hover { background: #5eead4; }
.hp-button-rfid-outline { color: #f7fbfa !important; border-color: #365255; background: #111b1d; }
.hp-button-rfid-outline:hover { border-color: #2dd4bf; background: #123633; }
.hp-rfid-console { padding: 22px; border: 1px solid #365255; border-radius: 26px; background: #111b1d; box-shadow: 0 30px 70px rgba(0,0,0,.38); }
.hp-rfid-console-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid #294043; }
.hp-rfid-console-head > div { display: flex; align-items: center; gap: 9px; }
.hp-rfid-console-head strong { color: #f7fbfa; }
.hp-rfid-console-head > span { padding: 6px 9px; color: #99f6e4; border-radius: 999px; background: #123633; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.hp-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 5px rgba(52,211,153,.12); }
.hp-rfid-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 16px; }
.hp-rfid-stat-row > div { padding: 13px; border: 1px solid #294043; border-radius: 12px; background: #172427; }
.hp-rfid-stat-row strong, .hp-rfid-stat-row span { display: block; }
.hp-rfid-stat-row strong { color: #f7fbfa; font-size: 1.3rem; }
.hp-rfid-stat-row span { margin-top: 3px; color: #78918f; font-size: .7rem; }
.hp-rfid-course { position: relative; display: grid; gap: 10px; margin-top: 17px; }
.hp-course-line { position: absolute; left: 18px; top: 22px; bottom: 22px; width: 2px; background: #294043; }
.hp-checkpoint { position: relative; z-index: 1; display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center; padding: 10px 12px; border: 1px solid #294043; border-radius: 12px; background: #111b1d; }
.hp-checkpoint > i { width: 38px; height: 38px; display: grid; place-items: center; color: #a9bcba; border: 1px solid #365255; border-radius: 50%; background: #172427; }
.hp-checkpoint.is-complete > i { color: #06211e; border-color: #2dd4bf; background: #2dd4bf; }
.hp-checkpoint strong, .hp-checkpoint small { display: block; }
.hp-checkpoint strong { color: #f7fbfa; font-size: .84rem; }
.hp-checkpoint small { margin-top: 2px; color: #78918f; font-size: .7rem; }
.hp-rfid-runner { display: grid; grid-template-columns: 38px 1fr auto; gap: 11px; align-items: center; margin-top: 17px; padding: 13px; border: 1px solid rgba(251,146,60,.34); border-radius: 14px; background: rgba(251,146,60,.08); }
.hp-runner-rank { width: 38px; height: 38px; display: grid; place-items: center; color: #1f1308; border-radius: 11px; background: #fb923c; font-weight: 900; }
.hp-rfid-runner strong, .hp-rfid-runner small { display: block; }
.hp-rfid-runner strong { color: #f7fbfa; font-size: .82rem; }
.hp-rfid-runner small { margin-top: 2px; color: #a9bcba; font-size: .68rem; }
.hp-rfid-runner > strong { color: #fbba78; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) {
    .hp-rfid-grid { grid-template-columns: 1fr; gap: 45px; }
    .hp-rfid-console { max-width: 680px; }
}
@media (max-width: 620px) {
    .hp-rfid { padding: 72px 0; }
    .hp-rfid-benefits { grid-template-columns: 1fr; }
    .hp-rfid-console { padding: 17px; border-radius: 21px; }
    .hp-rfid-stat-row { gap: 6px; }
    .hp-rfid-stat-row > div { padding: 10px 8px; }
    .hp-rfid-runner { grid-template-columns: 36px 1fr; }
    .hp-rfid-runner > strong { grid-column: 2; }
}


/* Live matches */
.hp-live-matches { padding: 96px 0; color: #e7f2f1; border-top: 1px solid #294043; background: #0e171a; }
.hp-live-grid { display: grid; grid-template-columns: minmax(420px, .94fr) minmax(0, 1.06fr); gap: 70px; align-items: center; }
.hp-live-copy h2 { margin: 12px 0 0; color: #f7fbfa; font-size: clamp(2.2rem, 4vw, 3.65rem); font-weight: 880; letter-spacing: -.05em; line-height: 1.04; }
.hp-live-copy > p { max-width: 680px; margin: 20px 0 0; color: #a9bcba; font-size: 1.05rem; line-height: 1.75; }
.hp-live-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.hp-live-features > span { display: grid; grid-template-columns: 40px 1fr; gap: 11px; padding: 14px; border: 1px solid #294043; border-radius: 14px; background: #111b1d; }
.hp-live-features > span > i { width: 40px; height: 40px; display: grid; place-items: center; color: #2dd4bf; border-radius: 12px; background: #123633; font-size: 1.18rem; }
.hp-live-features strong, .hp-live-features small { display: block; }
.hp-live-features strong { color: #f7fbfa; font-size: .9rem; }
.hp-live-features small { margin-top: 3px; color: #a9bcba; font-size: .75rem; line-height: 1.45; }
.hp-live-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.hp-match-center { padding: 22px; border: 1px solid #365255; border-radius: 26px; background: #111b1d; box-shadow: 0 30px 70px rgba(0,0,0,.38); }
.hp-match-center-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid #294043; }
.hp-match-center-head > div { display: flex; align-items: center; gap: 9px; }
.hp-match-center-head strong { color: #f7fbfa; }
.hp-match-center-head > span { color: #5eead4; font-size: .72rem; font-weight: 800; }
.hp-featured-match { margin-top: 16px; overflow: hidden; border: 1px solid #294043; border-radius: 16px; background: #172427; }
.hp-match-meta { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; color: #a9bcba; border-bottom: 1px solid #294043; font-size: .72rem; }
.hp-match-meta strong { color: #5eead4; }
.hp-team-row { display: grid; grid-template-columns: 30px 1fr repeat(3, 34px); gap: 8px; align-items: center; padding: 13px 14px; border-bottom: 1px solid #294043; }
.hp-team-seed { width: 25px; height: 25px; display: grid; place-items: center; color: #a9bcba; border-radius: 7px; background: #111b1d; font-size: .7rem; font-weight: 800; }
.hp-team-name strong, .hp-team-name small { display: block; }
.hp-team-name strong { color: #f7fbfa; font-size: .8rem; }
.hp-team-name small { margin-top: 2px; color: #78918f; font-size: .66rem; }
.hp-set-score { display: grid; place-items: center; min-height: 32px; color: #a9bcba; border-radius: 8px; background: #111b1d; font-size: .78rem; font-weight: 850; }
.hp-set-score.is-current { color: #07201d; background: #2dd4bf; }
.hp-match-status { display: flex; justify-content: space-between; padding: 10px 14px; color: #78918f; font-size: .68rem; font-weight: 750; }
.hp-match-status span:last-child { color: #34d399; }
.hp-match-status i { font-size: .48rem; vertical-align: middle; }
.hp-live-queue { display: grid; gap: 8px; margin-top: 12px; }
.hp-live-queue > div { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 11px; border: 1px solid #294043; border-radius: 12px; }
.hp-sport-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #2dd4bf; border-radius: 11px; background: #123633; }
.hp-sport-icon.is-orange { color: #fb923c; background: rgba(251,146,60,.11); }
.hp-live-queue strong, .hp-live-queue small { display: block; }
.hp-live-queue strong { color: #f7fbfa; font-size: .76rem; }
.hp-live-queue small { margin-top: 2px; color: #78918f; font-size: .65rem; }
.hp-live-queue b { color: #f7fbfa; font-size: .78rem; }
.hp-stream-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 11px; color: #99f6e4 !important; border: 1px solid #294043; border-radius: 12px; background: #123633; font-size: .78rem; font-weight: 800; text-decoration: none; }
.hp-stream-link i { font-size: 1.05rem; }
@media (max-width: 1000px) {
    .hp-live-grid { grid-template-columns: 1fr; gap: 45px; }
    .hp-match-center { max-width: 680px; order: 2; }
}
@media (max-width: 620px) {
    .hp-live-matches { padding: 72px 0; }
    .hp-live-features { grid-template-columns: 1fr; }
    .hp-match-center { padding: 17px; border-radius: 21px; }
    .hp-team-row { grid-template-columns: 24px 1fr repeat(3, 28px); gap: 5px; padding-inline: 10px; }
}


/* All live public events */
.hp-live-public { padding: 96px 0; color: #e7f2f1; border-top: 1px solid #294043; background: #0b1214; }
.hp-live-public-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.hp-live-public-head h2 { margin: 10px 0 0; color: #f7fbfa; font-size: clamp(2.2rem, 4vw, 3.65rem); font-weight: 880; letter-spacing: -.05em; }
.hp-live-public-head p { max-width: 700px; margin: 14px 0 0; color: #a9bcba; font-size: 1.03rem; }
.hp-live-public-head .hp-section-kicker { gap: 11px; }
.hp-live-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hp-live-filters button { min-height: 40px; padding: 0 15px; color: #a9bcba; border: 1px solid #294043; border-radius: 999px; background: #111b1d; font-size: .8rem; font-weight: 800; }
.hp-live-filters button:hover { border-color: #2dd4bf; color: #f7fbfa; }
.hp-live-filters button.active { color: #06211e; border-color: #2dd4bf; background: #2dd4bf; }
.hp-live-event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px; }
.hp-live-event-card { padding: 22px; border: 1px solid #294043; border-radius: 20px; background: #111b1d; box-shadow: 0 16px 38px rgba(0,0,0,.2); }
.hp-live-event-card[hidden] { display: none; }
.hp-live-event-card.is-race { border-top: 3px solid #fb923c; }
.hp-live-event-card.is-tournament { border-top: 3px solid #2dd4bf; }
.hp-live-event-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.hp-event-type { display: inline-flex; align-items: center; gap: 7px; color: #b8c9c7; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.hp-event-type i { color: #2dd4bf; font-size: 1rem; }
.is-race .hp-event-type i { color: #fb923c; }
.hp-live-label { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #86efac; border-radius: 999px; background: #102d25; font-size: .67rem; font-weight: 850; text-transform: uppercase; }
.hp-live-label i { font-size: .4rem; animation: hp-pulse 1.6s infinite; }
@keyframes hp-pulse { 50% { opacity: .35; } }
.hp-live-event-card h3 { margin: 17px 0 0; color: #f7fbfa; font-size: 1.2rem; font-weight: 840; }
.hp-live-event-card > p { margin: 7px 0 0; color: #78918f; font-size: .79rem; }
.hp-live-event-card > a { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: #5eead4 !important; font-size: .8rem; font-weight: 850; text-decoration: none; }
.hp-live-event-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.hp-live-event-stats span { padding: 6px 9px; color: #a9bcba; border-radius: 8px; background: #172427; font-size: .69rem; }
.hp-live-event-stats strong { color: #f7fbfa; }
.hp-race-progress, .hp-round-status { margin-top: 17px; }
.hp-race-progress > div, .hp-round-status > div { height: 7px; overflow: hidden; border-radius: 99px; background: #172427; }
.hp-race-progress > div span, .hp-round-status > div i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f97316, #fbba78); }
.hp-race-progress small, .hp-round-status small { display: block; margin-top: 7px; color: #78918f; font-size: .68rem; }
.hp-card-score { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; margin-top: 16px; padding: 12px; border-radius: 12px; background: #172427; font-size: .74rem; }
.hp-card-score span { color: #b8c9c7; }
.hp-card-score strong { color: #a9bcba; letter-spacing: .08em; }
.hp-card-score b { color: #5eead4; }
.hp-round-status > span { display: block; margin-bottom: 7px; color: #b8c9c7; font-size: .72rem; font-weight: 800; }
.hp-round-status > div i { background: linear-gradient(90deg, #0d9488, #2dd4bf); }
@media (max-width: 900px) {
    .hp-live-public-head { align-items: flex-start; flex-direction: column; }
    .hp-live-event-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .hp-live-public { padding: 72px 0; }
    .hp-live-public-head .hp-button { width: 100%; }
    .hp-live-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .hp-live-filters button { flex: 0 0 auto; }
}

/* Light-mode surfaces for the sections that use the dark event-console design. */
html:not([data-theme="dark"]) .hp-simple-hero {
    color: #122033;
    border-bottom-color: #dce7ea;
    background:
        radial-gradient(circle at 12% 12%, rgba(15,148,136,.10), transparent 34%),
        linear-gradient(135deg, #f7fbfb 0%, #fff 65%);
}
html:not([data-theme="dark"]) :is(.hp-simple-copy h1, .hp-feature-heading h2, .hp-feature-grid a) { color: #122033; }
html:not([data-theme="dark"]) .hp-simple-copy h1 span { color: #0f9488; }
html:not([data-theme="dark"]) :is(.hp-simple-copy > p:not(.hp-owner-link), .hp-owner-link, .hp-feature-heading > span, .hp-feature-grid small) { color: #65748a; }
html:not([data-theme="dark"]) .hp-owner-link a { color: #08746b; }
html:not([data-theme="dark"]) .hp-feature-panel { border-color: #dce7ea; }
html:not([data-theme="dark"]) .hp-feature-grid a { border-bottom-color: #dce7ea; }
html:not([data-theme="dark"]) .hp-feature-grid a:hover { color: #08746b; background: #f3fbfa; }
html:not([data-theme="dark"]) .hp-feature-grid i { color: #08746b; background: #d9fbf5; }
html:not([data-theme="dark"]) .hp-direct-links { border-bottom-color: #dce7ea; background: #fff; }
html:not([data-theme="dark"]) .hp-direct-links a { color: #526176; border-color: #dce7ea; }
html:not([data-theme="dark"]) .hp-direct-links a:hover { color: #08746b; background: #d9fbf5; }
html:not([data-theme="dark"]) .hp-direct-links i { color: #0f9488; }

html:not([data-theme="dark"]) .hp-rfid,
html:not([data-theme="dark"]) .hp-live-public {
    color: #122033;
    border-color: #dce7ea;
    background:
        radial-gradient(circle at 12% 18%, rgba(249,115,22,.08), transparent 28%),
        radial-gradient(circle at 88% 78%, rgba(15,148,136,.09), transparent 30%),
        #f5f9fa;
}
html:not([data-theme="dark"]) .hp-live-matches {
    color: #122033;
    border-color: #dce7ea;
    background: #fff;
}
html:not([data-theme="dark"]) :is(.hp-rfid-copy h2, .hp-live-copy h2, .hp-live-public-head h2) { color: #122033; }
html:not([data-theme="dark"]) :is(.hp-rfid-copy > p, .hp-live-copy > p, .hp-live-public-head p) { color: #65748a; }
html:not([data-theme="dark"]) :is(.hp-rfid-benefits > span, .hp-live-features > span, .hp-rfid-console, .hp-match-center, .hp-live-event-card) {
    color: #122033;
    border-color: #dce7ea;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15,35,52,.09);
}
html:not([data-theme="dark"]) :is(.hp-rfid-benefits strong, .hp-live-features strong, .hp-rfid-console-head strong, .hp-match-center-head strong, .hp-team-name strong, .hp-live-queue strong, .hp-live-queue b, .hp-live-event-card h3, .hp-live-event-stats strong) { color: #122033; }
html:not([data-theme="dark"]) :is(.hp-rfid-benefits small, .hp-live-features small, .hp-rfid-stat-row span, .hp-checkpoint small, .hp-rfid-runner small, .hp-match-meta, .hp-team-name small, .hp-match-status, .hp-live-queue small, .hp-live-event-card > p, .hp-race-progress small, .hp-round-status small) { color: #65748a; }
html:not([data-theme="dark"]) :is(.hp-rfid-console-head, .hp-match-center-head, .hp-match-meta, .hp-team-row) { border-color: #dce7ea; }
html:not([data-theme="dark"]) :is(.hp-rfid-stat-row > div, .hp-checkpoint, .hp-featured-match, .hp-live-queue > div, .hp-live-event-stats span, .hp-card-score) {
    border-color: #dce7ea;
    background: #f3f8f9;
}
html:not([data-theme="dark"]) :is(.hp-rfid-stat-row strong, .hp-checkpoint strong, .hp-rfid-runner strong, .hp-card-score strong) { color: #122033; }
html:not([data-theme="dark"]) :is(.hp-team-seed, .hp-set-score, .hp-checkpoint > i) { color: #526176; background: #e8f0f2; border-color: #cbdcdf; }
html:not([data-theme="dark"]) .hp-course-line { background: #cbdcdf; }
html:not([data-theme="dark"]) .hp-button-rfid-outline { color: #08746b !important; border-color: #8bdcd2; background: #fff; }
html:not([data-theme="dark"]) .hp-button-rfid-outline:hover { background: #d9fbf5; }
html:not([data-theme="dark"]) .hp-live-filters button { color: #526176; border-color: #cbdcdf; background: #fff; }
html:not([data-theme="dark"]) .hp-live-filters button:hover { color: #08746b; border-color: #0f9488; }
html:not([data-theme="dark"]) .hp-live-filters button.active { color: #fff; border-color: #0f9488; background: #0f9488; }
html:not([data-theme="dark"]) .hp-event-type { color: #526176; }
html:not([data-theme="dark"]) .hp-live-label { color: #087443; background: #dcfce7; }
html:not([data-theme="dark"]) .hp-live-event-card > a { color: #08746b !important; }
html:not([data-theme="dark"]) .hp-live-event-stats span { color: #526176; }
html:not([data-theme="dark"]) :is(.hp-race-progress > div, .hp-round-status > div) { background: #e4edef; }
html:not([data-theme="dark"]) .hp-card-score span { color: #526176; }
html:not([data-theme="dark"]) .hp-card-score b { color: #08746b; }
html:not([data-theme="dark"]) .hp-round-status > span { color: #526176; }
