/* Free screen recorder explainer (free-screen-recorder page): timer races past every limit you know,
   quality moves to 4K, the finished video is clean, share link + $0. No JS / reduced motion: final state. */
.fr { margin: 24px 0 8px; }
.fr-card { position: relative; background: var(--card); border-radius: 30px; padding: 18px 18px 14px; box-shadow: 0 6px 0 rgba(11,36,64,.08), 0 26px 60px rgba(11,36,64,.11); display: grid; gap: 14px; }
.fr-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(14px, 3vw, 28px); align-items: center; padding-top: 6px; }
.fr-screen { position: relative; width: 100%; aspect-ratio: 16 / 10; border: 3px solid var(--navy); border-radius: 14px; background: #DCEBFA; overflow: hidden; box-shadow: 0 4px 0 var(--navy); transition: border-color .3s; }
.fr-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.fr-rec { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 7px; border-radius: 999px; background: #fff; border: 2.5px solid var(--navy); font: 800 11px/1.2 var(--display); color: var(--navy); transition: opacity .25s; z-index: 2; }
.fr-rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); }
.fr-live .fr-rec i { animation: fr-blink 1s steps(2, jump-none) infinite; }
.fr-live .fr-screen { border-color: var(--rec); }
@keyframes fr-blink { 50% { opacity: .25; } }
.fr-corner { position: absolute; right: 8px; bottom: 8px; width: 24%; height: 26%; border: 3px dashed var(--sun); border-radius: 10px; background: rgba(255,216,77,.12); transition: opacity .3s; z-index: 1; }
.fr-clean { position: absolute; right: calc(24% + 18px); bottom: 12px; z-index: 2; }

/* Stickers */
.fr-sticker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 12px; border: 3px solid var(--navy); box-shadow: 0 3px 0 var(--navy); font: 800 clamp(11px, 1.5vw, 13px)/1.2 var(--display); color: var(--navy); white-space: nowrap; background: #fff; transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .25s; }
.fr-sticker svg { width: 14px; height: 14px; flex: none; }
.fr-sun { background: var(--sun); }
.fr-ok { background: #fff; }
.fr-ok svg { color: #1c9b5a; }

/* Side column */
.fr-side { display: grid; gap: 10px; min-width: 0; }
.fr-timer { display: grid; gap: 8px; padding: 10px 12px; background: var(--bg); border: 3px solid var(--navy); border-radius: 16px; box-shadow: 0 4px 0 var(--navy); }
.fr-time { display: flex; align-items: center; gap: 8px; font: 700 clamp(24px, 4vw, 34px)/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--navy); font-variant-numeric: tabular-nums; }
.fr-time i { width: 11px; height: 11px; border-radius: 50%; background: var(--rec); flex: none; }
.fr-live .fr-time i { animation: fr-blink 1s steps(2, jump-none) infinite; }
.fr-miles { display: flex; gap: 5px; flex-wrap: wrap; }
.fr-miles b { padding: 2px 7px; border-radius: 8px; border: 2px solid var(--navy); background: #fff; font: 700 11px/1.3 ui-monospace, "SF Mono", Menlo, monospace; color: var(--navy); transition: background-color .25s; }
.fr-miles b.is-hit { background: var(--sun); }
.fr-quality { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; padding: 5px; background: var(--bg); border: 3px solid var(--navy); border-radius: 14px; }
.fr-quality span { display: grid; place-items: center; padding: 6px 0; border-radius: 9px; font: 800 clamp(11px, 1.5vw, 13px)/1 var(--display); color: var(--navy); background: transparent; transition: background-color .25s, color .25s; }
.fr-quality span.is-on { background: var(--navy); color: #fff; }
.fr-link { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 12px; background: #fff; border: 3px solid var(--navy); border-radius: 999px; box-shadow: 0 4px 0 var(--navy); color: var(--navy); transition: opacity .4s, transform .4s; }
.fr-link svg { flex: none; width: 17px; height: 17px; }
.fr-url { min-width: 0; font: 600 clamp(11px, 1.5vw, 14px)/1.3 ui-monospace, "SF Mono", Menlo, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-price { position: absolute; right: -4px; top: -20px; rotate: 6deg; z-index: 4; }
.fr-price b { font-size: 1.25em; }

/* Caption + controls */
.fr-foot { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.fr-step { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--sun); border: 3px solid var(--navy); box-shadow: 0 3px 0 var(--navy); font: 800 14px/1 var(--display); color: var(--navy); }
.fr-cap { flex: 1; min-width: 0; margin: 0; font-size: 15px; line-height: 1.35; color: var(--body); }
.fr-cap b { color: var(--navy); }
.fr-btn { flex: none; display: none; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 12px; border: 2.5px solid var(--navy); background: #fff; color: var(--navy); font: 700 13px/1 var(--display); cursor: pointer; box-shadow: 0 3px 0 var(--navy); }
.fr-btn:active { translate: 0 2px; box-shadow: 0 1px 0 var(--navy); }
.fr-btn svg { width: 12px; height: 12px; }
.fr-steps { margin: 0; padding: 0 4px; list-style: none; display: grid; gap: 6px; font-size: 14.5px; color: var(--body); counter-reset: fr; }
.fr-steps li { display: flex; gap: 8px; }
.fr-steps li::before { counter-increment: fr; content: counter(fr); flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--navy); font: 800 12px/1 var(--display); color: var(--navy); }

/* JS-driven states. Default (no JS): final state, steps list shown. */
.fr.is-js .fr-steps { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fr.is-js .fr-btn { display: inline-flex; }
.fr:not(.is-js) .fr-foot { display: none; }
.fr.is-js .is-off { opacity: 0; }
.fr.is-js .fr-sticker.is-off, .fr.is-js .fr-price.is-off { transform: scale(.4); }
.fr.is-js .fr-link.is-off { transform: translateY(8px); }

@media (max-width: 640px) {
  .fr-card { padding: 14px 12px 12px; border-radius: 24px; }
  .fr-stage { grid-template-columns: 1fr; }
  .fr-cap { font-size: 14px; }
  .fr-price { top: -26px; }
}
@media (prefers-reduced-motion: reduce) {
  .fr-live .fr-rec i, .fr-live .fr-time i { animation: none; }
}
@media (min-width: 900px) {
  .fr { margin-left: calc(50% - min(440px, 50vw - 24px)); margin-right: calc(50% - min(440px, 50vw - 24px)); }
}
