/*
 * Zoey Made — the discovery reveal.
 *
 * The card that appears when a visitor finds a secret, and then goes away. It is fixed to
 * the viewport, so the page underneath cannot move because it arrived: nothing reflows,
 * nothing is pushed down, and the scroll position the visitor was reading at is exactly
 * where they are left (DISCOVERY-004 §33, §34).
 *
 * This file owns the container, the surface, the placement and the motion. It owns no words
 * and knows nothing about which secret was found — that is the registry's, delivered through
 * zoey_made_discovery_trigger() in inc/discovery/trigger.php.
 *
 *   <div class="zoey-discovery-reveal-frame">      where a card may go
 *     <div class="zoey-discovery-reveal"> … </div> what it looks like
 *     <p class="zoey-discovery-reentry"> … </p>    WORLD-014's one control, for the encounter
 *                                                  that has no card. Never on screen at the
 *                                                  same time as the card above
 *
 * It is a discovery component and stays one (§20, §76). It is not a toast system: cart
 * errors, checkout notices, form validation and marketing banners have their own places and
 * none of them is here.
 *
 * Ancestry: this is STORE-011's accepted `ephemeral-reveal`, migrated into discovery
 * ownership by §75. The placement, surface, motion, reduced-motion behaviour and container
 * query are the accepted ones; what is new is the repeat treatment, the two quiet lines at
 * the foot of the card, and the `manual` variant that waits instead of leaving.
 *
 * WORLD-008 then took the repeat treatment away again — see the note where it was — and
 * WORLD-014 added the one thing in this frame that is not the card: the way back into a finished
 * Secret Map, for a visitor who has no first find left to open one.
 */

.zoey-discovery-reveal-frame {
  /*
   * Knobs on this component, not design tokens: nothing outside it may read them.
   * The gutter is how far the card sits from the viewport edge, and it is the same value
   * on both axes so the card looks placed rather than parked.
   */
  --zoey-discovery-reveal-gutter: var(--wp--preset--spacing--50);
  --zoey-discovery-reveal-width: 20rem;
  --zoey-discovery-reveal-travel: 0.5rem;
  /*
   * The media slot, when a consumer fills one. Small enough to read as an accent beside the
   * words rather than as the subject of the card.
   *
   * Pixels, and the one place in this project where that is the right unit. Everything a
   * reader reads is sized in rem so it grows when they ask for bigger text; a decorative
   * picture is not something they are reading, and growing it takes the width away from the
   * words that matter. In rem this became 112px at 200% text and pushed the card wider than
   * a 320px screen.
   */
  --zoey-discovery-reveal-media-size: 56px;

  /*
   * The frame is the whole viewport, and the gutters are its padding.
   *
   * The obvious way to write this is a frame that hugs the card and is pinned near the
   * bottom corner, and that is how STORE-011 wrote it. The reason it is not written that way
   * any more is a measurement: a box whose *size* comes from its contents changes size when
   * its contents do — when the webfont swaps in, when a status line arrives — and Chromium
   * scores that as a layout shift against this element even though the card is invisible at
   * the time and nothing a visitor can see has moved. On the homepage it was 0.0058, which is
   * small, harmless and still a number that should be zero (§34).
   *
   * A frame the size of the viewport cannot change size. The card is placed inside it by
   * `align-items` and `padding` instead, which puts it in exactly the same place. It is
   * `pointer-events: none`, so a transparent layer over the page costs the page nothing.
   *
   * Bottom-centre on a phone, which is the reachable half of the screen and clear of the
   * header. The safe-area inset is additive and resolves to 0 wherever it means nothing,
   * which today is everywhere: the site's viewport meta does not opt into `viewport-fit:
   * cover`, and changing that site-wide is not this component's business. It is here so
   * that the day it does, the card is already off the home indicator (§31).
   */
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-block-end: calc(var(--zoey-discovery-reveal-gutter) + env(safe-area-inset-bottom, 0px));
  padding-inline: var(--zoey-discovery-reveal-gutter);
  container-type: inline-size;
  /*
   * Above the page, and above the sticky header's 10 — a card that a header could slide
   * over would be a card that sometimes is not there (§101). Nothing else on this site
   * stacks.
   */
  z-index: 20;
  /* The frame spans the width a card may use, so on its own it would blanket the page. */
  pointer-events: none;
}

.zoey-discovery-reveal {
  max-inline-size: var(--zoey-discovery-reveal-width);

  /*
   * An auto-dismiss card holds nothing to act on — a heading, a line and at most two quiet
   * status lines — so it has no business intercepting anything. Without this it is a 320px
   * rectangle floating over the page for four and a half seconds that swallows any click
   * landing on it, and at 400% zoom or 200% text the thing it covers most reliably is the
   * control that opened it: the card would sit on its own trigger and there would be no way
   * to dismiss it early or replay it by pointer (§30).
   *
   * This makes "the reveal does not cover interactive controls" structural rather than
   * something that happens to be true at the widths anyone measured. The cost is that the
   * card's words cannot be selected, which is the right trade for something that removes
   * itself after four seconds. A `manual` card puts it back — see the foot of this file.
   */
  pointer-events: none;

  padding: var(--wp--preset--spacing--40);
  border: 1px solid var(--wp--preset--color--border-soft);
  border-radius: var(--wp--custom--radius--large);
  background-color: var(--wp--preset--color--zoey-lavender-pale);
  box-shadow: var(--wp--preset--shadow--lifted);

  /*
   * `visibility` rather than `display`, and it is doing two jobs. It takes the card out
   * of the accessibility tree while it is away, so a screen reader never finds a card
   * that is not on screen — and unlike `display` it can be transitioned, so the card can
   * fade out before it goes rather than vanishing mid-fade. The delay on the way out is
   * what holds it visible for exactly as long as the fade lasts.
   */
  visibility: hidden;
  opacity: 0;
  transform: translateY(var(--zoey-discovery-reveal-travel)) scale(0.96);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 180ms;
}

/*
 * On screens with room beside the content, the lower trailing corner. Bottom-centre on a
 * wide screen would sit under the middle of the page, which is where this site keeps its
 * headings and its buttons; the corner is the part of a Zoey Made page that is reliably
 * white space. `inset-inline-start: auto` is what releases the centring above.
 */
@media (min-width: 48em) {
  .zoey-discovery-reveal-frame {
    --zoey-discovery-reveal-gutter: var(--wp--preset--spacing--60);

    justify-content: flex-end;
  }

  /*
   * A visual takes width from the words, so give it back where there is room to. 24rem is
   * the top of the measure the story allows, and it buys the line that matters: the heading
   * fits on one, which keeps the card no taller with a character in it than it was without.
   * Below this breakpoint the card is already as wide as the screen allows.
   */
  .zoey-discovery-reveal-frame:has(.has-media) {
    --zoey-discovery-reveal-width: 24rem;
  }

}

.zoey-discovery-reveal.is-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition:
    opacity 220ms cubic-bezier(0.34, 1.32, 0.64, 1),
    transform 220ms cubic-bezier(0.34, 1.32, 0.64, 1),
    visibility 0s;
}

/* --- What it says ------------------------------------------------------------------ */

/*
 * The media slot is a hole of a fixed size, not a picture library. Whatever a consumer
 * passes is fitted into it and nothing about it is configurable from outside — no variants,
 * no per-consumer sizes, no shapes. That is what keeps one small visual from becoming an
 * icon set, and it is why the size lives here rather than in a consumer's stylesheet: the
 * card's layout is the card's business, and a consumer that could resize it could break it.
 */
.zoey-discovery-reveal.has-media {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--30);
}

/*
 * Pulled into the card's own padding so it leans on the leading edge rather than sitting
 * politely inside it — the difference between a character delivering the message and an
 * avatar attached to a notification. It stops at the border rather than crossing it, which
 * keeps the whole card inside the viewport bounds measured everywhere else in this file.
 */
.zoey-discovery-reveal__media {
  flex: none;
  margin-inline-start: calc(var(--wp--preset--spacing--30) * -1);
  inline-size: var(--zoey-discovery-reveal-media-size);
  block-size: var(--zoey-discovery-reveal-media-size);
}

/*
 * Fitted, never stretched, and whatever aspect the artwork has is the artwork's business.
 * Nothing here animates: the card moves as one thing, so a visual inside it cannot acquire
 * a motion of its own.
 */
.zoey-discovery-reveal__media > *,
.zoey-discovery-reveal__media > img.zoey-character {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

/*
 * Without `min-inline-size` a long word in the heading pushes the media out of the card
 * instead of wrapping, because a flex item's floor is its content and not zero.
 *
 * `anywhere` is the backstop behind that, and it is `anywhere` rather than `break-word`
 * because only `anywhere` also lowers the column's *minimum* content width. Without that the
 * card's fit-content floor stays as wide as its longest word, and at large text sizes the
 * card grows past its own gutters. Neither value breaks a word that fits, so this changes
 * nothing at any ordinary text size.
 */
.zoey-discovery-reveal__body {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

/*
 * Below this the picture is costing the words more than it is worth, and the words are the
 * discovery — so it goes and the card carries on without it.
 *
 * A container query rather than a media query, because the question is not how wide the
 * screen is but how much room a card has on it, and the answer changes with the reader's
 * text size as well as with the screen. `rem` here is the root font size, whatever set it,
 * so this fires the same way for someone who turned their browser's text up and for someone
 * whose stylesheet did it for them — a media query in `em` only ever sees the first.
 *
 * 15rem: at a normal 16px that is 240px, and the narrowest screen this site supports leaves
 * a card 272px, so a phone always gets the picture. At 200% text the same phone leaves 224px
 * against a 480px threshold, and it gets the message rather than the messenger. That is the
 * right way round — the picture is decoration, and `alt=""` already says that losing it
 * loses nothing (§103).
 */
@container (max-width: 15rem) {
  .zoey-discovery-reveal__media {
    display: none;
  }
}

.zoey-discovery-reveal__heading {
  margin-block: 0;
  color: var(--wp--preset--color--ink);
  font-size: var(--wp--preset--font-size--body);
  font-weight: 700;
  line-height: 1.35;
}

.zoey-discovery-reveal__note {
  margin-block: var(--wp--preset--spacing--20) 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: var(--wp--preset--font-size--body-small);
  line-height: 1.5;
}

/*
 * The two quiet lines, and they are quiet on purpose.
 *
 *   progress  "2 of 6 secrets found" — secondary text, and never a meter, a ring, a
 *             percentage, an animated counter or a score (DISCOVERY-002 §Progress).
 *   status    the persistence result, which exists only for a signed-in customer and only
 *             once the server has answered (§57, §59).
 *
 * Both are empty most of the time, and an empty one takes no room at all rather than
 * reserving a gap for something that may never be said. `:empty` is what makes the card the
 * same height it has always been on a homepage where neither line applies — no fixed height
 * anywhere in this file, so 200% text, translation and text-spacing overrides all simply
 * make it taller (§37, §103, §105).
 */
.zoey-discovery-reveal__progress,
.zoey-discovery-reveal__status {
  margin-block: var(--wp--preset--spacing--20) 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: var(--wp--preset--font-size--body-small);
  line-height: 1.5;
}

.zoey-discovery-reveal__progress {
  font-weight: 600;
}

.zoey-discovery-reveal__note:empty,
.zoey-discovery-reveal__progress:empty,
.zoey-discovery-reveal__status:empty {
  display: none;
}

/* --- The way to Bubble's Secret Map -------------------------------------------------- */

/*
 * The one control an ordinary reveal may hold, and only from the second unique discovery
 * onwards (DISCOVERY-006 §12, §61).
 *
 * A quiet secondary action, and the styling is where "quiet" is actually enforced: underlined
 * secondary text at the foot of the card, in the same voice as every other small action on
 * this site. §12 is explicit that it must not replace or dominate the discovery message, so
 * it is the last thing in the card, it is smaller than the heading and the note, and it is
 * not a filled button competing with them.
 *
 * `pointer-events: auto` on the row is what makes it pressable inside a card that is
 * otherwise transparent to the pointer. The card as a whole takes its pointer events back
 * through `has-dismiss` at the same moment, so the two never disagree.
 */
.zoey-discovery-reveal__actions {
  margin-block: var(--wp--preset--spacing--30) 0;
  pointer-events: auto;
}

.zoey-discovery-reveal__actions:has(> [hidden]) {
  margin-block: 0;
}

/*
 * `hidden` has to win here too. `.zoey-discovery-reveal__map` and
 * `.zoey-discovery-reveal__dismiss` both set a `display`, and a class selector beats the user
 * agent's `[hidden] { display: none }` — so without this the two controls would be hidden from
 * assistive technology and visible to everyone else, which is the worst of both.
 */
.zoey-discovery-reveal [hidden] {
  display: none;
}

.zoey-discovery-reveal__map {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  /*
   * Ink and an underline, which is theme.json's own link treatment. Zoey Purple was tried
   * first and is 2.93:1 against the card's Lavender Pale — an action nobody can read is not a
   * quiet action, it is a broken one. "Quiet" is carried by size, weight and position instead:
   * it is the smallest thing in the card and the last (§12).
   */
  color: var(--wp--preset--color--ink);
  font: inherit;
  font-size: var(--wp--preset--font-size--body-small);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  appearance: none;
}

.zoey-discovery-reveal__map:hover {
  text-decoration-thickness: 0.16em;
}

/* --- Later-visit re-entry into the Secret Map (WORLD-014) ---------------------------- */

/*
 * The repeat's own small panel, in the frame, and deliberately not the card.
 *
 * It is what a visitor who has found all six gets when they press a found secret: the object
 * answers where it stands, in its own character, exactly as WORLD-008 shipped it — and the two
 * sentences WORLD-008 left speaking to a screen reader alone become visible, with the way back
 * into the finished map under them.
 *
 * **What keeps it from being the card is one word: `.is-open`.** Every first-find interaction in
 * components/discovery-object.css and components/easter-egg.css is keyed on it, and it means a
 * card is on screen. This panel never sets it, so nothing re-performs — which is Product
 * amendment §F's blocking condition and the whole reason the card was not simply restored.
 *
 * What it does not have, and may not grow: media, a progress line, a status line, a dismiss
 * control. Four `<p>`-shaped temptations, all of them the card's and none of them this.
 *
 * It shares the card's frame rather than bringing its own: the placement, the gutters, the
 * safe-area inset, the phone-versus-desktop corner and the container query are all the accepted
 * ones, and two frames would be two answers to where a discovery puts things.
 *
 * The card and this can never be on screen together. A card opens for a first find; this appears
 * only when there are none left to make.
 */
.zoey-discovery-reentry {
  /*
   * Out of the frame's flex flow, and this is the one place the shared frame costs something.
   *
   * The card is `visibility: hidden` rather than `display: none` while it is away — deliberately,
   * so it can fade rather than vanish — which means it is still a flex item taking its 20rem. A
   * second item beside it would be centred *as a pair* and squeezed on a phone, where 20rem of
   * the 390px is already spoken for. Taking this one out of the flow leaves the card's accepted
   * geometry untouched and gives this its own.
   *
   * The placement is the frame's own, read from the frame's own variable rather than restated:
   * the safe-area inset is the frame's line verbatim, for the reason the frame gives — it
   * resolves to 0 everywhere today, and is here so that the day the site opts into
   * `viewport-fit: cover` this is already off the home indicator.
   */
  position: absolute;
  inset-block-end: calc(var(--zoey-discovery-reveal-gutter) + env(safe-area-inset-bottom, 0px));
  inset-inline: var(--zoey-discovery-reveal-gutter);

  /*
   * The card's own width, and centred inside the frame's gutters the way the card is. `auto` on
   * both sides is what does the centring; the desktop rule further down releases the leading one
   * so it moves to the trailing corner, exactly as the card's frame does at the same breakpoint.
   */
  max-inline-size: var(--zoey-discovery-reveal-width);
  margin-inline: auto;

  /*
   * The frame is `pointer-events: none` so that a transparent layer over the page costs the page
   * nothing. Anything in it that can be pressed has to take its own back.
   */
  pointer-events: auto;

  /*
   * The card's surface, at the card's own values — because it belongs to the same family and a
   * second visual language for the same moment would be the worse mistake. What makes it read as
   * lighter is what is *in* it: two lines and one action, no picture, no chrome.
   */
  padding: var(--wp--preset--spacing--40);
  border: 1px solid var(--wp--preset--color--border-soft);
  border-radius: var(--wp--custom--radius--large);
  background-color: var(--wp--preset--color--zoey-lavender-pale);
  box-shadow: var(--wp--preset--shadow--lifted);
}

/*
 * `hidden` has to win. The rule above sets no `display`, but these do — and a class selector
 * beats the user agent's `[hidden] { display: none }`, so without this the panel's contents would
 * be hidden from assistive technology and visible to everyone else, which is the worst of both.
 */
.zoey-discovery-reentry[hidden] {
  display: none;
}

.zoey-discovery-reentry [hidden] {
  display: none;
}

/*
 * The words, at the card's own sizes. Same two rules as `.zoey-discovery-reveal__heading` and
 * `__note`, because it is the same voice saying a quieter thing — and stated here rather than
 * shared with a comma so that changing the card's treatment cannot silently change this one.
 */
.zoey-discovery-reentry__heading {
  margin-block: 0;
  color: var(--wp--preset--color--ink);
  font-size: var(--wp--preset--font-size--body);
  font-weight: 700;
  line-height: 1.35;
}

.zoey-discovery-reentry__note {
  margin-block: var(--wp--preset--spacing--20) 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: var(--wp--preset--font-size--body-small);
  line-height: 1.5;
}

.zoey-discovery-reentry__actions {
  margin-block: var(--wp--preset--spacing--30) 0;
}

/*
 * The same treatment as the card's doorway, and the same reasoning: Zoey Purple is 2.93:1
 * against Lavender Pale, so the colour is ink and an underline — theme.json's own link
 * treatment — and "quiet" is carried by size, weight and position instead.
 *
 * The 2.75rem minimum is the accepted touch target and is why this is not smaller. It is a
 * control a thumb has to find on a phone, and WORLD-012's emulated matrix measured the card's
 * controls at that height at 320, 390 and 430.
 */
.zoey-discovery-reentry__map {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wp--preset--color--ink);
  font: inherit;
  font-size: var(--wp--preset--font-size--body-small);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  appearance: none;
}

.zoey-discovery-reentry__map:hover {
  text-decoration-thickness: 0.16em;
}

/*
 * The panel follows the card into the corner on a wide screen, for the same reason the card goes
 * there: bottom-centre sits under the middle of the page, which is where this site keeps its
 * headings and its buttons. Releasing the leading margin is what moves it.
 *
 * It is here rather than in the frame's own `48em` block above because both rules are one class
 * deep, so the cascade decides this on source order — and the block above comes first. A
 * breakpoint rule that loses on source order is worse than none, because it reads as handled.
 */
@media (min-width: 48em) {
  .zoey-discovery-reentry {
    margin-inline: auto 0;
  }
}

/* --- A repeat find, and where it went (WORLD-008) ------------------------------------ */

/*
 * There was a repeat treatment here: `.is-repeat`, a narrower card with its picture dropped,
 * the lighter second form §24 asked for. It has gone, because WORLD-002 §8 moved the second
 * encounter off the card entirely — pressing a found secret is now acknowledged on the object
 * itself, in that object's own character, and announced in the discovery's status region. No
 * card opens, so there is no second treatment for one to wear.
 *
 * The acknowledgements live where the objects do: components/discovery-object.css for the five
 * drawn secrets, components/easter-egg.css for the star.
 *
 * **One thing left this file with it, and WORLD-014 is where it went.**
 * The rationale recorded here used to be DISCOVERY-006 §61: the way back into Bubble's Secret
 * Map belongs in *subsequent discovery reveals*, and a visitor who has found all six has no
 * first finds left — so the repeat card was the only card they could still open, and the only
 * remaining door to the map. Taking the card away closed that door, and this file recorded the
 * consequence for product rather than solving it in a stylesheet.
 *
 * **Closed, 2026-09-24.** Product ruled one contextual path back, under the rule *completion
 * earns re-entry, not navigation*: at 6 of 6 the acknowledgement above carries a small panel, and
 * `.zoey-discovery-reentry` further down this file is what it looks like. It says the two repeat
 * sentences this file's copy was written for — visibly, which they never were — and it is
 * **not this card returning**: it sets no `.is-open`, so no object re-performs its first find.
 * That was the amendment's blocking condition, and it is why the card was not simply restored.
 * The repeat card stays removed. Below 6 of 6 nothing here changed at all, because a visitor with
 * first finds left still meets the doorway on a card.
 *
 * Whether it is *wanted* was never a question a stylesheet could answer, and it was the right
 * thing to write down instead of guessing.
 */

/* --- A reveal that waits ------------------------------------------------------------- */

/*
 * `manual` — the capability §27 and §44 ask this story to support, and which nothing in
 * production uses.
 *
 * A card that stays until it is dismissed has to be reachable, so it takes its pointer
 * events back and gains the explicit close control §44 requires. That is also exactly why
 * the shipped reveal is not this: a card you can click is a card that can sit on top of the
 * thing you were trying to click, which is the trade the auto-dismiss variant refuses to
 * make. DISCOVERY-002's accepted ruling — the reveal a visitor is *shown* stays action-free
 * — is implemented by the homepage star using `auto`, not by this variant not existing.
 */
.zoey-discovery-reveal.has-dismiss {
  position: relative;
  padding-inline-end: var(--wp--preset--spacing--60);
  pointer-events: auto;
}

.zoey-discovery-reveal__dismiss {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* A real target, for the same reason a secret gets one (§9). */
  inline-size: 2.75rem;
  block-size: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--wp--custom--radius--pill);
  background: none;
  color: var(--wp--preset--color--ink-soft);
  font: inherit;
  font-size: var(--wp--preset--font-size--body);
  line-height: 1;
  cursor: pointer;
  appearance: none;
}

.zoey-discovery-reveal__dismiss:hover {
  color: var(--wp--preset--color--ink);
}

/* --- Forced colors ------------------------------------------------------------------- */

/*
 * The card's surface is a pastel and the system replaces it, so the border is what keeps the
 * card a card rather than words floating over the page. The map action keeps its underline,
 * which is what makes it read as a control once its colour is gone.
 */
@media (forced-colors: active) {
  .zoey-discovery-reveal {
    border-color: CanvasText;
  }

  .zoey-discovery-reveal__map {
    color: LinkText;
  }

  /*
   * WORLD-014's action is a pill over the page rather than words in a card, so it needs the
   * border for the same reason the card does: the system replaces the pastel, and without an
   * edge the control is one underlined line floating on Canvas.
   */
  /*
   * The panel's surface is a pastel and the system replaces it, so the border is what keeps it a
   * panel rather than words floating over the page — the card's own rule, for the card's reason.
   */
  .zoey-discovery-reentry {
    border-color: CanvasText;
  }

  .zoey-discovery-reentry__map {
    color: LinkText;
  }
}

/* --- Reduced motion ----------------------------------------------------------------- */

/*
 * base.css already collapses every duration site-wide, so this is not what makes the
 * preference work — it is what makes the result deliberate. The card still appears, still
 * says the same words for the same length of time, and still announces itself. What goes
 * is the travel and the scale: it is simply there, and then simply not (§40).
 *
 * The selectors repeat the ones they switch off so the cascade decides this on source
 * order rather than on which rule happened to carry a class. A reduced-motion rule that
 * loses on specificity is worse than none, because it reads as handled.
 */
@media (prefers-reduced-motion: reduce) {
  .zoey-discovery-reveal {
    transform: none;
  }

  .zoey-discovery-reveal.is-visible {
    transform: none;
  }

  /*
   * WORLD-014's action has no rule here because it has no motion to remove: it is not
   * transitioned, does not travel and does not scale — it is simply there, and then simply not.
   * That is the reduced-motion behaviour rather than an omission of one, and the object's own
   * acknowledgement keeps whatever treatment its own stylesheet already gives this preference.
   */
}
