/*
Theme Name: Unlibog
Description: A responsive video library designed for the Unlibog Videos plugin.
Version: 1.4.1
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: unlibog
*/
:root{--bg:#101415;--panel:#191e20;--raised:#242a2c;--line:#2d3436;--text:#f1f3f3;--muted:#a4aeaf;--accent:#fff;--radius:12px;--sidebar:220px;--header:76px;--admin:0px;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header) + 25px)}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.65}body.admin-bar{--admin:32px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.25;letter-spacing:-.025em}h1{font-size:clamp(27px,3vw,40px)}h2{font-size:24px}h3{font-size:16px}[hidden]{display:none!important}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #c1e2d6;outline-offset:4px}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{clip:auto;width:auto;height:auto;top:12px;left:12px;padding:12px 20px;background:white;color:#111;z-index:10000}
.site-header{position:sticky;top:var(--admin);z-index:90;background:#101415f5;backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.header-inner{min-height:var(--header);display:flex;align-items:center;gap:26px;padding:12px 28px}.header-brand{display:flex;align-items:center;gap:14px;flex-shrink:0;min-width:calc(var(--sidebar) - 22px)}.wordmark{display:inline-flex;align-items:center;gap:9px;font-size:17px;font-weight:850;letter-spacing:-.5px;white-space:nowrap;line-height:1}.brand-domain{font-weight:650;color:#b8c0c0}.brand-emblem{width:31px;height:35px;border-radius:50%;overflow:hidden;background:#fff;display:block;position:relative;flex-shrink:0}.brand-emblem img{max-width:none;width:76px;height:76px;position:absolute;left:-22.5px;top:-14px}.menu-toggle{border:0;border-radius:8px;background:transparent;color:var(--text);width:36px;height:40px;padding:8px;display:grid;place-items:center;flex-shrink:0}.menu-toggle:hover{background:var(--raised)}.nav-icon{flex-shrink:0}.site-search{display:flex;align-items:center;min-width:140px;max-width:560px;flex:1;margin:0 auto;background:#151a1b;border:1px solid #343c3e;border-radius:99px;overflow:hidden}.site-search:focus-within{border-color:#a8b8b5}.site-search input{min-width:0;width:100%;padding:10px 0 10px 20px;background:transparent;color:var(--text);border:0;outline:none;font-size:14px}.site-search input::placeholder{color:#8d999a}.site-search button{align-self:stretch;display:grid;place-items:center;border:0;border-left:1px solid var(--line);color:#d2d8d8;background:#262d2f;padding:10px 19px}.site-search button:hover{background:#353f42}.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.header-actions:empty{display:none}
.site-sidebar{position:fixed;left:0;top:calc(var(--header) + var(--admin));width:var(--sidebar);height:calc(100dvh - var(--header) - var(--admin));overflow:auto;background:#121718;border-right:1px solid var(--line);z-index:80;padding:22px 14px}.primary-nav{display:flex;flex-direction:column;align-items:stretch;gap:5px}.primary-nav>a,.primary-nav>button,#uvd-random.uvd-in-nav,#uvd-recent{display:flex;align-items:center;gap:13px;min-height:43px;padding:10px 13px;margin:0;width:100%;border:1px solid transparent;border-radius:7px;background:transparent;color:#b9c2c3;text-align:left;font-size:13px;font-weight:550;white-space:normal;text-decoration:none}.primary-nav a:hover,.primary-nav button:hover,#uvd-random:hover,#uvd-recent:hover{background:#202729;color:#fff;text-decoration:none}.primary-nav a[aria-current=page]{border-color:#394244;background:#272f31;color:white}.primary-nav a[aria-current=page]::after{content:'';width:4px;height:18px;background:#eef5f3;border-radius:5px;margin-left:auto}.nav-section-label{display:block;margin:18px 10px 6px;padding-top:20px;border-top:1px solid var(--line);font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7f8c8e}#uvd-random::before{content:'⤨';font-size:21px;width:20px;line-height:1;text-align:center}#uvd-random>span{display:none}#uvd-recent::before{content:'↶';font-size:24px;line-height:1;width:20px;text-align:center}.sidebar-note{border-top:1px solid var(--line);margin:25px 10px 0;padding-top:24px}.sidebar-note .eyebrow{font-size:8px;letter-spacing:.12em;display:block;margin-bottom:11px}.sidebar-note p{font-size:17px;line-height:1.5;letter-spacing:-.025em;color:#c5cdcd;margin-bottom:13px}.sidebar-note>span:last-child{font-size:8px;letter-spacing:.14em;color:#6d7a7c}.sidebar-dismiss{position:fixed;inset:var(--header) 0 0;z-index:70;border:0;background:#0009}.site-main,.site-footer,.rta-label-row{margin-left:var(--sidebar)}.site-main{padding:28px 32px 56px;min-height:65vh;min-width:0}.sidebar-closed .site-main,.sidebar-closed .site-footer,.sidebar-closed .rta-label-row{margin-left:0}.site-main>section,.site-main>article{min-width:0}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:2px 0 25px;border-bottom:1px solid var(--line);margin-bottom:25px}.hero h1{font-size:clamp(24px,2.5vw,34px);font-weight:700;margin-bottom:8px}.hero h1 em{font-style:normal;color:#a6b6b2}.hero-description{font-size:13px;color:var(--muted);margin-bottom:0}.eyebrow{color:#8e9e9f;font-size:9px;font-weight:750;letter-spacing:.17em;line-height:1.5;margin-bottom:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:44px;padding:10px 17px;background:#eff2f1;border:1px solid #eff2f1;border-radius:8px;color:#111718;font-weight:700;font-size:13px;white-space:nowrap}.button:hover{background:#cad8d3;border-color:#cad8d3}.hero-explore{background:transparent;border-color:#46504f;color:#e1e8e6}.hero-explore:hover{color:#111}.hero-explore span{font-size:19px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h1,.section-heading h2{margin:0}.section-heading h2{font-size:22px}.section-heading .eyebrow{margin-bottom:5px}.text-link{font-size:13px;color:var(--muted)}.text-link:hover{color:white}.category-list{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 22px}.chip{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 14px;border:1px solid #354042;border-radius:99px;color:#cbd2d2;background:#22292b;font-size:12px;font-weight:550}.chip:hover{background:#343e41;border-color:#75817f;color:white}.chip.active{background:#f0f3f2;color:#151919;border-color:#f0f3f2}.video-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 18px}.video-card{min-width:0;display:flex;flex-direction:column}.card-art{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#20282a;border:1px solid #ffffff0b}.card-art img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .22s}.card-art:hover img{transform:scale(1.035)}.art-placeholder{height:100%;display:grid;place-items:center;background:linear-gradient(140deg,#344245,#171d1f);font-size:42px;font-weight:850;letter-spacing:-3px;color:#9cacab}.art-placeholder .accent{color:white}.play-circle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;padding-left:3px;background:#0b1114c9;color:#fff;font-size:15px;opacity:0;transition:opacity .2s}.card-art:hover .play-circle,.card-art:focus-visible .play-circle{opacity:1}.duration{position:absolute;right:7px;bottom:7px;padding:1px 6px;border-radius:4px;background:#080c10df;color:white;font-size:11px;font-weight:700}.video-card h3{font-size:14px;font-weight:650;line-height:1.45;margin:10px 0 5px;overflow-wrap:anywhere;order:1;letter-spacing:-.01em}.video-card h3 a:hover{color:#c5ded4}.card-meta{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0;color:#97a5a6;font-size:10px;order:2}.card-meta span{overflow-wrap:anywhere}.card-meta time{white-space:nowrap}.empty-state{padding:45px 24px;text-align:center;border:1px dashed #3b474a;border-radius:12px;background:#161c1e}.empty-symbol{display:grid;place-items:center;margin:0 auto 18px;width:54px;height:54px;border:1px solid #485651;border-radius:14px;color:#b7d1c5;font-size:30px}.empty-state h2{font-size:23px}.empty-state p{color:var(--muted);font-size:14px}.empty-state .button{margin-top:10px}
#uvd-browse{margin:0 0 20px}#uvd-browse nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap}#uvd-browse .uvd-label{color:#879698;font-size:10px;margin-right:6px;letter-spacing:.08em}#uvd-browse a{display:inline-flex;align-items:center;min-height:38px;padding:7px 14px;border:1px solid var(--line);border-radius:7px;background:#161d1f;color:#c4cece;font-size:12px;font-weight:600}#uvd-browse a:hover{background:#303b3d;color:white}#uvd-browse a[aria-current=page]{background:#dfe8e4;color:#17201d;border-color:#dfe8e4}#uvd-browse p{margin:10px 0 0;color:var(--muted);font-size:12px}.home-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:9px;background:#171e20}.home-pagination-top{margin-bottom:18px}.home-pagination-bottom{margin-top:30px}.video-count,.home-pagination .video-count{margin:0;color:#a7b5b6;font-size:12px}.video-count strong{color:#ecf1ef}.video-count span{white-space:nowrap}.pagination{margin-top:30px}.home-pagination .pagination{margin:0}.nav-links{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.page-numbers{min-width:40px;min-height:40px;display:inline-flex;justify-content:center;align-items:center;padding:7px 12px;border:1px solid #3b4748;border-radius:6px;background:#222b2d;color:#d4dedd;font-size:13px;font-weight:600}.page-numbers.current,a.page-numbers:hover{background:#eef3f1;color:#17201d;border-color:#eef3f1}.page-numbers.dots{background:transparent;border:0;min-width:16px;padding:0}#latest{scroll-margin-top:calc(var(--header) + 25px)}
.site-footer{border-top:1px solid var(--line);background:#111719}.footer-inner{display:flex;align-items:center;flex-wrap:wrap;gap:22px;padding:28px 32px}.footer-inner .wordmark{font-size:16px;letter-spacing:-.5px}.footer-inner>span{font-size:11px;color:#93a0a2}.footer-inner nav{display:flex;flex-wrap:wrap;align-items:center;gap:14px;font-size:11px;color:#acb7b8;margin-left:auto}.footer-inner nav ul{display:flex;flex-wrap:wrap;gap:14px;list-style:none;margin:0;padding:0}.footer-inner nav a:hover{color:white;text-decoration:underline}.footer-inner small{font-size:10px;color:#869496}.rta-label-row{background:#111719;padding:0 32px 28px;text-align:left}.rta-label{display:inline-flex;align-items:center;gap:10px;border:1px solid #3f4a4d;border-radius:4px;padding:6px 10px;color:#aab8b8}.rta-label strong{font-size:18px;letter-spacing:.03em;line-height:1}.rta-label span{font-size:9px;letter-spacing:.06em;text-transform:uppercase}.rta-label:hover{color:white;border-color:#c1ccca}.archive-main{padding-top:34px}.archive-description,.category-intro{max-width:750px;color:var(--muted);font-size:14px}.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.category-card{display:flex;flex-direction:column;align-items:flex-start;min-height:155px;padding:25px;border:1px solid #354144;border-radius:12px;background:linear-gradient(135deg,#222d30,#171e20)}.category-card:hover{border-color:#93a8a1;background:#263235}.category-card h2{font-size:21px;margin-bottom:10px;overflow-wrap:anywhere}.category-card p{font-size:13px;color:var(--muted)}.category-count{margin-top:auto;font-size:12px;color:#b1c1bd}.category-admin{padding:20px;border:1px solid var(--line);background:var(--panel);border-radius:10px;margin-bottom:24px}.category-admin p{font-size:13px;color:#b0bdbb}.prose{max-width:880px;overflow-wrap:anywhere}.prose h1{margin-bottom:28px}.prose h2{font-size:24px;margin-top:32px}.prose a{color:#c4ded2;text-decoration:underline;text-underline-offset:3px}.prose p,.prose li{color:#b7c2c3}.prose img{border-radius:10px}.prose iframe{max-width:100%}.prose input,.prose textarea,.prose select{max-width:100%}.watch-main{padding-top:25px}.back-link{display:inline-flex;font-size:12px;color:var(--muted);margin-bottom:20px}.back-link:hover{color:white}.watch-main>.uv-player-group,.watch-main>.uv-player{max-width:1280px}.uv-player{border-radius:12px!important;overflow:hidden}.watch-info{padding-top:24px;max-width:1280px}.watch-info h1{font-size:clamp(24px,2.5vw,34px);margin:0 0 15px;overflow-wrap:anywhere}.watch-meta{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:18px;font-size:12px;color:var(--muted)}.video-description{margin-bottom:34px;max-width:none}.related{padding-top:30px;border-top:1px solid var(--line);margin-top:34px}.related .section-heading h2{font-size:21px}.error-page{margin:35px 0}.error-page .eyebrow{justify-content:center}
/* Restyle existing plugin controls without changing their behavior. */
.header-actions #uvs-submit-link.uvs-nav-link{position:static;margin:0;display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 14px;border:1px solid #424d4f;border-radius:99px;background:#262f31;color:#f1f4f3;font-size:12px;font-weight:650;white-space:nowrap}.header-actions #uvs-submit-link:hover{background:#394648}.header-actions #uvs-submit-link::before{content:'⊕';font-size:16px;line-height:1}.header-actions #uvs-submit-link>span{display:none}#uv-member-preview{display:inline-flex;align-items:center;gap:6px;margin:0;padding:0}#uv-member-preview button{border:1px solid #354143;border-radius:7px;padding:8px 11px;min-height:38px;background:transparent;color:#c0cdca;font-size:12px}#uv-member-preview button:hover{background:#2b3739;color:white}
#uv-member-dialog,#uvd-history-dialog{background:#192123;color:#f3f6f5;border:1px solid #495655;border-radius:14px;box-shadow:0 24px 100px #0008;padding:28px;max-height:85dvh}#uv-member-dialog::backdrop,#uvd-history-dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}#uv-member-dialog h2,#uvd-history-dialog h2{color:#eef4f1}#uv-member-dialog p,#uvd-history-dialog p{color:#afbfbb}#uv-member-close,#uvd-history-dialog button{background:#293638;color:#edf4f0;border:1px solid #4b6059;border-radius:7px}#uvd-history-list li{border-color:#344440}#uvd-history-list a{color:#edf5ef}#uvd-history-list time{color:#a6b7b2}#uvd-history-dialog a{color:#c1dfd0}#uvd-history-enable{accent-color:#b4d3c6}.uvc-section{max-width:100%;border-color:var(--line);margin-top:30px;padding-top:26px}.uvc-section .uvc-note,.uvc-empty{color:#a8b8b4}.uvc-section h2{font-size:23px}.uvc-section h2 span,.uvc-meta time{color:#93a6a0}.uvc-section form,.uvs-form{background:#192123;border-color:#354441;border-radius:12px}.uvc-section input:not([type=submit]),.uvc-section textarea,.uvs-form input,.uvs-form textarea,.post-password-form input,.prose select{border:1px solid #4b5c56;border-radius:7px;background:#11191a;color:#ecf3ef;padding:12px 14px}.uvc-section textarea::placeholder,.uvs-form textarea::placeholder,.uvs-form input::placeholder{color:#8d9f98}.uvc-section .uvc-submit,.uvs-send,.post-password-form input[type=submit]{background:#dce8e1;color:#16221d;border:1px solid #dce8e1;border-radius:7px;font-weight:700}.uvs-send:hover{background:#bad0c2}.uvc-list li{border-color:#344440}.uvc-text{color:#b9c8c1}.uvc-message,.uvs-message{background:#263a30;color:#dce8e0;border-color:#517362}.uvs-intro,.uvs-note,.uvs-form small{color:#a8b8b2}.uvs-wrap{margin:0;max-width:800px}.uv-player-tabs{gap:8px}.uv-player-choice{background:#212c2e;color:#c8d8d2;border:1px solid #41554c;border-radius:7px;font-size:13px;padding:9px 18px;min-height:40px}.uv-player-choice:hover{background:#34463d;color:white}.uv-player-choice[aria-current=true]{background:#e0ece4;color:#18261f;border-color:#e0ece4}.uv-player-hint{color:#97aba1;font-size:12px}.uv-player-unload,.uv-player-load{background:#25352c;color:#e4eee6;border:1px solid #496050;border-radius:7px;font-size:12px}.uv-player-empty{background:#192123!important;color:#b8c9bf!important;border:1px dashed #42544a!important}.prose input[type=checkbox]{width:auto;accent-color:#b4d3c6}.uvc-section input:focus,.uvc-section textarea:focus,.uvs-form input:focus,.uvs-form textarea:focus,#uvd-history-dialog :focus-visible,#uvd-recent:focus-visible,#uvd-random:focus-visible,#uvd-browse a:focus-visible,#uv-member-preview button:focus-visible,#uv-member-close:focus-visible{outline:2px solid #c1e2d6;outline-offset:4px}
@media(min-width:1700px){.site-main{padding-left:42px;padding-right:42px}.video-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.related .video-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1250px){:root{--sidebar:195px}.header-inner{gap:16px;padding-left:20px;padding-right:20px}.header-brand{gap:10px}.wordmark{font-size:15px}.site-main{padding-left:24px;padding-right:24px}.header-actions{gap:8px}.video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){.header-brand{min-width:auto}.hero{flex-wrap:wrap}.hero-explore{min-height:38px;padding:7px 12px;font-size:12px}.header-actions #uvs-submit-link.uvs-nav-link{padding:8px 10px}.header-actions{gap:6px}#uv-member-preview button{padding:8px 9px}.site-search{max-width:none}.brand-domain{display:none}}
@media(max-width:900px){:root{--header:116px;--sidebar:220px}.header-inner{min-height:var(--header);flex-wrap:wrap;gap:10px 16px;padding:10px 20px}.header-brand{margin-right:auto}.wordmark{font-size:16px}.brand-domain{display:inline}.header-actions{margin-left:auto}.site-search{flex-basis:100%;width:100%;max-width:none;order:3}.site-search input{padding-top:8px;padding-bottom:8px}.site-search button{padding-top:8px;padding-bottom:8px}.site-main,.site-footer,.rta-label-row{margin-left:0}.site-main{padding:24px 20px 40px}.site-sidebar{box-shadow:15px 0 60px #0007;z-index:85}.sidebar-dismiss{top:calc(var(--header) + var(--admin))}.hero{padding-bottom:20px;margin-bottom:22px}.hero h1{font-size:27px}.footer-inner{padding:26px 20px}.rta-label-row{padding-left:20px}.ui-ready.sidebar-open .site-sidebar{max-height:calc(100dvh - var(--header) - var(--admin))}body:not(.ui-ready) .site-sidebar{position:static;width:auto;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:12px 20px}body:not(.ui-ready) .primary-nav{flex-direction:row;flex-wrap:wrap}body:not(.ui-ready) .primary-nav>a{width:auto}body:not(.ui-ready) .sidebar-note,body:not(.ui-ready) .nav-section-label{display:none}}
@media(max-width:782px){body.admin-bar{--admin:46px}.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-pagination{padding:12px}.home-pagination .video-count{font-size:11px}.footer-inner nav{width:100%;margin:0}}
@media(max-width:600px){body.admin-bar .site-header{position:relative;top:0}body.admin-bar .site-sidebar{top:var(--header);height:calc(100dvh - var(--header))}.header-inner{padding-left:12px;padding-right:12px;gap:8px}.header-brand{gap:5px}.menu-toggle{width:32px}.brand-emblem{display:none}.wordmark{font-size:14px}.brand-domain{display:none}.header-actions{gap:5px}.header-actions #uvs-submit-link.uvs-nav-link{font-size:10px;padding:7px 9px;min-height:34px}.header-actions #uvs-submit-link::before{display:none}#uv-member-preview{gap:4px}#uv-member-preview button{font-size:10px;min-height:34px;padding:7px 8px}.site-main{padding:20px 14px 36px}.hero h1{font-size:25px;max-width:330px}.hero-description{font-size:12px;max-width:300px}.section-heading h2{font-size:21px}.category-list{gap:7px}.chip{font-size:11px;padding:6px 12px}.video-grid{gap:22px 12px}.video-card h3{font-size:13px;margin-top:8px}.card-meta{font-size:9px;flex-wrap:wrap;gap:2px 6px}.card-art{border-radius:8px}.duration{font-size:10px;padding:1px 5px;right:5px;bottom:5px}.home-pagination{gap:10px}.home-pagination .page-numbers{min-height:38px;min-width:36px;padding:7px 10px}.home-pagination .nav-links{gap:5px}#uvd-browse .uvd-label{width:auto;margin-right:4px;font-size:9px}#uvd-browse a{font-size:11px;min-height:36px;padding:7px 10px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-card{padding:18px;min-height:130px}.category-card h2{font-size:18px}.category-admin{padding:16px}.watch-info h1{font-size:24px}.footer-inner{padding:24px 16px;gap:16px}.footer-inner>span{font-size:10px}.footer-inner nav,.footer-inner nav ul{gap:12px}.rta-label-row{padding-left:16px}#uv-member-dialog,#uvd-history-dialog{padding:22px}.uvc-section form,.uvs-form{padding:18px}.uvc-section h2{font-size:23px}.uv-player-tabs{gap:7px}.uv-player-choice{min-height:40px;padding:8px 16px}}
@media(max-width:350px){.video-grid,.category-grid{grid-template-columns:1fr}.header-brand .wordmark{font-size:12px}.header-inner{padding-left:8px;padding-right:8px}.header-actions #uvs-submit-link.uvs-nav-link{padding:7px}.hero h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
.uv-report-form input:not([type=checkbox]),.uv-report-form select,.uv-report-form textarea{background:#11191a;border-color:#4b5c56;color:#ecf3ef;border-radius:7px}.uv-report-form details{border-color:#354441;background:#192123;border-radius:9px}.uv-report-form .report-note{color:#a8b8b2}.report-message{background:#263a30;border-color:#517362;color:#dce8e0}.uv-report-form .button{color:#16221d;background:#dce8e1}
.site-sidebar{scrollbar-width:thin;scrollbar-color:#3b4648 transparent}#latest-title{font-size:24px}.library+.hero{margin:36px 0 0;padding:28px 0 0;border-top:1px solid var(--line);border-bottom:0}.hero h2{font-size:25px;margin-bottom:8px}.hero h2 em{font-style:normal;color:#a6b6b2}
@media(max-width:900px){.category-list{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#46534f transparent}.category-list .chip{flex-shrink:0}}

/* Clear branding, one pager, and a visitor-controlled color scheme. */
:root{--header:88px;--focus:#c1e2d6}
.header-inner{gap:18px;padding:12px 24px}
.header-brand{min-width:0;gap:12px}
.wordmark,.header-brand .wordmark{font-size:21px;gap:12px;letter-spacing:-.6px}
.brand-emblem{display:block;width:52px;height:52px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #ffffff25}
.brand-emblem img{width:235%;height:235%;left:-67.5%;top:-43%;max-width:none}
.brand-domain{display:inline;color:var(--muted);font-size:.8em}
.menu-toggle{width:40px;height:44px}
.color-mode-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:80px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--raised);color:var(--text);font-size:12px;font-weight:650;flex-shrink:0}
.color-mode-toggle:hover{border-color:var(--muted)}
.mode-symbol{font-size:23px;line-height:1}
.sidebar-brand{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:22px;font-size:17px}
.sidebar-brand .brand-emblem{width:60px;height:60px}
.footer-inner .wordmark{font-size:20px;gap:12px}
.footer-brand .brand-emblem{width:48px;height:48px}
.home-pagination-bottom{justify-content:center;gap:18px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:var(--focus)}
@media(min-width:901px) and (max-width:1250px){.header-inner{gap:12px;padding-left:16px;padding-right:16px}.header-brand{gap:6px}.header-brand .wordmark{font-size:18px;gap:9px}.header-brand .brand-domain{display:none}.brand-emblem{width:46px;height:46px}.color-mode-toggle{min-width:44px;padding:8px}.color-mode-toggle .mode-label{display:none}.site-search{min-width:100px}.header-actions{gap:6px}}
@media(max-width:900px){:root{--header:166px}.header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px 40px 38px;gap:8px 12px;padding:12px 16px;min-height:var(--header)}.header-brand{grid-column:1;grid-row:1;margin:0;gap:10px}.header-brand .wordmark{font-size:20px;gap:10px}.brand-emblem{display:block;width:46px;height:46px}.header-brand .brand-domain{display:inline}.color-mode-toggle{grid-column:2;grid-row:1;min-width:76px;height:42px}.site-search{grid-column:1/-1;grid-row:2;order:0;margin:0;width:100%;height:40px}.header-actions{grid-column:1/-1;grid-row:3;justify-content:flex-end;gap:10px;width:100%;margin:0}.header-actions #uvs-submit-link.uvs-nav-link{margin-right:auto;font-size:12px;min-height:38px;padding:8px 14px}.header-actions #uvs-submit-link::before{display:inline}.header-actions #uv-member-preview{gap:8px}.header-actions #uv-member-preview button{font-size:12px;min-height:38px;padding:8px 13px}.footer-inner .wordmark{font-size:20px}.sidebar-brand .brand-emblem{display:block}.home-pagination-bottom{flex-direction:column;text-align:center}.home-pagination .nav-links{justify-content:center}}
@media(max-width:380px){.header-inner{padding-left:12px;padding-right:12px;gap:8px}.header-brand{gap:5px}.header-brand .wordmark{font-size:18px;gap:7px}.header-brand .brand-domain{display:none}.color-mode-toggle{min-width:68px;padding:7px}.menu-toggle{width:34px}.header-actions #uvs-submit-link.uvs-nav-link{padding:8px 10px}.header-actions #uv-member-preview button{padding:8px 10px}}
:root[data-color-mode=light]{color-scheme:light;--bg:#f7f9fa;--panel:#fff;--raised:#eaf0f2;--line:#ccd6da;--text:#172126;--muted:#52656e;--accent:#172126;--focus:#08705b}
[data-color-mode=light] .site-header{background:#fffffff5}
[data-color-mode=light] .site-sidebar,[data-color-mode=light] .site-footer,[data-color-mode=light] .rta-label-row{background:#fff}
[data-color-mode=light] .site-search{background:#f2f6f7;border-color:#c5d1d6}
[data-color-mode=light] .site-search button{background:#e7eef0;color:#243e49}
[data-color-mode=light] .site-search input::placeholder{color:#586c75}
[data-color-mode=light] .site-search button:hover,[data-color-mode=light] .primary-nav a:hover,[data-color-mode=light] .primary-nav button:hover,[data-color-mode=light] #uvd-random:hover,[data-color-mode=light] #uvd-recent:hover{background:#eaf0f2;color:#172126}
[data-color-mode=light] .primary-nav>a,[data-color-mode=light] .primary-nav>button,[data-color-mode=light] #uvd-random.uvd-in-nav,[data-color-mode=light] #uvd-recent{color:#354c56}
[data-color-mode=light] .primary-nav a[aria-current=page]{background:#e3eeeb;border-color:#bdd0c9;color:#143d31}
[data-color-mode=light] .primary-nav a[aria-current=page]::after{background:#246451}
[data-color-mode=light] .sidebar-note p,[data-color-mode=light] .hero h2 em,[data-color-mode=light] .category-count,[data-color-mode=light] .category-admin p{color:#3c6256}
[data-color-mode=light] .eyebrow,[data-color-mode=light] .nav-section-label,[data-color-mode=light] .sidebar-note>span:last-child,[data-color-mode=light] .card-meta,[data-color-mode=light] .footer-inner>span,[data-color-mode=light] .footer-inner small,[data-color-mode=light] .footer-inner nav,[data-color-mode=light] #uvd-browse .uvd-label{color:#52656e}
[data-color-mode=light] .brand-emblem{box-shadow:0 0 0 1px #aebbc0}
[data-color-mode=light] .chip,[data-color-mode=light] #uvd-browse a,[data-color-mode=light] .page-numbers{background:#fff;color:#304852;border-color:#c5d1d6}
[data-color-mode=light] .chip:hover,[data-color-mode=light] #uvd-browse a:hover{background:#e3ecef;color:#172126}
[data-color-mode=light] .chip.active,[data-color-mode=light] #uvd-browse a[aria-current=page],[data-color-mode=light] .page-numbers.current,[data-color-mode=light] a.page-numbers:hover{background:#233e36;color:#fff;border-color:#233e36}
[data-color-mode=light] .home-pagination,[data-color-mode=light] .empty-state{background:#fff}
[data-color-mode=light] .video-count,[data-color-mode=light] .home-pagination .video-count{color:#52656e}
[data-color-mode=light] .video-count strong{color:#172126}
[data-color-mode=light] .video-card h3 a:hover,[data-color-mode=light] .text-link:hover,[data-color-mode=light] .back-link:hover,[data-color-mode=light] .footer-inner nav a:hover{color:#12634e}
[data-color-mode=light] .button{background:#233e36;border-color:#233e36;color:#fff}
[data-color-mode=light] .button:hover{background:#365b4f;border-color:#365b4f;color:#fff}
[data-color-mode=light] .hero-explore{background:#fff;color:#233e36;border-color:#9bb7ac}
[data-color-mode=light] .rta-label{color:#3f555f;border-color:#a6b7be}
[data-color-mode=light] .category-card{background:linear-gradient(135deg,#fff,#eaf1f2);border-color:#c2d1d6}
[data-color-mode=light] .category-card:hover{background:#e3eeeb;border-color:#6b9686}
[data-color-mode=light] .prose p,[data-color-mode=light] .prose li,[data-color-mode=light] .uvc-text,[data-color-mode=light] .uvs-intro,[data-color-mode=light] .uvs-note,[data-color-mode=light] .uvs-form small,[data-color-mode=light] .uvc-section .uvc-note,[data-color-mode=light] .uvc-empty,[data-color-mode=light] .uv-player-hint,[data-color-mode=light] .uv-report-form .report-note{color:#445c66}
[data-color-mode=light] .prose a{color:#14654d}
[data-color-mode=light] .header-actions #uvs-submit-link.uvs-nav-link{background:#e3eeeb;border-color:#bdcfc8;color:#193f32}
[data-color-mode=light] .header-actions #uvs-submit-link:hover{background:#cbded6}
[data-color-mode=light] #uv-member-preview button{background:#fff;border-color:#bbcdd4;color:#2d4650}
[data-color-mode=light] #uv-member-preview button:hover{background:#e7eff1;color:#172126}
[data-color-mode=light] #uv-member-dialog,[data-color-mode=light] #uvd-history-dialog{background:#fff;color:#172126;border-color:#becdd2}
[data-color-mode=light] #uv-member-dialog h2,[data-color-mode=light] #uvd-history-dialog h2{color:#172126}
[data-color-mode=light] #uv-member-dialog p,[data-color-mode=light] #uvd-history-dialog p,[data-color-mode=light] #uvd-history-list time{color:#52656e}
[data-color-mode=light] #uv-member-close,[data-color-mode=light] #uvd-history-dialog button{background:#e3eeeb;color:#193f32;border-color:#9db9ae}
[data-color-mode=light] #uvd-history-list a,[data-color-mode=light] #uvd-history-dialog a{color:#14654d}
[data-color-mode=light] #uvd-history-list li,[data-color-mode=light] .uvc-list li{border-color:#ccd6da}
[data-color-mode=light] .uvc-section form,[data-color-mode=light] .uvs-form,[data-color-mode=light] .uv-report-form details{background:#fff;border-color:#c3d3d1}
[data-color-mode=light] .uvc-section input:not([type=submit]),[data-color-mode=light] .uvc-section textarea,[data-color-mode=light] .uvs-form input,[data-color-mode=light] .uvs-form textarea,[data-color-mode=light] .post-password-form input,[data-color-mode=light] .prose select,[data-color-mode=light] .uv-report-form input:not([type=checkbox]),[data-color-mode=light] .uv-report-form select,[data-color-mode=light] .uv-report-form textarea{background:#f8fbfa;color:#172126;border-color:#afc4bb}
[data-color-mode=light] .uvc-section textarea::placeholder,[data-color-mode=light] .uvs-form textarea::placeholder,[data-color-mode=light] .uvs-form input::placeholder{color:#566c61}
[data-color-mode=light] .uvc-section .uvc-submit,[data-color-mode=light] .uvs-send,[data-color-mode=light] .post-password-form input[type=submit],[data-color-mode=light] .uv-report-form .button{background:#233e36;color:#fff;border-color:#233e36}
[data-color-mode=light] .uvc-section h2 span,[data-color-mode=light] .uvc-meta time{color:#526d62}
[data-color-mode=light] .uvc-message,[data-color-mode=light] .uvs-message,[data-color-mode=light] .report-message{background:#e7f3eb;color:#204b35;border-color:#a0c0aa}
[data-color-mode=light] .uv-player-choice,[data-color-mode=light] .uv-player-unload,[data-color-mode=light] .uv-player-load{background:#fff;color:#284f3d;border-color:#a6bdae}
[data-color-mode=light] .uv-player-choice[aria-current=true]{background:#233e36;color:#fff;border-color:#233e36}
[data-color-mode=light] .uv-player-empty{background:#eef4f0!important;color:#365444!important;border-color:#a5bbae!important}
[data-color-mode=light] .uvc-section input:focus,[data-color-mode=light] .uvc-section textarea:focus,[data-color-mode=light] .uvs-form input:focus,[data-color-mode=light] .uvs-form textarea:focus,[data-color-mode=light] #uvd-history-dialog :focus-visible,[data-color-mode=light] #uvd-recent:focus-visible,[data-color-mode=light] #uvd-random:focus-visible,[data-color-mode=light] #uvd-browse a:focus-visible,[data-color-mode=light] #uv-member-preview button:focus-visible,[data-color-mode=light] #uv-member-close:focus-visible{outline-color:var(--focus)}
