:root{
  --bg:#fff;
  --text:#202124;
  --muted:#a4a7ad;
  --line:#f25a45;
  --line-soft:rgba(242,90,69,.26);
  --good:#78cf56;
  --border:#edf0f4;
  --soft:#f4f4f4;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  overflow-x:hidden;
}
.topnav{
  position:sticky;
  top:0;
  z-index:50;
  padding:8px 0 4px;
  background:
    radial-gradient(circle at top, rgba(173,216,230,.22), transparent 35%),
    linear-gradient(180deg, #0f1720 0%, #182534 55%, #213247 100%);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.topnav__container{
  position:relative;
  width:90%;
  max-width:800px;
  margin:0 auto;
  padding:0 20px;
  z-index:1;
}
.topnav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  background:rgba(255,255,255,.10);
}
.topnav__brand,
.topnav__link{
  color:rgba(255,255,255,.94);
  text-decoration:none;
  white-space:nowrap;
  border:1px solid transparent;
  border-radius:14px;
  font-weight:700;
  letter-spacing:.2px;
}
.topnav__brand{
  padding:8px 11px;
}
.topnav__links{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.topnav__link{
  padding:8px 11px;
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
}
.topnav__link:hover,
.topnav__brand:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.22);
}
.topnav .is-active{
  background:rgba(0,0,0,.22);
  border-color:rgba(255,255,255,.26);
}
.page{
  max-width:1180px;
  margin:0 auto;
  padding:12px 22px 70px;
}
.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:56px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#000;
  text-decoration:none;
  font-size:26px;
}
.brand-mark{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#000;
  color:#fff;
  font-weight:800;
  font-size:20px;
}
.burst{
  width:32px;
  height:32px;
  border-radius:50%;
  background:repeating-conic-gradient(from 0deg, #fff 0 8deg, transparent 8deg 16deg), #f25a45;
}
.actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.link-button,.select{
  min-height:42px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#f7f7f7;
  color:var(--text);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 16px;
  font-weight:700;
}
.select span{
  font-size:13px;
  color:#555;
}
select{
  border:0;
  background:transparent;
  color:var(--text);
  font:inherit;
  outline:none;
}
.meter-stage{
  margin-top:8px;
  display:flex;
  justify-content:center;
}
.meter-button{
  position:relative;
  width:min(100%, 1000px);
  height:520px;
  border:0;
  background:transparent;
  color:var(--text);
  padding:0;
  cursor:pointer;
  touch-action:manipulation;
}
.meter-button:focus-visible{outline:none}
.meter-scale{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
}
.tick{
  stroke:var(--line);
  stroke-width:2.4;
  stroke-linecap:square;
}
.tick.major{
  stroke-width:3.2;
}
.tick.active{
  stroke-width:4;
}
.progress-arc{
  fill:none;
  stroke:var(--line);
  stroke-width:9;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
}
.scale-label{
  fill:var(--line);
  font-size:24px;
  font-weight:500;
  text-anchor:middle;
}
.idle-label{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:56px;
  font-weight:400;
  letter-spacing:0;
}
.metric-grid{
  position:absolute;
  left:50%;
  top:48%;
  transform:translate(-50%,-50%);
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:76px;
  align-items:center;
  min-width:720px;
}
.metric span{
  display:block;
  font-size:20px;
  font-weight:700;
  margin-bottom:8px;
}
.metric strong{
  display:block;
  font-size:68px;
  line-height:.95;
  font-weight:400;
  white-space:nowrap;
}
.metric small{
  display:block;
  margin-top:12px;
  font-size:22px;
  font-weight:700;
}
.quality{
  margin:18px auto 72px;
  width:min(100%, 760px);
  display:grid;
  grid-template-columns:1.1fr 1fr auto;
  align-items:center;
  gap:28px;
}
.score{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:16px;
}
.score strong{
  grid-row:1 / span 2;
  font-size:60px;
  font-weight:400;
  line-height:1;
}
.score span:last-child{
  font-size:18px;
}
.dots{
  display:flex;
  gap:7px;
}
.dots i{
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--good);
}
.video{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:14px;
  font-size:18px;
}
.video strong{
  border:2px solid #333;
  border-radius:6px;
  padding:9px 10px;
  font-size:20px;
}
.retry{
  min-height:52px;
  border:0;
  border-radius:999px;
  background:#f1f1f1;
  color:#333;
  padding:0 30px;
  font:inherit;
  font-size:18px;
  cursor:pointer;
}
.user-data{
  text-align:center;
  margin:0 auto;
  width:min(100%, 720px);
}
.user-data h2{
  font-size:18px;
  margin:0 0 18px;
  font-weight:400;
}
.data-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 26px;
}
.data-grid div{
  min-width:0;
}
.data-grid span{
  display:block;
  color:var(--muted);
  font-size:18px;
  margin-bottom:6px;
}
.data-grid strong{
  display:block;
  font-size:20px;
  font-weight:400;
  overflow-wrap:anywhere;
}
.technical{
  width:min(100%, 820px);
  margin:58px auto 0;
  border-top:1px solid var(--border);
  padding-top:24px;
}
.technical-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
}
.technical-head h2{
  margin:0;
  font-size:20px;
  font-weight:700;
  text-align:center;
}
.copy-button{
  min-height:42px;
  border:0;
  border-radius:999px;
  background:#f1f1f1;
  color:#333;
  padding:0 18px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.technical p{
  color:#777;
  text-align:center;
}
.tech-grid{
  display:grid;
  gap:10px;
  margin-top:20px;
}
.tech-grid div{
  display:grid;
  grid-template-columns:230px 1fr;
  gap:14px;
}
.tech-grid dt{
  color:#777;
  text-align:right;
}
.tech-grid dd{
  margin:0;
  overflow-wrap:anywhere;
}
.copy-status{
  min-height:18px;
  margin-top:14px;
  color:#777;
  font-size:14px;
  text-align:center;
}
@media (max-width:760px){
  .topnav{
    padding:10px 0;
  }
  .topnav__container{
    width:95%;
    padding:0 10px;
  }
  .topnav__inner{
    align-items:center;
    padding:10px;
    border-radius:16px;
  }
  .topnav__links{
    justify-content:flex-start;
  }
  .topnav__brand,
  .topnav__link{
    padding:8px 10px;
  }
  .page{
    padding:12px 16px 70px;
  }
  .top{
    align-items:flex-start;
    min-height:44px;
  }
  .brand{
    max-width:100%;
    gap:7px;
    font-size:clamp(24px, 7vw, 30px);
    line-height:1.05;
    white-space:nowrap;
  }
  .brand-mark{
    width:34px;
    height:34px;
    font-size:22px;
    flex:0 0 auto;
  }
  .burst{
    width:36px;
    height:36px;
    flex:0 0 auto;
  }
  .actions{
    position:fixed;
    left:20px;
    right:20px;
    bottom:18px;
    z-index:10;
    justify-content:center;
    padding:10px;
    border-radius:999px;
    background:rgba(255,255,255,.86);
    box-shadow:0 12px 36px rgba(0,0,0,.13);
    backdrop-filter:blur(12px);
  }
  .link-button{
    display:none;
  }
  .select{
    min-height:44px;
    box-shadow:none;
  }
  .meter-stage{
    margin-top:6px;
  }
  .meter-button{
    width:min(100%, 390px);
    height:clamp(470px, calc(100svh - 220px), 540px);
  }
  .progress-arc{
    stroke-width:6;
  }
  .scale-label{
    font-size:18px;
  }
  .idle-label{
    font-size:clamp(38px, 11vw, 48px);
  }
  .metric-grid{
    top:52%;
    min-width:0;
    width:82%;
    grid-template-columns:1fr;
    gap:14px;
  }
  .metric span{
    font-size:15px;
    margin-bottom:3px;
  }
  .metric strong{
    font-size:clamp(38px, 13vw, 48px);
  }
  .metric small{
    margin-top:5px;
    font-size:16px;
  }
  .quality{
    margin-top:16px;
    margin-bottom:70px;
    width:100%;
    grid-template-columns:1fr;
    gap:20px;
    text-align:center;
  }
  .score{
    justify-content:center;
  }
  .video{
    justify-content:center;
    text-align:left;
  }
  .retry{
    display:none;
  }
  .data-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .data-grid span{
    font-size:24px;
  }
  .data-grid strong{
    font-size:25px;
  }
  .tech-grid div{
    grid-template-columns:1fr;
    gap:2px;
  }
  .tech-grid dt{
    text-align:left;
  }
  .technical-head{
    flex-direction:column;
    gap:12px;
  }
  .copy-button{
    width:100%;
    justify-content:center;
  }
}
@media (max-width:430px){
  .page{
    padding-left:12px;
    padding-right:12px;
  }
  .top{
    min-height:42px;
  }
  .brand{
    font-size:clamp(23px, 7vw, 28px);
  }
  .brand-mark{
    width:32px;
    height:32px;
  }
  .burst{
    width:34px;
    height:34px;
  }
  .meter-button{
    height:clamp(455px, calc(100svh - 220px), 520px);
  }
  .idle-label{
    font-size:clamp(36px, 11vw, 44px);
  }
  .metric strong{
    font-size:clamp(38px, 13vw, 46px);
  }
}
