/* UOSON (body.case.uo, 10/16) — on top of case.css. Accent = the drone's safety orange; the beacon is red. */
.uo{--uo-accent:#d98a00;--uo-line:rgba(0,0,0,.10)}
[data-theme="dark"] .uo{--uo-accent:#f5b335;--uo-line:rgba(255,255,255,.14)}

/* the award chip in the hero opens the Red Dot page */
.uo .cs-chips a{text-decoration:none;color:inherit}
.uo .cs-chips span.is-award{display:inline-flex;align-items:center;gap:8px;color:var(--ink);transition:transform .2s ease,box-shadow .2s ease}
.uo .cs-chips span.is-award img{width:17px;height:17px;flex:none;display:block}
.uo .cs-chips span.is-award i{font-style:normal;color:var(--ink-2);margin-left:-2px}
.uo .cs-chips a:hover span.is-award{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.08)}

/* the cover: three moments */
.uo-story{max-width:1100px;margin:0 auto;padding:0 22px 26px}
.uo-frame{position:relative;aspect-ratio:16/9;border-radius:22px;overflow:hidden;background:#0b0c0e;box-shadow:var(--cs-shadow)}
.uo-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.03);transition:opacity .7s ease,transform 1.4s cubic-bezier(.2,.8,.2,1)}
.uo-frame img.is-on{opacity:1;transform:none}
.uo-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.uo-tab{position:relative;display:block;text-align:left;padding:16px 16px 15px;border:0;border-radius:16px;background:transparent;color:var(--ink-2);font:inherit;cursor:pointer;transition:background .25s ease}
.uo-tab:hover{background:var(--cs-pill)}
.uo-tab:focus-visible{outline:2px solid var(--uo-accent);outline-offset:2px}
.uo-tab::before,.uo-tab::after{content:"";position:absolute;left:16px;top:0;height:2px;border-radius:2px}
.uo-tab::before{right:16px;background:var(--uo-line)}
.uo-tab::after{width:0;background:var(--uo-accent)}
.uo-tab.is-on{background:var(--cs-pill)}
.uo-tab.is-on::after{width:calc(100% - 32px)}
.uo-story.is-auto .uo-tab.is-on::after{width:0;animation:uo-fill 3.6s linear forwards}
@keyframes uo-fill{to{width:calc(100% - 32px)}}
.uo-tab i{display:block;margin-bottom:6px;font-style:normal;font-size:13px;font-weight:600;color:var(--uo-accent)}
.uo-tab b{display:block;margin-bottom:3px;font-size:17px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.uo-tab span{display:block;font-size:14.5px;line-height:1.45}
.uo-cap{display:none}
.uo-story.is-still .uo-frame img{transition:none;transform:none}

/* About: one paragraph + three facts */
.uo-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.uo-facts div{padding:14px 16px;border-radius:16px;background:var(--cs-pill);font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.uo-facts b{display:block;margin-bottom:4px;font-size:12.5px;font-weight:600;color:var(--ink)}

/* Details: four close-ups, one line each */
.uo-details{max-width:1100px;margin:0 auto;padding:6px 22px 34px}
.uo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}
.uo-grid figure{margin:0}
.uo-grid img{display:block;width:100%;height:auto;border-radius:18px;background:#f2f2f4}
/* some renders fade to pure white at the edge: a hairline keeps them reading as a card on the white page */
.uo-grid img{outline:1px solid rgba(0,0,0,.06);outline-offset:-1px}
[data-theme="dark"] .uo-grid img{outline:0}
.uo-grid figcaption{padding:12px 4px 0;font-size:15.5px;line-height:1.5;color:var(--ink-2)}
.uo-grid figcaption b{margin-right:6px;font-weight:600;color:var(--ink)}

/* On the road: two scenes side by side */
.uo-road{max-width:1100px;margin:0 auto;padding:0 22px 20px}
.uo-road .cs-h{margin-top:10px}
.uo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.uo-pair img{display:block;width:100%;height:auto;border-radius:18px;background:#111}

/* Awards: the Red Dot sphere + the award, linked */
.uo-award{display:inline-flex;align-items:center;gap:16px;margin:2px auto 12px;text-align:left;color:inherit;text-decoration:none}
.uo-award img{width:68px;height:68px;flex:none;display:block}
.uo-award b{display:block;font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1.1;color:var(--ink)}
.uo-award b i{font-style:normal;font-weight:500;font-size:16px;color:var(--ink-2);display:inline-block;transition:transform .2s ease}
.uo-award span{display:block;margin-top:4px;font-size:15px;color:var(--ink-2)}
.uo-award:hover b i{transform:translate(2px,-2px)}
.uo .cs-awards p.uo-cat{font-size:14.5px}
.uo .cs-close{padding-bottom:40px}

@media (max-width:640px){
  .uo-story,.uo-details,.uo-road{padding-left:16px;padding-right:16px}
  .uo-frame,.uo-grid img,.uo-pair img{border-radius:16px}
  .uo-tabs{gap:6px;margin-top:10px}
  .uo-tab{padding:12px 10px 10px;text-align:center}
  .uo-tab::before,.uo-tab::after{left:10px}
  .uo-tab::before{right:10px}
  .uo-tab.is-on::after{width:calc(100% - 20px)}
  @keyframes uo-fill{to{width:calc(100% - 20px)}}
  .uo-tab i{margin-bottom:2px}
  .uo-tab b{font-size:15px;margin:0}
  .uo-tab span{display:none}
  .uo-cap{display:block;margin:12px 4px 0;text-align:center;font-size:15.5px;line-height:1.5;color:var(--ink-2)}
  .uo-facts,.uo-grid,.uo-pair{grid-template-columns:1fr}
  .uo-pair{gap:12px}
}
@media (prefers-reduced-motion:reduce){.uo-frame img{transition:none;transform:none}.uo-story.is-auto .uo-tab.is-on::after{animation:none;width:calc(100% - 32px)}}

/* the opening (10/16 v3, Leo: "刚开始让画幅充满这个车很好看 被文字挤下去"): the cover fills the first screen edge to edge and
   the title, line and chips sit on it over a soft shade; the three tabs sit on its lower edge. Same in both themes
   (the renders are dark). Up to 900 px wide: the cover first, edge to edge (3:2, phones 4:5), then the title, chips
   and tabs below it. */
.uo-hero{position:relative;isolation:isolate;max-width:none;margin:0;padding:0;overflow:hidden;background:#0b0c0e;color:#fff;
  height:min(calc(100vh - var(--nav)),64vw);height:min(calc(100svh - var(--nav)),64vw);min-height:540px}
.uo-hero .uo-frame{position:absolute;inset:0;z-index:-1;aspect-ratio:auto;border-radius:0;box-shadow:none}
.uo-hero .uo-frame img:first-child{object-position:50% 12%}
.uo-hero .uo-frame::before,.uo-hero .uo-frame::after{content:"";position:absolute;left:0;right:0;z-index:1;pointer-events:none}
.uo-hero .uo-frame::before{top:0;height:48%;background:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.3) 50%,rgba(0,0,0,0))}
.uo-hero .uo-frame::after{bottom:0;height:36%;background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.62))}
.uo-top{position:relative;z-index:1}
.uo-hero .cs-back__btn{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);color:#fff}
.uo-hero .cs-back__btn:hover{background:rgba(255,255,255,.24)}
.uo-hero .cs-hero{padding-top:clamp(4px,2vh,24px);padding-bottom:0}
.uo-hero .cs-hero h1{color:#fff;text-shadow:0 2px 28px rgba(0,0,0,.35)}
.uo-hero .cs-tagline{color:rgba(255,255,255,.8);text-shadow:0 1px 18px rgba(0,0,0,.4)}
.uo-hero .cs-chips span{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2);color:rgba(255,255,255,.82)}
.uo-hero .cs-chips span.is-award{color:#fff}
.uo-hero .cs-chips span.is-award i{color:rgba(255,255,255,.7)}
.uo-hero .cs-chips a:hover span.is-award{box-shadow:0 6px 18px rgba(0,0,0,.3)}
.uo-hero .uo-tabs{position:absolute;left:0;right:0;bottom:0;z-index:1;max-width:1100px;margin:0 auto;padding:0 22px 18px}
.uo-hero .uo-tab{color:rgba(255,255,255,.68)}
.uo-hero .uo-tab b{color:#fff}
.uo-hero .uo-tab i{color:#f5b335}
.uo-hero .uo-tab::before{background:rgba(255,255,255,.26)}
.uo-hero .uo-tab::after{background:#f5b335}
.uo-hero .uo-tab:hover,.uo-hero .uo-tab.is-on{background:rgba(255,255,255,.08)}
.uo-hero .uo-tab:focus-visible{outline-color:#f5b335}
.uo-hero + .cs-about{padding-top:clamp(40px,6vw,64px)}
/* the title belongs to the first moment; on "Takes off" and "Warns" it steps aside so the drone is clear */
.uo-hero .cs-hero{transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.uo-hero .uo-frame::before{transition:opacity .6s ease}
.uo-hero[data-step="1"] .cs-hero,.uo-hero[data-step="2"] .cs-hero{opacity:0;transform:translateY(-14px);pointer-events:none}
.uo-hero[data-step="1"] .uo-frame::before,.uo-hero[data-step="2"] .uo-frame::before{opacity:.35}
@media (prefers-reduced-motion:reduce){.uo-hero .cs-hero,.uo-hero .uo-frame::before{transition:none}}

@media (max-width:900px){
  .uo-hero{height:auto;min-height:0;overflow:visible;background:none;color:inherit}
  .uo-hero .uo-frame{position:relative;inset:auto;z-index:0;aspect-ratio:3/2;border-radius:0;background:#0b0c0e}
  .uo-hero .uo-frame::before{height:24%;background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,0))}
  .uo-hero .uo-frame::after{display:none}
  .uo-top{position:static}
  .uo-hero .cs-back{position:absolute;top:0;left:0;right:0;z-index:2}
  .uo-hero .cs-hero{padding:30px 22px 0}
  .uo-hero .cs-hero h1{color:var(--ink);text-shadow:none}
  .uo-hero .cs-tagline{color:var(--ink-2);text-shadow:none}
  .uo-hero .cs-chips span{background:rgba(255,255,255,.55);border-color:var(--cs-pill-line);color:var(--ink-2)}
  [data-theme="dark"] .uo-hero .cs-chips span{background:rgba(255,255,255,.07)}
  .uo-hero .cs-chips span.is-award{color:var(--ink)}
  .uo-hero .cs-chips span.is-award i{color:var(--ink-2)}
  .uo-hero .uo-tabs{position:static;max-width:1100px;padding:0 22px;margin-top:24px}
  .uo-hero .uo-tab{color:var(--ink-2)}
  .uo-hero .uo-tab b{color:var(--ink)}
  .uo-hero .uo-tab i{color:var(--uo-accent)}
  .uo-hero .uo-tab::before{background:var(--uo-line)}
  .uo-hero .uo-tab::after{background:var(--uo-accent)}
  .uo-hero .uo-tab:hover,.uo-hero .uo-tab.is-on{background:var(--cs-pill)}
  .uo-hero + .cs-about{padding-top:34px}
  .uo-hero[data-step="1"] .cs-hero,.uo-hero[data-step="2"] .cs-hero{opacity:1;transform:none;pointer-events:auto}
}
@media (max-width:640px){
  .uo-hero .uo-frame{aspect-ratio:4/5}
  /* the 16:9 renders cropped to 4:5: the roof case, the drone above the case, the drone with the wreck */
  .uo-hero .uo-frame img:nth-child(1){object-position:43% 50%}
  .uo-hero .uo-frame img:nth-child(2){object-position:68% 50%}
  .uo-hero .uo-frame img:nth-child(3){object-position:54% 50%}
  .uo-hero .cs-hero{padding:26px 16px 0}
  .uo-hero .uo-tabs{padding:0 16px;margin-top:22px}
  .uo-hero .uo-cap{padding:0 16px}
  .uo-hero + .cs-about{padding-top:30px}
}

/* 10/16 the award as the Red Dot logo (case.css .cs-logos; no chip, no sphere + text lockup). On the full-bleed cover
   it sits top right on the image (white-text art; fades with the title on steps 2-3); up to 900 px it sits under the
   chips in the page's colours (theme-swapped art). */
.uo-seal .on-page{display:none}
.uo-hero .uo-seal{position:absolute;top:16px;right:max(22px,calc((100% - 1100px) / 2 + 22px));margin:0}
.uo-hero .uo-seal img{height:66px}
.uo-hero .uo-seal{transition:opacity .6s ease}
.uo-hero[data-step="1"] .uo-seal,.uo-hero[data-step="2"] .uo-seal{opacity:0;pointer-events:none}
@media (max-width:900px){
  .uo-hero .uo-seal{position:static;margin:22px 0 0}
  .uo-seal .on-image{display:none}
  .uo-seal .on-page{display:block}
  .uo-hero .uo-seal img{height:64px}
  .uo-hero[data-step="1"] .uo-seal,.uo-hero[data-step="2"] .uo-seal{opacity:1;pointer-events:auto}
}
@media (max-width:640px){.uo-hero .uo-seal img{height:55px}}
