/* Scope new result controls to the existing dark showcase directory. */
#showcase-results{scroll-margin-top:150px}
html body.showcase-page .tsi-showcase-selection{--tsi-read-text:#f4f4f4;--tsi-read-link:#ffad43;background:#111;border:1px solid #444;border-radius:12px;margin:0 0 22px;padding:18px 20px;color:#f4f4f4}
html body.showcase-page .tsi-showcase-selection[hidden]{display:none!important}
html body.showcase-page .tsi-showcase-selection p{color:#f4f4f4!important;line-height:1.6;margin:0 0 14px}
.tsi-showcase-selection-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
html body.showcase-page main .tsi-showcase-selection-actions a,
html body.showcase-page main .tsi-showcase-selection-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:8px;font:700 14px/1.4 Arial,sans-serif;cursor:pointer;text-decoration:none}
html body.showcase-page main .tsi-showcase-selection-actions a{background:#ff8a00;color:#111!important;-webkit-text-fill-color:#111!important;border:1px solid #ff8a00}
html body.showcase-page main .tsi-showcase-selection-actions button{background:#222;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #777}
html body.showcase-page main .tsi-showcase-selection-actions :is(a,button):focus-visible{outline:3px solid #ffad43;outline-offset:3px}
html body.showcase-page [data-showcase-empty]{--tsi-read-text:#f4f4f4;--tsi-read-link:#ffad43;color:#f4f4f4!important}
html body.showcase-page [data-showcase-empty] :is(p,strong){color:#f4f4f4!important}
html body.showcase-page [data-showcase-empty] a{display:inline-block;min-height:44px;padding:10px;color:#ffad43!important;font-weight:700}
html body.showcase-page [data-showcase-card][hidden]{display:none!important}
@media(max-width:760px){#showcase-results{scroll-margin-top:125px}.tsi-showcase-selection-actions{align-items:stretch;flex-direction:column}.tsi-showcase-selection-actions :is(a,button){width:100%}}

/* The shared readability sheet also sets -webkit-text-fill-color. Override both
   text properties, scoped to this dark filter form and its native options. */
html body.tsi-readable #showcase-search-filters :is(input,select,textarea,option){
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  background-color:#161616!important;
  caret-color:#ffffff!important;
  color-scheme:dark;
  opacity:1!important;
}
html body.tsi-readable #showcase-search-filters input::placeholder,
html body.tsi-readable #showcase-search-filters textarea::placeholder{
  color:#bdbdbd!important;
  -webkit-text-fill-color:#bdbdbd!important;
  opacity:1!important;
}
html body.tsi-readable #showcase-search-filters :is(input,select,textarea):focus-visible{
  outline:2px solid #ffad43!important;
  outline-offset:2px;
}
html body.tsi-readable #showcase-search-filters input:-webkit-autofill{
  -webkit-text-fill-color:#ffffff!important;
  caret-color:#ffffff!important;
  -webkit-box-shadow:0 0 0 1000px #161616 inset!important;
  box-shadow:0 0 0 1000px #161616 inset!important;
}
