/* ═══════════════════════════════════════════════
   Exercicios Interativos — Hub & Detail CSS
   v2: Enhanced design, accessibility, mobile
   ═══════════════════════════════════════════════ */

:root {
    --c-bg: #f8fafc;
    --c-surface: #ffffff;
    --c-surface-elevated: #ffffff;
    --c-border: #e2e8f0;
    --c-border-light: #f1f5f9;
    --c-text: #0f172a;
    --c-text-secondary: #475569;
    --c-text-muted: #94a3b8;
    --c-primary: #6366f1;
    --c-primary-light: #eef2ff;
    --c-primary-border: #c7d2fe;
    --c-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
    --c-green: #22c55e;
    --c-red: #ef4444;
    --c-yellow: #f59e0b;
    --c-cyan: #22d3ee;
    --c-radius: 16px;
    --c-radius-sm: 10px;
    --c-radius-pill: 999px;
    --c-shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --c-shadow: 0 4px 12px rgba(0,0,0,.08);
    --c-shadow-lg: 0 12px 32px rgba(0,0,0,.12);
    --c-transition: .2s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ── Header ── */
.header { background: var(--c-surface); border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.header-logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 18px; text-decoration: none; color: var(--c-text); background: var(--c-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header-logo img { width: 28px; height: 28px; border-radius: 8px; }
.header-nav { display: flex; gap: 4px; }
.header-nav a { padding: 6px 14px; border-radius: var(--c-radius-pill); font-size: 13px; font-weight: 600; text-decoration: none; color: var(--c-text-secondary); transition: all var(--c-transition); }
.header-nav a:hover { background: var(--c-primary-light); color: var(--c-primary); }
.header-nav a.active { background: var(--c-primary); color: #fff; }
.header-hamburger { display: none; background: none; border: none; padding: 6px; cursor: pointer; color: var(--c-text); }
.header-mobile-overlay, .header-mobile-nav { display: none; }

@media (max-width: 768px) {
    .header-nav { display: none; }
    .header-hamburger { display: block; }
    .header-mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s; }
    .header-mobile-overlay.open { opacity: 1; pointer-events: auto; }
    .header-mobile-nav { position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background: var(--c-surface); z-index: 201; padding: 24px; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; gap: 4px; }
    .header-mobile-nav.open { transform: translateX(0); }
    .header-mobile-nav a { padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--c-text); transition: background .15s; }
    .header-mobile-nav a:hover { background: var(--c-primary-light); }
}

/* ── Footer ── */
.footer { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: 24px 16px; text-align: center; }
.footer-inner p { font-size: 13px; color: var(--c-text-muted); margin: 0 0 4px; }
.footer-inner strong { color: var(--c-text); }

/* ── Links ── */
a { color: var(--c-primary); }

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.ex-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 30%, #312e81 60%, #1e293b 100%);
    color: #fff;
    padding: 64px 16px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ex-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 20%, rgba(139,92,246,.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, 5%) scale(1.1); }
}
.ex-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.ex-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,.2);
    border: 1px solid rgba(99,102,241,.35);
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: var(--c-radius-pill);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.ex-hero h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    margin: 0 0 18px;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ex-hero-desc {
    font-size: 17px;
    color: #94a3b8;
    margin: 0 0 36px;
    line-height: 1.7;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.ex-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 24px 32px;
    backdrop-filter: blur(12px);
}
.ex-hero-stat { text-align: center; min-width: 100px; }
.ex-hero-stat-val {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.ex-hero-stat-val.purple { color: #a5b4fc; }
.ex-hero-stat-val.cyan { color: #67e8f9; }
.ex-hero-stat-val.green { color: #6ee7b7; }
.ex-hero-stat-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: .02em;
}
.ex-hero-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.2), transparent);
    align-self: stretch;
}

/* ═══════════════════════════════════════════════
   SEARCH
   ═══════════════════════════════════════════════ */
.ex-search-wrap { padding-top: 28px; padding-bottom: 12px; }
.ex-search-box { position: relative; }
.ex-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--c-text-muted);
}
.ex-search-input {
    width: 100%;
    padding: 18px 56px 18px 52px;
    border: 2px solid var(--c-border);
    border-radius: 18px;
    font-size: 16px;
    font-family: inherit;
    background: var(--c-surface);
    color: var(--c-text);
    outline: none;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}
.ex-search-input:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,.12), 0 8px 24px rgba(99,102,241,.08);
    transform: translateY(-1px);
}
.ex-search-input::placeholder { color: var(--c-text-muted); }
.ex-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--c-primary), #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 12px 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 12px rgba(99,102,241,.3);
}
.ex-search-btn:hover { 
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(99,102,241,.4);
}
.ex-search-clear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-text-muted);
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .2s;
}
.ex-search-clear:hover { background: var(--c-border-light); color: var(--c-text); }

/* ═══════════════════════════════════════════════
   FILTER CHIPS
   ═══════════════════════════════════════════════ */
.ex-chips-wrap { padding-top: 24px; padding-bottom: 12px; }
.ex-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.ex-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--c-radius-pill);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: var(--c-surface);
    border: 1.5px solid var(--c-border);
    color: var(--c-text);
    transition: all .25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 4px rgba(0,0,0,.04);
}
.ex-chip:hover {
    background: var(--c-primary-light);
    border-color: var(--c-primary-border);
    color: var(--c-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99,102,241,.15);
}
.ex-chip-count {
    background: rgba(99,102,241,.1);
    color: var(--c-primary);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--c-radius-pill);
    min-width: 24px;
    text-align: center;
}

/* ═══════════════════════════════════════════════
   EXERCISE COUNT
   ═══════════════════════════════════════════════ */
.ex-count-wrap { padding-top: 16px; padding-bottom: 4px; }
.ex-count {
    font-size: 13px;
    color: var(--c-text-muted);
    margin: 0;
}

/* ═══════════════════════════════════════════════
   EXERCISE GRID & CARDS
   ═══════════════════════════════════════════════ */
.ex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.ex-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    position: relative;
}
.ex-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent, var(--c-primary)) 5%, transparent), transparent);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.ex-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,.15), 0 0 0 1px color-mix(in srgb, var(--accent, var(--c-primary)) 30%, transparent);
    border-color: color-mix(in srgb, var(--accent, var(--c-primary)) 40%, transparent);
}
.ex-card:hover::before { opacity: 1; }
.ex-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    z-index: 1;
}
.ex-card-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--accent, var(--c-primary)), color-mix(in srgb, var(--accent, var(--c-primary)) 70%, #fff));
}
.ex-card-body { padding: 24px; }
.ex-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.ex-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--c-radius-pill);
    letter-spacing: .02em;
}
.ex-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--c-text);
    margin: 0 0 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.ex-card:hover .ex-card-title { color: var(--accent, var(--c-primary)); }
.ex-card-desc {
    font-size: 13px;
    color: var(--c-text-muted);
    margin: 0 0 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ex-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid var(--c-border-light);
}
.ex-card-meta span {
    font-size: 12px;
    color: var(--c-text-muted);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ex-card-meta svg {
    width: 14px;
    height: 14px;
    opacity: .5;
}
.ex-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent, var(--c-primary));
    transition: gap .2s;
}
.ex-card:hover .ex-card-cta { gap: 10px; }

/* ═══════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════ */
.ex-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 16px;
    flex-wrap: wrap;
}
.ex-page-btn, .ex-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: var(--c-text);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    transition: all var(--c-transition);
}
.ex-page-btn:hover:not(.disabled), .ex-page-num:hover:not(.active) {
    background: var(--c-primary-light);
    border-color: var(--c-primary-border);
    color: var(--c-primary);
    transform: translateY(-1px);
}
.ex-page-num.active {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    pointer-events: none;
}
.ex-page-btn.disabled, .ex-page-num.disabled {
    opacity: .4;
    pointer-events: none;
}
.ex-page-dots {
    font-size: 13px;
    color: var(--c-text-muted);
    padding: 0 4px;
}

/* ═══════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════ */
.ex-empty { padding: 56px 16px; text-align: center; }
.ex-empty-icon { font-size: 56px; margin-bottom: 16px; }
.ex-empty-text { font-size: 16px; color: var(--c-text-muted); margin: 0 0 20px; }
.ex-empty-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--c-primary);
    color: #fff;
    border-radius: var(--c-radius-pill);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all var(--c-transition);
}
.ex-empty-btn:hover { background: #4f46e5; transform: translateY(-1px); }

/* ═══════════════════════════════════════════════
   404 NOT FOUND
   ═══════════════════════════════════════════════ */
.ex-not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}
.ex-not-found-icon { font-size: 56px; margin-bottom: 16px; }
.ex-not-found-title { font-size: 22px; font-weight: 900; margin: 0 0 8px; }
.ex-not-found-desc { font-size: 14px; color: var(--c-text-muted); margin: 0 0 24px; }
.ex-not-found-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--c-primary);
    color: #fff;
    border-radius: var(--c-radius-pill);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════
   EXERCISE DETAIL PAGE
   ═══════════════════════════════════════════════ */
.ex-detail-wrap { max-width: 680px; margin: 0 auto; padding: 32px 16px 48px; }
.ex-detail-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--c-shadow);
}
.ex-detail-color { height: 6px; }
.ex-detail-body { padding: 32px 28px 28px; text-align: center; }
.ex-detail-emoji { font-size: 52px; margin-bottom: 16px; }
.ex-detail-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.ex-detail-title {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 900;
    color: var(--c-text);
    margin: 0 0 12px;
    line-height: 1.2;
}
.ex-detail-desc {
    font-size: 15px;
    color: var(--c-text-secondary);
    margin: 0 0 28px;
    line-height: 1.6;
}
.ex-detail-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 24px;
    background: var(--c-bg);
    border-radius: 16px;
    border: 1px solid var(--c-border);
}
.ex-detail-stat { text-align: center; }
.ex-detail-stat-val { font-size: 24px; font-weight: 900; }
.ex-detail-stat-label {
    font-size: 11px;
    color: var(--c-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 2px;
}
.ex-detail-stat-divider {
    width: 1px;
    background: var(--c-border);
    align-self: stretch;
}
.ex-detail-tags {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.ex-detail-tag {
    font-size: 11px;
    color: var(--c-text-muted);
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    padding: 4px 12px;
    border-radius: var(--c-radius-pill);
}
.ex-detail-start {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: linear-gradient(135deg, var(--accent, var(--c-primary)), color-mix(in srgb, var(--accent, var(--c-primary)) 85%, #000));
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    border-radius: var(--c-radius-pill);
    text-decoration: none;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--accent, var(--c-primary)) 40%, transparent);
    transition: all var(--c-transition);
}
.ex-detail-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px color-mix(in srgb, var(--accent, var(--c-primary)) 50%, transparent);
}
.ex-detail-start:active { transform: scale(.97); }
.ex-detail-author {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.ex-detail-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(120deg, #eef2ff, #f5f3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    color: #4f46e5;
    flex-shrink: 0;
}
.ex-detail-author-info { text-align: left; }
.ex-detail-author-name { font-size: 13px; font-weight: 700; color: var(--c-text); }
.ex-detail-author-bncc { font-size: 11px; color: var(--c-text-muted); }

/* ── Share buttons ── */
.ex-detail-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.ex-detail-share-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-text-muted);
}
.ex-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--c-radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: all var(--c-transition);
}
.ex-share-btn:hover { transform: translateY(-1px); box-shadow: var(--c-shadow); }
.ex-share-btn.whatsapp { background: #25d366; }
.ex-share-btn.twitter { background: #000; }
.ex-share-btn.facebook { background: #1877f2; }

/* ── Related exercises ── */
.ex-detail-related {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
}
.ex-detail-related-title {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--c-text);
}
.ex-detail-related-empty {
    font-size: 13px;
    color: var(--c-text-muted);
    margin: 0;
}
.ex-related-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    text-decoration: none;
    transition: all var(--c-transition);
    margin-bottom: 8px;
}
.ex-related-item:hover {
    border-color: var(--accent, var(--c-primary));
    box-shadow: var(--c-shadow-sm);
    transform: translateX(4px);
}
.ex-related-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--accent, var(--c-primary)) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.ex-related-info { min-width: 0; flex: 1; }
.ex-related-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ex-related-meta {
    font-size: 12px;
    color: var(--c-text-muted);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   FOCUS & ACCESSIBILITY
   ═══════════════════════════════════════════════ */
:focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
}
.ex-card:focus-visible,
.ex-page-btn:focus-visible,
.ex-page-num:focus-visible,
.ex-chip:focus-visible,
.ex-related-item:focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
}

/* Skip to main content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
    .ex-hero { padding: 48px 16px 40px; }
    .ex-hero h1 { font-size: 26px; }
    .ex-hero-desc { font-size: 15px; }
    .ex-hero-stats { gap: 20px; padding: 20px; }
    .ex-hero-stat-val { font-size: 28px; }
    .ex-grid { grid-template-columns: 1fr; gap: 16px; }
    .ex-card-body { padding: 20px; }
    .ex-card-title { font-size: 16px; }
    .ex-card-meta { gap: 12px; }
    .ex-detail-body { padding: 24px 20px 20px; }
    .ex-detail-title { font-size: 20px; }
    .ex-detail-stats { gap: 16px; padding: 16px; }
    .ex-detail-stat-val { font-size: 20px; }
    .ex-detail-start { padding: 14px 32px; font-size: 15px; }
    .ex-chips { gap: 8px; }
    .ex-chip { padding: 8px 14px; font-size: 13px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
