/* Video suuruse vähendamine (/tooriistad/video-vaiksemaks/), 23.10.2026. Sama kaart, lohistusala ja kiibid mis
   pildi suuruse muutmisel (pilt.css); muutujad generaatori STIIL-ist ja teema.css-ist. */
.vv-wrap { max-width: 1100px; }
.vv-ala { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.vv-ala [hidden] { display: none !important; }
.vv-kaart { background: var(--bg-card); border: 1px solid var(--border-light); border-left: 3px solid var(--accent); padding: 24px; }
@media (min-width: 1024px) { .vv-kaart { padding: 36px; } }

.vv-lohista { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 150px; padding: 24px; border: 2px dashed var(--border-light); background: var(--bg); text-align: center; cursor: pointer;
  transition: border-color .15s; }
.vv-lohista:hover, .vv-lohista.lohistab, .vv-lohista:focus-within { border-color: var(--accent); }
.vv-lohista.keelatud { opacity: .5; cursor: not-allowed; }
.vv-lohista input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vv-lohista b { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 18px; color: var(--fg); }
.vv-lohista span { font-size: 14px; color: var(--muted); }
.vv-info { margin: 14px 0 0; font: 14px 'JetBrains Mono', monospace; color: var(--fg); overflow-wrap: anywhere; }

.vv-seaded { display: grid; gap: 16px 28px; margin: 24px 0 0; }
@media (min-width: 900px) { .vv-seaded { grid-template-columns: 1.7fr 1.3fr 1fr; } }
.vv-seaded fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.vv-seaded legend { padding: 0; margin-bottom: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); }
.vv-kiibid { display: flex; flex-wrap: wrap; gap: 6px; }
.vv-kiibid label { position: relative; }
.vv-kiibid input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vv-kiibid span { display: inline-block; padding: 6px 12px; border: 1px solid var(--border-light); border-radius: 999px; font-size: 13px;
  line-height: 1.4; color: var(--fg-dim); background: var(--bg); transition: border-color .15s, color .15s; }
.vv-kiibid label:hover span { border-color: var(--accent); color: var(--fg); }
.vv-kiibid input:checked + span { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.vv-kiibid input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.vv-nupud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.vv-nupp, .vv-teine { padding: 12px 18px; border: 1px solid var(--accent); font-family: 'Oswald', sans-serif; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.vv-nupp { background: var(--accent); color: #0a0a0a; }
.vv-nupp:hover { background: #FF7A33; }
.vv-nupp:disabled { opacity: .45; cursor: not-allowed; }
.vv-teine { background: transparent; color: var(--fg); }
.vv-teine:hover { color: var(--accent); }
.vv-edu { height: 4px; margin-top: 16px; background: var(--border-light); overflow: hidden; }
.vv-edu i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s linear; }
.vv-teade { margin: 12px 0 0; font-size: 14px; color: var(--fg); }
.vv-teade:empty { margin: 0; }
.vv-teade.hoiatus { color: var(--accent); }

.vv-tulemus { display: grid; gap: 12px; justify-items: start; margin-top: 16px; }
.vv-tulemus video { width: 100%; max-width: 560px; max-height: 420px; background: #000; }
.vv-alla { padding: 12px 18px; border: 1px solid var(--accent); background: var(--accent); color: #0a0a0a; text-decoration: none;
  font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.vv-alla:hover { background: #FF7A33; }
.vv-privaatsus { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 560px) {
  .vv-kaart { padding: 18px; }
  .vv-seaded legend { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .vv-edu i { transition: none; } }

html[data-teema="hele"] :is(.vv-nupp, .vv-alla, .vv-kiibid input:checked + span) { color: #fff; }
html[data-teema="hele"] :is(.vv-nupp, .vv-alla):hover { background: var(--accent); filter: brightness(1.1); }
