.wos-media{
  --wos-ink:#171717;
  --wos-muted:#6d6a66;
  --wos-line:#e8e4de;
  --wos-soft:#f7f5f1;
  --wos-radius:18px;
  color:var(--wos-ink);
  max-width:1180px;
  margin:0 auto;
  padding:24px 22px 80px;
}
.wos-media *{box-sizing:border-box}
.wos-media__section{scroll-margin-top:110px;padding:56px 0;border-top:1px solid var(--wos-line)}
.wos-media__section:first-child{margin-top:28px}
.wos-media__eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;margin-bottom:10px}
.wos-media h2{font:inherit;font-size:clamp(28px,4vw,46px);line-height:1.04;font-weight:600;letter-spacing:-.035em;margin:0 0 16px}
.wos-media__intro{max-width:680px;font-size:16px;line-height:1.65;color:var(--wos-muted);margin:0 0 26px}
.wos-media__notice{padding:14px 16px;border:1px solid #e7c97b;background:#fff9e6;border-radius:12px;margin:18px 0 24px;font-size:14px;line-height:1.5}
.wos-media__upload-form{max-width:720px}
.wos-media__field{display:block;margin:0 0 16px}
.wos-media__field span{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.wos-media__field small{font-weight:400;color:var(--wos-muted)}
.wos-media__field input{width:100%;padding:12px 13px;border:1px solid var(--wos-line);border-radius:10px;background:#fff;font:inherit}
.wos-media__hp{position:absolute!important;left:-10000px!important;opacity:0!important;pointer-events:none!important}
.wos-media__drop{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:150px;
  padding:28px;
  border:1px dashed #bdb8b0;
  border-radius:var(--wos-radius);
  background:var(--wos-soft);
  cursor:pointer;
  transition:.18s ease;
}
.wos-media__drop:hover{border-color:var(--wos-ink);transform:translateY(-1px)}
.wos-media__drop-title{font-weight:650;font-size:18px}
.wos-media__drop-help{font-size:13px;color:var(--wos-muted);margin-top:6px}
.wos-media__queue{display:grid;gap:10px;margin-top:16px}
.wos-media__queue-item{border:1px solid var(--wos-line);border-radius:12px;padding:12px 14px;background:#fff}
.wos-media__queue-row{display:flex;gap:12px;align-items:center;justify-content:space-between}
.wos-media__queue-name{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wos-media__queue-state{font-size:12px;color:var(--wos-muted);flex:0 0 auto}
.wos-media__queue-meta{font-size:11px;color:var(--wos-muted);margin-top:5px}
.wos-media__progress{height:4px;border-radius:999px;background:#ebe8e2;margin-top:10px;overflow:hidden}
.wos-media__progress i{display:block;width:0;height:100%;background:var(--wos-ink);transition:width .18s ease}
.wos-media__queue-item.is-done .wos-media__queue-state{color:#2e6d45}
.wos-media__queue-item.is-error .wos-media__queue-state{color:#a32a2a}
.wos-media__queue-item.is-error .wos-media__progress i{background:#a32a2a}
.wos-media__section-head{display:flex;gap:20px;align-items:end;justify-content:space-between;margin-bottom:24px}
.wos-media__filters{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.wos-media__filters button,
.wos-media__more{
  appearance:none;border:1px solid var(--wos-line);background:#fff;color:var(--wos-ink);
  border-radius:999px;padding:9px 13px;font:inherit;font-size:13px;cursor:pointer
}
.wos-media__filters button.is-active{background:var(--wos-ink);border-color:var(--wos-ink);color:#fff}
.wos-media__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.wos-media__item{
  position:relative;appearance:none;border:0;padding:0;background:#eee;cursor:pointer;
  aspect-ratio:1/1;overflow:hidden;border-radius:10px
}
.wos-media__item img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}
.wos-media__item:hover img{transform:scale(1.025)}
.wos-media__video-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:28px;color:#777}
.wos-media__play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;font-size:15px;padding-left:2px}
.wos-media__star{position:absolute;right:9px;top:9px;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.55);font-size:18px}
.wos-media__more{display:block;margin:20px auto 0}
.wos-media__empty{padding:34px 0;color:var(--wos-muted);text-align:center}
.wos-media__challenge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:26px}
.wos-media__challenge{
  appearance:none;text-align:left;border:1px solid var(--wos-line);background:#fff;color:var(--wos-ink);
  border-radius:14px;padding:20px;min-height:128px;cursor:pointer;transition:.18s ease
}
.wos-media__challenge:hover,.wos-media__challenge.is-active{border-color:var(--wos-ink);transform:translateY(-1px)}
.wos-media__challenge strong{display:block;font-size:16px;line-height:1.25;margin-bottom:8px}
.wos-media__challenge span{display:block;color:var(--wos-muted);font-size:13px;line-height:1.45}
.wos-media-modal[hidden]{display:none!important}
.wos-media-modal{position:fixed;z-index:999999;inset:0;background:rgba(8,8,8,.92);display:grid;place-items:center;padding:20px}
.wos-media-modal__stage{max-width:min(1200px,94vw);max-height:90vh;display:grid;place-items:center}
.wos-media-modal__stage img,.wos-media-modal__stage video{display:block;max-width:94vw;max-height:88vh;border-radius:8px}
.wos-media-modal__close{position:absolute;right:18px;top:14px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:28px;line-height:1;cursor:pointer}
html.wos-media-modal-open{overflow:hidden}
@media(max-width:900px){
  .wos-media__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wos-media__challenge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .wos-media{padding-left:16px;padding-right:16px}
  .wos-media__section{padding:42px 0}
  .wos-media__section-head{display:block}
  .wos-media__filters{justify-content:flex-start;margin-top:18px}
  .wos-media__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .wos-media__challenge-grid{grid-template-columns:1fr}
  .wos-media__drop{min-height:130px;padding:22px}
}
