.sw-display {
    font-size: clamp(3rem, 16vw, 5.5rem);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: center;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.sw-controls {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.ctrl-btn {
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.12s, opacity 0.12s;
}
.ctrl-btn.primary { background: #1a1a1a; color: #fff; }
.ctrl-btn.primary:hover { background: #333; }
.ctrl-btn.secondary { background: #f0f0ee; color: #555; }
.ctrl-btn.secondary:hover { background: #e5e5e3; }
.ctrl-btn:disabled { opacity: 0.35; cursor: default; }

.sw-fullscreen-row { display: flex; justify-content: center; margin-bottom: 2rem; }
.fullscreen-btn {
    background: none;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-family: inherit;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: border-color 0.15s, color 0.15s;
}
.fullscreen-btn:hover { border-color: #bbb; color: #555; }

.laps-section { margin-top: 0.5rem; }
.laps-header {
    display: grid;
    grid-template-columns: 2.5rem 1fr 6rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ccc;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #f0f0ee;
}
.laps-header span:nth-child(2) { text-align: center; }
.laps-header span:nth-child(3) { text-align: right; }
.laps-list { list-style: none; padding: 0; margin: 0; }
.lap-item {
    display: grid;
    grid-template-columns: 2.5rem 1fr 6rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f3;
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
}
.lap-num { color: #bbb; }
.lap-split { color: #1a1a1a; font-weight: 500; text-align: center; }
.lap-total { color: #888; text-align: right; }
.lap-item.best .lap-split { color: #389e0d; }
.lap-item.worst .lap-split { color: #cf1322; }

/* Fullscreen overlay */
.sw-fs-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 9999;
}
.sw-fs-overlay.active { display: flex; }
.fs-time {
    font-size: clamp(5rem, 18vw, 11rem);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: 0.02em;
}
.fs-controls { display: flex; gap: 1rem; }
.fs-exit {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-family: inherit;
    color: #999;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.fs-exit:hover { border-color: #bbb; color: #555; }
