/* Mobile release only. Deliberately loaded after the frozen v209 styles. */
html[data-mobile-shell] {
    --mobile-surface: #061221;
    --mobile-line: rgba(96, 172, 205, .26);
    --mobile-accent: #38d9ee;
    background: #030d19;
    scrollbar-width: none;
}
html[data-mobile-shell] *, html[data-mobile-shell] *::before, html[data-mobile-shell] *::after { scrollbar-width: none; }
html[data-mobile-shell]::-webkit-scrollbar,
html[data-mobile-shell] body::-webkit-scrollbar,
html[data-mobile-shell] *::-webkit-scrollbar { width: 0; height: 0; display: none; }
html[data-mobile-shell] body {
    overflow-x: clip;
    background: radial-gradient(ellipse at 50% 0, #0a2032 0, #030d19 55%);
}
html[data-mobile-shell] body:not(.in-practice) > .app-header { display: none; }
html[data-mobile-shell] body:not(.in-practice) #app-main {
    width: min(100%, 640px);
    max-width: 640px;
    margin: 0 auto;
    justify-content: flex-start;
    padding: calc(env(safe-area-inset-top) + 18px) 12px calc(100px + env(safe-area-inset-bottom));
    box-sizing: border-box;
}
html[data-mobile-shell] #dashboard-view { width: 100%; gap: 12px; padding: 0; }
/* The mobile shell replaced the former guest/member landing screen. Keep it
   out of the rendering tree even while a saved session is being hydrated, so
   it cannot flash between the account overlay and the breathing catalog. */
html[data-mobile-shell] :is(#intent-view, #welcome-overlay) { display: none !important; }
html[data-mobile-shell] #dashboard-view > .intent-hero { display: none; }
html[data-mobile-shell] #dashboard-view > .mobile-home-intro {
    order: -3; display: flex; align-items: center; justify-content: space-between;
    width: 100%; min-width: 0; margin: 0; padding: 0 3px; box-sizing: border-box;
}
html[data-mobile-shell] #dashboard-view > .mobile-home-intro[hidden] { display: none; }
html[data-mobile-shell] .mobile-brand-lockup { display: flex; align-items: center; gap: 9px; min-width: 0; color: #f7fbff; }
html[data-mobile-shell] .mobile-brand-lockup > img {
    display: block; flex: 0 0 44px; width: 44px; height: 44px; object-fit: cover;
    border: 1px solid #1c536c; border-radius: 12px; box-shadow: 0 0 15px #28ced72c;
}
html[data-mobile-shell] .mobile-brand-lockup > strong { min-width: 0; font-size: 21px; line-height: 1.15; letter-spacing: -.025em; white-space: nowrap; }
html[data-mobile-shell] .mobile-profile-shortcut {
    display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--mobile-line); border-radius: 50%; background: #0c1d2fbd; color: #ddecf7;
}
html[data-mobile-shell] .mobile-profile-shortcut > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
html[data-mobile-shell] .mobile-profile-shortcut:focus-visible { outline: 2px solid #a7f4ff; outline-offset: 3px; }
html[data-mobile-shell] #dashboard-view > #mobile-home-greeting {
    order: -2; display: block; width: 100%; min-width: 0; margin: -2px 0 0; padding: 0 4px; box-sizing: border-box; text-align: left;
}
html[data-mobile-shell] #dashboard-view > #mobile-home-greeting[hidden] { display: none; }
html[data-mobile-shell] #mobile-home-greeting > #home-greeting {
    margin: 0 0 2px; font-size: 18px; line-height: 1.25; font-weight: 500; letter-spacing: -.012em; color: #f3f8fc;
}
html[data-mobile-shell] #mobile-home-greeting > #mobile-home-tagline { margin: 0; font-size: 13px; line-height: 1.35; color: #9eb5c7; }
html[data-mobile-shell] #mobile-home-greeting > #intent-title { display: none; }
html[data-mobile-shell] #mobile-catalog-heading {
    order: 1; margin: 6px 0 0; color: #f5f7fb; font-size: 24px; line-height: 1.2;
    font-weight: 650; letter-spacing: -.025em;
}
html[data-mobile-shell] #practice-library-filters {
    order: 3; display: grid; grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px; margin: 0; padding: 0; border: 0; background: none;
}
html[data-mobile-shell] #practice-library-filters .purpose-browser-heading { display: none; }
html[data-mobile-shell] .practice-search { min-width: 0; margin: 0; }
html[data-mobile-shell] .practice-search > span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
html[data-mobile-shell] #practice-library-filters .practice-search input {
    width: 100%; min-width: 0; min-height: 44px; height: 44px;
    padding: 0 10px 0 34px; border: 1px solid var(--mobile-line);
    border-radius: 14px; background: #101e30; font-size: 16px;
}
html[data-mobile-shell] #practice-library-filters .practice-search::after { top: 7px; left: 12px; }
html[data-mobile-shell] #practice-library-filters .advanced-filters { position: relative; margin: 0; padding: 0; }
html[data-mobile-shell] #practice-library-filters .advanced-filters > summary {
    display: flex; align-items: center; justify-content: center; gap: 3px;
    min-height: 44px; height: 44px; box-sizing: border-box; padding: 0 6px;
    border: 1px solid var(--mobile-line); border-radius: 14px; background: #0b1929;
    color: #f3f7fb; font-size: 12px; line-height: 1; white-space: nowrap; list-style: none;
}
html[data-mobile-shell] #practice-library-filters .advanced-filters > summary::-webkit-details-marker { display: none; }
html[data-mobile-shell] #practice-library-filters .advanced-filters[open] {
    grid-column: 1 / -1; width: 100%; box-sizing: border-box;
    padding: 0 0 12px; background: #0b1929; border-radius: 14px;
}
html[data-mobile-shell] #practice-library-filters .advanced-filters[open] > div {
    display: flex; flex-wrap: wrap; padding: 10px 10px 0; gap: 6px; overflow: visible;
}
html[data-mobile-shell] .mobile-level-switcher {
    grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px; width: 100%; margin: 2px 0 0; padding: 3px; box-sizing: border-box;
    border: 1px solid var(--mobile-line); border-radius: 13px; background: #081827;
}
html[data-mobile-shell] .mobile-level-switcher .experience-filters { display: contents; }
html[data-mobile-shell] .mobile-level-switcher button {
    min-width: 0; min-height: 38px; padding: 6px 3px; border: 0; border-radius: 9px;
    color: #aebfce; background: transparent; font: inherit; font-size: 11px; line-height: 1.15;
    white-space: normal;
}
html[data-mobile-shell] .mobile-level-switcher button:is(.active, [aria-pressed="true"]) {
    color: #effcff; background: #07506a; box-shadow: inset 0 0 0 1px #25d4ed80;
}
html[data-mobile-shell] #dashboard-view > .dashboard-tabs:not([hidden]) {
    order: 2; display: grid !important; grid-template-columns: 1.2fr 1.2fr .8fr;
    gap: 6px; margin: 4px 0 2px; padding: 0; background: none; border: 0;
}
html[data-mobile-shell] .dashboard-tabs .tab-btn { display: none !important; }
html[data-mobile-shell] .dashboard-tabs :is(#tab-techniques, #tab-combined, #tab-custom) {
    display: block !important; min-width: 0; min-height: 44px; padding: 9px 5px;
    border: 1px solid var(--mobile-line); border-radius: 14px; background: #0d1c2c;
    color: #edf2f8; font-size: 13px; font-weight: 500;
}
html[data-mobile-shell] .dashboard-tabs .tab-btn.active {
    border-color: var(--mobile-accent); background: #07405a; box-shadow: inset 0 0 15px #008caf24;
}
html[data-mobile-shell] .dashboard-tabs .tab-premium-badge { display: none; }
html[data-mobile-shell] #dashboard-view > :is(#techniques-grid, #combined-grid) {
    order: 4; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch;
    gap: 12px 10px; width: 100%; margin: 0;
}
html[data-mobile-shell] .catalog-results-heading:not(:has(button)) {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
html[data-mobile-shell] :is(#techniques-grid, #combined-grid) .content-card-shell { min-width: 0; display: flex; }
html[data-mobile-shell] :is(#techniques-grid, #combined-grid) .content-card-shell > .mobile-catalog-card {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    width: 100%; min-width: 0; height: auto; min-height: 204px; aspect-ratio: .86;
    padding: 0; overflow: hidden; border: 1px solid #13607a; border-radius: 13px;
    background: #04192a; color: #f8fafc; text-align: left; box-shadow: none;
    transform: none; isolation: isolate;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
/* The legacy glass card adds a blurred radial hover layer. Mobile catalogue
   cards already own their complete artwork, so no inherited layer may remain
   behind or above the landscape. */
html[data-mobile-shell] :is(#techniques-grid, #combined-grid) .mobile-catalog-card::before,
html[data-mobile-shell] :is(#techniques-grid, #combined-grid) .mobile-catalog-card::after {
    content: none !important; display: none !important;
}
html[data-mobile-shell] .mobile-card-art {
    position: absolute; inset: 0; display: block; overflow: hidden;
    background-color: #04192a;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    transform: translateZ(0);
}
html[data-mobile-shell] .mobile-card-art::before,
html[data-mobile-shell] .mobile-card-art::after {
    content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none;
}
html[data-mobile-shell] .mobile-card-art::before {
    background: linear-gradient(180deg, rgba(2, 12, 24, .06) 0%, rgba(2, 12, 24, .02) 38%, rgba(2, 13, 25, .44) 70%, rgba(2, 12, 23, .9) 100%);
}
html[data-mobile-shell] .mobile-card-art::after {
    background: linear-gradient(90deg, rgba(14, 111, 129, .08), transparent 48%, rgba(5, 17, 34, .12));
    mix-blend-mode: soft-light;
}
html[data-mobile-shell] .mobile-card-waves {
    position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible;
    fill: none; stroke: rgba(188, 244, 248, .42); stroke-width: .7; stroke-linecap: round;
    opacity: .72; filter: drop-shadow(0 0 3px rgba(68, 210, 221, .24));
}
html[data-mobile-shell] .mobile-card-waves .mobile-breath-wave-main {
    stroke: rgba(220, 252, 253, .78); stroke-width: 1.55;
}
html[data-mobile-shell] .mobile-card-geometry {
    position: absolute; z-index: 2; top: 45%; left: 50%; width: 64%; height: 54%;
    transform: translate(-50%, -50%);
    fill: rgba(182, 241, 245, .025); stroke: #e5fbfc; stroke-width: 2.35;
    stroke-linejoin: round; stroke-linecap: round;
    filter: drop-shadow(0 0 4px rgba(102, 224, 232, .52));
}
html[data-mobile-shell] .mobile-card-geometry.is-montage { top: 45%; width: 72%; height: 60%; }
/* All SVGs share a viewport, but their visible paths do not share a visual
   centre. These offsets align the artwork itself—not merely its SVG box—on
   one horizontal axis across paired cards. */
html[data-mobile-shell] .mobile-card-geometry.geometry-triangle { top: 50%; }
html[data-mobile-shell] .mobile-card-geometry.geometry-pentagon { top: 47%; }
html[data-mobile-shell] .mobile-card-geometry.geometry-hexagon { top: 45%; }
html[data-mobile-shell] .mobile-card-geometry.geometry-wave { top: 40.5%; }
html[data-mobile-shell] .mobile-experience-connection { stroke-width: 1; stroke-dasharray: 2 4; opacity: .55; }
html[data-mobile-shell] .mobile-art-variant-1 .mobile-card-waves { transform: scaleX(-1); }
html[data-mobile-shell] .mobile-art-variant-2 .mobile-card-waves { transform: translateY(9px) scale(1.08); }
html[data-mobile-shell] .mobile-art-variant-3 .mobile-card-waves { transform: scaleX(-1) translateY(5px) scale(1.12); }
html[data-mobile-shell] .mobile-art-sleep .mobile-card-waves { stroke: rgba(191, 211, 247, .42); }
html[data-mobile-shell] .mobile-art-energy .mobile-card-waves { stroke: rgba(255, 229, 170, .4); }
html[data-mobile-shell] .mobile-card-copy {
    position: relative; z-index: 3; display: flex; flex-direction: column; gap: 4px;
    width: 100%; box-sizing: border-box; padding: 22px 10px 10px;
    background: linear-gradient(transparent, rgba(3, 15, 28, .1) 24%, rgba(3, 14, 27, .62) 100%);
    text-shadow: 0 2px 10px rgba(0, 8, 18, .92);
}
html[data-mobile-shell] .mobile-card-title {
    height: 2.3em; min-height: 2.3em; display: flex; align-items: flex-end;
    overflow: hidden; font-size: 13px; font-weight: 390; line-height: 1.15;
    letter-spacing: .006em;
}
html[data-mobile-shell] .mobile-card-pattern {
    font-size: clamp(15px, 4.2vw, 18px); font-weight: 580; line-height: 1.08;
    letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
html[data-mobile-shell] .mobile-card-pattern.is-long { font-size: clamp(14px, 3.9vw, 16.5px); letter-spacing: 0; }
html[data-mobile-shell] .music-card-copy h3 {
    min-height: 2.3em; margin-bottom: 5px; display: flex; align-items: flex-end;
    font-size: 13px !important; font-weight: 430; line-height: 1.15;
    letter-spacing: .002em;
}
html[data-mobile-shell] .mobile-card-meta { min-height: 1.3em; font-size: 12px; line-height: 1.3; color: #b9ccda; }
html[data-mobile-shell] .mobile-card-meta[hidden] { display: none !important; }
html[data-mobile-shell] .mobile-card-badges {
    position: absolute; z-index: 2; top: 10px; left: 9px;
    max-width: calc(100% - 54px); display: flex; flex-wrap: wrap; gap: 4px;
    font-size: 10px; line-height: 1.3; font-weight: 550;
}
html[data-mobile-shell] .mobile-card-badges > span {
    padding: 3px 6px; border-radius: 6px; color: #e2eef3; background: #071827df;
}
html[data-mobile-shell] .mobile-card-badges [data-level="easy"] { color: #b3e6d8; }
html[data-mobile-shell] .mobile-card-badges [data-level="medium"] { color: #f1dbad; }
html[data-mobile-shell] .mobile-card-badges [data-level="advanced"] { color: #dec4ef; }
html[data-mobile-shell] .mobile-card-lock {
    position: absolute; z-index: 2; top: 47px; right: 12px;
    display: grid; place-items: center; width: 24px; height: 26px;
    border-radius: 6px; color: #e1edf4; background: #071827bd;
}
html[data-mobile-shell] .mobile-card-lock svg {
    width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7;
}
html[data-mobile-shell] :is(#techniques-grid, #combined-grid) .favorite-toggle {
    top: 4px; right: 1px; width: 44px; height: 44px; border: none; background: transparent;
}
html[data-mobile-shell] :is(#techniques-grid, #combined-grid) .favorite-toggle svg { width: 17px; height: 19px; }
html[data-mobile-shell] #combined-grid .experiences-header {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto;
    align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; background: none;
}
html[data-mobile-shell] #combined-grid .experiences-header > .mobile-level-switcher { grid-column: 1 / -1; order: 2; }
html[data-mobile-shell] #combined-grid .experiences-header > .mobile-experience-filters { order: 1; }
html[data-mobile-shell] #combined-grid .experiences-header > :is(h2, .intent-eyebrow) { display: none; }
html[data-mobile-shell] #combined-grid .experiences-header > p {
    display: block; margin: 0; font-size: 14px; line-height: 1.4; color: #b9ccda;
}
html[data-mobile-shell] .mobile-experience-filters > summary {
    min-height: 44px; box-sizing: border-box; padding: 11px 14px;
    border: 1px solid var(--mobile-line); border-radius: 14px; background: #0b1929;
    font-size: 14px; color: #f3f7fb; cursor: pointer;
}
html[data-mobile-shell] .mobile-experience-filters[open] {
    grid-column: 1 / -1; padding-bottom: 12px; border-radius: 14px; background: #0b1929;
}
html[data-mobile-shell] .mobile-experience-filters .experience-filter-block { padding: 0 12px; }
html[data-mobile-shell] .mobile-experience-filters .experience-filters {
    display: flex; flex-wrap: wrap; gap: 6px; overflow: visible;
}
html[data-mobile-shell] #combined-grid .experience-empty { grid-column: 1 / -1; }
html[data-mobile-shell] #dashboard-view > #home-recommendation {
    order: 0; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: stretch;
    width: 100%; max-width: none; min-width: 0;
    height: auto; min-height: clamp(220px, 60vw, 260px); aspect-ratio: auto; align-self: stretch;
    margin: 0; padding: 20px; overflow: hidden; box-sizing: border-box;
    border: 1px solid #24778c; border-radius: 18px; background-color: #04192a;
    background-size: cover; background-position: center 45%; background-repeat: no-repeat;
    color: #f8fafc; text-align: center; box-shadow: 0 8px 24px #0003; transform: none;
}
html[data-mobile-shell] #dashboard-view > #home-recommendation[hidden] { display: none; }
html[data-mobile-shell] #home-recommendation .home-recommendation-copy {
    position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px;
    width: 100%; max-width: none; padding: 0; box-sizing: border-box; text-align: center;
}
html[data-mobile-shell] #home-recommendation #home-recommendation-desc { display: none; }
html[data-mobile-shell] #home-recommendation .mobile-recommendation-symbol {
    display: block; position: relative; width: 84px; height: 84px; margin: 0 auto;
}
html[data-mobile-shell] #home-recommendation .mobile-recommendation-symbol > .mobile-card-geometry {
    position: static; display: block; width: 100%; height: 100%; transform: none;
    stroke-width: 3; filter: drop-shadow(0 0 7px #45d5ee9c);
}
html[data-mobile-shell] #home-recommendation #home-recommendation-pattern {
    display: block; width: 100%; min-width: 0; margin: 0;
    font-size: clamp(24px, 6.5vw, 30px); line-height: 1.2; font-weight: 750;
    font-variant-numeric: tabular-nums; letter-spacing: .04em; color: #edfcff;
    white-space: normal; overflow: visible; overflow-wrap: anywhere; text-overflow: clip;
}
html[data-mobile-shell] #home-recommendation #home-recommendation-pattern[hidden] { display: none; }
html[data-mobile-shell] #home-recommendation .home-recommendation-shade {
    display: block; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 58%, rgba(2, 14, 26, .12), rgba(2, 13, 25, .48) 76%),
        linear-gradient(180deg, rgba(3, 19, 31, .04) 0%, rgba(3, 17, 29, .18) 43%, rgba(3, 13, 25, .72) 100%);
}
html[data-mobile-shell] #home-recommendation .home-recommendation-copy { text-shadow: 0 2px 12px rgba(0, 7, 15, .92); }
html[data-mobile-shell] #home-recommendation #home-recommendation-reason { margin: 0 0 2px; font-size: 11px; line-height: 1.3; letter-spacing: .06em; color: #b5edf3; }
html[data-mobile-shell] #home-recommendation #home-recommendation-title { margin: 0; font-size: clamp(23px, 6vw, 28px); line-height: 1.15; overflow-wrap: anywhere; }
html[data-mobile-shell] #home-recommendation #home-recommendation-technique { margin: 0; font-size: 14px; line-height: 1.4; color: #d0e2ec; }
html[data-mobile-shell] #home-recommendation #home-recommendation-action {
    display: grid; place-items: center; width: fit-content; min-height: 44px; box-sizing: border-box;
    margin: 5px 0 0; padding: 10px 22px; border-radius: 12px; background: #38d9ee;
    color: #041321; font-size: 14px; line-height: 1.2;
}
html[data-mobile-shell] #home-recommendation:focus-visible { outline: 2px solid #a7f4ff; outline-offset: 3px; }
html[data-mobile-shell] #dashboard-view > .home-challenge-continuation {
    display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; align-items: center; gap: 11px;
    width: 100%; min-height: 76px; margin: 0; padding: 11px 14px; box-sizing: border-box;
    border: 1px solid #246f84; border-radius: 15px; color: #effcff;
    background: linear-gradient(110deg, #092b40, #071c30 62%, #10294a); text-align: left; font: inherit;
    box-shadow: inset 0 1px #ffffff0a, 0 8px 22px #00101d40; cursor: pointer;
}
html[data-mobile-shell] .home-challenge-continuation .home-challenge-mark {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
    color: #05202c; background: linear-gradient(145deg, #68f0e4, #2fc8e5); box-shadow: 0 0 18px #39ddea45;
}
html[data-mobile-shell] .home-challenge-continuation > span:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
html[data-mobile-shell] .home-challenge-continuation small { color: #67e8f9; font-size: 9px; font-weight: 780; letter-spacing: .11em; }
html[data-mobile-shell] .home-challenge-continuation strong { font-size: 15px; line-height: 1.2; }
html[data-mobile-shell] .home-challenge-continuation b { color: #9db7c6; font-size: 11px; font-weight: 520; line-height: 1.3; }
html[data-mobile-shell] .home-challenge-continuation > i { color: #8eeef3; font-size: 24px; font-style: normal; }
html[data-mobile-shell] #dashboard-view > .home-challenge-continuation[hidden] { display: none !important; }
html[data-mobile-shell] .home-challenge-continuation:focus-visible { outline: 2px solid #d4fcff; outline-offset: 3px; }
html[data-mobile-shell] #dashboard-view > .mobile-find-session {
    order: 0; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px;
    margin: 0; padding: 11px 18px; box-sizing: border-box; border: 1px solid #57e5ee;
    border-radius: 14px; color: #031821; background: linear-gradient(100deg, #27cde3, #63ece4);
    box-shadow: 0 8px 22px #15bdd12b; font: inherit; font-size: 15px; font-weight: 780;
}
html[data-mobile-shell] #dashboard-view > .mobile-find-session::after { content: '›'; margin-left: 9px; font-size: 22px; line-height: 1; }
html[data-mobile-shell] #dashboard-view > .mobile-find-session:focus-visible { outline: 2px solid #d4fcff; outline-offset: 3px; }
html[data-mobile-shell] #dashboard-view > :is(#home-recommendation, .home-challenge-continuation, .mobile-find-session)[hidden] { display: none !important; }
html[data-mobile-shell] #breathing-create-entry { display: none; }
html[data-mobile-shell] .dashboard-tabs[hidden],
html[data-mobile-shell] #mobile-catalog-heading[hidden] { display: none !important; }
html[data-mobile-shell] .mobile-catalog-card:focus-visible { outline: 2px solid #a7f4ff; outline-offset: 3px; }
@media (min-width: 600px) {
    html[data-mobile-shell] :is(#techniques-grid, #combined-grid) .content-card-shell > .mobile-catalog-card { min-height: 280px; }
}
