/* ============================================
   DaisyBreath - Main Stylesheet
   ============================================ */

/* CSS Custom Properties - Zen Theme (Default) */
:root {
    /* Theme Colors */
    --bg-color: #1a1a1a;
    --bg-gradient: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --orb-primary: #4a7c5e;
    --orb-secondary: #2d5240;
    --text-color: #e8e8e8;
    --text-muted: #888888;
    --accent-color: #5a9c6e;

    /* Spacing */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);

    /* Orb */
    --orb-scale: 0.15;
    --orb-min-scale: 0.15;
    --orb-transition-duration: 4s;
    --orb-easing: ease-in-out;

    /* UI */
    --border-radius: 12px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* Theme: Ocean */
[data-theme="ocean"] {
    --bg-color: #0a1628;
    --bg-gradient: linear-gradient(135deg, #0a1628 0%, #0f2744 100%);
    --orb-primary: #00b4cc;
    --orb-secondary: #007088;
    --accent-color: #00d4f0;
}

/* Theme: Autumn */
[data-theme="autumn"] {
    --bg-color: #2b1a0e;
    --bg-gradient: linear-gradient(135deg, #2b1a0e 0%, #3d2815 100%);
    --orb-primary: #d4813a;
    --orb-secondary: #8b4513;
    --accent-color: #e89850;
}

/* Theme: Dawn */
[data-theme="dawn"] {
    --bg-color: #1e1b2e;
    --bg-gradient: linear-gradient(135deg, #1e1b2e 0%, #2d2840 100%);
    --orb-primary: #e8a0bf;
    --orb-secondary: #b56576;
    --accent-color: #f0b8d0;
}

/* Theme: Forest */
[data-theme="forest"] {
    --bg-color: #0d1a10;
    --bg-gradient: linear-gradient(135deg, #0d1a10 0%, #162818 100%);
    --orb-primary: #5a8a3c;
    --orb-secondary: #3a5c26;
    --accent-color: #6ea048;
}

/* Theme: Slate */
[data-theme="slate"] {
    --bg-color: #1c2333;
    --bg-gradient: linear-gradient(135deg, #1c2333 0%, #283044 100%);
    --orb-primary: #7b8fcf;
    --orb-secondary: #4a5c9a;
    --accent-color: #8fa0e0;
}

/* ============================================
   Light Themes
   ============================================ */

/* Theme: Cloud - Light grey with soft blue */
[data-theme="cloud"] {
    --bg-color: #e8eef5;
    --bg-gradient: linear-gradient(135deg, #e8eef5 0%, #d4dde8 100%);
    --orb-primary: #6ba3d6;
    --orb-secondary: #4a82b8;
    --text-color: #2d3748;
    --text-muted: #5a6577;
    --accent-color: #5090c8;
}

/* Theme: Peach - Warm peachy cream */
[data-theme="peach"] {
    --bg-color: #fef5ee;
    --bg-gradient: linear-gradient(135deg, #fef5ee 0%, #fce8d8 100%);
    --orb-primary: #f5a273;
    --orb-secondary: #e8845c;
    --text-color: #4a3728;
    --text-muted: #7a6555;
    --accent-color: #f08c5a;
}

/* Theme: Mint - Fresh mint green */
[data-theme="mint"] {
    --bg-color: #eef8f5;
    --bg-gradient: linear-gradient(135deg, #eef8f5 0%, #d8f0e8 100%);
    --orb-primary: #5cc9a7;
    --orb-secondary: #3db08a;
    --text-color: #1e3a32;
    --text-muted: #4a6b5f;
    --accent-color: #4cc29a;
}

/* Theme: Lavender - Soft purple */
[data-theme="lavender"] {
    --bg-color: #f5f0fa;
    --bg-gradient: linear-gradient(135deg, #f5f0fa 0%, #e8ddf5 100%);
    --orb-primary: #a68cd6;
    --orb-secondary: #8a6ec4;
    --text-color: #2d2640;
    --text-muted: #5a5070;
    --accent-color: #9678cc;
}

/* Theme: Sand - Warm sandy beige */
[data-theme="sand"] {
    --bg-color: #f7f3ed;
    --bg-gradient: linear-gradient(135deg, #f7f3ed 0%, #ebe4d8 100%);
    --orb-primary: #c9a86c;
    --orb-secondary: #b08f4f;
    --text-color: #3d3428;
    --text-muted: #6b5f4d;
    --accent-color: #c49c58;
}

/* ============================================
   Base Styles
   ============================================ */

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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-gradient);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

/* ============================================
   View System
   ============================================ */

.view {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: var(--safe-top);
    padding-bottom: var(--safe-bottom);
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.view.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Main View
   ============================================ */

#main-view {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    padding: 20px;
}

/* Orb Container */
.orb-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(80vw, 80vh);
    aspect-ratio: 1;
}

/* Orb Base */
.orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    cursor: pointer;
    transform: scale(var(--orb-scale));
    transition: transform var(--orb-transition-duration) var(--orb-easing);
    outline: none;
    position: relative;
}

.orb:focus-visible {
    box-shadow: 0 0 0 4px var(--accent-color);
}

/* Orb Style: Sphere (3D illusion) */
.orb.sphere {
    background: radial-gradient(
        circle at 30% 30%,
        var(--orb-primary) 0%,
        var(--orb-secondary) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    box-shadow:
        inset -20px -20px 60px rgba(0, 0, 0, 0.3),
        inset 10px 10px 30px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(var(--orb-primary), 0.3);
}

/* Orb Style: Circle (flat) */
.orb.circle {
    background: var(--orb-primary);
    box-shadow: 0 0 40px var(--orb-secondary);
}

/* Orb Style: Ring (hollow) */
.orb.ring {
    background: transparent;
    border: 8px solid var(--orb-primary);
    box-shadow:
        0 0 20px var(--orb-secondary),
        inset 0 0 20px var(--orb-secondary);
}

@media (min-width: 768px) {
    .orb.ring {
        border-width: 12px;
    }
}

/* Orb Style: Calligraphy */
.orb.calligraphy {
    background: transparent;
    border: none;
}

.orb-calligraphy {
    display: none;
    width: 100%;
    height: 100%;
}

.orb.calligraphy .orb-calligraphy {
    display: block;
}

.calligraphy-path {
    stroke: var(--orb-primary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 8 4 20 4 12 8;
    filter: drop-shadow(0 0 10px var(--orb-secondary));
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .orb {
        transition: opacity var(--orb-transition-duration) var(--orb-easing);
        transform: scale(1) !important;
    }

    .orb[data-phase="inhale"],
    .orb[data-phase="pauseAfterInhale"] {
        opacity: 1;
    }

    .orb[data-phase="exhale"],
    .orb[data-phase="pauseAfterExhale"] {
        opacity: 0.4;
    }

    .orb:not([data-running="true"]) {
        opacity: 0.4;
    }
}

/* Phase Label */
.phase-label {
    margin-top: 30px;
    font-size: 1.2rem;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    min-height: 1.8rem;
}

.phase-label.visible {
    opacity: 1;
}

/* Hint Text */
.hint-text {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-muted);
    transition: opacity var(--transition-medium);
}

.hint-text.hidden {
    opacity: 0;
}

/* Show touch/mouse hint based on pointer type */
.hint-touch { display: none; }
.hint-mouse { display: inline; }

@media (pointer: coarse) {
    .hint-touch { display: inline; }
    .hint-mouse { display: none; }
}

/* Settings Button */
.settings-btn {
    position: fixed;
    bottom: calc(20px + var(--safe-bottom));
    right: calc(20px + var(--safe-right));
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), opacity var(--transition-medium), transform var(--transition-fast);
    color: var(--text-color);
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.settings-btn:active {
    transform: scale(0.95);
}

.settings-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.settings-btn svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Settings View
   ============================================ */

#settings-view {
    background: var(--bg-gradient);
    background-color: var(--bg-color);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.settings-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.settings-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.back-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: background var(--transition-fast);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.back-btn svg {
    width: 24px;
    height: 24px;
}

.settings-content {
    padding: 20px;
    padding-bottom: calc(40px + var(--safe-bottom));
    max-width: 600px;
    margin: 0 auto;
}

/* Wide screen two-column layout */
@media (min-width: 1024px) {
    .settings-content {
        max-width: 900px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .settings-section {
        break-inside: avoid;
    }

    #section-profile,
    #section-rhythm {
        grid-column: span 2;
    }
}

/* Settings Sections */
.settings-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.section-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.section-header .chevron {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.section-header[aria-expanded="false"] .chevron {
    transform: rotate(-90deg);
}

.section-content {
    padding: 0 20px 20px;
    display: block;
}

.section-header[aria-expanded="false"] + .section-content {
    display: none;
}

/* Profile Section */
.profile-list {
    margin-bottom: 16px;
}

.profile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.profile-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-item.active {
    background: rgba(var(--accent-color), 0.2);
    border: 1px solid var(--accent-color);
}

.profile-item .name {
    flex: 1;
}

.profile-item .delete-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.profile-item .delete-btn:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.profile-save {
    display: flex;
    gap: 12px;
}

.profile-save input {
    flex: 1;
}

/* Rhythm Section */
.rhythm-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.preview-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        var(--orb-primary) 0%,
        var(--orb-secondary) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    transform: scale(var(--orb-scale));
    transition: transform var(--orb-transition-duration) var(--orb-easing);
}

.rhythm-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 400px) {
    .rhythm-controls {
        grid-template-columns: 1fr;
    }
}

.rhythm-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rhythm-input label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stepper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stepper input {
    width: 60px;
    text-align: center;
}

.stepper .unit {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stepper-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.stepper-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stepper-btn:active {
    background: rgba(255, 255, 255, 0.15);
}

.speed-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.speed-control label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Form Controls */
input[type="text"],
input[type="password"],
input[type="number"] {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
}

/* Toggle Switch */
.toggle {
    -webkit-appearance: none;
    appearance: none;
    width: 48px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    transition: background var(--transition-fast);
}

.toggle::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: var(--text-color);
    border-radius: 50%;
    transition: transform var(--transition-fast);
}

.toggle:checked {
    background: var(--accent-color);
}

.toggle:checked::after {
    transform: translateX(20px);
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Frequency and Slider Rows */
.freq-row,
.slider-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
}

.freq-row label,
.slider-row label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.freq-row input {
    max-width: 150px;
}

/* Theme Picker */
.picker-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.theme-options,
.style-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.theme-option,
.style-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast);
    min-width: 80px;
}

.theme-option:hover,
.style-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-option.active,
.style-option.active {
    border-color: var(--accent-color);
}

.theme-preview {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.theme-preview.zen {
    background: radial-gradient(circle at 30% 30%, #4a7c5e, #2d5240);
}

.theme-preview.ocean {
    background: radial-gradient(circle at 30% 30%, #00b4cc, #007088);
}

.theme-preview.autumn {
    background: radial-gradient(circle at 30% 30%, #d4813a, #8b4513);
}

.theme-preview.dawn {
    background: radial-gradient(circle at 30% 30%, #e8a0bf, #b56576);
}

.theme-preview.forest {
    background: radial-gradient(circle at 30% 30%, #5a8a3c, #3a5c26);
}

.theme-preview.slate {
    background: radial-gradient(circle at 30% 30%, #7b8fcf, #4a5c9a);
}

.theme-preview.cloud {
    background: radial-gradient(circle at 30% 30%, #6ba3d6, #4a82b8);
}

.theme-preview.peach {
    background: radial-gradient(circle at 30% 30%, #f5a273, #e8845c);
}

.theme-preview.mint {
    background: radial-gradient(circle at 30% 30%, #5cc9a7, #3db08a);
}

.theme-preview.lavender {
    background: radial-gradient(circle at 30% 30%, #a68cd6, #8a6ec4);
}

.theme-preview.sand {
    background: radial-gradient(circle at 30% 30%, #c9a86c, #b08f4f);
}

.theme-name,
.style-name {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Style Previews */
.style-preview {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.style-preview.sphere {
    background: radial-gradient(
        circle at 30% 30%,
        var(--orb-primary) 0%,
        var(--orb-secondary) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.style-preview.circle {
    background: var(--orb-primary);
}

.style-preview.ring {
    background: transparent;
    border: 3px solid var(--orb-primary);
}

.style-preview.calligraphy {
    background: transparent;
    border: 3px dashed var(--orb-primary);
    border-radius: 50%;
}

.style-picker {
    margin-top: 20px;
}

/* Account Section */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-info p {
    color: var(--text-muted);
}

.account-info strong {
    color: var(--text-color);
}

.sync-status {
    font-size: 0.9rem;
}

.account-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.btn-danger:hover {
    background: rgba(255, 107, 107, 0.3);
}

.btn-primary:active,
.btn-secondary:active,
.btn-danger:active {
    transform: scale(0.98);
}

/* Hidden State */
.hidden {
    display: none !important;
}

/* ============================================
   Toast Notifications
   ============================================ */

#toast-container {
    position: fixed;
    bottom: calc(80px + var(--safe-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 0.9rem;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    pointer-events: auto;
}

.toast.warning {
    background: rgba(255, 193, 7, 0.9);
    color: #000;
}

.toast.error {
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ============================================
   Update Banner
   ============================================ */

.update-banner {
    position: fixed;
    top: var(--safe-top);
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: var(--accent-color);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1001;
    animation: slideDown 0.3s ease;
}

.update-banner.hidden {
    display: none;
}

.update-banner button {
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 500;
    cursor: pointer;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ============================================
   Confirm Dialog
   ============================================ */

.confirm-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 24px;
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-color);
    max-width: 90%;
    width: 320px;
    z-index: 1002;
}

.confirm-dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

.confirm-dialog p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.dialog-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ============================================
   Audio Section Visibility
   ============================================ */

#section-audio {
    display: none;
}

body.audio-enabled #section-audio {
    display: block;
}

/* Haptic row hidden when not supported */
#haptic-row.unsupported {
    display: none;
}
