.sss-video-library{--sv-copper:#ce8a54;--sv-cream:#f4e7d3;--sv-panel:#22282b;max-width:1440px;margin:0 auto;padding:clamp(2rem,5vw,6rem) clamp(1.2rem,4vw,4.5rem);color:#f4e7d3;background:#14191b;font-family:Georgia,serif}
.sss-video-library-head{padding-bottom:2.3rem;border-bottom:1px solid #ffffff29}.sss-video-library-head h1{font-size:clamp(2.6rem,6vw,5.5rem);line-height:1.06;color:#f4e7d3;margin:.65rem 0 1rem}.sss-video-library-head p{font-size:clamp(1rem,1.5vw,1.2rem);color:#d8c6b1;max-width:680px}
.sss-video-feature{padding-top:2.5rem}.sss-video-screen{width:100%;aspect-ratio:16/9;max-height:76vh;background:#050709;border:1px solid #886044;overflow:hidden;border-radius:10px}.sss-video-screen iframe{display:block;width:100%;height:100%;border:0}.sss-video-first-screen{position:relative;width:100%;height:100%;display:grid;place-items:center}.sss-video-first-screen img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;filter:brightness(.53)}.sss-video-main-play{position:relative;border:1px solid #e1b581;border-radius:8px;background:#9e5734;color:#fff5e8;font-size:clamp(1rem,2.2vw,1.4rem);padding:1rem 1.4rem;cursor:pointer;box-shadow:0 10px 40px #0009}.sss-video-main-play:hover{background:#b96b44}.sss-video-current{display:flex;align-items:baseline;gap:1rem;flex-wrap:wrap;padding:1.2rem 0 1.7rem}.sss-video-current h2{font-size:clamp(1.4rem,2.3vw,2rem);margin:0;color:#f4e7d3}.sss-video-current p{flex-basis:100%;margin:0;color:#d4c4b8}.sss-video-current p:empty{display:none}.sss-video-current a{font:600 .88rem system-ui,sans-serif;color:#e6b77b;margin-left:auto}
.sss-video-filters{display:flex;gap:.55rem;overflow-x:auto;padding:1rem 0;scrollbar-width:thin}.sss-video-filters button{white-space:nowrap;border:1px solid #9d7358;border-radius:24px;padding:.65rem 1.1rem;background:#252725;color:#e7d9c9;cursor:pointer;font:.83rem system-ui,sans-serif}.sss-video-filters button.is-selected{background:#c38556;border-color:#c38556;color:#15191b;font-weight:700}
.sss-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:1rem 0 2rem}.sss-video-card{display:block;text-align:left;background:#222427;border:1px solid #70523f;border-radius:9px;color:#f0dfcc;overflow:hidden;cursor:pointer;padding:0}.sss-video-card[hidden]{display:none}.sss-video-card.is-active{outline:2px solid #d09b69;outline-offset:2px}.sss-video-card:hover{border-color:#ce9e6d;transform:translateY(-2px)}.sss-video-thumb{position:relative;display:block;aspect-ratio:16/9;background:#000}.sss-video-thumb img{width:100%;height:100%;object-fit:cover}.sss-video-thumb>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#000b;border-radius:50%;width:52px;height:52px;display:grid;place-items:center;color:white}.sss-video-card-content{padding:1rem;display:grid;gap:.55rem}.sss-video-card-content small{text-transform:uppercase;letter-spacing:.13em;font:bold .69rem system-ui,sans-serif;color:#dfaa74}.sss-video-card-content strong{font:600 1rem/1.35 Georgia,serif;color:#fff2e0}.sss-video-footer{padding:2rem 0}.sss-video-empty{padding:4rem 1rem;text-align:center;border:1px dashed #8f7058}.sss-video-empty h2{color:#f4e7d3}.sss-video-empty p{color:#d8c6b1}
.sss-mode-day .sss-video-library{background:#f5ebdc;color:#33261e}.sss-mode-day .sss-video-library-head h1,.sss-mode-day .sss-video-current h2,.sss-mode-day .sss-video-card-content strong{color:#322218}.sss-mode-day .sss-video-library-head p,.sss-mode-day .sss-video-current p{color:#645044}.sss-mode-day .sss-video-card{background:#fff8ed;color:#3c2b20;border-color:#baa78e}.sss-mode-day .sss-video-filters button{background:#fdf8ec;color:#4b3426}.sss-mode-day .sss-video-filters button.is-selected{background:#9e5734;color:#fff}.sss-mode-day .sss-video-empty h2{color:#33261e}
@media(max-width:850px){.sss-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.sss-video-grid{grid-template-columns:1fr}.sss-video-library{padding:1.4rem 1rem}.sss-video-current a{margin-left:0}}
@media print{.sss-video-screen,.sss-video-filters,.sss-video-main-play{display:none}.sss-video-library{color:#111;background:white}.sss-video-card{break-inside:avoid}}

/* The selected video follows readers while they browse the gallery. */
.sss-video-screen{scroll-margin-top:96px}
.sss-video-placeholder{aspect-ratio:16/9;width:100%;max-height:76vh}
.sss-video-screen.sss-video-floating{position:fixed!important;bottom:18px;right:18px;top:auto!important;width:min(440px,calc(100vw - 36px));height:auto;aspect-ratio:16/9;max-height:none;z-index:99980;box-shadow:0 18px 55px #000b;border:2px solid #cb9166}
.sss-video-transport{display:flex;justify-content:flex-start;gap:.65rem;flex-wrap:wrap;margin:.7rem 0 0;font:600 .88rem system-ui,sans-serif}
.sss-video-transport[hidden]{display:none!important}
.sss-video-transport button{background:#39291f;color:#fff0d9;border:1px solid #a77a56;border-radius:7px;padding:.62rem .9rem;cursor:pointer;font:inherit}
.sss-video-transport button:hover{background:#69402b}
.sss-mode-day .sss-video-transport button{background:#fff5e8;color:#3a271b}
@media(max-width:600px){.sss-video-screen.sss-video-floating{bottom:10px;right:10px;width:min(300px,calc(100vw - 20px))}}
@media print{.sss-video-screen.sss-video-floating,.sss-video-transport{display:none!important}}

.sss-video-mini-actions{display:none;position:absolute;top:5px;right:5px;gap:5px;z-index:3}
.sss-video-screen.sss-video-floating .sss-video-mini-actions{display:flex}
.sss-video-mini-actions button{border:1px solid #cb9166;border-radius:5px;background:#18191eea;color:#fff4e8;padding:4px 10px;font:700 19px/1 system-ui;cursor:pointer;box-shadow:0 2px 12px #0009}

/* Native YouTube playlist browsing; independent of guessed content categories. */
.sss-playlist-browser{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;border:1px solid #79573c;background:#212729;padding:1rem 1.2rem;border-radius:10px;margin:.5rem 0 1rem}
.sss-playlist-browser label{display:flex;flex-direction:column;gap:.32rem;color:#f1d6b7;font:600 1rem system-ui,sans-serif}
.sss-playlist-browser label span{font-size:.78rem;font-weight:400;color:#d5c6b8}
.sss-playlist-browser select{flex:1;min-width:min(250px,100%);max-width:540px;padding:.8rem 1rem;color:#f6e8d5;background:#151a1d;border:1px solid #b98a66;border-radius:8px;font:500 .95rem system-ui,sans-serif}
.sss-playlist-browser [data-sss-filter-results]{margin:0;color:#e0b98f;font:.85rem system-ui,sans-serif}
.sss-mode-day .sss-playlist-browser{background:#f3e7d7;border-color:#b99b81}.sss-mode-day .sss-playlist-browser label{color:#4b2b1b}.sss-mode-day .sss-playlist-browser label span{color:#715f50}.sss-mode-day .sss-playlist-browser select{background:#fff9ed;color:#2e231b}
@media(max-width:600px){.sss-playlist-browser select{width:100%}}

/* v1.4.2: keep playlist choices legible when opened or hovered.
   WordPress themes can style SELECT, OPTION and hover states globally. */
.sss-video-library .sss-playlist-browser select,
.sss-video-library .sss-playlist-browser select:hover,
.sss-video-library .sss-playlist-browser select:focus,
.sss-video-library .sss-playlist-browser select:active {
  background-color:#151a1d !important;
  color:#f6e8d5 !important;
  -webkit-text-fill-color:#f6e8d5;
  color-scheme:dark;
  opacity:1 !important;
  visibility:visible !important;
}
.sss-video-library .sss-playlist-browser select option,
.sss-video-library .sss-playlist-browser select option:hover,
.sss-video-library .sss-playlist-browser select option:focus,
.sss-video-library .sss-playlist-browser select option:checked {
  background-color:#151a1d !important;
  color:#f6e8d5 !important;
  -webkit-text-fill-color:#f6e8d5;
  opacity:1 !important;
  visibility:visible !important;
}
.sss-video-library .sss-playlist-browser select:focus-visible{outline:2px solid #e6b77b;outline-offset:2px}
.sss-mode-day .sss-video-library .sss-playlist-browser select,
.sss-mode-day .sss-video-library .sss-playlist-browser select:hover,
.sss-mode-day .sss-video-library .sss-playlist-browser select:focus,
.sss-mode-day .sss-video-library .sss-playlist-browser select option{
  background-color:#fff9ed !important;
  color:#2e231b !important;
  -webkit-text-fill-color:#2e231b;
  color-scheme:light;
}

/* v1.4.5: site-local video reactions and moderated discussion. */
.ssv-discussion{border:1px solid #806044;background:#202629;border-radius:10px;margin:.2rem 0 1.2rem;padding:1.1rem 1.3rem;font:400 .95rem/1.5 system-ui,sans-serif;color:#f0dfcc}
.ssv-reactions{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;border-bottom:1px solid #76563b;padding-bottom:1rem}
.ssv-label{font-weight:700;margin-right:.3rem}
.ssv-reactions button,.ssv-form-actions button,.ssv-comment button{border:1px solid #aa7954;background:#312b27;color:#fff0dd;border-radius:7px;padding:.55rem .8rem;font:600 .9rem system-ui,sans-serif;cursor:pointer}
.ssv-reactions button[aria-pressed="true"]{background:#c58a58;color:#13191b;border-color:#e4ae75}
.ssv-reactions button:disabled,.ssv-form-actions button:disabled{opacity:.55;cursor:wait}
.ssv-note{font:.78rem system-ui,sans-serif;color:#d8beaa}
.ssv-comment-area h3{font:700 1.28rem Georgia,serif;color:#f7e9d5;margin:1.1rem 0 .4rem}
.ssv-comment-area>p{margin:.3rem 0 1rem;color:#d7c7b8}
.ssv-comment{border-top:1px solid #5d5149;padding:.8rem 0}.ssv-comment-reply{margin-left:1rem;border-left:3px solid #9b724f;padding-left:.8rem}
.ssv-comment-head{display:flex;flex-wrap:wrap;gap:.7rem;align-items:baseline}.ssv-comment-head span{font-size:.76rem;color:#d4bba8}.ssv-comment>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:.4rem 0}.ssv-comment button{padding:.25rem .55rem;font-size:.75rem}
.ssv-comment-empty{color:#d9c6b4}
.ssv-comment-area form{margin-top:1.1rem;display:grid;gap:.75rem}
.ssv-comment-area label{display:grid;gap:.25rem;font-weight:600;color:inherit}
.ssv-name-email{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.ssv-comment-area input:not([type=hidden]),.ssv-comment-area textarea{box-sizing:border-box;width:100%;border:1px solid #b18c6b;border-radius:6px;background:#10191c;color:#fff4e7;padding:.65rem;font:400 .9rem/1.5 system-ui,sans-serif}
.ssv-comment-area .ssv-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}
.ssv-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:.8rem;flex-wrap:wrap}
.ssv-form-actions button[type=submit]{background:#ad6e42}
.ssv-message{min-height:1.25em;color:#e6bf94}
.sss-mode-day .ssv-discussion{background:#f3e7d8;color:#39271d;border-color:#b79a82}
.sss-mode-day .ssv-comment-area h3{color:#39271d}.sss-mode-day .ssv-comment-area>p,.sss-mode-day .ssv-note,.sss-mode-day .ssv-comment-empty{color:#6f5441}
.sss-mode-day .ssv-comment-area input:not([type=hidden]),.sss-mode-day .ssv-comment-area textarea{background:#fffaf1;color:#322016}
.sss-mode-day .ssv-reactions button,.sss-mode-day .ssv-comment button,.sss-mode-day .ssv-form-actions button{color:#382419;background:#e8d0b5}
.sss-mode-day .ssv-reactions button[aria-pressed=true],.sss-mode-day .ssv-form-actions button[type=submit]{background:#ae744a;color:#fff}
@media(max-width:600px){.ssv-name-email{grid-template-columns:1fr}.ssv-discussion{padding:.9rem}}

/* v1.4.6: fixed Return to Top button on the video page. Keep clear of bottom-right floating player. */
.sss-video-library .sss-video-back-to-top{position:fixed;left:clamp(12px,2vw,28px);bottom:clamp(15px,3vh,30px);z-index:99979;display:inline-flex;align-items:center;gap:.45rem;padding:.7rem 1rem;border-radius:999px;border:1px solid #c99864;background:#30251e;color:#fff1df;font:700 .91rem system-ui,sans-serif;line-height:1.3;cursor:pointer;box-shadow:0 7px 23px #0008}
.sss-video-library .sss-video-back-to-top[hidden]{display:none!important}
.sss-video-library .sss-video-back-to-top:hover{background:#6f432b;color:#fff}
.sss-video-library .sss-video-back-to-top:focus-visible{outline:3px solid #eac08e;outline-offset:3px}
.sss-mode-day .sss-video-library .sss-video-back-to-top{background:#fff4e1;color:#342218;border-color:#9a6b45}
.sss-mode-day .sss-video-library .sss-video-back-to-top:hover{background:#e9ceb0;color:#342218}
@media(max-width:500px){.sss-video-library .sss-video-back-to-top{padding:.63rem .85rem;bottom:12px;left:12px;font-size:.85rem}}
@media print{.sss-video-library .sss-video-back-to-top{display:none!important}}

/* v1.4.7: user-controlled consecutive playback within the chosen category/playlist. */
.sss-video-auto-next-intro{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;margin:.8rem 0;padding:.75rem 1rem;background:#262a2a;border:1px solid #846143;border-radius:9px;color:#f5e6cf;font:600 .88rem system-ui,sans-serif}
.sss-video-auto-next-intro>span{color:#efbd87}
.sss-auto-next-option{display:inline-flex;align-items:center;gap:.55rem;cursor:pointer;font:600 .84rem system-ui,sans-serif;color:#f5e3d0}
.sss-auto-next-option input{width:18px;height:18px;accent-color:#bd7a47;cursor:pointer;margin:0}
.sss-auto-next-option small{font-weight:400}
.sss-video-transport .sss-auto-next-option{padding:.5rem .6rem;background:#34271e;border-radius:7px}
.sss-playlist-default-note{font:.78rem/1.4 system-ui,sans-serif;color:#e9c5a0;flex-basis:100%;margin:0}
.sss-mode-day .sss-video-auto-next-intro{background:#f3e4cf;border-color:#c8a88b;color:#3b281d}
.sss-mode-day .sss-video-auto-next-intro>span{color:#7b3f23}
.sss-mode-day .sss-auto-next-option{color:#39271d}
.sss-mode-day .sss-playlist-default-note{color:#69452f}
@media(max-width:600px){.sss-video-auto-next-intro{align-items:flex-start;flex-direction:column}}

/* Favorite controls: a single filter pill alongside the video categories. */
.sss-video-item{position:relative;min-width:0}
.sss-video-item[hidden]{display:none!important}
.sss-video-item .sss-video-card{height:100%;width:100%}
.sss-video-library .sss-card-favorite{position:absolute;top:10px;right:10px;z-index:2;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#16191eea;color:#ffe2c1;border:2px solid #d39c6f;font:bold 28px/1 system-ui,sans-serif;cursor:pointer;box-shadow:0 3px 12px #0009}
.sss-video-library .sss-card-favorite[aria-pressed="true"]{background:#9a4937;color:#fff;border-color:#ffc7a3}
.sss-video-library .sss-card-favorite:focus-visible,.sss-video-library .sss-current-favorite:focus-visible,.sss-video-library [data-sss-favorites-filter]:focus-visible,.sss-video-library [data-sss-import-favorites]:focus-visible{outline:3px solid #f5cb8a;outline-offset:3px}
.sss-video-library .sss-card-favorite:hover{transform:scale(1.08);background:#874c31;color:white}
.sss-video-library .sss-video-filters .sss-favorites-filter{margin-left:auto;border-color:#bd8e6b;background:#3a2c26;color:#fff1e0;font-weight:700}
.sss-video-library .sss-video-filters .sss-favorites-filter.is-selected{background:#ad734f;color:#17191c;border-color:#d3a67a}
.sss-video-library .sss-video-filters .sss-import-favorites{font-size:.78rem;border-style:dashed}
.sss-video-library .sss-video-filters button[hidden]{display:none!important}
.sss-video-library .sss-current-favorite{border:1px solid #bd8e6b;border-radius:999px;padding:.65rem 1rem;background:#3a2c26;color:#fff1e0;font:700 .88rem system-ui,sans-serif;cursor:pointer}
.sss-video-library .sss-current-favorite[aria-pressed="true"]{background:#ad734f;color:#17191c;border-color:#d3a67a}
.sss-video-library .sss-favorites-sync{display:block;font:.8rem system-ui,sans-serif;color:#e8c09b;margin:-.3rem 0 .4rem}
.sss-video-library .sss-favorites-sync:empty{display:none}
.sss-mode-day .sss-video-library .sss-video-filters .sss-favorites-filter,.sss-mode-day .sss-video-library .sss-current-favorite{background:#fff6e9;color:#56351e}
.sss-mode-day .sss-video-library .sss-video-filters .sss-favorites-filter.is-selected,.sss-mode-day .sss-video-library .sss-current-favorite[aria-pressed="true"]{background:#bb855c;color:#201a16}
.sss-mode-day .sss-video-library .sss-favorites-sync{color:#75411f}
@media(max-width:640px){.sss-video-library .sss-video-filters .sss-favorites-filter{margin-left:0}}
@media print{.sss-video-library .sss-card-favorite,.sss-video-library .sss-favorites-filter,.sss-video-library .sss-current-favorite,.sss-video-library .sss-import-favorites,.sss-video-library .sss-favorites-sync{display:none!important}}

/* v1.4.9 — compact engagement bar; open comments only on request. */
.ssv-discussion{padding:.7rem .95rem;margin:.5rem 0 1rem;border-radius:12px}
.ssv-reactions{gap:.45rem .65rem;border-bottom:0;padding:0;min-height:44px}
.ssv-reactions .ssv-label{font-size:.89rem;margin-right:.25rem;white-space:nowrap}
.ssv-reactions button{border-radius:999px;padding:.5rem .85rem;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.ssv-reactions button:hover{background:#564032;border-color:#f0b47c;transform:translateY(-1px)}
.ssv-reactions button:focus-visible,.ssv-comments-toggle:focus-visible{outline:2px solid #f3bb86;outline-offset:2px}
.ssv-reactions .ssv-comments-toggle{margin-left:auto;background:#463126;border-color:#c58a58;color:#ffe5c9}
.ssv-reactions .ssv-comments-toggle[aria-expanded=true]{background:#bd8255;color:#191817;border-color:#e8b582}
.ssv-reactions .ssv-note{flex-basis:100%;font-size:.71rem;opacity:.85}
.ssv-comment-area[hidden]{display:none!important}
.ssv-comment-area{border-top:1px solid #76563b;margin-top:.85rem;padding-top:.55rem}
.ssv-comment-area h3{margin:.55rem 0 .3rem}
.sss-mode-day .ssv-reactions button:hover{background:#d1ac86;color:#332016}
.sss-mode-day .ssv-reactions .ssv-comments-toggle{background:#ebd2b4;color:#342016}
.sss-mode-day .ssv-reactions .ssv-comments-toggle[aria-expanded=true]{background:#ae744a;color:white}
@media(max-width:580px){.ssv-reactions .ssv-label{flex-basis:100%}.ssv-reactions .ssv-comments-toggle{margin-left:0}.ssv-reactions .ssv-note{line-height:1.3}}


/* v1.4.11 — Visual separation between player controls and library browsing.
   Layout only: no change to player, favorites, comments, or filtering logic. */
.sss-video-library .sss-video-auto-next-intro{
  margin:1rem 0 1.25rem;
}
.sss-video-library .sss-video-current{
  padding:1.3rem 0 1.15rem;
  gap:.75rem 1.1rem;
}
.sss-video-library .ssv-discussion{
  margin:.55rem 0 0;
  padding:.9rem 1.15rem;
}
.sss-video-library .sss-video-filters{
  margin-top:2.25rem;
  padding:1.3rem 1rem 1.1rem;
  gap:.85rem;
  border-top:1px solid #805f45;
  border-left:1px solid #604b3b;
  border-right:1px solid #604b3b;
  background:#1c2224;
  border-radius:12px 12px 0 0;
  align-items:center;
  flex-wrap:wrap;
  overflow-x:visible;
}
.sss-video-library .sss-video-filters button{
  padding:.72rem 1.15rem;
  line-height:1.3;
}
.sss-video-library .sss-video-filters .sss-favorites-filter{
  margin-left:auto;
}
.sss-video-library .sss-playlist-browser{
  margin:0 0 1.8rem;
  padding:1.35rem 1.2rem;
  gap:1.1rem 1.3rem;
  border-radius:0 0 12px 12px;
  border-top:0;
}
.sss-video-library .sss-playlist-browser select{
  min-height:46px;
}
.sss-video-library .sss-favorites-sync:not(:empty){
  margin:.6rem 0 1rem;
}
.sss-mode-day .sss-video-library .sss-video-filters{
  background:#f1e4d3;
  border-color:#bea186;
}
@media(max-width:800px){
  .sss-video-library .sss-video-filters{margin-top:1.65rem;gap:.7rem;padding:1rem .9rem}
  .sss-video-library .sss-video-filters .sss-favorites-filter{margin-left:0}
  .sss-video-library .sss-playlist-browser{padding:1rem .9rem}
}
@media(max-width:540px){
  .sss-video-library .sss-video-filters{gap:.55rem}
  .sss-video-library .sss-video-filters button{padding:.65rem .85rem}
  .sss-video-library .sss-video-current{padding:1rem 0}
  .sss-video-library .ssv-discussion{padding:.75rem .85rem}
}

/* v1.4.12 — Vote controls before song title, discussion form afterward.
   The interaction section remains one accessible DOM container for its JS. */
.sss-video-library .ssv-discussion{
  display:contents;
}
.sss-video-library .ssv-reactions{
  margin:1.2rem 0 .15rem;
  padding:.95rem 1.15rem;
  background:#202629;
  border:1px solid #806044;
  border-radius:12px;
}
.sss-video-library .sss-video-current{
  padding:1.35rem 0 1rem;
}
.sss-video-library .ssv-comment-area:not([hidden]){
  margin:.2rem 0 1rem;
  padding:1.15rem 1.25rem;
  background:#202629;
  border:1px solid #806044;
  border-radius:12px;
}
.sss-mode-day .sss-video-library .ssv-reactions,
.sss-mode-day .sss-video-library .ssv-comment-area:not([hidden]){
  background:#f3e7d8;
  border-color:#b79a82;
}
@media(max-width:600px){
  .sss-video-library .ssv-reactions{padding:.85rem;}
  .sss-video-library .ssv-comment-area:not([hidden]){padding:.9rem;}
}

/* v1.4.13 — consolidate playlist playback with reactions, freeing vertical
   space for the library; keep comments collapsed and both filters intact. */
.sss-video-library .sss-video-auto-next-intro{display:none!important}
.sss-video-library .ssv-reactions{
  display:flex;align-items:center;gap:.65rem .8rem;
  margin:.8rem 0 .2rem;padding:.85rem 1rem;
}
.sss-video-library .sss-auto-next-in-reactions{
  margin-left:.4rem;padding:.3rem .65rem;
  border-left:1px solid #806044;color:#ead9c6;
  white-space:nowrap;font-size:.82rem;
}
.sss-video-library .sss-auto-next-in-reactions small{font-size:.76rem}
.sss-video-library .ssv-reactions .ssv-comments-toggle{margin-left:auto}
.sss-video-library .ssv-reactions .ssv-note{display:none}
.sss-video-library .sss-video-current{padding:.9rem 0 1.05rem}
.sss-video-library .sss-video-filters{margin-top:1.55rem}
.sss-mode-day .sss-video-library .sss-auto-next-in-reactions{color:#4a3325;border-left-color:#b79a82}
@media(max-width:850px){
 .sss-video-library .sss-auto-next-in-reactions{order:4;margin-left:0;border-left:0;padding:.45rem 0}
}
@media(max-width:580px){
 .sss-video-library .ssv-reactions .ssv-comments-toggle{margin-left:0}
 .sss-video-library .sss-auto-next-in-reactions{width:100%;order:5}
 .sss-video-library .sss-video-filters{margin-top:1.1rem}
}

/* v1.4.14 — Three intentional rows beneath the player:
   1. reactions/playback, 2. favorite/title/YouTube, 3. browsing filters.
   These changes are presentation-only; all JS targets stay untouched. */
.sss-video-library .ssv-reactions {
  display:flex; align-items:center; flex-wrap:wrap;
  gap:.65rem .9rem; margin:.85rem 0 0; padding:1rem 1.15rem;
}
.sss-video-library .sss-video-current {
  display:grid; grid-template-columns:max-content minmax(0,1fr) max-content;
  align-items:center; column-gap:1.25rem; row-gap:.65rem;
  padding:1.35rem .15rem 1.4rem; margin:0;
}
.sss-video-library .sss-video-current .sss-current-favorite {
  grid-column:1; align-self:center; white-space:nowrap; margin:0;
}
.sss-video-library .sss-video-current h2 {
  grid-column:2; min-width:0; margin:0; line-height:1.2;
  overflow-wrap:anywhere;
}
.sss-video-library .sss-video-current [data-current-youtube] {
  grid-column:3; margin:0; justify-self:end; white-space:nowrap;
}
.sss-video-library .sss-video-current [data-current-desc] {
  grid-column:2 / -1; min-width:0; margin:0;
}
.sss-video-library .sss-video-filters {
  margin-top:1.5rem; gap:.75rem 1rem; padding:1.15rem 1rem;
}
.sss-video-library .sss-playlist-browser {
  padding:1.2rem 1.1rem;
}
@media(max-width:850px){
  .sss-video-library .sss-video-current {
    grid-template-columns:max-content minmax(0,1fr); column-gap:1rem;
  }
  .sss-video-library .sss-video-current [data-current-youtube] {
    grid-column:2; justify-self:start;
  }
  .sss-video-library .sss-video-current [data-current-desc]{grid-column:1 / -1}
}
@media(max-width:560px){
  .sss-video-library .sss-video-current {
    grid-template-columns:1fr; padding:1rem .15rem 1.1rem; row-gap:.8rem;
  }
  .sss-video-library .sss-video-current .sss-current-favorite,
  .sss-video-library .sss-video-current h2,
  .sss-video-library .sss-video-current [data-current-youtube],
  .sss-video-library .sss-video-current [data-current-desc] {
    grid-column:1; justify-self:start;
  }
  .sss-video-library .ssv-reactions {padding:.85rem; gap:.55rem}
  .sss-video-library .sss-video-filters {margin-top:1.2rem;gap:.55rem}
}

/* v1.4.15 — requested compact composition: centered title ABOVE the video,
   with a SINGLE toolbar below it. No redundant selected-song row. */
.sss-video-library .sss-video-titlebar {
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:.8rem;margin:0 0 .8rem;padding:.35rem 0 .15rem;
}
.sss-video-library .sss-video-titlebar h2 {
  flex:0 1 auto;min-width:0;text-align:center;margin:0;
  font:700 clamp(1rem,1.55vw,1.35rem)/1.35 Georgia,serif;
  color:#f6e5d1;overflow-wrap:anywhere;
}
.sss-video-library .sss-video-title-rule {
  height:1px;background:#806c5b;opacity:.65;flex:1 1 4rem;
}
.sss-video-library .sss-video-titlebar [data-current-desc] {display:none!important}
.sss-video-library .ssv-discussion {margin:0}
.sss-video-library .ssv-reactions {
  display:flex;align-items:center;flex-wrap:wrap;
  gap:.5rem .65rem;margin:.55rem 0 0;padding:.55rem .75rem;
}
.sss-video-library .ssv-reactions .sss-current-favorite {
  flex:0 0 auto;white-space:nowrap;margin:0;
  font:700 .78rem system-ui,sans-serif;padding:.47rem .7rem;
}
.sss-video-library .ssv-reactions .ssv-label {white-space:nowrap}
.sss-video-library .ssv-reactions .ssv-comments-toggle {margin-left:0}
.sss-video-library .ssv-reactions .sss-video-youtube-link {
  margin-left:auto;white-space:nowrap;color:#efbf84;
  font:600 .8rem system-ui,sans-serif;
}
.sss-video-library .ssv-reactions .ssv-note {display:none}
.sss-video-library .sss-video-filters {margin-top:2.4rem}
.sss-mode-day .sss-video-library .sss-video-titlebar h2 {color:#38271b}
@media (max-width:800px){
  .sss-video-library .ssv-reactions .sss-video-youtube-link{margin-left:0}
  .sss-video-library .sss-video-title-rule{flex-basis:1.5rem}
}
@media (max-width:560px){
  .sss-video-library .ssv-reactions {gap:.5rem;padding:.65rem}
  .sss-video-library .sss-video-titlebar h2 {font-size:1rem;flex:1 1 70%}
  .sss-video-library .sss-video-title-rule {flex:1 1 12px}
  .sss-video-library .ssv-reactions .sss-video-youtube-link{width:100%;text-align:right}
  .sss-video-library .sss-video-filters{margin-top:1.7rem}
}

/* v1.4.16 — Favorite is the first visible toolbar action. The redundant
   “Enjoyed this song?” prompt was removed from the template. */
.sss-video-library .ssv-reactions .sss-current-favorite{margin-right:.35rem}

/* v1.4.17 — align the playback controls with the far right of the toolbar.
   Keep Favorite/Like/Dislike grouped at left; autoplay and Comments form the
   right-side group immediately ahead of Watch on YouTube. */
@media (min-width: 1001px) {
  .sss-video-library .ssv-reactions .sss-auto-next-in-reactions {
    margin-left: auto;
  }
  .sss-video-library .ssv-reactions .sss-video-youtube-link {
    margin-left: 1.2rem;
  }
}
@media (max-width: 1000px) {
  .sss-video-library .ssv-reactions .sss-auto-next-in-reactions {
    margin-left: 0;
  }
  .sss-video-library .ssv-reactions .sss-video-youtube-link {
    margin-left: auto;
  }
}
@media (max-width: 560px) {
  .sss-video-library .ssv-reactions .sss-video-youtube-link {
    margin-left: 0;
  }
}

/* v1.4.18 — move Auto-play Next back toward the middle of the toolbar,
   in the gap immediately after Dislike. Keep Comments and YouTube at right. */
@media (min-width: 1001px) {
  .sss-video-library .ssv-reactions .sss-auto-next-in-reactions {
    margin-left: clamp(.8rem, 4.5vw, 4.5rem);
  }
  .sss-video-library .ssv-reactions .ssv-comments-toggle {
    margin-left: auto;
  }
  .sss-video-library .ssv-reactions .sss-video-youtube-link {
    margin-left: 1rem;
  }
}
@media (max-width: 1000px) {
  .sss-video-library .ssv-reactions .sss-auto-next-in-reactions {margin-left: .45rem;}
  .sss-video-library .ssv-reactions .ssv-comments-toggle {margin-left: auto;}
}
@media (max-width: 560px) {
  .sss-video-library .ssv-reactions .sss-auto-next-in-reactions {margin-left: 0;}
  .sss-video-library .ssv-reactions .ssv-comments-toggle {margin-left: 0;}
}

/* v1.4.19 — Separate reading from writing. Keep both controls compact; comments are
   paginated five at a time and the reply form opens only on request. */
.sss-video-library .ssv-reactions .ssv-comments-read-toggle{margin-left:auto}
.sss-video-library .ssv-reactions .ssv-comments-write-toggle{margin-left:.25rem}
.sss-video-library .ssv-comments-toggle{white-space:nowrap}
.sss-video-library .ssv-comment-area [hidden]{display:none!important}
.sss-video-library .ssv-comment-more{display:block;margin:1rem auto .3rem;background:#563a28;border:1px solid #bd8a5b;border-radius:9px;color:#ffdfb8;padding:.65rem 1rem;font:600 .88rem system-ui,sans-serif;cursor:pointer}
.sss-video-library .ssv-comment-more:hover{background:#765137}
.sss-video-library .ssv-comment-more:focus-visible{outline:2px solid #f1c08c;outline-offset:3px}
.sss-video-library .ssv-comment-area [data-ssv-comment-write] h3,
.sss-video-library .ssv-comment-area [data-ssv-comment-read] h3{margin:.35rem 0 .45rem}
.sss-video-library .ssv-comment-area .ssv-message:empty{display:none}
@media(max-width:1000px){.sss-video-library .ssv-reactions .ssv-comments-read-toggle{margin-left:0}}
@media(max-width:650px){.sss-video-library .ssv-reactions .ssv-comments-write-toggle{margin-left:0}}

/* v1.4.20 — Watch on YouTube follows Auto-play; comment buttons form
   the right-hand group. Narrow screens wrap instead of overlapping. */
.sss-video-library .ssv-reactions .sss-auto-next-in-reactions {
  margin-left: clamp(.65rem, 2.5vw, 2rem);
}
.sss-video-library .ssv-reactions .sss-video-youtube-link {
  margin-left: .35rem;
  width: auto;
  text-align: left;
}
.sss-video-library .ssv-reactions .ssv-comments-read-toggle {
  margin-left: auto;
}
.sss-video-library .ssv-reactions .ssv-comments-write-toggle {
  margin-left: .1rem;
}
@media (max-width: 1050px) {
  .sss-video-library .ssv-reactions .sss-auto-next-in-reactions {margin-left: 0;}
  .sss-video-library .ssv-reactions .sss-video-youtube-link {margin-left: .25rem;}
  .sss-video-library .ssv-reactions .ssv-comments-read-toggle {margin-left: auto;}
}
@media (max-width: 650px) {
  .sss-video-library .ssv-reactions .ssv-comments-read-toggle {margin-left: 0;}
  .sss-video-library .ssv-reactions .ssv-comments-write-toggle {margin-left: 0;}
}

/* v1.4.23 — repeat the current visible playlist/filter after the final video. */
.sss-video-library .ssv-reactions .sss-repeat-playlist-option{
  display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;
  margin-left:.25rem;padding:.35rem 0;flex:0 0 auto;
}
.sss-video-library .ssv-reactions .sss-repeat-playlist-option input{
  width:18px;height:18px;margin:0;accent-color:#bd7a47;
}
@media(max-width:650px){
  .sss-video-library .ssv-reactions .sss-repeat-playlist-option{margin-left:0;}
}

/* v1.4.28 — richer library presentation; video controls stay unchanged. */
.sss-video-library{background:radial-gradient(ellipse at 85% 4%,rgba(158,87,52,.16),transparent 42%),linear-gradient(180deg,#151b1d 0%,#221c1a 58%,#151a1b 100%);border:1px solid rgba(205,144,93,.19);border-radius:16px;box-shadow:0 25px 70px #0003}
.sss-video-library-head{position:relative;padding:clamp(2rem,4vw,4rem);background:linear-gradient(120deg,#2b201d,#151d1f 72%);border:1px solid rgba(221,160,97,.3);border-radius:12px}
.ssv-library-eyebrow,.ssv-library-signature{display:block;color:#ecaf79;font:700 .7rem/1.5 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.ssv-library-signature{margin-top:1.8rem;letter-spacing:.1em;text-transform:none;color:#dbbd9f}
.sss-video-library-head h1 em{font-style:italic;color:#eeaf7d;font-weight:400}
.sss-video-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;box-shadow:0 7px 20px #0003}
.sss-video-card:hover{box-shadow:0 18px 35px #0007}
.ssv-play-count{display:block;color:#e8b887;font:600 .75rem/1.5 system-ui,sans-serif;letter-spacing:.015em;padding-top:.25rem}
.ssv-now-playing-count{display:block;text-align:center;color:#e8b887;font:700 .8rem/1.5 system-ui,sans-serif;padding:.1rem .7rem .7rem}
.sss-video-library .sss-video-footer{border-top:1px solid rgba(228,180,125,.3);text-align:center;color:#ddb995;font:500 .94rem system-ui,sans-serif}
.sss-mode-day .sss-video-library{background:linear-gradient(135deg,#f6ecdd,#e9dfd0);border-color:#b9a28d}
.sss-mode-day .sss-video-library-head{background:linear-gradient(120deg,#f0dcc8,#faf6ef);border-color:#c3a68a}
.sss-mode-day .sss-video-library-head h1 em,.sss-mode-day .ssv-library-eyebrow,.sss-mode-day .ssv-play-count,.sss-mode-day .ssv-now-playing-count{color:#8c4829}
.sss-mode-day .ssv-library-signature,.sss-mode-day .sss-video-library .sss-video-footer{color:#674631}
@media(max-width:650px){.sss-video-library-head{padding:1.6rem}.sss-video-library{border-radius:0}}

/* v1.4.35 – Pre-share toolbar spacing retained; share beside Dislike. */
.sss-video-library .ssv-reactions .ssv-share-button{flex:0 0 auto;white-space:nowrap;border:1px solid #b67f4f;border-radius:999px;background:#312b27;color:#fff0dd;padding:.43rem .65rem;font:700 .76rem system-ui,sans-serif;cursor:pointer;margin:0}
.sss-video-library .ssv-reactions .ssv-share-button:hover{background:#564032;border-color:#f0b47c}
.sss-video-library .ssv-reactions .ssv-share-status:empty{display:none!important}
.sss-video-library .ssv-reactions .ssv-share-status{font:600 .75rem system-ui,sans-serif;color:#efc38f}
.sss-video-library .ssv-reactions .sss-auto-next-in-reactions{margin-left:.5rem}
.sss-video-library .ssv-card-share{position:absolute;right:.5rem;bottom:.5rem;z-index:4;border:1px solid #b67f4f;border-radius:8px;background:#192328eF;color:#fff0dd;padding:.38rem .55rem;font:700 .7rem system-ui,sans-serif;cursor:pointer}
.sss-video-library .sss-video-item{position:relative}
.sss-video-library .ssv-card-share:hover{background:#564032}
.sss-video-library .ssv-share-button:focus-visible,.sss-video-library .ssv-card-share:focus-visible{outline:2px solid #f3bb86;outline-offset:2px}
@media (min-width:1100px){.sss-video-library .ssv-reactions{column-gap:.4rem}.sss-video-library .ssv-reactions .sss-auto-next-in-reactions{margin-left:.25rem}.sss-video-library .ssv-reactions .ssv-comments-read-toggle{margin-left:auto}}
@media print{.sss-video-library .ssv-share-button,.sss-video-library .ssv-card-share{display:none!important}}

/* Share dialog: appended to body, outside the video and music control rows. */
.sss-share-overlay{position:fixed;inset:0;z-index:2147483600;background:rgba(5,11,14,.78);display:flex;align-items:center;justify-content:center;padding:18px}
.sss-share-dialog{width:min(100%,480px);max-height:90vh;overflow:auto;background:#18282d;color:#f8ead9;border:1px solid #bd875b;box-shadow:0 24px 65px #0009;border-radius:16px;padding:24px;font:15px/1.5 system-ui,sans-serif}
.sss-share-dialog h2{margin:0 0 8px!important;color:#ffe2ae!important;font:700 25px Georgia,serif!important}
.sss-share-dialog .sss-share-song-name{margin:0 0 14px;color:#f1e2d0}
.sss-share-dialog input{width:100%;padding:12px;border-radius:8px;border:1px solid #af8259;background:#0c1c20;color:white;font:13px system-ui,sans-serif}
.sss-share-actions{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}
.sss-share-actions button{border-radius:9px;border:1px solid #c89665;color:#ffe2b4;background:#304046;padding:9px 13px;font:700 13px system-ui,sans-serif;cursor:pointer}
.sss-share-actions button:hover,.sss-share-actions button:focus-visible{background:#59412f;outline:2px solid #e6ab73;outline-offset:1px}
.sss-share-dialog .sss-share-info{font:13px system-ui,sans-serif;color:#e6c8a7;margin:0}

/* v1.4.40: site branding ONLY inside our video wrapper's fullscreen mode. */
.sss-video-library .sss-video-screen { position:relative; }
.sss-video-library .sss-video-screen .ssv-fullscreen-brand { display:none!important; }
.sss-video-library .sss-video-screen .ssv-fullscreen-toggle {
  position:absolute;right:14px;bottom:46px;z-index:7;
  padding:.4rem .65rem;border:1px solid rgba(238,192,107,.8);border-radius:6px;
  background:rgba(13,13,13,.86);color:#f2c672;font:600 12px/1.4 system-ui,sans-serif;
  cursor:pointer;opacity:.88;
}
.sss-video-library .sss-video-screen .ssv-fullscreen-toggle:hover,
.sss-video-library .sss-video-screen .ssv-fullscreen-toggle:focus-visible {opacity:1;background:#151515;outline:2px solid #e3b05a;outline-offset:2px;}
.sss-video-library .sss-video-screen:fullscreen,
.sss-video-library .sss-video-screen:-webkit-full-screen {
  width:100vw!important;height:100vh!important;max-height:none!important;
  aspect-ratio:auto!important;position:relative!important;inset:auto!important;
  background:#000!important;border:0!important;border-radius:0!important;
}
.sss-video-library .sss-video-screen:fullscreen iframe,
.sss-video-library .sss-video-screen:-webkit-full-screen iframe {width:100%!important;height:100%!important;}
.sss-video-library .sss-video-screen:fullscreen .ssv-fullscreen-brand,
.sss-video-library .sss-video-screen:-webkit-full-screen .ssv-fullscreen-brand {
  display:block!important;position:absolute;left:50%;top:max(12px,env(safe-area-inset-top));
  transform:translateX(-50%);z-index:8;pointer-events:none;
  width:max-content;max-width:calc(100% - 40px);box-sizing:border-box;
  padding:6px 18px;border-radius:7px;background:rgba(0,0,0,.76);
  color:#f1c36e;text-align:center;font:700 clamp(13px,1.4vw,19px)/1.4 system-ui,sans-serif;
  letter-spacing:.045em;text-shadow:0 1px 4px #000;
}
.sss-video-library .sss-video-screen:fullscreen .ssv-fullscreen-toggle,
.sss-video-library .sss-video-screen:-webkit-full-screen .ssv-fullscreen-toggle {bottom:54px;right:16px;}
@media print{.ssv-fullscreen-brand,.ssv-fullscreen-toggle{display:none!important}}
