/* Shared mobile specifications. Desktop shell remains independently selected. */
html[data-device-layout="phone"] .mobile-bottom-nav.unified-tabs{height:60px;padding:0 0 env(safe-area-inset-bottom);box-sizing:content-box;grid-template-columns:repeat(5,minmax(0,1fr))!important;background:#fff;border-top:1px solid #ededed;z-index:8100}
html[data-device-layout="phone"] .unified-tabs button{display:flex!important;flex-direction:column;align-items:center!important;justify-content:center!important;gap:5px!important;height:60px!important;min-height:0!important;margin:0;padding:0!important;background:none!important;border:0!important;border-radius:0!important;color:#6b6b6b;font-size:11px!important;line-height:14px!important}
html[data-device-layout="phone"] .unified-tabs button>span{height:14px!important;font-size:11px!important;line-height:14px!important}
html[data-device-layout="phone"] .unified-tabs img{width:22px;height:22px;flex:none}
html[data-device-layout="phone"] .unified-tabs button[aria-current]{color:#c25612;font-weight:600}
html[data-device-layout="phone"] .unified-tabs.dark{background:#0e0f12;border-color:#ffffff14}
html[data-device-layout="phone"] .unified-tabs.dark button{color:#ffffff9e}
html[data-device-layout="phone"] .unified-tabs.dark img{opacity:.62}
html[data-device-layout="phone"] .unified-tabs.dark button[aria-current]{color:#fff}
html[data-device-layout="phone"] .unified-tabs.dark button[aria-current] img{opacity:1}
body:has(.learn-coach:not(.sheet-coach)) .mobile-bottom-nav{display:none!important}
.learn-coach>.coach-hero{position:relative;display:block;flex:none;height:132px;min-height:0;padding:0;border:0;border-bottom:1px solid #efefef;background:#fff;transition:height .35s;box-sizing:border-box}
.in-mini-program .learn-coach>.coach-hero{display:block!important}.in-mini-program .learn-coach>.sheet-header{display:flex!important}
.in-mini-program .learn-coach>.coach-hero{height:132px!important;padding:0!important}.in-mini-program .learn-coach>.coach-hero.collapsed{height:60px!important}
.learn-coach>.coach-hero>.coach-options{display:flex!important}.learn-coach>.coach-hero>.coach-name{display:flex!important;flex-direction:column}.learn-coach>.coach-hero>.ip{display:block!important}.learn-coach>.coach-hero:not(.collapsed)>.coach-fade{display:block!important}
.coach-hero>.ip{position:absolute;left:calc(50% - 59px);top:4px;width:118px;height:96px}
.coach-hero .coach-fade{position:absolute;left:0;right:0;top:80px;height:52px;background:linear-gradient(transparent,#fff 62%);pointer-events:none}
.coach-hero .coach-back{position:absolute;z-index:2;left:8px;top:8px;width:36px;height:36px;border:0;background:none;padding:7px;color:#333}
.coach-back svg{width:22px;height:22px}
.coach-name{position:absolute;left:16px;bottom:12px;display:flex;flex-direction:column;gap:2px}
.coach-name b{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#222}
.coach-name small{font-size:11px;color:#6b6b6b}
.coach-options{position:absolute;right:14px;bottom:12px;display:flex;gap:8px}
.coach-options>button,.coach-options>.learn-zh-toggle{margin:0;height:32px;box-sizing:border-box;padding:0 10px;border:1px solid #e6e6e6;border-radius:16px;background:#fff;display:flex;align-items:center;font-size:13px;color:#333}
.learn-coach>.coach-hero.collapsed{height:60px}
.coach-hero.collapsed>.ip{width:50px;height:41px;left:42px;top:4px}
.coach-hero.collapsed .coach-fade{display:none}
.coach-hero.collapsed .coach-back{top:12px}
.coach-hero.collapsed .coach-name{left:94px;bottom:12px}
.coach-hero.collapsed .coach-name small{font-size:9px}
.coach-hero.collapsed .coach-options{right:8px;gap:4px}
.coach-hero.collapsed .coach-options>button,.coach-hero.collapsed .learn-zh-toggle{padding:0 7px;font-size:12px}
.coach-eq{display:inline-flex;height:14px;align-items:flex-end;gap:2px}.coach-eq[hidden]{display:none}.coach-eq i{width:3px;height:12px;background:#c25612;animation:coach-eq .6s infinite alternate;transform-origin:bottom}.coach-eq i:nth-child(2){animation-delay:.2s}.coach-eq i:nth-child(3){animation-delay:.4s}@keyframes coach-eq{to{transform:scaleY(.25)}}
.learn-coach>.learn-mini-zh{display:none!important}
html[data-device-layout="phone"] .learn-coach{height:var(--coach-h,100dvh);display:flex;flex-direction:column;background:#fff;padding:0;box-sizing:border-box}
html[data-device-layout="phone"] .learn-coach>main{flex:1;min-height:0;width:100%;padding:14px 14px 20px;box-sizing:border-box;overflow-y:auto;background:#fff}
html[data-device-layout="phone"] .learn-coach>.learn-input-bar{position:relative;inset:auto;flex:none;min-height:72px;padding:12px 14px max(12px,env(safe-area-inset-bottom));box-sizing:border-box;border-top:1px solid #ededed;background:#fff}
html[data-device-layout="phone"] .learn-input-bar .learn-mode{height:44px;width:36px;border:0;background:transparent;padding:6px}
html[data-device-layout="phone"] .learn-input-bar .learn-hold{height:44px;min-height:44px;font-size:16px;border-radius:10px;border:1px solid #e3e3e3;background:#f7f7f7}
html[data-device-layout="phone"] .learn-input-bar .learn-hold span{font-size:12px}
html[data-device-layout="phone"] .learn-coach .learn-bubble:not(.learn-user-bubble){max-width:300px;background:#f3f3f3;border-radius:4px 16px 16px 16px;padding:12px 14px;font-size:16px}
html[data-device-layout="phone"] .learn-coach .learn-correction{margin-left:26px;border:1px solid #ececec;border-radius:16px;padding:12px 14px}
html[data-device-layout="phone"] .learn-coach article footer button{min-height:30px;height:30px;border-radius:15px;font-size:12px;padding:0 10px}
html[data-device-layout="phone"] .learn-coach .learn-repeat,html[data-device-layout="phone"] .learn-coach .is-playing{border-color:#c25612;color:#c25612}
.vl-stage{touch-action:none}.vl-gesture{position:absolute;inset:0;z-index:1}.vl-caption,.vl-rail,.vl-center{z-index:2}.vl [data-video-record]{z-index:3}.vl-caption{touch-action:none}
html[data-device-layout="phone"] .vl{height:calc(100dvh - 60px - env(safe-area-inset-bottom));bottom:calc(60px + env(safe-area-inset-bottom));background:#0e0f12}
html[data-device-layout="phone"] .vl-info{bottom:18px;z-index:3}
html[data-device-layout="phone"] .vl-info h1{font-size:17px;font-weight:700;margin-bottom:10px}
html[data-device-layout="phone"] .vl-segments button{height:14px;min-height:14px;background:linear-gradient(transparent 5px,#ffffff48 5px,#ffffff48 9px,transparent 9px)}
html[data-device-layout="phone"] .vl-segments button.current{background:linear-gradient(transparent 5px,#fff 5px,#fff 9px,transparent 9px)}
html[data-device-layout="phone"] .vl-rail{gap:14px;right:8px;bottom:170px}
html[data-device-layout="phone"] .vl-rail button>span{width:46px;height:46px}
html[data-device-layout="phone"] .vl-rail button{font-size:11px;gap:4px}
html[data-device-layout="phone"] .vl-header{right:120px;justify-content:flex-start}
html[data-device-layout="phone"] .vl-header nav{gap:14px}
html[data-device-layout="phone"] .vl-header button{padding:4px 0;border:0;border-radius:0;background:none;font-size:15px;color:#aaa}
html[data-device-layout="phone"] .vl-header [data-v="recommend"]{color:#fff;border-bottom:2px solid #fff}
.vl-more-mask{position:fixed;inset:0;background:#0006;z-index:8500;display:flex;align-items:flex-end}
.vl-more{width:100%;background:#1c1d21;color:#fff;border-radius:18px 18px 0 0;padding:22px 16px max(16px,env(safe-area-inset-bottom));box-sizing:border-box}
.vl-more>div{display:flex;justify-content:space-around;padding-bottom:20px}.vl-more button{background:none;border:0;color:#fff;font-size:18px}.vl-more small{display:block;font-size:12px;margin-top:10px}.vl-more button.active{color:#c25612}.vl-more>button{display:block;width:100%;border-top:1px solid #ffffff1a;padding-top:16px;font-size:14px}
.video-chat-mask{position:fixed;inset:0;background:#00000073;z-index:9100;display:flex;align-items:flex-end}
.video-chat-host{width:100%;height:540px;max-height:85dvh;border-radius:18px 18px 0 0;overflow:hidden;background:#fff;animation:video-sheet .3s ease-out}
@keyframes video-sheet{from{transform:translateY(100%)}to{transform:none}}
.video-chat-host .learn-coach.sheet-coach{height:100%;width:100%;position:relative;inset:auto;display:flex;flex-direction:column;background:#fff;max-height:100%}
.sheet-coach>.sheet-header{height:64px;min-height:64px;display:flex;align-items:center;gap:10px;padding:0 16px;background:#fff;border-bottom:1px solid #eee}
.sheet-header .ip{width:44px;height:36px;flex:none}.sheet-header b{font-size:16px;font-weight:600}.sheet-header small{display:block;font-size:11px;color:#6b6b6b}.sheet-header>button{margin-left:auto;font-size:13px;border:0;border-radius:16px;background:#f5f5f5;padding:6px 12px}
.chat-quote{background:#f3f3f3;padding:12px;border-radius:10px;margin-bottom:14px;font-size:14px}.chat-quote p{font-size:12px;color:#6b6b6b;margin:6px 0 0}
body:has(.video-chat-mask,.vl-more-mask) .mobile-bottom-nav{visibility:hidden}
@media(prefers-reduced-motion:reduce){.coach-hero,.video-chat-host{transition:none;animation:none}}

.coach-options .learn-zh-toggle{position:relative}.coach-options .learn-zh-toggle input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}

html[data-device-layout="phone"] .learn-coach:not(.sheet-coach){padding-top:calc(44px + env(safe-area-inset-top))}
.sheet-coach .learn-topic{display:none}

html[data-device-layout="phone"] .learn-coach>.coach-hero{text-align:left}
html[data-device-layout="phone"] .coach-hero .coach-name b{font-size:16px;font-weight:600}
html[data-device-layout="phone"] .coach-hero .coach-name small{font-size:11px;color:#6b6b6b}
html[data-device-layout="phone"] .coach-hero.collapsed .coach-name small{font-size:9px}
html[data-device-layout="phone"] .coach-hero .coach-options>button{height:32px;padding:0 10px;border:1px solid #e6e6e6;border-radius:16px;background:#fff;font-size:13px}
html[data-device-layout="phone"] .learn-coach>.sheet-header{text-align:left;justify-content:flex-start}
html[data-device-layout="phone"] .sheet-header>b,html[data-device-layout="phone"] .sheet-header b{font-size:16px;font-weight:600}
html[data-device-layout="phone"] .sheet-header small{font-size:11px;color:#6b6b6b}
html[data-device-layout="phone"] .learn-coach>.sheet-header>button{margin-left:auto;padding:6px 12px;border:0;border-radius:16px;background:#f5f5f5;font-size:13px}
html[data-device-layout="phone"] .learn-coach .learn-bubble:before{display:none}
html[data-device-layout="phone"] .learn-coach .learn-time{display:none}

.coach-hero>.ip>.ip-move{left:9.322%;width:81.356%}.sheet-header .ip>.ip-move{left:9.091%;width:81.818%}
