.mobile-header,.mobile-bottom-nav,.mobile-progress,.mobile-login-brand{display:none}
html.mobile-ui{background:#f4f7fb;color:#182235;color-scheme:light;font-family:ui-rounded,system-ui,sans-serif}html.mobile-ui body{min-height:100dvh;margin:0;background:#f4f7fb;color:#182235}html.mobile-ui .desktop-nav,html.mobile-ui .mobile-nav{display:none}html.mobile-ui .mobile-header{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));background:#fff;border-bottom:1px solid #dce6f1}html.mobile-ui .brand{display:flex;align-items:center;gap:6px;color:#ff5d8b;text-decoration:none;font-weight:800}html.mobile-ui .brand svg{width:38px;fill:none;stroke:#08aeea;stroke-width:3}html.mobile-ui .brand .brand-play{fill:#ff5d8b;stroke:none}html.mobile-ui .brand small{display:block;font-size:10px}html.mobile-ui .mobile-header>div{display:flex;align-items:center;gap:10px}html.mobile-ui .mobile-header form{margin:0}html.mobile-ui .mobile-header button{border:0;border-radius:8px;padding:8px 10px;background:#fff0f5;color:#c2446e;font:inherit}html.mobile-ui .mobile-admin{color:#1688bb;font-size:14px}
html.mobile-ui main{max-width:none;margin:0;padding:18px max(16px,env(safe-area-inset-right)) calc(82px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));box-sizing:border-box}html.mobile-ui .mobile-bottom-nav{position:fixed;z-index:20;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#fff;border-top:1px solid #dce6f1;box-shadow:0 -4px 16px #24364a12}html.mobile-ui .mobile-bottom-nav a{display:grid;justify-items:center;gap:3px;padding:3px;color:#68788c;text-align:center;text-decoration:none;font-size:12px}html.mobile-ui .mobile-bottom-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2}html.mobile-ui .mobile-bottom-nav a.active{color:#009fdf;font-weight:800}html.mobile-ui main>:not(#player) button,html.mobile-ui main>:not(#player) .button{min-height:44px;box-sizing:border-box;border:0;border-radius:10px;padding:10px 14px;background:#fb7299;color:#fff;font:inherit;font-weight:700;text-decoration:none}html.mobile-ui .card{box-sizing:border-box;background:#fff;color:#182235;border:1px solid #d9e4ef;border-radius:15px;box-shadow:0 4px 14px #afc3d626}
html.mobile-ui .page-login main{display:grid;min-height:100dvh;place-items:center;padding:22px}html.mobile-ui .page-login .login{width:min(100%,360px);margin:0;padding:28px;background:#fff}html.mobile-ui .mobile-login-brand{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 22px;color:#ff5d8b;font-size:25px;font-weight:800}html.mobile-ui .mobile-login-brand svg{width:48px;fill:none;stroke:#08aeea;stroke-width:3}html.mobile-ui .mobile-login-brand .brand-play{fill:#ff5d8b;stroke:none}html.mobile-ui .mobile-login-brand small{display:block;font-size:11px}html.mobile-ui .page-login .login h1{margin:0 0 16px;color:#182235}html.mobile-ui .page-login .login p{display:grid;gap:6px;color:#34465a}html.mobile-ui .page-login .login input{min-height:44px;box-sizing:border-box;border:1px solid #b9cada;border-radius:9px;padding:8px;background:#fff;color:#182235;font:inherit}html.mobile-ui .page-login .login button{width:100%;margin-top:8px}
html.mobile-ui .page-library h1,html.mobile-ui .page-status h1{margin:0 0 16px;color:#182235;font-size:28px}html.mobile-ui .page-library .grid{display:grid;grid-template-columns:1fr;gap:14px}html.mobile-ui .page-library .card{padding:17px}html.mobile-ui .page-library .card h2{margin:0 0 10px;color:#182235;font-size:20px}html.mobile-ui .page-library .card p{margin:7px 0;color:#65758a}.mobile-progress{height:6px;margin:14px 0;border-radius:6px;background:#e8eef5;overflow:hidden}.mobile-progress i{display:block;width:var(--progress);height:100%;background:#00aeea}html.mobile-ui .mobile-progress{display:block}html.mobile-ui .page-library .card .button{display:block;text-align:center}
html.mobile-ui .vocabulary-hero{display:block;padding:0;background:none}html.mobile-ui .vocabulary-hero svg{display:none}html.mobile-ui .vocabulary-hero h1{margin:0;color:#182235;font-size:28px}html.mobile-ui .vocabulary-hero p{margin:6px 0 16px;color:#66768b}html.mobile-ui .vocabulary-search{display:flex;margin:0 0 12px}html.mobile-ui .vocabulary-search input{min-width:0;flex:1;height:44px;box-sizing:border-box;border:1px solid #b9cada;border-radius:10px 0 0 10px;padding:8px;background:#fff;color:#182235;font:inherit}html.mobile-ui .vocabulary-search button{border-radius:0 10px 10px 0!important}html.mobile-ui .vocabulary-filters{display:flex;gap:8px;align-items:center;margin:0 0 14px}html.mobile-ui .vocabulary-filters>div:first-child{display:grid;grid-template-columns:repeat(3,1fr);flex:1;gap:5px}html.mobile-ui .vocabulary-filters a{padding:9px 4px;border:1px solid #d4e0ea;border-radius:8px;color:#52667a;text-align:center;text-decoration:none;font-size:13px}html.mobile-ui .vocabulary-filters a.active{background:#e5f8ff;border-color:#00aeea;color:#008fca;font-weight:700}html.mobile-ui .vocabulary-filters form{flex:none}html.mobile-ui .vocabulary-filters select{height:36px;max-width:92px;border:1px solid #c5d3e0;border-radius:8px;background:#fff;color:#182235}html.mobile-ui .view-toggle{display:none}html.mobile-ui .vocabulary-items{display:grid;grid-template-columns:1fr;gap:12px}html.mobile-ui .vocabulary-card{padding:15px}html.mobile-ui .vocabulary-card header{display:flex;justify-content:space-between;gap:10px}html.mobile-ui .vocabulary-card h2{margin:0;color:#182235;font-size:25px}html.mobile-ui .vocabulary-card header p{margin:4px 0;color:#6c7c8d}html.mobile-ui .vocabulary-card .state{padding:4px 8px;border:1px solid #00aeea;border-radius:8px;color:#008fca;font-size:13px}html.mobile-ui .vocabulary-card .definition{margin:12px 0;padding:10px;border-radius:8px;background:#f0f5f9;color:#26394c}html.mobile-ui .vocabulary-card .definition b{display:block;margin-bottom:3px;color:#597188}html.mobile-ui .vocabulary-card .example{display:flex;gap:9px;padding:9px;border:1px solid #b7e6fc;border-radius:9px;background:#effaff;color:#24445b;text-decoration:none;overflow-wrap:anywhere}html.mobile-ui .vocabulary-card .example span{color:#00aeea}html.mobile-ui .vocabulary-card footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}html.mobile-ui .vocabulary-card .review{margin-left:auto}html.mobile-ui .vocabulary-card .edit-form{display:flex;flex-basis:100%;flex-wrap:wrap;gap:7px}html.mobile-ui .vocabulary-card .edit-form[hidden]{display:none}html.mobile-ui .vocabulary-card .edit-form label{display:grid;gap:3px;flex:1;min-width:120px;font-size:13px}html.mobile-ui .vocabulary-card .edit-form input,html.mobile-ui .vocabulary-card .edit-form select{min-height:38px;box-sizing:border-box;border:1px solid #bdcede;border-radius:7px;padding:5px;background:#fff;color:#182235;font:inherit}
html.mobile-ui .page-status main>ul{display:grid;gap:10px;padding:0;list-style:none}html.mobile-ui .page-status main>ul li{padding:15px;color:#26394c;border:1px solid #d8e4ee;border-radius:12px;background:#fff}html.mobile-ui .page-status main pre{padding:12px;color:#26394c;border-radius:10px;background:#fff;overflow:auto}
html.mobile-ui #review-page{margin:-18px -16px 0;background:#f3f6fa;color:#18191c;padding:16px 16px 0}html.mobile-ui #review-page .review-heading{margin:0 0 16px;gap:12px}html.mobile-ui #review-page .review-heading h1{font-size:29px}html.mobile-ui #review-page .review-heading h1+p{display:block;margin:7px 0 0;padding:0;border:0;font-size:15px}html.mobile-ui #review-page .review-list{padding:14px;border-radius:14px}html.mobile-ui #review-page .review-cards{grid-template-columns:1fr;gap:12px}html.mobile-ui #review-page .review-card{padding:15px}html.mobile-ui #review-page .review-card h3{font-size:22px}html.mobile-ui #review-page .review-card__preview{margin:12px 0;min-height:0}html.mobile-ui #review-page .review-conversation{height:calc(var(--mobile-vh,100dvh) - 76px);min-height:0;margin:0 -16px;padding:14px 16px 0;border:0;border-radius:0;background:#f3f6fa}html.mobile-ui #review-page .conversation-header{margin-bottom:10px;gap:12px}html.mobile-ui #review-page .conversation-header h1{font-size:22px}html.mobile-ui #review-page .conversation-context{margin-bottom:8px}html.mobile-ui #review-page .conversation-context summary{padding:9px 12px}html.mobile-ui #review-page .conversation-context pre{max-height:120px;padding:0 12px 10px}html.mobile-ui #review-page .conversation-body{min-height:0;border-radius:12px}html.mobile-ui #review-page .messages{padding:13px}html.mobile-ui #review-page .message{gap:8px;margin-bottom:15px}html.mobile-ui #review-page .message__avatar{flex-basis:32px;width:32px;height:32px;font-size:12px}html.mobile-ui #review-page .message__avatar svg{width:27px}html.mobile-ui #review-page .message__content{max-width:calc(100% - 40px)}html.mobile-ui #review-page .message__markdown{padding:10px 12px;font-size:15px}html.mobile-ui #review-page .conversation-body form{gap:8px;padding:9px}html.mobile-ui #review-page .conversation-body input{height:44px;padding:0 10px}html.mobile-ui #review-page .conversation-body button{min-width:60px;padding:0 12px}html.mobile-ui body.chat-active .mobile-bottom-nav{display:none}html.mobile-ui body.chat-active main{padding-bottom:0}
html.mobile-ui .page-player{background:#f4f7fb;color:#182235}html.mobile-ui .page-player main{padding:12px 12px 24px}html.mobile-ui .page-player .mobile-bottom-nav{display:none}html.mobile-ui #player{font-family:system-ui,sans-serif;color-scheme:dark;color:#edf2f7;background:#101828;border-radius:13px;padding:12px;box-shadow:0 3px 14px #17223522}html.mobile-ui #player h1{margin:0 0 10px;color:#edf2f7;font-size:21px}html.mobile-ui #player>.controls{padding:12px 0}html.mobile-ui #player>.controls button,html.mobile-ui #player>.controls label{min-height:44px;box-sizing:border-box;border-radius:8px}html.mobile-ui #player>.controls button{border:0;padding:8px 11px;background:#e7f6fc;color:#16445d}html.mobile-ui #player>.controls label{display:flex;align-items:center;gap:5px;padding:6px 8px;background:#fff;color:#17223a}html.mobile-ui #player>#caption,html.mobile-ui #player>#dictionary,html.mobile-ui #player>#caption-notice,html.mobile-ui #player>#cue-list{color:#17223a;background:#fff;border-radius:10px}html.mobile-ui #player>#caption{background:#e9f8ff}html.mobile-ui #player>#caption button{color:#174a67}html.mobile-ui #player>#cue-list{padding:12px 28px}html.mobile-ui #player>#caption-notice{padding:8px}
@media (min-width:600px){html.mobile-ui main{max-width:560px;margin:auto}html.mobile-ui #review-page{max-width:none}}
html.mobile-ui #player{background:#fff}html.mobile-ui #player>h1{color:#182235}html.mobile-ui #player>.controls{align-items:flex-start}html.mobile-ui #player>.controls label{white-space:nowrap;min-width:0;flex:1 1 118px}html.mobile-ui #player>.controls label input[type="range"]{min-width:0;width:76px;max-width:100%}html.mobile-ui #player>#caption-notice:empty,html.mobile-ui #player>#cue-list:empty{display:none}
html.mobile-ui #review-page .conversation-body form{padding-bottom:calc(9px + env(safe-area-inset-bottom))}
html.mobile-ui .vocabulary-card header{align-items:flex-start}html.mobile-ui .vocabulary-card .example small{display:block;margin-bottom:3px}
