.topic-videos{margin:22px 0 28px;border:1px solid var(--line,#ddd);border-radius:10px;background:var(--bg-panel,#fff);color:var(--text,#333)}
.topic-videos summary{padding:13px 16px;cursor:pointer;font-size:14px;font-weight:500;min-height:44px;box-sizing:border-box}
.topic-videos summary:focus-visible,.topic-videos a:focus-visible,.topic-videos button:focus-visible{outline:2px solid #487c96;outline-offset:3px}
.topic-videos-body{padding:0 16px 15px}.topic-videos-body p{font-size:14px;line-height:1.6}
.topic-video-options{display:flex;flex-wrap:wrap;gap:8px}.topic-video-options a,.topic-video-search button{padding:10px 12px;border:1px solid var(--line,#ddd);border-radius:7px;background:var(--bg,#fafafa);color:inherit;text-decoration:none;font:inherit;font-size:13px;cursor:pointer}
.topic-video-options a:hover{background:var(--bg-panel,#eee)}.topic-video-search{margin-top:16px;display:flex;align-items:end;gap:8px;flex-wrap:wrap}.topic-video-search label{flex:1;min-width:180px;font-size:12px}.topic-video-search input{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px;border:1px solid var(--line,#ccc);border-radius:6px;background:var(--bg,#fff);color:inherit;font:inherit;font-size:14px}
.topic-video-note{opacity:.75;font-size:12px!important;margin-bottom:0}.video-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.topic-video-direct{padding:12px 15px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.topic-video-direct span{font-size:12px;opacity:.75}.topic-play{border:1px solid var(--line,#ddd);border-radius:7px;background:var(--bg,#fff);color:inherit;padding:10px 14px;font:inherit;cursor:pointer}.topic-video-direct a{color:inherit;font-size:13px}
#study-video-player{position:fixed;right:20px;top:80px;width:460px;height:385px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);min-width:280px;min-height:300px;z-index:22000;background:#fff;color:#333;border:1px solid #ccc;border-radius:12px;box-shadow:0 12px 45px #0003;display:flex;flex-direction:column;overflow:hidden;resize:both;font-family:Arial,sans-serif}#study-video-player[hidden]{display:none}#study-video-player.expanded{width:780px;height:560px;right:12px;top:16px}.study-video-header{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f4f4f2;cursor:move;touch-action:none}.study-video-header strong{flex:1;font-size:13px}.study-video-header button{min-width:36px;min-height:36px;border:1px solid #ddd;border-radius:6px;cursor:pointer;background:#fff;color:#333}.study-video-caption{font-size:12px;padding:0 12px;margin:10px 0}#study-video-player iframe{width:100%;flex:1;min-height:150px;border:0;background:#111}#study-video-player footer{padding:10px 12px;font-size:12px}#study-video-player footer small{display:block;margin-top:5px;color:#666}#study-video-player a{color:#28617b}@media(max-width:639px){#study-video-player,#study-video-player.expanded{top:auto;bottom:12px;right:12px;width:calc(100vw - 24px);height:360px;min-width:0;resize:none}.study-video-header{cursor:default}}
.topic-video-direct{align-items:flex-start;flex-direction:column;gap:8px}.topic-video-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.topic-video-similar{font-size:13px;text-underline-offset:3px}.topic-video-choice{font-size:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:100%}.topic-video-choice select{max-width:100%;padding:8px;border:1px solid var(--line,#ccc);border-radius:6px;background:var(--bg,#fff);color:inherit;font:inherit}.topic-video-description{line-height:1.5}
