/* ========== venthub.top — Calm write & release theme ========== */
:root {
    --bg-primary: #0f1419;
    --bg-secondary: #151c24;
    --bg-tertiary: #1a2430;
    --bg-card: #1e2a38;
    --bg-input: #182028;
    --text-primary: #f4f0e8;
    --text-secondary: #b8c5d0;
    --text-muted: #6b7d8c;
    --accent: #4a9b8e;
    --accent-light: #6bb8a8;
    --accent-dark: #2d6b62;
    --accent-glow: rgba(74, 155, 142, 0.25);
    --accent-indigo: #5c6fa8;
    --border: #2a3848;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --transition: 0.2s ease;
    --hub-gradient: linear-gradient(135deg, #2d6b62 0%, #4a6fa0 100%);
}

body.light {
    --bg-primary: #f7f4ef;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef2f5;
    --bg-card: #ffffff;
    --bg-input: #f0f4f7;
    --text-primary: #1a2430;
    --text-secondary: #4a5568;
    --text-muted: #8a96a3;
    --accent-glow: rgba(74, 155, 142, 0.12);
    --border: #d8e0e8;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    padding-top: max(10px, env(safe-area-inset-top));
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar .logo { font-size: 1.05rem; font-weight: 700; color: var(--accent-light); }
.top-bar a.logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-light);
    text-decoration: none;
    min-height: 44px;
}
.top-actions { display: flex; gap: 6px; align-items: center; }

.icon-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1rem;
    min-width: 44px;
    min-height: 44px;
}

.text-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    min-height: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    min-height: 48px;
    transition: transform var(--transition), opacity var(--transition);
}

.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
    background: var(--hub-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px dashed var(--border);
}

.ventnow-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.15), rgba(255, 107, 53, 0.1));
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.ventnow-banner a {
    color: #ff8c5a;
    font-weight: 600;
}

.ventnow-banner .banner-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 8px;
    line-height: 1;
}

main { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 20px 16px 40px; }

.hero-intro {
    text-align: center;
    margin-bottom: 24px;
}

.hero-intro h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.hero-intro .subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 8px;
}

.hero-intro .disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.write-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.prompt-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.prompt-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}

.prompt-btn:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.write-textarea {
    width: 100%;
    min-height: 220px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.65;
    resize: vertical;
    font-family: inherit;
}

.write-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.write-textarea:disabled {
    opacity: 0.6;
}

.char-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: right;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.btn-row .btn-primary { flex: 1; min-width: 140px; }

.after-message {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(74, 155, 142, 0.12);
    border: 1px solid rgba(74, 155, 142, 0.3);
    color: var(--accent-light);
    font-size: 0.95rem;
    text-align: center;
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.release-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(15, 20, 25, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.light .release-overlay {
    background: rgba(247, 244, 239, 0.92);
}

.release-overlay canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.vth-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vth-modal[hidden] {
    display: none !important;
}

.vth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 22, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: modal-fade-in 0.25s ease;
}

body.light .vth-modal-backdrop {
    background: rgba(26, 36, 48, 0.45);
}

.vth-modal-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 28px 24px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(74, 155, 142, 0.12);
    animation: modal-slide-up 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
}

.vth-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48%;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--hub-gradient);
    opacity: 0.85;
}

.vth-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition), background var(--transition);
}

.vth-modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-input);
}

.vth-modal-icon {
    font-size: 2.5rem;
    margin: 8px 0 12px;
    filter: drop-shadow(0 4px 12px var(--accent-glow));
}

.vth-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.vth-modal-body {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 22px;
}

.vth-modal-actions {
    display: flex;
    gap: 10px;
}

.vth-modal-actions .btn {
    flex: 1;
    min-width: 0;
}

.vth-modal-actions-single {
    justify-content: center;
}

.vth-modal-actions-single .btn {
    flex: 0 1 auto;
    min-width: 140px;
}

@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modal-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

body.vth-modal-open {
    overflow: hidden;
}

.info-section {
    max-width: 720px;
    margin: 48px auto 0;
    padding: 0 16px 32px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-section h2 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin: 28px 0 12px;
}

.info-section h3 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin: 20px 0 10px;
}

.info-section p { margin-bottom: 12px; }
.info-section ul { margin: 0 0 16px 1.2rem; }
.info-section li { margin-bottom: 6px; }

.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item .faq-q { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.faq-item .faq-a { color: var(--text-secondary); }

.seo-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.site-footer {
    text-align: center;
    padding: 24px 16px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-sister {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    margin-bottom: 12px;
}

.footer-sister a { color: var(--text-muted); font-size: 0.8rem; }
.footer-sister a:hover { color: var(--accent-light); }

.crisis-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.legal-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.page-header { margin-bottom: 28px; }
.page-header h1 { font-size: 1.75rem; margin-bottom: 8px; }
.legal-updated { color: var(--text-muted); font-size: 0.9rem; }

.legal-content { color: var(--text-secondary); }
.legal-section { margin-bottom: 28px; }
.legal-section h2 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.legal-section p, .legal-section li { margin-bottom: 10px; }
.legal-section ul, .legal-section ol { margin-left: 1.2rem; }

.legal-back { margin-top: 32px; }

.error-page {
    text-align: center;
    padding: 80px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.error-page h1 { font-size: 4rem; color: var(--accent); }
.error-page p { color: var(--text-secondary); }

@media (max-width: 480px) {
    .btn-row { flex-direction: column; }
    .btn-row .btn { width: 100%; }
    .ventnow-banner { flex-wrap: wrap; }
    .calm-tools-links { justify-content: center; }
}

.calm-tools-nav {
    max-width: 720px;
    margin: 0 auto 20px;
    padding: 0 16px;
}

.calm-tools-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.calm-tools-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calm-tools-links a {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.calm-tools-links a:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    text-decoration: none;
}

.calm-tools-links a.calm-tool-active {
    background: rgba(74, 155, 142, 0.15);
    border-color: var(--accent);
    color: var(--accent-light);
}

.tools-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.tool-card-mini {
    display: block;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), transform var(--transition);
}

.tool-card-mini:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    text-decoration: none;
}

.tool-card-mini .tool-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.tool-card-mini .tool-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tool-card-mini .tool-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.breathe-panel, .ground-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.breathe-stage {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 24px auto;
}

.breathe-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid var(--accent);
    background: radial-gradient(circle, rgba(74, 155, 142, 0.2) 0%, transparent 70%);
    transform: scale(1);
    box-shadow: 0 0 40px var(--accent-glow);
}

.breathe-ring.breathe-active {
    border-color: var(--accent-light);
}

.breathe-core {
    position: absolute;
    inset: 35%;
    border-radius: 50%;
    background: var(--hub-gradient);
    opacity: 0.5;
}

.breathe-phase {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 8px;
}

.breathe-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
    min-height: 1.4em;
}

.ground-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.ground-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: background var(--transition), transform var(--transition);
}

.ground-dot-active {
    background: var(--accent);
    transform: scale(1.2);
}

.ground-dot-done {
    background: var(--accent-dark);
}

.ground-step-card {
    text-align: left;
    padding: 20px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.ground-step-num {
    font-size: 0.8rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.ground-step-card h2 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.ground-step-card p {
    color: var(--text-secondary);
    line-height: 1.65;
}

.draw-canvas {
    width: 100%;
    height: min(320px, 45vh);
    display: block;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-input);
    touch-action: none;
    cursor: crosshair;
}

.compass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.compass-mood {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-input);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    color: inherit;
    font: inherit;
}

.compass-mood:hover {
    border-color: var(--accent);
}

.compass-mood.compass-active {
    border-color: var(--accent);
    background: rgba(74, 155, 142, 0.12);
}

.compass-emoji { font-size: 1.6rem; }
.compass-label { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.3; }

.compass-result {
    text-align: center;
    padding: 16px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.compass-msg {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
}

.compass-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.compass-links .compass-link {
    min-width: 120px;
    font-size: 0.9rem;
    padding: 10px 16px;
}

.sounds-panel .btn-row { flex-wrap: wrap; }

.write-oneline {
    min-height: 56px;
    max-height: 88px;
    font-size: 1.2rem;
    text-align: center;
    resize: none;
}

.scan-emoji {
    font-size: 3rem;
    margin: 12px 0 8px;
    filter: drop-shadow(0 4px 16px var(--accent-glow));
}

.tool-related {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tool-related a { margin: 0 4px; }

/* ========== Focus-zone fullscreen ========== */
.vth-focus-bar {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 10px;
}

.vth-focus-fullscreen-btn {
    border: 1px solid var(--border);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 6px 11px;
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.vth-focus-fullscreen-btn:hover,
.vth-focus-fullscreen-btn.fs-active {
    border-color: var(--accent);
    color: var(--accent-light);
    background: rgba(74, 155, 142, 0.12);
}

.vth-focus-zone.vth-zone-fullscreen,
.vth-focus-zone:fullscreen {
    position: fixed;
    inset: 0;
    z-index: 180;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.vth-focus-zone:fullscreen {
    background: var(--bg-card);
}

.vth-focus-zone.vth-zone-fullscreen {
    background: var(--bg-primary);
}

.vth-focus-zone.vth-zone-fullscreen .tool-related,
.vth-focus-zone:fullscreen .tool-related {
    display: none;
}

.vth-focus-zone.vth-zone-fullscreen .write-textarea,
.vth-focus-zone:fullscreen .write-textarea {
    min-height: calc(100dvh - 240px);
    flex: 1;
}

.vth-focus-zone.vth-zone-fullscreen .draw-canvas,
.vth-focus-zone:fullscreen .draw-canvas {
    flex: 1;
    min-height: min(520px, calc(100dvh - 180px));
    height: auto;
}

.vth-focus-zone.vth-zone-fullscreen .breathe-stage,
.vth-focus-zone:fullscreen .breathe-stage {
    width: min(220px, 42vw);
    height: min(220px, 42vw);
}

.vth-focus-zone.vth-zone-fullscreen .compass-grid,
.vth-focus-zone:fullscreen .compass-grid {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

body.vth-focus-lock {
    overflow: hidden;
}

.vth-focus-zone > .release-overlay,
.vth-focus-zone > .vth-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
}

.vth-focus-zone > .vth-modal {
    z-index: 100;
}

.vth-focus-zone > .release-overlay[hidden],
.vth-focus-zone > .vth-modal[hidden] {
    display: none !important;
}

/* ========== Mobile polish ========== */
@media (max-width: 768px) {
    .top-bar {
        padding: 8px 12px;
        padding-top: max(8px, env(safe-area-inset-top));
        gap: 8px;
    }

    .top-bar .logo {
        font-size: 0.95rem;
        min-width: 0;
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .top-actions {
        flex-shrink: 0;
        gap: 4px;
    }

    .icon-btn {
        min-width: 42px;
        min-height: 42px;
        padding: 8px 10px;
        font-size: 0.95rem;
    }

    main {
        padding: 16px 12px 36px;
    }

    .calm-tools-nav {
        padding: 0 12px 8px;
    }

    .calm-tools-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        margin: 0 -4px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .calm-tools-links::-webkit-scrollbar {
        display: none;
    }

    .calm-tools-links a {
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .hero-intro h1 {
        font-size: 1.4rem;
    }

    .write-textarea {
        min-height: 180px;
        font-size: 1rem;
    }

    .vth-focus-fullscreen-btn {
        min-width: 42px;
        min-height: 42px;
        padding: 8px 12px;
    }

    .draw-canvas {
        height: min(260px, 42dvh);
    }

    .tools-grid-mini {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .tool-card-mini {
        padding: 14px 12px;
    }

    .compass-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compass-mood {
        padding: 12px 6px;
    }

    .vth-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .vth-modal-card {
        max-width: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .breathe-stage {
        width: 160px;
        height: 160px;
    }

    .sounds-panel .btn-row .btn {
        flex: 1 1 calc(50% - 8px);
        min-width: 120px;
    }
}

@media (max-width: 380px) {
    .top-actions .lang-btn {
        font-size: 0.8rem;
        padding: 8px;
    }
}
