/* Skate Bud web demo: the first run's steps 1 to 3 (spec 02): Add a game, Check your game, Getting your video ready,
   Whose game is this?, What's on your jersey?, Which rink is this? and Is this the ice? Every class here starts
   with fr-. The walk's own parts (sb-walk, sb-key, sb-field and the rest) come from base.css as they are. */

/* ---------- the words column ---------- */
.fr-col { display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 440px; margin: 0 auto; }
.fr-col.fr-gap10 { gap: 10px; }
.k-inner .fr-col { max-width: none; margin: 0; padding: 0 8px; }
.fr-page .sb-walk-bar > .fr-next { max-width: 440px; }
.fr-keepwrap { flex: none; }
.fr-typing .fr-keepwrap { display: none; }

/* ---------- add ---------- */
.fr-pano { display: block; width: 100%; height: 112px; border-radius: 12px; background: #c6ccd4; }
.fr-pano-cap { margin-top: -6px; font-size: 12px; line-height: 16px; color: var(--sb-muted); }

/* ---------- check ---------- */
.fr-check-col { display: flex; flex-direction: column; gap: 12px; max-width: 520px; margin: 0 auto; }
.fr-check-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 100%; }
.fr-check-pane { min-height: 0; overflow-x: hidden; overflow-y: auto; padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 12px; }

.fr-list { background: var(--sb-panel); border-radius: 12px; overflow: hidden; flex: none; }
.fr-part, .fr-missing { position: relative; display: flex; align-items: center; gap: 6px; min-height: 46px; padding-left: 4px; }
.k-inner .fr-part, .k-inner .fr-missing { min-height: 54px; }
.fr-list > * + *::before { content: ""; position: absolute; z-index: 2; top: 0; left: 54px; right: 0; height: 1px; background: var(--sb-border); }
.fr-tick { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 22px; }
.fr-tick-on { color: var(--sb-accent); display: flex; }
.fr-circle { display: block; width: 20px; height: 20px; border-radius: 50%; border: 1.8px solid var(--sb-muted); }
.fr-part-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fr-part-line { font-size: 15px; line-height: 20px; color: var(--sb-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.fr-part-line b { font-weight: 700; }
.fr-part.is-out .fr-part-line { color: var(--sb-muted); }
.fr-part-file { font-size: 12px; line-height: 16px; color: var(--sb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-part-size { flex: none; padding-right: 12px; font-size: 13px; color: var(--sb-muted); font-variant-numeric: tabular-nums; }
.fr-missing { color: var(--sb-count); }
.fr-missing::after {
  content: ""; position: absolute; z-index: 0; left: 4px; right: 4px; top: 4px; bottom: 4px; border-radius: 10px;
  background: #fff4dc; border: 1.5px dashed rgba(217, 119, 6, 0.6);
}
.fr-missing-icon { position: relative; z-index: 1; flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.fr-q {
  display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
  border: 1.8px solid currentColor; font-size: 12px; font-weight: 700; line-height: 1;
}
.fr-missing-text { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

.fr-takes { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: var(--sb-panel); font-size: 15px; line-height: 20px; }
.fr-take { display: flex; gap: 10px; align-items: flex-start; }
.fr-take-icon { flex: none; width: 20px; display: flex; justify-content: center; padding-top: 2px; color: var(--sb-muted); }
.fr-take-sub { margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--sb-muted); }
.fr-take.is-red > div > p:first-child { color: var(--sb-not); }

/* ---------- joining ---------- */
.fr-tiles { display: flex; gap: 8px; }
.fr-tile { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fr-tile-pic { display: block; width: 100%; height: 44px; border-radius: 8px; background: #c6ccd4; }
.fr-tile-name { display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 19px; color: var(--sb-muted); }
.fr-tile-tick { display: none; color: var(--sb-me); }
.fr-tile.is-done .fr-tile-tick { display: inline-flex; }
.fr-wait { display: flex; flex-direction: column; gap: 6px; }
.fr-join-plain { font-size: 14px; line-height: 19px; font-weight: 600; color: var(--sb-text); }
.fr-join-fun { font-size: 13px; line-height: 18px; color: var(--sb-muted); }

/* ---------- whose ---------- */
.fr-whose-pic { display: block; width: 100%; height: 64px; border-radius: 10px; background: #c6ccd4; }
.fr-whose-rows { display: flex; flex-direction: column; gap: 8px; }
.fr-whose-row {
  display: flex; align-items: center; gap: 12px; width: 100%; height: 72px; padding: 0 14px; border-radius: 12px; text-align: left;
  background: var(--sb-panel); box-shadow: inset 0 0 0 1px var(--sb-border2);
}
.fr-whose-row.is-on { background: var(--sb-sel); box-shadow: inset 0 0 0 2px var(--sb-accent); }
.fr-whose-row:active { opacity: 0.8; }
.fr-whose-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fr-whose-name { font-size: 17px; line-height: 22px; font-weight: 600; color: var(--sb-text); }
.fr-whose-line {
  font-size: 14px; line-height: 18px; color: var(--sb-muted);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.fr-happens { padding: 12px; border-radius: 12px; background: rgba(227, 229, 234, 0.55); }
.fr-happens-title { font-size: 14px; line-height: 19px; font-weight: 600; }
.fr-happens-stack { display: grid; margin-top: 4px; }
.fr-happens-stack > p { grid-area: 1 / 1; font-size: 15px; line-height: 20px; color: var(--sb-text); visibility: hidden; }
.fr-happens-stack > p.is-on { visibility: visible; }

/* ---------- jersey ---------- */
.fr-jersey-row { display: flex; align-items: flex-end; gap: 14px; }
.fr-jersey-art { flex: none; width: 84px; }
.fr-jersey-svg { display: block; width: 100%; height: auto; }
.fr-jersey-svg text { font-family: var(--sb-font); }
.fr-num-field { flex: 0 0 96px; width: 96px; }
.fr-name-field { flex: 1 1 auto; min-width: 0; }
.fr-jfield { transition: opacity 0.15s; }
.is-nothing .fr-jfield { opacity: 0.45; }
.fr-nothing { display: flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start; font-size: 16px; line-height: 21px; color: var(--sb-text); text-align: left; }
.fr-honest.is-plain { color: var(--sb-text); }
.fr-jersey-wide { display: flex; align-items: flex-start; gap: 32px; }
.fr-jersey-left { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fr-jersey-left .fr-jersey-art { width: 120px; }
.fr-jersey-right { flex: 0 0 380px; width: 380px; display: flex; flex-direction: column; gap: 12px; }
.fr-jersey-right .fr-num-field { flex: none; width: auto; }
.fr-either { display: none; }
.fr-jersey-page.fr-typing .fr-either { display: block; }
.fr-jersey-page.fr-typing .sb-walk-bar > .fr-next { flex: 0 0 120px; }
.k-inner .fr-jersey-page .sb-walk-bar { justify-content: flex-end; }
.k-inner .fr-jersey-page .sb-walk-bar > .fr-next { flex: 0 0 240px; }
.k-inner .fr-jersey-page.fr-typing .sb-walk-bar > .fr-next { flex: 0 0 120px; }
/* the demo-only look: jersey colour swatches and avatars, 44 to 48 round touch targets, the picked one ringed */
.fr-look { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.fr-look-label { font-size: 13px; line-height: 18px; color: var(--sb-muted); }
.fr-swatches, .fr-avatars { display: flex; flex-wrap: wrap; gap: 8px; }
/* the pickers also sit in the guide's card, outside the app's own button reset: no browser border, background or padding */
.fr-swatch, .fr-avatar { -webkit-appearance: none; appearance: none; margin: 0; border: 0; padding: 0; background: none; font: inherit; color: inherit; cursor: pointer; box-sizing: border-box; overflow: hidden; }
.fr-avatars { margin-bottom: 2px; }
.fr-swatch { flex: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2.5px transparent; }
.fr-swatch > i { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--fr-sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); pointer-events: none; }
.fr-swatch.is-on { box-shadow: inset 0 0 0 2.5px var(--sb-accent); }
.fr-avatar { flex: none; width: 48px; height: 48px; padding: 4px; border-radius: 50%; background: var(--sb-panel); box-shadow: inset 0 0 0 1px var(--sb-border2); }
.fr-avatar.is-on { box-shadow: inset 0 0 0 2.5px var(--sb-accent); }
.fr-avatar-cv { display: block; width: 40px; height: 40px; border-radius: 50%; pointer-events: none; }
.fr-swatch:focus-visible, .fr-avatar:focus-visible { outline: 2px solid var(--sb-accent); outline-offset: 2px; }
.fr-swatch:active, .fr-avatar:active { opacity: 0.8; }

/* ---------- rink-name ---------- */
.fr-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 16px; line-height: 21px; color: var(--sb-text); cursor: pointer; }
.fr-sheet-more { display: flex; flex-direction: column; gap: 12px; }

/* ---------- outline ---------- */
.fr-out-col { display: flex; flex-direction: column; gap: 12px; max-width: 100%; margin: 0 auto; }
.fr-pic { position: relative; flex: none; overflow: hidden; border-radius: 8px; background: var(--sb-stage); }
.fr-pic-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: default; }
.fr-find { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; padding: 14px; text-align: center; color: #fff; }
.fr-find-inner { width: 100%; max-width: 320px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fr-find-ready { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 21px; }
.fr-find .fr-find-spin { border-color: rgba(255, 255, 255, 0.25); border-top-color: #fff; }
.fr-find-bar { width: 100%; background: rgba(255, 255, 255, 0.22); }
.fr-find-bar > i { background: #fff; transition: none; }
.fr-find-plain { font-size: 16px; line-height: 21px; color: #fff; font-variant-numeric: tabular-nums; }
.fr-find-fun { font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, 0.72); }
.fr-out-wide { height: 100%; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 6px 24px 8px; }
.fr-out-head { flex: none; display: flex; align-items: baseline; gap: 12px; }
.fr-out-head .sb-step-title { flex: none; }
.fr-out-head .sb-small { flex: 1 1 auto; min-width: 0; }
.fr-pic-room { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
.fr-out-under { flex: none; }
.fr-bar-mid {
  flex: 1 1 auto; text-align: center;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.k-inner .fr-out-page .sb-walk-bar > .fr-looks { flex: 0 0 240px; }

@media (prefers-reduced-motion: reduce) {
  .fr-jfield { transition: none; }
}
