.yvl-shell {
  grid-column: 1 / -1;
  margin: 4px 0 8px;
  padding: 20px;
  border: 1px solid rgba(242, 86, 86, 0.24);
  border-radius: 12px;
  background: rgba(242, 86, 86, 0.07);
  color: #fff;
}

.yvl-shell *, .yvl-shell *::before, .yvl-shell *::after { box-sizing: border-box; }
.yvl-product-name { display: flex; flex-wrap: wrap; gap: 5px 8px; align-items: baseline; margin: 0 0 9px !important; color: rgba(255,255,255,0.62); font-size: 10px; line-height: 1.4; }
.yvl-product-name strong { color: #fff; font-family: "Nunito", sans-serif; font-size: 12px; font-weight: 900; }
.yvl-product-name span { text-transform: uppercase; letter-spacing: 0.05em; }
.yvl-heading { margin: 0; color: #fff; font-family: "Nunito", sans-serif; font-size: 17px; font-weight: 900; line-height: 1.3; }
.yvl-attribution { display: flex; align-items: center; gap: 8px; margin: 7px 0 8px; color: rgba(255,255,255,0.68); font-size: 10px; line-height: 1.3; }
.yvl-attribution a { display: inline-flex; align-items: center; padding: 2px 5px; border-radius: 4px; background: #fff; }
.yvl-attribution img { display: block; width: 100px; height: auto; }
.yvl-attribution a:focus-visible { outline: 3px solid #ff8181; outline-offset: 2px; }
.yvl-intro { margin: 0 0 15px !important; color: rgba(255,255,255,0.67); font-size: 12px; line-height: 1.6; }
.yvl-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: end; }
.yvl-input-wrap { min-width: 0; }
.yvl-input-wrap label { display: block; margin-bottom: 6px; color: rgba(255,255,255,0.88); font-family: "Nunito", sans-serif; font-size: 12px; font-weight: 800; }
.yvl-input {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 9px;
  background: #181818; color: #fff; font: 500 15px/1.3 "Inter", sans-serif;
}
.yvl-input::placeholder { color: rgba(255,255,255,0.56); }
.yvl-input:focus-visible, .yvl-button:focus-visible, .yvl-consent input:focus-visible, .yvl-video input:focus-visible + span, .yvl-video-link:focus-visible {
  outline: 3px solid #f25656; outline-offset: 3px;
}
.yvl-button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  padding: 10px 16px; border: 1px solid #b93232; border-radius: 9px;
  background: #b93232; color: #fff; cursor: pointer;
  font-family: "Nunito", sans-serif; font-size: 13px; font-weight: 900; line-height: 1.25;
}
.yvl-button:disabled { cursor: not-allowed; opacity: 0.55; }
.yvl-consent { grid-column: 1 / -1; display: grid; grid-template-columns: 17px minmax(0, 1fr); gap: 8px; align-items: start; margin: 3px 0 0; color: rgba(255,255,255,0.75); font-size: 10px; line-height: 1.55; }
.yvl-consent input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: #c93434; }
.yvl-consent a, .yvl-compliance a { color: #ff9696; text-decoration: underline; text-underline-offset: 2px; }
.yvl-privacy { margin: 10px 0 0 !important; color: rgba(255,255,255,0.58); font-size: 10px; line-height: 1.55; }
.yvl-compliance { margin: 6px 0 0 !important; color: rgba(255,255,255,0.58); font-size: 10px; line-height: 1.55; }
.yvl-disclaimer { margin: 12px 0 0 !important; padding: 9px 10px; border-left: 3px solid rgba(242,86,86,0.72); background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.78); font-size: 11px; line-height: 1.5; }
.yvl-disclaimer strong { color: #fff; }
.yvl-status { min-height: 20px; margin: 10px 0 0; color: rgba(255,255,255,0.75); font-size: 12px; line-height: 1.5; }
.yvl-status[data-state="error"] { color: #ffb6b6; }
.yvl-results { margin-top: 17px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,0.1); }
.yvl-result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.yvl-channel { margin: 0; color: #fff; font-family: "Nunito", sans-serif; font-size: 15px; font-weight: 900; }
.yvl-method { margin: 4px 0 0 !important; color: rgba(255,255,255,0.56); font-size: 10px; line-height: 1.5; }
.yvl-count { flex: 0 0 auto; padding: 5px 9px; border: 1px solid rgba(242,86,86,0.32); border-radius: 999px; color: #ff9696; font-size: 10px; font-weight: 800; }
.yvl-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; margin: 14px 0; overflow: hidden; border: 1px solid rgba(255,255,255,0.09); border-radius: 8px; background: rgba(255,255,255,0.09); }
.yvl-summary div { min-width: 0; padding: 10px; background: #131313; }
.yvl-summary span { display: block; color: rgba(255,255,255,0.48); font-size: 9px; line-height: 1.3; text-transform: uppercase; }
.yvl-summary strong { display: block; margin-top: 3px; overflow-wrap: anywhere; color: #fff; font-family: "Nunito", sans-serif; font-size: 15px; font-weight: 900; line-height: 1.25; }
.yvl-list { display: grid; gap: 7px; max-height: 410px; overflow-y: auto; padding: 2px 4px 2px 2px; }
.yvl-video { position: relative; display: block; margin: 0; cursor: pointer; }
.yvl-video input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.yvl-video > span { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 52px; padding: 9px 10px; border: 1px solid rgba(255,255,255,0.09); border-radius: 8px; background: rgba(255,255,255,0.035); }
.yvl-check { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(255,255,255,0.3); border-radius: 5px; color: transparent; font-size: 12px; }
.yvl-video input:checked + span { border-color: rgba(242,86,86,0.4); background: rgba(242,86,86,0.08); }
.yvl-video input:checked + span .yvl-check { border-color: #c93434; background: #c93434; color: #fff; }
.yvl-video-copy { min-width: 0; }
.yvl-video-title { display: block; overflow: hidden; color: rgba(255,255,255,0.88); font-size: 11px; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.yvl-video-meta { display: block; margin-top: 3px; color: rgba(255,255,255,0.48); font-size: 9px; line-height: 1.35; }
.yvl-video-views { color: #fff; font-family: "Nunito", sans-serif; font-size: 12px; font-weight: 900; white-space: nowrap; }
.yvl-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.yvl-apply { min-width: 180px; }
.yvl-exclusions { margin: 10px 0 0 !important; color: rgba(255,255,255,0.48); font-size: 9px; line-height: 1.5; }
.yvl-video-link { color: #ff9696; text-decoration: underline; text-underline-offset: 2px; }

@media (hover: hover) and (pointer: fine) {
  .yvl-button:hover:not(:disabled) { border-color: #9e2929; background: #9e2929; }
  .yvl-video:hover > span { border-color: rgba(255,255,255,0.22); }
}

@media (max-width: 680px) {
  .yvl-shell { padding: 16px; }
  .yvl-form { grid-template-columns: 1fr; }
  .yvl-button { width: 100%; }
  .yvl-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .yvl-result-head { flex-direction: column; gap: 8px; }
  .yvl-video > span { grid-template-columns: 22px minmax(0, 1fr); }
  .yvl-video-views { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .yvl-shell * { scroll-behavior: auto !important; }
}
