/* The video workout screen. Matched to the phone shell every other v0.9 screen
   uses: cream card stock, the club red, mono labels, 12px and up for anything a
   13-year-old has to act on. */

.vw-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: var(--track-wider);
  font-weight: 700;
  color: #9C1A20;
}
.vw-title {
  font-family: var(--font-display, var(--font-body));
  font-size: 21px;
  line-height: 1.15;
  font-weight: 800;
  color: #0A0A0A;
}
.vw-sub { font-size: 12.5px; color: rgba(10, 10, 10, .66); }
.vw-back {
  align-self: flex-start;
  margin-top: 2px;
  padding: 7px 12px;
  border: 1px solid rgba(10, 10, 10, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--track-wide);
  font-weight: 700;
  cursor: pointer;
}

.vw-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px;
  border: 1px solid rgba(10, 10, 10, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
}
.vw-pick { cursor: pointer; }
.vw-picked { border-color: rgba(38, 122, 66, .5); background: rgba(38, 122, 66, .10); }

.vw-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.vw-collection {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: var(--track-wider);
  font-weight: 700;
  color: #9C1A20;
}
.vw-name { font-size: 15px; font-weight: 700; margin: 4px 0 6px; color: #0A0A0A; }
.vw-label { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: rgba(10, 10, 10, .72); }
.vw-value { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: #0A0A0A; }
.vw-muted { font-size: 13px; color: rgba(10, 10, 10, .66); }
.vw-fine { font-size: 12px; line-height: 1.35; color: rgba(10, 10, 10, .6); margin-top: 6px; }

.vw-bar {
  margin-top: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(10, 10, 10, .12);
  overflow: hidden;
}
.vw-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #9C1A20, #E32A32);
  transition: width .35s ease;
}

.vw-stage {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(10, 10, 10, .2);
}
.vw-stage video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

.vw-controls { display: flex; gap: 8px; }
.vw-play {
  flex: 1;
  height: 52px;
  border-radius: 13px;
  border: 1px solid rgba(200, 35, 42, .55);
  background: rgba(200, 35, 42, .14);
  color: #9C1A20;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: var(--track-wide);
  font-weight: 800;
  cursor: pointer;
}
.vw-rewind {
  width: 120px;
  height: 52px;
  border-radius: 13px;
  border: 1px solid rgba(10, 10, 10, .22);
  background: rgba(255, 255, 255, .6);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.vw-note {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(200, 35, 42, .35);
  background: rgba(200, 35, 42, .10);
  font-size: 13px;
  line-height: 1.35;
  color: #7E1419;
}
.vw-done {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(38, 122, 66, .45);
  background: rgba(38, 122, 66, .12);
  font-size: 14px;
  font-weight: 700;
  color: #1E5A34;
}
.vw-stopped {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(200, 35, 42, .45);
  background: rgba(200, 35, 42, .12);
  font-size: 13.5px;
  font-weight: 700;
  color: #7E1419;
}

/* 13U dated workout card. The existing 440px phone shell remains intact. */
.vc-screen { color: #f6f3ee !important; }
.vc-screen *, .vc-screen *::before, .vc-screen *::after { box-sizing: border-box; }
.vc-screen [hidden] { display: none !important; }
.vc-screen #vw-head { padding: 6px 12px !important; }
.vc-screen #vw-body { padding: 8px 10px 16px !important; gap: 10px !important; }
.vc-date-nav { display: flex; align-items: center; gap: 8px; color: #191817; font: 11px var(--font-mono); }
.vc-date-nav span { flex: 1; text-align: center; }
.vc-date-nav button { border: 1px solid #a11d28; border-radius: 10px; background: #131313; color: white; min-width: 38px; min-height: 38px; font-size: 24px; }
.vc-date-nav a { font: 12px var(--font-mono); color: #8c1620; padding: 10px 0; }
.vc-workout { border: 1px solid #af202b; border-radius: 20px; padding: 12px 11px; background: linear-gradient(150deg,#090909,#121010); box-shadow: 0 3px 10px #0006; }
.vc-header { display: flex; align-items: flex-start; gap: 8px; justify-content: space-between; }
.vc-header > div:first-child { flex: 1; min-width: 0; }
.vc-screen h1 { font: 700 27px/1.05 var(--font-header); letter-spacing: .035em; margin: 0 0 9px; color: white; }
.vc-chips { display: flex; flex-wrap: wrap; gap: 5px; font: 9px var(--font-mono); letter-spacing: .07em; }
.vc-chips span { border: 1px solid #81202a; color: #ed3941; border-radius: 20px; padding: 6px 9px; }
.vc-chips span:nth-child(2) { border-color: #404040; color: #bbb; }
.vc-badge { flex-shrink: 0; width: 62px; min-height: 72px; padding: 6px; display: flex; flex-direction: column; align-items: center; border: 1px solid #ee525c; border-radius: 17px; background: linear-gradient(#dc2631,#a71924); box-shadow: 0 4px 18px #a11d2833; font: 10px var(--font-mono); }
.vc-badge b { font: 700 34px/.95 var(--font-header); }
.vc-badge small { font-size: 8px; letter-spacing: .15em; }
.vc-badge span { margin-top: 4px; text-transform: uppercase; }
.vc-screen .vc-video-name { font: 13px var(--font-mono); margin: 12px 0 8px; color: #d1ceca; }
.vc-stage { position: relative; background: #000; border: 1px solid #383838; border-radius: 14px; overflow: hidden; isolation: isolate; }
.vc-stage video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #080808; }
.vc-screen button { cursor: pointer; }
.vc-screen button:disabled { cursor: default; opacity: .45; }
.vc-big-play { position: absolute; top: 38%; left: 50%; transform: translate(-50%,-50%); width: 60px; height: 44px; border-radius: 13px; border: 1px solid #ff7377; color: white; background: #db1825; font-size: 24px; box-shadow: 0 4px 18px #0009; }
.vc-player-controls { display: flex; align-items: center; gap: 5px; padding: 3px 7px; background: #111; }
.vc-player-controls button { min-height: 40px; border: 0; background: transparent; color: white; padding: 5px; font: 11px var(--font-mono); }
.vc-player-controls span { margin-left: auto; color: #aaa; font: 9px var(--font-mono); }
.vc-player-controls #vc-fullscreen { font: 28px var(--font-mono); min-width: 37px; }
.vc-stage progress { display: block; width: 100%; height: 4px; border: 0; accent-color: #df2734; }
.vc-stage progress::-webkit-progress-bar { background: #363636; }
.vc-stage progress::-webkit-progress-value { background: #df2734; }
.vc-status-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 5px; font: 9px var(--font-mono); letter-spacing: .1em; color: #bbb; }
.vc-status-row b { padding: 5px 8px; border: 1px solid #a81f29; border-radius: 20px; color: #e43942; font-weight: 400; }
.vc-panel { padding: 14px; border: 1px solid #2f2c2c; border-radius: 14px; background: linear-gradient(115deg,#141414,#0d0d0d); margin-top: 8px; }
.vc-screen h2 { font: 700 24px/1.1 var(--font-header); margin: 0 0 6px; color: #f6f5f2; }
.vc-panel p { font: 12px/1.5 var(--font-mono); color: #bdbab7; margin: 5px 0 8px; }
.vc-screen .vc-hint { font-size: 10px; color: #aaa; }
.vc-text-button { border: 0; padding: 7px 0; background: transparent; color: #ddd; font: 14px var(--font-mono); min-height: 42px; }
.vc-label { font: 10px var(--font-mono); letter-spacing: .13em; color: #c4c0bc; }
#vc-log { width: 100%; min-height: 42px; color: #fff; border: 1px solid #575454; border-radius: 15px; background: #393636; font: 12px var(--font-mono); letter-spacing: .08em; }
.vc-playlist { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.vc-playlist button { border: 1px solid #383535; background: #171515; color: #d6d1cd; padding: 9px; text-align: left; font: 11px/1.4 var(--font-mono); border-radius: 8px; min-height: 40px; }
.vc-playlist button[aria-pressed="true"] { border-color: #c72530; }
.vc-clock { padding: 13px 10px; text-align: center; border-radius: 17px; border: 1px solid #64151b; background: #0c0c0c; color: #bbb; font: 11px var(--font-mono); letter-spacing: .1em; }
.vc-clock b { color: white; font: 700 27px var(--font-header); margin-left: 8px; }
.vc-baseball ul { list-style: none; margin: 10px 0; padding: 0; }
.vc-baseball li { border-top: 1px solid #333; padding: 8px 0; font: 14px var(--font-header); }
.vc-baseball li span { display: block; color: #aaa; margin-top: 3px; font: 10px var(--font-mono); }
.vc-link { display: block; padding: 12px; background: #b21c28; border: 1px solid #ec4853; border-radius: 10px; text-align: center; color: white; font: 13px var(--font-header); }
#vc-note { padding: 10px; color: #f7d4b7; background: #422323; border-radius: 8px; font: 12px/1.4 var(--font-mono); }
.vc-overlay { position: absolute; inset: 0; z-index: 5; padding: 14px; background: #101010fa; overflow: auto; text-align: center; color: white; }
.vc-overlay h2 { font-size: 22px; }
.vc-overlay p { font: 11px/1.4 var(--font-mono); margin: 7px 0; }
#vc-code-display { display: block; font: 800 30px var(--font-mono); letter-spacing: .2em; color: #fff; }
.vc-overlay button { min-height: 40px; padding: 8px 12px; border: 1px solid #e74651; border-radius: 8px; background: #b21c28; color: white; font: 12px var(--font-mono); }
.vc-overlay label { display: block; margin: 7px 0 3px; font: 11px var(--font-mono); }
.vc-overlay input { width: 100%; max-width: 250px; min-height: 38px; text-align: center; border: 1px solid #aaa; border-radius: 6px; background: #fff; color: #111; font: 700 22px var(--font-mono); text-transform: uppercase; letter-spacing: .15em; margin-bottom: 7px; }
.vj-panel { min-width: 0; overflow-wrap: anywhere; }
.vj-panel h2 { margin-bottom: 10px; }
.vj-panel summary { cursor: pointer; min-height: 44px; display: list-item; padding: 12px 0; font-weight: 700; }
.vj-panel label { display: block; margin: 12px 0; font-size: 13px; line-height: 1.5; }
.vj-panel label span { color: #aaa; }
.vj-panel input, .vj-panel select, .vj-panel textarea { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 44px; padding: 10px; margin-top: 5px; border: 1px solid #777; border-radius: 7px; background: #111; color: #f8f6f2; font: 16px/1.3 var(--font-body); }
.vj-panel button { min-height: 44px; padding: 10px 12px; border: 1px solid #777; border-radius: 8px; background: #222; color: #fff; }
.vj-panel .vj-save { width: 100%; background: #a11d28; border-color: #c53843; }
.vj-panel button:disabled { opacity: .55; }
.vj-panel fieldset { min-width: 0; padding: 10px; border: 1px solid #555; border-radius: 8px; }
.vj-panel legend { font-weight: 700; padding: 0 5px; }
.vj-comparison ul { list-style: none; padding: 0; }
.vj-comparison li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 12px; border-bottom: 1px solid #333; }
.vj-comparison b { text-align: right; font-weight: 400; }
.vj-panel .vj-message { min-height: 20px; color: #f3ce81; }
.vj-panel :focus-visible { outline: 2px solid #f3ce81; outline-offset: 3px; }
.vc-stage:fullscreen, .vc-stage:-webkit-full-screen, .vc-stage.vc-theater { width: 100vw; height: 100dvh; border: 0; border-radius: 0; display: flex; flex-direction: column; background: #000; }
.vc-stage.vc-theater { position: fixed; inset: 0; z-index: 2147483646; }
.vc-stage:fullscreen video, .vc-stage:-webkit-full-screen video, .vc-stage.vc-theater video { flex: 1; min-height: 0; height: calc(100dvh - 48px); object-fit: contain; }
.vc-stage:fullscreen .vc-overlay, .vc-stage:-webkit-full-screen .vc-overlay, .vc-stage.vc-theater .vc-overlay { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 14px max(16px,env(safe-area-inset-left)); }
.vc-stage:fullscreen .vc-overlay p, .vc-stage.vc-theater .vc-overlay p { max-width: 560px; }
.vw-guidance{padding:12px;overflow-wrap:anywhere}
.vw-guidance button{min-height:44px;padding:8px 14px}
.vw-guidance summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.vw-guidance li{padding:6px 0;font-size:14px}
.vw-guidance [aria-current="step"]{font-weight:800;color:#e9b76a}
.vj-status{font-weight:700;font-size:14px}
.vj-recovery button{min-height:44px;margin:4px 8px 4px 0;padding:8px;max-width:100%}
