/* The page in the product-page kit (Dasha, 29 Oct: every product page in Playground's UI, /site/assets/kit.css and /site/assets/kit-page.css):
   the stacked hero holds the live band in its plate, then the steps, the live builder, the features, the FAQ and the end plate.
   Only the band's own stage and toast, and the builder's browser frame, keep CSS of their own here. */
/* the hero's three bullets: one centred row under the line; one centred block on a phone */

/* the stage: the hero plate's box; the band fills it, its markers ride it, and a marker's card may reach past the box
   (data-xr-out), so the box does not clip. The band is transparent on the white box, so nothing else shows past its corners. */
.k-hero .fx-box { overflow: visible; }
.fx-stage { position: absolute; inset: 0; }
.fx-live { position: absolute; inset: 0; }
.fx-live .hero3d, .fx-live .hero3d .ring { position: absolute; inset: 0; width: auto; height: auto; margin: 0; aspect-ratio: auto; max-width: none; }
.fx-live .ring-ui { display: none !important; }

/* the toast: what the band just changed by itself, at the top of the box */
.fx-toast { position: absolute; z-index: 5; left: 50%; top: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid #fff; box-shadow: 0 14px 34px -14px rgba(25, 24, 38, .35);
  font: 400 13.5px/1 var(--sans); color: var(--ink2); opacity: 0; transform: translate(-50%, 8px) scale(.96); transition: opacity .3s, transform .3s; pointer-events: none; }
.fx-toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.fx-toast b { font-weight: 500; color: var(--ink); }
.fx-toast .ar { color: #6E72F2; }
.fx-toast .sw { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(110, 114, 242, .1); color: #6E72F2; overflow: hidden; }
.fx-toast .sw i { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, var(--a), var(--b) 52%, var(--c)); }
.fx-toast .sw svg { width: 20px; height: 20px; }
.fx-toast .sw img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .fx-toast { transition: none; } }

/* the band while it loads: the loading gem only (Dasha, 22 Oct: no white square). The viewer paints its own white loading
   screen on its canvas, so the stage stays hidden until the band is live */
.fx-live .ring-stage { opacity: 0; transition: opacity .6s var(--ease); }
.fx-live .ring--live .ring-stage { opacity: 1; }
.fx-live .ldb-t { display: none; }  /* no words under the gem, as on the landing and the catalog */
/* the markers in view always, also while the visitor turns the band (Dasha, 22 Oct; v2.js's shy markers hid them on every touch) */
.fx-live .hero3d.spots-shy .spots { opacity: 1 !important; }
.fx-live .hero3d.spots-shy .spot.is-on { opacity: 1; transform: none; animation: none; }
.fx-live .hero3d.spots-shy .spot.is-on:hover, .fx-live .hero3d.spots-shy .spot.is-on:focus-visible { transform: scale(1.1); }
.fx-live .hero3d.spots-shy .lead, .fx-live .hero3d.spots-shy .lead-seed { animation: none; stroke-dashoffset: 0; }

/* the live builder: the real UI in a browser frame, in the kit's glass plate */
.rc-frame { position: relative; display: flex; flex-direction: column; height: min(78svh, 760px); border-radius: 19px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(25, 24, 38, .05); }
.rc-bar { flex: none; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px; border-bottom: 1px solid rgba(25, 24, 38, .07); background: #fafafc; }
.rc-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(25, 24, 38, .12); }
.rc-bar .url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 6px; padding: 5px 12px; border-radius: 8px; background: #fff; border: 1px solid rgba(25, 24, 38, .07);
  font: 400 12px/1.2 var(--sans); color: var(--ink2); }
.rc-bar a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; font: 500 12.5px/1 var(--sans); color: #5053D0; text-decoration: none; }
.rc-bar a:hover { background: rgba(110, 114, 242, .08); }
.rc-bar a:focus-visible { outline: 2px solid #6E72F2; outline-offset: 1px; }
.rc-view { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.rc-view iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; transform-origin: 0 0; background: #fff; }
.rc-view .wait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font: 400 13px/1 var(--sans); color: var(--ink2); pointer-events: none; }
/* a phone (Dasha, 22 Oct: the site must work on a phone): finger-sized targets, text no smaller than 12 px */
@media (max-width: 860px) { .rc-frame { height: 72svh; border-radius: 16px; } .rc-bar { height: 44px; } .rc-bar a { height: 36px; } }
/* the end plate: the bands from the Figma (Dasha, 29 Oct) under the buttons; no faded ring behind */
.wbb-end { display: block; width: min(100%, 960px); height: auto; margin: clamp(28px, 4vw, 44px) auto 0; }
.k-end-plate::before { display: none; }
