.recovery {
  --rose: #9c0059;
  --rose-deep: #65073e;
  --pink-line: #e6a8cf;
  position: relative;
  isolation: isolate;
  display: flow-root;
  min-height: 100vh;
  margin: 0;
  background: var(--bgr-cream);
  color: #552440;
  font: 400 var(--bgr-size-body)/var(--bgr-leading-body) var(--bgr-font-label);
}

.recovery::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: calc(max(100vw, 960px) * 327 / 1051);
  background: url("/landing/parents/assets/bg_page.jpg") center top / max(100%, 960px) auto no-repeat;
  mask-image: var(--bgr-gradient-wallpaper-fade);
  pointer-events: none;
}

.recovery *,
.recovery *::before,
.recovery *::after {
  box-sizing: border-box;
}

.recovery a:not(.bgr-tab, .guide-button) {
  color: var(--rose-deep);
}

.recovery :focus-visible {
  outline: 2px solid #880553;
  outline-offset: 3px;
}

.recovery .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.recovery .skip:focus {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 4;
  padding: 10px;
  background: white;
}

.recovery-page {
  width: min(890px, calc(100% - 32px));
  margin: 12px auto 28px;
}

.recovery main {
  position: relative;
  container-type: inline-size;
  background:
    url("/landing/parents/assets/bg_header.jpg") center top / 100% auto no-repeat,
    var(--bgr-frame-pink) url("/landing/parents/assets/bg_base.jpg") center top / 100% auto repeat-y;
  border: 1px solid #efa8d1;
  border-radius: 17px 17px 12px 12px;
  box-shadow: 0 0 0 3px #ffd4ea, 0 7px 18px #8b466025;
}

.recovery .guide-header {
  position: relative;
  aspect-ratio: 773 / 115;
}

.recovery .guide-title {
  position: absolute;
  isolation: isolate;
  top: calc(100cqw * 32 / 773);
  left: 24.3%;
  width: 35.4%;
  height: calc(100cqw * 43 / 773);
  display: flex;
  align-items: center;
  margin: 0;
  padding-left: 1.8%;
  color: var(--bgr-masthead-mid);
  font: 300 clamp(10px, 3.62cqw, 33px)/1 var(--bgr-font-masthead);
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

@supports (background-clip: text) {
  .recovery .guide-title span {
    background-image: var(--bgr-gradient-masthead-ink);
    background-clip: text;
    color: transparent;
  }
}

/* Resample an unlettered area of the same archived masthead behind the live title. */
.recovery .guide-title::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/landing/parents/assets/bg_header.jpg") 89.5% 8.72% / 282.5% auto no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent),
    linear-gradient(transparent, #000 18%, #000 85%, transparent);
  mask-composite: intersect;
}

.recovery-home,
.recovery-help {
  position: absolute;
  top: 24%;
  z-index: 2;
  min-height: 44px;
}

.recovery-home {
  left: 3%;
  width: 23%;
}

.recovery-help {
  right: 3%;
  width: 44px;
}

.recovery .guide-nav {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 0 16px 0 calc(20% + 24px);
}

/* Six labels never fit one row in the 890px frame, so they sit three across, each tab closed all round. */
.recovery .guide-nav .bgr-tab {
  padding-inline: 14px;
  border-bottom: 2px solid var(--bgr-tab-rim);
  border-radius: 14px;
  white-space: normal;
}

.recovery .guide-nav .bgr-tab:is(:hover, [aria-current]) {
  border-bottom-color: var(--bgr-tab-rim-active);
}

@container (max-width: 599.98px) {
  .recovery .guide-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.recovery .guide-layout {
  display: grid;
  grid-template-areas: "art content quick";
  grid-template-columns: minmax(112px, 20%) minmax(0, 1fr) minmax(151px, 23%);
  align-items: start;
  gap: 12px;
  padding: 18px 16px 28px;
}

.recovery .guide-room {
  position: absolute;
  top: 0;
  left: 0;
  width: 22.8%;
  height: auto;
  /* The room GIF includes a second copy of the diagonal rail. Keep the masthead’s rail continuous. */
  clip-path: polygon(0 55.1%, 26% 50.2%, 54% 46%, 82% 42.4%, 100% 40%, 100% 100%, 0 100%);
  pointer-events: none;
}

.recovery .guide-sidebar {
  grid-area: quick;
}

/* Same Quick Clicks box art as Parents' Place (box3_*.gif). */
.recovery .quick-links,
.recovery .star-meter {
  display: grid;
  gap: 0 16px;
  padding: 0 24px 24px;
  background:
    url("/landing/parents/assets/box3_top.gif") center top / 100% 32px no-repeat,
    url("/landing/parents/assets/box3_bottom.gif") center bottom / 100% 20px no-repeat,
    url("/landing/parents/assets/box3_bg.gif") center / 100% 1px repeat-y;
}

.recovery .quick-links h2,
.recovery .star-meter h2 {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  padding: 7px 0 4px;
  color: #b91472;
  text-align: center;
  font: 700 var(--bgr-size-box-title)/1.4 var(--bgr-font-label);
}

.recovery .quick-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0 4px 20px;
  background: url("/landing/parents/assets/box3_icon.gif") left center / 15px 15px no-repeat;
  color: #d3005d;
  font: 700 var(--bgr-size-control)/1.3 var(--bgr-font-label);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.recovery .quick-links a:hover {
  color: var(--rose-deep);
}

.recovery .tool-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 9px;
  background: var(--bgr-gradient-quick-link);
  border: 1px solid var(--pink-line);
  border-radius: 8px;
  font: 700 var(--bgr-size-control)/1.4 var(--bgr-font-label);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.recovery .tool-links a:hover {
  background: #f7cce4;
  text-decoration: underline;
}

.recovery .guide-content {
  grid-area: content;
  min-width: 0;
  padding: clamp(15px, 2.5vw, 23px);
  background: #fff9fd;
  border: 1px solid var(--pink-line);
  border-radius: 12px;
  box-shadow: inset 0 0 0 3px #fff;
  overflow-wrap: anywhere;
}

.recovery .guide-section {
  scroll-margin-top: 12px;
}

.recovery .guide-section + .guide-section {
  margin-top: 28px;
}

.recovery .guide-section[hidden] + .guide-section {
  margin-top: 0;
}

.recovery h2,
.recovery h3 {
  margin: 0;
  color: var(--rose-deep);
  font: 700 var(--bgr-size-section)/1.25 var(--bgr-font-label);
}

.recovery h3 {
  margin: 15px 0 7px;
  font-size: var(--bgr-size-subsection);
}

.recovery .guide-content p {
  margin: 8px 0 12px;
}

.recovery .guide-content code {
  color: var(--rose-deep);
  background: #f9dfed;
  border-radius: 4px;
  padding: .08em .25em;
  font-size: .93em;
}

.recovery .guide-content ol,
.recovery .guide-content ul {
  padding-left: 1.45em;
}

.recovery .guide-content li + li {
  margin-top: .5em;
}

.recovery .guide-note,
.recovery .file-check {
  padding: 10px 12px;
  background: #ffedf7;
  border-radius: 12px;
}

.recovery .guide-note {
  border-left: 4px solid #bc2672;
}

.recovery .guide-options,
.recovery .tool-links {
  display: grid;
  gap: 7px;
  margin-bottom: 10px;
}

.recovery .guide-card {
  min-width: 0;
  border-radius: 12px;
  padding: 0 12px;
}

.recovery .guide-card[open] {
  padding-bottom: 4px;
  background: #ffedf7;
}

.recovery .guide-card dl {
  margin: 0 0 12px;
}

.recovery .guide-card dt {
  font-weight: bold;
  margin-top: 10px;
}

.recovery .guide-card dd {
  margin: 3px 0 0;
}

/* Dropdowns follow the Quick Clicks links: the box3_icon arrow and bold underlined magenta words, no box. */
.recovery .guide-card summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-inline: -12px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #b91472;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}

.recovery .guide-card summary::-webkit-details-marker {
  display: none;
}

.recovery .guide-card summary::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  background: url("/landing/parents/assets/box3_icon.gif") center / contain no-repeat;
}

.recovery .guide-card[open] > summary::before {
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: no-preference) {
  .recovery .guide-card summary::before {
    transition: transform 200ms ease-out;
  }
}

.recovery .guide-card summary:hover {
  color: var(--rose-deep);
}

.recovery .guide-card[open] summary {
  text-decoration: none;
}

.recovery .guide-command {
  display: block;
  margin-top: 4px;
  padding: 6px 9px;
}

.recovery .guide-button {
  color: #fff;
}

.recovery .file-check {
  margin-bottom: 12px;
}

.recovery .file-check p {
  margin: 0;
}

.recovery .file-help {
  font-size: var(--bgr-size-control);
}

.recovery #file-result:not(:empty) {
  margin-top: 8px;
  font-weight: bold;
}

.recovery .file-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 7px;
  margin: 10px 0;
}

.recovery .file-example summary {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
}

.recovery .file-example summary img {
  display: block;
  grid-column: 1 / -1;
  order: -1;
  width: 100%;
  height: 108px;
  object-fit: contain;
  margin-bottom: 5px;
}

.recovery .guide-footer-art {
  position: relative;
  aspect-ratio: 773 / 132;
  margin-top: 96px;
  background: url("/landing/parents/assets/footer.jpg") center top / 100% auto no-repeat;
  border-radius: 0 0 12px 12px;
}

.recovery .guide-footer-art img {
  position: absolute;
  bottom: 100%;
  height: auto;
}

/* The JPEG keeps its original #ffe0f0 ground; #face-key hides only that colour at render time so the file stays byte for byte. */
.recovery .guide-footer-art .face-left {
  left: 0;
  width: calc(100% * 174 / 773);
  filter: url("#face-key");
}

.recovery .face-key {
  position: absolute;
}

/* x529 is where barby_face2's bottom row matches footer.jpg's top row (pixel comparison, 29 Nov 2026). */
.recovery .guide-footer-art .face-right {
  left: calc(100% * 529 / 773);
  width: calc(100% * 228 / 773);
}

@media (max-width: 760px) {
  .recovery .guide-header {
    aspect-ratio: 773 / 141;
  }

  .recovery .guide-layout {
    grid-template-areas: "content quick";
    grid-template-columns: minmax(0, 1fr) minmax(143px, 25%);
  }

  .recovery .guide-nav {
    margin-inline: 16px;
  }

  .recovery .guide-room {
    display: none;
  }
}

@media (max-width: 570px) {
  .recovery-page {
    width: calc(100% - 22px);
    margin-top: 8px;
  }

  .recovery .recovery-help {
    display: none;
  }

  .recovery .guide-nav {
    margin-inline: 10px;
  }

  .recovery .guide-layout {
    grid-template-areas: "quick" "content";
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .recovery .quick-links {
    grid-template-columns: repeat(auto-fit, minmax(119px, 1fr));
  }

  .recovery .file-example summary img {
    height: 74px;
  }
}

@media (forced-colors: active) {
  .recovery,
  .recovery main {
    background: Canvas;
    box-shadow: none;
  }

  .recovery::before,
  .recovery .guide-title::before,
  .recovery .guide-room {
    display: none;
  }

  .recovery .guide-title span {
    background: none;
    color: CanvasText;
  }

  .recovery .recovery-home::after {
    content: "Home";
  }

  .recovery .recovery-help::after {
    content: "Help";
  }

  .recovery .guide-nav a,
  .recovery .guide-nav a[aria-current] {
    background: Canvas;
    border-color: LinkText;
    box-shadow: none;
    color: LinkText;
  }

  .recovery .guide-nav a[aria-current] {
    text-decoration: underline;
    text-underline-offset: .2em;
  }

  .recovery :focus-visible {
    outline-color: Highlight;
  }
}

/* Interactive walkthrough. Devices follow the barbiegirls-graphic-design skill (Fortune Teller pills, Crystal's bubble). */
.recovery:not(.guide-ready) .choices,
.recovery:not(.guide-ready) .todo-done,
.recovery:not(.guide-ready) .step-go {
  display: none;
}

.recovery .step-kicker {
  margin: 0 0 4px;
  color: var(--rose);
  font: 700 var(--bgr-size-control)/1.4 var(--bgr-font-label);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.recovery .helper {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  margin: 12px 0 16px;
}

.recovery .helper-art {
  width: auto;
  height: 208px;
}

.recovery .bubble {
  position: relative;
  align-self: center;
  margin: 0;
  padding: 24px 16px 12px;
  background: var(--bgr-gradient-bubble);
  border: 1px solid var(--bgr-bubble-shade);
  border-radius: 20px;
  box-shadow: 0 2px 4px color-mix(in srgb, var(--bgr-bubble-rim) 40%, transparent);
}

.recovery .bubble::before {
  content: "";
  position: absolute;
  bottom: 24px;
  left: -12px;
  border: 12px solid transparent;
  border-left: 0;
  border-right-color: #f4efec;
}

.recovery .guide-content .bubble p {
  margin: 0;
  font-family: var(--bgr-font-display);
  font-size: var(--bgr-size-subsection);
  line-height: 1.5;
}

.recovery .guide-content .bubble .bubble-name {
  position: absolute;
  top: -14px;
  left: 16px;
  padding: 0 16px;
  border-radius: 8px 8px 0 0;
  background: var(--bgr-bubble-tab);
  color: #fff;
  font: 700 1.1875rem/1.4 var(--bgr-font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.recovery .choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.recovery .choice,
.recovery .todo-done,
.recovery .copy-address {
  min-height: 48px;
  padding: 8px 16px;
  border: 2px solid var(--pink-line);
  border-radius: 24px;
  background: var(--bgr-gradient-control);
  color: var(--rose-deep);
  font: 800 var(--bgr-size-body)/1.3 var(--bgr-font-pill);
  cursor: pointer;
}

.recovery .copy-address {
  min-height: 44px;
  margin-inline-start: 8px;
  padding: 4px 16px;
  font-size: var(--bgr-size-control);
  vertical-align: middle;
}

.recovery .copy-note {
  margin-inline-start: 8px;
  color: var(--rose);
  font-weight: 700;
}

.recovery .choice:hover,
.recovery .todo-send {
  margin-inline-end: calc(var(--cap) + 12px);
  vertical-align: middle;
}

.recovery .todo-send + .todo-done {
  display: inline-block;
  vertical-align: middle;
}

.recovery .todo-done:hover,
.recovery .copy-address:hover {
  border-color: var(--bgr-pill-base);
}

/* Pressed pills use the glossy body strip of the 2010 legal-page button (btnc.png). */
.recovery .choice[aria-pressed="true"],
.recovery .todo-done[aria-pressed="true"],
.recovery .tutorial-step[aria-current] {
  border-color: var(--bgr-pill-base);
  background: var(--bgr-pill-base) url("/landing/legal/assets/btnc.png") center / 3px 100% repeat-x;
  color: #fff;
  text-shadow: 0 1px 2px #590631;
}

.recovery .todo-done[aria-pressed="true"]::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 23px;
  margin-inline-start: 6px;
  vertical-align: -5px;
  background: url("/cache-recovery/assets/star.png") center / contain no-repeat;
}

.recovery .choice-panel {
  margin-bottom: 12px;
}

.recovery .guide-content .todo-list {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  counter-reset: todo;
}

.recovery .guide-content .todo-list li + li {
  margin-top: 0;
}

.recovery .todo {
  position: relative;
  padding: 12px 12px 12px 60px;
  background: #fff;
  border: 1px solid var(--pink-line);
  border-radius: 12px;
  counter-increment: todo;
}

.recovery .todo::before {
  content: counter(todo);
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bgr-pill-base);
  color: #fff;
  font: 700 1.25rem/1 var(--bgr-font-label);
}

.recovery .todo.is-done {
  background: #ffedf7;
}

.recovery .todo.is-done:not(.is-open) > :not(.todo-title, .todo-done, .todo-show) {
  display: none;
}

.recovery .todo-show {
  display: none;
  min-height: 44px;
  margin-inline-start: 8px;
  padding: 4px 16px;
  border: 0;
  background: none;
  color: var(--rose-deep);
  font: 700 var(--bgr-size-control)/1.3 var(--bgr-font-label);
  text-decoration: underline;
  cursor: pointer;
}

.recovery .todo.is-done .todo-show {
  display: inline-block;
}

.recovery .clip-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.recovery .clip-tabs .choice {
  min-height: 44px;
  font-size: var(--bgr-size-control);
}

.recovery .clip-set > [hidden] {
  display: none;
}

/* Full tutorials: their own tab; the step list sits beside the player when there is room. */
.recovery .tutorial > p {
  margin: 0 0 8px;
}

.recovery .tutorial .clip-set {
  container-type: inline-size;
}

.recovery .tutorial-run {
  display: grid;
  gap: 0 16px;
}

.recovery .tutorial .bg-player {
  margin: 0 0 4px;
}

.recovery .tutorial-head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 8px 0 4px;
}

/* Wi-Fi state beside the step name: cream "keep it off" while the cache is copied, pressed pink "OK to turn on" after. */
.recovery .tutorial-wifi-state {
  margin: 0;
  padding: 4px 12px;
  border: 2px solid #700244;
  border-radius: 24px;
  background: #fbf1da;
  color: #700244;
  font: 800 var(--bgr-size-control)/1.3 var(--bgr-font-pill);
}

.recovery .tutorial-wifi-state[data-wifi="on"] {
  border-color: var(--bgr-pill-base);
  background: var(--bgr-pill-base) url("/landing/legal/assets/btnc.png") center / 3px 100% repeat-x;
  color: #fff;
  text-shadow: 0 1px 2px #590631;
}

.recovery .tutorial-now {
  margin: 0;
  color: var(--rose-deep);
  font: 700 var(--bgr-size-subsection)/1.3 var(--bgr-font-label);
}

.recovery .tutorial .bg-player figcaption,
.recovery .tutorial-note {
  margin: 4px 0 8px;
  font-size: var(--bgr-size-small);
}

.recovery .tutorial-steps {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  margin: 8px 0;
  padding: 0;
  list-style: none;
  counter-reset: chapter;
}

.recovery .tutorial-steps li {
  counter-increment: chapter;
}

.recovery .tutorial-step {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 4px 12px 4px 4px;
  border: 2px solid transparent;
  border-radius: 24px;
  background: none;
  color: #b91472;
  font: 700 var(--bgr-size-control)/1.3 var(--bgr-font-label);
  text-align: start;
  cursor: pointer;
}

.recovery .tutorial-step::before {
  content: counter(chapter);
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bgr-pill-base);
  color: #fff;
  text-shadow: none;
}

.recovery .tutorial-step:not([aria-current]):hover {
  border-color: var(--pink-line);
  color: var(--rose-deep);
}

.recovery .tutorial-step[aria-current]::before {
  background: #fff;
  color: var(--bgr-pill-base);
}

/* Step title card over the 2007 screen area, in the caption ribbon's magenta. */
.recovery .tutorial-card {
  position: absolute;
  top: calc(38 / 666 * 100%);
  left: calc(40 / 772 * 100%);
  width: calc(691 / 772 * 100%);
  height: calc(517 / 666 * 100%);
  display: grid;
  place-content: center;
  gap: 2cqi;
  padding: 4cqi 8cqi;
  background: #9e0b5f;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px var(--player-ribbon-shadow);
  pointer-events: none;
}

.recovery .tutorial-card[hidden],
.recovery .tutorial-card-note[hidden] {
  display: none;
}

.recovery .guide-content .tutorial-card p,
.recovery .tutorial-card p {
  margin: 0;
}

.recovery .tutorial-card-step {
  font: 700 clamp(.75rem, 3cqi, 1.25rem)/1.2 var(--bgr-font-label);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.recovery .tutorial-card-title {
  font: 700 clamp(1rem, 6cqi, 2.5rem)/1.15 var(--bgr-font-display);
}

.recovery .tutorial-card-note {
  padding: 2cqi 3cqi;
  border-radius: 8px;
  background: #fbf1da;
  color: #700244;
  text-shadow: none;
  font: 700 clamp(.75rem, 3.2cqi, 1.25rem)/1.35 var(--bgr-font-label);
}

@media (prefers-reduced-motion: no-preference) {
  .recovery .tutorial-card:not([hidden]) {
    animation: tutorial-card-in 300ms ease-out;
  }

  @keyframes tutorial-card-in {
    from { opacity: 0; }
  }
}

@media (forced-colors: active) {
  .recovery .tutorial-wifi-state,
  .recovery .tutorial-card,
  .recovery .tutorial-card-note {
    background: Canvas;
    color: CanvasText;
    text-shadow: none;
  }
}

.recovery .tutorial-steps p {
  display: none;
  margin: 4px 8px 8px 44px;
}

.recovery .tutorial-steps .tutorial-wifi {
  padding: 4px 8px;
  border-radius: 8px;
  background: #fbf1da;
  color: #700244;
}

.recovery .tutorial-steps li:has(> [aria-current]) p {
  display: block;
}

@container (min-width: 440px) and (max-width: 599.98px) {
  .recovery .tutorial-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@container (min-width: 600px) {
  .recovery .tutorial-run {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  /* Size containment lets the player alone set the row height; the list scrolls beside it. */
  .recovery .tutorial-steps {
    contain: size;
    overflow-y: auto;
  }

  .recovery .tutorial-note {
    grid-column: 1 / -1;
  }
}

.recovery .guide-content .todo p {
  margin: 0 0 8px;
}

.recovery .guide-content .todo .todo-title {
  color: var(--rose-deep);
  font: 700 var(--bgr-size-subsection)/1.3 var(--bgr-font-label);
}

.recovery kbd {
  padding: 0 6px;
  border: 1px solid var(--pink-line);
  border-bottom-width: 3px;
  border-radius: 4px;
  background: #fff;
  font: 700 .875em/1.4 var(--bgr-font-label);
}

.recovery .paths {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
}

/* Tool lists sit two by two, in reading order; an odd last card takes the full row. Browser address lists keep one per line: their names are long. */
.recovery .guide-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recovery .paths {
  gap: 0;
}



.recovery :is(.paths, .guide-options) > .guide-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* An open tool card holds a list of downloads, so it takes the whole row and lays its links out two by two. */
.recovery .guide-options {
  grid-auto-flow: row dense;
}

.recovery .guide-options > .guide-card[open],
.recovery .guide-options:has(> [open]) > .guide-card:last-child:nth-child(even):not([open]) {
  grid-column: 1 / -1;
}

.recovery .guide-options:has(> [open]) > .guide-card:last-child:nth-child(odd):not([open]) {
  grid-column: auto;
}

.recovery .guide-options > .guide-card[open] .tool-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 570px) {
  .recovery .guide-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .recovery .guide-options > .guide-card[open] .tool-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

.recovery .paths p {
  margin: 0 0 12px;
}

.recovery .watch {
  margin: 8px 0 12px;
}

.recovery .watch .bg-player {
  margin-top: 0;
}

.recovery .paths code {
  display: inline-block;
  font-size: 1em;
}

.recovery .file-check {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.recovery .file-check[hidden] {
  display: none;
}

.recovery .file-check-ball {
  width: 72px;
  height: auto;
}

.recovery .guide-content .file-check .file-check-title {
  color: var(--rose-deep);
  font: 700 var(--bgr-size-subsection)/1.3 var(--bgr-font-label);
}

.recovery .step-finish {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 16px;
}

.recovery .step-go {
  display: none;
  width: 96px;
  height: auto;
}

.recovery .is-complete .step-finish {
  background: var(--bgr-pill-base) url("/cache-recovery/assets/swirl.png") right 8px center / auto 56px no-repeat;
}

.recovery .is-complete .step-go {
  display: block;
}

.recovery .is-complete .step-finish .guide-button {
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 1px #fff);
}

.recovery .all-done {
  margin-top: 12px;
  color: var(--rose-deep);
  font: 700 var(--bgr-size-subsection)/1.4 var(--bgr-font-label);
  text-align: center;
}

.recovery .star-meter {
  margin-top: 12px;
  text-align: center;
}

.recovery .star-meter[hidden] {
  display: none;
}

.recovery .star-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 8px 4px;
  border-radius: 12px;
  background: var(--bgr-pill-base);
}

.recovery .star-row img {
  opacity: .3;
}

.recovery .star-row img.is-earned {
  opacity: 1;
}

.recovery .star-count {
  margin: 8px 0 0;
  color: var(--rose-deep);
  font: 700 var(--bgr-size-control)/1.4 var(--bgr-font-label);
}

@media (prefers-reduced-motion: no-preference) {
  .recovery .is-complete .step-go,
  .recovery .star-row img.is-earned {
    animation: bgr-sparkle 600ms ease-out;
  }

  .recovery .file-check-ball {
    animation: bgr-shimmer 4s ease-in-out infinite;
  }
}

@keyframes bgr-sparkle {
  0% { opacity: 0; transform: scale(.4) rotate(-20deg); }
  60% { opacity: 1; transform: scale(1.2) rotate(6deg); }
  100% { transform: scale(1); }
}

@keyframes bgr-shimmer {
  0%, 85%, 100% { opacity: 1; transform: none; }
  92% { opacity: .85; transform: scale(1.06); }
}

@media (max-width: 570px) {
  .recovery .helper-art {
    height: 148px;
  }

  .recovery .star-meter {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 24px 24px;
  }

  .recovery .star-meter h2 {
    grid-column: auto;
    margin: 0;
    padding: 0;
  }

  .recovery .star-row {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 4px;
  }

  .recovery .star-row img {
    width: 16px;
    height: auto;
  }

  .recovery .star-count {
    margin: 0;
  }

  .recovery .guide-content .bubble p {
    font-size: var(--bgr-size-body);
  }

  .recovery .todo {
    padding: 12px 16px 16px 52px;
  }

  .recovery .guide-card {
    padding-inline: 16px;
  }

  .recovery .guide-card summary {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .recovery .todo::before {
    left: 8px;
  }

  /* Use the number column too, so the 2007 buttons stay above the 24px target minimum. */
  .recovery .todo .watch {
    margin-inline: -44px -4px;
  }

  .recovery .watch .bg-player {
    width: auto;
    margin-inline: -15px;
  }

  .recovery .watch figcaption {
    padding-inline: 15px;
  }

  .recovery .step-finish {
    padding-inline: 8px;
  }
}

@media (forced-colors: active) {
  .recovery .tutorial-step[aria-current],
  .recovery .choice[aria-pressed="true"],
  .recovery .todo-done[aria-pressed="true"],
  .recovery .todo::before,
  .recovery .bubble-name,
  .recovery .star-row,
  .recovery .is-complete .step-finish {
    background: Highlight;
    color: HighlightText;
    forced-color-adjust: none;
  }

  .recovery .bubble::before {
    display: none;
  }
}

/* 2007 Welcome screen player: frame shape 762 is 772 x 666 at FFDec zoom 2.
   Screen (40,38)-(731,555); 66px buttons at x278, x353, x428, y568. */
.recovery .bg-player {
  --player-ribbon-ink: #fff;
  --player-ribbon-shadow: #65073e;
  --player-fs-rim: #f8e2ea;
  --player-fs-light: #dc5a95;
  --player-fs-deep: #c41a6c;
  --player-fs-ground: #ffd3e6;
  width: min(100%, 640px);
  margin: 8px 0 12px;
}

.recovery .bg-player video {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.recovery .bg-player-stage {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 772 / 666;
  background: url("/cache-recovery/player/frame.png") 0 0 / 100% 100% no-repeat;
}

.recovery .bg-player-stage video {
  position: absolute;
  top: calc(38 / 666 * 100%);
  left: calc(40 / 772 * 100%);
  width: calc(691 / 772 * 100%);
  height: calc(517 / 666 * 100%);
  object-fit: cover;
}

.recovery .bg-player-caption {
  position: absolute;
  left: calc(40 / 772 * 100%);
  right: calc(41 / 772 * 100%);
  bottom: calc(111 / 666 * 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 9cqi;
  margin: 0;
  padding: 1.5cqi 6cqi 1cqi;
  background: url("/cache-recovery/videos/ribbon.svg") 0 0 / 100% 100% no-repeat;
  color: var(--player-ribbon-ink);
  font: 700 clamp(.75rem, 3cqi, 1.75rem)/1.2 var(--bgr-font-display);
  text-shadow: 0 1px 2px var(--player-ribbon-shadow), 0 0 4px var(--player-ribbon-shadow);
  pointer-events: none;
}

.recovery .bg-player-caption[hidden] {
  display: none;
}

.recovery .bg-player-controls button {
  position: absolute;
  top: calc(564 / 666 * 100%);
  width: calc(75 / 772 * 100%);
  aspect-ratio: 1;
  padding: calc(4 / 772 * 100%);
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.recovery .bg-player-controls [data-player-action="play"] { left: calc(237 / 772 * 100%); }
.recovery .bg-player-controls [data-player-action="pause"] { left: calc(312 / 772 * 100%); }
.recovery .bg-player-controls [data-player-action="mute"] { left: calc(387 / 772 * 100%); }
.recovery .bg-player-controls [data-player-action="fullscreen"] { left: calc(462 / 772 * 100%); }

/* Archive-made full screen button; stops sampled from play.png (PIL, 29 Nov 2026). */
.recovery .bg-player-controls svg {
  display: block;
  width: 100%;
  height: auto;
}

.recovery .bg-fs-rim { fill: var(--player-fs-rim); }
.recovery .bg-fs-light { stop-color: var(--player-fs-light); }
.recovery .bg-fs-deep { stop-color: var(--player-fs-deep); }
.recovery .bg-fs-gloss { fill: var(--player-ribbon-ink); opacity: .35; }

.recovery .bg-fs-icon {
  fill: none;
  stroke: var(--player-ribbon-ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recovery .bg-player:fullscreen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  background: var(--player-fs-ground);
}

.recovery .bg-player:fullscreen .bg-player-stage {
  width: min(100vw, calc(100vh * 772 / 666));
}

.recovery .bg-player:fullscreen figcaption {
  display: none;
}

.recovery .bg-player-controls img {
  display: block;
  width: 100%;
  height: auto;
}

.recovery .bg-player-controls [aria-pressed="true"] img {
  opacity: .55;
}

.recovery .guide-content .bg-player figcaption {
  margin-top: 4px;
  font-size: var(--bgr-size-small);
}

@media (prefers-reduced-motion: no-preference) {
  .recovery .bg-player-controls img {
    transition: transform 150ms ease-out;
  }

  .recovery .bg-player-controls svg {
    transition: transform 150ms ease-out;
  }

  .recovery .bg-player-controls button:hover svg,
  .recovery .bg-player-controls button:hover img {
    transform: scale(1.08);
  }
}

@media (forced-colors: active) {
  .recovery .bg-player-caption {
    background: Canvas;
    color: CanvasText;
    text-shadow: none;
  }

  .recovery .bg-player-controls button {
    border: 1px solid ButtonText;
  }
}

.recovery .bg-player-open {
  display: none;
}

@media (max-width: 760px), (pointer: coarse) {
  .recovery .bg-player > .bg-player-open {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-block: 6px;
    padding: 0 14px;
    border: 1px solid var(--bgr-tab-rim-active);
    border-radius: 999px;
    background: var(--bgr-gradient-control);
    color: var(--rose-deep);
    font-weight: 700;
    text-underline-offset: .18em;
  }
}

.recovery .bg-player:fullscreen > .bg-player-open {
  display: none;
}
