/* BC Tech motion layer (2026-11-10)
   Shared by the main site, BC Store and the product pages:
   - smooth page transitions (cross-document view transitions; browsers without support just navigate)
   - RGB frame on store product cards
   - fade-in on scroll (fx.js only hides what starts below the first screen)
   - the "what's inside" tour pages (/inside/) and the play card on product pages
   Nothing here runs forever: the RGB frame spins only while hovered, and everything stops
   for visitors who asked their phone for less motion. */

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
::view-transition-group(pimg) { animation-duration: .42s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
.navbar, .store-header { view-transition-name: site-header; }
/* The product photo is named in CSS (not script) so it is ready before the page first paints */
#ppImg { view-transition-name: pimg; }

/* ---------- RGB frame on product cards ---------- */
@property --fx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.card[data-category]::before,
.hs-card::before,
.v2-tier::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--fx-a), #ff3d6e, #ffb02e, #3dff8b, #22d3ee, #5b6bff, #d14bff, #ff3d6e);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 3;
}
.card[data-category]:hover::before,
.card[data-category]:focus-within::before,
.card[data-category].fx-lit::before,
.hs-card:hover::before,
.hs-card:focus-visible::before,
.hs-card.fx-lit::before,
.v2-tier:hover::before,
.v2-tier:focus-visible::before,
.v2-tier.fx-lit::before {
  opacity: 1;
  animation: fx-rgb 2.4s linear infinite;
}
.card[data-category]:hover,
.card[data-category].fx-lit,
.hs-card:hover,
.hs-card.fx-lit,
.v2-tier:hover,
.v2-tier.fx-lit { box-shadow: 0 18px 40px -20px rgba(34, 120, 255, .55), 0 0 0 1px transparent; }
@keyframes fx-rgb { to { --fx-a: 360deg; } }

/* ---------- fade-in on scroll (v2: shorter and tighter, so it reads as crisp rather than floaty) ---------- */
.fx-wait { opacity: 0; }
.fx-in { animation: fx-in .5s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--fx-d, 0ms); }
@keyframes fx-in { from { opacity: 0; translate: 0 16px; scale: .985; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* ---------- v2: one feel for every button and card across the sites ---------- */
:where(.btn, .hv3-btn, .btn-card-add, .v2-btn, .chip, .preset, .slot, .opt, .cat-tile, .service-compact-item, .profile-social-btn, .hs-card, .v2-mini) { -webkit-tap-highlight-color: transparent; }
:where(.btn, .hv3-btn, .btn-card-add, .v2-btn, .chip, .preset, .opt, .profile-social-btn):active { transform: scale(.97); transition-duration: .08s; }
:where(.cat-tile, .service-compact-item, .hs-card, .v2-mini, .slot):active { transform: scale(.985); transition-duration: .08s; }
.navbar, .store-header, .b-head { transition: box-shadow .25s ease, background-color .25s ease; }
.fx-scrolled { box-shadow: 0 6px 24px -14px rgba(15, 23, 42, .35); }
.fx-img { opacity: 0; transition: opacity .35s ease; }
.fx-img.fx-img-in { opacity: 1; }
::view-transition-old(root) { animation: fx-out .18s ease both; }
::view-transition-new(root) { animation: fx-page .3s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes fx-out { to { opacity: 0; } }
@keyframes fx-page { from { opacity: 0; translate: 0 8px; } }

/* ---------- less motion: phone setting ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .fx-wait { opacity: 1; }
  .fx-in { animation: none; }
  .fx-img { opacity: 1; transition: none; }
  :where(.btn, .hv3-btn, .btn-card-add, .v2-btn, .chip, .preset, .opt, .profile-social-btn, .cat-tile, .service-compact-item, .hs-card, .v2-mini, .slot):active { transform: none; }
  .card[data-category]::before, .hs-card::before, .v2-tier::before { animation: none !important; }
  html { scroll-behavior: auto !important; }
}

/* ======================================================================
   "What's inside" pages (/inside/) and the play card on product pages
   ====================================================================== */
.in-teaser {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; gap: 22px;
  margin: 28px auto 0; padding: 14px; border-radius: 22px; text-decoration: none; color: #fff;
  background: radial-gradient(600px 240px at 85% 0%, rgba(34, 211, 238, .22), transparent 60%), linear-gradient(120deg, #0b1630, #0b2a55 60%, #0b63ce);
  box-shadow: 0 24px 50px -30px rgba(11, 42, 85, .9);
  position: relative; overflow: hidden; isolation: isolate;
}
.in-teaser-img { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1600 / 1195; background: #c9d0dc; }
.in-teaser-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.in-teaser:hover .in-teaser-img img { transform: scale(1.08); }
.in-teaser-play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: #0b63ce;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .25), 0 12px 30px rgba(0, 0, 0, .35);
  transition: transform .25s;
}
.in-teaser-play svg { width: 26px; height: 26px; margin-right: -4px; }
.in-teaser:hover .in-teaser-play { transform: scale(1.1); }
.in-teaser-text small { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .05em; color: #7fe0ff; margin-bottom: 4px; }
.in-teaser-text b { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.15; margin-bottom: 6px; }
.in-teaser-text span { display: block; color: #cfe0ff; font-size: 15.5px; line-height: 1.5; max-width: 52ch; }
.in-teaser-text em { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-style: normal; font-weight: 800; background: #fff; color: #0b2a55; border-radius: 999px; padding: 8px 16px; font-size: 14px; }
@media (max-width: 700px) {
  .in-teaser { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
  .in-teaser-text { padding: 0 4px 6px; }
}

.inside-page { --in-ink: #0f172a; --in-ink-2: #475569; --in-line: #e2e8f0; --in-card: #fff; --in-soft: #f1f6fd; --in-brand: #0b63ce; color: var(--in-ink); }
body.dark-theme .inside-page { --in-ink: #eef3fb; --in-ink-2: #9aabc8; --in-line: #1f2c49; --in-card: #111a30; --in-soft: #0d1529; --in-brand: #5b9bff; }
.in-hero { padding: 12px 0 18px; }
.in-hero h1 { margin: 0 0 6px; font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; line-height: 1.12; text-wrap: balance; }
.in-hero p { margin: 0; color: var(--in-ink-2); font-size: 17px; max-width: 62ch; }

.in-tour { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; align-items: start; outline: none; }
.in-stage { width: min(100%, calc((100vh - 350px) * 1600 / 1195), 860px); min-width: min(100%, 420px); justify-self: center; position: relative; border-radius: 22px; overflow: hidden; background: #c9d0dc; aspect-ratio: 1600 / 1195; box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .6); touch-action: pan-y; }
.in-cam { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.in-cam img { width: 100%; height: 100%; display: block; object-fit: cover; }
.in-ring {
  position: absolute; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .35s;
  border: 2px solid rgba(34, 211, 238, .95);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .18), 0 0 24px rgba(34, 211, 238, .6), inset 0 0 18px rgba(34, 211, 238, .25);
}
.in-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(5, 10, 24, .35)); }
.in-ctrl { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; z-index: 2; }
.in-ctrl button {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(8, 14, 30, .78); color: #fff;
}
.in-ctrl button:hover { background: #0b63ce; }
.in-ctrl button:focus-visible, .in-start:focus-visible, .in-chips button:focus-visible { outline: 3px solid #22d3ee; outline-offset: 2px; }
.in-ctrl svg { width: 18px; height: 18px; }
.in-play .i-pause { display: none; }
.is-playing .in-play .i-pause { display: block; }
.is-playing .in-play .i-play { display: none; }
.in-start {
  position: absolute; inset: 0; margin: auto; z-index: 3; width: max-content; height: max-content;
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  background: #fff; color: #0b2a55; font: inherit; font-weight: 800; font-size: 17px; border-radius: 999px; padding: 14px 24px 14px 20px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .25), 0 18px 40px rgba(0, 0, 0, .35);
}
.in-start[hidden], .in-pimg[hidden], .in-where[hidden] { display: none; }
.in-start svg { width: 22px; height: 22px; color: #0b63ce; }
.in-stage-tag { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(8, 14, 30, .78); color: #fff; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 5px 12px; }

.in-panel { display: grid; gap: 14px; min-width: 0; }
.in-count { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 14px; color: var(--in-ink-2); font-variant-numeric: tabular-nums; }
.in-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--in-line); overflow: hidden; }
.in-bar i { display: block; height: 100%; transform-origin: right; transform: scaleX(0); background: linear-gradient(90deg, #22d3ee, #0b63ce); transition: transform .5s; }
.in-part { background: var(--in-card); border: 1px solid var(--in-line); border-radius: 22px; padding: 18px; display: grid; gap: 12px; }
.in-pimg { height: 200px; display: grid; place-items: center; border-radius: 16px; background: radial-gradient(circle at 50% 55%, var(--in-soft), transparent 70%); }
.in-pimg img { max-width: 80%; max-height: 180px; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(15, 23, 42, .25)); }
.in-k { display: inline-block; font-size: 13px; font-weight: 800; color: var(--in-brand); background: color-mix(in srgb, var(--in-brand) 12%, transparent); border-radius: 999px; padding: 3px 11px; }
.in-v { margin: 8px 0 4px; font-size: clamp(19px, 2.1vw, 23px); font-weight: 800; line-height: 1.25; }
.in-role { margin: 0; color: var(--in-ink-2); font-size: 16px; line-height: 1.5; }
.in-where { margin: 6px 0 0; font-size: 13.5px; color: var(--in-brand); font-weight: 700; }
@keyframes in-swap { from { opacity: 0; translate: 0 10px; } }
.in-ptext.swap { animation: in-swap .45s cubic-bezier(.2, .8, .2, 1); }
.in-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.in-chips button { border: 1px solid var(--in-line); background: var(--in-card); color: var(--in-ink-2); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.in-chips button[aria-current="step"] { background: var(--in-brand); border-color: var(--in-brand); color: #fff; }

.in-sec { margin-top: 44px; }
.in-sec > h2 { margin: 0 0 14px; font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; }
.in-parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.in-parts button {
  text-align: right; font: inherit; color: inherit; cursor: pointer; display: grid; gap: 8px; align-content: start;
  background: var(--in-card); border: 1px solid var(--in-line); border-radius: 18px; padding: 12px; transition: border-color .2s, transform .2s;
}
.in-parts button:hover, .in-parts button.is-on { border-color: var(--in-brand); }
.in-parts button:hover { transform: translateY(-2px); }
.in-parts .ph { height: 110px; display: grid; place-items: center; border-radius: 12px; background: var(--in-soft); }
.in-parts .ph img { max-width: 80%; max-height: 96px; object-fit: contain; }
.in-parts small { font-size: 12.5px; font-weight: 800; color: var(--in-brand); }
.in-parts b { font-size: 14.5px; line-height: 1.3; }
.in-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 22px; border-radius: 20px; background: var(--in-card); border: 1px solid var(--in-line); }
.in-buy h2 { margin: 0; font-size: 22px; }
.in-buy p { margin: 2px 0 0; color: var(--in-ink-2); }
.in-buy .price { font-size: 28px; font-weight: 800; }
.in-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.in-more a { display: grid; gap: 8px; text-decoration: none; color: inherit; background: var(--in-card); border: 1px solid var(--in-line); border-radius: 18px; padding: 10px; transition: border-color .2s, transform .2s; }
.in-more a:hover { border-color: var(--in-brand); transform: translateY(-2px); }
.in-more .ph { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1600 / 1195; background: #c9d0dc; }
.in-more .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.in-more .ph i { position: absolute; left: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #0b63ce; display: grid; place-items: center; }
.in-more .ph i svg { width: 15px; height: 15px; margin-right: -2px; }
.in-more b { font-size: 15.5px; line-height: 1.3; padding: 0 4px; }
.in-more span { font-size: 14px; color: var(--in-ink-2); padding: 0 4px 4px; }

@media (max-width: 900px) {
  .in-tour { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .in-stage { border-radius: 16px; }
  .in-part { grid-template-columns: 96px minmax(0, 1fr); align-items: center; padding: 12px; border-radius: 16px; }
  .in-pimg { height: 96px; }
  .in-pimg img { max-height: 88px; max-width: 92%; }
  .in-v { font-size: 17px; margin: 6px 0 2px; }
  .in-role { font-size: 14.5px; }
  .in-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .in-start { font-size: 15px; padding: 11px 18px 11px 16px; }
  .in-ctrl button { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .in-teaser-img img, .in-teaser-play, .in-bar i { transition: none; }
  .in-ptext.swap { animation: none; }
}


/* ======================================================================
   "What's inside" v2 (11/11): showroom stage, hotspots on the photo, live caption
   ====================================================================== */
.in-tour { padding: 18px; border-radius: 30px; background: radial-gradient(120% 120% at 90% 0%, #1d3b7a 0%, #0b1730 55%, #070d1c 100%); box-shadow: 0 40px 80px -40px rgba(11, 23, 48, .8); position: relative; isolation: isolate; align-items: center;
  --in-ink: #f1f5f9; --in-ink-2: #a9b8d4; --in-line: rgba(255, 255, 255, .14); --in-card: rgba(255, 255, 255, .06); --in-soft: rgba(255, 255, 255, .1); --in-brand: #7dd3fc; color: var(--in-ink); }
.in-tour::before { content: ''; position: absolute; z-index: -1; inset: auto auto -40% -10%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, #ff3d6e, #ffb800, #22d3ee, #7c3aed, #ff3d6e); filter: blur(90px); opacity: .2; pointer-events: none; }
.in-tour .in-stage { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.in-tour .in-part { backdrop-filter: blur(10px); }
.in-tour .in-pimg { background: radial-gradient(circle at 50% 55%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .78) 62%, transparent 72%); }
.in-tour .in-k { background: rgba(125, 211, 252, .16); }
.in-tour .in-chips button { background: rgba(255, 255, 255, .06); color: #cbd5e1; border-color: rgba(255, 255, 255, .16); }
.in-tour .in-chips button:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.in-tour .in-chips button[aria-current="step"] { background: #fff; border-color: #fff; color: #0b1730; }

.in-dot { position: absolute; z-index: 2; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; transform: scale(var(--in-inv, 1)); }
.in-dot i { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .28), 0 4px 14px rgba(0, 0, 0, .5); transition: transform .2s, background .2s; }
.in-dot i::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #0b63ce; }
.in-dot i::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: in-ping 2.2s cubic-bezier(.2, .8, .2, 1) infinite; }
.in-dot::after { content: ''; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; } /* finger-sized target */
.in-dot span { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; white-space: nowrap; background: rgba(8, 14, 30, .9); color: #fff; font: 700 12.5px/1 inherit; padding: 6px 10px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, bottom .2s; }
.in-dot:hover span, .in-dot:focus-visible span { opacity: 1; bottom: 24px; }
.in-dot:hover i, .in-dot:focus-visible i { transform: scale(1.2); }
.in-dot:focus-visible { outline: none; }
.in-dot:focus-visible i { box-shadow: 0 0 0 4px #22d3ee, 0 4px 14px rgba(0, 0, 0, .5); }
.in-dot.is-on { opacity: 0; pointer-events: none; }
.in-tour:not(.is-started) .in-dot { opacity: 0; pointer-events: none; }
.in-dot { transition: opacity .3s; }
@keyframes in-ping { 0% { transform: scale(.7); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }

.in-cap { position: absolute; z-index: 2; right: 12px; bottom: 12px; max-width: calc(100% - 170px); display: grid; gap: 1px; padding: 8px 14px; border-radius: 14px; background: rgba(8, 14, 30, .78); backdrop-filter: blur(8px); color: #fff; opacity: 0; translate: 0 8px; transition: opacity .3s, translate .3s; pointer-events: none; text-align: start; }
.in-cap.show { opacity: 1; translate: 0 0; }
.in-cap b { font-size: 11.5px; font-weight: 800; color: #7dd3fc; letter-spacing: .02em; }
.in-cap span { font-size: 14px; font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) {
  .in-tour { padding: 10px; border-radius: 22px; margin-inline: -6px; }
  .in-cap { right: 8px; bottom: 8px; padding: 6px 10px; max-width: calc(100% - 150px); }
  .in-cap span { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .in-dot i::after { animation: none; } .in-cap, .in-dot { transition: none; } }

/* ======================================================================
   "How a computer is built" (/inside/): scroll story. Without script it is a plain list (.ex-list).
   ====================================================================== */
.ex { position: relative; margin-top: 8px; }
.ex-sticky { display: none; }
.ex-list { list-style: none; margin: 0 auto; padding: 0; width: min(1180px, 100% - 32px); display: grid; gap: 12px; }
.ex-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 14px; }
.ex-list img { width: 120px; height: 120px; object-fit: contain; }
.ex-list small { font-weight: 800; color: #0b63ce; }
.ex-list h2 { margin: 2px 0 4px; font-size: 18px; }
.ex-list p { margin: 0; color: #475569; }
.ex-list .n { margin-top: 4px; color: #0f172a; }

.ex.is-live .ex-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ex.is-live .ex-sticky {
  position: sticky; top: var(--ex-top, 0px); height: calc(100svh - var(--ex-top, 0px)); min-height: 480px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 34px; align-items: center;
  padding: 22px max(16px, calc((100% - 1180px) / 2)); color: #fff; isolation: isolate;
  background: radial-gradient(120% 120% at 88% 0%, #1d3b7a 0%, #0b1730 55%, #070d1c 100%);
}
.ex-sticky::before { content: ''; position: absolute; z-index: -1; inset: auto auto -45% -10%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, #ff3d6e, #ffb800, #22d3ee, #7c3aed, #ff3d6e); filter: blur(100px); opacity: .2; }
.ex-stage { position: relative; width: 100%; max-height: 100%; aspect-ratio: 1600 / 1195; border-radius: 24px; overflow: hidden; background: #c9d0dc; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px -30px rgba(0, 0, 0, .85); justify-self: center; }
.ex-pc { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }
.ex-dim { position: absolute; inset: 0; background: #060b18; opacity: 0; pointer-events: none; }
.ex-ring { position: absolute; border-radius: 50%; opacity: 0; pointer-events: none; border: 2px solid rgba(34, 211, 238, .95); box-shadow: 0 0 0 4px rgba(34, 211, 238, .18), 0 0 26px rgba(34, 211, 238, .65), inset 0 0 18px rgba(34, 211, 238, .25); }
.ex-part { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; display: grid; place-items: center; padding: 7%; border-radius: 28px; background: radial-gradient(circle at 50% 40%, #fff 0%, #eef2f7 100%); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .5), 0 0 60px rgba(56, 189, 248, .35); opacity: 0; will-change: transform, opacity; }
.ex-part[hidden] { display: none; }
.ex-part img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(15, 23, 42, .28)); }

.ex-text { min-width: 0; will-change: opacity, transform; }
.ex-count { display: block; font-size: 13px; font-weight: 800; color: #94a3b8; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.ex-k { display: inline-block; font-size: 13.5px; font-weight: 800; color: #7dd3fc; background: rgba(125, 211, 252, .14); border-radius: 999px; padding: 4px 12px; }
.ex-v { margin: 12px 0 8px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; line-height: 1.18; text-wrap: balance; overflow-wrap: anywhere; }
.ex-role { margin: 0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; color: #cbd5e1; max-width: 46ch; }
.ex-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ex-alt[hidden] { display: none; }
.ex-note { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: #e2e8f0; max-width: 46ch; }
.ex-note::before { content: 'אפשר גם אחרת: '; font-weight: 800; color: #6ee7b7; }
.ex-alts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ex-alts li { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 6px 12px 6px 6px; font-size: 13px; font-weight: 700; color: #e2e8f0; }
.ex-alts img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.ex-nav { position: absolute; left: 14px; top: 50%; translate: 0 -50%; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ex-nav button { width: 26px; height: 26px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.ex-nav button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: transform .2s, background .2s; }
.ex-nav button[aria-current="step"]::before { background: #7dd3fc; transform: scale(1.6); }
.ex-nav button:focus-visible { outline: 2px solid #22d3ee; border-radius: 50%; }
.ex-hint { position: absolute; bottom: 14px; left: 50%; translate: -50% 0; font-size: 13px; font-weight: 700; color: #cbd5e1; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); padding: 6px 14px; border-radius: 999px; pointer-events: none; animation: ex-bob 1.6s ease-in-out infinite; }
@keyframes ex-bob { 50% { translate: -50% 5px; } }
.in-sub { margin: -8px 0 14px; color: var(--in-ink-2); }
.in-buy .btn-ghost { border: 1px solid var(--in-line); border-radius: 12px; padding: 12px 18px; text-decoration: none; color: inherit; font-weight: 700; }

@media (max-width: 900px) {
  .ex.is-live .ex-sticky { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 14px 16px; }
  .ex-stage { border-radius: 18px; max-height: 44svh; width: auto; max-width: 100%; }
  .ex-count { margin-bottom: 6px; }
  .ex-v { font-size: 20px; margin: 8px 0 6px; }
  .ex-role { font-size: 14.5px; line-height: 1.5; }
  .ex-alt { margin-top: 12px; padding-top: 10px; }
  .ex-note { font-size: 13.5px; margin-bottom: 8px; }
  .ex-alts li { font-size: 12px; padding: 4px 9px 4px 4px; }
  .ex-alts img { width: 34px; height: 34px; }
  .ex-alts li:nth-child(n+3) { display: none; }
  .ex-nav { left: 4px; top: 22svh; }
  .ex-hint { bottom: 8px; }
  .ex-list li { grid-template-columns: 84px minmax(0, 1fr); }
  .ex-list img { width: 84px; height: 84px; }
}

/* tour pages: the part photo sits on a clean white tile inside the dark panel */
.in-tour .in-pimg { background: #fff; }
@media (max-width: 900px) {
  .ex-stage { max-height: 38svh; }
  .ex-count { display: none; }
  .ex-v { font-size: 18.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ex-role { font-size: 14px; }
  .ex-note { font-size: 13px; line-height: 1.45; }
  .ex-hint { display: none; }
}

/* ───────── Light, clean "inside" pages (Ben prefers classic white; dark stays for dark mode) ───────── */
body:not(.dark-theme) .in-tour { background: linear-gradient(180deg, #ffffff 0%, #f3f7fd 100%); border: 1px solid #e2e8f0; box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .35); color: #0f172a;
  --in-ink: #0f172a; --in-ink-2: #475569; --in-line: #e2e8f0; --in-card: #fff; --in-soft: #f1f6fd; --in-brand: #0b63ce; }
body:not(.dark-theme) .in-tour::before { opacity: .08; }
body:not(.dark-theme) .in-tour .in-stage { box-shadow: 0 0 0 1px #e2e8f0, 0 24px 50px -30px rgba(15, 23, 42, .5); }
body:not(.dark-theme) .in-tour .in-k { background: #e8f1fd; }
body:not(.dark-theme) .in-tour .in-chips button { background: #fff; color: #475569; border-color: #dbe3ee; }
body:not(.dark-theme) .in-tour .in-chips button:hover { background: #f1f5f9; color: #0f172a; }
body:not(.dark-theme) .in-tour .in-chips button[aria-current="step"] { background: #0b63ce; border-color: #0b63ce; color: #fff; }
body:not(.dark-theme) .in-tour .in-pimg { background: #f6f8fb; }

body:not(.dark-theme) .ex.is-live .ex-sticky { background: linear-gradient(180deg, #eef5ff 0%, #ffffff 70%); color: #0f172a; }
body:not(.dark-theme) .ex-sticky::before { opacity: .08; }
body:not(.dark-theme) .ex-stage { box-shadow: 0 0 0 1px #e2e8f0, 0 30px 60px -34px rgba(15, 23, 42, .5); }
body:not(.dark-theme) .ex-dim { background: #f3f6fb; }
body:not(.dark-theme) .ex-part { background: #fff; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .45), 0 0 0 1px #e2e8f0; }
body:not(.dark-theme) .ex-ring { border-color: #0b63ce; box-shadow: 0 0 0 4px rgba(11, 99, 206, .18), 0 0 22px rgba(11, 99, 206, .45); }
body:not(.dark-theme) .ex-count { color: #556274; }
body:not(.dark-theme) .ex-k { color: #0b63ce; background: #e8f1fd; }
body:not(.dark-theme) .ex-role { color: #475569; }
body:not(.dark-theme) .ex-alt { border-top-color: #e2e8f0; }
body:not(.dark-theme) .ex-note { color: #334155; }
body:not(.dark-theme) .ex-note::before { color: #047857; }
body:not(.dark-theme) .ex-alts li { background: #fff; border-color: #e2e8f0; color: #334155; }
body:not(.dark-theme) .ex-alts img { background: #f6f8fb; }
body:not(.dark-theme) .ex-nav button::before { background: #cbd5e1; }
body:not(.dark-theme) .ex-nav button[aria-current="step"]::before { background: #0b63ce; }
body:not(.dark-theme) .ex-hint { color: #475569; background: #fff; border-color: #e2e8f0; }

/* ---------- performance (15/11/2026) ----------
   Frosted-glass blur behind bars, badges and boxes was redrawn on every scroll frame. On computers without
   graphics acceleration and on weaker phones that made the whole site scroll at a low frame rate, and the
   bars were nearly opaque anyway, so they get a solid background instead. */
*, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.v2-badge { background: rgba(15, 23, 42, .92) !important; }
.mobile-bar { background: rgba(15, 17, 23, .96) !important; }
.hv3-tag { background: rgba(8, 15, 30, .9) !important; }
.store-info .faq { background: #fff !important; }
.card.c3 .card-tier-text { background: rgba(255, 255, 255, .96) !important; }
/* the soft colour glow on the desktops tile stays, but no longer spins (a 60px blur redrawn every frame) */
body.v2 .v2-bento .bt-glow { animation: none !important; }
/* the WhatsApp button pulses a few times to be noticed, then rests (it was redrawn every frame forever) */
.whatsapp-float-btn { animation-iteration-count: 3 !important; }
/* the photo list the turning gallery reads from is never shown: kept out of the layout so its photos
   (full size) aren't downloaded; the gallery shows small copies */
.g3d-source[hidden] { display: none !important; }
