*{box-sizing:border-box}body{margin:0;background:#171d1b;font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}button,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}.device{width:100%;height:100vh;height:100dvh;max-width:460px;position:relative;margin:0 auto;overflow:hidden;background:var(--bg);color:var(--text);--bar-bg:var(--bg);--bar-text:var(--text);--bar-sub:var(--soft);--bar-line:var(--edge);--safe-b:max(env(safe-area-inset-bottom,0px),7px);--bar-h:calc(max(env(safe-area-inset-top,0px),5px) + 45px)}
.device[data-build=native]{--bar-bg:#f2f0e9;--bar-text:#283630;--bar-sub:#516158;--bar-line:#77847a;background:var(--bar-bg)}.device[data-build=native][data-theme=night]{--bar-bg:#202725;--bar-text:#e1e5dc;--bar-sub:#b2beb3;--bar-line:#819184}
.hostbar{z-index:1;position:absolute;inset:0 0 auto;height:var(--bar-h);padding:max(env(safe-area-inset-top,0px),5px) max(env(safe-area-inset-right,0px),12px) 0 max(env(safe-area-inset-left,0px),14px);display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;color:var(--bar-text);background:var(--bar-bg)}
.version{display:flex;align-items:center;gap:7px;min-height:43px;min-width:0;color:inherit;border:0;background:transparent;padding:0}.version strong{font-size:14px;font-weight:650}.version span{font-size:12px;color:var(--bar-sub)}.version i{width:6px;height:6px;margin:-3px 0 0 0;transform:rotate(45deg);border:solid var(--bar-sub);border-width:0 1.5px 1.5px 0}
.capsule{display:flex;align-items:center;border:1px solid var(--bar-line);border-radius:22px;height:32px}.capsule button{position:relative;color:inherit;background:transparent;border:0;height:42px;width:41px;display:grid;place-items:center;padding:0}.capsule button+button:before{position:absolute;left:0;top:14px;content:'';height:14px;width:1px;background:var(--bar-line)}.capsule b{font:700 14px/1 monospace;letter-spacing:.6px}.capsule i{width:15px;height:15px;border:2px solid currentColor;border-radius:50%}.device[data-platform=douyin] .capsule i{border:0;border-radius:0;background:linear-gradient(45deg,transparent 44%,currentColor 45% 54%,transparent 55%),linear-gradient(-45deg,transparent 44%,currentColor 45% 54%,transparent 55%);height:13px;width:13px}
#player{border:0;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--bar-bg)}.device[data-build=layout] #player{top:var(--bar-h);height:calc(100% - var(--bar-h) - var(--safe-b))}
dialog{border:0;padding:0;width:min(calc(100% - 20px),430px);max-width:none;max-height:calc(100dvh - 26px);border-radius:22px;color:var(--text);background:var(--surface);box-shadow:0 12px 55px #0004}dialog::backdrop{background:#111b18a8}.sheet{padding:14px 19px 20px;line-height:1.5}.handle{width:35px;height:4px;margin:0 auto 12px;background:var(--edge);border-radius:5px}.title-line{display:flex;align-items:center;justify-content:space-between}.title-line h1{font-size:21px;margin:0}.dismiss{border:0;color:var(--mint);background:none;min-height:44px}.sheet fieldset{margin:12px 0 16px;padding:0;border:0}.sheet legend{font-size:14px;color:var(--soft);margin-bottom:7px}.segments{display:flex;gap:7px}.segments button{border-radius:9px;border:1px solid var(--edge);background:var(--button);color:var(--text);min-height:44px}.segments button{flex:1}.sheet button[aria-pressed=true]{border-color:var(--mint);background:var(--pressed);box-shadow:inset 0 0 0 1px var(--mint)}.version-note{font-size:13px;color:var(--soft);margin:12px 0 0}.enter{margin-top:16px;width:100%;min-height:47px;border:0;border-radius:10px;color:var(--on-primary);background:var(--primary);font-weight:650}button:focus-visible,select:focus-visible{outline:3px solid var(--amber);outline-offset:2px}
@media(min-width:600px){.device{box-shadow:0 0 0 1px #82908344}}
