/* VERSION HISTORY
2026-10-20 EDT | chatgpt_codex / Codex / carousel-bot-pages-20261020 | Created individual-bot video page styles, derived from bot-gallery.css; preserve Courses-style sibling chip navigation. Explicit user correction, HUB3171.
2026-10-20 EDT | chatgpt_codex / Codex / bot-captions-search-20261020 | Search field with matching video count; image precedes below-image name/category in source. User request, HUB3171.
*/
body.bot-gallery-page{background:#000;color:#f4f4f4}
.bot-gallery-page main{background:#000;min-height:65vh}
.gallery-shell{max-width:1320px;margin:auto;padding:30px 32px 64px}
.gallery-columns{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.35fr);gap:40px;align-items:start}
.gallery-portrait-column{align-self:stretch;min-width:0}
.gallery-character{position:sticky;top:24px;height:calc(100svh - 200px);max-height:1000px;display:flex;flex-direction:column;align-items:center;text-align:center;background:#000;min-width:0}
.gallery-character h1{font:700 30px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:0 0 5px;letter-spacing:-.03em}
.gallery-character p{font-size:14px;color:#aaa;margin:0}
.gallery-portrait{width:100%;height:0;min-height:0;flex:1;object-fit:contain;display:block;margin:14px auto;background:#000}
.gallery-feed{min-width:0}
.gallery-feed-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.gallery-search{box-sizing:border-box;flex:1;min-width:0;width:100%;min-height:44px;padding:10px 12px;border:1px solid #393939;border-radius:8px;background:#111;color:#f4f4f4;font:16px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.gallery-search::placeholder{color:#aaa;opacity:1}
.gallery-search:focus-visible{outline:3px solid #7fd4ff;outline-offset:3px}
.gallery-empty{color:#aaa;font-size:15px;margin:20px 0}
.gallery-card[hidden],.gallery-empty[hidden]{display:none!important}
.gallery-feed-head h2{font:600 19px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:0}
.gallery-count{font-size:13px;color:#aaa;white-space:nowrap}
.gallery-card{margin:0 0 32px;padding-bottom:26px;border-bottom:1px solid #262626}
.gallery-player{position:relative;background:#090909;aspect-ratio:16/9;border:1px solid #2a2a2a;border-radius:10px;overflow:hidden}
.gallery-player video{display:block;width:100%;height:100%;object-fit:contain;background:#000}
.gallery-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;border:1px solid #ffffff70;background:#000b;color:#fff;font-size:26px;cursor:pointer;display:grid;place-items:center;padding-left:5px}
.gallery-play:hover{background:#ffd700;color:#000;border-color:#ffd700}
.gallery-play:focus-visible{outline:3px solid #7fd4ff;outline-offset:3px}
.gallery-play[hidden],.gallery-error[hidden]{display:none!important}
.gallery-card h3{font:600 20px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;margin:14px 0 5px;letter-spacing:0}
.gallery-card p{color:#aaa;font-size:14px;margin:0;line-height:1.5}
.gallery-error{color:#ffb4a8!important;margin-top:12px!important}
.bot-gallery-page .site-footer,.bot-gallery-page .news-notice{background:#000}
.bot-watch-page #video-sources{text-align:center;padding:2rem 0;overflow-wrap:anywhere}
.bot-watch-page #video-sources h2{font:inherit;font-weight:700;color:inherit;letter-spacing:normal}
.bot-watch-page #video-sources a{color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){
 .gallery-shell{padding:24px 16px 40px}
 .gallery-columns{grid-template-columns:minmax(105px,.55fr) minmax(0,1fr);gap:14px}
 .gallery-character{top:20px;height:auto;max-height:none}
 .gallery-character h1{font-size:23px}.gallery-character p{font-size:12px}
 .gallery-portrait{margin:12px 0;height:auto;flex:none;max-height:calc(100svh - 240px)}
 .gallery-feed-head{display:flex;gap:8px}.gallery-feed-head h2{font-size:17px}
 .gallery-count{display:block;font-size:12px;margin-top:0}.gallery-card h3{font-size:16px;margin-top:10px}.gallery-card p{font-size:12px}
 .gallery-play{width:46px;height:46px;font-size:21px}.gallery-player{border-radius:7px}.gallery-card{margin-bottom:22px;padding-bottom:20px}
}
