:root{color-scheme:light;--navy:#102b47;--gold:#b88112;--pale:#ffdc89}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;color:var(--navy);background:#e9f2fa;font:17px/1.5 system-ui,sans-serif}header{background:var(--navy);color:#fff;padding:28px max(5vw,20px)}header a{color:var(--pale)}h1{font-size:clamp(28px,4vw,44px);margin:8px 0}header p{max-width:760px}main{max-width:1280px;margin:auto;padding:24px}.filters{display:flex;gap:16px;flex-wrap:wrap;align-items:end}.filters label{display:grid;gap:5px;flex:1;min-width:180px}.button,button,input,select{font:inherit;padding:10px 14px;border:1px solid #7a94b0;border-radius:8px;background:#fff;color:var(--navy)}.button,button,select{min-height:44px}.button,button{cursor:pointer}button{touch-action:manipulation}a{color:#185e89}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d59c27;outline-offset:3px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:22px}.card{background:#fff;border:1px solid #a9bfd5;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}.card img{width:100%;aspect-ratio:16/10;object-fit:contain;background:var(--navy)}.body{padding:20px;display:flex;flex-direction:column;flex:1}.body h2{font-size:21px;margin:8px 0}.meta{font-size:14px;color:#173d60}.body .button,.body button{margin-top:auto;text-align:center;text-decoration:none;background:var(--navy);color:#fff}footer{padding:24px 0}.count{margin:20px 0}.release-id{font-size:13px;color:#244766}dialog#player{padding:0;width:min(1100px,96vw);max-width:none;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border:1px solid #6787a7;border-radius:14px;background:var(--navy);color:#fff;overflow:hidden}dialog::backdrop{background:#000b}#player-shell{display:flex;flex-direction:column;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);background:var(--navy);color:#fff;overflow:hidden}.player-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #5c7893;z-index:3}.player-head h2{font-size:18px;line-height:1.25;margin:0;min-width:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.close-video{flex:none;white-space:nowrap;font-weight:700;border:2px solid var(--pale);background:var(--pale);color:#102b47;min-height:44px;padding:8px 12px;opacity:1;visibility:visible}#video-stage{position:relative;flex:1 1 auto;min-height:70px;max-height:56vh;max-height:56dvh;width:100%;aspect-ratio:1280/900;background:#000;direction:ltr;overflow:hidden}#video{display:block;width:100%;height:100%;min-height:0;object-fit:contain;background:#000;touch-action:manipulation}#video::-webkit-media-controls{display:none!important}#center-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:12px;align-items:center;background:#102b47ee;color:#fff;border:2px solid var(--pale);font-weight:700;font-size:20px;padding:12px 20px;z-index:2}#translated-label{position:absolute;transform:translateX(-50%);color:var(--pale);background:#102b47;border:1px solid #f4cd77;border-radius:4px;font-family:Arial,sans-serif;line-height:1.18;text-align:center;pointer-events:none;overflow-wrap:anywhere;width:max-content;z-index:1}#sentence-captions{flex:none;text-align:center;padding:6px 14px;background:#14344f;border-top:1px solid #426781;min-height:34px;max-height:22vh;overflow:auto;font-size:clamp(15px,1.8vw,21px);line-height:1.3}#sentence-captions p{margin:0;overflow-wrap:anywhere}#caption-translation{color:var(--pale);margin-top:3px!important}.player-controls{flex:none;padding:8px 14px 12px;background:var(--navy);border-top:1px solid #426781}.transport{display:grid;grid-template-columns:auto minmax(55px,1fr) auto;align-items:center;gap:12px;margin-bottom:7px}#play-pause{min-width:82px;font-weight:700}#seek{padding:0;width:100%;min-width:0;height:44px;accent-color:#f4cd77;cursor:pointer}#time{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}.options{display:grid;grid-template-columns:minmax(110px,1fr) minmax(68px,.45fr) auto;gap:12px;align-items:end}.options label{min-width:0;display:grid;gap:2px}.options label span{font-size:13px;line-height:1.2}.options select{width:100%;min-width:0;padding:6px 8px}#fullscreen{max-width:190px;padding:7px 12px}#player-status{flex:none;background:#fff4d4;color:#102b47;padding:7px 14px;font-size:15px;display:flex;gap:12px;align-items:center;justify-content:space-between}#retry{flex:none}#lesson-details{flex:none;padding:0 14px 8px;font-size:13px;max-height:16vh;overflow:auto}#lesson-details summary{cursor:pointer;min-height:24px}#lesson-details p{margin:7px 0}.translation-note{color:var(--pale)}#player.is-expanded{position:fixed;inset:0;margin:0;width:100%;height:100vh;height:100dvh;max-height:none;border:0;border-radius:0}#player-shell:fullscreen,#player.is-expanded #player-shell{width:100%;height:100vh;height:100dvh;max-height:none;border-radius:0;padding-top:env(safe-area-inset-top,0);padding-bottom:env(safe-area-inset-bottom,0);padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0)}#player-shell:-webkit-full-screen{width:100%;height:100%;max-height:none;background:var(--navy)}#player-shell:fullscreen #video-stage,#player.is-expanded #video-stage{max-height:none;aspect-ratio:auto;flex:1 1 0;min-height:0}#player-shell:fullscreen #lesson-details,#player.is-expanded #lesson-details{display:none}@media(max-width:600px){main{padding:16px}header{padding:20px 16px}.player-head{gap:8px;padding:8px}.player-head h2{font-size:16px}.close-video{font-size:15px;padding:7px 9px}.player-controls{padding:6px 8px 8px}.transport{gap:6px}.options{gap:7px;grid-template-columns:minmax(100px,1fr) 72px auto}#fullscreen{font-size:15px;max-width:132px;padding:6px 9px}#play-pause{min-width:68px;padding:7px 9px;font-size:15px}#time{font-size:12px}#sentence-captions{font-size:15px;padding:5px 8px}}@media(max-height:500px){.player-head{padding:4px 8px}.player-head h2{font-size:15px}.player-controls{padding:4px 8px}.transport{margin-bottom:0}.options{gap:7px;grid-template-columns:minmax(145px,1fr) minmax(110px,.7fr) auto}.options label{display:flex;align-items:center;gap:5px}.options label span{font-size:12px;max-width:90px}.options select{width:auto;flex:1}.player-controls{display:grid;grid-template-columns:minmax(170px,1fr) minmax(370px,2fr);gap:10px;align-items:center}#sentence-captions{font-size:15px;max-height:26vh}#lesson-details{display:none}}@media(max-height:500px) and (max-width:680px){.player-controls{display:block}.options label{display:grid}.options{grid-template-columns:1fr 72px auto}}