:root{
  --bg:#0B0D12;--page:#08090D;--surface:#171A22;--surface-2:#20242F;--surface-3:#2A2F3C;
  --text:#F3F5F8;--text-2:#9298A6;--text-3:#616877;
  --lime:#C8FF4D;--accent:#C8FF4D;--orange:#FF7A45;--blue:#5AC8FA;--purple:#A68BFF;--red:#FF5D73;
  --line:rgba(255,255,255,.08);
  --on-lime:#14170E;--on-text:#11131A;
  --phone-frame:#242833;
  --tabbar-grad:linear-gradient(to top,var(--bg) 72%,rgba(11,13,18,.75));
  --mask:rgba(0,0,0,.65);--mask-soft:rgba(0,0,0,.6);
  --toast-bg:#F3F5F8;--toast-fg:#15180F;
}
html[data-theme="light"]{
  --bg:#F4F6F9;--page:#E7EAF0;--surface:#FFFFFF;--surface-2:#EDF0F5;--surface-3:#DFE4EB;
  --text:#1B202A;--text-2:#5D6575;--text-3:#9AA2B1;
  --lime:#C9F13F;--accent:#629400;--orange:#E85D2B;--blue:#1897D8;--purple:#7B5CF0;--red:#E23A52;
  --line:rgba(20,30,45,.10);
  --on-lime:#14170E;--on-text:#FFFFFF;
  --phone-frame:#DCDFE6;
  --tabbar-grad:linear-gradient(to top,var(--bg) 72%,rgba(244,246,249,.88));
  --mask:rgba(20,26,38,.42);--mask-soft:rgba(20,26,38,.38);
  --toast-bg:#1B202A;--toast-fg:#F3F5F8;
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%}
body{font-family:"PingFang SC","Microsoft YaHei",-apple-system,sans-serif;background:var(--page);color:var(--text);line-height:1.55;-webkit-font-smoothing:antialiased;display:flex;align-items:center;justify-content:center;min-height:100vh;padding:20px}
.phone{position:relative;width:402px;height:860px;max-height:calc(100vh - 40px);background:var(--bg);border-radius:46px;border:9px solid var(--phone-frame);box-shadow:0 18px 50px rgba(0,0,0,.45);overflow:hidden;display:flex;flex-direction:column}

/* ---------- auth ---------- */
.auth-screen{flex:1;overflow-y:auto;padding:40px 26px 30px;display:flex;flex-direction:column}
.auth-brand{font-size:22px;font-weight:900;letter-spacing:.5px;display:flex;align-items:center;gap:9px}
.auth-brand b{color:var(--accent)}
.logo-mark{width:36px;height:36px;border-radius:11px;background:var(--lime);color:var(--on-lime);display:grid;place-items:center;font-size:20px;transform:rotate(-8deg)}
.auth-tagline{color:var(--text-2);font-size:13px;margin-top:8px;margin-bottom:30px}
.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:20px}
.auth-tabs{display:flex;background:var(--surface-2);border-radius:12px;padding:4px;gap:4px;margin-bottom:20px}
.auth-tabs button{flex:1;border:0;background:transparent;color:var(--text-2);font-family:inherit;font-size:13px;font-weight:700;padding:9px 0;border-radius:9px;cursor:pointer}
.auth-tabs button.active{background:var(--lime);color:var(--on-lime)}
.field{margin-bottom:14px}
.field label{display:block;font-size:11px;color:var(--text-2);font-weight:700;margin-bottom:6px;padding-left:2px}
.field input{width:100%;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:12px 14px;color:var(--text);font-family:inherit;font-size:14px;outline:0}
.field input:focus{border-color:var(--lime)}
.field input::placeholder{color:var(--text-3)}
.field input[readonly]{color:var(--text-2);background:var(--surface-3)}
.field-inline{display:flex;gap:8px}
.field-inline input{flex:1;min-width:0}
.btn-code{flex:0 0 auto;padding:0 14px;border-radius:12px;border:1px solid var(--lime);background:rgba(200,255,77,.1);color:var(--lime);font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.btn-code:disabled{opacity:.5;cursor:not-allowed}
.btn{border:0;border-radius:13px;padding:13px 18px;font-size:14px;font-weight:800;font-family:inherit;cursor:pointer;transition:transform .15s}
.btn:active{transform:scale(.97)}
.btn-primary{background:var(--lime);color:var(--on-lime)}
.btn-ghost{background:var(--surface-2);color:var(--text);border:1px solid var(--line)}
.btn-block{width:100%}
.btn:disabled{opacity:.5;cursor:not-allowed}
.auth-hint{font-size:11px;color:var(--text-3);text-align:center;margin-top:12px;line-height:1.6}
.remember-row{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-2);cursor:pointer;user-select:none;padding:2px 0}
.remember-row input{width:16px;height:16px;accent-color:var(--lime);cursor:pointer}
.link-danger{background:none;border:0;color:var(--red);font-family:inherit;font-size:12px;cursor:pointer;padding:6px 10px}
.link-muted{background:none;border:0;color:var(--text-2);font-family:inherit;font-size:12px;cursor:pointer;padding:6px 10px}

/* ---------- main ---------- */
.main-screen{flex:1;display:flex;flex-direction:column;min-height:0}
.screens{flex:1;position:relative;overflow:hidden}
.screen{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;padding:8px 20px 100px;display:none;scrollbar-width:none}
.screen::-webkit-scrollbar{display:none}
.screen.active{display:block}
.tabbar{height:78px;flex:0 0 78px;background:var(--tabbar-grad);display:flex;justify-content:space-around;align-items:flex-start;padding-top:10px;border-top:1px solid var(--line)}
.tab{background:none;border:0;color:var(--text-3);font-size:10.5px;font-weight:600;display:flex;flex-direction:column;align-items:center;gap:3px;width:64px;cursor:pointer}
.tab svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tab.active{color:var(--accent)}

/* ---------- common ---------- */
.row{display:flex;align-items:center}.between{justify-content:space-between}
.muted{color:var(--text-2)}.tiny{font-size:11px}.small{font-size:12px}.bold{font-weight:700}
.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:15px}
.section-title{font-size:16px;font-weight:800;margin:20px 0 11px;display:flex;align-items:center;justify-content:space-between}
.section-title .more{font-size:11px;color:var(--text-2);font-weight:600;cursor:pointer}
.pill{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:20px;font-size:10px;font-weight:700}
.pill.lime{background:rgba(200,255,77,.13);color:var(--lime)}
.pill.orange{background:rgba(255,122,69,.14);color:var(--orange)}
.pill.blue{background:rgba(90,200,250,.14);color:var(--blue)}
.pill.purple{background:rgba(166,139,255,.15);color:var(--purple)}
.pill.gray{background:var(--surface-3);color:var(--text-2)}
.icon-btn{width:34px;height:34px;border-radius:11px;background:var(--surface-2);border:1px solid var(--line);color:var(--text);display:grid;place-items:center;cursor:pointer;font-size:15px}
.topbar{padding:6px 0 4px;display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:8px;font-weight:900;font-size:16px}
.logo .logo-mark{width:28px;height:28px;font-size:17px}

/* ---------- home ---------- */
.greeting{margin-top:14px}
.greeting h1{font-size:25px;font-weight:900;line-height:1.3}
.greeting p{color:var(--text-2);font-size:12.5px;margin-top:3px}
.hero{margin-top:16px;border-radius:22px;padding:18px;position:relative;overflow:hidden;color:#15180F;background:linear-gradient(125deg,#D6FF68,#B9F13F 55%,#93DA2C)}
.hero::after{content:"";position:absolute;right:-38px;top:-52px;width:180px;height:180px;border-radius:50%;border:24px solid rgba(255,255,255,.16)}
.hero-tag{font-size:10px;font-weight:800;background:rgba(20,23,14,.14);padding:3px 9px;border-radius:20px;display:inline-block}
.hero h2{font-size:20px;font-weight:900;margin-top:10px}
.hero p{font-size:11px;opacity:.72;margin-top:2px}
.hero-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:18px;position:relative;z-index:1}
.hero-stats{display:flex;gap:18px}
.hero-stats b{font-size:19px;font-weight:900;display:block;line-height:1.1}
.hero-stats span{font-size:10px;opacity:.7}
.hero .btn{background:#15180F;color:var(--lime);padding:10px 14px;font-size:12px}
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:13px}
.stat-box{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:12px 8px;text-align:center}
.stat-box b{display:block;font-size:18px;font-weight:900}
.stat-box span{font-size:10px;color:var(--text-2)}

/* ---------- library ---------- */
.search{margin-top:14px;background:var(--surface-2);border:1px solid var(--line);border-radius:13px;padding:11px 14px;display:flex;align-items:center;gap:9px;color:var(--text-3)}
.search input{background:none;border:0;outline:0;color:var(--text);font-family:inherit;font-size:13px;width:100%}
.chips{display:flex;gap:7px;overflow-x:auto;margin:14px -20px 0;padding:0 20px 3px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{border:1px solid var(--line);background:var(--surface-2);color:var(--text-2);border-radius:20px;padding:7px 12px;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer;font-family:inherit}
.chip.active{background:var(--text);color:var(--on-text);border-color:var(--text)}
.ex-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
.ex-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;overflow:hidden;cursor:pointer;transition:transform .15s}
.ex-card:active{transform:scale(.97)}
.ex-card img{width:100%;aspect-ratio:1;object-fit:cover;display:block;background:var(--surface-2)}
.ex-card .ex-body{padding:9px}
.ex-card h4{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ex-card .ex-meta{display:flex;justify-content:space-between;align-items:center;margin-top:5px;font-size:9.5px;color:var(--text-2)}
.fav-btn{font-size:14px;cursor:pointer;background:none;border:0;color:var(--text-3);padding:0}
.fav-btn.on{color:var(--accent)}
.empty{text-align:center;padding:40px 20px;color:var(--text-2);font-size:13px}
.empty .big{font-size:40px;display:block;margin-bottom:10px}

/* ---------- courses ---------- */
.seg{display:flex;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:4px;gap:4px;margin-top:14px}
.seg button{flex:1;border:0;background:transparent;color:var(--text-2);font-family:inherit;font-size:12px;font-weight:700;padding:9px;border-radius:9px;cursor:pointer}
.seg button.active{background:var(--lime);color:var(--on-lime)}
.fab{position:absolute;right:18px;bottom:92px;z-index:20;border:0;border-radius:16px;background:var(--lime);color:var(--on-lime);font-family:inherit;font-size:13px;font-weight:900;padding:12px 16px;box-shadow:0 10px 26px rgba(200,255,77,.25);cursor:pointer}
.course-card{display:flex;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px;margin-top:9px;cursor:pointer}
.course-card:active{transform:scale(.99)}
.course-cover{width:60px;height:60px;border-radius:14px;display:grid;place-items:center;font-size:28px;background:var(--surface-2);flex:0 0 auto}
.course-info{flex:1;min-width:0}
.course-info h3{font-size:13.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.course-info .meta{font-size:10px;color:var(--text-2);margin-top:4px;display:flex;gap:8px}
.arrow{color:var(--text-3);font-size:16px}

/* ---------- profile ---------- */
.profile-head{text-align:center;padding:18px 0 6px}
.profile-avatar{width:70px;height:70px;margin:0 auto;border-radius:22px;background:linear-gradient(135deg,var(--lime),var(--orange));display:grid;place-items:center;font-size:34px}
.profile-head h2{font-size:19px;font-weight:900;margin-top:10px}
.profile-head p{font-size:11px;color:var(--text-2)}
.week-chart{display:flex;align-items:flex-end;justify-content:space-between;height:90px;gap:7px;margin-top:12px}
.week-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;height:100%;justify-content:flex-end}
.week-bar{width:100%;max-width:20px;border-radius:6px 6px 3px 3px;background:var(--surface-3);min-height:4px}
.week-bar.on{background:linear-gradient(180deg,var(--lime),#A8E02F)}
.week-col span{font-size:9px;color:var(--text-3)}
.week-col.today span{color:var(--accent);font-weight:800}
.menu-item{display:flex;align-items:center;justify-content:space-between;padding:13px 2px;border-bottom:1px solid var(--line);font-size:12.5px;cursor:pointer}
.menu-item:last-child{border:0}

/* ---------- sheet ---------- */
.sheet-wrap{position:absolute;inset:0;z-index:70;display:none;background:var(--mask-soft);backdrop-filter:blur(3px)}
.sheet-wrap.show{display:block}
.sheet{position:absolute;left:0;right:0;bottom:0;background:var(--surface);border-radius:24px 24px 0 0;padding:10px 20px 26px;border-top:1px solid var(--line);max-height:88%;overflow-y:auto;animation:slideUp .28s cubic-bezier(.2,.8,.2,1)}
@keyframes slideUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
.handle{width:36px;height:4px;border-radius:4px;background:var(--surface-3);margin:0 auto 16px}
.sheet h2{font-size:19px;font-weight:900}.sheet .sub{font-size:11px;color:var(--text-2);margin-top:3px}
.sheet-hero{width:100%;aspect-ratio:2/1;object-fit:contain;background:var(--surface-2);border-radius:14px;margin-top:12px}
.info-block{margin-top:14px}
.info-block h4{font-size:11px;color:var(--accent);font-weight:800;margin-bottom:7px;display:flex;align-items:center;gap:5px}
.info-block ul{list-style:none;display:flex;flex-direction:column;gap:6px}
.info-block li{font-size:12px;color:var(--text-2);padding-left:15px;position:relative;line-height:1.6}
.info-block li::before{content:"";position:absolute;left:2px;top:8px;width:5px;height:5px;border-radius:50%;background:var(--accent)}
.info-block.warn h4{color:var(--orange)}.info-block.warn li::before{background:var(--orange)}
.num-list{counter-reset:n}
.num-list li{padding-left:26px;counter-increment:n}
.num-list li::before{content:counter(n);position:left:0;left:2px;top:1px;width:17px;height:17px;border-radius:50%;background:var(--surface-3);color:var(--text);font-size:10px;font-weight:800;display:grid;place-items:center}
.sheet-actions{display:flex;gap:9px;margin-top:18px}
.sheet-actions .btn{flex:1}

/* ---------- editor ---------- */
.overlay{position:absolute;inset:0;z-index:80;display:none;flex-direction:column;background:var(--bg)}
.overlay.show{display:flex}
.ov-head{padding:16px 20px 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.ov-head h2{font-size:17px;font-weight:900}
.ov-body{flex:1;overflow-y:auto;padding:14px 20px;scrollbar-width:none}
.ov-body::-webkit-scrollbar{display:none}
.ov-foot{padding:12px 20px 26px;border-top:1px solid var(--line)}
.round-btn{width:34px;height:34px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line);color:var(--text);display:grid;place-items:center;cursor:pointer;font-size:14px}
.editor-item{display:flex;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px;margin-top:9px;flex-wrap:wrap}
.editor-item img{width:52px;height:52px;border-radius:12px;background:var(--surface-2);flex:0 0 auto}
.editor-item .ei-num{width:22px;height:22px;border-radius:50%;background:var(--lime);color:var(--on-lime);display:grid;place-items:center;font-size:11px;font-weight:900;flex:0 0 auto}
.editor-item .ei-main{flex:1;min-width:0}
.editor-item .ei-main b{font-size:13px;display:block}
.editor-item .ei-main span{font-size:10px;color:var(--text-2)}
.editor-item .ei-acts{display:flex;align-items:center;gap:6px}
.editor-item .ei-video{width:28px;height:28px;border-radius:50%;background:rgba(166,139,255,.15);border:1px solid rgba(166,139,255,.3);color:var(--purple);font-size:10px;display:grid;place-items:center;cursor:pointer}
.editor-item .ei-ctrl{display:flex;flex-direction:column;gap:2px}
.editor-item .ei-ctrl button{background:var(--surface-2);border:1px solid var(--line);color:var(--text-2);border-radius:6px;width:24px;height:20px;font-size:10px;cursor:pointer}
.ed-summary .ed-stats{display:flex;gap:10px;margin-top:12px}
.ed-summary .ed-stats div{flex:1;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:9px 4px;text-align:center}
.ed-summary .ed-stats b{display:block;font-size:17px;font-weight:900}
.ed-summary .ed-stats span{font-size:10px;color:var(--text-2)}
.param-row{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.param-chip{background:var(--surface-2);border:1px solid var(--line);border-radius:9px;padding:6px 9px;font-size:10px;color:var(--text-2);display:flex;align-items:center;gap:5px}
.param-chip input{width:44px;background:var(--surface-3);border:0;border-radius:5px;color:var(--text);padding:4px 5px;font-family:inherit;font-size:11px;text-align:center;outline:0}
.picker-overlay{z-index:85}
.ov-hint{font-size:11px;color:var(--text-3);padding:0 20px 8px}
.pick-item{display:flex;align-items:center;gap:11px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:9px;margin-top:8px;cursor:pointer}
.pick-item:active{transform:scale(.98)}
.pick-item img{width:52px;height:52px;border-radius:10px;background:var(--surface-2);flex:0 0 auto;object-fit:cover}
.pick-item .pi-main{flex:1;min-width:0}
.pick-item .pi-main b{font-size:12.5px;display:block}
.pick-item .pi-main span{font-size:10px;color:var(--text-2)}
.pick-item .pi-add{width:28px;height:28px;border-radius:50%;background:var(--lime);color:var(--on-lime);display:grid;place-items:center;font-size:17px;font-weight:900;flex:0 0 auto}
.pick-item.picked{opacity:.45;pointer-events:none}

/* ---------- player ---------- */
.player-top{padding:16px 20px 8px;display:flex;align-items:center;justify-content:space-between}
.player-top .idx{font-size:11px;color:var(--text-2);font-weight:700}
.progress-track{height:4px;background:var(--surface-3);margin:4px 20px 0;border-radius:4px;overflow:hidden}
.progress-track i{display:block;height:100%;width:0;background:var(--lime);border-radius:4px;transition:width .4s}
.player-body{flex:1;display:flex;flex-direction:column;align-items:center;padding:14px 20px 8px;overflow-y:auto;scrollbar-width:none}
.player-body::-webkit-scrollbar{display:none}
.stage{position:relative;width:200px;height:200px;display:grid;place-items:center;margin-top:4px}
.stage img{width:100%;height:100%;border-radius:50%;object-fit:cover;background:var(--surface-2)}
.stage-ring{position:absolute;inset:-10px;transform:rotate(-90deg)}
.stage-ring circle{fill:none;stroke-width:7}
.track{stroke:var(--surface-2)}.prog{stroke:var(--lime);stroke-linecap:round;stroke-dasharray:691;stroke-dashoffset:0;transform-origin:50% 50%;transition:stroke-dashoffset .9s linear}
.ex-name{font-size:23px;font-weight:900;margin-top:16px;text-align:center}
.ex-sub{font-size:12px;color:var(--text-2);margin-top:3px;text-align:center}
.phase-tag{margin-top:10px}
.cues{width:100%;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:13px 15px;margin-top:16px}
.cues h4{font-size:11px;font-weight:800;color:var(--accent);margin-bottom:7px}
.cues ul{list-style:none;display:flex;flex-direction:column;gap:5px}
.cues li{font-size:11.5px;color:var(--text-2);padding-left:14px;position:relative;line-height:1.55}
.cues li::before{content:"";position:absolute;left:2px;top:7px;width:5px;height:5px;border-radius:50%;background:var(--accent)}
.player-controls{padding:10px 24px 30px;display:flex;align-items:center;justify-content:space-between}
.ctrl{width:50px;height:50px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line);color:var(--text);display:grid;place-items:center;cursor:pointer;font-size:17px}
.ctrl.main{width:68px;height:68px;background:var(--lime);color:var(--on-lime);border:0;font-size:21px}
.player.rest .prog{stroke:var(--blue)}.player.rest .ctrl.main{background:var(--blue)}
.player.rest .cues h4{color:var(--blue)}.player.rest .cues li::before{background:var(--blue)}
.big-time{font-size:34px;font-weight:900;font-variant-numeric:tabular-nums;color:var(--accent);line-height:1}
.big-time.hot{color:var(--orange);animation:hotPulse .5s ease-in-out infinite}
@keyframes hotPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}
.count-pop{position:absolute;inset:0;display:grid;place-items:center;font-size:76px;font-weight:900;color:var(--orange);text-shadow:0 4px 30px rgba(255,122,69,.5);animation:hotPulse .5s ease-in-out infinite;pointer-events:none}
.btn-more{background:var(--surface-2);border:1px solid var(--line);color:var(--text-2);font-family:inherit;font-size:11px;font-weight:700;padding:7px 12px;border-radius:18px;cursor:pointer}
.btn-more:active{background:var(--surface-3)}
.player.rest .big-time{color:var(--blue)}

/* ---------- finish ---------- */
.finish{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 26px;text-align:center}
.finish-ico{width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,rgba(200,255,77,.22),transparent 70%);display:grid;place-items:center;font-size:44px;animation:pop .5s cubic-bezier(.2,1.4,.4,1)}
@keyframes pop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
.finish h2{font-size:26px;font-weight:900;margin-top:16px}
.finish p{font-size:12px;color:var(--text-2);margin-top:4px}
.finish-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:100%;margin-top:26px}
.finish-stats div{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:14px 6px}
.finish-stats b{display:block;font-size:19px;font-weight:900;color:var(--accent)}
.finish-stats span{font-size:10px;color:var(--text-2)}

/* ---------- modal & toast ---------- */
.modal-wrap{position:absolute;inset:0;z-index:90;display:none;background:var(--mask);align-items:center;justify-content:center;padding:30px}
.modal-wrap.show{display:flex}
.modal{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:22px;width:100%;text-align:center}
.modal h3{font-size:17px;font-weight:900}.modal p{font-size:12px;color:var(--text-2);margin:10px 0 20px}
.modal .row{gap:9px}.modal .btn{flex:1}
.toast{position:absolute;left:50%;bottom:100px;transform:translate(-50%,12px);z-index:100;background:var(--toast-bg);color:var(--toast-fg);font-size:12px;font-weight:700;padding:10px 17px;border-radius:22px;opacity:0;pointer-events:none;transition:.25s;white-space:nowrap;max-width:90%;overflow:hidden;text-overflow:ellipsis}
.toast.show{opacity:1;transform:translate(-50%,0)}
.loading{text-align:center;padding:40px;color:var(--text-2);font-size:13px}
.video-link{display:flex;align-items:center;gap:8px;width:100%;background:rgba(166,139,255,.12);border:1px solid rgba(166,139,255,.28);color:var(--purple);font-family:inherit;font-size:12.5px;font-weight:700;padding:11px 14px;border-radius:13px;cursor:pointer;margin-top:12px;text-align:left}
.quit-continue{background:none;border:0;color:var(--text-2);font-family:inherit;font-size:12.5px;font-weight:700;margin-top:14px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
html[data-theme="light"] .hero{background:linear-gradient(125deg,#CFF353,#A8DE33 55%,#86C51F)}

@media(max-width:470px){
  body{padding:0;display:block}
  .phone{width:100vw;height:100vh;height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none}
  .auth-screen{padding-top:calc(40px + env(safe-area-inset-top))}
  .ov-head,.player-top{padding-top:calc(16px + env(safe-area-inset-top))}
}
