.ur-proof {
  --ink: #191815;
  --muted: #635f59;
  --ur-line: #cbc5bb;
}
.ur-proof *, .ur-proof *::before, .ur-proof *::after { box-sizing: border-box; }
.ur-proof button, .ur-modal-close {
  background: none; color: inherit; border: 0; border-radius: 0;
  font: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.ur-proof .proof-head { padding-bottom: 15px; border-color: var(--ur-line); }
.ur-proof .proof-head h2 { font-size: 10px; letter-spacing: .17em; }
.ur-layout {
  display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  align-items: center; gap: clamp(38px,5vw,88px); margin-top: 28px;
}
.ur-credit { display: flex; align-items: center; gap: 14px; }
.ur-live {
  display: inline-block; background: var(--ink); color: var(--ivory); padding: 4px 7px;
  font: 500 9px/1.15 var(--sans); letter-spacing: .13em; text-transform: uppercase;
}
.ur-credit .ur { font-size: clamp(19px,1.55vw,24px); letter-spacing: .02em; white-space: nowrap; }
.ur-title {
  font-size: clamp(54px,5.4vw,80px); font-weight: 300; line-height: 1.04;
  letter-spacing: -.057em; margin: 25px 0;
}
.ur-summary { margin: 0; max-width: 360px; font-size: clamp(16px,1.35vw,19px); line-height: 1.55; color: var(--muted); }
.ur-date { margin: 25px 0 0; font-size: 12px; color: var(--muted); }
.ur-studio {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  grid-template-areas: "phone index" "transport transport"; align-items: center;
  gap: 27px 20px; background: var(--ground); padding: 30px clamp(23px,2.75vw,40px) 17px;
}
.ur-phone-space { grid-area: phone; display: grid; place-items: center; min-width: 0; }
.ur-phone {
  width: clamp(186px,15.4vw,224px); max-width: 100%; padding: 5px; border-radius: 25px;
  border: 1px solid #282724; background: #1b1a18; box-shadow: 0 17px 29px -25px rgba(23,21,18,.6);
}
.ur-screen { position: relative; overflow: hidden; isolation: isolate; border-radius: 19px; aspect-ratio: 864/1766; background: white; }
.ur-screen video { display: block; width: 100%; height: 100%; object-fit: contain; }
.ur-ready .ur-screen video { cursor: zoom-in; }
.ur-brackets {
  position: absolute; pointer-events: none;
  --stroke: linear-gradient(#29251d,#29251d);
  background:
    var(--stroke) left top / 7px 1.5px, var(--stroke) left top / 1.5px 7px,
    var(--stroke) right top / 7px 1.5px, var(--stroke) right top / 1.5px 7px,
    var(--stroke) left bottom / 7px 1.5px, var(--stroke) left bottom / 1.5px 7px,
    var(--stroke) right bottom / 7px 1.5px, var(--stroke) right bottom / 1.5px 7px;
  background-repeat: no-repeat; filter: drop-shadow(0 0 1px white);
}
.ur-index { grid-area: index; max-width: 210px; min-width: 0; }
.ur-index .eyebrow { color: var(--muted); font-size: 9px; letter-spacing: .17em; }
.ur-index h4 { font-weight: 350; font-size: clamp(29px,2.5vw,39px); letter-spacing: -.05em; line-height: 1.04; margin: 12px 0; }
.ur-help { font-size: 12px; line-height: 1.5; color: var(--muted); max-width: 170px; margin: 0 0 19px; }
.ur-pieces { border-top: 1px solid var(--ur-line); }
.ur-pieces button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  min-height: 40px; border-bottom: 1px solid var(--ur-line); padding: 9px 0; text-align: left; font-size: 13px;
}
.ur-pieces button span { color: var(--muted); transition: transform .18s ease; }
.ur-pieces button:is(:hover,:focus-visible,[aria-pressed=true]) span { color: var(--ink); transform: translate(2px,-2px); }
.ur-pieces button[aria-pressed=true] { box-shadow: inset 0 -1px var(--ink); font-weight: 650; }
.ur-transport { grid-area: transport; border-top: 1px solid var(--ur-line); padding-top: 10px; }
.ur-transport-head { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.ur-toggle, .ur-expand { display: grid; place-items: center; flex: none; padding: 0; }
.ur-proof .ur-toggle { width: 31px; height: 31px; border: 1px solid #8b857b; border-radius: 50%; }
.ur-glyph { display: block; width: 10px; height: 11px; background: var(--ink); clip-path: polygon(12% 0,100% 50%,12% 100%); }
.ur-toggle[data-state=playing] .ur-glyph { clip-path: none; background: linear-gradient(90deg,var(--ink) 33%,transparent 33% 67%,var(--ink) 67%); }
.ur-toggle[data-state=ended] .ur-glyph { width: 14px; height: 14px; clip-path: none; background: none; }
.ur-toggle[data-state=ended] .ur-glyph::after { content: "↻"; display: block; font: 17px/14px var(--sans); }
.ur-now { font-size: 13px; font-weight: 550; }
.ur-clock { margin-left: auto; color: var(--muted); font: 10px/1 var(--mono); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ur-expand { width: 34px; height: 34px; }
.ur-ruler { --progress: 0%; height: 39px; margin: 0 5px; position: relative; }
.ur-ticks, .ur-stops, .ur-played, .ur-needle, .ur-ruler input { position: absolute; }
.ur-ticks { inset: 17px 0 8px; border-top: 1px solid #8b857b; background: repeating-linear-gradient(to right,#a39c91 0 1px,transparent 1px 2.5%) left top/100% 4px no-repeat; }
.ur-played { left: 0; top: -1px; height: 2px; width: var(--progress); background: var(--ink); }
.ur-stops { inset: 17px 0 8px; }
.ur-stops i { position: absolute; top: 0; width: 1px; height: 10px; background: #6e685e; }
.ur-needle { top: 10px; left: var(--progress); width: 2px; height: 17px; transform: translateX(-50%); background: var(--ink); pointer-events: none; }
.ur-needle::before { content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 5px; background: var(--ink); clip-path: polygon(0 0,100% 0,50% 100%); }
.ur-ruler input { inset: 0 -5px; width: calc(100% + 10px); height: 100%; padding: 0; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ur-ruler:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.ur-chapters { display: grid; grid-template-columns: 22.5fr 22.5fr 35fr 20fr; margin: 0 5px; }
.ur-chapters button { padding: 0 0 9px; text-align: left; font-size: 12px; min-height: 29px; color: var(--muted); }
.ur-chapters button[aria-current=step] { color: var(--ink); font-weight: 700; }
.ur-chapters button:hover { text-decoration: underline; text-underline-offset: 4px; }
.ur-source { margin: 10px 0 0; font-size: 10px; color: var(--muted); text-align: right; }
.tryon-dlg { width: max-content; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 12px; background: var(--ivory); }
.tryon-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.tryon-heading .ur { font-size: 16px; }
.ur-modal-close { padding: 6px; font-size: 12px; }
.ur-modal-close span { font-size: 16px; }
.tryon-dlg video { display: block; width: auto; height: auto; max-height: min(75dvh,780px); max-width: calc(100vw - 52px); object-fit: contain; background: white; }
.tryon-dlg p { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
@media (min-width:781px) and (max-width:1050px) {
  .ur-layout { grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); gap: 30px; }
  .ur-studio { padding: 22px 20px 12px; gap: 20px 16px; }
  .ur-phone { width: clamp(167px,21vw,201px); }
}
@media (max-width:780px) {
  .ur-proof .proof-head { padding-bottom: 10px; }
  .ur-layout { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .ur-title { margin: 14px 0; font-size: clamp(44px,8vw,58px); }
  .ur-credit .ur { font-size: 20px; }
  .ur-summary { font-size: 15px; max-width: 440px; }
  .ur-date { margin-top: 10px; font-size: 11px; }
  .ur-studio { grid-template-columns: minmax(0,1.14fr) minmax(0,.86fr); gap: 18px 16px; padding: 22px 19px 10px; }
  .ur-phone { width: clamp(179px,27vw,220px); }
  .ur-source { text-align: left; }
}
@media (max-width:510px) {
  .ur-studio { grid-template-columns: 1fr; grid-template-areas: "phone" "transport" "index"; gap: 0; padding: 21px 16px 15px; }
  .ur-phone { width: min(209px,66vw); }
  .ur-phone-space { margin-bottom: 16px; }
  .ur-index { max-width: none; margin-top: 7px; padding-top: 14px; border-top: 1px solid var(--ur-line); }
  .ur-index h4 { font-size: 25px; line-height: 1.15; margin: 4px 0; }
  .ur-help { max-width: none; margin: 3px 0 9px; font-size: 11px; }
  .ur-pieces { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .ur-pieces button { min-height: 37px; font-size: 12px; }
  .ur-now { font-size: 12px; }
  .ur-chapters button { min-height: 35px; font-size: 11px; }
  .ur-clock, .ur-source { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .ur-pieces button span { transition: none; } }
