:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:#263b31;background:#f7f8f3;font-synthesis:none;--green:#264e3e;--ink:#263b31;--muted:#6b776f;--line:#e3e8dd;--pale:#eef3e7;--lime:#d1e59b;--radius:22px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #8aac52;outline-offset:3px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.35;letter-spacing:-1px;font-weight:650}h2{font-size:19px;font-weight:650;line-height:1.5}h3{font-size:16px}p{line-height:1.65}a{color:var(--green)}.shell{max-width:540px;margin:auto;padding:24px 20px 100px}.loading{padding-top:48px}.loading>p{margin-top:40px;color:var(--muted)}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.brand{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:1.8px;font-weight:750;color:var(--green)}.brand-mark{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:11px;background:var(--green);color:#fff;font-size:26px;font-weight:600;letter-spacing:-2px;padding-right:3px}.icon-button{min-width:42px;height:42px;background:transparent;border:1px solid var(--line);border-radius:50%;font-size:24px;color:var(--ink)}.settings-button{font-size:12px;border-radius:99px;width:auto;padding:0 15px}.eyebrow{color:var(--muted);font-size:11px;letter-spacing:1.5px;font-weight:600;margin-bottom:10px}.intro{margin:26px 0 24px}.intro p{color:var(--muted);font-size:14px;margin-top:8px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-top:16px}.card-soft{background:var(--pale);border-color:transparent}.login-art{height:95px;display:flex;gap:7px;align-items:end;margin:34px 0 26px}.login-art i{display:block;width:35px;height:35px;background:#e7eddf;border-radius:10px}.login-art i:nth-child(2){height:54px;background:#dce8c2}.login-art i:nth-child(3){height:75px;background:#b6d187}.login-art i:nth-child(4){height:95px;background:var(--green)}.login-art span{font-size:12px;color:var(--muted);padding:0 0 4px 10px;line-height:1.7}.field{display:block;margin:20px 0;font-size:13px;font-weight:600}.field input,.field textarea,.field select{display:block;width:100%;margin-top:8px;border:1px solid #d6ded3;background:#fff;border-radius:12px;padding:13px 14px;min-height:48px;color:var(--ink);font-weight:400;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--green);box-shadow:0 0 0 3px #d1e59b55}.field input[type=password]{font-size:23px;letter-spacing:10px}.field small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:7px}.trust-row{display:flex;gap:10px;align-items:flex-start;font-size:12px;color:var(--muted);line-height:1.65;margin:24px 0}.trust-row input{accent-color:var(--green);width:20px;height:20px;flex-shrink:0;margin:1px 0}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:48px;border-radius:13px;padding:12px 17px;background:var(--green);color:#fff;font-size:14px;font-weight:600;line-height:1.45}.button.full{width:100%}.button.secondary{background:#eef2e9;color:var(--green)}.button.quiet{background:transparent;color:var(--muted);border:1px solid var(--line)}.button.danger{background:#fbefea;color:#a04431}.small-button{min-height:38px;font-size:12px;padding:9px 12px;border-radius:10px}.stack{display:flex;flex-direction:column;gap:10px}.button-row{display:flex;gap:9px;margin-top:16px}.button-row>.button{flex:1}.muted{font-size:12px;color:var(--muted);line-height:1.7}.hint{font-size:12px;color:var(--muted);margin-top:14px}.message{padding:13px 15px;border-radius:13px;background:#f8eee7;border:1px solid #eddccf;font-size:13px;line-height:1.65;margin:14px 0;color:#82523a}.message.green{background:#eef3e6;border-color:#dce6cd;color:#466133}.status-pill{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:5px 8px;background:#edf2e8;border-radius:99px;color:#5f7454}.status-dot{width:5px;height:5px;border-radius:50%;background:#7a9e59}.heading-line{display:flex;gap:12px;justify-content:space-between;align-items:center}.greeting{font-size:13px;color:var(--muted);margin:2px 0 5px}.plan-title{font-size:27px}.plan-range{font-size:12px;color:var(--muted);margin-top:8px}.progress-card{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;margin-top:24px;background:var(--green);color:#fff;border:0}.progress-card .eyebrow{color:#d7e5ce;margin-bottom:9px}.progress-number{font-size:31px;font-weight:600;line-height:1.2}.progress-number span{font-size:13px;font-weight:400;color:#c2d3c5}.progress-card p{font-size:12px;color:#d7e5ce;margin-top:9px}.progress-ring{--percent:0;position:relative;width:78px;height:78px;border-radius:50%;background:conic-gradient(var(--lime) calc(var(--percent)*1%),#496956 0);display:grid;place-items:center}.progress-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:var(--green)}.progress-ring span{position:relative;font-size:17px;color:#e8f0e2}.calendar-card{padding:21px 13px 15px}.calendar-header{display:flex;align-items:center;justify-content:space-between;padding:0 7px 16px}.calendar-header h2{font-size:18px}.month-controls{display:flex;align-items:center;gap:5px}.month-controls button{background:transparent;color:var(--ink);min-width:35px;min-height:36px;font-size:20px;border-radius:8px}.month-controls .today-button{font-size:12px;min-width:46px;background:#f1f4ed}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-weekdays{font-size:11px;text-align:center;color:#778374;margin:0 0 8px}.day{height:57px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:11px;background:#f3f5ef;color:#425540;padding:3px 0;font-size:14px;font-weight:550;overflow:hidden}.day .day-status{font-size:8px;font-weight:400;white-space:nowrap}.day.partial{background:#dcebbf}.day.complete{background:var(--green);color:#fff}.day.rest{background:#edece7;color:#746e62}.day.selected{outline:2px solid #9fba74;outline-offset:1px;z-index:1}.day.today .day-number:after{content:"";display:block;width:3px;height:3px;background:currentColor;border-radius:50%;position:absolute;top:6px;left:calc(50% - 1.5px)}.day.outside{background:transparent;color:#bcc2b6}.day.future{color:#95a08b;background:#f7f8f5;border:1px dashed #e3e8dd}.day.other-month{opacity:.55}.day[aria-disabled=true]{cursor:default}.legend{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:13px;font-size:10px;color:var(--muted);margin-top:16px}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:9px;height:9px;border-radius:3px;background:#f0f3eb}.legend .partial-key{background:#dcebbf}.legend .full-key{background:var(--green)}.week-summary{font-size:12px;color:var(--muted);padding:15px 7px 0;margin-top:14px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:8px}.day-panel{margin-top:26px}.day-panel .heading-line{align-items:start;margin-bottom:17px}.date-title{font-size:21px;letter-spacing:-.4px}.date-kicker{font-size:11px;color:var(--muted);margin-top:5px}.count-badge{padding:7px 10px;background:#e7eedc;border-radius:10px;font-size:12px;color:#4a6937;white-space:nowrap}.exercise{display:flex;gap:12px;align-items:center;margin-bottom:9px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px 12px}.check-button{flex:0 0 27px;height:27px;border:1.5px solid #cdd6c5;border-radius:9px;background:#fff;color:transparent;font-size:16px;padding:0}.check-button.checked{background:var(--green);border-color:var(--green);color:#fff}.exercise-text{flex:1;min-width:0}.exercise h3{font-size:13px;line-height:1.5;font-weight:600}.exercise p{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.5}.play-button{flex-shrink:0;background:#f0f4e9;color:#587448;border-radius:11px;padding:0;min-width:39px;min-height:39px;font-size:12px}.play-label{display:none}.record-note{font-size:11px;color:#84907f;line-height:1.65;margin:12px 1px}.feedback{margin-top:18px;border-top:1px solid var(--line);padding-top:18px}.feedback summary{font-size:13px;color:var(--muted);cursor:pointer;min-height:32px}.feedback .field{margin:14px 0;font-size:12px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.review-note{display:flex;gap:10px;font-size:12px;line-height:1.7}.review-icon{font-size:20px;color:#7c9454}.footer-note{text-align:center;font-size:10px;color:#8c9586;line-height:1.8;margin-top:28px}.page-header{display:flex;align-items:center;gap:14px;margin-bottom:24px}.page-header h1{font-size:24px}.setting-section{margin-top:23px}.setting-section h2{font-size:16px;margin-bottom:9px}.setting-section p{margin:8px 0 12px}.setting-section .button{margin-top:4px}.divider{height:1px;background:var(--line);margin:24px 0}.archive-item{padding:12px 0;border-bottom:1px solid var(--line)}.archive-item p{font-size:13px;margin:0 0 6px}.file-input{width:100%;font-size:12px;color:var(--muted);padding:12px;border:1px dashed #cbd6c0;border-radius:12px;margin-top:10px}.toast{position:fixed;bottom:calc(26px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:50;background:#263b31;color:white;font-size:13px;line-height:1.6;padding:12px 18px;border-radius:13px;box-shadow:0 7px 30px #1d382c22;width:max-content;max-width:calc(100vw - 36px)}.toast[hidden]{display:none}.video-dialog{width:min(510px,calc(100% - 28px));border:0;border-radius:20px;padding:18px;background:#fff;color:var(--ink);max-height:90dvh}.video-dialog::backdrop{background:#17251caa}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.dialog-head h2{font-size:15px}.video-dialog video{display:block;width:100%;max-height:65dvh;background:#18221b;border-radius:12px}.video-dialog .muted{margin-top:12px}.empty-illustration{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:26px 0}.empty-illustration span{aspect-ratio:1;border-radius:8px;background:#e8eedf}.empty-illustration span:nth-child(3n){background:#cce0a5}.empty-illustration span:nth-child(5n){background:#41674b}.offline-banner{margin-top:0}.save-progress{height:7px;border:0;border-radius:20px;background:#e8eddf;width:100%;accent-color:var(--green)}.save-progress::-webkit-progress-bar{background:#e8eddf;border-radius:20px}.save-progress::-webkit-progress-value{background:var(--green);border-radius:20px}@media(min-width:620px){.shell{padding-top:40px}.day{height:62px}.play-label{display:inline;margin-left:4px}.play-button{padding:0 10px}.login-shell{padding-top:58px}}@media(prefers-reduced-motion:no-preference){button{transition:background .14s,opacity .14s;}.card{animation:appear .2s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}}

.progress-step-0{--percent:0}.progress-step-1{--percent:10}.progress-step-2{--percent:20}.progress-step-3{--percent:30}.progress-step-4{--percent:40}.progress-step-5{--percent:50}.progress-step-6{--percent:60}.progress-step-7{--percent:70}.progress-step-8{--percent:80}.progress-step-9{--percent:90}.progress-step-10{--percent:100}

/* Authenticated on-demand demonstrations; never stretch the exercise column. */
.exercise-text { min-width: 0; flex: 1; }
.exercise-media { margin-top: 14px; }
.exercise-media video, .exercise-media img { display: block; width: 100%; max-width: 640px; max-height: 440px; object-fit: contain; border-radius: 12px; background: #f1eee8; }
.exercise-media [hidden] { display: none; }
.media-error { padding: 10px; border: 1px solid #d5c6ae; border-radius: 10px; }

/* Reserve player geometry even before a poster or metadata is available. */
.exercise-media video { aspect-ratio: 16 / 9; min-height: 160px; }

/* Authenticated adaptation of latest option02 UI. Scoped to avoid changing admin. */
.mx{--mx-bg:#191e26;--mx-panel:#242c37;--mx-line:#3d4653;--mx-accent:#8ab6ff;--mx-text:#f7f8fa;--mx-muted:#a4adba;position:fixed;inset:0;background:#11151c;color:var(--mx-text);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;z-index:1;color-scheme:dark;line-height:1.6}
.mx *{box-sizing:border-box}.mx [hidden]{display:none!important}.mx button,.mx input{font:inherit}.mx button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.mx button:disabled{opacity:.4;cursor:default}.mx button:focus-visible,.mx input:focus-visible,.mx h1:focus-visible{outline:3px solid var(--mx-accent);outline-offset:3px}.mx h1{font-size:29px;font-weight:620;letter-spacing:-.6px;line-height:1.3;margin:0 0 9px}.mx h2{font-size:17px;font-weight:560;margin:0 0 13px}.mx h3{font-size:19px}.mx p{overflow-wrap:anywhere}.mx-sr{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.mx-screen{height:100vh;height:100dvh;max-width:600px;margin:auto;padding:env(safe-area-inset-top) 20px calc(120px + env(safe-area-inset-bottom));background:var(--mx-bg);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}.mx-header{height:66px;display:grid;grid-template-columns:64px 1fr 64px;align-items:center;gap:8px;margin:0 -5px 16px}.mx-brand{font-size:21px;letter-spacing:-.7px;font-weight:680;text-align:center}.mx-brand span{font-weight:350}.mx-tag{font-size:11px;color:var(--mx-muted)}.mx-button{min-width:44px;min-height:44px;padding:10px 14px;border:1px solid #526173;border-radius:14px;background:transparent;color:var(--mx-text);font-weight:500}.mx-icon{border:0;border-radius:50%;padding:9px;font-size:20px;line-height:1.3}.mx-small{font-size:12px;padding:8px}.mx-primary{background:var(--mx-accent);border-color:var(--mx-accent);color:#13253f;font-weight:600}.mx-link{border:0;color:var(--mx-accent);font-size:12px;padding:10px 6px}.mx-subtle{font-size:13px;color:var(--mx-muted);line-height:1.7;white-space:pre-line}.mx-eyebrow{font-size:11px;color:var(--mx-accent);letter-spacing:1px;margin:0 0 9px}.mx-card{background:var(--mx-panel);border:1px solid #343e4c;border-radius:22px;padding:20px;margin:16px 0}.mx-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:23px 0}.mx-stats>div{border:1px solid #364151;border-radius:20px;background:var(--mx-panel);padding:20px 18px}.mx-stats strong{display:block;font-size:32px;font-weight:580;letter-spacing:-1px}.mx-stats span{font-size:11px;color:var(--mx-muted)}.mx-calendar-head{display:flex;justify-content:space-between;align-items:center;margin:-6px -8px 9px}.mx-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.mx-weekday{font-size:11px;color:var(--mx-muted);text-align:center;padding:7px 0}.mx-day{position:relative;border:1px solid transparent;background:transparent;color:var(--mx-text);height:44px;min-width:0;border-radius:11px;font-size:13px}.mx-day.mx-today{border-color:#6c839f}.mx-day.mx-selected{background:#436590;border-color:#6e9cda}.mx-day.mx-recorded:after{content:'';position:absolute;bottom:3px;width:4px;height:4px;left:calc(50% - 2px);background:var(--mx-accent);border-radius:50%}.mx-day.mx-outside{color:#6d7787}.mx-sticky{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(600px,100%);padding:14px 20px calc(14px + env(safe-area-inset-bottom));background:linear-gradient(transparent,var(--mx-bg) 16%);z-index:2}.mx-sticky>.mx-button{width:100%;min-height:54px}.mx-sticky small{display:block;text-align:center;font-size:11px;color:var(--mx-muted);margin-top:8px}.mx-warning{border:1px solid #7a684a;background:#3a3429;color:#eadbbd;font-size:13px;line-height:1.7;padding:12px 14px;border-radius:13px;margin:13px 0}.mx-filters{display:flex;gap:8px;overflow-x:auto;padding:6px 0 14px;margin:17px 0 3px}.mx-filters .mx-button{flex-shrink:0;border-radius:30px;font-size:13px}.mx-active{background:#304b70;border-color:#678eba}.mx-plan-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;padding:20px 15px;margin:10px 0;border:1px solid #3a4654;border-radius:19px;background:var(--mx-panel)}.mx-plan-item h2{margin:0 0 8px}.mx-plan-item p{font-size:14px;margin:0 0 8px}.mx-plan-item small{display:block;color:var(--mx-muted);font-size:12px}.mx-number{color:var(--mx-muted);font-variant-numeric:tabular-nums}.mx-sync .card{background:var(--mx-panel);border-color:var(--mx-line);color:var(--mx-text)}.mx-sync .hint,.mx-sync .muted{color:var(--mx-muted)}.mx-sync .button{background:#304b70;color:var(--mx-text);border:1px solid #678eba}.mx-sync .message{background:#3a3429;color:#eadbbd}
.mx-player{padding:env(safe-area-inset-top) 10px env(safe-area-inset-bottom);scroll-padding-bottom:160px}.mx-player .mx-header{margin:0 0 5px;height:48px}.mx-progress{display:block;width:calc(100% - 28px);margin:0 14px;height:4px;appearance:none;border:0;accent-color:var(--mx-accent)}.mx-progress::-webkit-progress-bar{background:var(--mx-line);border-radius:3px}.mx-progress::-webkit-progress-value{background:var(--mx-accent);border-radius:3px}.mx-media{position:sticky;top:env(safe-area-inset-top);z-index:2;min-height:128px;height:clamp(128px,34dvh,340px);margin-top:8px;border-radius:16px;background:#11151c;overflow:hidden;display:grid;place-items:center}.mx-media video,.mx-media img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}.mx-media:has(.mx-media-placeholder){height:auto;min-height:128px}.mx-media:has(video) .mx-media-placeholder{position:absolute;bottom:2px;background:#191e26e6;padding:8px;margin:0;font-size:12px}.mx-media-placeholder{color:var(--mx-muted);font-size:13px;text-align:center;padding:20px;max-width:340px}.mx-media-tools{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px}.mx-media-tools .mx-button{font-size:12px}.mx-caption{padding:0 4px 10px}.mx-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.mx-player h1{font-size:18px;line-height:1.4;margin:0}.mx-caption p{font-size:13px;margin:4px 0;white-space:pre-line}.mx-caption .mx-subtle{font-size:12px}.mx-sides{display:inline-flex;gap:5px}.mx-sides span{display:inline-flex;padding:3px 7px;border:1px solid #566171;border-radius:7px;color:#b6bfcc;font-size:12px;font-weight:500}.mx-sides .mx-side-active{background:#b9d7ff;border-color:#dcecff;color:#14283f;font-weight:700}.mx-instructions{margin:0 0 8px;padding:12px;border:1px solid #414d5d;border-radius:14px;background:var(--mx-panel)}.mx-instructions h2{font-size:13px;color:var(--mx-muted);margin-bottom:8px}.mx-instructions dl{display:grid;grid-template-columns:5em minmax(0,1fr);gap:6px 8px;margin:0}.mx-instructions dt{font-size:13px;color:var(--mx-accent)}.mx-instructions dd{font-size:14px;line-height:1.55;color:#d4dae2;margin:0;overflow-wrap:anywhere;white-space:pre-line}.mx-timer-note{text-align:center;font-size:11px;margin:8px 4px}.mx-transport{position:sticky;bottom:env(safe-area-inset-bottom);z-index:3;display:grid;grid-template-columns:1fr 76px 1fr;align-items:center;justify-items:center;gap:12px;min-height:88px;padding:5px 10px;background:var(--mx-bg);border-top:1px solid #303b49}.mx-transport>.mx-icon{font-size:12px;max-width:80px}.mx-timer{position:relative;width:76px;height:76px;background:transparent;color:var(--mx-text);border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.mx-timer svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke-width:4;stroke:var(--mx-line)}.mx-timer .mx-ring{stroke:var(--mx-accent);stroke-linecap:round}.mx-timer>span{font-size:28px;font-weight:620;line-height:1.2;font-variant-numeric:tabular-nums}.mx-timer>small{font-size:10px;color:var(--mx-accent)}.mx-choice{padding:18px;margin:10px 0 25px;background:var(--mx-panel);border:1px solid #526173;border-radius:16px}.mx-choice p{font-size:13px;color:var(--mx-muted)}.mx-choice .mx-button{display:block;width:100%;margin:8px 0}.mx-review-item{display:flex;align-items:center;gap:12px;min-height:63px;border-bottom:1px solid var(--mx-line);font-size:14px}.mx-review-item input,.mx-review-accept input{width:21px;height:21px;accent-color:var(--mx-accent);flex-shrink:0}.mx-review-item small{display:block;font-size:11px;color:var(--mx-muted);margin-top:5px}.mx-review-accept{display:flex;gap:10px;align-items:center;font-size:13px;margin-top:20px}.mx-dialog{width:min(440px,calc(100% - 24px));max-height:85dvh;margin:auto;border:1px solid #46505e;border-radius:25px;padding:20px;background:var(--mx-panel);color:var(--mx-text);line-height:1.7;overflow:auto}.mx-dialog::backdrop{background:#080d17bb;backdrop-filter:blur(7px)}.mx-dialog-top{display:flex;justify-content:space-between;align-items:center}.mx-dialog-top h2{margin:0}.mx-dialog video{display:block;width:100%;max-height:45dvh;object-fit:contain;background:#11151c;border-radius:14px}.mx-dialog dt{font-size:14px;color:var(--mx-accent);margin:14px 0 5px}.mx-dialog dd{font-size:15px;line-height:1.75;color:#d4dae2;margin:0;white-space:pre-line}.mx-dose{font-size:15px;color:var(--mx-accent)}.mx-target-map{padding:14px 12px;border:1px solid var(--mx-line);border-radius:14px;background:#1d2530;font-size:13px;margin-top:20px}.mx-target-map h4{margin:0 0 8px}.mx-target-map small{color:var(--mx-muted)}.mx-target-map img{display:block;max-width:300px;width:100%;height:auto;margin:auto}
@media(max-width:360px){.mx-screen{padding-left:12px;padding-right:12px}.mx-card{padding:14px}.mx-calendar{gap:2px}.mx-day{font-size:12px}.mx-instructions dl{grid-template-columns:4.5em minmax(0,1fr);gap:6px}.mx-player{padding-left:8px;padding-right:8px}.mx-instructions dd{font-size:14px}}
@media(max-height:480px){.mx-media{position:relative;top:auto;height:180px}.mx-transport{position:relative;bottom:auto}.mx-player{padding-bottom:16px}}
@media(prefers-reduced-motion:reduce){.mx *{transition:none!important;animation:none!important}}

/* Same stable card in both modes: only its visibility changes. The media flexes
   into released space; long text scrolls with the page, never inside the card. */
.mx-player{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;overflow-y:auto}
.mx-player>*{flex-shrink:0}.mx-player .mx-header{flex:0 0 48px}.mx-player .mx-progress{flex:0 0 4px}
.mx-player .mx-media{flex:1 0 128px;min-height:128px;height:auto;isolation:isolate}
.mx-player .mx-media video,.mx-player .mx-media img{position:absolute;inset:0}
.mx-player .mx-instructions{flex:none;min-height:0;height:auto;max-height:none;overflow:visible;transition:none;animation:none}
.mx-player .mx-instructions dt{font-size:13px}.mx-player .mx-instructions dd{font-size:14px}
.mx-player .mx-transport{flex:0 0 88px}.mx-media-only [data-mx="display"]{background:#2b3d5b;border-radius:10px}
@media(max-height:480px){.mx-player .mx-media{flex:1 0 128px;min-height:128px;height:auto}.mx-player .mx-transport{flex-basis:76px;min-height:76px}}

/* Record overview only: gently brighten readable secondary copy without
   changing calendar availability, disabled controls, player text or diagrams. */
.mx-records .mx-subtle,
.mx-records .mx-stats span,
.mx-records .mx-weekday,
.mx-records .mx-sticky small,
.mx-records .mx-sync .hint,
.mx-records .mx-sync .muted{color:#c0c8d4}

/* Extracted from frozen v22 demo-only.css: player/media/instructions/timer/feedback only.
   No sample-member UI, auth form, account/data controls or production shell replacement. */
.mx-player .mx-instructions dt{font-size:12px}
.mx-player .mx-instructions dd{font-size:13px;line-height:1.6}
.mx-dialog dt{font-size:13px}
.mx-dialog dd{font-size:14px;line-height:1.65}
.mx-player .mx-media{position:relative;top:auto;width:100%;margin:8px 0 10px;border:0;border-radius:12px;background:#11151c}
.mx-player .mx-media video{object-fit:contain;object-position:center;cursor:pointer;outline-offset:-3px}
.mx-player .mx-heading h1{flex:1;min-width:0}.mx-player .mx-heading [data-mx="display"]{flex:none;font-size:11px;padding:6px 2px;min-width:54px}
.mx-player .mx-caption{padding-bottom:6px}.mx-player .mx-caption [data-ref="dose"]:empty{display:none}
.mx-video-icon{position:absolute;z-index:4;min-width:44px;min-height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:#11151cb3;color:#f7f8fa;font-size:22px;padding:8px;line-height:1;touch-action:manipulation}
.mx-video-mute{left:6px;bottom:6px;font-size:18px}.mx-video-fullscreen{right:6px;bottom:6px;font-size:27px}
.mx-player{--mx-video-gutter:10px}.mx-player .mx-media{width:calc(100% + 2 * var(--mx-video-gutter));margin-left:calc(0px - var(--mx-video-gutter));border-radius:0}
@media(max-width:360px){.mx-player{--mx-video-gutter:8px}}
.mx-timer-center{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0}
.mx-duration-button{min-height:32px;padding:3px 12px;font-size:12px;color:var(--muted);background:transparent;border:0}
.mx-duration-picker{position:absolute;z-index:8;bottom:100%;left:50%;transform:translateX(-50%);width:min(300px,82vw);padding:10px;background:#242c37;border:1px solid #8ab6ff;border-radius:14px;box-shadow:0 8px 28px #0009}
.mx-duration-picker p{margin:0 0 8px;font-size:12px;color:#a4adba}
.mx-duration-picker>div{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.mx-duration-picker [aria-pressed=true]{color:#191e26;background:#8ab6ff}
.mx-duration-picker .mx-link{min-height:36px;font-size:12px;margin-top:5px}
.mx-duration-picker[hidden]{display:none!important}
.mx-instruction-track{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:auto;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.mx-instruction-track::-webkit-scrollbar{display:none}
.mx-instruction-page{flex:0 0 100%;min-width:0;box-sizing:border-box;scroll-snap-align:start;scroll-snap-stop:always}
.mx-inline-target{text-align:center}.mx-inline-target h3{font-size:12px;color:#8ab6ff;margin:0 0 3px}.mx-inline-target img{display:block;height:180px;max-width:100%;width:auto;object-fit:contain;margin:0 auto}.mx-inline-target small{font-size:10px;color:#a4adba}
.mx-page-dots{display:flex;justify-content:center;gap:4px;margin:-2px 0 -8px}.mx-page-dots .mx-button{font-size:8px;min-width:32px;min-height:28px;padding:2px;color:#687587;background:transparent;border:0}.mx-page-dots [aria-pressed=true]{color:#8ab6ff}
.mx-header-spacer{display:block;width:44px;height:44px}
body.mx-immersive-open{overflow:hidden}
.mx-player .mx-media.mx-immersive{position:fixed;inset:0;z-index:1000;isolation:isolate;box-sizing:border-box;width:100%;height:100vh;height:100dvh;min-height:0;max-height:none;margin:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);border:0;border-radius:0;background:#11151c;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;align-items:stretch;justify-items:stretch;overflow:hidden}
.mx-player .mx-media.mx-immersive video{position:relative;inset:auto;grid-column:1;grid-row:1;align-self:stretch;justify-self:stretch;width:100%;height:100%;min-height:0;object-fit:contain}
.mx-player .mx-media.mx-immersive .mx-sides{grid-row:2;justify-self:center;align-self:center;margin:4px 0}
.mx-player .mx-media.mx-immersive .mx-sides[hidden]{display:none}
.mx-player .mx-media.mx-immersive .mx-transport{position:relative;bottom:auto;grid-row:3;box-sizing:border-box;min-height:116px;width:100%;margin:0;padding:6px 10px;background:#191e26;z-index:5;overflow:visible}
.mx-player .mx-media.mx-immersive .mx-video-fullscreen{top:max(8px,env(safe-area-inset-top));bottom:auto;right:8px}
.mx-player .mx-media.mx-immersive .mx-video-mute{top:max(8px,env(safe-area-inset-top));bottom:auto;left:8px}
.mx-dialog:has(video){position:relative}.mx-dialog .mx-video-mute{bottom:24px;left:24px}
@media(max-height:400px){.mx-player .mx-media.mx-immersive .mx-transport{min-height:100px;padding:2px 8px}.mx-player .mx-media.mx-immersive .mx-timer{width:64px;height:64px}.mx-player .mx-media.mx-immersive .mx-sides{margin:0}}
.mx-player .mx-media.mx-immersive .mx-duration-picker{box-sizing:border-box;max-height:calc(100dvh - 130px);overflow-y:auto}
.mx-player{height:100vh;height:100dvh;min-height:0;max-height:none;padding:env(safe-area-inset-top) 8px env(safe-area-inset-bottom);overflow-y:auto;scroll-padding-bottom:0;--mx-video-gutter:8px}
.mx-player .mx-header{height:44px;flex:0 0 44px;margin:0;grid-template-columns:56px 1fr 56px}
.mx-player .mx-progress{height:3px;flex:0 0 3px;margin:0 auto}
.mx-player .mx-media:not(.mx-immersive){flex:1 1 0;min-height:64px;height:auto;margin-top:4px;margin-bottom:4px}
.mx-player .mx-caption{flex:0 0 auto;padding:0 2px 4px;min-width:0}
.mx-player .mx-heading{gap:6px;min-height:40px}.mx-player .mx-heading h1{font-size:17px;line-height:1.3;letter-spacing:0}
.mx-player .mx-heading [data-mx="display"]{min-height:40px}
.mx-player .mx-caption p{margin:2px 0}
.mx-player .mx-instructions{flex:0 0 auto;width:100%;min-width:0;height:auto;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}
.mx-player .mx-instruction-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;width:100%;min-width:0;height:auto;align-items:stretch;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:auto}
.mx-player .mx-instruction-page{width:100%;min-width:0;max-width:100%;height:auto;box-sizing:border-box;align-self:stretch;padding:8px;border:1px solid #414d5d;border-radius:12px;background:#242c37;scroll-snap-align:start;scroll-snap-stop:always;overflow:visible}
.mx-player .mx-instruction-page h2{font-size:12px;line-height:16px;margin:0 0 3px;color:#a4adba}
.mx-player .mx-instruction-page dl{grid-template-columns:48px minmax(0,1fr);gap:3px 6px;margin:0}
.mx-player .mx-instruction-page dt{font-size:12px;line-height:18.85px}
.mx-player .mx-instruction-page dd{font-size:13px;line-height:1.45;margin:0;white-space:pre-line;overflow-wrap:anywhere}
.mx-player .mx-inline-target{display:grid;grid-template-rows:auto minmax(116px,1fr) auto;text-align:center}
.mx-player .mx-inline-target [data-ref="target-image"]{position:relative;min-height:116px;min-width:0}
.mx-player .mx-inline-target img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;object-fit:contain}
.mx-player .mx-inline-target small{font-size:10px;line-height:14px}
.mx-player .mx-page-dots{height:28px;min-height:28px;margin:0;align-items:center}
.mx-player>.mx-transport{position:relative;bottom:auto;flex:0 0 auto;min-height:100px;margin:0;padding:2px 6px;grid-template-columns:1fr 72px 1fr;gap:8px;border-top:0}
.mx-player>.mx-transport .mx-timer{width:68px;height:68px}
.mx-player>.mx-transport .mx-duration-button{min-height:28px;padding:2px 8px}
.mx-player.mx-media-only .mx-media:not(.mx-immersive){min-height:128px}
@media(min-width:700px) and (min-height:650px){.mx-player .mx-instruction-page{padding:10px 12px}.mx-player .mx-instruction-page dl{grid-template-columns:56px minmax(0,1fr);gap:4px 8px}}
.mx-player .mx-sides {flex-wrap:wrap;align-items:center;max-width:100%;}
.mx-player .mx-sides small {font-size:11px;line-height:1.35;color:var(--muted);}
.mx-player .mx-sides small:empty {display:none;}
.mx-feedback fieldset{border:0;margin:12px 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.mx-feedback legend{font-size:13px;color:#a4adba;margin-bottom:7px}
.mx-feedback fieldset label{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 10px;border:1px solid #46505e;border-radius:12px;font-size:14px}
.mx-feedback input{width:18px;height:18px;accent-color:#8ab6ff}
.mx-feedback-note{font-size:13px;display:block}.mx-feedback textarea{display:block;width:100%;box-sizing:border-box;background:#191e26;color:#f7f8fa;border:1px solid #46505e;border-radius:10px;padding:10px;font:inherit;margin-top:7px;resize:vertical}
.mx-feedback small{display:block;font-size:12px;color:#a4adba;margin-top:8px;line-height:1.5}
.mx-record-feedback{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.mx-player .mx-instruction-page{min-height:clamp(220px,34dvh,300px);padding-top:14px;padding-bottom:14px}
.mx-player .mx-instruction-page .mx-stop-label{color:#ffbf6b}
.mx-player .mx-instruction-page.mx-inline-target{grid-template-rows:minmax(116px,1fr) auto;padding-top:4px;padding-bottom:4px}
/* Existing production new-plan notice is inside the dark member surface. */
.mx [aria-label="新计划可用"]{background:#242c37;color:#f3f4f6;border:1px solid #414d5d}.mx [aria-label="新计划可用"] h2,.mx [aria-label="新计划可用"] p{color:inherit}

/* Authenticated member presentation. Does not enable synthetic completion. */
.mx-member-overview{max-width:560px;padding-bottom:110px}
.mx-member-overview h1{font-size:24px;margin:6px 0 14px}
.mx-compact-list{display:grid;gap:8px}
.mx-compact-action{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;padding:12px;border:1px solid #414d5d;border-radius:12px;background:#242c37}
.mx-compact-action>span{font-size:13px;color:#a4adba;padding-top:2px}
.mx-compact-action h2{font-size:16px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.mx-compact-action p{font-size:13px;line-height:1.5;margin:4px 0;color:#c4cbd5;overflow-wrap:anywhere}
.mx-compact-action summary,.mx-plan-details>summary{min-height:36px;align-content:center;cursor:pointer;font-size:13px;color:#9dbbfa}
.mx-compact-action details[open]{padding-top:4px}
.mx-plan-details{padding:8px 4px;margin:4px 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.mx-member-overview .mx-sticky{padding:10px 0 calc(8px + env(safe-area-inset-bottom));background:#191e26}
.mx-member-overview .mx-sticky .button{width:100%}
.mx-unified-header{grid-template-columns:52px 1fr 52px}
.mx-player>details[data-ref="instruction-disclosure"]{flex:0 0 auto;min-width:0}
.mx-player.mx-text-only{height:auto;min-height:100vh;min-height:100dvh;justify-content:flex-start}
.mx-player.mx-text-only .mx-media{display:none!important}
.mx-player.mx-text-only .mx-instruction-page{min-height:0;padding:10px}
.mx-player.mx-text-only .mx-instruction-track{display:block;overflow:visible}
.mx-player.mx-text-only .mx-instruction-page[hidden]{display:none!important}
.mx-player.mx-text-only .mx-instruction-page dl{grid-template-columns:48px minmax(0,1fr)}
.mx-player.mx-text-only .mx-transport{margin-top:10px}
.mx-player.mx-text-only [data-ref="dose"]{font-size:13px;line-height:1.45}
@media(max-width:360px){.mx-compact-action{padding:9px;gap:5px;grid-template-columns:24px minmax(0,1fr)}.mx-compact-action h2{font-size:15px}.mx-member-overview h1{font-size:22px}}

/* Give the real media a stable allocation; long text scrolls with the page
   rather than shrinking a portrait demonstration into a thin strip. */
.mx-player:not(.mx-text-only) .mx-media:not(.mx-immersive){flex:0 0 auto;height:clamp(260px,46dvh,420px);min-height:260px;max-height:none}
.mx-player:not(.mx-text-only) .mx-instruction-page{min-height:0}
.mx-player:not(.mx-text-only) .mx-inline-target{min-height:180px}
.mx-player:not(.mx-text-only) .mx-transport{margin-bottom:8px}
@media(max-height:540px){.mx-player:not(.mx-text-only) .mx-media:not(.mx-immersive){height:260px}}
.mx-approved-update{margin:6px 0 12px;padding:8px 10px;border:1px solid #46505e;border-radius:10px;font-size:13px;line-height:1.5}.mx-approved-update small{display:block;color:#a4adba}.mx-approved-update .mx-button{min-height:36px}

/* Keep the existing playing video above an independent native text scroller.
   No scroll handler, media replacement, clock writes or playback calls. */
.mx-player.mx-fixed-media:not(.mx-text-only){position:fixed;inset:0;width:100%;max-width:600px;margin:0 auto;box-sizing:border-box;height:100vh;height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}
.mx-player.mx-fixed-media:not(.mx-text-only)>.mx-player-content{flex:1 1 0;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-bottom:8px;scroll-padding-bottom:8px}
.mx-player.mx-fixed-media>.mx-player-content>.mx-caption{flex:none}
.mx-player.mx-fixed-media>.mx-transport{flex:0 0 100px;margin-bottom:0}
.mx-player.mx-fixed-media.mx-text-only>.mx-player-content{flex:0 0 auto;overflow:visible}
@media(max-height:540px){.mx-player.mx-fixed-media:not(.mx-text-only) .mx-media:not(.mx-immersive){height:clamp(160px,40vh,220px);height:clamp(160px,40dvh,220px);min-height:160px}}
@media(max-height:360px){.mx-player.mx-fixed-media:not(.mx-text-only) .mx-media:not(.mx-immersive){height:38vh;height:38dvh;min-height:96px}.mx-player.mx-fixed-media>.mx-transport{flex-basis:88px;min-height:88px}.mx-player.mx-fixed-media>.mx-transport .mx-timer{width:58px;height:58px}}

/* More usable instruction space; timing values, media allocation and safety
   content remain unchanged. The native lower scroller is retained for overflow. */
.mx-player.mx-fixed-media{padding-left:4px;padding-right:4px;--mx-video-gutter:4px}
.mx-player.mx-fixed-media>.mx-header{height:auto;min-height:44px;flex:0 0 auto}
.mx-player.mx-fixed-media>.mx-header .mx-brand{min-width:0;transform:translateY(-4px)}
.mx-player.mx-fixed-media>.mx-progress{height:2px;flex-basis:2px}
.mx-player.mx-fixed-media:not(.mx-text-only) .mx-media:not(.mx-immersive){margin-top:0;margin-bottom:0}
.mx-player.mx-fixed-media:not(.mx-text-only)>.mx-player-content{padding-bottom:4px;scroll-padding-bottom:4px}
.mx-player.mx-fixed-media>.mx-player-content>.mx-caption{padding-left:0;padding-right:0;padding-bottom:2px}
.mx-player.mx-fixed-media .mx-text-page{padding:6px;min-height:0}
.mx-player.mx-fixed-media .mx-instruction-page dl{column-gap:5px;row-gap:2px}
.mx-player.mx-fixed-media .mx-heading{height:auto;min-height:24px}
.mx-player.mx-fixed-media>.mx-header [data-mx="display"]{font-size:11px;padding:0 2px;min-width:52px;min-height:44px}
/* Compact fixed controls: keep every interactive target at least 44px. */
.mx-player.mx-fixed-media>.mx-transport{flex:0 0 auto;min-height:64px;grid-template-columns:minmax(0,1fr) 116px minmax(0,1fr);gap:4px;padding:2px 4px}
.mx-player.mx-fixed-media>.mx-transport .mx-timer-center{flex-direction:row;align-items:center;justify-content:center;gap:4px}
.mx-player.mx-fixed-media>.mx-transport .mx-timer{width:56px;height:56px;flex:0 0 56px}
.mx-player.mx-fixed-media>.mx-transport .mx-timer>span{font-size:24px}
.mx-player.mx-fixed-media>.mx-transport .mx-duration-button{min-width:44px;min-height:44px;padding:2px}
.mx-player.mx-fixed-media>.mx-transport>.mx-icon{min-width:44px;min-height:44px}

/* One authenticated-player surface: large uncropped video, a native safety
   scroller and the original fixed transport. No native fullscreen or reparenting. */
.mx-player.mx-fixed-media.mx-single-player{position:fixed;inset:0;display:flex;flex-direction:column;box-sizing:border-box;width:100%;max-width:600px;height:100vh;height:100dvh;min-height:0;margin:0 auto;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);overflow:hidden;overscroll-behavior:none;background:#11151c;--mx-video-gutter:0px}
.mx-player.mx-single-player>[data-ref="progress"]{display:none}
.mx-player.mx-fixed-media.mx-single-player:not(.mx-text-only) .mx-media:not(.mx-immersive){position:relative;flex:1 1 0;width:100%;height:auto;min-height:0;max-height:none;margin:0;border:0;border-radius:0;overflow:hidden}
.mx-player.mx-single-player .mx-media>video,.mx-player.mx-single-player .mx-media>img{position:relative;inset:auto;display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain;object-position:center}
.mx-player.mx-single-player .mx-video-mute{top:6px;bottom:auto;left:6px}
.mx-player.mx-single-player>.mx-player-exit{position:absolute;z-index:7;top:calc(env(safe-area-inset-top) + 6px);right:6px;display:grid;place-items:center;min-width:44px;min-height:44px;padding:4px;border:0;border-radius:50%;background:#11151ccc;color:#f7f8fa;font-size:28px;line-height:1;touch-action:manipulation}
.mx-player.mx-fixed-media.mx-single-player>.mx-player-content{flex:0 1 auto;min-height:0;max-height:28vh;max-height:28dvh;padding:4px 12px 8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding-bottom:8px;background:#11151c}
.mx-player.mx-single-player .mx-caption{padding:0;margin:0}
.mx-player.mx-single-player .mx-caption .mx-heading,.mx-player.mx-single-player .mx-caption [data-ref="dose"],.mx-player.mx-single-player [data-ref="side-hint"]{display:none}
.mx-player.mx-single-player .mx-sides{justify-content:center;margin:0 0 5px;gap:6px}
.mx-player.mx-single-player .mx-player-safety h2,.mx-player.mx-single-player .mx-player-fallback h2{font-size:13px;line-height:1.5;margin:0 0 3px;color:#ffbf6b}
.mx-player.mx-single-player .mx-player-safety p,.mx-player.mx-single-player .mx-player-fallback p{font-size:14px;line-height:1.55;margin:0;white-space:pre-line;overflow-wrap:anywhere;color:#edf0f5}
.mx-player.mx-single-player .mx-player-fallback{margin-bottom:10px}
.mx-player.mx-single-player .mx-player-fallback [data-ref="fallback-status"]:empty{display:none}
.mx-player.mx-single-player [hidden]{display:none!important}
.mx-player.mx-single-player>.mx-transport{background:#191e26;border-top:1px solid #414d5d;flex:0 0 auto;min-height:64px;margin:0;padding:2px 4px}
.mx-player.mx-single-player .mx-duration-picker{box-sizing:border-box;max-height:calc(100dvh - 100px);overflow-y:auto}
/* No blank video slot if no source, offline, or decoding failed. Safety and the
   original action text remain reachable without changing timers or records. */
.mx-player.mx-fixed-media.mx-single-player.mx-media-unavailable>.mx-media{display:none!important}
.mx-player.mx-fixed-media.mx-single-player.mx-media-unavailable>.mx-player-content{flex:1 1 0;max-height:none;padding-top:54px}
.mx-player.mx-single-player.mx-media-unavailable .mx-caption .mx-heading{display:flex;min-height:0;height:auto;margin:0 0 8px}
.mx-player.mx-single-player.mx-media-unavailable .mx-caption .mx-heading h1{font-size:18px;line-height:1.4}
.mx-player.mx-single-player.mx-media-unavailable .mx-caption [data-ref="dose"]{display:block;margin:0 0 8px;font-size:14px;line-height:1.5}
.mx-detail-instructions{margin-top:12px;overflow-wrap:anywhere}
.mx-detail-instructions dl{display:grid;grid-template-columns:56px minmax(0,1fr);gap:5px 8px}
.mx-detail-instructions dd{margin:0;white-space:pre-line}
.mx-detail-instructions figure{margin:12px 0 0}.mx-detail-instructions img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain}.mx-detail-instructions figcaption{font-size:12px;color:#a4adba}
@media(max-height:400px){.mx-player.mx-fixed-media.mx-single-player>.mx-player-content{max-height:32dvh}.mx-player.mx-fixed-media.mx-single-player.mx-media-unavailable>.mx-player-content{max-height:none}}

/* Swap is an untimed instruction, not a large numeric countdown. Keep both
   short labels inside the existing 56px touch target; do not alter timing. */
.mx-player.mx-fixed-media.mx-single-player>.mx-transport{box-sizing:border-box;min-height:72px;padding-bottom:8px}
.mx-player.mx-fixed-media.mx-single-player>.mx-transport .mx-timer.mx-timer-cue{position:relative;box-sizing:border-box;padding:0}
.mx-player.mx-fixed-media.mx-single-player>.mx-transport .mx-timer.mx-timer-cue>[data-ref="digits"]{position:absolute;top:11px;left:0;right:0;bottom:auto;display:block;width:auto;margin:0;font-size:16px;line-height:20px;white-space:nowrap;word-break:keep-all;text-align:center;transform:none}
.mx-player.mx-fixed-media.mx-single-player>.mx-transport .mx-timer.mx-timer-cue>[data-ref="timer-label"]{position:absolute;top:32px;left:0;right:0;bottom:auto;display:block;width:auto;margin:0;font-size:11px;line-height:14px;white-space:nowrap;word-break:keep-all;text-align:center;transform:none}

/* Opening/chooser/feedback only. The original v22 player layout is retained. */
body{background:#fff}.mo-home,.mo-feedback{color:var(--ink);width:100%;max-width:1040px;margin:0 auto;padding:30px 26px 44px}.mo-brand{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--green);font-size:12px;font-weight:700;letter-spacing:1px;margin-bottom:28px}.mo-tag{display:inline-block;background:var(--pale);color:var(--green);font-size:12px;letter-spacing:0;padding:8px 12px;border-radius:20px;white-space:nowrap}.mo-opening-grid{display:grid;grid-template-columns:minmax(220px,310px) 1fr;gap:42px;align-items:center}.mo-opening-video{display:block;width:100%;max-height:520px;aspect-ratio:9/16;object-fit:contain;background:#f2f3ef;border-radius:20px}.mo-credit{font-size:10px;line-height:1.5;color:var(--muted);margin-top:9px}.mo-eyebrow{color:var(--muted);font-size:11px;line-height:1.5;margin-bottom:9px}.mo-welcome h1{font-size:38px;line-height:1.4;max-width:490px;letter-spacing:-.5px}.mo-intro{color:var(--muted);font-size:15px;line-height:1.8;margin-top:18px}.mo-sound{border:0;padding:0;margin:25px 0 20px;display:flex;gap:20px;font-size:13px}.mo-sound legend{font-size:12px;color:var(--muted);margin-bottom:10px}.mo-sound label{display:flex;align-items:center;gap:7px;min-height:36px;cursor:pointer}.mo-sound input{accent-color:var(--green);height:18px;width:18px}.mo-start{font-size:16px;min-height:50px;min-width:220px}.mo-muted{color:var(--muted);font-size:12px;line-height:1.7;margin-top:12px}.mo-library-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:40px 0 18px}.mo-library-heading h2{font-size:21px}.mo-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mo-action{display:flex;align-items:center;gap:18px;border:1px solid var(--line);padding:18px;border-radius:18px;background:#fff;min-width:0}.mo-action img{display:block;flex:0 0 86px;width:86px;height:153px;object-fit:contain;border-radius:10px;background:#fff}.mo-action-info{min-width:0}.mo-action-info h3{font-size:16px;line-height:1.5}.mo-action-cue{font-size:12px;color:var(--muted);line-height:1.7;margin-top:8px}.mo-card-button{font-size:12px;margin-top:12px;background:var(--pale);color:var(--green)}.mo-session-note{margin-top:22px;font-size:12px;line-height:1.8;color:var(--muted);padding:16px 18px;border-radius:14px;background:#f7f8f4}.mo-session-note p+p{margin-top:7px}.mo-feedback{max-width:640px;padding-top:90px}.mo-feedback-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.mo-response{font-size:19px;line-height:1.8;flex-basis:100%;margin-bottom:15px}
@media(max-width:680px){.mo-home,.mo-feedback{padding:22px 18px 36px}.mo-brand{margin-bottom:22px;font-size:11px;gap:8px}.mo-opening-grid{grid-template-columns:1fr;gap:23px}.mo-story{max-width:310px;margin:auto}.mo-opening-video{max-height:460px}.mo-welcome h1{font-size:28px}.mo-intro{font-size:14px;margin-top:12px}.mo-start{width:100%}.mo-library-heading{margin-top:30px;align-items:flex-start}.mo-library-heading h2{font-size:18px}.mo-action-grid{grid-template-columns:1fr}.mo-action{padding:16px;gap:16px}.mo-action img{width:76px;flex-basis:76px;height:135px}.mo-feedback{padding-top:65px}.mo-feedback-buttons{flex-direction:column}.mo-feedback-buttons button{min-height:46px}.mo-tag{font-size:11px;padding:7px 9px}}

/* Homepage-only fix: do not inherit the fixed dark player shell. */
.mx.mo-home{position:relative;inset:auto;min-height:100dvh;background:#fff;color:var(--ink);color-scheme:light;overflow:visible}

/* Optional ambience controls stay in the scrollable caption, not over video. */
.mo-music{margin-top:8px;min-height:40px;font-size:13px}.mo-music-note{display:block;opacity:.75;font-size:11px;margin:4px 0 8px}

/* Original mx layout/size unchanged: side+state replace the existing music note. */
.mo-restored-player .mo-restored-status{display:block;font-size:11px;line-height:1.6;text-align:left;color:var(--mx-muted);opacity:.75;margin:4px 0 8px}
.mo-restored-player .mo-restored-details{font-size:12px;line-height:1.6;color:var(--mx-muted);margin:0}
.mo-restored-player .mo-restored-details p{margin:6px 0}
.mo-restored-player .mo-restored-details-toggle{float:right;min-width:0;min-height:0;padding:0;border:0;background:transparent;color:var(--mx-muted);font-size:11px;line-height:19.5px}
.mo-restored-player .mo-hold-music-host{margin:0}

.mo-feedback-action-list{display:grid;gap:10px;margin:24px 0 16px}.mo-feedback-choice{min-height:48px;text-align:left;border:1px solid var(--line);background:#f4f7f0;color:var(--ink)}.mo-feedback-side-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0 16px}.mo-feedback-selected{font-size:19px;line-height:1.7;margin:20px 0;color:var(--green);font-weight:600}.mo-feedback-secondary{margin:10px 8px 0 0;background:#f4f5f1;color:var(--green)}.mo-feedback-safety{font-size:13px;line-height:1.7;background:#fbf4e7;padding:12px 14px;border-radius:12px;margin-top:24px}.mo-feedback-copy-label{display:block;font-size:13px;margin:24px 0 10px}.mo-feedback-copy{display:block;box-sizing:border-box;width:100%;margin-top:10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8f9f5;color:var(--ink);font:inherit;font-size:16px;line-height:1.7;resize:vertical}.mo-feedback-contact{margin:24px 0 12px}.mo-feedback-contact img{display:block;width:240px;height:auto;max-width:100%;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:#fff}.mo-feedback-contact figcaption{font-size:12px;line-height:1.7;color:var(--muted);max-width:360px;margin-top:10px}

.mo-feedback-choice,.mo-feedback-secondary{background:var(--mx-panel);color:var(--mx-text);border-color:var(--mx-line)}.mo-feedback-selected{color:var(--mx-accent)}.mo-feedback-copy{background:var(--mx-panel);color:var(--mx-text);border-color:var(--mx-line)}.mo-feedback-safety{background:var(--mx-panel);color:var(--mx-text)}

.mo-feedback-contact-flow{color:var(--mx-text);overflow-y:auto}.mo-feedback-contact-flow .mo-muted,.mo-feedback-contact-flow .mo-intro,.mo-feedback-contact-flow figcaption{color:var(--mx-muted)}

.mo-opening-video[hidden]{display:none!important}

/* Feedback image choices only; homepage and player unchanged. */
.mo-feedback-action-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mo-feedback-image-choice{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;border-radius:14px;min-width:0;text-align:center}
.mo-feedback-image-choice img{display:block;width:100%;height:180px;object-fit:contain;background:#20201e}
.mo-feedback-image-label{display:block;padding:12px 6px;font-size:16px;line-height:1.4;font-weight:600}
.mo-feedback-coach{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--mx-text);font-size:16px}
.mo-feedback-coach img{width:56px;height:56px;object-fit:cover;object-position:50% 25%;border-radius:50%;border:1px solid var(--mx-line)}
@media(max-width:380px){.mo-feedback-action-list{gap:8px}.mo-feedback-image-choice img{height:156px}.mo-feedback-image-label{font-size:15px}}

/* Visible optional HD reference; no layout resizing. */
.mo-restored-player .mo-hd-toggle{position:absolute;top:10px;right:60px;z-index:5;min-height:44px;padding:10px 14px;border:1px solid #aeb8c8;border-radius:22px;background:#16202ee8;color:#fff;font-size:14px;font-weight:600;line-height:1.3;box-shadow:0 2px 8px #0003}
.mo-restored-player .mo-hd-mode-note{position:absolute;top:60px;right:60px;z-index:4;padding:5px 9px;border-radius:8px;background:#16202ee8;color:#fff;font-size:12px;pointer-events:none}
