/**
 * features.css — Public / marketing styles
 * Scope: landing pages, public event listings, browse/explore, coach & community
 *        directories, pricing, blog. Anything visible before login.
 * DO NOT add authenticated-app or admin styles here → use pages.css instead.
 */

/* ═══ MARKETING / LANDING — hero, features showcase, testimonials, steps, final CTA ═══ */

th.sort-asc,
th.sort-desc {
    background-color: rgba(45, 95, 93, 0.15) !important;
    font-weight: 700;
}

body.landing-page {
    background: var(--t-bg);
}

[data-theme="light"] body.landing-page,
body.landing-page[data-theme="light"] {
    background: #ffffff;
}

body.landing-page header {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
    position: absolute;
    width: 100%;
    z-index: 100;
}

body.landing-page .container {
    margin: 0;
    padding: 0;
    max-width: 100%;
    min-height: auto;
}

body.landing-page .container > .alert {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    max-width: 600px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.landing-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
    background: var(--t-bg);
    color: var(--t-text);
}

[data-theme="light"] .landing-wrapper {
    background: #ffffff;
}

/* Hero Section */
.hero-section {
    color: white;
    padding: calc(7rem + env(safe-area-inset-top, 0px)) 2rem 5rem;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-radius: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 64, 81, 0.88) 0%, rgba(37, 77, 83, 0.82) 50%, rgba(29, 64, 81, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: white;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-lighter) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.hero-note {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

/* Social Proof Bar */
.social-proof-bar {
    background: transparent;
    padding: 2.5rem 2rem;
}

.social-proof-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.social-proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.social-proof-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-accent, var(--brand-accent-dark));
    letter-spacing: -0.03em;
    line-height: 1;
}

.social-proof-label {
    font-size: 0.85rem;
    color: var(--t-text-muted, var(--text-muted));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.social-proof-divider {
    width: 1px;
    height: 36px;
    background: var(--t-border, var(--border));
}

/* Features Showcase Section */
.features-showcase-section {
    padding: 5rem 2rem;
    background: transparent;
}

.features-showcase-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.features-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.features-showcase-item--reverse {
    direction: rtl;
}

.features-showcase-item--reverse > * {
    direction: ltr;
}

.features-showcase-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.features-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.features-icon-block {
    background-color: rgba(31, 41, 55, 0.95);
    background-image:
        linear-gradient(rgba(29, 64, 81, 0.9), rgba(29, 64, 81, 0.9)),
        url('/static/images/brand-pattern.png');
    background-repeat: no-repeat, repeat;
    background-position: center, center;
    background-size: auto, 360px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.features-icon-main {
    width: 80px !important;
    height: 80px !important;
    color: rgba(255,255,255,0.9);
    stroke-width: 1.5;
    position: relative;
    z-index: 1;
}

.features-icon-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.features-showcase-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mint-dark);
    background: rgba(117, 201, 167, 0.15);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.features-showcase-text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--t-heading, var(--dark));
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.features-showcase-text p {
    font-size: 1.05rem;
    color: var(--t-text-secondary, var(--text-muted));
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.features-showcase-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.features-showcase-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--t-text, var(--dark));
    font-weight: 500;
}

.features-showcase-list li i {
    color: var(--mint-dark);
    flex-shrink: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 2rem;
    background: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--t-surface-elevated);
    border: 1px solid var(--t-border, var(--border));
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--t-card-shadow, var(--shadow));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: var(--warning);
    fill: var(--warning);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--t-text, var(--dark));
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--t-text, var(--dark));
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--t-text-muted, var(--text-muted));
}

.testimonial-card--accent {
    border-left: 3px solid var(--brand-accent-dark);
}

/* ═══ BLOG ═══ */

/* Landing Blog Section */
.landing-blog-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.landing-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.landing-blog-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--t-border, var(--border));
}

.landing-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.landing-blog-image {
    height: 160px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.landing-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.landing-blog-placeholder {
    color: #93c5fd;
}

.landing-blog-body {
    padding: 1.25rem;
}

.landing-blog-meta {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.4rem;
}

.landing-blog-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--t-heading, var(--dark));
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.landing-blog-excerpt {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}

/* What You Get Section */
.what-you-get-section {
    background: var(--t-surface);
    padding: 3rem 2rem 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.what-you-get-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.what-you-get-grid--6 {
    max-width: 1100px;
}

.what-you-get-grid--4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
}

.what-you-get-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: var(--t-surface-elevated);
    border: 1px solid var(--t-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="light"] .what-you-get-card {
    background: linear-gradient(135deg, #f0f7f7 0%, #e8f4f8 100%);
    border-color: rgba(45, 95, 93, 0.1);
}

.what-you-get-card--link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.what-you-get-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--t-card-shadow, 0 8px 24px rgba(26, 58, 82, 0.12));
    border-color: rgba(117,201,167,0.3);
}

.what-you-get-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--brand-accent, var(--brand-accent-dark));
}

.what-you-get-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--t-heading, var(--primary));
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.what-you-get-desc {
    font-size: 0.95rem;
    color: var(--t-text-secondary, var(--text-muted));
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .what-you-get-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .what-you-get-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .what-you-get-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .what-you-get-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .what-you-get-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--t-heading, var(--dark));
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--t-text-secondary, var(--text-muted));
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-note {
    text-align: center;
    color: var(--t-text-muted, var(--text-muted));
    margin-top: 1rem;
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--t-surface);
    border: 1px solid var(--t-border, var(--border));
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-accent, var(--secondary));
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--t-heading, var(--dark));
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--t-text-secondary, var(--text-muted));
    line-height: 1.7;
    font-size: 1rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 2rem;
    background: transparent;
    margin: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.step-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--t-heading, var(--dark));
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--t-text-muted, var(--text-muted));
    line-height: 1.7;
    font-size: 1rem;
}

/* ═══ PRICING ═══ */

/* Pricing Section */
.pricing-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--t-surface);
    border: 2px solid var(--t-border, var(--border));
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    border-color: var(--brand-accent, var(--secondary));
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    border-width: 2px;
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow);
}

.pricing-badge-featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--t-heading, var(--dark));
    margin-bottom: 1rem;
}

.pricing-amount {
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--t-heading, var(--dark));
}

.period {
    font-size: 1.1rem;
    color: var(--t-text-muted, var(--text-muted));
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.875rem 0;
    color: var(--t-text-muted, var(--text-muted));
    font-size: 1rem;
    border-bottom: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Landing Page Pricing Grid */
.landing-pricing-section {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.landing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
}

.landing-pricing-grid .pricing-card {
    display: flex;
    flex-direction: column;
}

.landing-pricing-grid .pricing-features {
    flex: 1;
}

.landing-pricing-grid .pricing-card .btn {
    margin-top: auto;
}

.landing-pricing-note {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--t-text-muted, var(--text-muted));
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .landing-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Landing Page Pricing Cards (lp-*) */
.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
    align-items: stretch;
}
.lp-pricing-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.lp-plan-card {
    background: var(--t-surface-elevated, #1a3340);
    border: 1px solid var(--t-border, rgba(255,255,255,0.1));
    border-radius: 16px;
    padding: 2rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.lp-plan-card:hover {
    border-color: rgba(117,201,167,0.35);
    transform: translateY(-3px);
}

.lp-plan-featured {
    border-color: rgba(117,201,167,0.5);
    background: linear-gradient(160deg, rgba(117,201,167,0.08) 0%, var(--t-surface-elevated, #1a3340) 55%);
    box-shadow: 0 0 0 1px rgba(117,201,167,0.2) inset, 0 12px 32px rgba(0,0,0,0.3);
}

.lp-featured-ribbon {
    position: absolute;
    top: 1rem;
    right: 0;
    background: linear-gradient(135deg, var(--brand-accent-dark), #2d9e76);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.85rem 0.25rem 0.75rem;
    border-radius: 4px 0 0 4px;
}

.lp-plan-top {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--t-border, rgba(255,255,255,0.08));
}

.lp-plan-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lp-plan-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--t-text, #e8f4f0);
}

.lp-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(117,201,167,0.15);
    color: var(--brand-accent);
    border: 1px solid rgba(117,201,167,0.3);
    border-radius: 999px;
    padding: 0.18rem 0.5rem;
}

.lp-badge-accent {
    background: rgba(117,201,167,0.25);
    border-color: rgba(117,201,167,0.5);
}

.lp-price {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--brand-accent-dark);
}

.lp-price span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--t-text-muted, #8aacb8);
    letter-spacing: 0;
}

.lp-plan-desc {
    margin: 0;
    font-size: 0.84rem;
    color: var(--t-text-secondary, #a0bec8);
    line-height: 1.55;
    min-height: 2.6em;
}

.lp-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    margin-bottom: 1.5rem;
}

.lp-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: var(--t-text, #e8f4f0);
    line-height: 1.45;
}

.lp-features li::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233eb489' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.lp-btn {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: auto;
    border: 2px solid transparent;
}

.lp-btn-outline {
    border-color: var(--t-border, rgba(255,255,255,0.12));
    color: var(--t-text, #e8f4f0);
    background: transparent;
}

.lp-btn-outline:hover {
    border-color: rgba(117,201,167,0.5);
    color: var(--brand-accent);
    background: rgba(117,201,167,0.07);
}

.lp-btn-primary {
    background: linear-gradient(135deg, var(--brand-accent-dark), #2d9e76);
    color: #fff;
    box-shadow: 0 4px 14px rgba(62,180,137,0.3);
}

.lp-btn-primary:hover {
    background: linear-gradient(135deg, #4ac296, #35b585);
    box-shadow: 0 6px 18px rgba(62,180,137,0.4);
    transform: translateY(-1px);
}

.lp-pricing-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.lp-pricing-footer p {
    font-size: 0.84rem;
    color: var(--t-text-secondary, #a0bec8);
    margin: 0 0 0.45rem;
}

.lp-pricing-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-accent);
    text-decoration: none;
}

.lp-pricing-link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .lp-pricing-grid, .lp-pricing-grid-2 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .lp-plan-featured {
        order: -1;
    }
}

/* Light mode overrides for landing pricing */
[data-theme="light"] .landing-pricing-section {
    background: transparent;
}

[data-theme="light"] .lp-plan-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
    color: #1a2b3c;
}

[data-theme="light"] .lp-plan-card:hover {
    border-color: rgba(62,180,137,0.45);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

[data-theme="light"] .lp-plan-top {
    border-bottom-color: #e5e7eb;
}

[data-theme="light"] .lp-plan-featured {
    background: linear-gradient(160deg, rgba(62,180,137,0.04) 0%, #ffffff 55%);
    border-color: rgba(62,180,137,0.45);
    box-shadow: 0 0 0 1px rgba(62,180,137,0.15) inset, 0 4px 16px rgba(0,0,0,0.06), 0 12px 32px rgba(62,180,137,0.08);
}

[data-theme="light"] .lp-plan-name {
    color: #111827;
}

[data-theme="light"] .lp-price {
    color: #1d8a63;
}

[data-theme="light"] .lp-price span {
    color: #6b7280;
}

[data-theme="light"] .lp-plan-desc {
    color: #4b5563;
}

[data-theme="light"] .lp-features li {
    color: #374151;
}

[data-theme="light"] .lp-btn-outline {
    border-color: #d1d5db;
    color: #1f2937;
    background: #ffffff;
}

[data-theme="light"] .lp-btn-outline:hover {
    border-color: rgba(62,180,137,0.5);
    color: #1d8a63;
    background: rgba(62,180,137,0.05);
}

[data-theme="light"] .lp-pricing-footer p {
    color: #6b7280;
}

[data-theme="light"] .lp-badge {
    background: rgba(62,180,137,0.1);
    color: #1d8a63;
    border-color: rgba(62,180,137,0.25);
}

[data-theme="light"] .lp-featured-ribbon {
    box-shadow: 0 2px 8px rgba(62,180,137,0.25);
}

/* Light mode overrides for landing sections */
[data-theme="light"] .social-proof-number {
    color: var(--brand-1);
}

[data-theme="light"] .final-cta-section .btn-outline {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: #ffffff;
}

[data-theme="light"] .final-cta-section .btn-outline:hover {
    background: rgba(255,255,255,0.3);
    color: #ffffff;
}

/* Partners Section */
.partners-section {
    padding: 4rem 2rem;
    background: transparent;
    text-align: center;
}

.partners-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.partner-logo-card {
    background: var(--t-surface);
    border-radius: 16px;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo-img {
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
    color: white;
    margin: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.08);
    z-index: 0;
}

.final-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: -0.04em;
}

.final-cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for Landing Page */
@media (max-width: 768px) {
    .hero-section {
        padding: calc(5rem + env(safe-area-inset-top, 0px)) 1.5rem 3rem;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 400px;
    }
    
    .social-proof-inner {
        gap: 1.5rem;
    }
    
    .social-proof-number {
        font-size: 1.5rem;
    }
    
    .social-proof-divider {
        display: none;
    }
    
    .features-showcase-item,
    .features-showcase-item--reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        direction: ltr;
    }
    
    .features-showcase-section {
        padding: 3rem 1.5rem;
    }
    
    .features-showcase-text h3 {
        font-size: 1.4rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-section {
        padding: 3rem 1.5rem;
    }
    
    .features-section,
    .how-it-works-section,
    .pricing-section,
    .partners-section,
    .final-cta-section {
        padding: 3rem 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.05rem;
    }
    
    .features-grid,
    .steps-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .final-cta-section h2 {
        font-size: 2rem;
    }
    
    .final-cta-section p {
        font-size: 1.1rem;
    }
    
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .landing-blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1rem 2.5rem;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .social-proof-inner {
        gap: 1rem;
    }
    
    .social-proof-stat {
        min-width: 70px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .features-section,
    .how-it-works-section,
    .pricing-section,
    .partners-section,
    .final-cta-section,
    .features-showcase-section,
    .testimonials-section {
        padding: 2.5rem 1rem;
    }
}

/* ── iPhone SE and very small phones (≤ 375px) ── */
@media (max-width: 375px) {
    .hero-section {
        padding: calc(3.5rem + env(safe-area-inset-top, 0px)) 0.75rem 2rem;
        min-height: 300px;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .section-header h2 {
        font-size: 1.4rem;
    }
    .section-header p {
        font-size: 0.9rem;
    }
    .features-section,
    .how-it-works-section,
    .pricing-section,
    .partners-section,
    .final-cta-section,
    .features-showcase-section,
    .testimonials-section {
        padding: 2rem 0.75rem;
    }
    .btn-hero {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
}

@media (min-width: 1200px) {
    .hero-section {
        padding: calc(8rem + env(safe-area-inset-top, 0px)) 2rem 6rem;
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Scroll-Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-child {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-child.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-child {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ═══ INFO TOOLTIP ═══ */
/* TODO: review placement — used in both public pricing tables and app admin views; consider moving to components.css */

.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: help;
}

.info-tooltip .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-tooltip:hover .info-icon {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(45, 95, 93, 0.4);
}

.info-tooltip .tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 1000;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    width: 280px;
    padding: 1rem;
    background: var(--t-surface);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.info-tooltip .tooltip-content::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.08));
}

.info-tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.tooltip-content .tooltip-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--t-heading, var(--primary));
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tooltip-content .tooltip-title-icon {
    font-size: 1rem;
}

.tooltip-content .tooltip-text {
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.tooltip-content .tooltip-formula {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 0.75rem;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.75rem;
    color: var(--t-heading, var(--primary));
    text-align: center;
    font-weight: 600;
}

.tooltip-content .tooltip-examples {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.tooltip-content .tooltip-example {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.25rem 0;
}

.tooltip-content .tooltip-example-label {
    color: var(--t-text-secondary);
}

.tooltip-content .tooltip-example-value {
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
}

.tooltip-content .tooltip-example-value.positive {
    background: #dcfce7;
    color: #166534;
}

.tooltip-content .tooltip-example-value.negative {
    background: #fef2f2;
    color: #991b1b;
}

.tooltip-content .tooltip-example-value.neutral {
    background: #f3f4f6;
    color: #374151;
}

/* Responsive tooltip positioning */
@media (max-width: 768px) {
    .info-tooltip .tooltip-content {
        width: 240px;
        padding: 0.875rem;
        left: auto;
        right: -10px;
        transform: translateY(5px);
    }
    
    .info-tooltip:hover .tooltip-content {
        transform: translateY(0);
    }
    
    .info-tooltip .tooltip-content::before {
        left: auto;
        right: 20px;
        transform: none;
    }
}

/* Table header tooltip adjustments - position below header to avoid clipping */
th .info-tooltip {
    white-space: nowrap;
}

/* Raise hovered tooltip above adjacent column tooltips */
th .info-tooltip:hover {
    z-index: 100;
}

th .info-tooltip .tooltip-content {
    white-space: normal;
    text-align: left;
    bottom: auto;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
}

th .info-tooltip .tooltip-content::before {
    bottom: auto;
    top: -8px;
    border-width: 0 8px 8px 8px;
    border-color: transparent transparent white transparent;
}

th .info-tooltip:hover .tooltip-content {
    transform: translateX(-50%) translateY(0);
}

/* PWA Install Banner */
.footer-brand-logo {
    height: 28px;
    opacity: 0.85;
}

.footer-meta {
    margin-top: -0.25rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--t-surface-elevated);
    color: var(--t-text);
    padding: 1rem 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    border-top: 1px solid var(--t-border);
}

.cookie-consent-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-copy {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    min-width: 250px;
}

.cookie-consent-copy a {
    color: var(--t-link);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.625rem;
    flex-shrink: 0;
}

.cookie-consent-btn {
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.cookie-consent-btn--accept {
    background: #0d9488;
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
}

.cookie-consent-btn--dismiss {
    background: transparent;
    color: var(--t-text-muted);
    border: 1px solid var(--t-border);
}

.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.pwa-install-icon img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pwa-install-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pwa-install-text strong {
    font-size: 1rem;
}

.pwa-install-text span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.pwa-install-banner .btn-sm,
.pwa-install-banner button#pwa-install-btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    white-space: nowrap;
    background: #ffffff !important;
    color: var(--brand-1) !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    transition: all 0.2s ease;
}

.pwa-install-banner .btn-sm:hover,
.pwa-install-banner button#pwa-install-btn:hover {
    background: #f0f4f8 !important;
    color: var(--brand-1) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.pwa-dismiss {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.pwa-dismiss:hover {
    opacity: 1;
}

@media (max-width: 480px) {
    .pwa-install-content {
        flex-wrap: wrap;
    }
    
    .pwa-install-icon {
        display: none;
    }
    
    .pwa-install-text {
        flex: 1 1 auto;
    }
    
    .pwa-install-banner .btn-sm {
        order: 3;
        flex: 1;
        margin-top: 0.5rem;
    }
}

.pwa-reinstall-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    background: var(--t-surface-elevated);
    color: var(--t-text);
    border: 1px solid var(--t-border);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    font-size: 14px;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 90vw;
    width: 360px;
    flex-direction: column;
}

.pwa-reinstall-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.pwa-reinstall-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.pwa-reinstall-body {
    flex: 1;
}

.pwa-reinstall-title {
    display: block;
    margin-bottom: 2px;
}

.pwa-reinstall-subtitle {
    font-size: 13px;
    opacity: 0.85;
}

.pwa-reinstall-dismiss {
    background: none;
    border: none;
    color: var(--t-text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    align-self: flex-start;
}

.pwa-reinstall-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}

.pwa-reinstall-btn {
    flex: 1;
    background: var(--accent-mint, var(--brand-accent));
    color: var(--brand-1);
    border: none;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}

/* ═══ BROWSE / EXPLORE — marketplace listings, filter UI, public event cards ═══ */

.marketplace-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.marketplace-header h2 {
    color: var(--t-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.marketplace-subtitle {
    color: var(--t-text-secondary);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.marketplace-header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.marketplace-filters {
    background: var(--t-surface);
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-search {
    width: 100%;
}

.filter-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--t-border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--t-surface-elevated);
    color: var(--t-text);
}

.filter-input:focus {
    outline: none;
    border-color: var(--brand-accent);
}

/* Location row: city input + selects on same line */
.filter-location-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-location-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px;
}

.filter-location-icon {
    position: absolute;
    left: 0.85rem;
    width: 16px;
    height: 16px;
    color: var(--brand-accent);
    pointer-events: none;
    flex-shrink: 0;
}

.filter-location-input {
    padding-left: 2.3rem !important;
    flex: 1;
}

.btn-near-me {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.9rem;
    border: 2px solid var(--brand-accent);
    border-radius: 10px;
    background: transparent;
    color: var(--brand-accent);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.btn-near-me:hover:not(:disabled) {
    background: var(--brand-accent);
    color: #fff;
}

.btn-near-me:disabled {
    opacity: 0.55;
    cursor: default;
}

.filter-selects {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select {
    padding: 0.6rem 0.75rem;
    border: 2px solid var(--t-border);
    border-radius: 10px;
    font-size: 0.9rem;
    background: var(--t-surface-elevated);
    color: var(--t-text);
    min-width: 140px;
    transition: border-color 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--brand-accent);
}

/* Results bar */
.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.results-count {
    font-size: 0.9rem;
    color: var(--t-text-secondary);
}

.results-count strong {
    color: var(--t-text);
}

.results--in {
    color: var(--t-text-secondary);
}

.results--in strong {
    color: var(--brand-accent);
}

/* Active filter chips */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
    background: var(--t-surface);
    border: 1.5px solid var(--t-border);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--t-text);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.filter-chip:hover {
    border-color: var(--brand-accent);
    background: var(--t-surface-elevated);
    color: var(--t-text);
}

.filter-chip-location {
    border-color: var(--brand-accent);
    color: var(--brand-accent);
}

.filter-chip-clear {
    border-color: transparent;
    background: transparent;
    color: var(--t-text-muted);
    font-weight: 500;
}

.filter-chip-clear:hover {
    color: var(--t-text);
    background: transparent;
    border-color: var(--t-border);
}

.chip-x {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.6;
}

/* City icon on cards */
.listing-city {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.listing-city-icon {
    width: 12px;
    height: 12px;
    color: var(--brand-accent);
    flex-shrink: 0;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .marketplace-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .marketplace-grid {
        grid-template-columns: 1fr;
    }
    .marketplace-header h2 {
        font-size: 1.75rem;
    }
    .filter-selects {
        flex-direction: column;
    }
    .filter-select {
        width: 100%;
    }
    .filter-location-wrap {
        flex-wrap: wrap;
    }
    .filter-location-input {
        min-width: 0;
    }
    .results-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

.marketplace-card {
    background: var(--t-surface);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.marketplace-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.marketplace-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--t-surface-elevated);
}

.marketplace-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.marketplace-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-1) 0%, #2d8a7e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    font-weight: 600;
}

.price-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--brand-accent);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.marketplace-card-info {
    padding: 1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.marketplace-card-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--t-text);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marketplace-card-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.condition-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--t-badge-default-bg);
    color: var(--t-badge-default-text);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.category-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--t-badge-info-bg);
    color: var(--t-badge-info-text);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.marketplace-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.5rem;
    color: var(--t-text-secondary);
    font-size: 0.85rem;
}

.listing-time {
    color: #9ca3af;
    font-size: 0.8rem;
}

.marketplace-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-info {
    color: var(--t-text-secondary);
    font-weight: 500;
}

.marketplace-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--t-surface);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.marketplace-empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.marketplace-empty-state h3 {
    color: var(--t-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.marketplace-empty-state p {
    color: var(--t-text-secondary);
    margin-bottom: 1.5rem;
}

.marketplace-detail {
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 2rem;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.detail-breadcrumb a {
    color: var(--t-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.detail-breadcrumb a:hover {
    color: var(--t-text);
}

.breadcrumb-sep {
    color: var(--t-text-subtle);
}

.detail-breadcrumb span:last-child {
    color: var(--t-text);
    font-weight: 500;
}

.listing-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--t-surface);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
    align-items: start;
    max-width: 100%;
}

@media (max-width: 768px) {
    .listing-layout {
        grid-template-columns: 1fr;
    }
}

.listing-photos {
    padding: 0;
    position: sticky;
    top: 0;
}

.photo-gallery {
    width: 100%;
    position: relative;
}

.photo-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--t-surface-elevated);
}

.photo-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--t-surface-elevated);
}

.photo-main-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--brand-1) 0%, #1e5c6b 50%, #2d8a7e 100%);
}

.placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.placeholder-icon {
    font-size: 4rem;
    filter: grayscale(20%);
}

.placeholder-label {
    color: rgba(255,255,255,0.5);
    font-size: 1.25rem;
    font-weight: 600;
}

.placeholder-sub {
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
    font-weight: 400;
}

.photo-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    overflow-x: auto;
    background: var(--t-surface-elevated);
}

.photo-thumbs .thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
    opacity: 0.7;
}

.photo-thumbs .thumb:hover {
    opacity: 1;
}

.photo-thumbs .thumb.active {
    border-color: var(--brand-accent);
    opacity: 1;
}

.listing-info {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.listing-header {
    margin-bottom: 0;
}

.listing-info h1 {
    font-size: 1.6rem;
    color: var(--t-text);
    margin: 0.5rem 0 0.65rem 0;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.listing-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-accent);
    margin-bottom: 0;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.price-cad {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--t-text-muted);
}

.listing-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.condition-badge {
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.condition-new {
    background: var(--t-badge-success-bg);
    color: var(--t-badge-success-text);
}

.condition-like_new {
    background: var(--t-badge-info-bg);
    color: var(--t-badge-info-text);
}

.condition-good {
    background: var(--t-badge-warning-bg);
    color: var(--t-badge-warning-text);
}

.condition-fair {
    background: var(--t-status-danger-bg);
    color: var(--t-status-danger-text);
}

.listing-divider {
    height: 1px;
    background: var(--t-border);
    margin: 1rem 0;
}

.listing-details-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.detail-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.detail-chip-icon {
    font-size: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--t-surface-elevated);
    border-radius: 8px;
    flex-shrink: 0;
}

.detail-chip-label {
    display: block;
    font-size: 0.68rem;
    color: var(--t-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
    line-height: 1;
}

.detail-chip-value {
    display: block;
    font-size: 0.85rem;
    color: var(--t-text);
    font-weight: 600;
    line-height: 1.3;
}

.listing-description {
    margin-bottom: 0;
}

.listing-description h3 {
    font-size: 0.9rem;
    color: var(--t-text);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.listing-description p {
    color: var(--t-text-secondary);
    line-height: 1.7;
    white-space: pre-wrap;
    font-size: 0.88rem;
}

.contact-seller-box {
    background: var(--t-status-success-bg);
    border: 1px solid var(--t-status-success-border);
    border-radius: 14px;
    padding: 1.25rem;
    margin-top: 0.5rem;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-header-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--t-surface);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.contact-header h3 {
    font-size: 0.95rem;
    color: var(--t-text);
    margin: 0;
    font-weight: 700;
}

.contact-subtext {
    font-size: 0.75rem;
    color: var(--t-text-muted);
    margin: 0.1rem 0 0 0;
}

.contact-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-reveal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: var(--brand-1);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(26,58,82,0.2);
}

.contact-reveal-btn:hover {
    background: #2d8a7e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45,138,126,0.3);
}

.contact-btn-icon {
    font-size: 0.9rem;
}

.contact-revealed {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: var(--t-surface);
    color: var(--brand-1);
    border: 2px solid var(--brand-1);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-revealed:hover {
    background: var(--t-surface-elevated);
    text-decoration: none;
}

.no-contact {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.85rem;
}

.owner-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--t-border);
}

.owner-btn {
    font-size: 0.82rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 10px !important;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.listing-safety-tip {
    text-align: center;
    color: var(--t-text-muted);
    font-size: 0.78rem;
    margin-top: 1.5rem;
    padding: 0.75rem;
}

.listing-safety-tip strong {
    color: var(--t-text-secondary);
}

.marketplace-form-page {
    max-width: 700px;
    margin: 0 auto;
}

.marketplace-form-page h2 {
    color: var(--t-heading);
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.form-subtitle {
    color: var(--t-text-secondary);
    margin-bottom: 1.5rem;
}

.marketplace-form {
    background: var(--t-surface);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.marketplace-form .form-group {
    margin-bottom: 1.25rem;
}

.marketplace-form label {
    display: block;
    font-weight: 600;
    color: var(--t-text-secondary);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.marketplace-form input[type="text"],
.marketplace-form input[type="email"],
.marketplace-form input[type="tel"],
.marketplace-form input[type="number"],
.marketplace-form select,
.marketplace-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

.marketplace-form input:focus,
.marketplace-form select:focus,
.marketplace-form textarea:focus {
    outline: none;
    border-color: var(--brand-1);
}

.size-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.size-checkbox-label {
    cursor: pointer;
    display: inline-block;
}
.size-checkbox-label input[type="checkbox"] {
    display: none;
}
.size-checkbox-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--t-text-secondary);
    background: #fff;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    user-select: none;
}
.size-checkbox-label input[type="checkbox"]:checked + .size-checkbox-box {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.photo-upload-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 600px) {
    .photo-upload-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

.photo-upload-slot {
    position: relative;
}

.photo-upload-slot input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.photo-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: #9ca3af;
    font-size: 0.85rem;
}

.photo-upload-label:hover {
    border-color: #2d8a7e;
    color: #2d8a7e;
}

.upload-icon {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.photo-preview {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--t-border);
}

.existing-photo {
    position: relative;
}

.remove-photo-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--danger);
    cursor: pointer;
    font-weight: 500 !important;
}

.remove-photo-label input {
    width: auto !important;
    position: static !important;
    opacity: 1 !important;
}

.my-listings-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.my-listing-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--t-surface);
    border-radius: 14px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.my-listing-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}

.my-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-listing-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-1), #2d8a7e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    font-weight: 600;
}

.my-listing-info {
    flex: 1;
    min-width: 0;
}

.my-listing-info h3 {
    font-size: 1.1rem;
    color: var(--t-heading);
    margin: 0 0 0.35rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-listing-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.price-badge-inline {
    font-weight: 700;
    color: var(--brand-accent);
    font-size: 1rem;
}

.status-badge-active {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--t-badge-active-bg);
    color: var(--t-badge-active-text);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge-sold {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--t-status-danger-bg);
    color: var(--t-status-danger-text);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.my-listing-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .my-listing-card {
        flex-direction: column;
        align-items: stretch;
    }
    .my-listing-thumb {
        width: 100%;
        height: 150px;
    }
    .my-listing-actions {
        justify-content: stretch;
    }
    .my-listing-actions .btn {
        flex: 1;
        text-align: center;
    }
}

.marketplace-cta-section {
    background: linear-gradient(135deg, var(--brand-1) 0%, #2d8a7e 100%);
    border-radius: 16px;
    padding: 3rem;
    margin: 2rem 0;
    color: #fff;
}
.marketplace-cta-content {
    text-align: center;
}
.marketplace-cta-text h2 {
    font-size: 2rem;
    margin: 0.5rem 0;
    color: #fff;
}
.marketplace-cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.marketplace-cta-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.marketplace-cta-section .btn-primary {
    background: #fff;
    color: var(--brand-1);
    font-weight: 600;
}
.marketplace-cta-section .btn-primary:hover {
    background: #f0f0f0;
}
.marketplace-cta-categories {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.mp-cat-tag {
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}
/* ═══ PUBLIC TOURNAMENT / LADDER VIEWS — scoring spotlight, public event landing sections ═══ */

/* ── Scoring Spotlight Section ── */
.scoring-spotlight-section {
    padding: 5rem 2rem;
    background: linear-gradient(160deg, var(--t-surface-1, var(--surface-1)) 0%, var(--t-bg, var(--bg)) 100%);
    position: relative;
    overflow: hidden;
}
.scoring-spotlight-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(117, 201, 167, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.scoring-spotlight-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.scoring-spotlight-text h3 {
    font-size: 1.75rem;
    margin: 0.5rem 0 0.85rem;
    line-height: 1.25;
}
.scoring-spotlight-text p { color: var(--t-text-muted); line-height: 1.65; margin-bottom: 1.5rem; }
.scoring-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 12px;
}
.scoring-steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 24px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(to bottom, var(--mint), rgba(117, 201, 167, 0.2));
    border-radius: 1px;
}
.scoring-step {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: var(--t-text-secondary, var(--t-text-muted));
    padding: 0.5rem 0;
    position: relative;
    z-index: 1;
}
.scoring-step-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--mint);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--t-bg, var(--bg)), 0 2px 8px rgba(117, 201, 167, 0.3);
}
.scoring-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--t-surface-2, var(--surface-2));
    border: 1px solid var(--t-border, var(--border-color));
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}
.scoring-compare-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
}
.scoring-compare-col.scoring-compare-before {
    background: var(--t-surface-1, var(--surface-1));
    border-right: 1px solid var(--t-border, var(--border-color));
}
.scoring-compare-col.scoring-compare-after {
    background: linear-gradient(180deg, rgba(117, 201, 167, 0.06) 0%, transparent 100%);
}
.scoring-compare-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--t-border, var(--border-color));
}
.scoring-compare-before .scoring-compare-label { color: var(--t-text-muted); opacity: 0.7; }
.scoring-compare-after .scoring-compare-label { color: var(--mint); opacity: 1; }
.scoring-compare-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--t-text-muted);
    border-radius: 8px;
    padding: 0.5rem 0.5rem;
    transition: background 0.2s ease;
}
.scoring-compare-item:hover {
    background: rgba(127, 150, 154, 0.06);
}
.scoring-compare-after .scoring-compare-item {
    color: var(--t-text);
    font-weight: 500;
}
.scoring-compare-before .scoring-compare-item {
    opacity: 0.6;
    text-decoration: line-through;
    text-decoration-color: rgba(127, 150, 154, 0.4);
}
.scoring-compare-after .scoring-compare-item .icon {
    color: var(--mint);
}
@media (max-width: 768px) {
    .scoring-spotlight-section { padding: 3rem 1.5rem; }
    .scoring-spotlight-inner { grid-template-columns: 1fr; gap: 2rem; }
    .scoring-compare { grid-template-columns: 1fr; }
    .scoring-compare-col.scoring-compare-before {
        border-right: none;
        border-bottom: 1px solid var(--t-border, var(--border-color));
    }
}

/* ── Landing Dual CTA (Marketplace + Coaching) ── */
.landing-dual-cta-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.landing-dual-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.landing-dual-cta-card {
    border-radius: 16px;
    padding: 2.5rem 2rem;
    color: #fff;
    text-align: center;
}

.landing-dual-cta-card--market {
    background: linear-gradient(135deg, var(--brand-1) 0%, #2d8a7e 100%);
}

.landing-dual-cta-card--coach {
    background: linear-gradient(135deg, var(--brand-1) 0%, #2d8a7e 100%);
}

.landing-dual-cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.landing-dual-cta-card h3 {
    font-size: 1.6rem;
    margin: 0.25rem 0 0.75rem;
    color: #fff;
}

.landing-dual-cta-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.landing-dual-cta-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.landing-dual-cta-tags span {
    background: rgba(255,255,255,0.15);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.landing-dual-cta-card .btn-primary {
    background: #fff;
    color: var(--brand-1);
    font-weight: 600;
}

.landing-dual-cta-card--coach .btn-primary {
    color: var(--brand-1);
}

.landing-dual-cta-card .btn-primary:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .landing-dual-cta-grid {
        grid-template-columns: 1fr;
    }
    .landing-dual-cta-card {
        padding: 2rem 1.5rem;
    }
}

.photo-upload-buttons {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.btn-photo-option {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: var(--brand-1);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 500;
}
.btn-photo-option:hover {
    background: #f0f0f0;
}
.btn-camera {
    background: #2d8a7e;
    color: #fff;
    border-color: #2d8a7e;
}
.btn-camera:hover {
    background: #257a6f;
}
.photo-preview {
    cursor: pointer;
}

/* moved to pages.css — .admin-sponsors-page, .sponsors-grid, .sponsor-card, .sponsor-card-actions */

.btn-sm {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
}

.empty-state-card {
    background: var(--t-surface);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.empty-state-card h3 {
    color: var(--t-heading);
    margin: 0 0 0.5rem 0;
}

.empty-state-card p {
    color: var(--t-text-muted);
    margin: 0 0 1.5rem 0;
}

.current-logo-preview {
    margin-bottom: 0.75rem;
}

.current-logo-preview img {
    max-height: 60px;
    max-width: 200px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem;
    background: var(--t-surface);
}

.remove-logo-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #dc2626;
    margin-top: 0.4rem;
    cursor: pointer;
}

.form-help {
    display: block;
    font-size: 0.78rem;
    color: var(--t-text-muted);
    margin-top: 0.25rem;
}

.sponsor-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .sponsor-form-row {
        grid-template-columns: 1fr;
    }
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
}

.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
    cursor: help;
    margin-left: 6px;
    vertical-align: middle;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.info-tooltip:hover {
    background: var(--brand-1);
    color: #fff;
}
.info-tooltip .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-1);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 400;
    font-style: normal;
    font-family: inherit;
    line-height: 1.5;
    white-space: normal;
    width: 240px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    transition: all 0.2s ease;
    pointer-events: none;
}
.info-tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--brand-1);
}
.info-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
@media (max-width: 600px) {
    .info-tooltip .tooltip-text {
        width: 200px;
        left: auto;
        right: -10px;
        transform: none;
    }
    .info-tooltip .tooltip-text::after {
        left: auto;
        right: 16px;
        transform: none;
    }
}

label .info-tooltip {
    position: relative;
    top: -1px;
}

.form-section-intro {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--brand-1);
    line-height: 1.5;
}
.form-section-intro strong {
    color: var(--t-heading);
}

.form-step-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-step-number {
    background: var(--brand-1);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.sponsor-banner-section {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.sponsor-banner-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--t-text-muted);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.sponsor-banners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sponsor-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    background: var(--t-surface-elevated);
    border: 1px solid var(--t-border-strong);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.sponsor-banner:hover {
    background: var(--t-hover-bg);
    border-color: var(--t-border-strong);
}

.sponsor-banner img {
    max-height: 36px;
    max-width: 160px;
    object-fit: contain;
    filter: var(--t-sponsor-img-filter);
    opacity: var(--t-sponsor-img-opacity);
    transition: opacity 0.2s;
}

.sponsor-banner:hover img {
    opacity: 1;
}

.sponsor-banner-name {
    color: var(--t-text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
}

/* moved to pages.css — ORGANIZER ADMIN — platform admin user/content tables, finance, sponsor mgmt */
/* moved to pages.css — PLAYER DASHBOARD — dash-upsell, dash-stats-link, admin-dash responsive */

/* TODO: review placement — nav notification/badge utilities likely belong in pages.css (app shell) */
.nav-notify-dot {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
    border: 2px solid var(--brand-1);
    box-sizing: content-box;
    margin-top: 2px;
}
.dropdown-unread-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e53e3e;
    margin-left: 6px;
    vertical-align: middle;
}
.dropdown-item-badge {
    margin-left: auto;
    padding: 0.15rem 0.45rem;
    border-radius: 0.4rem;
    background: var(--t-status-info-bg, rgba(59, 130, 246, 0.2));
    color: var(--t-status-info-text, var(--info));
    font-size: 0.75rem;
    font-weight: 600;
}

.message-seller-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}
.message-seller-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--t-input-border);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.message-seller-input:focus {
    outline: none;
    border-color: var(--brand-accent, var(--primary));
}
.message-seller-btn {
    white-space: nowrap;
}

/* moved to pages.css — MESSAGES — inbox/msg-shell, msg-list */
/* moved to pages.css — MESSAGES — chat conversation */

/* ═══ MOBILE RESPONSIVE OVERRIDES — browse, explore, marketplace, public pages ═══ */

@media (max-width: 768px) {
    .browse-hero {
        padding: 2rem 1rem;
    }
    .browse-hero h1 {
        font-size: 1.75rem;
    }
    .browse-hero p {
        font-size: 0.95rem;
    }
    .browse-search-box {
        padding: 0 0.5rem;
    }
    .browse-search-box input {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
    .browse-results-bar {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    .browse-tabs {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .browse-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    .view-toggle {
        align-self: flex-end;
    }
    .tabs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.35rem;
        padding-bottom: 0.5rem;
    }
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.82rem;
        padding: 0.55rem 0.85rem;
    }
    .league-card-image-admin {
        height: 140px;
    }
    .admin-league-card-info {
        padding: 1rem;
    }
    .admin-league-card-info h3 {
        font-size: 1.1rem;
    }

    .marketplace-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .marketplace-header h2 {
        font-size: 1.75rem;
    }
    .marketplace-header-actions {
        width: 100%;
    }
    .marketplace-header-actions .btn {
        flex: 1;
        text-align: center;
    }
    .marketplace-filters {
        padding: 1rem;
    }
    .filter-selects {
        flex-direction: column;
    }
    .filter-select {
        width: 100%;
        min-width: 100%;
    }
    .marketplace-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .marketplace-card-image {
        height: 150px;
    }
    .marketplace-card-info {
        padding: 0.75rem;
    }
    .marketplace-card-info h3 {
        font-size: 0.9rem;
    }
    .marketplace-cta-section {
        padding: 2rem 1.25rem;
    }
    .marketplace-cta-text h2 {
        font-size: 1.5rem;
    }

    .listing-layout {
        grid-template-columns: 1fr;
    }
    .listing-info {
        padding: 1.25rem;
        overflow: hidden;
    }
    .listing-info h1 {
        font-size: 1.3rem;
    }
    .listing-price {
        font-size: 1.75rem;
    }
    .listing-photos {
        position: static;
    }
    .contact-seller-box {
        padding: 1rem;
    }
    .contact-seller-box select,
    .contact-seller-box input,
    .contact-seller-box button {
        max-width: 100%;
    }
    .contact-buttons {
        flex-direction: column;
    }
    .contact-buttons .btn,
    .contact-reveal-btn {
        width: 100%;
        justify-content: center;
    }
    .owner-actions {
        flex-direction: column;
    }
    .owner-actions .btn,
    .owner-actions form {
        width: 100%;
    }
    .owner-actions form .btn {
        width: 100%;
    }

    .marketplace-form {
        padding: 1.25rem;
    }
    .marketplace-form-page h2 {
        font-size: 1.5rem;
    }
    .photo-upload-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .msg-list {
        border-radius: 12px;
    }
    .msg-row {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }
    .msg-name {
        font-size: 0.88rem;
    }
    .msg-context-line {
        font-size: 0.78rem;
    }
    .msg-preview {
        font-size: 0.8rem;
    }
    .msg-empty-state {
        padding: 2.5rem 1.5rem;
    }

    .chat-container {
        height: calc(100vh - 120px);
    }
    .chat-top-bar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .chat-who-name {
        font-size: 0.95rem;
    }
    .chat-context-bar {
        padding: 0.6rem 0.75rem;
    }
    .chat-context-name {
        font-size: 0.82rem;
    }
    .chat-form-input {
        font-size: 0.88rem;
        padding: 0.65rem 0.75rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .pricing-card {
        padding: 1.5rem;
    }

    .account-settings-page {
        max-width: 100%;
    }
    .settings-card {
        padding: 1.25rem;
    }

    .league-hero,
    .tournament-hero,
    .ladder-hero {
        padding: 1.5rem 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .league-hero h1,
    .tournament-hero h1,
    .ladder-hero h1 {
        font-size: 1.5rem;
    }
    .league-hero-actions,
    .tournament-hero-actions,
    .ladder-hero-actions {
        width: 100%;
        flex-direction: column;
    }
    .league-hero-actions .btn,
    .tournament-hero-actions .btn,
    .ladder-hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .week-selector {
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .week-selector a,
    .week-selector span {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }

    .tournament-bracket {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .bracket-round {
        min-width: 200px;
    }
    .pool-group {
        overflow-x: auto;
    }

    .ladder-courts-grid {
        grid-template-columns: 1fr;
    }

    .player-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .player-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .admin-page-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    .admin-page-title {
        font-size: 1.5rem;
    }
    .admin-header-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    .admin-header-actions .btn {
        flex: 1;
        text-align: center;
        min-width: 120px;
    }
    .admin-quicklinks {
        grid-template-columns: 1fr;
    }
    .admin-analytics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .admin-metric-card {
        padding: 0.875rem;
        gap: 0.6rem;
    }
    .admin-metric-value {
        font-size: 1.35rem;
    }
    .admin-metric-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .edit-league-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .edit-league-form {
        padding: 1.25rem;
    }

    .admin-manage-games-page .game-card,
    .admin-section .game-card {
        padding: 1rem;
    }

    .page-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .sponsors-grid {
        grid-template-columns: 1fr;
    }
    .sponsor-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .marketplace-grid {
        grid-template-columns: 1fr;
    }
    .marketplace-card-image {
        height: 180px;
    }
    .marketplace-card-info {
        padding: 1rem;
    }
    .marketplace-card-info h3 {
        font-size: 1rem;
        white-space: normal;
    }
    .browse-hero h1 {
        font-size: 1.4rem;
    }
    .browse-hero p {
        font-size: 0.85rem;
    }
    .browse-results-bar .count-text {
        font-size: 0.85rem;
    }
    .listing-info {
        padding: 1rem;
    }
    .listing-info h1 {
        font-size: 1.15rem;
    }
    .listing-price {
        font-size: 1.5rem;
    }

    .player-stats-grid {
        grid-template-columns: 1fr;
    }
    .admin-analytics-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-dash-item-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .admin-dash-item-actions {
        flex-wrap: wrap;
    }
    .admin-dash-item-actions .btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }

    .chat-msg {
        max-width: 90%;
        font-size: 0.88rem;
    }
    .msg-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .marketplace-header-actions {
        flex-direction: column;
    }
    .marketplace-header-actions .btn {
        width: 100%;
    }
}

/* ── Marketplace + detail small phones (≤ 375px) ── */
@media (max-width: 375px) {
    .listing-info {
        padding: 0.75rem;
    }
    .listing-info h1 {
        font-size: 1.05rem;
    }
    .listing-price {
        font-size: 1.35rem;
    }
    .listing-layout {
        border-radius: 14px;
    }
    .detail-chip-icon {
        width: 28px;
        height: 28px;
    }
    .detail-chip-value {
        font-size: 0.8rem;
    }
    .contact-seller-box {
        padding: 1rem 0.75rem;
    }
    .marketplace-detail {
        padding-bottom: 1rem;
    }
    .marketplace-card-image {
        height: 150px;
    }
    .browse-hero {
        padding: 1.5rem 1rem;
    }
    .browse-hero h1 {
        font-size: 1.2rem;
    }
}

.coach-form-page {
    max-width: 740px;
    margin: 0 auto;
}

.coach-form-card {
    background: var(--t-surface);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.coach-form-card .form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--t-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--t-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coach-form-card .form-section-title .section-icon {
    font-size: 1.1rem;
}

.coach-form-card + .coach-form-card {
    margin-top: 0;
}

.coach-form-card .form-group {
    margin-bottom: 1.25rem;
}

.coach-form-card .form-group:last-child {
    margin-bottom: 0;
}

.checkbox-grid {
    display: grid;
    gap: 0.6rem;
}

.checkbox-grid.cols-3 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.checkbox-grid.cols-6 {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    background: var(--t-surface-elevated);
    border: 1.5px solid var(--t-input-border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--t-text);
    transition: all 0.2s ease;
    user-select: none;
}

.checkbox-option:hover {
    background: var(--t-surface);
    border-color: var(--brand-accent-light, rgba(255,255,255,0.3));
}

.checkbox-option:has(input:checked) {
    background: var(--t-status-success-bg);
    border-color: var(--brand-accent);
    color: var(--t-text);
}

.checkbox-option input[type="checkbox"] {
    accent-color: var(--brand-accent, var(--secondary));
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.coach-photo-preview {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--t-border-strong);
    margin-bottom: 0.75rem;
}

.coach-status-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem 1.25rem;
    background: var(--t-status-success-bg);
    border: 1.5px solid var(--t-status-success-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.coach-status-toggle:hover {
    background: var(--t-status-success-bg);
}

.coach-status-toggle input[type="checkbox"] {
    accent-color: #16a34a;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.coach-status-toggle .status-label {
    font-weight: 600;
    color: var(--t-text);
    font-size: 0.95rem;
}

.coach-status-toggle .status-desc {
    font-size: 0.8rem;
    color: var(--t-text-secondary);
    margin-top: 0.1rem;
}

@media (max-width: 600px) {
    .coach-form-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    .checkbox-grid.cols-3 {
        grid-template-columns: 1fr;
    }
    .checkbox-grid.cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.onboarding-wrapper {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.onboarding-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.progress-step span {
    font-size: 0.75rem;
    color: var(--t-text-muted, var(--text-muted));
    font-weight: 500;
    transition: color 0.3s;
}

.progress-step.active span {
    color: var(--brand-accent, var(--secondary));
    font-weight: 700;
}

.progress-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--t-border, var(--border));
    color: var(--t-text-muted, var(--text-muted));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s;
}

.progress-step.active .progress-dot {
    background: var(--secondary);
    color: white;
}

.progress-step.completed .progress-dot {
    background: var(--success);
    color: white;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: var(--t-border, var(--border));
    margin: 0 0.5rem;
    margin-bottom: 1.2rem;
    border-radius: 2px;
    transition: background 0.3s;
    min-width: 40px;
}

.progress-line.active {
    background: var(--success);
}

.onboarding-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
}

.onboarding-header {
    text-align: center;
    margin-bottom: 2rem;
}

.onboarding-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.onboarding-header h2 {
    color: var(--t-heading, var(--primary));
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
}

.onboarding-header p {
    color: var(--t-text-muted, var(--text-muted));
    font-size: 0.95rem;
    margin: 0;
}

.onboarding-step-meta {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: var(--t-text-muted);
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.skill-option input {
    display: none;
}

.skill-card {
    border: 2px solid var(--t-border, var(--border));
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.skill-option:hover .skill-card {
    border-color: var(--brand-accent, var(--secondary));
    background: #f0fdf4;
}

.skill-option.selected .skill-card,
.skill-option input:checked ~ .skill-card {
    border-color: var(--brand-accent, var(--secondary));
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    box-shadow: 0 0 0 1px var(--secondary);
}

.skill-option.selected .skill-card::after,
.skill-option input:checked ~ .skill-card::after {
    content: '\2713';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

.skill-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--t-heading, var(--primary));
    line-height: 1;
    margin-bottom: 0.25rem;
}

.skill-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-accent, var(--secondary));
    margin-bottom: 0.3rem;
}

.skill-desc {
    font-size: 0.75rem;
    color: var(--t-text-muted, var(--text-muted));
    line-height: 1.3;
}

.skill-card {
    position: relative;
}

.onboarding-selection-summary {
    margin: -0.25rem 0 0.75rem;
    font-size: 0.85rem;
    color: var(--t-text-muted);
}

.onboarding-step-validation {
    margin: -0.25rem 0 0.9rem;
    font-size: 0.84rem;
    color: var(--t-status-warning-text, var(--danger));
    min-height: 1.15rem;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.interest-option input {
    display: none;
}

.interest-card {
    border: 2px solid var(--t-border, var(--border));
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.interest-option:hover .interest-card {
    border-color: var(--brand-accent, var(--secondary));
    background: #f0fdf4;
}

.interest-option.selected .interest-card,
.interest-option input:checked ~ .interest-card {
    border-color: var(--brand-accent, var(--secondary));
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    box-shadow: 0 0 0 1px var(--secondary);
}

.interest-option.selected .interest-card::after,
.interest-option input:checked ~ .interest-card::after {
    content: '\2713';
    position: absolute;
    top: 6px;
    right: 8px;
    background: var(--secondary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.interest-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.3rem;
}

.interest-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--t-heading, var(--primary));
    margin-bottom: 0.2rem;
}

.interest-desc {
    font-size: 0.72rem;
    color: var(--t-text-muted, var(--text-muted));
    line-height: 1.3;
}

.onboarding-handedness {
    margin-bottom: 1.5rem;
}

.onboarding-field-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--t-heading, var(--primary));
    margin-bottom: 0.5rem;
    display: block;
}

.hand-options {
    display: flex;
    gap: 0.75rem;
}

.hand-option input {
    display: none;
}

.hand-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--t-border, var(--border));
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--t-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.hand-option:hover .hand-btn {
    border-color: var(--brand-accent, var(--secondary));
}

.hand-option input:checked ~ .hand-btn {
    border-color: var(--brand-accent, var(--secondary));
    background: #f0fdf4;
    color: var(--brand-accent, var(--secondary));
}

.onboarding-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.onboarding-actions .btn-primary {
    width: 100%;
    padding: 0.9rem;
    font-size: 1.05rem;
    border-radius: 12px;
}

.onboarding-actions .btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.onboarding-actions .btn-primary.is-ready {
    opacity: 1;
}

.onboarding-actions .btn-primary.is-loading {
    opacity: 0.88;
}

.btn-skip {
    background: none;
    border: none;
    color: var(--t-text-muted, var(--text-muted));
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btn-skip:hover {
    color: var(--t-heading, var(--primary));
}

.btn-back {
    background: none;
    border: none;
    color: var(--t-text-muted, var(--text-muted));
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.4rem;
    font-weight: 500;
}

.btn-back:hover {
    color: var(--t-heading, var(--primary));
}

.location-input-wrap {
    margin-bottom: 1rem;
}

.location-search-box {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.location-search-box input {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid var(--t-border, var(--border));
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.location-search-box input:focus {
    outline: none;
    border-color: var(--brand-accent, var(--secondary));
}

.btn-locate {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 2px solid var(--t-border, var(--border));
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t-text-muted, var(--text-muted));
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-locate:hover {
    border-color: var(--brand-accent, var(--secondary));
    color: var(--brand-accent, var(--secondary));
}

.location-suggestions {
    display: none;
    background: var(--t-surface);
    border: 1px solid var(--t-border, var(--border));
    border-radius: 10px;
    margin-top: 0.35rem;
    box-shadow: var(--shadow-lg);
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
    position: relative;
}

.loc-sug-item {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #374151;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.loc-sug-item:hover {
    background: #f0fdf4;
}

.loc-sug-item:last-child {
    border-bottom: none;
}

.loc-sug-empty {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--t-text-muted, var(--text-muted));
}

.location-status {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    min-height: 1.25rem;
}

/* ═══ COMMUNITY DIRECTORY — discover sections, browse results ═══ */

.discover-section {
    margin-bottom: 1.5rem;
}

.discover-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--t-heading, var(--primary));
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.discover-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.discover-item {
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid var(--t-border, var(--border));
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.discover-item:hover {
    border-color: var(--brand-accent, var(--secondary));
    background: #f0fdf4;
}

.discover-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--t-heading, var(--primary));
}

.discover-item-detail {
    font-size: 0.8rem;
    color: var(--t-text-muted, var(--text-muted));
    margin-top: 0.15rem;
}

.discover-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.discover-empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.discover-empty h3 {
    color: var(--t-heading, var(--primary));
    font-size: 1.1rem;
    margin: 0 0 0.3rem;
}

.discover-empty p {
    color: var(--t-text-muted, var(--text-muted));
    font-size: 0.9rem;
    margin: 0;
}

.onboarding-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--t-border, var(--border));
    border-top-color: var(--brand-accent, var(--secondary));
    border-radius: 50%;
    animation: ob-spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes ob-spin {
    to { transform: rotate(360deg); }
}

.discover-loading-wrap { text-align: center; padding: 2rem; }
.discover-loading-text { color: var(--t-text-muted); margin-top: 1rem; }
.location-status-ok { color: var(--brand-accent); }
.location-status-err { color: var(--danger); }
.location-status-pending { color: var(--t-text-muted); }

/* TODO: review placement — .dash-quick-actions and .avail-* coach calendar blocks below are
   authenticated app features and should move to pages.css in a follow-up pass */
/* ── Personalized Dashboard Quick Actions ── */
.dash-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.dash-quick-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: var(--t-surface);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--t-border);
    border-left: 4px solid var(--card-accent, var(--brand-2));
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dash-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.dash-quick-card-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--card-accent, var(--brand-2)) 10%, transparent);
    border-radius: 10px;
}

.dash-quick-card-body {
    flex: 1;
    min-width: 0;
}

.dash-quick-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--t-heading);
    line-height: 1.3;
}

.dash-quick-card-desc {
    font-size: 0.8rem;
    color: var(--t-text-muted);
    margin-top: 0.15rem;
}

.dash-quick-card-arrow {
    font-size: 1.1rem;
    color: #a0aec0;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

.dash-quick-card:hover .dash-quick-card-arrow {
    transform: translateX(3px);
    color: var(--card-accent, var(--brand-2));
}

.dash-my-events-header {
    margin-bottom: 0.75rem;
}

.dash-my-events-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--t-heading);
    margin: 0;
}

@media (max-width: 600px) {
    .dash-quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .skill-grid,
    .interests-grid {
        grid-template-columns: 1fr;
    }
    .onboarding-card {
        padding: 1.5rem 1rem;
    }
    .onboarding-header h2 {
        font-size: 1.3rem;
    }
}

/* ═══ COACH DIRECTORY — coach availability calendar, booking slots ═══ */
/* TODO: review placement — .avail-* and .avail-book-* are coach booking UI (authenticated);
   consider moving to pages.css alongside the coach profile styles already there */

.avail-calendar {
    margin-top: 1rem;
}

.avail-week-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
}

.avail-day-cell {
    background: var(--t-surface-elevated);
    border: 1px solid var(--t-border);
    border-radius: 8px;
    padding: 0.4rem;
    min-height: 70px;
}

.avail-day-num {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--t-text);
}

.avail-day-name {
    font-size: 0.6rem;
    color: var(--t-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.avail-slot-pill {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px 5px;
    margin-bottom: 2px;
    border-radius: 6px;
    font-size: 0.65rem;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid var(--brand-accent);
    position: relative;
}

.avail-slot-pill.booked {
    background: #e5e7eb;
    color: var(--t-text-secondary);
    border-color: #d1d5db;
}

.avail-slot-time-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.avail-slot-type-label {
    font-weight: 700;
    font-size: 0.55rem;
    text-transform: uppercase;
    opacity: 0.7;
    flex-shrink: 0;
}

.avail-slot-delete {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    opacity: 0.6;
    flex-shrink: 0;
}

.avail-slot-delete:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .avail-week-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .avail-week-row {
        grid-template-columns: 1fr 1fr;
    }
}

.avail-week-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.avail-profile-day {
    margin-bottom: 0.75rem;
}

.avail-profile-day-label {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--t-text);
    margin-bottom: 0.35rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.avail-profile-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    margin-bottom: 0.35rem;
    background: var(--t-surface-elevated);
    border-radius: 10px;
    border: 1px solid var(--t-border);
}

.avail-profile-slot-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.avail-slot-time {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--t-text);
    white-space: nowrap;
}

.avail-slot-type-badge {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.avail-type-private {
    background: #dbeafe;
    color: #1e40af;
}

.avail-type-group {
    background: #d1fae5;
    color: #065f46;
}

.avail-type-clinic {
    background: #fef3c7;
    color: #92400e;
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.booking-card {
    background: var(--t-surface-elevated);
    border: 1px solid var(--t-border);
    border-radius: 14px;
    padding: 1rem 1.25rem;
}

.booking-card.past {
    opacity: 0.7;
}

.booking-card-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.booking-date-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-date-day {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.booking-date-month {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    font-weight: 600;
}

.booking-details {
    flex: 1;
    min-width: 0;
}

.booking-coach-name {
    font-weight: 700;
    color: var(--t-text);
    font-size: 0.95rem;
}

.booking-time {
    font-size: 0.8rem;
    color: var(--t-text-secondary);
    margin-top: 0.1rem;
}

.booking-type-badge {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.15rem 0.5rem;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.booking-actions {
    flex-shrink: 0;
}

.booking-message {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--t-border);
    font-size: 0.8rem;
    color: var(--t-text-secondary);
    font-style: italic;
}

.booking-status-badge {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.booking-status-badge.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.booking-status-badge.completed {
    background: #d1fae5;
    color: #065f46;
}

.booking-status-badge.confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.booking-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.booking-status-badge.declined {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 480px) {
    .booking-card-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-day-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--t-surface-elevated);
    border: 1px solid var(--t-border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.schedule-day-row:hover {
    background: #f1f5f9;
}

.schedule-day-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 140px;
}

.schedule-day-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--t-text);
}

.schedule-toggle {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
    cursor: pointer;
    flex-shrink: 0;
}

.schedule-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.schedule-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #d1d5db;
    border-radius: 22px;
    transition: 0.3s;
}

.schedule-toggle-slider:before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.schedule-toggle input:checked + .schedule-toggle-slider {
    background: var(--brand-2);
}

.schedule-toggle input:checked + .schedule-toggle-slider:before {
    transform: translateX(16px);
}

.schedule-day-times {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.schedule-time-input {
    padding: 0.4rem 0.5rem;
    border: 1.5px solid var(--t-border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--t-text);
    background: var(--t-surface);
    width: 110px;
}

.schedule-time-input:focus {
    outline: none;
    border-color: var(--brand-2);
}

.schedule-time-sep {
    font-size: 0.8rem;
    color: var(--t-text-secondary);
    font-weight: 500;
}

.schedule-save-btn {
    flex-shrink: 0;
}

.schedule-msg {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #f0fdf4;
}

@media (max-width: 600px) {
    .schedule-day-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .schedule-day-label {
        min-width: auto;
    }
    .schedule-day-times {
        flex-wrap: wrap;
    }
    .schedule-time-input {
        width: 100%;
        flex: 1;
        min-width: 100px;
    }
}

.blocked-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.blocked-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.blocked-item-date {
    font-weight: 600;
    font-size: 0.85rem;
    color: #991b1b;
}

.blocked-item-time {
    font-size: 0.85rem;
    color: #b91c1c;
    background: #fee2e2;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}

.blocked-item-reason {
    font-size: 0.8rem;
    color: var(--t-text-secondary);
    font-style: italic;
}

.empty-state-text {
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
    padding: 1rem 0;
}

.bookings-list .booking-item {
    padding: 0.75rem 1rem;
    background: var(--t-surface-elevated);
    border: 1px solid #bae6fd;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.booking-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.booking-item-date {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--brand-1);
}

.booking-item-time {
    font-size: 0.85rem;
    color: #4b5563;
}

.booking-item-player {
    font-size: 0.85rem;
    color: var(--brand-2);
    font-weight: 500;
}

.booking-item-msg {
    font-size: 0.8rem;
    color: var(--t-text-secondary);
    font-style: italic;
    width: 100%;
}

.avail-book-calendar {
    margin-top: 1rem;
}

.avail-book-day {
    margin-bottom: 0.75rem;
}

.avail-book-day-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--brand-1);
    margin-bottom: 0.35rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.avail-book-slots {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.avail-book-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 0.85rem;
}

.avail-book-slot-time {
    font-weight: 600;
    color: #065f46;
}

.avail-book-slot-actions {
    display: flex;
    gap: 0.35rem;
}

.btn-book {
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-book-1h {
    background: var(--brand-2);
    color: white;
}

.btn-book-1h:hover {
    background: var(--brand-1);
}

.btn-book-2h {
    background: #7c3aed;
    color: white;
}

.btn-book-2h:hover {
    background: #6d28d9;
}

/* moved to pages.css — APP SHELL — admin-nav tab bar, page-header-btns */

/* moved to pages.css — PLAYER DASHBOARD — friends/social page */
