/* Boxpower product UI — mock-up-led refinement layer. */
:root {
    --bg: #050708;
    --bg-soft: #090c0e;
    --panel: #0c1114;
    --panel-2: #11171a;
    --panel-3: #151c20;
    /* Public surfaces are separated by tone and spacing rather than grey outlines. */
    --line: transparent;
    --line-soft: transparent;
    --text: #f7f8f8;
    --muted: #90999e;
    --red: #ed1b2f;
    --red-dark: #b90f20;
    --green: #23d17c;
    --radius: 13px;
    --radius-sm: 9px;
    --nav-height: 72px;
    --heading: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
}

body {
    background:
        radial-gradient(circle at 75% -5%, rgba(237, 27, 47, .065), transparent 24rem),
        linear-gradient(180deg, #070a0c 0, var(--bg) 38rem);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

.icon {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

h1, h2, h3, .button, .eyebrow { font-family: var(--heading); font-weight: 850; }
h1 { letter-spacing: -.035em; }
.app-shell { padding: 10px 12px calc(var(--nav-height) + env(safe-area-inset-bottom) + 24px); }

.mobile-brandbar { min-height: 49px; margin: 0; }
.brand img { width: 145px; height: 62px; object-fit: cover; object-position: center; }
.mobile-brandbar .brand img { width: 126px; height: 54px; }
.notification-link { width: 40px; height: 40px; border-color: #30393e; background: rgba(14,19,22,.82); }
.notification-link .icon { width: 20px; height: 20px; }
.location-strip { min-height: 28px; margin: -2px 0 9px; overflow: hidden; white-space: nowrap; }
.location-strip .icon { flex: 0 0 14px; width: 14px; height: 14px; color: var(--red); }
.location-strip span { overflow: hidden; text-overflow: ellipsis; }

.home-hero {
    min-height: 330px;
    border-color: transparent;
    border-radius: 15px;
    background-image: linear-gradient(90deg, rgba(2,3,4,.95) 0%, rgba(2,3,4,.64) 55%, rgba(2,3,4,.12) 100%), var(--hero);
    background-position: center;
    box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.hero-overlay { min-height: 330px; padding: 21px; background: linear-gradient(0deg, rgba(2,3,4,.92), transparent 72%); }
.hero-overlay h1 { margin: 0 0 9px; font-size: clamp(2.7rem, 13vw, 4.1rem); line-height: .88; letter-spacing: -.045em; }
.hero-overlay p { max-width: 350px; margin-bottom: 16px; color: #d7dcdf; font-size: .85rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.button { min-height: 43px; border-radius: 7px; font-size: .78rem; }
.button-primary { background: linear-gradient(180deg, #f02438, #d71427); box-shadow: 0 8px 22px rgba(237,27,47,.18), inset 0 -1px rgba(0,0,0,.4); }
.button-ghost { border: 1px solid rgba(255,255,255,.35); background: rgba(5,7,8,.56); }

.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 18px; }
.quick-actions a { display: flex; min-width: 0; min-height: 66px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); color: #cfd5d8; font-size: .65rem; }
.quick-actions .icon { width: 19px; height: 19px; color: var(--red); }

.announcement { margin: 12px 0 18px; background: linear-gradient(90deg, rgba(237,27,47,.13), rgba(14,19,22,.9)); }
.section-block { margin: 25px 0; }
.section-heading { align-items: flex-end; margin-bottom: 10px; }
.section-heading h2 { margin: 2px 0 0; font-size: 1.3rem; letter-spacing: -.015em; }
.section-heading > div { min-width: 0; }
.section-heading a { padding: 5px 0; }
.eyebrow { letter-spacing: .1em; }

.card-stack { gap: 7px; }
.session-card { min-height: 78px; border-color: transparent; padding: 11px; background: linear-gradient(110deg, #10161a, #0b1013); box-shadow: inset 3px 0 0 transparent; }
.session-card.is-live { border-color: rgba(35,209,124,.38); box-shadow: inset 3px 0 0 var(--green); }
.session-icon { flex-basis: 44px; height: 44px; background: linear-gradient(145deg, rgba(237,27,47,.22), rgba(237,27,47,.08)); }
.session-icon .icon { width: 23px; height: 23px; stroke-width: 2; }
.session-copy h3 { font-size: 1rem; }
.session-time { color: #f1f3f4; font-variant-numeric: tabular-nums; }
.lock { display: grid; color: #9ba4a8; }
.lock .icon { width: 16px; height: 16px; }
.meta-row span + span::before { content: "•"; margin-right: .5rem; color: #485158; }

.next-session-panel { position: relative; overflow: hidden; padding: 16px; background: linear-gradient(125deg, rgba(237,27,47,.18), #0c1114 48%); }
.next-session-panel::after { position: absolute; right: -24px; bottom: -46px; width: 130px; height: 130px; border: 25px solid rgba(237,27,47,.05); border-radius: 50%; content: ""; }
.countdown { font-family: var(--heading); font-size: 1.65rem; }

.empty-state { position: relative; display: grid; min-height: 205px; place-items: stretch; overflow: hidden; border: 1px solid var(--line); padding: 0; background: var(--panel); text-align: left; }
.empty-state-art { min-height: 108px; background: linear-gradient(0deg, rgba(8,11,13,.92), rgba(8,11,13,.1)), url('/sites/boxpower/assets/images/training-equipment.webp') center 56%/cover; }
.empty-state-copy { padding: 14px 16px 17px; }
.empty-state-copy > .icon { float: left; width: 22px; height: 22px; margin: 0 9px 4px 0; color: var(--red); }
.empty-state h3 { margin: 1px 0 5px; font-size: 1.08rem; }
.empty-state p { clear: both; }

.media-card, .course-card, .coach-card, .event-card, .news-card { border-color: var(--line); background: linear-gradient(160deg, var(--panel-2), var(--panel)); box-shadow: 0 9px 24px rgba(0,0,0,.13); }
.media-placeholder { background: linear-gradient(0deg, rgba(5,7,8,.78), rgba(5,7,8,.18)), url('/sites/boxpower/assets/images/training-equipment.webp') center/cover; }
.media-placeholder > span { display: none; }
.play-button { width: 44px; height: 44px; backdrop-filter: blur(5px); }
.play-button .icon { width: 20px; height: 20px; margin-left: 2px; }
.media-copy { padding: 11px; }

.page-header { min-height: 72px; margin-bottom: 10px; }
.page-header h1 { font-size: 2.45rem; line-height: .92; }
.page-header > .icon { width: 24px; height: 24px; color: var(--red); }
.first-visit-header { display: flex; min-height: 235px; align-items: flex-end; overflow: hidden; border-radius: var(--radius); padding: 22px; background: linear-gradient(0deg, rgba(5,7,8,.97), rgba(5,7,8,.12) 72%), url('/sites/boxpower/assets/images/first-visit.webp') center 62%/cover; }
.first-visit-header > div { max-width: 470px; }
.first-visit-header h1 { margin-top: 5px; }
.first-visit-header p { margin: 10px 0 0; color: #d3d8da; }
.first-visit-guide { display: grid; gap: 8px; margin: 14px 0 22px; }
.first-visit-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; align-items: start; border-radius: var(--radius-sm); padding: 15px; background: linear-gradient(145deg, var(--panel-2), var(--panel)); box-shadow: 0 9px 24px rgba(0,0,0,.13); }
.first-visit-item-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; background: rgba(237,27,47,.11); color: var(--red); }
.first-visit-item-icon .icon { width: 21px; height: 21px; }
.first-visit-item h2 { margin: 2px 0 6px; font-size: 1.05rem; }
.first-visit-item p { margin: 0; color: var(--muted); line-height: 1.55; }
.segmented { position: sticky; z-index: 4; top: 8px; margin: 8px 0 16px; border: 1px solid transparent; background: rgba(14,19,22,.92); backdrop-filter: blur(12px); }
.segmented button { min-height: 39px; }
.segmented button[aria-selected="true"] { background: linear-gradient(180deg, #ef2336, #ce1022); }

.day-block { padding-bottom: 16px; }
.day-heading h2 { font-size: .88rem; }
.closed-state { min-height: 60px; display: flex; align-items: center; }
.timetable-highlights { border-radius: 11px; padding: 10px; background: rgba(255,255,255,.025); }
.timetable-highlights-heading span { color: #dce1e3; }
.timetable-highlight-card { background: linear-gradient(110deg, #11181b, #0b1013); box-shadow: inset 3px 0 0 rgba(237,27,47,.75); transition: background .18s ease, transform .18s ease; }
.timetable-highlight-card:hover { background: linear-gradient(110deg, #161e22, #0d1316); transform: translateY(-1px); }
.timetable-highlight-card.is-event { box-shadow: inset 3px 0 0 #d89a28; }
.timetable-highlight-icon { background: rgba(237,27,47,.12); color: var(--red); }
.timetable-highlight-card.is-event .timetable-highlight-icon { background: rgba(216,154,40,.12); color: #e4ad45; }
.timetable-highlight-icon .icon { width: 21px; height: 21px; }
.timetable-highlight-type { color: #ff6f7d; }
.timetable-highlight-card.is-event .timetable-highlight-type { color: #e4ad45; }
.fees-panel, .first-visit-fees { margin: 30px 0 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.fee-grid { display: grid; gap: 8px; }
.fee-card { position: relative; min-height: 102px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; background: linear-gradient(130deg, var(--panel-2), #0a0e11); }
.fee-card > div { position: absolute; right: 12px; top: 12px; color: rgba(237,27,47,.7); }
.fee-card span { display: block; color: var(--muted); font-size: .7rem; }
.fee-card h3 { margin: 5px 0 10px; font-size: 1.05rem; }
.fee-card strong { color: #fff; }
.payment-note { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; border: 1px solid rgba(237,27,47,.35); border-radius: 9px; padding: 11px 13px; background: rgba(237,27,47,.08); font-weight: 750; text-transform: uppercase; }
.payment-note span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--red); }

.category-card { min-height: 96px; background: linear-gradient(0deg, rgba(6,8,9,.78), rgba(6,8,9,.2)), url('/sites/boxpower/assets/images/training-equipment.webp') center/cover; }
.category-card strong { font-family: var(--heading); font-size: 1rem; }
.category-card.active { box-shadow: inset 0 0 0 1px var(--red); }
.filter-scroll { scrollbar-width: none; }
.filter-scroll::-webkit-scrollbar { display: none; }

.faq-list details { overflow: hidden; }
.faq-list summary { min-height: 66px; }
.faq-list summary > span { border-radius: 9px; background: rgba(237,27,47,.08); }
.faq-list summary > span .icon { width: 19px; height: 19px; }
.faq-chevron { width: 16px; height: 16px; margin-left: auto; color: var(--muted); transition: transform .2s ease; }
.faq-list details[open] .faq-chevron { transform: rotate(90deg); }

.brand-panel { min-height: 250px; justify-content: flex-end; background: linear-gradient(0deg, rgba(4,6,7,.98), rgba(4,6,7,.18) 72%), url('/sites/boxpower/assets/images/club-story.webp') center 52%/cover; }
.club-logo { width: 190px; height: auto; }
.brand-panel p { margin: 12px 0 0; }
.value-list .icon { flex: 0 0 22px; color: var(--red); }
.affiliation-card img { width: 72px; height: 82px; object-fit: cover; object-position: center; border-radius: 6px; }
.affiliation-card:hover { border-color: transparent; }

.map-grid { overflow: hidden; background-color: #12181b; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); }
.map-grid .map-pin { display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(237,27,47,.35); border-radius: 50%; background: rgba(237,27,47,.12); }
.map-grid .map-pin .icon { width: 34px; height: 34px; }
.contact-lines p, .contact-lines a { align-items: flex-start; }
.contact-lines .icon { flex: 0 0 19px; margin-top: 1px; color: var(--red); }
.location-card { position: relative; overflow: hidden; padding: 20px; background: linear-gradient(100deg, rgba(7,10,12,.98), rgba(7,10,12,.58)), url('/sites/boxpower/assets/images/gym-interior.webp') center 48%/cover; }
.location-card .map-pin .icon { width: 28px; height: 28px; }

.sponsor-card { min-height: 126px; background: #0c1114; }
.sponsor-card img { max-height: 74px; }
.sponsors-strip-logos { display: grid; grid-template-columns: 1fr; gap: 10px; }
.sponsors-strip a { display: grid; min-height: 74px; place-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #000; }
.sponsors-strip-logos > a { min-height: 0; aspect-ratio: 2.2 / 1; overflow: hidden; padding: 0; }
.sponsors-strip-logos img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.sponsors-strip-logos span { text-align: center; }
.sponsors-strip .sponsors-strip-action { display: inline-flex; width: 100%; min-height: 43px; margin-top: 10px; border: 1px solid #4a5359; background: transparent; }

.more-sheet { inset: auto 0 0; width: 100%; max-height: 86dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; padding: 12px 14px calc(18px + env(safe-area-inset-bottom)); }
.more-sheet[open] { animation: sheet-in .22s ease-out; }
@keyframes sheet-in { from { transform: translateY(25px); opacity: 0; } }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.more-grid a { display: flex; min-height: 82px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(160deg, var(--panel-2), var(--panel)); font-size: .72rem; }
.more-grid a .icon { color: var(--red); }
.mini-contact { border-top: 1px solid var(--line); margin-top: 14px; padding: 14px 4px 0; }

.bottom-nav {
    z-index: 100;
    height: calc(var(--nav-height) + env(safe-area-inset-bottom));
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid transparent;
    padding: 5px 4px max(5px, env(safe-area-inset-bottom));
    background: rgba(8,11,13,.96);
    box-shadow: 0 -8px 28px rgba(0,0,0,.38);
    backdrop-filter: blur(18px);
}
.bottom-nav a, .bottom-nav button { position: relative; min-width: 0; min-height: 53px; gap: 3px; border-radius: 8px; color: #899298; font-size: inherit; }
.bottom-nav .icon { width: 20px; height: 20px; }
.bottom-nav small { overflow: hidden; font-size: 9px; font-weight: 650; letter-spacing: .01em; text-overflow: ellipsis; }
.bottom-nav [aria-current="page"] { background: linear-gradient(180deg, rgba(237,27,47,.12), transparent); color: var(--red); }
.bottom-nav [aria-current="page"]::before { position: absolute; top: -5px; left: 50%; width: 28px; height: 2px; border-radius: 2px; background: var(--red); content: ""; transform: translateX(-50%); }

@media (min-width: 520px) {
    .app-shell { padding-inline: 18px; }
    .fee-grid { grid-template-columns: repeat(3, 1fr); }
    .first-visit-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .empty-state { grid-template-columns: 42% 1fr; min-height: 160px; }
    .empty-state-art { min-height: 160px; }
    .empty-state-copy { align-self: center; }
    .sponsors-strip .sponsors-strip-action { width: max-content; }
}

@media (min-width: 760px) {
    .app-shell { padding-inline: 26px; }
    .home-hero, .hero-overlay { min-height: 420px; }
    .quick-actions { max-width: 620px; margin-inline: auto; }
    .more-sheet { inset: 50% auto auto 50%; width: min(560px, calc(100% - 30px)); margin: 0; border-radius: 18px; transform: translate(-50%, -50%); }
    .more-sheet[open] { animation: none; }
}

@media (min-width: 920px) {
    .desktop-header { display: flex; position: sticky; z-index: 80; top: 0; height: 78px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid transparent; padding: 0 max(24px, calc((100vw - var(--content)) / 2)); background: rgba(5,7,8,.94); backdrop-filter: blur(18px); }
    .desktop-header .brand img { width: 154px; height: 66px; }
    .desktop-header nav { display: flex; align-items: center; gap: 4px; }
    .desktop-header nav a { border-radius: 7px; padding: 9px 11px; color: #aeb6ba; font-size: .76rem; font-weight: 700; }
    .desktop-header nav a:hover, .desktop-header nav a[aria-current="page"] { background: #151b1f; color: #fff; }
    .desktop-header nav a[aria-current="page"] { color: var(--red); }
    .bottom-nav { display: none; }
    .app-shell { min-height: calc(100vh - 78px); padding: 24px 24px 60px; }
    .mobile-brandbar, .location-strip { display: none; }
    .home-hero, .hero-overlay { min-height: 500px; }
    .hero-overlay { padding: 54px; }
    .hero-overlay h1 { font-size: 5rem; }
    .quick-actions { margin: -35px auto 40px; position: relative; z-index: 2; }
    .quick-actions a { min-height: 78px; box-shadow: 0 12px 35px rgba(0,0,0,.28); }
    .schedule-now { display: inline-block; width: calc(60% - 8px); }
    .next-session-panel { display: inline-block; width: calc(40% - 8px); min-height: 190px; margin: 25px 0 25px 12px; vertical-align: top; }
    .timetable-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .day-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 15px; background: rgba(10,14,16,.76); }
    .fees-panel { clear: both; }
    .event-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 1180px) {
    .timetable-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .event-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* Homepage utility, trust and navigation refinement. */
.brand img,
.mobile-brandbar .brand img,
.desktop-header .brand img { object-fit: contain; object-position: left center; }
.home-brandbar { min-height: 62px; }
.home-brandbar .brand img { width: 158px; height: 62px; }

.club-location-control { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 58px; margin: 2px 0 10px; border: 1px solid var(--line); border-radius: 11px; padding: 8px 10px; background: linear-gradient(120deg, #11171a, #0a0e11); }
.location-control-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: rgba(237,27,47,.12); color: var(--red); }
.location-control-icon .icon { width: 19px; height: 19px; }
.location-control-copy { display: flex; min-width: 0; flex-direction: column; line-height: 1.25; }
.location-control-copy strong { font-size: .85rem; }
.location-control-copy small { overflow: hidden; color: var(--muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.location-control-action { display: flex; align-items: center; gap: 2px; color: var(--red); font-size: .68rem; font-weight: 750; }
.location-control-action .icon { width: 14px; height: 14px; }

.home-hero.compact-hero,
.home-hero.compact-hero .hero-overlay { min-height: 245px; }
.compact-hero .hero-overlay { padding: 18px; }
.compact-hero .hero-overlay h1 { margin: 5px 0 7px; font-size: clamp(2.35rem, 11vw, 3.5rem); }
.compact-hero .hero-overlay p { margin-bottom: 13px; }
.compact-hero .hero-actions .button { min-height: 40px; padding: .65rem .85rem; }

.training-hub { margin: 20px 0 30px; border: 1px solid var(--line); border-radius: 15px; padding: 13px; background: linear-gradient(145deg, rgba(16,22,25,.94), rgba(8,12,14,.98)); box-shadow: 0 20px 55px rgba(0,0,0,.22); }
.training-hub-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 2px 2px 11px; }
.training-hub-heading h2 { margin: 2px 0 0; font-size: 1.45rem; }
.training-hub-heading > a { display: flex; align-items: center; gap: 2px; color: var(--red); font-size: .7rem; font-weight: 750; white-space: nowrap; }
.training-hub-heading > a .icon { width: 14px; height: 14px; }
.training-hub .next-session-panel { display: grid; grid-template-columns: 42px 1fr; gap: 11px; width: auto; min-height: 0; margin: 0 0 8px; padding: 13px; vertical-align: initial; }
.training-hub .next-session-panel.is-future-day { margin-bottom: 14px; border-color: rgba(237,27,47,.5); }
.training-hub .next-session-copy { display: block; margin: 0; }
.next-session-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: var(--red); color: #fff; }
.next-session-icon .icon { width: 21px; height: 21px; }
.next-session-copy { position: relative; z-index: 1; min-width: 0; }
.next-session-copy > small { color: #ff8b95; font-size: .63rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.next-session-title { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.next-session-title h2 { min-width: 0; margin: 0; overflow: hidden; font-size: 1.12rem; text-overflow: ellipsis; white-space: nowrap; }
.next-session-title .badge { margin-left: auto; }
.next-session-copy p { margin: 2px 0 0; }
.next-session-copy .countdown { margin-top: 4px; font-size: 1.2rem; }
.today-session-list .session-card { background: #0b1013; }
.tomorrow-disclosure { margin-top: 8px; border-top: 1px solid var(--line); }
.tomorrow-disclosure summary { display: flex; min-height: 58px; align-items: center; gap: 12px; padding: 9px 4px 0; cursor: pointer; list-style: none; }
.tomorrow-disclosure summary::-webkit-details-marker { display: none; }
.tomorrow-disclosure summary > span { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.tomorrow-disclosure summary small { color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tomorrow-disclosure summary strong { font-size: .84rem; }
.tomorrow-disclosure summary > .icon { width: 17px; height: 17px; color: var(--muted); transition: transform .2s ease; }
.tomorrow-disclosure[open] summary > .icon { transform: rotate(90deg); }
.tomorrow-content { padding: 6px 0 2px; }

.confidence-section { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; padding: 17px 13px 13px; background: radial-gradient(circle at 100% 0, rgba(237,27,47,.11), transparent 20rem), #090d10; }
.confidence-heading { margin: 0 3px 15px; }
.confidence-heading h2 { margin: 4px 0 6px; font-size: 1.55rem; }
.confidence-heading p { max-width: 580px; margin: 0; color: var(--muted); font-size: .8rem; }
.confidence-grid { display: grid; gap: 7px; }
.confidence-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; min-height: 126px; border: 1px solid var(--line); border-radius: 10px; padding: 13px; background: linear-gradient(145deg, #11171a, #0a0e11); }
.confidence-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(237,27,47,.25); border-radius: 10px; background: rgba(237,27,47,.08); color: var(--red); }
.confidence-icon .icon { width: 22px; height: 22px; }
.confidence-copy { display: flex; min-width: 0; flex-direction: column; }
.confidence-copy > small { color: var(--muted); font-size: .61rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.confidence-copy > strong { margin: 3px 0 5px; font-family: var(--heading); font-size: 1rem; }
.confidence-copy > span { color: #aab2b6; font-size: .72rem; }
.confidence-copy > em { display: flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 9px; color: var(--red); font-size: .66rem; font-style: normal; font-weight: 750; }
.confidence-copy > em .icon { width: 13px; height: 13px; }

.home-location-card .location-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }

.more-sheet { width: 100vw; max-width: none; box-sizing: border-box; padding: 12px 14px calc(18px + env(safe-area-inset-bottom)); }
.sheet-heading { align-items: flex-start; margin-bottom: 14px; }
.sheet-heading [data-dialog-initial-focus]:focus { outline: none; }
.sheet-heading .icon-button { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 11px; background: rgba(255,255,255,.065); color: #c6cdd1; box-shadow: none; }
.sheet-heading .icon-button:hover { background: rgba(255,255,255,.11); color: #fff; }
.sheet-heading .icon-button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sheet-heading .icon-button .icon { width: 20px; height: 20px; }
.sheet-heading h2 { margin: 2px 0 3px; font-size: 1.55rem; }
.sheet-heading p { margin: 0; color: var(--muted); font-size: .73rem; }
.more-primary { display: grid; gap: 7px; }
.more-primary > a { display: grid; grid-template-columns: 40px minmax(0,1fr) 18px; align-items: center; gap: 10px; min-height: 64px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: linear-gradient(140deg, #12191c, #0b1013); }
.more-primary > a > .icon:first-child { width: 22px; height: 22px; margin: auto; color: var(--red); }
.more-primary > a > .icon:last-child { width: 16px; height: 16px; color: #697279; }
.more-primary span { display: flex; min-width: 0; flex-direction: column; }
.more-primary strong { font-size: .83rem; }
.more-primary small { overflow: hidden; color: var(--muted); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.more-link-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.more-link-groups > button { min-height: 44px; }
.app-shell:has(+ .boxing-footer) { padding-bottom: 12px; }
.boxing-footer { padding: 0 0 calc(var(--nav-height) + env(safe-area-inset-bottom) + 18px); background: #02080a; text-align: center; color: var(--muted); font-size: .75rem; }
.boxing-footer p { margin: 0; padding: 8px 12px 0; }
.boxing-powered-footer { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 24px; background: #02080a; color: #a3b0b8; font: 11px/1.5 Arial,Helvetica,sans-serif; letter-spacing: .02em; }
.boxing-powered { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; max-width: 100%; color: inherit; font: inherit; letter-spacing: inherit; opacity: .85; text-decoration: none; }
.boxing-powered:hover,.boxing-powered:focus-visible { opacity: 1; }
.boxing-powered img { display: block; width: 118px; height: auto; }
.boxing-powered:focus-visible { outline: 2px solid #00c950; outline-offset: 4px; border-radius: 3px; }
@media (min-width: 800px) { .boxing-footer { padding-bottom: 18px; } }
.more-link-groups nav { display: grid; align-content: start; gap: 2px; }
.more-link-groups h3 { margin: 0 0 5px; color: #778188; font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; }
.more-link-groups a { display: flex; min-height: 42px; align-items: center; gap: 8px; border-radius: 7px; padding: 7px; color: #d9dddf; font-size: .71rem; }
.more-link-groups a:hover { background: var(--panel-2); }
.more-link-groups a .icon { width: 17px; height: 17px; color: var(--red); }
.more-visit-card { display: grid; grid-template-columns: 38px 1fr; gap: 9px; margin-top: 13px; border: 1px solid rgba(237,27,47,.25); border-radius: 11px; padding: 11px; background: rgba(237,27,47,.065); }
.more-visit-card > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: var(--red); }
.more-visit-card > div { display: flex; min-width: 0; flex-direction: column; }
.more-visit-card small { color: #f19aa2; font-size: .61rem; }
.more-visit-card strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.more-visit-actions { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.more-visit-actions a { display: flex; min-height: 38px; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; background: rgba(255,255,255,.06); font-size: .7rem; font-weight: 750; }
.more-visit-actions .icon { width: 15px; height: 15px; }

.sponsor-page-header { min-height: 116px; align-items: flex-end; }
.sponsor-page-header p { max-width: 560px; margin: 8px 0 0; color: var(--muted); }
.sponsor-feature-list { display: grid; gap: 12px; }
.sponsor-feature-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #11171a, #090d10); }
.sponsor-logo-stage { display: grid; min-height: 150px; place-items: center; border-bottom: 1px solid var(--line); padding: 12px; background: #000; }
.sponsor-logo-stage img { width: 100%; max-width: 520px; max-height: 220px; border-radius: 8px; object-fit: contain; }
.sponsor-feature-copy { padding: 18px; }
.sponsor-relationship { color: var(--red); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.sponsor-feature-copy h2 { margin: 5px 0 8px; font-size: 1.5rem; }
.sponsor-feature-copy p { max-width: 620px; color: #aab2b6; }
.sponsor-action { width: max-content; }
.sponsor-action .icon { width: 15px; height: 15px; }
.support-club-card { display: grid; gap: 12px; margin: 26px 0 4px; border: 1px solid rgba(237,27,47,.32); border-radius: 14px; padding: 18px; background: linear-gradient(135deg, rgba(237,27,47,.13), #0b1013 55%); }
.support-club-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 11px; background: var(--red); }
.support-club-card h2 { margin: 4px 0 6px; font-size: 1.35rem; }
.support-club-card p { margin: 0; color: var(--muted); }
.policy-intro { max-width: 680px; margin: -2px 0 14px; color: var(--muted); }
.policy-link-list { display: grid; gap: 8px; }
.policy-link-list > a { display: grid; grid-template-columns: 42px minmax(0,1fr) 18px; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 11px; padding: 13px; background: linear-gradient(145deg, #11171a, #0a0e11); }
.policy-link-list > a > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: rgba(237,27,47,.1); color: var(--red); }
.policy-link-list > a > .icon { width: 16px; height: 16px; color: var(--red); }
.policy-link-list div { min-width: 0; }
.policy-link-list small { display: block; color: var(--muted); font-size: .62rem; text-transform: uppercase; }
.policy-link-list strong { display: block; margin: 2px 0; }
.policy-link-list p { margin: 0; color: #9ca5a9; font-size: .7rem; }

@media (min-width: 620px) {
    .confidence-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .sponsors-strip-logos { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .sponsor-feature-card { display: grid; grid-template-columns: 38% 1fr; }
    .sponsor-logo-stage { min-height: 220px; border-right: 1px solid var(--line); border-bottom: 0; }
    .sponsor-feature-copy { align-self: center; padding: 28px; }
    .support-club-card { grid-template-columns: 50px 1fr auto; align-items: center; }
}

@media (min-width: 920px) {
    .desktop-header .brand img { width: 185px; height: 68px; }
    .club-location-control { width: max-content; min-width: 390px; margin-bottom: 14px; }
    .home-hero.compact-hero,
    .home-hero.compact-hero .hero-overlay { min-height: 370px; }
    .compact-hero .hero-overlay { padding: 44px; }
    .compact-hero .hero-overlay h1 { font-size: 4.5rem; }
    .training-hub { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(300px,.88fr); gap: 10px; padding: 18px; }
    .training-hub-heading { grid-column: 1 / -1; }
    .training-hub .next-session-panel { grid-column: 2; grid-row: 2; margin: 0; }
    .today-session-list { grid-column: 1; grid-row: 2 / span 2; }
    .tomorrow-disclosure { grid-column: 2; grid-row: 3; margin-top: 0; }
    .training-hub.has-future-next .next-session-panel { grid-column: 1 / -1; grid-row: 1; margin: 0; }
    .training-hub.has-future-next .training-hub-heading { grid-row: 2; }
    .training-hub.has-future-next .today-session-list { grid-row: 3 / span 2; }
    .training-hub.has-future-next .tomorrow-disclosure { grid-row: 4; }
    .quick-actions { margin-top: -28px; margin-bottom: 36px; }
    .confidence-section { padding: 28px; }
    .confidence-heading h2 { font-size: 2rem; }
    .more-sheet { width: min(620px, calc(100% - 30px)); padding: 20px; }
    .sponsor-feature-list { gap: 16px; }
}

/* Install, push and contact refinements. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.app-onboarding { position: relative; display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 14px; max-width: 820px; margin: 0 auto 22px; overflow: hidden; border: 1px solid transparent; border-radius: 15px; padding: 15px; background: radial-gradient(circle at 4% 15%, rgba(237,27,47,.18), transparent 12rem), linear-gradient(135deg, #11181c, #090d10 68%); box-shadow: 0 16px 42px rgba(0,0,0,.2); transition: opacity .2s ease, transform .2s ease; }
.app-onboarding::after { position: absolute; right: -40px; bottom: -70px; width: 160px; height: 160px; border: 28px solid rgba(237,27,47,.035); border-radius: 50%; content: ""; pointer-events: none; }
.app-onboarding[hidden] { display: none; }
.app-onboarding.is-complete { opacity: 0; transform: translateY(-8px); }
.app-onboarding.is-working { opacity: .75; }
.app-onboarding-graphic { position: relative; display: grid; min-height: 126px; place-items: center; align-self: center; }
.app-phone-frame { position: relative; display: grid; width: 70px; height: 116px; place-items: center; border: 2px solid #414b51; border-radius: 15px; background: #050708; box-shadow: 0 12px 25px rgba(0,0,0,.42); }
.app-phone-frame::before { position: absolute; top: 5px; width: 22px; height: 3px; border-radius: 3px; background: #3d464b; content: ""; }
.app-phone-frame img { width: 51px; height: 51px; border-radius: 11px; object-fit: cover; }
.app-phone-frame > span { position: absolute; right: -8px; bottom: 10px; display: grid; width: 31px; height: 31px; place-items: center; border: 3px solid #0b1013; border-radius: 50%; background: var(--red); color: #fff; }
.app-phone-frame > span .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.app-onboarding-graphic > i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: rgba(237,27,47,.55); }
.app-onboarding-graphic > i:nth-of-type(1) { top: 8px; left: 5px; }
.app-onboarding-graphic > i:nth-of-type(2) { right: 2px; top: 36px; width: 3px; height: 3px; }
.app-onboarding-graphic > i:nth-of-type(3) { bottom: 8px; left: 12px; width: 3px; height: 3px; }
.app-onboarding-copy { position: relative; z-index: 1; min-width: 0; }
.app-onboarding-copy h2 { margin: 3px 0 6px; font-size: 1.45rem; }
.app-onboarding-copy > p { margin: 0 0 10px; color: #b9c1c5; font-size: .76rem; }
.app-onboarding-benefits { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-bottom: 11px; color: #d7dcdf; font-size: .65rem; font-weight: 700; }
.app-onboarding-benefits span { display: flex; align-items: center; gap: 4px; }
.app-onboarding-benefits .icon { width: 13px; height: 13px; color: var(--green); stroke-width: 2.5; }
.app-onboarding-button { width: 100%; min-height: 41px; justify-content: space-between; padding-inline: 12px; }
.app-onboarding-button .icon { width: 16px; height: 16px; }
.app-onboarding-button:disabled { cursor: wait; }
.app-onboarding-copy > small { display: block; margin-top: 7px; color: #7f898e; font-size: .6rem; line-height: 1.35; }
.app-onboarding[data-state="blocked"] .app-phone-frame > span { background: #616b70; }
.app-onboarding[data-state="enabled"] .app-phone-frame > span { background: var(--green); }
.app-onboarding[data-state="enabled"] .app-onboarding-button:disabled { cursor: default; opacity: .9; }
.app-onboarding[data-state="unavailable"] .app-phone-frame > span { background: #616b70; }
.app-onboarding[data-state="unavailable"] .app-onboarding-button:disabled { cursor: not-allowed; opacity: .65; }

.install-guide { width: min(100% - 24px, 460px); max-height: calc(100dvh - 24px); margin: auto; overflow: auto; overscroll-behavior: contain; border: 1px solid rgba(255,255,255,.065); border-radius: 18px; padding: 0; background: #0b0f12; color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,.65); }
.install-guide .dialog-close { top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 11px; background: rgba(255,255,255,.065); color: #c6cdd1; box-shadow: none; }
.install-guide .dialog-close:hover { background: rgba(255,255,255,.11); color: #fff; }
.install-guide .dialog-close:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.install-guide .dialog-close .icon { width: 19px; height: 19px; }
.install-guide-content { padding: 28px 24px 24px; }
.install-guide-icon { display: grid; width: 50px; height: 50px; margin-bottom: 16px; place-items: center; border-radius: 12px; background: var(--red); }
.install-guide-content h2 { margin: 4px 48px 8px 0; font-size: 1.7rem; }
.install-guide-content [data-dialog-initial-focus]:focus { outline: none; }
.install-guide-summary { margin: 0 0 18px; color: #b9c1c5; font-size: .9rem; }
.install-guide-steps { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: install-step; }
.install-guide-steps li { position: relative; display: grid; min-height: 58px; align-content: center; gap: 2px; border-radius: 10px; padding: 10px 12px 10px 52px; background: #12181c; counter-increment: install-step; }
.install-guide-steps li::before { position: absolute; top: 50%; left: 12px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: rgba(237,27,47,.15); color: #ff6675; content: counter(install-step); font-size: .8rem; font-weight: 850; transform: translateY(-50%); }
.install-guide-steps strong { font-size: .9rem; }
.install-guide-steps span { color: #aeb7bb; font-size: .84rem; line-height: 1.4; }
.install-guide-note { margin: 0; border-radius: 9px; padding: 11px 12px; background: rgba(237,27,47,.08); color: #d5dade; font-size: .84rem; line-height: 1.45; }

.map-embed { min-height: 260px; background: #111; }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; }
.contact-lines span { color: #d8dddf; }
.contact-actions { margin: 24px 0; }
.contact-actions > div { display: grid; gap: 8px; }
.contact-action { display: grid; grid-template-columns: 42px minmax(0,1fr) 18px; align-items: center; gap: 11px; min-height: 68px; border: 1px solid var(--line); border-radius: 10px; padding: 11px; background: linear-gradient(145deg, #11171a, #0a0e11); }
.contact-action > .icon:first-child { width: 22px; height: 22px; margin: auto; color: var(--red); }
.contact-action > .icon:last-child { width: 16px; height: 16px; color: var(--muted); }
.contact-action span { display: flex; min-width: 0; flex-direction: column; }
.contact-action small { color: var(--muted); }
.contact-action.whatsapp-action > .icon:first-child { color: var(--green); }
.full-width .icon { width: 16px; height: 16px; }

.next-session-title { flex-wrap: wrap; }
.next-session-title h2 { flex: 1 1 160px; white-space: normal; }
.next-session-title .badge { flex: 0 0 auto; }
.training-hub-heading > div { min-width: 0; }
.tab-panel:not([hidden]) .day-block:last-child { border-bottom: 0; padding-bottom: 0; }

@media (min-width: 620px) {
    .contact-actions > div { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .app-onboarding { grid-template-columns: 128px minmax(0,1fr); align-items: center; gap: 22px; padding: 20px 22px; }
    .app-phone-frame { width: 82px; height: 136px; }
    .app-phone-frame img { width: 60px; height: 60px; }
    .app-onboarding-copy h2 { font-size: 1.75rem; }
    .app-onboarding-copy > p { font-size: .82rem; }
    .app-onboarding-button { width: max-content; min-width: 210px; gap: 22px; }
}

@media (min-width: 760px) {
    .more-sheet { max-width: 560px; }
}

@media (min-width: 920px) {
    .map-embed, .map-embed iframe { min-height: 310px; }
    .tab-panel:not([hidden]) .day-block:last-child { border: 1px solid var(--line); padding: 15px; }
    .app-onboarding { margin-top: -20px; margin-bottom: 36px; }
}
