/* PaceBand — Styles
   Design: Athletic dark theme, electric orange + cool cyan accents
   Fonts: Outfit (headings), Inter (body), JetBrains Mono (times)
   Mobile-first, print-optimized wristband
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --bg-deep: #1A1A2E;
    --bg-gradient: linear-gradient(180deg, #1A1A2E 0%, #0F0F1A 100%);
    --surface: #16213E;
    --surface-light: #1C2A4A;
    --surface-hover: #213158;
    --accent: #FF6B35;
    --accent-hover: #FF8855;
    --accent-glow: rgba(255, 107, 53, 0.25);
    --cyan: #00D2FF;
    --cyan-dim: rgba(0, 210, 255, 0.15);
    --checkpoint-bg: rgba(255, 165, 0, 0.12);
    --checkpoint-border: rgba(255, 165, 0, 0.35);
    --text-primary: #E8E8E8;
    --text-secondary: #8892A0;
    --text-dim: #5A6374;
    --white: #F5F5F5;
    --finish-green: #4ADE80;
    --danger: #FF4444;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --gap-xs: 4px;
    --gap-sm: 8px;
    --gap-md: 16px;
    --gap-lg: 24px;
    --gap-xl: 32px;
    --gap-2xl: 48px;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 50px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.hidden {
    display: none !important;
}

/* ===== HEADER ===== */
#site-header {
    text-align: center;
    padding: var(--gap-lg) var(--gap-md) var(--gap-md);
    background: linear-gradient(180deg, rgba(22, 33, 62, 0.9) 0%, transparent 100%);
    position: relative;
}

.header-inner {
    max-width: 600px;
    margin: 0 auto;
}

.logo-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-xs);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 8px var(--accent-glow));
    animation: runnerBounce 2s ease-in-out infinite;
}

@keyframes runnerBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

#site-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--white);
    letter-spacing: -0.5px;
}

#site-title .accent {
    color: var(--accent);
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== AD SLOTS ===== */
.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--text-dim);
    color: var(--text-dim);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    margin: var(--gap-md) auto;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
}

.ad-mobile {
    width: 320px;
    height: 50px;
    max-width: 100%;
}

.ad-desktop {
    display: none;
    width: 728px;
    height: 90px;
    max-width: 100%;
}

@media (min-width: 768px) {
    .ad-mobile { display: none; }
    .ad-desktop { display: flex; }
}

/* ===== MAIN LAYOUT ===== */
#app-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--gap-md) var(--gap-2xl);
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: var(--gap-md);
    padding-bottom: var(--gap-sm);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
}

/* ===== HERO SECTION — TARGET TIME ===== */
#hero-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--gap-xl) var(--gap-lg);
    margin-bottom: var(--gap-lg);
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

#hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}

#hero-section .section-title {
    justify-content: center;
    border-bottom: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

/* Stopwatch-style time inputs */
.time-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-xs);
    margin-bottom: var(--gap-lg);
}

.time-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-xs);
}

.time-field label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-field input {
    width: 72px;
    height: 72px;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--surface-light);
    border-radius: var(--radius-md);
    color: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -moz-appearance: textfield;
}

.time-field input::-webkit-outer-spin-button,
.time-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.time-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.time-colon {
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 12px;
    animation: colonPulse 1.5s ease-in-out infinite;
}

@keyframes colonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Pace readout */
.pace-readout {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--gap-xs);
    padding: var(--gap-sm) var(--gap-lg);
    background: var(--cyan-dim);
    border-radius: var(--radius-pill);
    display: inline-flex;
    margin: 0 auto;
}

.pace-value {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cyan);
}

.pace-unit {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--cyan);
    opacity: 0.7;
}

/* ===== CONFIG SECTION ===== */
#config-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--gap-lg);
    margin-bottom: var(--gap-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.config-group {
    margin-bottom: var(--gap-lg);
}

.config-group:last-child {
    margin-bottom: 0;
}

.config-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: var(--gap-sm);
}

.config-label .optional {
    font-weight: 400;
    text-transform: none;
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Pill buttons (distance & strategy) */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm);
}

.pill {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid var(--surface-light);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pill:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: rgba(255, 107, 53, 0.08);
}

.pill.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 12px var(--accent-glow);
}

/* Custom distance input */
.custom-distance-wrap {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    margin-top: var(--gap-sm);
}

.custom-distance-wrap input {
    width: 120px;
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--surface-light);
    border-radius: var(--radius-sm);
    color: var(--white);
    outline: none;
    transition: border-color 0.2s;
}

.custom-distance-wrap input:focus {
    border-color: var(--accent);
}

.custom-distance-unit {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Toggle buttons (units) */
.toggle-group {
    display: flex;
    gap: 0;
    border-radius: var(--radius-pill);
    overflow: hidden;
    border: 2px solid var(--surface-light);
    display: inline-flex;
}

.toggle-btn {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background: var(--cyan);
    color: #0a0a1a;
}

.toggle-btn:not(.active):hover {
    background: rgba(0, 210, 255, 0.1);
}

/* Switch toggle (checkpoints) */
.config-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.config-row .config-label {
    margin-bottom: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--surface-light);
    border-radius: 26px;
    transition: background 0.3s;
}

.switch-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s;
}

.switch input:checked + .switch-slider {
    background: var(--accent);
}

.switch input:checked + .switch-slider::before {
    transform: translateX(22px);
}

/* Name fields */
.config-duo {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-md);
}

@media (min-width: 500px) {
    .config-duo {
        grid-template-columns: 1fr 1fr;
    }
}

.config-field input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--surface-light);
    border-radius: var(--radius-sm);
    color: var(--white);
    outline: none;
    transition: border-color 0.2s;
}

.config-field input[type="text"]::placeholder {
    color: var(--text-dim);
}

.config-field input[type="text"]:focus {
    border-color: var(--accent);
}

/* ===== SPLITS TABLE ===== */
#splits-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--gap-lg);
    margin-bottom: var(--gap-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.splits-table-wrap {
    max-height: 500px;
    overflow-y: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Custom scrollbar */
.splits-table-wrap::-webkit-scrollbar {
    width: 6px;
}

.splits-table-wrap::-webkit-scrollbar-track {
    background: var(--surface);
}

.splits-table-wrap::-webkit-scrollbar-thumb {
    background: var(--text-dim);
    border-radius: 3px;
}

#splits-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

#splits-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

#splits-table th {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 12px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--accent);
}

#splits-table td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s;
}

#splits-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

#splits-table tbody tr:hover {
    background: rgba(0, 210, 255, 0.06);
}

/* Checkpoint rows */
#splits-table tbody tr.checkpoint-row {
    background: var(--checkpoint-bg);
    border-left: 3px solid var(--checkpoint-border);
}

#splits-table tbody tr.checkpoint-row td {
    font-weight: 600;
}

#splits-table tbody tr.checkpoint-row td:first-child {
    color: var(--accent);
}

/* Finish row */
#splits-table tbody tr.finish-row {
    background: rgba(74, 222, 128, 0.1);
    border-left: 3px solid var(--finish-green);
}

#splits-table tbody tr.finish-row td {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--finish-green);
}

/* Marker column */
#splits-table td.marker-cell {
    color: var(--cyan);
    font-weight: 500;
}

/* Cumulative column */
#splits-table td.cumulative-cell {
    color: var(--white);
    font-weight: 600;
}

/* Custom pace inline edit */
.split-pace-edit {
    width: 70px;
    padding: 2px 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--accent);
    border-radius: 4px;
    color: var(--white);
    outline: none;
    text-align: center;
}

/* ===== WRISTBAND PREVIEW ===== */
#wristband-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--gap-lg);
    margin-bottom: var(--gap-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.wristband-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--gap-md);
    font-style: italic;
}

.wristband-container {
    display: flex;
    justify-content: center;
    padding: var(--gap-lg);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.wristband {
    width: 220px;
    background: #FFFFFF;
    border: 2px dashed #999;
    border-radius: 4px;
    padding: 12px 10px;
    font-family: var(--font-mono);
    color: #1a1a1a;
    position: relative;
    box-shadow: 2px 4px 16px rgba(0,0,0,0.3);
}

/* Paper texture effect */
.wristband::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    border-radius: 4px;
}

.wristband-header {
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.wristband-runner-name {
    font-size: 0.65rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wristband-race-name {
    font-size: 0.55rem;
    color: #666;
    margin-top: 2px;
}

.wristband-pace-header {
    text-align: center;
    font-size: 0.55rem;
    color: #999;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wristband-target {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #ddd;
}

.wristband-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 4px;
    font-size: 0.6rem;
    border-bottom: 1px dotted #e0e0e0;
    min-height: 16px;
}

.wristband-row:nth-child(even) {
    background: #f7f7f7;
}

.wristband-row.wb-checkpoint {
    background: #FFF8E7;
    font-weight: 700;
    border-bottom-color: #e8d5a0;
}

.wristband-row.wb-finish {
    background: #E8F5E9;
    font-weight: 700;
    font-size: 0.7rem;
    border-bottom: none;
    border-top: 1px solid #aaa;
    padding: 4px;
    margin-top: 2px;
}

.wristband-row .wb-marker {
    flex: 1;
    color: #555;
}

.wristband-row .wb-cumulative {
    font-weight: 600;
    color: #1a1a1a;
    text-align: right;
}

.wristband-footer {
    text-align: center;
    margin-top: 6px;
    padding-top: 4px;
    border-top: 1px solid #ccc;
    font-size: 0.45rem;
    color: #bbb;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Cut guide markers */
.wristband-cut-guide {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px dashed #aaa;
}

.wristband-cut-guide.top-left { top: -4px; left: -4px; border-right: none; border-bottom: none; }
.wristband-cut-guide.top-right { top: -4px; right: -4px; border-left: none; border-bottom: none; }
.wristband-cut-guide.bottom-left { bottom: -4px; left: -4px; border-right: none; border-top: none; }
.wristband-cut-guide.bottom-right { bottom: -4px; right: -4px; border-left: none; border-top: none; }

/* ===== CTA BUTTONS ===== */
#cta-section {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
    margin-bottom: var(--gap-lg);
}

@media (min-width: 500px) {
    #cta-section {
        flex-direction: row;
    }
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-sm);
    flex: 1;
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-print {
    background: linear-gradient(135deg, var(--accent), #FF8855);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.cta-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.4);
}

.cta-print:active {
    transform: translateY(0);
}

.cta-download {
    background: var(--surface-light);
    color: var(--cyan);
    border: 2px solid rgba(0, 210, 255, 0.3);
}

.cta-download:hover {
    background: var(--surface-hover);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.cta-download:active {
    transform: translateY(0);
}

/* ===== PACE REFERENCE CARD ===== */
#reference-section {
    margin-bottom: var(--gap-lg);
}

.reference-card {
    background: #F5F5F0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.reference-header {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    padding: 12px 16px;
    background: #E8E4DC;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: #3D3D3D;
    border-bottom: 2px solid #D4CFC5;
}

.clipboard-icon {
    font-size: 1.2rem;
}

.reference-body {
    padding: 12px 16px;
}

.reference-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #E0DCD4;
    font-size: 0.82rem;
    color: #4A4A4A;
}

.reference-row:last-child {
    border-bottom: none;
}

.ref-pace {
    font-family: var(--font-mono);
    font-weight: 600;
    color: #2A6B8A;
}

.ref-arrow {
    color: #999;
    margin: 0 8px;
}

.ref-time {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #1A1A2E;
}

.ref-label {
    font-size: 0.7rem;
    color: #888;
}

/* ===== FOOTER ===== */
#site-footer {
    text-align: center;
    padding: var(--gap-lg) var(--gap-md);
    color: var(--text-dim);
    font-size: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    #site-title {
        font-size: 2.8rem;
    }

    .time-field input {
        width: 90px;
        height: 90px;
        font-size: 2.6rem;
    }

    .time-colon {
        font-size: 3rem;
    }

    .pace-value {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .pill {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .wristband {
        width: 260px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

#hero-section,
#config-section,
#splits-section,
#wristband-section,
#reference-section {
    animation: fadeIn 0.5s ease-out;
}

#config-section { animation-delay: 0.05s; }
#splits-section { animation-delay: 0.1s; }
#wristband-section { animation-delay: 0.15s; }
#reference-section { animation-delay: 0.2s; }

/* ===== PRINT STYLES ===== */
@media print {
    /* Hide everything except the wristband */
    body * {
        visibility: hidden;
    }

    #wristband, #wristband * {
        visibility: visible;
    }

    body {
        background: #fff !important;
        margin: 0;
        padding: 0;
    }

    #wristband {
        position: absolute;
        left: 0;
        top: 0;
        width: 1in;
        margin: 0;
        padding: 0.08in 0.06in;
        border: 1px dashed #888;
        box-shadow: none;
        border-radius: 0;
        page-break-inside: avoid;
    }

    .wristband-row {
        font-size: 6pt !important;
        padding: 1px 2px !important;
        min-height: auto !important;
    }

    .wristband-header {
        padding-bottom: 3px;
        margin-bottom: 3px;
    }

    .wristband-runner-name {
        font-size: 6pt !important;
    }

    .wristband-race-name {
        font-size: 5pt !important;
    }

    .wristband-pace-header {
        font-size: 5pt !important;
    }

    .wristband-target {
        font-size: 8pt !important;
        margin-bottom: 3px;
        padding-bottom: 2px;
    }

    .wristband-footer {
        font-size: 4pt !important;
        margin-top: 3px;
        padding-top: 2px;
    }

    .wristband-row.wb-finish {
        font-size: 7pt !important;
    }

    /* Add cut guides via print */
    #wristband::after {
        content: '✂ - - - - - - - - - - - - - - - - - - - -';
        display: block;
        font-size: 5pt;
        color: #999;
        text-align: center;
        margin-top: 4px;
        letter-spacing: 1px;
    }

    .ad-slot,
    #site-header,
    #site-footer,
    #hero-section,
    #config-section,
    #splits-section,
    #cta-section,
    #reference-section,
    #wristband-section .section-title,
    .wristband-hint,
    .wristband-container {
        display: none !important;
    }
}
