/* Features page (scripts/pages/features.mjs). Builds on home.css; every class here starts with f-.
   Base styles are the still frame shown when motion is off; keyframes only add movement on top. */

/* Hero inspector */
.f-hero {
  min-height: 680px;
}
.f-inspector {
  position: relative;
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.f-insp-stage {
  --ph: 466px;
  display: grid;
  place-items: center;
  height: calc(var(--ph) + 10px);
}
.f-preview {
  position: relative;
  height: var(--ph);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid #2a2b2d;
  background: #1c1d1e;
  box-shadow: 0 20px 40px #0009;
  animation: f-aspect 12s var(--ease) infinite;
}
.f-preview .h-photo,
.f-cap-frame .h-photo,
.f-brand-phone .h-photo {
  position: absolute;
  inset: 0;
  object-position: center 30%;
}
.f-rec {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #101011cc;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.f-logo-dot {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid #ffffff33;
  background: #101011cc;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.9;
}
.f-preview .h-karaoke {
  font-size: 18px;
}
.f-preview .h-karaoke.style-2 {
  font-size: 19px;
}
.f-preview .h-karaoke.style-3 {
  font-size: 15px;
}
.f-layer {
  animation: f-show3 9s infinite backwards;
}
.f-layer.f-l2 {
  opacity: 0;
  animation-delay: 3s;
}
.f-layer.f-l3 {
  opacity: 0;
  animation-delay: 6s;
}
.f-panel {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #18191af2;
  box-shadow: 0 20px 40px #0007;
}
.f-panel-head {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.f-panel-head b {
  font-size: 17px;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
}
.f-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #2a2b2d;
  font-size: 13.5px;
}
.f-row > span {
  color: var(--muted);
}
.f-row > b {
  font-weight: 600;
  text-align: right;
}
.f-tag-plus {
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid #d2f88b55;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.f-vals {
  display: grid;
  justify-items: end;
}
.f-vals > i {
  grid-area: 1 / 1;
  font-style: normal;
  opacity: 0;
  animation: f-val3 9s infinite backwards;
}
.f-vals > i:first-child {
  opacity: 1;
}
.f-vals > :nth-child(2) { animation-delay: 3s; }
.f-vals > :nth-child(3) { animation-delay: 6s; }
.f-vals > .f-v1,
.f-vals > .f-v2,
.f-vals > .f-v3 {
  animation-duration: 10.5s;
}
.f-vals > .f-v2 { animation-delay: 3.5s; }
.f-vals > .f-v3 { animation-delay: 7s; }
.f-fmtvals > i {
  animation-duration: 12s;
}
.f-fmtvals > .f-a2 { animation-delay: 4s; }
.f-fmtvals > .f-a3 { animation-delay: 8s; }
.f-fmtvals > i {
  color: var(--accent);
}
.f-render {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.f-render > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.f-render > i {
  display: block;
  height: 5px;
  border-radius: 9px;
  background: #2a2b2d;
  overflow: hidden;
}
.f-render > i > i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: h-fill 4s var(--ease) infinite;
}

/* Tool map */
.f-map-wrap {
  padding-top: 40px;
}
.f-map-head {
  max-width: 820px;
  margin-bottom: 28px;
}
.f-map-head h2 {
  margin-top: 16px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.045em;
}
.f-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.f-map a {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--edge), var(--shadow-card);
  transition:
    border-color 0.3s,
    translate 0.45s var(--ease-out),
    opacity 0.8s var(--ease);
}
.f-map a:hover {
  translate: 0 -4px;
  border-color: #4a4c4f;
  box-shadow: var(--edge), var(--shadow-raised);
}
.f-map a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.f-map-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.f-map-top b {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.f-map strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.f-map a > span:last-child {
  font-size: 13px;
  color: var(--muted);
}
.f-map-credits {
  background:
    radial-gradient(300px circle at 100% 0%, #d2f88b14, #0000 70%),
    var(--surface) !important;
  border-color: #d2f88b44 !important;
}

/* Tool sections */
.f-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
  padding-top: 130px;
}
.f-flip .f-tool-copy {
  order: 2;
}
.f-tool-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.f-num {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.f-tool-top .h-plan {
  align-self: center;
}
.f-cost {
  font-size: 12.5px;
  color: var(--muted);
}
.f-tool h2 {
  margin-top: 20px;
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.05em;
}
.f-lead {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.65;
}
.f-specs {
  margin: 26px 0 0;
}
.f-specs > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
}
.f-specs > div:last-child {
  border-bottom: 1px solid var(--line);
}
.f-specs dt {
  font-weight: 600;
}
.f-specs dd {
  margin: 0;
  color: var(--muted);
}
.f-note {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid #d2f88b55;
  font-size: 13.5px;
}
.f-link {
  display: inline-flex;
  gap: 6px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.f-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.f-art {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 460px;
  padding: 54px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(520px circle at 85% 0%, #d2f88b0d, #0000 60%),
    #141515;
  box-shadow: var(--edge), var(--shadow-card);
  overflow: hidden;
}
.f-bar {
  position: absolute;
  top: 18px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #6f716c;
}

/* 07 Summarizer */
.f-sum {
  display: grid;
  gap: 14px;
}
.f-sum .h-sum {
  font-size: 12.5px;
}
.f-sum-opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.f-sum-opts span {
  display: grid;
  gap: 3px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1a1b1c;
}
.f-sum-opts small {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d8f89;
}
.f-sum-opts b {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 01 Clip discovery */
.f-find {
  display: grid;
  gap: 18px;
}
.f-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.f-tabs span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.f-tabs .on {
  border-color: var(--accent);
  background: var(--accent);
  color: #172011;
  font-weight: 600;
}
.f-ruler {
  position: relative;
  height: 70px;
  padding: 6px 6px 20px;
  border-radius: 12px;
  background: #101111;
  overflow: hidden;
}
.f-ruler .h-wave i {
  background: #3e4043;
}
.f-hitbox {
  position: absolute;
  top: 6px;
  bottom: 20px;
  left: var(--x);
  width: var(--w);
  border-radius: 6px;
  border: 1.5px solid var(--accent);
  background: #d2f88b1f;
  animation: f-hit 9s var(--ease) infinite backwards;
  animation-delay: calc(0.6s + var(--i) * 1.2s);
}
/* Full-width layers with the line at their left edge, moved by transform instead of `left`. */
.f-scan,
.f-ph,
.f-ed-head {
  position: absolute;
  top: 0;
  bottom: 18px;
  left: -10px;
  width: 100%;
  background: linear-gradient(90deg, #0000, #fff3 7px, var(--text) 9px 11px, #fff3 13px, #0000 20px) 0 0 / 20px 100% no-repeat;
  pointer-events: none;
  animation: f-scan-x 9s linear infinite;
}
.f-times {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 3px;
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
}
.f-times small {
  font-size: 10px;
  color: #6f716c;
}
.f-sugs {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.f-sugs li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid #2a2b2d;
  border-radius: 14px;
  background: #1a1b1c;
  animation: f-card 9s var(--ease) infinite backwards;
  animation-delay: calc(0.9s + var(--i) * 1.2s);
}
.f-score {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #1a1b1c 76%, #0000 79%),
    conic-gradient(var(--accent) calc(var(--s) * 1%), #2e2f31 0);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.f-sugs strong {
  display: block;
  font-size: 14.5px;
}
.f-sugs div > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.f-sugs em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: #cfd0c9;
}
.f-keep {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d2f88b55;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

/* 02 Captions */
.f-cap {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.f-cap-frame,
.f-brand-phone,
.f-pod-out,
.f-cam-out {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #2a2b2d;
  background: #0d0d0e;
  box-shadow: 0 15px 30px #0008;
}
.f-cap-frame .h-karaoke {
  font-size: 17px;
}
.f-cap-side {
  display: grid;
  gap: 16px;
}
.f-cap-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.f-cap-list li {
  display: grid;
  gap: 2px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  animation: f-hl3 9s infinite backwards;
}
.f-cap-list .f-l1 {
  border-color: #d2f88b88;
  background: #d2f88b12;
}
.f-cap-list .f-l2 { animation-delay: 3s; }
.f-cap-list .f-l3 { animation-delay: 6s; }
.f-cap-list b {
  font-size: 15px;
}
.f-cap-list span {
  font-size: 12.5px;
  color: var(--muted);
}
.f-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.f-swatches span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #1d1e1f;
  font-size: 12px;
  color: var(--muted);
}
.f-swatches i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
}
.f-swatches .f-aa {
  width: auto;
  height: auto;
  background: none;
  font-style: normal;
  font-weight: 800;
  color: var(--text);
}
.f-words {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.f-words span {
  padding: 3px 9px;
  border-radius: 6px;
  background: #1d1e1f;
  font-size: 12px;
  font-weight: 600;
  animation: f-tick 3.2s infinite;
}
.f-words span:nth-child(2) { animation-delay: 0.4s; }
.f-words span:nth-child(3) { animation-delay: 0.8s; }
.f-words span:nth-child(4) { animation-delay: 1.2s; }
.f-words small {
  width: 100%;
  font-size: 11px;
  color: #6f716c;
}

/* 03 Formats */
.f-fmt {
  display: grid;
  gap: 18px;
}
.f-fmt-src {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: radial-gradient(#ffffff14 1px, #0000 1px) 0 0 / 16px 16px, #161718;
}
/* Frames keep their real pixel proportions, so 16:9 is wider and 9:16 taller. */
.f-frame {
  position: relative;
  flex: var(--w) 1 0;
  min-width: 0;
  aspect-ratio: var(--w) / var(--h);
  border: 2px solid #3a3b3d;
  border-radius: 8px;
  background: #1f2022;
  overflow: hidden;
  isolation: isolate;
  animation: f-edge 8s infinite backwards;
  animation-delay: calc(var(--i) * 0.9s);
}
.f-frame .h-photo {
  object-position: 47% 30%;
  filter: saturate(0.86);
}
.f-format-cap {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 10%;
  color: #fff;
  font-size: clamp(9px, 1.1vw, 12px);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 4px #000c;
}
.f-format-cap mark {
  padding: 0 3px;
  border-radius: 3px;
  background: var(--accent);
  color: #172011;
}
.f-credit {
  margin: -6px 0 0;
}
.f-frame b {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #0000008c;
  color: var(--text);
  font-size: 11px;
}
.f-queue {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.f-queue li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--raised);
  font-size: 12.5px;
  overflow: hidden;
}
.f-queue li > b { font-weight: 650; font-variant-numeric: tabular-nums; }
.f-queue li > span { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
/* Match the app's rexp-bar: a quiet 2px line at the row's lower edge. */
.f-prog { position: absolute; inset: auto 0 0; display: block; height: 2px; background: #ffffff08; overflow: hidden; animation: f-st-r 8s infinite backwards; animation-delay: calc(var(--i) * 0.9s); }
.f-prog > i { display: block; width: 100%; height: 100%; background: var(--accent); animation: f-prog 8s var(--ease) infinite backwards; animation-delay: calc(var(--i) * 0.9s); }
.f-queue em { display: grid; justify-items: end; font-style: normal; }
.f-queue em > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; white-space: nowrap; animation: 8s infinite backwards; animation-delay: calc(var(--i) * 0.9s); }
.f-queue em svg { width: 14px; height: 14px; flex: none; }
.f-queue em .f-q { color: var(--muted); background: #ffffff06; opacity: 0; animation-name: f-st-q; }
.f-queue em .f-r { padding-inline: 0; color: var(--muted); opacity: 0; animation-name: f-st-r; }
.f-render-spinner { color: var(--accent); animation: f-render-spin .9s linear infinite; }
.f-queue em .f-d { color: #56c596; background: #56c59618; animation-name: f-st-d; }
@keyframes f-render-spin { to { transform: rotate(360deg); } }

/* 04 Brand templates */
.f-brand {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.f-brand-logo {
  position: absolute;
  top: 10px;
  left: calc(100% - 56px);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #ffffff40;
  background: #101011cc;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.9;
  animation:
    f-corner 12s var(--ease) infinite,
    f-opa 6s ease-in-out infinite;
}
.f-brand-cap {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 22%;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 10px #000a;
}
.f-brand-cap mark {
  padding: 0 4px;
  border-radius: 5px;
  background: var(--accent);
  color: #172011;
  text-shadow: none;
  animation: f-swatch 9s infinite;
}
.f-ctl {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #2a2b2d;
  font-size: 13px;
}
.f-ctl:last-child {
  border-bottom: 0;
}
.f-ctl > span {
  color: var(--muted);
}
.f-ctl small {
  color: #6f716c;
  font-size: 11px;
}
.f-corners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 44px;
  height: 44px;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.f-corners i {
  border-radius: 3px;
  background: #2a2b2d;
  animation: f-cell 12s infinite backwards;
}
.f-corners .f-k1 { background: var(--accent); }
.f-corners .f-k2 { animation-delay: 3s; }
.f-corners .f-k3 { animation-delay: 6s; }
.f-corners .f-k4 { animation-delay: 9s; }
.f-seg {
  display: inline-flex;
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.f-seg b {
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.f-seg .on {
  background: #d2f88b1f;
  color: var(--accent);
}
.f-range {
  position: relative;
  height: 6px;
  border-radius: 9px;
  background: #2e2f31;
}
.f-range > i {
  position: absolute;
  top: 50%;
  left: var(--p, 88%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  background: var(--text);
  transform: translate(-50%, -50%);
  animation: f-thumb 6s ease-in-out infinite;
}
.f-range-static > i {
  animation: none;
}
.f-dots {
  display: flex;
  gap: 10px;
}
.f-dots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c);
  outline: 2px solid #0000;
  outline-offset: 2px;
  animation: f-ring 9s infinite backwards;
}
.f-dots .f-d1 { outline-color: var(--text); }
.f-dots .f-d2 { animation-delay: 3s; }
.f-dots .f-d3 { animation-delay: 6s; }
.f-files {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.f-files b {
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.f-files .on {
  border-color: #d2f88b55;
  color: var(--accent);
}

/* 05 Podcast */
.f-pod {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.f-shot {
  position: absolute;
  inset: 0;
  animation: f-cut3 9s linear infinite;
}
.f-shot .h-photo {
  object-position: center 30%;
}
.f-shot.f-s2 { opacity: 0; animation-delay: 3s; }
.f-shot.f-s3 { opacity: 0; animation-delay: 6s; }
.f-wide {
  display: grid;
  place-items: center;
  background: #111213;
}
.f-wide > span {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.f-wide .h-photo,
.f-wide-thumb .h-photo {
  width: 50%;
}
.f-pod-ratio {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #172011;
  font-size: 11px;
  font-weight: 600;
}
.f-shotlist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.f-shotlist li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  animation: f-hl3c 9s linear infinite;
}
.f-shotlist .f-s1 {
  border-color: #d2f88b88;
  background: #d2f88b10;
}
.f-shotlist .f-s2 { animation-delay: 3s; }
.f-shotlist .f-s3 { animation-delay: 6s; }
.f-shotlist li > span {
  display: flex;
  width: 56px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
}
.f-shotlist b {
  display: block;
  font-size: 13px;
}
.f-shotlist small {
  color: var(--muted);
}
.f-shotlist em {
  padding: 2px 8px;
  border-radius: 999px;
  background: #2a2b2d;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}
.f-shotlist .f-unsure {
  background: #f2bb5a24;
  color: #f2bb5a;
}
.f-cuts-line {
  position: relative;
  overflow-x: clip;
  height: 8px;
  margin: 18px 4px;
  border-radius: 9px;
  background: #2a2b2d;
}
.f-cuts-line > i {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: #f2bb5a;
}
.f-cuts-line > i:nth-child(1) { left: 33.33%; }
.f-cuts-line > i:nth-child(2) { left: 66.66%; }
.f-ph {
  top: -4px;
  bottom: -4px;
}
.f-pod-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.f-pod-modes span,
.f-pod-modes b {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.f-pod-modes b {
  margin-left: auto;
  border-color: #d2f88b55;
  color: var(--accent);
  font-weight: 600;
}

/* 06 Webcam */
.f-cam {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 150px;
  gap: 16px;
  align-items: center;
}
.f-cam-src {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
}
.f-cam-face {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #ffffff55;
}
.f-area {
  position: absolute;
  border: 2px dashed var(--accent);
  border-radius: 6px;
  animation: f-draw 6s var(--ease) infinite backwards;
}
.f-area b {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--accent);
  color: #172011;
  font-size: 10px;
}
.f-area-game {
  left: 3%;
  top: 5%;
  width: 62%;
  height: 88%;
}
.f-area-cam {
  right: 4.5%;
  bottom: 6%;
  width: 27%;
  height: 40%;
  border-color: var(--violet);
  animation-delay: 0.6s;
}
.f-area-cam b {
  background: var(--violet);
  color: #1d1730;
}
.f-frames {
  position: absolute;
  left: 50%;
  bottom: 6px;
  display: flex;
  gap: 3px;
  transform: translateX(-50%);
}
.f-frames i {
  width: 16px;
  height: 10px;
  border-radius: 3px;
  background: #ffffff55;
}
.f-frames i:first-child {
  background: var(--accent);
}
.f-arrow {
  font-size: 22px;
  color: var(--accent);
}
.f-o-bg,
.f-o-game,
.f-o-cam {
  position: absolute;
  overflow: hidden;
}
.f-o-bg {
  inset: 0;
  opacity: 0;
  filter: blur(8px) brightness(0.55);
  transform: scale(1.25);
  animation: f-o-bg 12s var(--ease) infinite;
}
.f-o-game {
  left: 0;
  top: 0;
  width: 100%;
  height: 50%;
  animation: f-o-game 12s var(--ease) infinite;
}
.f-o-cam {
  left: 0;
  top: 50%;
  width: 100%;
  height: 50%;
  animation: f-o-cam 12s var(--ease) infinite;
}
.f-o-label {
  position: absolute;
  left: 8px;
  top: 8px;
  display: grid;
  justify-items: start;
}
.f-o-label i {
  grid-area: 1 / 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: #101011d9;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  animation: f-val3 12s infinite backwards;
}
.f-o-label .f-a1 { opacity: 1; }
.f-o-label .f-a2 { animation-delay: 4s; }
.f-o-label .f-a3 { animation-delay: 8s; }

/* 07 Editor */
.f-ed {
  display: grid;
  gap: 20px;
}
.f-ed-text {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: #d9dad3;
}
.f-fix {
  display: inline-grid;
}
.f-fix > * {
  grid-area: 1 / 1;
}
.f-fix s {
  color: #f06a6a;
  opacity: 0;
  animation: f-old 8s infinite;
}
.f-fix b {
  font-weight: inherit;
  color: var(--accent);
  animation: f-new 8s infinite;
}
.f-ed-text del {
  color: #6f716c;
  text-decoration-color: #f06a6a;
  text-decoration-thickness: 2px;
  animation: f-strike 8s infinite;
}
.f-w {
  display: inline-block;
  border-radius: 4px;
  animation: f-cur 8s infinite;
  animation-delay: calc(3.2s + var(--w) * 0.36s);
}
.f-ed-track {
  position: relative;
  overflow-x: clip;
  display: flex;
  gap: 4px;
  height: 48px;
  padding: 7px 14px;
  border-radius: 12px;
  background: #101111;
}
.f-seg-keep {
  flex: var(--g);
  border-radius: 7px;
  border: 1px solid #d2f88b44;
  background: linear-gradient(90deg, #2f3a26, #3c4a2e);
}
.f-seg-cut {
  flex: 1.6;
  border-radius: 7px;
  border: 1px dashed #f06a6a88;
  background: repeating-linear-gradient(45deg, #f06a6a22 0 6px, #0000 6px 12px);
  animation: f-collapse 8s var(--ease) infinite;
}
.f-seg-mute {
  flex: 2;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid #c4b2fa66;
  background: repeating-linear-gradient(90deg, #c4b2fa26 0 3px, #0000 3px 6px);
  overflow: hidden;
}
.f-seg-mute small {
  font-size: 10px;
  color: var(--violet);
}
.f-handle {
  --dir: 1;
  flex: none;
  width: 6px;
  border-radius: 3px;
  background: var(--accent);
  animation: f-trim 8s var(--ease) infinite;
}
.f-handle-r {
  --dir: -1;
}
.f-ed-head {
  top: 3px;
  bottom: 3px;
  left: 4px;
  width: calc(100% - 30px);
  animation: f-ed-head 8s linear infinite;
}
.f-ed-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.f-keys {
  display: inline-flex;
  gap: 3px;
}
.f-keys kbd {
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid #454649;
  border-bottom-width: 2px;
  background: #1d1e1f;
  font: 600 11px Inter, Arial, sans-serif;
  color: var(--text);
  animation: f-press 8s infinite;
}
.f-keys + .f-keys kbd {
  animation-delay: 2.5s;
}
.f-exp {
  padding: 5px 11px;
  border-radius: 999px;
  background: #1a1b1c;
  font-size: 12px;
}
.f-exp:first-of-type {
  margin-left: auto;
}
.f-outdated {
  margin-left: 4px;
  color: #f2bb5a;
  animation: f-outd 8s infinite;
}
.f-ok {
  margin-left: 4px;
  color: #56c596 !important;
}

/* 08 Pauses */
.f-pz {
  --gw: 64px;
  display: grid;
  gap: 14px;
}
.f-pz-ctl {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.f-pz-ctl > span {
  color: var(--muted);
}
.f-pz-ctl > b {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.f-pz-track {
  display: flex;
  align-items: center;
  height: 92px;
  margin-top: 4px;
  padding: 0 12px;
  border-radius: 14px;
  background: #101111;
}
.f-pz-track .h-wave {
  flex: 1;
  height: 60%;
}
.f-pz-track .h-wave i {
  background: #8d9a77;
}
.f-gap {
  flex: none;
  display: grid;
  place-items: center;
  width: var(--gw);
  height: 44px;
  margin: 0 4px;
  border-radius: 8px;
  border: 1px dashed;
  font-size: 11px;
  overflow: hidden;
}
.f-gap-cut {
  border-color: #f06a6a99;
  background: #f06a6a14;
  color: #f06a6a;
  animation: f-gapcut 7s var(--ease) infinite;
}
.f-gap-late {
  animation-delay: 0.5s;
}
.f-gap-keep {
  border-color: #f2bb5a88;
  color: #f2bb5a;
}
.f-pz-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.f-pz-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #1a1b1c;
  font-size: 13px;
}
.f-pz-list span {
  margin-right: auto;
}
.f-pz-list b {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.f-pz-list u {
  font-size: 12px;
  text-decoration: none;
  color: var(--accent);
}
.f-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.f-toggle i {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #2e2f31;
}
.f-toggle i::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #697272;
}
.f-toggle small {
  margin-left: auto;
  color: var(--muted);
}

/* 09 Reels */
.f-reel-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.f-reel-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 12px 0 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1a1b1c;
}
.f-reel-list li > span {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
}
.f-reel-list b {
  font-size: 14px;
}
.f-reel-list small {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.f-reel-list i {
  font-style: normal;
  color: #6f716c;
}
.f-reel-list .f-r2 {
  position: relative;
  z-index: 1;
  animation: f-down 8s var(--ease) infinite;
}
.f-reel-list .f-r3 {
  animation: f-up 8s var(--ease) infinite;
}
.f-reel-total {
  margin-top: 20px;
}
.f-reel-bar {
  position: relative;
  display: flex;
  gap: 3px;
  height: 12px;
}
.f-reel-bar i {
  flex: var(--g);
  border-radius: 4px;
  background: var(--accent);
  transform-origin: left;
  animation: f-grow 8s var(--ease) infinite;
}
.f-reel-bar i:nth-child(2) { background: #b5d77a; }
.f-reel-bar i:nth-child(3) { background: #94ae65; }
.f-reel-bar::after {
  content: '';
  flex: 5;
  border-radius: 4px;
  border: 1px dashed #4a4c4f;
}
.f-target {
  position: absolute;
  right: 0;
  top: -5px;
  bottom: -5px;
  width: 2px;
  background: var(--text);
}
.f-reel-total p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
}
.f-reel-total p b {
  font-variant-numeric: tabular-nums;
}
.f-reel-auto {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
}
.f-reel-auto span {
  margin-right: 4px;
  color: var(--muted);
}
.f-reel-auto b {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #d2f88b55;
  font-weight: 500;
  color: var(--accent);
}

/* 10 Translate */
.f-tr {
  display: grid;
  gap: 12px;
}
.f-tr-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--muted);
}
.f-tr-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.f-tr-langs b {
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}
.f-tr-langs .f-t1,
.f-tr-langs .f-t2,
.f-tr-langs .f-t3,
.f-tr-langs .f-t4 {
  animation: f-hl4 12s infinite backwards;
}
.f-tr-langs .f-t1 { border-color: var(--accent); background: var(--accent); color: #172011; }
.f-tr-langs .f-t2 { animation-delay: 3s; }
.f-tr-langs .f-t3 { animation-delay: 6s; }
.f-tr-langs .f-t4 { animation-delay: 9s; }
.f-cue {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid #262729;
  border-radius: 12px;
  background: #1a1b1c;
}
.f-cue small {
  font-size: 10.5px;
  line-height: 1.5;
  color: #6f716c;
  font-variant-numeric: tabular-nums;
}
.f-tx {
  display: grid;
}
.f-tx > span {
  grid-area: 1 / 1;
  font-size: 15px;
  font-weight: 650;
  opacity: 0;
  animation: f-show4 12s infinite backwards;
}
.f-tx > .f-t1 { opacity: 1; }
.f-tx > .f-t2 { animation-delay: 3s; }
.f-tx > .f-t3 { animation-delay: 6s; }
.f-tx > .f-t4 { animation-delay: 9s; }
.f-tx mark {
  padding: 0 3px;
  border-radius: 4px;
  background: #d2f88b22;
  color: var(--accent);
}
.f-flag {
  border-color: #f2bb5a66;
}
.f-flag em {
  position: absolute;
  right: 10px;
  top: -9px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f2bb5a;
  color: #2a1d05;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  animation: f-flagged 12s infinite;
}
.f-tr-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.f-tr-foot > span:first-child {
  margin-right: auto;
}
.f-tr-foot b {
  color: var(--accent);
}
.f-file {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}

/* 11 Scheduler */
.f-sc {
  display: grid;
  gap: 18px;
}
.f-sc-post {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #1a1b1c;
}
.f-sc-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
}
.f-sc-thumb small {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  padding: 2px;
  border-radius: 999px;
  background: #101011cc;
  text-align: center;
  font-size: 10px;
}
.f-sc-fields {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}
.f-field {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #2a2b2d;
}
.f-field small {
  font-size: 11px;
  color: var(--muted);
}
.f-field b {
  font-size: 14px;
  font-weight: 600;
}
.f-type {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  animation: f-type 8s steps(40) infinite;
}
.f-status {
  display: grid;
  justify-items: start;
}
.f-status i {
  grid-area: 1 / 1;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.f-st1 {
  background: #2a2b2d;
  color: var(--text);
  opacity: 0;
  animation: f-st1 8s infinite;
}
.f-st2 {
  background: #56c59624;
  color: #56c596;
  animation: f-st2 8s infinite;
}
.f-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.f-week > span {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 74px;
  padding: 8px 6px;
  border-radius: 10px;
  background: #1a1b1c;
}
.f-week small {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.f-week b {
  padding: 3px 4px;
  border-radius: 5px;
  background: #d2f88b1f;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: h-pop 6s var(--ease) infinite;
  animation-delay: calc(var(--i) * 0.5s);
}

/* Credits */
.f-credit-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}
.f-costs {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--edge), var(--shadow-card);
}
.f-cost-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.f-cost-row:first-child {
  padding-top: 0;
}
.f-cost-row b {
  font-size: 15px;
}
.f-cost-row div span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.f-cost-row strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.f-cost-row strong small {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--muted);
}
.f-cost-bar {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  border-radius: 9px;
  background: #2a2b2d;
  overflow: hidden;
}
.f-cost-bar > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #94ae65, var(--accent));
  transition: width 1.4s var(--ease) calc(0.3s + var(--i) * 0.15s);
}
.in .f-cost-bar > i,
html:not(.h-js) .f-cost-bar > i {
  width: var(--v);
}
.f-cost-row em {
  grid-column: 1 / -1;
  font-size: 12.5px;
  font-style: normal;
  color: #cfd0c9;
}
.f-fine {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.6;
}
.f-plan-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--muted);
}
.f-plan-list li::before {
  content: '✓';
  margin-right: 8px;
  color: var(--accent);
}

/* Limits */
.f-limits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.f-limits li {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff03, transparent 60%), var(--surface);
  box-shadow: var(--edge), var(--shadow-card);
}
.f-limit-heading { display: flex; align-items: center; gap: 12px; }
.f-limit-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff12; border-radius: 11px; background: #ffffff04; color: #c6c9c1; }
.f-limits svg { width: 19px; height: 19px; flex: none; }
.f-limit-category, .f-limit-number { color: var(--muted); font: 500 10px/1.5 Inter, sans-serif; letter-spacing: .1em; }
.f-limit-number { margin-left: auto; font-family: ui-monospace, monospace; color: #858782; }
.f-limit-visual { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 100px; margin: 22px 0 24px; padding: 16px 12px; border: 1px solid #ffffff08; border-radius: 12px; background: radial-gradient(ellipse at 50% 100%, #ffffff05, transparent 80%), #131414; }
.f-limit-file { display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 70px; color: #b9bdb5; font-size: 11px; line-height: 1.3; white-space: nowrap; }
.f-limit-file > svg { width: 22px; height: 22px; }
.f-limit-file-ready { color: var(--accent); }
.f-limit-connector { position: relative; flex: 1; max-width: 58px; min-width: 15px; height: 1px; border-top: 1px dashed #4a4d47; }
.f-limit-connector::after { content: ''; position: absolute; right: 0; top: -3px; width: 5px; height: 5px; border-top: 1px solid #858782; border-right: 1px solid #858782; transform: rotate(45deg); }
.f-limit-language { display: grid; place-items: center; width: 38px; height: 34px; border: 1px solid #ffffff1a; border-radius: 7px; background: #232426; color: var(--text); font: 550 12px ui-monospace, monospace; }
.f-limit-language-alt { border-color: #c4b2fa40; color: var(--violet); background: #c4b2fa0a; }
.f-limit-original { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.f-limit-original svg { width: 14px; height: 14px; }
.f-limits h3 { margin: 0 0 10px; color: var(--text); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
.f-limits p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
@media (min-width: 641px) and (max-width: 1100px) { .f-limit-original { position: absolute; bottom: 9px; left: 0; right: 0; justify-content: center; }.f-limit-visual:has(.f-limit-original) { padding-bottom: 26px; } }

/* Keyframes */
@keyframes f-show3 {
  0% { opacity: 0; }
  3%, 31% { opacity: 1; }
  34%, 100% { opacity: 0; }
}
@keyframes f-show4 {
  0% { opacity: 0; }
  2%, 23% { opacity: 1; }
  26%, 100% { opacity: 0; }
}
@keyframes f-val3 {
  0% { opacity: 0; transform: translateY(6px); }
  3%, 31% { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes f-cut3 {
  0%, 33.32% { opacity: 1; }
  33.33%, 100% { opacity: 0; }
}
@keyframes f-hl3 {
  0%, 1% { border-color: var(--line); background: #0000; }
  4%, 30% { border-color: #d2f88b88; background: #d2f88b12; }
  34%, 100% { border-color: var(--line); background: #0000; }
}
@keyframes f-hl3c {
  0%, 33.32% { border-color: #d2f88b88; background: #d2f88b10; }
  33.33%, 100% { border-color: var(--line); background: #0000; }
}
@keyframes f-hl4 {
  0%, 1% { border-color: var(--line); background: #0000; color: var(--muted); }
  3%, 23% { border-color: var(--accent); background: var(--accent); color: #172011; }
  26%, 100% { border-color: var(--line); background: #0000; color: var(--muted); }
}
@keyframes f-aspect {
  0%, 30% { aspect-ratio: 9 / 16; height: var(--ph); }
  34%, 63% { aspect-ratio: 4 / 5; height: calc(var(--ph) * 0.7); }
  67%, 96% { aspect-ratio: 1; height: calc(var(--ph) * 0.56); }
  100% { aspect-ratio: 9 / 16; height: var(--ph); }
}
@keyframes f-scan-x {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}
@keyframes f-hit {
  0% { opacity: 0; transform: scaleX(0.3); }
  6%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; }
}
@keyframes f-card {
  0% { opacity: 0; transform: translateX(24px); }
  6%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateX(-8px); }
}
@keyframes f-tick {
  0%, 2% { background: #1d1e1f; color: var(--text); }
  6%, 14% { background: var(--accent); color: #172011; }
  20%, 100% { background: #1d1e1f; color: var(--text); }
}
@keyframes f-prog {
  0%, 12% { transform: translateX(-100%); }
  55%, 100% { transform: none; }
}
@keyframes f-fill {
  0%, 12% { transform: none; }
  55%, 100% { transform: translateY(-100%); }
}
@keyframes f-edge {
  0%, 11% { border-color: #3a3b3d; }
  13%, 53% { border-color: #4a4c4f; }
  56%, 100% { border-color: var(--accent); }
}
@keyframes f-st-q {
  0%, 11% { opacity: 1; }
  13%, 100% { opacity: 0; }
}
@keyframes f-st-r {
  0%, 11% { opacity: 0; }
  13%, 53% { opacity: 1; }
  56%, 100% { opacity: 0; }
}
@keyframes f-st-d {
  0%, 53% { opacity: 0; }
  56%, 100% { opacity: 1; }
}
@keyframes f-corner {
  0%, 22% { top: 10px; left: calc(100% - 56px); }
  25%, 47% { top: calc(100% - 56px); left: calc(100% - 56px); }
  50%, 72% { top: calc(100% - 56px); left: 10px; }
  75%, 97% { top: 10px; left: 10px; }
  100% { top: 10px; left: calc(100% - 56px); }
}
@keyframes f-cell {
  0% { background: #2a2b2d; }
  2%, 23% { background: var(--accent); }
  25%, 100% { background: #2a2b2d; }
}
@keyframes f-opa {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.35; }
}
@keyframes f-thumb {
  0%, 100% { left: 88%; }
  50% { left: 19%; }
}
@keyframes f-swatch {
  0%, 31% { background: #d2f88b; }
  34%, 64% { background: #f7a06c; }
  67%, 97% { background: #c4b2fa; }
  100% { background: #d2f88b; }
}
@keyframes f-ring {
  0%, 1% { outline-color: #0000; }
  4%, 30% { outline-color: var(--text); }
  34%, 100% { outline-color: #0000; }
}
@keyframes f-draw {
  0% { opacity: 0; transform: scale(0.92); }
  12%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes f-o-bg {
  0%, 63% { opacity: 0; }
  67%, 96% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes f-o-game {
  0%, 30% { top: 0; height: 50%; }
  34%, 63% { top: 0; height: 100%; }
  67%, 96% { top: 30%; height: 34%; }
  100% { top: 0; height: 50%; }
}
@keyframes f-o-cam {
  0%, 30% { left: 0; top: 50%; width: 100%; height: 50%; border-radius: 0; }
  34%, 63% { left: 56%; top: 72%; width: 38%; height: 21%; border-radius: 10px; }
  67%, 96% { left: 28%; top: 70%; width: 44%; height: 24%; border-radius: 12px; }
  100% { left: 0; top: 50%; width: 100%; height: 50%; border-radius: 0; }
}
@keyframes f-old {
  0%, 18% { opacity: 1; }
  24%, 96% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes f-new {
  0%, 18% { opacity: 0; }
  24%, 96% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes f-strike {
  0%, 26% { text-decoration-line: none; opacity: 1; }
  34%, 100% { text-decoration-line: line-through; opacity: 0.55; }
}
@keyframes f-cur {
  0%, 1% { background: #0000; color: inherit; }
  3%, 7% { background: var(--accent); color: #172011; }
  9%, 100% { background: #0000; color: inherit; }
}
@keyframes f-collapse {
  0%, 36% { flex-grow: 1.6; opacity: 1; }
  50%, 92% { flex-grow: 0; opacity: 0; margin-inline: -2px; border-width: 0; }
  100% { flex-grow: 1.6; opacity: 1; }
}
@keyframes f-trim {
  0%, 10% { transform: none; }
  20%, 92% { transform: translateX(calc(var(--dir) * 10px)); }
  100% { transform: none; }
}
@keyframes f-ed-head {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}
@keyframes f-press {
  0%, 60% { transform: none; background: #1d1e1f; }
  62%, 66% { transform: translateY(1px); background: #d2f88b33; }
  70%, 100% { transform: none; background: #1d1e1f; }
}
@keyframes f-outd {
  0%, 44% { opacity: 0; }
  50%, 100% { opacity: 1; }
}
@keyframes f-gapcut {
  0%, 30% { width: var(--gw); opacity: 1; }
  50%, 85% { width: 6px; opacity: 0.5; }
  100% { width: var(--gw); opacity: 1; }
}
@keyframes f-down {
  0%, 25% { transform: none; border-color: var(--line); }
  40%, 88% { transform: translateY(72px); border-color: #d2f88b88; }
  100% { transform: none; border-color: var(--line); }
}
@keyframes f-up {
  0%, 25% { transform: none; }
  40%, 88% { transform: translateY(-72px); }
  100% { transform: none; }
}
@keyframes f-grow {
  0%, 5% { transform: scaleX(0); }
  30%, 100% { transform: none; }
}
@keyframes f-flagged {
  0%, 24% { opacity: 0; }
  27%, 100% { opacity: 1; }
}
@keyframes f-type {
  0% { max-width: 0; }
  40%, 100% { max-width: 100%; }
}
@keyframes f-st1 {
  0%, 40% { opacity: 0; }
  43%, 72% { opacity: 1; }
  75%, 100% { opacity: 0; }
}
@keyframes f-st2 {
  0%, 72% { opacity: 0; }
  75%, 100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 1100px) {
  .f-inspector {
    max-width: 680px;
  }
  .f-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .f-credit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .f-costs {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .f-tool {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-top: 100px;
  }
  .f-flip .f-tool-copy {
    order: 0;
  }
  .f-limits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .f-format-cap {
    display: none;
  }
  .f-inspector {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .f-insp-stage {
    --ph: 360px;
  }
  .f-preview .h-karaoke { font-size: 15px; }
  .f-preview .h-karaoke.style-2 { font-size: 16px; }
  .f-preview .h-karaoke.style-3 { font-size: 13px; }
  .f-panel {
    padding: 16px 18px;
  }
  .f-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .f-map a {
    padding: 14px;
  }
  .f-map strong {
    font-size: 15px;
  }
  .f-map a > span:last-child {
    font-size: 12px;
  }
  .f-tool {
    padding-top: 84px;
  }
  .f-specs > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .f-art {
    min-height: 0;
    padding: 46px 14px 16px;
  }
  .f-bar {
    left: 16px;
    right: 16px;
    top: 16px;
  }
  .f-cap,
  .f-brand,
  .f-pod {
    grid-template-columns: minmax(0, 1fr);
  }
  .f-cap-frame,
  .f-brand-phone,
  .f-pod-out {
    justify-self: center;
    width: 190px;
  }
  .f-sugs li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }
  .f-score {
    width: 40px;
    height: 40px;
  }
  .f-keep {
    display: none;
  }
  .f-queue li {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .f-queue li > span {
    display: none;
  }
  .f-cam {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 10px;
  }
  .f-arrow {
    display: none;
  }
  .f-area b {
    font-size: 8px;
    padding: 1px 5px;
  }
  .f-ed-text {
    font-size: 16px;
  }
  .f-exp:first-of-type {
    margin-left: 0;
  }
  .f-pz {
    --gw: 40px;
  }
  .f-pz-ctl {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
  }
  .f-pz-ctl .f-range {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .f-pz-track {
    height: 76px;
    padding: 0 8px;
  }
  .f-gap {
    margin: 0 2px;
    font-size: 9px;
  }
  .f-cue {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .f-sc-post {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .f-week {
    gap: 3px;
  }
  .f-week > span {
    min-height: 60px;
    padding: 6px 3px;
  }
  .f-week small {
    font-size: 8px;
    letter-spacing: 0.04em;
  }
  .f-week b {
    padding: 2px;
    font-size: 8px;
  }
  .f-credit-grid,
  .f-limits {
    grid-template-columns: minmax(0, 1fr);
  }
  .f-costs {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .f-fill {
    display: none;
  }
  .f-cost-bar > i {
    width: var(--v);
  }
}

@media (prefers-reduced-motion: reduce) {
  .f-queue .f-q, .f-queue .f-r, .f-prog { display: none; }
  .f-queue .f-d { opacity: 1; }
  .f-frame { border-color: var(--accent); }
  .f-render-spinner { animation: none; }
}
