/* Consent stays readable over every app tab. */
html [data-sheet-kind="videoTerms"].sheet-backdrop {
  align-items: center;
  padding: 20px;
  background: rgba(24,26,21,.42);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: none;
}
html [data-sheet-kind="videoTerms"] .sheet {
  --bg: #f8f8f2;
  --text: #252620;
  --text-2: #62655b;
  --text-3: #727569;
  --surface-raised: #eeefe5;
  color-scheme: light;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(37,38,32,.12);
  box-shadow: 0 24px 80px #0003;
  font-family: "Twoyo Sans", Arial, sans-serif;
  width: 100%;
  max-width: 360px;
  max-height: calc(100% - 24px);
  border-radius: 24px;
  animation: none;
}
[data-sheet-kind="videoTerms"] .sheet-nav { height: 50px; }
[data-sheet-kind="videoTerms"] .sheet-nav .headline { font-size: 13px; color: var(--text-2); font-weight: 500; }
[data-sheet-kind="videoTerms"] .sheet-nav button { background: #eaece2; color: var(--text); }
.video-terms { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 12px; }
.video-terms > * { flex-shrink: 0; }
.video-terms h2,.video-terms p { margin: 0; }
.video-terms-intro { display: flex; flex-direction: column; gap: 6px; }
html [data-sheet-kind="videoTerms"] .title2 { font: 750 25px/1.12 "Twoyo Display", Arial, sans-serif; letter-spacing: -.9px; }
.video-terms .sub { font-size: 14px; line-height: 1.45; }
.video-terms .video-terms-document { background: #fff; border: 1px solid #dcded2; border-radius: 14px; text-decoration: none; padding: 10px 12px; gap: 12px; min-height: 56px; }
.video-terms-document strong { font-size: 15px; font-weight: 600; }
.video-terms-document .caption { display: block; font-size: 12px; margin-top: 5px; }
.video-terms-document > .i { color: var(--text-2); }
.video-terms .check-row { align-items: center; min-height: 56px; padding: 10px 12px; margin: 0; border: 1px solid #dcded2; border-radius: 14px; background: #fff; color: var(--text); font-size: 14px; font-weight: 500; text-align: left; white-space: normal; line-height: 1.45; }
.video-terms .check-row[aria-checked="true"] { border-color: #879b58; background: #f1f7e4; }
.video-terms .checkbox { flex-shrink: 0; width: 22px; height: 22px; border: 1.5px solid #8d9184; border-radius: 7px; color: var(--text); }
.video-terms .checkbox.on { background: #d5fa70; border-color: #7c904d; }
html [data-sheet-kind="videoTerms"] .sheet .video-terms .btn { width: 100%; height: 48px; border: 1px solid #bfd96b; border-radius: 16px; background: #d5fa70; color: #252620; font-size: 16px; font-weight: 650; }
html [data-sheet-kind="videoTerms"] .sheet .video-terms .btn:active:not(:disabled) { background: #c8eb66; }
html [data-sheet-kind="videoTerms"] .sheet .video-terms .btn:disabled { opacity: 1; color: #777c6e; background: #e9ecdf; border-color: #e1e5d7; }
.video-terms-actions { display: grid; grid-template-columns: minmax(68px,1fr) minmax(0,2fr); align-items: center; gap: 10px; }
.video-terms .video-terms-later { justify-content: center; min-height: 48px; padding: 10px; margin: 0; border-radius: 14px; font-size: 14px; color: var(--text-2); }
.video-terms .video-terms-privacy { font-size: 12px; line-height: 1.5; text-align: center; }
.video-terms-privacy a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.video-terms-privacy a { color: var(--text); text-underline-offset: 3px; }
[data-sheet-kind="videoTerms"] :is(a,button):focus-visible { outline: 2px solid #688438; outline-offset: 3px; }
html.desktop [data-sheet-kind="videoTerms"] .sheet { max-width: 360px; border-radius: 24px; }
html.desktop .video-terms { padding-right: 22px; padding-left: 22px; }
@media (max-width: 360px) { .video-terms { padding-right: 18px; padding-left: 18px; } html [data-sheet-kind="videoTerms"] .title2 { font-size: 24px; } }
