:root {
  color-scheme: dark;
  --bg: #0e0f16;
  --surface: #161822;
  --line: #272d3a;
  --ink: #e8eaef;
  --heading: #f3e1bb;
  --muted: #a4acb9;
  --accent: #c2aa7c;
  --accent-hover: #d5bf93;
  --foil-gold: #e8ac51;
  --screen-blue: #183746;
  --serif: Fraunces, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; }
body { margin: 0; font: 400 15px/1.65 var(--sans); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--heading); text-decoration: none; }
a:hover { color: var(--ink); }
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:enabled { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.tp-wrap { width: min(1340px, calc(100% - 64px)); margin-inline: auto; }

/* Header — 72px quiet obsidian bar with 1px hairline */
.tp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 19, 27, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.tp-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  font: 500 25px/1 var(--serif);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.tp-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
}
.tp-brand-mark img { width: 100%; height: 100%; }
.tp-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.tp-nav-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 160ms ease;
  white-space: nowrap;
}
.tp-nav-link:hover { color: var(--heading); }
.tp-header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}
.tp-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--heading) 48%, transparent);
  border-radius: 6px;
  color: var(--heading);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 160ms ease, background 160ms ease;
}
.tp-nav-cta:hover {
  border-color: var(--heading);
  background: rgba(194, 170, 124, 0.1);
}

/* Shared Buttons — 2% champagne-gold primary + 1px hairline ghost */
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 140ms ease;
}
.tp-btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.tp-btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--bg);
}
.tp-btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: color-mix(in srgb, var(--heading) 42%, transparent);
}
.tp-btn-ghost:hover {
  border-color: var(--heading);
  background: color-mix(in srgb, var(--heading) 6%, transparent);
  color: var(--ink);
}
.tp-btn-wide { width: 100%; max-width: 360px; }
.tp-btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.tp-btn:disabled { opacity: 0.55; cursor: wait; }

.tp-text-link {
  border: 0;
  background: transparent;
  padding: 6px 0;
  color: var(--heading);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tp-text-link:hover { color: var(--ink); }

.tp-eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tp-muted { color: var(--muted); }
.tp-muted-sm { margin: 8px 0 0; color: var(--muted); font-size: 12px; }

/* Full-Bleed Hero Stage (0% - 39% of Concept A1) */
.tp-hero-fullbleed {
  width: 100%;
  background: var(--bg);
}
.tp-stage-shell { width: 100%; }

.tp-stage {
  --tear: 0%;
  --shift: 0%;
  --rise: 0px;
  --curl: 0deg;
  --fold: 0deg;
  --flex: 0deg;
  --roll: -7deg;
  --foil-x: 42%;
  --glow: 0;
  --anchor: 50%;
  --stage-h: clamp(460px, 43.8vw, 624px);
  --card-size: clamp(168px, 16.5vw, 238px);
  --pack-size: calc(var(--card-size) * 1.07);
  --object-y: calc(var(--stage-h) * 0.44);
  --crimp-height: 6.5%;
  --crimp-cut: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  --pack-period: 8.6s;
  --card-settle: 5.25s;
  --discarded-packet: translate(-49%, 48%) rotate(-16deg) scale(0.48);
  --shadow-x: 0px;
  --shadow-width: 0.98;
  --shadow-depth: 0.78;
  --shadow-opacity: 0.83;
  --scene-image: var(--tp-default-scene, none);
  --scene-position: 50% 56%;
  --scene-surface: var(--bg);
  --scene-aura: color-mix(in srgb, var(--muted) 24%, transparent);
  --scene-aura-outer: color-mix(in srgb, var(--muted) 9%, transparent);
  --card-back: var(--tp-default-back, none);
  --card-base: var(--surface);
  --metal-edge-dark: var(--line);
  --metal-edge-light: var(--heading);
  --metal-glint: color-mix(in srgb, var(--heading) 90%, transparent);
  --pack-front: var(--tp-default-pack, none);
  --pack-base: var(--surface);
  --foil-dark: var(--bg);
  --foil-light: var(--muted);
  --foil-lettering: var(--heading);
  --tear-core: var(--heading);
  --tear-inner: var(--accent);
  --tear-halo: color-mix(in srgb, var(--accent) 42%, transparent);
  --tear-flash: color-mix(in srgb, var(--heading) 53%, transparent);
  --tear-flash-halo: color-mix(in srgb, var(--accent) 25%, transparent);
  --fragment-light: var(--ink);
  --fragment-dark: var(--line);
  --flash-power: 0.65;
  position: relative;
  width: 100%;
  height: var(--stage-h);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--scene-image) var(--scene-position) / cover no-repeat var(--scene-surface);
  border-bottom: 1px solid var(--line);
}
@scope (:root) to (.tp-v17) {
.tp-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at var(--anchor) 31%, var(--tear-flash) 0%, var(--tear-flash-halo) 22%, transparent 52%);
  opacity: 0;
  pointer-events: none;
}
.tp-stage[data-phase="opening"]::after { animation: illuminate 0.8s ease-out both; }
@keyframes illuminate {
  0% { opacity: calc(var(--flash-power) * 0.21); }
  16% { opacity: var(--flash-power); }
  100% { opacity: 0; }
}

}

.tp-tool-stage-wrap .tp-stage {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: clamp(460px, 60vh, 580px);
}

/* Minimal corner HUD — zero boxy pills */
.tp-stage-hud {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  pointer-events: none;
}
.tp-stage-hud > * { pointer-events: auto; }

.tp-hud-status {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.tp-hud-status a { color: var(--ink); }
.tp-hud-status a:hover { color: var(--heading); }
.tp-hud-sep { color: var(--line); }

.tp-stage-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.tp-stage-hint {
  margin: 0;
  color: var(--ink);
  font: italic 400 18px/1.4 var(--serif);
  letter-spacing: 0.01em;
}
.tp-stage-next {
  pointer-events: auto;
  padding: 6px 16px;
  border: 1px solid color-mix(in srgb, var(--heading) 45%, transparent);
  border-radius: 5px;
  background: rgba(14, 15, 22, 0.78);
  color: var(--heading);
  font-size: 13px;
  font-weight: 600;
}
.tp-stage-next:hover { border-color: var(--heading); background: rgba(14, 15, 22, 0.95); }

/* Verbatim GPT v17 Stage, Ground Shadow, Packet, Foil Chips & 3D Beveled Card */
@scope (:root) to (.tp-v17) {
.float-light {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 34% 69% at var(--anchor) 44%, var(--scene-aura), var(--scene-aura-outer) 44%, transparent 71%);
  pointer-events: none;
}

.float-ground {
  position: absolute;
  left: var(--anchor);
  bottom: 11%;
  width: min(70%, calc(var(--pack-size) * 1.55));
  height: clamp(26px, 6dvh, 52px);
  z-index: 1;
  translate: -50% 0;
  background: radial-gradient(ellipse, var(--scene-aura) 0%, var(--scene-aura-outer) 32%, transparent 69%);
  pointer-events: none;
}
.float-ground::before {
  content: "";
  position: absolute;
  inset: 17% 17%;
  background: radial-gradient(ellipse, rgba(6, 7, 11, 0.92) 6%, rgba(10, 12, 18, 0.68) 40%, transparent 74%);
  transform: translateX(var(--shadow-x, 0px)) scale(var(--shadow-width, 0.98), var(--shadow-depth, 0.78));
  opacity: var(--shadow-opacity, 0.85);
}
.tp-stage[data-phase="revealed"] .float-ground::before {
  --shadow-x: 4px;
  --shadow-width: 0.97;
  --shadow-depth: 0.78;
  --shadow-opacity: 0.82;
  animation: card-shadow var(--card-settle) ease-in-out both;
}
@keyframes card-shadow {
  0% { transform: translateX(0px) scale(0.98, 0.78); opacity: 0.82; }
  30% { transform: translateX(14px) scale(1.17, 0.91); opacity: 0.65; }
  64% { transform: translateX(-9px) scale(0.89, 0.69); opacity: 0.91; }
  100% { transform: translateX(4px) scale(0.97, 0.78); opacity: 0.82; }
}

.tear-chips { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.tear-chips i {
  position: absolute;
  left: var(--origin-x);
  top: var(--origin-y);
  width: var(--size);
  height: calc(var(--size) * 0.72);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.85));
  animation: shed-foil var(--life) cubic-bezier(0.23, 0.67, 0.51, 1) both;
}
.tear-chips i::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(88deg, color-mix(in srgb, var(--fragment-light) 12%, transparent) 0 1px, transparent 1px 3px),
    linear-gradient(139deg, var(--fragment-dark) 2%, color-mix(in srgb, var(--fragment-dark) 54%, var(--fragment-light)) 26%, var(--fragment-light) 48%, var(--fragment-dark) 67%, color-mix(in srgb, var(--fragment-light) 73%, var(--fragment-dark)) 96%);
  clip-path: polygon(2% 25%, 24% 15%, 43% 20%, 72% 1%, 99% 27%, 77% 52%, 88% 70%, 56% 99%, 36% 72%, 8% 85%);
}
.tear-chips .foil-ribbon { height: calc(var(--size) * 0.53); }
.tear-chips .foil-ribbon::before {
  background:
    repeating-linear-gradient(85deg, color-mix(in srgb, var(--fragment-light) 25%, transparent) 0 1px, transparent 1px 3px),
    linear-gradient(17deg, var(--fragment-dark) 5%, color-mix(in srgb, var(--fragment-dark) 70%, var(--fragment-light)) 41%, var(--fragment-light) 57%, color-mix(in srgb, var(--fragment-light) 61%, var(--fragment-dark)) 92%);
  clip-path: polygon(0 29%, 24% 13%, 56% 22%, 99% 0, 87% 43%, 100% 63%, 65% 64%, 38% 98%, 25% 76%, 2% 83%);
}
@keyframes shed-foil {
  0% { opacity: 1; transform: translate(0, 0) rotate(var(--spin)) scale(0.82); }
  26% { opacity: 1; transform: translate(calc(var(--drift) * 0.51), calc(var(--lift) * 0.66)) rotate(calc(var(--spin) + 55deg)) scale(1.12, 0.92); }
  57% { opacity: 1; transform: translate(calc(var(--drift) * 0.81), var(--lift)) rotate(calc(var(--spin) + 107deg)) scale(0.9, 0.65); }
  82% { opacity: 0.83; }
  100% { opacity: 0; transform: translate(var(--drift), calc(var(--lift) * 0.5 + 27px)) rotate(calc(var(--spin) + 186deg)) scale(0.7, 0.83); }
}

.packet {
  position: absolute;
  z-index: 2;
  left: calc(var(--anchor) - var(--pack-size) / 2);
  top: calc(var(--object-y) - var(--pack-size) * 0.9);
  width: var(--pack-size);
  aspect-ratio: 5 / 9;
  display: grid;
  place-items: center;
  user-select: none;
  -webkit-user-select: none;
  perspective: 720px;
  transform: perspective(800px) translate(-6px, 4px) rotate(var(--roll)) rotateY(var(--flex));
  transition: transform 0.38s cubic-bezier(0.16, 1.42, 0.4, 1), opacity 0.45s;
}
.tp-stage:is([data-phase="sealed"], [data-phase="pulling"], [data-phase="auto-pull"], [data-phase="finishing"], [data-phase="rewinding"]) > .packet {
  transform: perspective(800px) translate(-4px, 4px) rotate(calc(var(--roll) + 15deg)) rotateY(var(--flex));
  transition: none;
}
.tp-stage[data-phase="opening"] > .packet { z-index: 3; }
.tp-stage:is([data-phase="flipping"], [data-phase="revealed"]) > .packet {
  transform: var(--discarded-packet);
  opacity: 0.33;
  pointer-events: none;
}
.tp-stage[data-phase="suspended"] > .packet {
  transform: var(--discarded-packet);
  opacity: 0;
  pointer-events: none;
}

.foil-render {
  position: absolute;
  inset: -33% -55% -33%;
  width: 210%;
  height: 166%;
  max-width: none;
  max-height: none;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}
.packet[data-rendered="true"] .foil-render { opacity: 1; }
.packet[data-rendered="true"] :is(.packet-body, .seal-fixed, .seal-loose, .seal-tail) { visibility: hidden; }

.packet-body {
  position: absolute;
  inset: var(--crimp-height) 0;
  background: var(--pack-front) center / cover no-repeat var(--pack-base);
  border-radius: 2px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14%;
}
.pack-legend { text-align: center; color: var(--foil-lettering); pointer-events: none; }
.pack-legend-title { display: block; font: 500 22px/1.1 var(--serif); }
.pack-legend-detail { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.2em; }

.seal-foil {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--crimp-height);
  background: repeating-linear-gradient(90deg, var(--foil-dark) 0 3px, var(--foil-light) 3px 6px);
  clip-path: var(--crimp-cut);
}
.seal-fixed { top: 0; }
.seal-tail { bottom: 0; transform: scaleY(-1); }
.seal-flight { position: absolute; left: 0; right: 0; top: 0; height: var(--crimp-height); pointer-events: none; }

.seam-light {
  position: absolute;
  z-index: 3;
  left: var(--mouth-left, 1.6%);
  top: var(--mouth-top, var(--crimp-height));
  width: var(--mouth-span, 0px);
  height: 30%;
  transform-origin: left bottom;
  transform: translateY(-100%) rotate(var(--mouth-slope, 0rad));
  opacity: var(--glow);
  background: radial-gradient(ellipse at 53% 100%, var(--tear-core) 0%, var(--tear-inner) 11%, var(--tear-halo) 31%, transparent 74%);
  filter: blur(7px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.pack-control {
  position: absolute;
  inset: 0 0 -5px;
  border: 0;
  background: transparent;
  z-index: 7;
  touch-action: none;
}
.seal {
  position: absolute;
  inset: -17px auto auto -20px;
  height: 22%;
  width: calc(42% + 20px);
  border: 0;
  background: transparent;
  z-index: 8;
  cursor: grab;
  touch-action: none;
}
.packet[data-rendered="true"] .seal { translate: var(--seam-shift, 0 0); }
.packet[data-rendered="true"] .pack-control { translate: var(--pack-shift, 0 0); }
.seal:active { cursor: grabbing; }

}

.tp-draw-badge {
  position: absolute;
  left: calc(var(--anchor) + var(--pack-size) * 0.44);
  top: 22%;
  z-index: 11;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--muted) 45%, transparent);
  border-radius: 999px;
  background: rgba(14, 15, 22, 0.85);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

/* Verbatim GPT v17 3D Beveled Card, Metallic Edge Planes & Animated Bezel Reflection */
@scope (:root) to (.tp-v17) {
.card {
  --card-rest: translate3d(0, -6px, 11px) rotateX(-4deg) rotateY(-11deg) rotateZ(-0.8deg);
  position: absolute;
  left: calc(var(--anchor) - var(--card-size) / 2);
  top: calc(var(--object-y) - var(--card-size) * 0.86);
  width: var(--card-size);
  aspect-ratio: 5 / 8.6;
  z-index: 3;
  border-radius: 10px;
  perspective: 560px;
  visibility: hidden;
  pointer-events: none;
}
.tp-stage:is([data-phase="opening"], [data-phase="separating"], [data-phase="flipping"], [data-phase="revealed"], [data-phase="suspended"]) > .card {
  visibility: visible;
  pointer-events: auto;
}
.tp-stage[data-phase="opening"] > .card { z-index: 2; }
.card-float, .card-turn {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-style: preserve-3d;
}
.tp-stage[data-phase="suspended"] .card-float {
  animation: tp-hover 4.6s ease-in-out infinite;
}
.tp-stage[data-phase="revealed"] .card-float {
  transform: var(--card-rest);
  animation: settle-card var(--card-settle) ease-in-out both;
}
@keyframes tp-hover {
  0%, 100% { transform: translateY(0px) rotateY(-8deg) rotateX(2deg); }
  50% { transform: translateY(-10px) rotateY(8deg) rotateX(-2deg); }
}
@keyframes settle-card {
  0% { transform: none; }
  30% { transform: translate3d(11px, -17px, 30px) rotateX(-10deg) rotateY(-24deg) rotateZ(-3deg); }
  64% { transform: translate3d(-8px, 5px, -10px) rotateX(8deg) rotateY(17deg) rotateZ(2deg); }
  100% { transform: var(--card-rest); }
}
.tp-stage[data-phase="revealed"] .card-turn { transform: rotateY(180deg); }
.tp-stage[data-reversed="true"] .card-art { transform: rotate(180deg); }

.card-edge {
  position: absolute;
  background:
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--metal-edge-dark) 40%, transparent) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, var(--metal-edge-dark), color-mix(in srgb, var(--metal-edge-dark) 64%, var(--metal-edge-light)) 18%, var(--metal-edge-light) 47%, var(--metal-edge-dark) 69%, var(--metal-edge-light) 91%);
  pointer-events: none;
}
.card-edge-left, .card-edge-right { inset-block: 4px; width: 7px; transform: rotateY(90deg); }
.card-edge-left { left: -3.5px; }
.card-edge-right { right: -3.5px; }
.card-edge-top, .card-edge-bottom {
  inset-inline: 4px;
  height: 7px;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--metal-edge-dark) 40%, transparent) 0 1px, transparent 1px 3px),
    linear-gradient(0deg, var(--metal-edge-dark), color-mix(in srgb, var(--metal-edge-dark) 56%, var(--metal-edge-light)) 18%, var(--metal-edge-light) 47%, var(--metal-edge-dark) 69%, var(--metal-edge-light) 91%);
  transform: rotateX(90deg);
}
.card-edge-top { top: -3.5px; }
.card-edge-bottom { bottom: -3.5px; }

.card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  backface-visibility: hidden;
  box-shadow: 0 9px 56px color-mix(in srgb, var(--accent) 26%, transparent), 12px 22px 26px rgba(6, 7, 11, 0.72);
}
.card-back {
  transform: translateZ(3.5px);
  border: 2px solid color-mix(in srgb, var(--metal-edge-light) 65%, transparent);
  background: var(--card-back) center / cover no-repeat var(--card-base);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 12px;
}
.card-front {
  transform: rotateY(180deg) translateZ(3.5px);
  overflow: hidden;
  isolation: isolate;
  background: var(--card-base);
  box-shadow: 0 0 1px 1px var(--metal-glint), 0 0 24px var(--scene-aura-outer), 12px 22px 26px rgba(6, 7, 11, 0.72);
}
.card-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.card-front::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 2;
  padding: 6% 5.5%;
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-clip: content-box, border-box;
  mask-composite: exclude;
  background: linear-gradient(117deg, transparent 27%, var(--scene-aura) 40%, var(--metal-glint) 49%, var(--scene-aura) 53%, transparent 66%) 103% 50% / 270% 100%;
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
}
.card[data-metal-cut="true"] .card-front::after {
  padding: 0;
  mask: var(--cut-metal) center / 100% 100% no-repeat;
  mask-mode: alpha;
}
.tp-stage[data-phase="revealed"] .card-front::after {
  background-position: 61% 50%;
  opacity: 0.48;
  animation: card-reflection var(--card-settle) ease-in-out both;
}
@keyframes card-reflection {
  0% { background-position: 103% 50%; opacity: 0.25; }
  30% { background-position: 48% 50%; opacity: 0.9; }
  64% { background-position: 82% 50%; opacity: 0.63; }
  100% { background-position: 61% 50%; opacity: 0.48; }
}

}

/* Reveal Ownership: Stage owns the only large card front once opening starts */
.tp-stage-shell:has([data-stage]:is([data-phase="opening"], [data-phase="separating"], [data-phase="flipping"], [data-phase="revealed"], [data-phase="suspended"])) .tp-specimen-only {
  display: none;
}
.tp-stage-shell:has([data-stage]:is([data-phase="opening"], [data-phase="separating"], [data-phase="flipping"], [data-phase="revealed"], [data-phase="suspended"])) .tp-showcase-left {
  grid-template-columns: 1fr;
}

.tp-suspend-badge {
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--heading) 46%, transparent);
  border-radius: 999px;
  background: rgba(14, 15, 22, 0.88);
  color: var(--heading);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

/* Empty x0 Refill Band */
.tp-empty-band {
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  background: var(--surface);
}
.tp-empty-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.tp-empty-inner > div:first-child { max-width: 60ch; }
.tp-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 40% - 67% Borderless Two-Column Editorial Reveal & Dual-Use Showcase (Matches Concept A1 1:1) */
.tp-showcase-band {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.tp-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.tp-showcase-left {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.tp-showcase-card-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.65);
}
.tp-showcase-fallback {
  width: 100%;
  height: auto;
  display: block;
}
.tp-showcase-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.tp-meta-line {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tp-card-title {
  margin: 0 0 14px;
  color: var(--heading);
  font: 500 clamp(38px, 3.6vw, 50px)/1.05 var(--serif);
  letter-spacing: -0.02em;
}
.tp-oneliner {
  margin: 0 0 16px;
  color: var(--ink);
  font: italic 400 22px/1.4 var(--serif);
}
.tp-meaning-copy {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 34ch;
}
.tp-serial-note {
  margin: -14px 0 20px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tp-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tp-post-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.tp-drop-note {
  color: var(--accent);
  font-size: 14px;
}
.tp-drop-note a { text-decoration: underline; text-underline-offset: 3px; }

.tp-showcase-right {
  border-left: 1px solid var(--line);
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tp-dual-visuals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.tp-floating-back {
  position: relative;
  display: block;
  width: 224px;
  padding: 0;
  border: 1.5px solid color-mix(in srgb, var(--heading) 68%, transparent);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transform: perspective(820px) rotateY(-13deg) rotateZ(-2.5deg);
  box-shadow:
    -14px 24px 48px rgba(0, 0, 0, 0.8),
    -6px -6px 26px color-mix(in srgb, var(--heading) 24%, transparent);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.tp-floating-back:hover {
  transform: perspective(820px) rotateY(-7deg) rotateZ(-1deg) translateY(-4px);
  box-shadow:
    -10px 28px 52px rgba(0, 0, 0, 0.85),
    -4px -4px 32px color-mix(in srgb, var(--heading) 38%, transparent);
}
.tp-floating-back img { width: 100%; height: auto; filter: brightness(1.38) contrast(1.12); }

.tp-phone-mock {
  width: 192px;
  aspect-ratio: 9 / 17.5;
  padding: 6px;
  border-radius: 28px;
  border: 2px solid color-mix(in srgb, var(--heading) 46%, transparent);
  background: var(--bg);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.75);
}
.tp-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
}
.tp-phone-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.tp-phone-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px 32px;
  background: linear-gradient(180deg, rgba(14, 15, 22, 0.84) 0%, rgba(14, 15, 22, 0.42) 60%, transparent 100%);
}
.tp-phone-time {
  color: var(--heading);
  font: 500 34px/1 var(--serif);
  letter-spacing: -0.02em;
}
.tp-phone-sub {
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.tp-sealed-caption-btn {
  margin: 26px 0 0;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: italic 400 18px/1.4 var(--serif);
  transition: color 160ms ease;
}
.tp-sealed-caption-btn:hover { color: var(--heading); }

/* Inline Borderless Drawers (Ask This Card / Seal for Friend) */
.tp-inline-drawer {
  width: 100%;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.tp-drawer-lead { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.tp-drawer-lead strong { color: var(--heading); font-weight: 600; }

.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tp-chip-btn {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.tp-chip-btn[aria-pressed="true"], .tp-chip-btn:hover {
  border-color: var(--accent);
  color: var(--heading);
  background: rgba(194, 170, 124, 0.1);
}

.tp-input-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tp-input, .tp-select {
  flex: 1 1 180px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
}
.tp-input::placeholder { color: var(--muted); }
.tp-actions-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.tp-hidden-preview, .tp-seal-result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tp-blur-block {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  font-size: 14px;
  user-select: none;
}
.tp-code-box {
  margin: 8px 0 12px;
  padding: 10px 14px;
  border: 1px dashed color-mix(in srgb, var(--heading) 42%, transparent);
  border-radius: 6px;
  color: var(--heading);
  font: 600 18px/1.2 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.16em;
  text-align: center;
}

/* 68% - 88% Below-the-Fold Editorial Index & 1909 Samples (Matches Concept A1 1:1) */
.tp-editorial-index {
  padding: 56px 0 36px;
}
.tp-index-head {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 32px;
}
.tp-h1 {
  margin: 0 0 16px;
  color: var(--heading);
  font: 500 clamp(32px, 3.8vw, 52px)/1.1 var(--serif);
  letter-spacing: -0.02em;
}
.tp-h2 {
  margin: 0 0 14px;
  color: var(--heading);
  font: 500 clamp(26px, 2.6vw, 34px)/1.18 var(--serif);
  letter-spacing: -0.02em;
}
.tp-lead {
  margin: 0 auto;
  max-width: 58ch;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

.tp-metrics-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0 auto 48px;
  flex-wrap: wrap;
}
.tp-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 44px;
}
.tp-metric + .tp-metric { border-left: 1px solid var(--line); }
.tp-metric-num {
  color: var(--heading);
  font: 500 38px/1 var(--serif);
}
.tp-metric-label {
  color: var(--ink);
  font-size: 18px;
}

/* Borderless 3-column horizontal 1909 sample strip */
.tp-samples-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-bottom: 48px;
}
.tp-sample-item {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.tp-sample-frame {
  display: block;
  padding: 3px;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  background: var(--bg);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.58);
  transition: transform 180ms ease, border-color 180ms ease;
}
.tp-sample-frame:hover { transform: translateY(-2px); border-color: var(--heading); }
.tp-sample-img { width: 100%; border-radius: 6px; }
.tp-sample-title {
  margin: 6px 0 12px;
  font: 500 28px/1.15 var(--serif);
}
.tp-sample-title a { color: var(--heading); }
.tp-sample-desc {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

/* Horizontal Hairline Directory Bar */
.tp-dir-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tp-dir-bar a {
  flex: 1 1 auto;
  text-align: center;
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  padding: 4px 14px;
}
.tp-dir-bar a + a { border-left: 1px solid var(--line); }
.tp-dir-bar a:hover { color: var(--heading); }

/* 89% - 100% Minimalist Hairline FAQ */
.tp-faq-section { padding: 8px 0 48px; }
.tp-faq-list { border-bottom: 1px solid var(--line); }
.tp-faq-item { border-top: 1px solid var(--line); }
.tp-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
}
.tp-faq-item summary::-webkit-details-marker { display: none; }
.tp-faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 160ms ease, border-color 160ms ease;
  margin-right: 4px;
}
.tp-faq-item[open] summary::after { transform: rotate(-135deg); border-color: var(--heading); }
.tp-faq-item p {
  margin: 0 0 24px;
  max-width: 78ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Editorial Prose Guide (Below FAQ so page stays super clean) */
.tp-guide-section {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
}
.tp-prose { max-width: 78ch; }
.tp-prose h2 { margin: 32px 0 12px; color: var(--heading); font: 500 24px/1.25 var(--serif); }
.tp-prose h2:first-child { margin-top: 0; }
.tp-prose h3 { margin: 22px 0 8px; color: var(--heading); font: 500 18px/1.3 var(--serif); }
.tp-prose p, .tp-prose li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.tp-prose strong { color: var(--ink); font-weight: 600; }
.tp-prose a { color: var(--heading); text-decoration: underline; text-underline-offset: 3px; }
.tp-prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.tp-prose th, .tp-prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.tp-prose th { color: var(--heading); font-weight: 600; }
.tp-prose td { color: var(--muted); }

/* Subpage Tool Headers & Shared Interactive Components (Spreads, Cards, Binder, Yes/No, Reveal, Code) */
.tp-tool-head { padding: 48px 0 28px; border-bottom: 1px solid var(--line); }
.tp-tool-head-inner { max-width: 72ch; }
.tp-tool-stage-wrap { padding: 36px 0 52px; }

.tp-reveal-panel, .tp-tool-card, .tp-flow-box, .tp-binder-card, .tp-skin-card, .tp-spread-box {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.tp-reveal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.tp-rarity-chip {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tp-flow-grid, .tp-empty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 24px;
}
.tp-deck-grid, .tp-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.tp-card-tile {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.tp-card-tile img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(194, 170, 124, 0.45);
  margin-bottom: 10px;
}
.tp-card-tile h3 { margin: 0 0 4px; color: var(--heading); font: 500 16px/1.25 var(--serif); }
.tp-card-tile p { margin: 0; color: var(--muted); font-size: 13px; }
.tp-card-locked img { filter: grayscale(1) brightness(0.35); opacity: 0.55; }

.tp-spread-scroller {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 20px;
}
.tp-spread-map { position: relative; width: min(100%, 820px); aspect-ratio: var(--spread-aspect, 1.8); margin-inline: auto; }
.tp-spread-slot {
  position: absolute;
  left: var(--slot-x);
  top: var(--slot-y);
  width: var(--spread-card-width);
  aspect-ratio: 5 / 8.6;
  transform: translate(-50%, -50%) rotate(var(--slot-turn, 0deg));
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(194, 170, 124, 0.55);
  border-radius: 6px;
  background: var(--surface);
  color: var(--heading);
}
.tp-spread-slot canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.tp-spread-slot.is-active, .tp-spread-slot:hover { outline: 2px solid var(--accent); outline-offset: 2px; }
.tp-verdict-badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Poster Modal */
.tp-poster-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 9, 14, 0.88);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 24px;
}
.tp-poster-dialog {
  max-width: 390px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.tp-poster-dialog img {
  max-height: 76vh;
  width: auto;
  border-radius: 10px;
  border: 1px solid rgba(243, 225, 187, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

/* Footer — Calm 3-column dark obsidian var(--surface) matching Concept A1 */
.tp-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 48px 0 52px;
}
.tp-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}
.tp-footer-col + .tp-footer-col {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}
.tp-footer-logo {
  display: inline-block;
  color: var(--heading);
  font: 500 28px/1 var(--serif);
  margin-bottom: 8px;
}
.tp-footer-domain { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.tp-footer-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 38ch; }
.tp-footer-heading {
  margin: 0 0 12px;
  color: var(--heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.tp-footer-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.tp-footer-inline a { color: var(--muted); font-size: 15px; }
.tp-footer-inline a:hover { color: var(--heading); }
.tp-footer-mail { margin: 14px 0 0; font-size: 13px; }
.tp-footer-mail a { color: var(--muted); }

/* Responsive (Laptop 1100px, Tablet 980px, Mobile 640px) */
@media (max-width: 1220px) {
  .tp-showcase-left { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .tp-floating-back { width: 176px; }
  .tp-phone-mock { width: 154px; }
  .tp-sample-item { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 980px) {
  .tp-nav { display: none; }
  .tp-showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .tp-showcase-right { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 36px; }
  .tp-samples-row { grid-template-columns: 1fr; gap: 28px; }
  .tp-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .tp-footer-col + .tp-footer-col { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; }
}

@media (max-width: 640px) {
  .tp-wrap { width: calc(100% - 32px); }
  .tp-header-inner { min-height: 60px; gap: 10px; }
  .tp-brand { font-size: 19px; gap: 8px; }
  .tp-brand-mark { width: 28px; height: 28px; }
  .tp-header-right { gap: 12px; }
  .tp-nav-link { font-size: 13px; }
  .tp-nav-cta { font-size: 13px; padding: 0 12px; min-height: 34px; }
  .tp-hud-status { font-size: 13px; gap: 8px; }
  .tp-stage { --stage-h: clamp(430px, 57svh, 500px); --card-size: clamp(148px, 40vw, 174px); --object-y: calc(var(--stage-h) * 0.45); }
  .tp-showcase-left { grid-template-columns: 1fr; gap: 22px; }
  .tp-showcase-card-wrap { max-width: 220px; margin-inline: auto; }
  .tp-btn-wide { max-width: 100%; }
  .tp-dual-visuals { gap: 18px; }
  .tp-floating-back { width: 144px; }
  .tp-phone-mock { width: 134px; }
  .tp-metric { padding: 8px 16px; }
  .tp-metric + .tp-metric { border-left: 0; }
  .tp-sample-item { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  .tp-dir-bar a + a { border-left: 0; }
  .tp-flow-grid, .tp-empty-grid { grid-template-columns: 1fr; }
}


.tp-stage-foot > [data-rev-flip] { pointer-events: auto; }

/* Midnight Obsidian homepage. Other page templates retain their shared rules. */
.tp-body:has(.tp-sol-home) {
  --sol-title: var(--heading);
  --sol-paper: var(--ink);
  --sol-rule: var(--line);
  --sol-serif: var(--serif);
  --sol-unit: clamp(1px, .09765625vw, 1.40625px);
  --sol-header-row: calc(43 * var(--sol-unit) + env(safe-area-inset-top, 0px));
  background: radial-gradient(ellipse at 58% 74%, var(--surface) 0%, var(--bg) 62%, var(--bg) 100%);
  color: var(--sol-paper);
  font-family: var(--sans);
}
.tp-body:has(.tp-sol-home) .tp-wrap { width: min(100% - 4.25%, 1340px); max-width: none; }
.tp-body:has(.tp-sol-home) .tp-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: env(safe-area-inset-top, 0px) 0 clamp(28px, 5vw, 72px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 90%, transparent) 0%, color-mix(in srgb, var(--bg) 48%, transparent) 49%, transparent 100%);
  border: 0;
  backdrop-filter: none;
  pointer-events: none;
}
.tp-body:has(.tp-sol-home) .tp-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) max-content minmax(max-content, 1fr);
  min-height: calc(43 * var(--sol-unit));
  width: 97.75%;
  gap: calc(18 * var(--sol-unit));
  padding-inline: calc(10 * var(--sol-unit));
}
.tp-body:has(.tp-sol-home) .tp-header a { pointer-events: auto; }
.tp-body:has(.tp-sol-home) .tp-brand {
  font: 600 calc(20 * var(--sol-unit))/1 var(--sol-serif);
  color: var(--sol-title);
  justify-self: start;
  gap: calc(11 * var(--sol-unit));
}
.tp-body:has(.tp-sol-home) .tp-brand-mark {
  width: calc(29 * var(--sol-unit));
  height: calc(29 * var(--sol-unit));
}
.tp-body:has(.tp-sol-home) .tp-nav { display: flex; gap: calc(27 * var(--sol-unit)); }
.tp-body:has(.tp-sol-home) .tp-header-right { justify-self: end; gap: calc(19 * var(--sol-unit)); }
.tp-body:has(.tp-sol-home) .tp-nav-link {
  color: var(--sol-paper);
  font: 400 calc(15 * var(--sol-unit))/1.2 var(--sans);
}
.tp-body:has(.tp-sol-home) .tp-nav-cta {
  color: var(--sol-paper);
  min-height: calc(29 * var(--sol-unit));
  padding-inline: calc(12 * var(--sol-unit));
  border: 1px solid color-mix(in srgb, var(--heading) 48%, transparent);
  border-radius: 5px;
  font: 500 calc(14 * var(--sol-unit))/1.2 var(--sans);
}

.tp-sol-home { background: transparent; }
.tp-sol-home .tp-showcase-band {
  padding: clamp(32px, 3.8vw, 54px) 0 clamp(28px, 3.2vw, 44px);
  background: radial-gradient(ellipse at 73% 44%, color-mix(in srgb, var(--accent) 8%, var(--surface)) 0%, var(--surface) 38%, var(--bg) 78%);
  border-color: color-mix(in srgb, var(--muted) 36%, var(--line));
}
.tp-body:has(.tp-sol-home) .tp-sol-home .tp-showcase-grid {
  width: min(100% - 6%, 1340px);
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.92fr);
  gap: clamp(20px, 2.4vw, 36px) 0;
}
.tp-sol-home [data-sol-home].tp-stage-shell .tp-showcase-left {
  min-width: 0;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(20px, 2.8vw, 38px);
  padding-right: clamp(20px, 3.5vw, 44px);
  align-items: center;
}
.tp-sol-home .tp-showcase-card-wrap {
  width: 100%;
  max-width: 240px;
  justify-self: start;
  border-radius: 6%;
  box-shadow: 0 10px 34px color-mix(in srgb, var(--bg) 90%, transparent), 0 0 28px color-mix(in srgb, var(--accent) 22%, transparent);
}
.sol-framed {
  display: block;
  position: relative;
  aspect-ratio: 600 / 940;
  border: 0;
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}
.sol-framed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sol-bezel-rim, none) center / 100% 100% no-repeat;
  pointer-events: none;
}
.sol-framed .sol-print { position: absolute; inset: 2.9% 4%; width: 92%; height: 94.2%; object-fit: cover; }
.sol-framed canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.sol-framed[data-print-ready] .sol-print, .sol-framed[data-print-ready]::after { visibility: hidden; }
.sol-framed[data-print-ready] canvas { opacity: 1; }
.tp-sol-home .tp-showcase-copy { padding: 4px 0; min-width: 0; }
.tp-sol-home .tp-meta-line {
  font: 600 12px/1.3 var(--sans);
  margin: 0 0 4px;
  color: var(--heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tp-sol-home .tp-serial-note {
  margin: 0 0 10px;
  color: var(--muted);
  font: 500 12px/1.3 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tp-sol-home .tp-card-title {
  font: 600 clamp(32px, 3.2vw, 46px)/1.02 var(--sol-serif);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: var(--sol-title);
}
.tp-sol-home .tp-oneliner {
  font: italic 400 clamp(17px, 1.65vw, 22px)/1.3 var(--sol-serif);
  color: var(--sol-paper);
  margin: 0 0 10px;
}
.tp-sol-home .tp-meaning-copy {
  margin: 0 0 12px;
  color: color-mix(in srgb, var(--ink) 86%, var(--muted));
  line-height: 1.55;
  font-size: 15px;
  max-width: 44ch;
}
.tp-sol-home .tp-reflection-line {
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  color: var(--muted);
  font: italic 400 14px/1.5 var(--sol-serif);
  max-width: 44ch;
}
.tp-sol-home .tp-lens-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.tp-sol-home .tp-cta-stack { gap: 10px; max-width: 420px; }
.tp-sol-home .tp-cta-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tp-sol-home .tp-btn-wide {
  max-width: none;
  min-height: 44px;
  padding-inline: 14px;
  border-radius: 7px;
  letter-spacing: 0.01em;
  font: 600 14px/1.2 var(--sans);
}
.tp-sol-home .tp-btn-wide.tp-btn-primary {
  background: linear-gradient(110deg, var(--accent), var(--accent-hover));
  color: var(--bg);
  border-color: var(--accent-hover);
  font-weight: 700;
}
.tp-sol-home .tp-btn-wide.tp-btn-ghost {
  color: var(--sol-paper);
  border-color: color-mix(in srgb, var(--heading) 44%, transparent);
}
.tp-sol-home .tp-binder-strip {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  min-height: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  max-width: 420px;
}
.tp-sol-home .tp-binder-link {
  color: var(--heading);
  font: 500 13px/1.3 var(--sans);
  font-variant-numeric: tabular-nums;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tp-sol-home [data-poster-status]:empty { display: none; }
.tp-sol-home .tp-showcase-right {
  width: 100%;
  min-width: 0;
  padding-left: clamp(24px, 3.2vw, 44px);
  padding-bottom: 4px;
  border: 0;
  border-left: 1px solid var(--line);
}
.tp-sol-home .tp-dual-visuals {
  position: relative;
  width: 100%;
  height: auto;
  gap: clamp(18px, 2.5vw, 32px);
  justify-content: center;
  align-items: center;
  padding: 12px 4% 28px;
  background:
    radial-gradient(ellipse 36% 10% at 34% 96%, color-mix(in srgb, var(--bg) 92%, transparent) 18%, color-mix(in srgb, var(--accent) 26%, transparent) 72%, transparent 100%),
    radial-gradient(ellipse 46% 7% at 35% 93%, color-mix(in srgb, var(--accent) 30%, transparent) 16%, transparent 95%);
}
.tp-sol-home .tp-floating-back {
  width: 44%;
  max-width: 196px;
  aspect-ratio: 0.59;
  margin-top: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 78%, transparent);
  border-radius: 5%;
  transform: perspective(550px) rotateY(-21deg) rotateX(7deg) skewX(-9deg) rotateZ(-2deg) scale(.93);
  box-shadow:
    -10px -8px 26px color-mix(in srgb, var(--accent) 48%, transparent),
    -2px -2px 6px color-mix(in srgb, var(--heading) 70%, transparent),
    12px 20px 28px color-mix(in srgb, var(--bg) 88%, transparent);
}
.tp-sol-home .tp-floating-back:hover {
  transform: perspective(550px) rotateY(-16deg) rotateX(7deg) skewX(-9deg) rotateZ(-2deg) scale(.96);
}
.tp-sol-home .tp-floating-back img { width: 100%; height: 100%; object-fit: fill; filter: brightness(1.12) saturate(.93); }
.tp-sol-home .tp-phone-mock {
  width: 34%;
  max-width: 158px;
  margin-top: 0;
  aspect-ratio: 0.485;
  border: 1px solid color-mix(in srgb, var(--heading) 55%, var(--line));
  padding: 4px;
  border-radius: 17% / 8.5%;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--bg) 92%, transparent);
  background: var(--bg);
}
.tp-sol-home .tp-phone-screen { border-radius: 14% / 7%; isolation: isolate; }
.tp-sol-home .tp-phone-screen::after {
  position: absolute;
  content: "";
  z-index: 3;
  top: 1.5%;
  left: 39%;
  width: 22%;
  height: 3.2%;
  border-radius: 20px;
  background: var(--bg);
}
.tp-sol-home .sol-phone-art { position: absolute; inset: 0; aspect-ratio: auto; }
.tp-sol-home .tp-phone-overlay {
  padding: 13% 0 12%;
  background: linear-gradient(color-mix(in srgb, var(--bg) 92%, transparent), color-mix(in srgb, var(--bg) 72%, transparent) 42%, transparent);
}
.tp-sol-home .tp-phone-time { font: 500 calc(24 * var(--sol-unit))/1.05 var(--sol-serif); color: var(--sol-paper); }
.tp-sol-home .tp-phone-sub { font: italic 400 max(12px, calc(12 * var(--sol-unit)))/1.15 var(--sol-serif); margin: 0; }
.tp-sol-home .tp-right-flow-foot {
  margin-top: 14px;
  text-align: center;
  max-width: 36ch;
}
.tp-sol-home .tp-sealed-caption-btn {
  font: italic 500 17px/1.3 var(--sol-serif);
  margin: 0;
  padding: 4px 8px;
  color: var(--heading);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tp-sol-home .tp-right-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.tp-sol-home .tp-side-drawer {
  grid-column: 1 / -1;
  width: min(760px, 100%);
  margin-inline: auto;
}
.tp-sol-home .tp-inline-drawer { margin: 0; }
.tp-sol-home .tp-input { min-width: 0; }
.tp-sol-home .tp-blur-block {
  position: relative;
  overflow: hidden;
}
.tp-sol-home .tp-blur-line {
  margin: 0 0 6px;
  filter: blur(4px);
  opacity: 0.72;
  user-select: none;
}
.tp-sol-home .tp-blur-line:last-child { margin-bottom: 0; }

/* Below-the-Fold Editorial Index & User-Flow Sections (Strictly Left-Aligned Prose, Alternating Layouts) */
.tp-sol-home ~ .tp-editorial-index {
  padding: clamp(36px, 4.5vw, 60px) 0 0;
  background: transparent;
}
.tp-sol-home ~ .tp-editorial-index .tp-index-head {
  text-align: center;
  margin: 0 auto 24px;
}
.tp-sol-home ~ .tp-editorial-index .tp-h1 {
  margin: 0 0 12px;
  font: 600 clamp(30px, 3.4vw, 48px)/1.1 var(--sol-serif);
  color: var(--sol-title);
  letter-spacing: -0.025em;
}
.tp-sol-home ~ .tp-editorial-index .tp-lead {
  max-width: 62ch;
  margin: 0 auto;
  font: 400 clamp(16px, 1.35vw, 18px)/1.55 var(--sans);
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
}
.tp-sol-home ~ .tp-editorial-index .tp-metrics-bar {
  display: flex;
  border: 0;
  justify-content: center;
  margin: 26px auto 36px;
  max-width: none;
}
.tp-sol-home ~ .tp-editorial-index .tp-metric {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 4px clamp(20px, 3vw, 42px);
  border-color: var(--line);
  border-bottom: 0;
}
.tp-sol-home ~ .tp-editorial-index .tp-metric-num {
  color: var(--heading);
  font: 600 clamp(30px, 3vw, 42px)/0.95 var(--sol-serif);
  font-variant-numeric: tabular-nums;
}
.tp-sol-home ~ .tp-editorial-index .tp-metric-label {
  color: var(--sol-paper);
  font: 400 15px/1.25 var(--sans);
}

.tp-intro-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  padding: 28px 0 clamp(36px, 4vw, 52px);
  border-top: 1px solid var(--line);
  text-align: left;
}
.tp-intro-editorial p {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 86%, var(--muted));
  font-size: 15px;
  line-height: 1.72;
}

.tp-band-head {
  margin: 0 0 28px;
  text-align: left;
  max-width: 68ch;
}
.tp-section-title {
  margin: 0 0 10px;
  color: var(--heading);
  font: 600 clamp(24px, 2.5vw, 34px)/1.18 var(--sol-serif);
  letter-spacing: -0.02em;
}
.tp-band-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* 3-Step Hairline Flow */
.tp-steps-band {
  padding: clamp(40px, 4.8vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.tp-steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.tp-step-item {
  padding: 26px 28px 8px 0;
  text-align: left;
}
.tp-step-item + .tp-step-item {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.tp-step-num {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font: 600 28px/1 var(--sol-serif);
  font-variant-numeric: tabular-nums;
}
.tp-step-title {
  margin: 0 0 10px;
  color: var(--heading);
  font: 600 20px/1.25 var(--sol-serif);
}
.tp-step-desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Full Single-Card Reading Specimen: The Star (Upright vs Reversed) */
.tp-sample-spotlight {
  padding: clamp(44px, 5vw, 68px) 0;
  border-top: 1px solid var(--line);
}
.tp-spotlight-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.tp-spotlight-figure { margin: 0; }
.tp-spotlight-figure .tp-sample-frame {
  width: 100%;
  border-radius: 5%;
  box-shadow: 0 14px 36px color-mix(in srgb, var(--bg) 90%, transparent);
}
.tp-spotlight-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.tp-orientation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tp-orientation-col {
  padding: 24px 28px 24px 0;
  text-align: left;
}
.tp-orientation-col + .tp-orientation-col {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  padding-right: 0;
}
.tp-orientation-title {
  margin: 0 0 10px;
  color: var(--heading);
  font: 600 22px/1.2 var(--sol-serif);
}
.tp-orientation-quote {
  margin: 0 0 12px;
  color: var(--ink);
  font: italic 400 17px/1.4 var(--sol-serif);
}
.tp-orientation-copy {
  margin: 0 0 12px;
  color: color-mix(in srgb, var(--ink) 86%, var(--muted));
  font-size: 15px;
  line-height: 1.65;
}
.tp-orientation-cue {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.tp-spotlight-foot {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  text-align: left;
}
.tp-spotlight-prompt {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.tp-spotlight-prompt strong { color: var(--heading); font-weight: 600; }

/* More 1909 Archive Cards */
.tp-gallery-band {
  padding: clamp(40px, 4.8vw, 64px) 0 12px;
  border-top: 1px solid var(--line);
}
.tp-sol-home ~ .tp-editorial-index .tp-samples-row {
  width: 100%;
  margin: 0 auto 36px;
  gap: clamp(20px, 2.4vw, 34px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tp-sol-home ~ .tp-editorial-index .tp-sample-item {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 0;
  border: 0;
}
.tp-sol-home ~ .tp-editorial-index .tp-sample-frame {
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 5%;
  background: var(--surface);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--bg) 88%, transparent);
}
.tp-sol-home ~ .tp-editorial-index .tp-sample-copy { padding: 4px 0 0; text-align: left; }
.tp-sol-home ~ .tp-editorial-index .tp-sample-title {
  font: 600 22px/1.18 var(--sol-serif);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.tp-sol-home ~ .tp-editorial-index .tp-sample-title a { color: var(--sol-title); }
.tp-sol-home ~ .tp-editorial-index .tp-sample-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin: 10px 0;
  background: var(--accent);
}
.tp-sample-quote {
  margin: 0 0 8px;
  color: var(--ink);
  font: italic 400 15px/1.4 var(--sol-serif);
}
.tp-sol-home ~ .tp-editorial-index .tp-sample-desc {
  color: var(--muted);
  font: 400 14px/1.58 var(--sans);
}

.tp-sol-home ~ .tp-editorial-index .tp-dir-bar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  width: 100%;
  margin: 12px 0 0;
  padding: 18px 0;
  gap: 0;
}
.tp-sol-home ~ .tp-editorial-index .tp-dir-bar a {
  flex: 1 0 auto;
  color: var(--sol-paper);
  padding: 4px 12px;
  text-align: center;
  white-space: nowrap;
  font: 400 15px/1.25 var(--sans);
}
.tp-sol-home ~ .tp-editorial-index .tp-dir-bar a + a { border-left: 1px solid var(--line); }

/* Rules & Live Drop Odds Split */
.tp-rules-band {
  padding: clamp(44px, 5vw, 68px) 0;
}
.tp-rules-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.tp-rules-copy { text-align: left; }
.tp-rules-copy p {
  margin: 0 0 16px;
  color: color-mix(in srgb, var(--ink) 86%, var(--muted));
  font-size: 15px;
  line-height: 1.72;
}
.tp-rules-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
}
.tp-rules-table-wrap { overflow-x: auto; }
.tp-odds-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.tp-odds-table caption {
  text-align: left;
  margin-bottom: 12px;
  color: var(--heading);
  font: 600 16px/1.3 var(--sol-serif);
}
.tp-odds-table th,
.tp-odds-table td {
  padding: 13px 12px 13px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.tp-odds-table thead th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}
.tp-odds-table tbody th {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.tp-odds-val {
  color: var(--heading);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tp-odds-table tbody td:last-child { color: var(--muted); }

/* Native <details> FAQ Accordion (Modern Web Guidance progressive enhancement) */
.tp-sol-home ~ .tp-faq-section {
  padding: clamp(36px, 4.5vw, 56px) 0 clamp(44px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: transparent;
}
.tp-faq-head { margin-bottom: 20px; }
.tp-sol-home ~ .tp-faq-section .tp-faq-list { margin: 0; max-width: none; }
.tp-sol-home ~ .tp-faq-section .tp-faq-item { border-color: var(--line); }
.tp-sol-home ~ .tp-faq-section .tp-faq-item summary {
  min-height: 54px;
  padding: 16px 4px;
  color: var(--heading);
  font: 600 17px/1.35 var(--sol-serif);
}
.tp-sol-home ~ .tp-faq-section .tp-faq-item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border: solid var(--accent);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 200ms ease;
}
.tp-sol-home ~ .tp-faq-section .tp-faq-item[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}
.tp-sol-home ~ .tp-faq-section .tp-faq-item p {
  padding: 0 4px 20px;
  margin: 0;
  max-width: 78ch;
  color: color-mix(in srgb, var(--ink) 84%, var(--muted));
  font: 400 15px/1.72 var(--sans);
}
.tp-faq-item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}
.tp-faq-item:not([open])::details-content {
  block-size: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .tp-faq-item::details-content {
    transition: block-size 260ms ease, content-visibility 260ms ease, display 260ms ease;
    transition-behavior: allow-discrete;
  }
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes tp-section-rise {
      from {
        transform: translate3d(0, 18px, 0);
      }
      to {
        transform: translate3d(0, 0, 0);
      }
    }
    .tp-scroll-reveal {
      animation: tp-section-rise auto linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 24%;
    }
  }
}

.tp-body:has(.tp-sol-home) .tp-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 40px 0 48px; }
.tp-body:has(.tp-sol-home) .tp-footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  border-top: 0;
  gap: 32px;
  padding: 0;
}
.tp-body:has(.tp-sol-home) .tp-footer-col {
  min-width: 0;
  border-color: var(--line);
  padding: 0 0 0 32px;
  border-top: 0;
}
.tp-body:has(.tp-sol-home) .tp-footer-brand { padding-left: 0; }
.tp-body:has(.tp-sol-home) .tp-footer-heading,
.tp-body:has(.tp-sol-home) .tp-footer-logo { font-family: var(--sol-serif); color: var(--sol-title); font-weight: 600; }
.tp-body:has(.tp-sol-home) .tp-footer-logo { font-size: 26px; }
.tp-body:has(.tp-sol-home) .tp-footer-heading { margin: 0 0 10px; font-size: 16px; text-transform: none; letter-spacing: 0; }
.tp-body:has(.tp-sol-home) .tp-footer-domain {
  font: 400 14px/1.5 var(--sans);
  margin: 0 0 8px;
  color: var(--muted);
}
.tp-body:has(.tp-sol-home) .tp-footer-inline { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; line-height: 1.5; max-width: none; }
.tp-body:has(.tp-sol-home) .tp-footer-inline a {
  color: var(--sol-paper);
  white-space: nowrap;
  font-size: 14px;
}

@media (max-width: 980px) {
  .tp-body:has(.tp-sol-home) { --sol-header-row: calc(86px + env(safe-area-inset-top, 0px)); }
  .tp-body:has(.tp-sol-home) .tp-header-inner { grid-template-columns: 1fr auto; padding-block: 9px 5px; gap: 7px 14px; }
  .tp-body:has(.tp-sol-home) .tp-header .tp-nav {
    grid-area: 2 / 1 / 3 / -1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px clamp(12px, 3.1vw, 23px);
    padding-block: 6px;
  }
  .tp-body:has(.tp-sol-home) .tp-nav-link { font-size: max(12px, 1.9vw); }
  .tp-body:has(.tp-sol-home) .tp-sol-home .tp-showcase-grid { width: calc(100% - 40px); grid-template-columns: 1fr; }
  .tp-sol-home [data-sol-home].tp-stage-shell .tp-showcase-left { padding-right: 0; }
  .tp-sol-home .tp-showcase-right { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; }
  .tp-sol-home .tp-dual-visuals { height: auto; min-height: 260px; max-width: 460px; }
  .tp-intro-editorial, .tp-steps-grid, .tp-spotlight-grid, .tp-orientation-grid, .tp-rules-grid {
    grid-template-columns: 1fr;
  }
  .tp-step-item, .tp-step-item + .tp-step-item {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }
  .tp-step-item:first-child { border-top: 0; }
  .tp-spotlight-figure { max-width: 220px; }
  .tp-orientation-col, .tp-orientation-col + .tp-orientation-col {
    border-left: 0;
    padding: 20px 0;
  }
  .tp-orientation-col + .tp-orientation-col { border-top: 1px solid var(--line); }
  .tp-sol-home ~ .tp-editorial-index .tp-samples-row { grid-template-columns: 1fr; gap: 24px; }
  .tp-sol-home ~ .tp-editorial-index .tp-dir-bar { justify-content: center; flex-wrap: wrap; gap: 10px 0; }
  .tp-sol-home ~ .tp-editorial-index .tp-dir-bar a { flex: none; font-size: 14px; }
  .tp-body:has(.tp-sol-home) .tp-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .tp-body:has(.tp-sol-home) .tp-footer-col { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .tp-body:has(.tp-sol-home) .tp-footer-brand { border-top: 0; padding-top: 0; }
}
@media (max-width: 650px) {
  .tp-body:has(.tp-sol-home) .tp-wrap,
  .tp-body:has(.tp-sol-home) .tp-sol-home .tp-showcase-grid { width: calc(100% - 32px); }
  .tp-body:has(.tp-sol-home) .tp-header-inner { width: calc(100% - 20px); padding-inline: 5px; }
  .tp-body:has(.tp-sol-home) .tp-brand { gap: 8px; font-size: clamp(18px, 5vw, 22px); }
  .tp-body:has(.tp-sol-home) .tp-header-right { gap: 10px; }
  .tp-body:has(.tp-sol-home) .tp-nav-cta { font-size: 12px; padding: 0 8px; }
  .tp-body:has(.tp-sol-home) .tp-header .tp-nav { column-gap: clamp(7px, 2.7vw, 13px); }
  .tp-sol-home [data-sol-home].tp-stage-shell .tp-showcase-left { grid-template-columns: 1fr; gap: 20px; }
  .tp-sol-home .tp-showcase-card-wrap { max-width: 210px; margin-inline: auto; }
  .tp-sol-home .tp-cta-pair { grid-template-columns: 1fr; }
  .tp-sol-home .tp-dual-visuals {
    max-width: 335px;
    min-height: 230px;
    justify-content: space-around;
    padding: 13px 6% 21px;
  }
  .tp-sol-home .tp-floating-back { width: 44%; }
  .tp-sol-home .tp-phone-mock { width: 34%; margin-top: 2px; }
  .tp-sol-home .tp-sealed-caption-btn { font-size: 15px; }
  .tp-sol-home ~ .tp-editorial-index .tp-metrics-bar { margin: 20px auto 24px; }
  .tp-sol-home ~ .tp-editorial-index .tp-metric { flex: 1; padding: 0 8px; flex-direction: column; align-items: center; gap: 6px; }
  .tp-sol-home ~ .tp-editorial-index .tp-metric-num { font-size: 28px; }
  .tp-sol-home ~ .tp-editorial-index .tp-metric-label { font-size: 12px; text-align: center; }
  .tp-sol-home ~ .tp-editorial-index .tp-sample-item { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  .tp-sol-home ~ .tp-editorial-index .tp-dir-bar a { font-size: 13px; padding-inline: 10px; }
  .tp-sol-home ~ .tp-editorial-index .tp-dir-bar a + a { border-left: 0; }
  .tp-odds-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .tp-odds-table, .tp-odds-table caption, .tp-odds-table tbody { display: block; width: 100%; }
  .tp-odds-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .tp-odds-table tbody tr:first-child { border-top: 1px solid var(--line); }
  .tp-odds-table tbody th, .tp-odds-table tbody td {
    padding: 0;
    border: 0;
    white-space: normal;
  }
  .tp-odds-table tbody td:last-child { grid-column: 1 / -1; }
  .tp-sol-home ~ .tp-faq-section .tp-faq-item summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-sol-home .tp-floating-back { transition: none; }
}
/* Tarot Pack homepage and single-card readings */
:root {
  --tp-v5-rule: color-mix(in srgb, var(--muted) 65%, var(--bg));
  --tp-v5-soft-rule: color-mix(in srgb, var(--muted) 44%, var(--bg));
  --tp-v5-champagne: oklch(from var(--heading) calc(l * .93) calc(c * 1.55) 74);
  --tp-v5-gold: var(--accent-hover);
  --tp-v5-rose: oklch(from var(--accent) l calc(c * 1.55) 29);
  --tp-v5-cyan: oklch(from var(--accent) calc(l * .82) calc(c * 2.4) 258);
  --tp-v5-violet: oklch(from var(--accent) l calc(c * 2.05) 308);
  --tp-v5-ice: oklch(from var(--heading) l calc(c * 1.35) 211);
  --tp-v5-text: color-mix(in srgb, var(--ink) 90%, var(--heading));
}

.tp-menu-toggle { display: none; }
.tp-body:has(.tp-v5-home) {
  background: radial-gradient(ellipse at 62% 26%, color-mix(in srgb, var(--surface) 44%, var(--bg)), var(--bg) 60%);
  color: var(--tp-v5-text);
}
.tp-body:has(#tarot-foil-stage) .tp-header {
  position: fixed;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 94%, transparent), color-mix(in srgb, var(--bg) 50%, transparent) 50%, transparent);
  border-block-end: 0;
  transition: opacity 360ms ease, visibility 0s;
}
.tp-body:not([data-scrolled="true"]):has(#tarot-foil-stage:not(:is([data-intro-complete], [data-availability="empty"], [data-opening-error]))) .tp-header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 360ms ease, visibility 0s 360ms;
}
@media (prefers-reduced-motion: reduce) {
  .tp-body:has(#tarot-foil-stage) .tp-header { transition: none; }
}
.tp-body:has(.tp-v5-home) .tp-header-inner { grid-template-columns: auto 1fr auto; width: min(96%, 1368px); gap: clamp(14px, 1.8vw, 26px); }
.tp-body:has(.tp-v5-home) .tp-brand { font-size: clamp(25px, 2.85vw, 41px); }
.tp-body:has(.tp-v5-home) .tp-nav {
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
  border-inline: 1px solid var(--tp-v5-soft-rule);
  padding-inline: clamp(12px, 1.8vw, 26px);
  min-height: 34px;
}
.tp-body:has(.tp-v5-home) .tp-nav-link { font-size: clamp(13px, 1.35vw, 19px); }
.tp-body:has(.tp-v5-home) .tp-nav-cta { border-color: var(--tp-v5-text); border-radius: 9px; }

.tp-body:has(.tp-v5-home) .tp-showcase-band {
  padding: clamp(20px, 2.65vw, 36px) 0;
  border: 0;
  background: transparent;
}
.tp-body:has(.tp-v5-home) .tp-sol-home .tp-showcase-grid {
  width: min(94%, 1340px);
  grid-template-columns: minmax(0, 1.73fr) minmax(0, 1fr);
  gap: 20px 0;
}
.tp-body:has(.tp-v5-home) .tp-sol-home [data-sol-home].tp-stage-shell .tp-showcase-left {
  grid-template-columns: minmax(0, 39%) minmax(0, 1fr);
  gap: clamp(12px, 2.25vw, 32px);
  padding-right: clamp(14px, 1.7vw, 24px);
  align-items: start;
}
.tp-body:has(.tp-v5-home) .tp-showcase-card-wrap {
  max-width: none;
  box-shadow: none;
}
.tp-body:has(.tp-v5-home) .tp-showcase-copy { padding: 0; }
.tp-body:has(.tp-v5-home) .tp-meta-line { font-size: clamp(12px, 1.5vw, 20px); letter-spacing: .035em; }
.tp-body:has(.tp-v5-home) .tp-serial-note { font-size: clamp(12px, 1.05vw, 14px); letter-spacing: .04em; margin-bottom: 8px; }
.tp-body:has(.tp-v5-home) .tp-card-title { font-size: clamp(35px, 4.2vw, 60px); }
.tp-body:has(.tp-v5-home) .tp-oneliner { font-size: clamp(18px, 2.3vw, 31px); }
.tp-body:has(.tp-v5-home) .tp-meaning-copy { font-size: clamp(15px, 1.55vw, 21px); line-height: 1.35; }
.tp-body:has(.tp-v5-home) .tp-reflection-line { font-size: clamp(13px, 1.25vw, 17px); margin-block: 0 12px; }
.tp-body:has(.tp-v5-home) .tp-lens-row {
  display: grid;
  grid-template-columns: 1fr 1fr .76fr;
  gap: 0;
  border-top: 1px solid var(--tp-v5-soft-rule);
}
.tp-body:has(.tp-v5-home) .tp-lens-row .tp-chip-btn {
  min-width: 0;
  min-height: 40px;
  padding: 3px 5px;
  border: 0;
  border-radius: 0;
  color: var(--tp-v5-text);
  background: transparent;
  line-height: 1.2;
  font-size: clamp(12px, 1.22vw, 17px);
}
.tp-body:has(.tp-v5-home) .tp-lens-row .tp-chip-btn + .tp-chip-btn { border-left: 1px solid var(--tp-v5-soft-rule); }
.tp-body:has(.tp-v5-home) .tp-lens-row .tp-chip-btn:is(:hover, [aria-pressed="true"]) { color: var(--heading); }
.tp-body:has(.tp-v5-home) .tp-cta-stack { max-width: none; }
.tp-body:has(.tp-v5-home) .tp-cta-pair { grid-template-columns: 1.23fr 1fr; }
.tp-body:has(.tp-v5-home) .tp-btn-wide.tp-btn-primary {
  background: var(--tp-v5-champagne);
  border-color: var(--tp-v5-champagne);
  font: 600 clamp(17px, 1.9vw, 27px)/1.12 var(--serif);
  min-height: clamp(44px, 4.45vw, 62px);
}
.tp-body:has(.tp-v5-home) .tp-btn-wide.tp-btn-ghost {
  border-color: var(--tp-v5-text);
  font-size: clamp(12px, 1.3vw, 18px);
  font-weight: 400;
}
.tp-body:has(.tp-v5-home) .tp-binder-strip { margin-top: 12px; border: 0; padding-top: 0; }
.tp-body:has(.tp-v5-home) .tp-binder-link { font-size: clamp(13px, 1.45vw, 19px); color: var(--tp-v5-text); text-decoration: none; }
.tp-body:has(.tp-v5-home) .tp-binder-link:hover { text-decoration: underline; }
.tp-body:has(.tp-v5-home) .tp-showcase-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 clamp(14px, 2.2vw, 31px);
  border-left-color: var(--tp-v5-soft-rule);
}
.tp-body:has(.tp-v5-home) .tp-dual-visuals {
  gap: 0;
  min-height: 0;
  max-width: none;
  padding: 0 3% 0 0;
  background: none;
}
.tp-body:has(.tp-v5-home) .tp-floating-back {
  width: 50%;
  max-width: none;
  aspect-ratio: 2 / 3;
  transform: perspective(700px) rotateY(-13deg) rotateZ(-12deg) translate(9%, 4%);
  box-shadow: 0 0 25px color-mix(in srgb, var(--tp-v5-gold) 28%, transparent);
}
.tp-body:has(.tp-v5-home) .tp-floating-back:hover {
  transform: perspective(700px) rotateY(-7deg) rotateZ(-9deg) translate(9%, 4%);
}
.tp-body:has(.tp-v5-home) .tp-phone-mock {
  z-index: 1;
  width: 49%;
  max-width: none;
  aspect-ratio: 9 / 17;
  padding: 5px;
  border: 2px solid var(--muted);
  border-radius: 15% / 8%;
  box-shadow: 0 0 0 1px var(--tp-v5-soft-rule), 0 12px 24px var(--bg);
}
.tp-body:has(.tp-v5-home) .sol-phone-art { border-radius: inherit; }
.tp-body:has(.tp-v5-home) .sol-phone-art canvas { object-fit: cover; }
.tp-body:has(.tp-v5-home) .tp-phone-time {
  font: 400 clamp(24px, 3.2vw, 45px)/1 var(--sans);
  letter-spacing: -.04em;
}
.tp-body:has(.tp-v5-home) .tp-phone-sub {
  font: 500 clamp(12px, 1.2vw, 16px)/1.2 var(--sans);
}
.tp-body:has(.tp-v5-home) .tp-right-flow-foot { max-width: none; text-align: center; }
.tp-body:has(.tp-v5-home) .tp-sealed-caption-btn {
  color: var(--tp-v5-text);
  font: 500 clamp(14px, 1.6vw, 22px)/1.3 var(--sans);
  text-decoration: none;
}
.tp-body:has(.tp-v5-home) .tp-sealed-caption-btn:hover { color: var(--heading); text-decoration: underline; }

.tp-v5-home { font-size: clamp(16px, 1.42vw, 20px); line-height: 1.4; }
.tp-v5-band {
  border-top: 1px solid var(--tp-v5-rule);
  padding-block: clamp(16px, 1.8vw, 26px) clamp(20px, 2.5vw, 36px);
}
.tp-v5-band h1, .tp-v5-band h2, .tp-v5-band h3 { color: var(--heading); margin: 0; }
.tp-v5-band h1 { font: 600 clamp(31px, 4.05vw, 58px)/1.03 var(--serif); letter-spacing: -.025em; }
.tp-v5-band h2 { font: 600 clamp(28px, 3.4vw, 49px)/1.06 var(--serif); letter-spacing: -.022em; margin-bottom: clamp(16px, 2vw, 28px); }
.tp-v5-band h3 { font: 600 clamp(20px, 2.15vw, 31px)/1.06 var(--serif); letter-spacing: -.016em; }
.tp-v5-band figure { margin: 0; }
.tp-v5-band p { margin: 0; }
.tp-v5-band ul, .tp-v5-band ol { margin: 0; padding: 0; list-style: none; }
.tp-v5-band li { min-width: 0; }
.tp-v5-band .sol-framed { border-radius: 6%; }
.tp-v5-band .sol-framed[data-print-ready] { background: transparent; }
.tp-v5-band .sol-framed canvas { object-fit: contain; }
.tp-v5-home .tp-v5-about { text-align: center; padding-bottom: 0; }
.tp-v5-about h1 { margin: 0 0 18px; }
.tp-v5-band .tp-v5-metrics {
  display: flex;
  justify-content: center;
  border-block: 1px solid var(--tp-v5-soft-rule);
  padding: 12px 0;
  font-size: clamp(15px, 2vw, 27px);
  line-height: 1.15;
}
.tp-v5-metrics li { padding-inline: clamp(10px, 3vw, 42px); }
.tp-v5-metrics li + li { border-left: 1px solid var(--tp-v5-rule); }
.tp-v5-band .tp-v5-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: clamp(17px, 2.1vw, 30px) 0;
}
.tp-v5-divided > li + li { border-left: 1px solid var(--tp-v5-soft-rule); }
.tp-v5-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 0 8px 10px;
  gap: 6px;
}
.tp-v5-tool strong { font: 600 clamp(17px, 2.15vw, 31px)/1.05 var(--serif); }
.tp-v5-tool > span { color: var(--tp-v5-text); font-size: clamp(13px, 1.3vw, 18px); }
.tp-v5-tool:is(:hover,:focus-visible) strong, .tp-v5-suit-link:is(:hover,:focus-visible) strong { text-decoration: underline; text-underline-offset: .18em; }
.tp-v5-tool-visual { width: 70%; position: relative; margin-bottom: 5px; }
.tp-v5-tool-visual.tp-v5-rose {
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--tp-v5-rose) 63%, transparent));
}
.tp-v5-pack { width: 100%; aspect-ratio: 600 / 940; object-fit: contain; }
.tp-v5-tool-visual .tp-v5-pack { mix-blend-mode: lighten; }
.tp-v5-ribbon {
  position: absolute;
  top: -3px;
  right: -7px;
  padding: .16em .6em;
  background: var(--tp-v5-champagne);
  color: var(--bg);
  font: 600 clamp(12px, 1.45vw, 21px)/1 var(--serif);
  border-radius: 3px;
  transform: skew(-12deg);
}
.tp-v5-yes .tp-v5-ribbon { top: auto; bottom: 5%; right: 50%; transform: translateX(50%); }
.tp-v5-more {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  justify-content: center;
  border-block: 1px solid var(--tp-v5-rule);
  padding: 13px 0;
}
.tp-v5-more strong { color: var(--heading); font: 600 1.08em/1.3 var(--serif); margin-right: 4px; }
.tp-v5-more a { color: var(--tp-v5-text); padding-inline: clamp(10px, 2.2vw, 31px); line-height: 1.3; }
.tp-v5-more a + a { border-left: 1px solid var(--tp-v5-rule); }
.tp-v5-more a:hover { color: var(--heading); text-decoration: underline; }
#how-to-tarot-pull { border-top: 0; padding-top: clamp(22px, 3vw, 42px); }
.tp-v5-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-v5-steps li { padding-inline: clamp(0px, 2.5vw, 35px); }
.tp-v5-steps li:first-child { padding-left: 0; }
.tp-v5-steps li:last-child { padding-right: 0; }
.tp-v5-step-visual {
  display: grid;
  place-items: center;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  width: 100%;
  height: clamp(140px, 19vw, 264px);
  margin-bottom: 5px;
}
.tp-v5-step-visual .sol-framed { width: auto; height: 100%; max-width: 100%; }
.tp-v5-step-visual > img { height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.tp-v5-step-visual .tp-v5-back {
  height: 79%;
  max-width: 70%;
  border-radius: 6%;
  transform: rotate(12deg);
  filter: brightness(1.14) saturate(1.17);
}
.tp-v5-step-visual .tp-v5-tear { mix-blend-mode: lighten; }
.tp-v5-step-number { display: block; color: var(--heading); font: 600 clamp(23px, 3.4vw, 47px)/1 var(--serif); }
.tp-v5-steps h3 { margin-bottom: 8px; }
.tp-v5-sample-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) repeat(2, minmax(0, 1fr));
  gap: 12px clamp(12px, 2.5vw, 35px);
  align-items: start;
}
.tp-v5-sample-art { width: min(78%, 218px); justify-self: center; grid-row: span 2; }
.tp-v5-orientation + .tp-v5-orientation { border-left: 1px solid var(--tp-v5-soft-rule); padding-left: clamp(12px, 2.8vw, 40px); }
.tp-v5-orientation .tp-v5-quote { font: italic 400 clamp(17px, 2vw, 28px)/1.22 var(--serif); margin: .55em 0 .7em; }
.tp-v5-orientation .tp-v5-cue { margin-top: .55em; padding-top: .55em; border-top: 1px solid var(--tp-v5-rule); }
.tp-v5-link { color: var(--heading); text-decoration: underline; text-underline-offset: .26em; }
.tp-v5-link:hover { color: var(--tp-v5-text); }
.tp-v5-sample-link { grid-column: 2 / -1; justify-self: end; }
.tp-v5-band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 22px; }
.tp-v5-band-head h2 { margin: 0; }
.tp-v5-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.8vw, 25px); text-align: center; }
.tp-v5-gallery .sol-framed { width: min(87%, 232px); margin: 0 auto 8px; }
.tp-v5-guide-link, .tp-v5-suit-link { display: block; height: 100%; }
.tp-v5-guide-link p { color: var(--tp-v5-text); margin: .42em 0; font-size: .91em; }
.tp-v5-suits { gap: 0; }
.tp-v5-suits .sol-framed { width: min(82%, 218px); }
.tp-v5-suit-link strong { font: 500 clamp(14px, 1.9vw, 26px)/1.1 var(--serif); }
.tp-v5-collector-grid { display: grid; grid-template-columns: minmax(0, 2.32fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); }
.tp-v5-shelf { min-width: 0; text-align: center; }
.tp-v5-finishes { display: grid; gap: clamp(8px, 1.4vw, 20px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-v5-finishes .sol-framed { width: min(88%, 244px); margin-inline: auto; }
.tp-v5-finishes figcaption { margin-top: 7px; font: 600 clamp(12px, 1.28vw, 18px)/1.24 var(--sans); }
.tp-v5-finishes [data-rarity="gilded"] { filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 34%, transparent)); }
.tp-v5-finishes [data-rarity="eclipse"] { filter: drop-shadow(0 0 13px color-mix(in srgb, var(--tp-v5-violet) 43%, transparent)); }
.tp-specimen-glints { display: none; }
.tp-v5-finish[data-rarity="eclipse"][data-print-ready] .tp-specimen-glints { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tp-specimen-glints i {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--ink);
  translate: -50% -50%;
  clip-path: polygon(50% 0, 59% 40%, 100% 50%, 59% 60%, 50% 100%, 41% 60%, 0 50%, 41% 40%);
}
.tp-specimen-glints i:nth-child(1) { left: 4%; top: 4%; }
.tp-specimen-glints i:nth-child(2) { left: 96%; top: 11%; }
.tp-specimen-glints i:nth-child(3) { left: 4%; top: 76%; }
.tp-specimen-glints i:nth-child(4) { left: 96%; top: 95%; }
.tp-v5-home .tp-v5-odds :is(th,td) { padding-block: .42em; }
.tp-v5-home .tp-v5-odds th + td { font-size: clamp(20px, 2.35vw, 34px); }
.tp-v5-home .tp-v5-odds nav { margin-top: .75em; }
.tp-v5-odds { border-left: 1px solid var(--tp-v5-soft-rule); padding-left: clamp(14px, 2.5vw, 35px); }
.tp-v5-odds table { width: 100%; border-collapse: collapse; }
.tp-v5-odds caption { text-align: left; color: var(--heading); font: 600 clamp(27px, 3.4vw, 47px)/1.04 var(--serif); padding-bottom: .55em; }
.tp-v5-odds tr { border-block: 1px solid var(--tp-v5-rule); }
.tp-v5-odds :is(th,td) { padding: .7em 0; text-align: left; font-weight: 400; }
.tp-v5-odds th + td { text-align: right; color: var(--tp-v5-champagne); font: 600 clamp(24px, 3vw, 44px)/1 var(--serif); }
.tp-v5-odds nav { display: flex; gap: .7em; flex-wrap: wrap; margin-top: 1.25em; }
.tp-v5-faq details { border-top: 1px solid var(--tp-v5-rule); }
.tp-v5-faq details:last-child { border-bottom: 1px solid var(--tp-v5-rule); }
.tp-v5-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: .65em .85em;
  cursor: pointer;
}
.tp-v5-faq summary::-webkit-details-marker { display: none; }
.tp-v5-faq summary::after {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  margin: -4px 2px 0 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.tp-v5-faq details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.tp-v5-answer { padding: 0 .85em .85em; max-width: 78ch; }
.tp-v5-answer p + p { margin-top: .45em; }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .tp-v5-faq { interpolate-size: allow-keywords; }
    .tp-v5-faq details::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size .2s ease, content-visibility .2s allow-discrete;
    }
    .tp-v5-faq details[open]::details-content { block-size: auto; }
  }
}
.tp-body:has(.tp-v5-home) .tp-footer { background: var(--surface); border-top: 1px solid var(--tp-v5-soft-rule); }
.tp-body:has(.tp-v5-home) .tp-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
.tp-body:has(.tp-v5-home) .tp-footer-inline { display: grid; justify-items: start; gap: 2px; }
.tp-body:has(.tp-v5-home) .tp-footer-heading { font: 600 clamp(23px, 3vw, 39px)/1.1 var(--serif); text-transform: none; letter-spacing: 0; }
.tp-body:has(.tp-v5-home) .tp-footer-logo { font: 600 clamp(26px, 3.75vw, 52px)/1.1 var(--serif); }
.tp-body:has(.tp-v5-home) .tp-footer a, .tp-body:has(.tp-v5-home) .tp-footer p { font-size: clamp(14px, 1.8vw, 22px); }
.tp-body:has(.tp-v5-home) .tp-footer a.tp-footer-logo { font-size: clamp(26px, 3.75vw, 52px); }

.tp-v5-inner { max-width: 860px; }
.tp-v5-guide-intro {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(0, 1.65fr);
  align-items: center;
  gap: clamp(16px, 4vw, 56px);
  margin-block: 20px 32px;
  --sol-bezel-rim: var(--tp-v5-guide-rim, none);
}
.tp-v5-guide-intro figure { margin: 0; }
.tp-v5-guide-intro .sol-framed { background: transparent; border-radius: 6%; }
.tp-v5-guide-intro figcaption { margin-top: 8px; color: var(--muted); text-align: center; }
.tp-v5-guide-intro .tp-h1 { margin-top: 0; }
.tp-v5-guide-intro .tp-lead { margin-bottom: 14px; }
.tp-v5-love-form { display: grid; justify-items: start; gap: 8px; }
.tp-v5-love-form .tp-input { width: 100%; max-width: 27ch; min-width: 0; }
.tp-v5-love-result:not(:empty) { border-top: 1px solid var(--tp-v5-soft-rule); margin-top: 16px; padding-top: 12px; }
.tp-v5-love-result p { margin: 0 0 8px; }
.tp-v5-love-result strong { color: var(--heading); font: 600 1.35em/1.1 var(--serif); }

@media (max-width: 1100px) {
  .tp-header-inner, .tp-body:has(.tp-v5-home) .tp-header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0;
  }
  .tp-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 38px;
    padding: 0;
    color: var(--tp-v5-text);
    background: transparent;
    border: 0;
    pointer-events: auto;
  }
  .tp-menu-toggle span, .tp-menu-toggle span::before, .tp-menu-toggle span::after {
    display: block;
    width: 23px;
    height: 1px;
    background: currentColor;
  }
  .tp-menu-toggle span { position: relative; }
  .tp-menu-toggle span::before, .tp-menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .tp-menu-toggle span::before { top: -6px; }
  .tp-menu-toggle span::after { top: 6px; }
  .tp-header .tp-nav, .tp-body:has(.tp-v5-home) .tp-header .tp-nav,
  .tp-header .tp-header-right, .tp-body:has(.tp-v5-home) .tp-header .tp-header-right { display: none; }
  .tp-header[data-menu-open] .tp-nav, .tp-body:has(.tp-v5-home) .tp-header[data-menu-open] .tp-nav,
  .tp-header[data-menu-open] .tp-header-right, .tp-body:has(.tp-v5-home) .tp-header[data-menu-open] .tp-header-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    border: 0;
    padding: 10px 0;
    grid-column: 1 / -1;
    justify-self: start;
    gap: 10px 18px;
  }
}
@media (max-width: 760px) {
  .tp-body:has(.tp-v5-home) .tp-sol-home .tp-showcase-grid { width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); }
  .tp-body:has(.tp-v5-home) .tp-sol-home [data-sol-home].tp-stage-shell .tp-showcase-left { grid-template-columns: minmax(0, 32%) minmax(0, 1fr); padding: 0; }
  .tp-body:has(.tp-v5-home) .tp-showcase-right { padding: 0; border: 0; }
  .tp-body:has(.tp-v5-home) .tp-dual-visuals { width: min(78%, 335px); margin-inline: auto; padding: 0; }
  .tp-body:has(.tp-v5-home) .tp-meta-line { font-size: 12px; }
  .tp-body:has(.tp-v5-home) .tp-serial-note { font-size: 12px; }
  .tp-body:has(.tp-v5-home) .tp-card-title { font-size: clamp(27px, 7.6vw, 38px); margin-bottom: 6px; }
  .tp-body:has(.tp-v5-home) .tp-oneliner { font-size: 16px; }
  .tp-body:has(.tp-v5-home) .tp-meaning-copy, .tp-body:has(.tp-v5-home) .tp-reflection-line { font-size: 13px; }
  .tp-body:has(.tp-v5-home) .tp-lens-row { margin-bottom: 8px; }
  .tp-body:has(.tp-v5-home) .tp-lens-row .tp-chip-btn { min-height: 38px; font-size: 12px; padding: 2px; }
  .tp-body:has(.tp-v5-home) .tp-btn-wide.tp-btn-primary { font-size: 16px; padding-inline: 7px; }
  .tp-body:has(.tp-v5-home) .tp-cta-pair { grid-template-columns: 1.45fr 1fr; gap: 6px; }
  .tp-body:has(.tp-v5-home) .tp-btn-wide.tp-btn-ghost { font-size: 12px; padding-inline: 4px; }
  .tp-body:has(.tp-v5-home) .tp-binder-strip { margin-top: 7px; }
  .tp-v5-band h2 { margin-bottom: 14px; }
  .tp-v5-band-head h2 { margin: 0; }
  .tp-v5-band .tp-v5-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 14px 0; padding: 0; }
  .tp-v5-tools > li:nth-child(odd) { border-left: 0; }
  .tp-v5-tools > li:nth-child(n+3) { border-top: 1px solid var(--tp-v5-soft-rule); padding-top: 12px; }
  .tp-v5-tool-visual { width: min(72%, 168px); }
  .tp-v5-tool > span { font-size: 12px; }
  .tp-v5-more { font-size: 13px; }
  .tp-v5-more strong { width: 100%; }
  .tp-v5-more a { padding-inline: 7px; }
  .tp-v5-steps li { padding-inline: 8px; }
  .tp-v5-steps h3 { font-size: clamp(14px, 3.7vw, 22px); }
  .tp-v5-steps p { font-size: 13px; }
  .tp-v5-step-visual { height: clamp(83px, 25vw, 142px); }
  .tp-v5-sample-grid { grid-template-columns: minmax(0, .81fr) repeat(2, minmax(0, 1fr)); font-size: 13px; gap: 10px; }
  .tp-v5-sample-art { width: 100%; }
  .tp-v5-orientation + .tp-v5-orientation { padding-left: 8px; }
  .tp-v5-orientation h3 { font-size: 16px; }
  .tp-v5-orientation .tp-v5-quote { font-size: 15px; }
  .tp-v5-long-orientation { display: none; }
  .tp-v5-guide-rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(102px, 28%, 150px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    padding-block: 2px 9px !important;
  }
  .tp-v5-guide-rail li { scroll-snap-align: start; }
  .tp-v5-guide-rail .sol-framed { width: 94%; }
  .tp-v5-guide-link h3 { font-size: 17px; }
  .tp-v5-guide-link p, .tp-v5-guide-link .tp-v5-link { font-size: 12px; }
  .tp-v5-suits .sol-framed { width: 88%; }
  .tp-v5-suits .tp-v5-suit-link { padding-inline: 1px; line-height: 1.1; }
  .tp-v5-suit-link strong { font-size: 13px; }
  .tp-v5-suit-link strong span { display: block; color: var(--muted); font: 400 12px/1.2 var(--sans); }
  .tp-v5-collector-grid { grid-template-columns: 1fr; }
  .tp-v5-odds { border-left: 0; border-top: 1px solid var(--tp-v5-soft-rule); padding: 14px 0 0; }
  .tp-v5-odds nav { margin-top: 12px; }
  .tp-v5-finishes figcaption { font-size: 12px; }
  .tp-body:has(.tp-v5-home) .tp-footer-grid { gap: 12px; }
  .tp-body:has(.tp-v5-home) .tp-footer-col { padding: 0; border: 0; }
  .tp-body:has(.tp-v5-home) .tp-footer-mail { overflow-wrap: anywhere; }
}
@media (max-width: 520px) {
  .tp-v5-inner .tp-v5-guide-intro { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .tp-v5-guide-intro figure { width: min(48%, 175px); }
  .tp-v5-guide-intro .tp-h1 { font-size: clamp(29px, 8vw, 45px); }
}

.tp-body:has(.tp-v5-home) .tp-showcase-card-wrap { border: 0; }

#sample-tarot-pull h2 { font-size: clamp(29px, 2.95vw, 42px); }
.tp-v5-guide-link .tp-v5-link > span { white-space: nowrap; }
@media (max-width: 760px) {
  .tp-body:has(.tp-v5-home) .tp-showcase-card-wrap { align-self: start; }
  [data-sol-home]:has(#tarot-foil-stage:not([data-intro-complete])) .tp-showcase-copy :is(.tp-serial-note,.tp-meaning-copy,.tp-reflection-line) { display: none; }
  .tp-body:has(.tp-v5-home) .tp-lens-row .tp-chip-btn { min-height: 42px; }
  .tp-v5-guide-rail { grid-auto-columns: clamp(108px, 29%, 150px); }
  .tp-v5-guide-link .tp-v5-link { font-size: 12px; text-wrap: balance; }
  .tp-v5-guide-link .tp-v5-link > span { display: none; }
  .tp-v5-tool strong { text-wrap: balance; }
  .tp-v5-orientation h3 { font-size: 15px; white-space: nowrap; }
  .tp-v5-mobile-short {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  #sample-tarot-pull h2 { font-size: clamp(23px, 6.05vw, 32px); }
}

/* v6 · Collector finishes and proportional studio layout */
.tp-v5-home .tp-v5-band,
.tp-body:has(.tp-v5-home) .tp-footer {
  position: relative;
  border-top: 0;
}
.tp-v5-home .tp-v5-band { padding-block: clamp(24px, 2.65vw, 45px) clamp(25px, 3vw, 50px); }
.tp-v5-home .tp-v5-band::before,
.tp-body:has(.tp-v5-home) .tp-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  width: min(88%, 760px);
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 66%, transparent) 41%, var(--heading) 48%, transparent 49% 51%, var(--heading) 52%, color-mix(in srgb, var(--accent) 66%, transparent) 59%, transparent);
  pointer-events: none;
}
.tp-v5-home .tp-v5-band::after,
.tp-body:has(.tp-v5-home) .tp-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 13px;
  height: 13px;
  translate: -50% -50%;
  background: var(--accent);
  clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 36%);
  pointer-events: none;
}
.tp-v5-home .tp-v5-about { padding-bottom: clamp(20px, 2vw, 36px); }
.tp-v5-home .tp-v5-metrics,
.tp-v5-home .tp-v5-metrics > li,
.tp-v5-home .tp-v5-divided > li,
.tp-v5-home .tp-v5-orientation,
.tp-v5-home .tp-v5-orientation .tp-v5-cue,
.tp-v5-home .tp-v5-odds { border: 0; }
.tp-v5-home .tp-v5-metrics { gap: clamp(8px, 1.8vw, 30px); padding: .25em 0 .65em; flex-wrap: wrap; }
.tp-v5-home .tp-v5-metrics li { padding-inline: 0; }
.tp-v5-home .tp-v5-metrics li + li::before { content: "·"; color: var(--heading); margin-right: clamp(8px, 1.8vw, 30px); }
.tp-v5-home .sol-framed { aspect-ratio: 5 / 8.6; border-radius: 4%; }
.tp-v5-home .sol-framed::after, .tp-body:has(.tp-v5-home) .tp-showcase-band .sol-framed::after { content: none; }
.tp-v5-home .sol-framed .sol-print { width: 100%; height: 100%; inset: 0; object-fit: fill; }
.tp-body:has(.tp-v5-home) #tarot-reading { border-block: 0; }
.tp-v5-home .tp-v5-guide-rail .sol-framed { width: min(98%, 210px); }
.tp-collector-section > p { max-width: 70ch; color: var(--muted); }
.tp-collector-control {
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(0, 1.38fr);
  gap: 10px clamp(20px, 4vw, 66px);
  align-items: center;
  margin: 20px 0 11px;
}
.tp-collector-look {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(6px, 1.15vw, 14px);
  align-items: end;
  padding: clamp(12px,2vw,28px);
  border-radius: 12px;
  background: radial-gradient(ellipse at 52% 59%, color-mix(in srgb, var(--surface) 83%, var(--ink)), var(--bg) 81%);
}
.tp-collector-card, .tp-collector-wrap { display: block; width: 100%; height: auto; object-fit: fill; margin-inline: auto; }
.tp-collector-card { aspect-ratio: 5 / 8.6; border-radius: 4%; }
canvas.tp-collector-card { border-radius: 0; }
.tp-collector-wrap { aspect-ratio: 5 / 9; }
.tp-collector-slots { min-width: 0; display: grid; gap: 10px; }
.tp-collector-field { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.tp-collector-field legend { margin-bottom: 5px; color: var(--heading); font: 600 17px/1.17 var(--serif); }
.tp-collector-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.tp-collector-option {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding: 7px 3px 6px;
  background: color-mix(in srgb,var(--surface) 46%,transparent);
  color: var(--ink);
  border: 1px solid var(--tp-v5-soft-rule);
  border-radius: 6px;
  font: 500 12px/1.2 var(--sans);
  overflow-wrap: anywhere;
  text-align: center;
  cursor: pointer;
}
.tp-collector-option :is(img,canvas) { width: min(100%, 41px); }
.tp-collector-option[aria-pressed="true"] { border-color: var(--heading); background: color-mix(in srgb, var(--bg) 83%, var(--accent)); color: var(--heading); }
.tp-collector-option:hover, .tp-collector-option:focus-visible { border-color: var(--heading); }
.tp-collector-status { grid-column: 1/-1; min-height: 1.3em; font: 400 12px/1.3 var(--sans); color: var(--muted); }
.tp-v5-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: .55em 1.2em;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: linear-gradient(var(--heading), var(--accent));
  color: var(--bg);
  font: 600 clamp(17px, 1.6vw, 23px)/1.15 var(--serif);
  text-align: center;
}
.tp-v5-primary:hover { background: var(--heading); color: var(--bg); }
.tp-collector-section .tp-v5-primary { margin-top: 4px; }
.tp-v5-home .tp-v5-more { border-block: 0; }
.tp-v5-home .tp-v5-more a { border-inline: 0; }

@media(max-width:790px) {
  .tp-collector-control { grid-template-columns: minmax(0,1fr); margin-top: 12px; }
  .tp-collector-look { width: min(100%, 400px); margin-inline: auto; }
}
@media(max-width:620px) {
  .tp-v5-home .tp-v5-guide-rail {
    grid-template-columns: repeat(5,minmax(0,1fr)); grid-auto-flow: row; gap: 5px; overflow: visible;
  }
  .tp-v5-home .tp-v5-guide-link h3 { font-size: clamp(12px, 3vw, 15px); }
  .tp-v5-home .tp-v5-guide-link p { font-size: 12px; }
  .tp-v5-home .tp-v5-guide-link .tp-v5-link { display: none; }
  .tp-v5-home .tp-v5-suit-link strong { font-size: 12px; }
  .tp-v5-home .tp-v5-suit-link strong span { font-size: 12px; }
  .tp-v5-home .tp-v5-metrics { font-size: 13px; }
  .tp-v5-home .tp-v5-metrics li + li::before { margin-right: 6px; }
  .tp-collector-option { min-height: 85px; }
}

/* Approved Tarot Pack homepage composition. */
.tp-body:has(.tp-v5-home) {
  --homepage-inset: clamp(14px, 2.15vw, 48px);
  background: radial-gradient(ellipse at 48% 20%, var(--surface), var(--bg) 65%);
  overflow-x: clip;
}
.tp-body:has(.tp-v5-home) .tp-wrap.tp-v5-home {
  width: min(calc(100% - 2 * var(--homepage-inset)), 1512px);
}
.tp-body [data-sol-home] .tp-v17 {
  --v17-inner-height: 100dvh;
  --v17-center: 44%;
  --v17-card-size: min(clamp(174px, 19.4vw, 380px), 39dvh);
  --card-settle: 1.4s;
  height: 100vh;
  height: var(--v17-inner-height);
  min-height: var(--v17-inner-height);
  border-block-end: 0;
  background-image: linear-gradient(0deg, color-mix(in srgb, var(--bg) 16%, transparent), transparent 34%), var(--scene-image);
  background-position: center, var(--scene-position);
  background-size: cover;
}
.tp-body :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="sealed"]:not([data-availability="empty"]) .float-light { background: none; }
.tp-body :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="sealed"] .packet:not([data-rendered]),
.tp-body :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="sealed"]:has(.packet:not([data-rendered])) .float-ground::before {
  animation: none;
}
.tp-body :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="sealed"] .packet[data-rendered] :is(.packet-body, .seal-foil) {
  transition: opacity 0s 180ms;
  visibility: visible;
}
.tp-body [data-sol-home] .tp-v17[data-phase="sealed"]:not([data-availability="empty"]) .tp-stage-hint {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  color: var(--heading);
  font-size: clamp(17px, 2.25vw, 31px);
}
.tp-body [data-sol-home] .tp-stage-foot { bottom: max(5%, env(safe-area-inset-bottom, 0px)); }
.tp-body [data-sol-home] .tp-stage-meta { --mist-duration: 2350ms; --mist-delay: 420ms; }
.tp-body [data-sol-home] .tp-stage-name { --mist-duration: 2650ms; --mist-delay: 1050ms; }
.tp-body [data-sol-home] .tp-stage-line { --mist-duration: 2900ms; --mist-delay: 1800ms; }
.tp-body [data-sol-home] .tp-stage-classic { --mist-duration: 3300ms; --mist-delay: 2600ms; }
@media (max-width: 860px) {
  .tp-body [data-sol-home] .tp-stage-meta { font-size: 13px; }
  .tp-body [data-sol-home] .tp-stage-name { font-size: calc(clamp(24px, 5.8vw, 36px) + 2px); }
  .tp-body [data-sol-home] .tp-stage-line { font-size: calc(clamp(17px, 4.6vw, 21px) + 2px); }
  .tp-body [data-sol-home] .tp-stage-classic { font-size: 16px; }
}
@media (min-width: 861px) {
  .tp-body [data-sol-home] .tp-stage-wing { max-width: min(31vw, 510px); }
  .tp-body [data-sol-home] .tp-stage-meta { font-size: calc(clamp(14px, 1.13vw, 22px) + 2px); }
  .tp-body [data-sol-home] .tp-stage-name { font-size: calc(clamp(36px, 3.45vw, 64px) + 2px); }
  .tp-body [data-sol-home] .tp-stage-line { font-size: calc(clamp(23px, 2.05vw, 40px) + 2px); }
  .tp-body [data-sol-home] .tp-stage-classic { font-size: calc(clamp(16px, 1.44vw, 24px) + 2px); }
}
@media (prefers-reduced-motion: no-preference) {
  .tp-body [data-sol-home] .tp-v17[data-phase="revealed"] .tp-stage-wing > * {
    animation: tp-stage-text-emerge var(--mist-duration) ease-in-out var(--mist-delay) both;
    will-change: transform, opacity, filter;
  }
  .tp-body :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="revealed"] .card-float {
    animation: tp-card-rest-in var(--card-settle) ease-out, tp-card-hover-gentle 12s var(--card-settle) ease-in-out infinite;
  }
  .tp-body :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="suspended"] .card-float { animation-duration: 12s; }
  .tp-body [data-sol-home] .tp-v17[data-phase="revealed"] [data-stage-actions] {
    animation: tp-stage-reveal-actions 300ms ease-out 280ms both;
  }
}
@keyframes tp-stage-text-emerge {
  from { opacity: 0; transform: translate3d(0, 9px, 0); filter: blur(3px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
@keyframes tp-card-rest-in {
  0%, 100% { transform: var(--card-rest); }
  38% { transform: translate3d(1px, -3px, 2px) rotateY(-1.6deg); }
}
@keyframes tp-card-hover-gentle {
  0%, 100% { transform: var(--card-rest); }
  25% { transform: translate3d(0, -4px, 0); }
  75% { transform: translate3d(0, 2px, 0); }
}
.tp-body:has(.tp-v5-home) .tp-showcase-band {
  container: tarot-workbench / inline-size;
  padding-block: clamp(20px, 2.35vw, 38px) clamp(23px, 2.65vw, 46px);
}
.tp-body:has(.tp-v5-home) .tp-sol-home .tp-showcase-grid {
  width: min(95%, 1530px);
  grid-template-columns: minmax(0, 1.94fr) minmax(0, 1fr);
}
.tp-body:has(.tp-v5-home) .tp-sol-home [data-sol-home].tp-stage-shell .tp-showcase-left {
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  gap: clamp(15px, 2.3vw, 38px);
  padding-inline-end: clamp(13px, 2vw, 30px);
}
.tp-body:has(.tp-v5-home) .tp-showcase-card-wrap { aspect-ratio: 5 / 8; }
.tp-body:has(.tp-v5-home) .tp-showcase-copy { padding-block-start: .3em; }
.tp-body:has(.tp-v5-home) .tp-card-title { font-size: clamp(33px, 3.8vw, 59px); margin-block: 8px 10px; }
.tp-body:has(.tp-v5-home) .tp-oneliner {
  margin-block-end: clamp(16px, 2.6vw, 36px);
  font-size: clamp(17px, 2.05vw, 30px);
}
[data-sol-home]:has(#tarot-foil-stage:not([data-intro-complete])) .tp-showcase-copy :is(.tp-serial-note, .tp-meaning-copy, .tp-reflection-line) {
  display: none;
}
.tp-body:has(.tp-v5-home) .tp-lens-row {
  grid-template-columns: auto auto auto;
  justify-content: start;
  gap: clamp(6px, 1vw, 14px);
  border: 0;
  margin-bottom: clamp(12px, 2.6vw, 36px);
}
.tp-body:has(.tp-v5-home) .tp-lens-row .tp-chip-btn {
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  background: color-mix(in srgb, var(--accent) 24%, var(--bg));
  padding-inline: clamp(8px, 1vw, 15px);
}
.tp-body:has(.tp-v5-home) .tp-lens-row .tp-chip-btn + .tp-chip-btn { border: 0; }
.tp-body:has(.tp-v5-home) .tp-btn-wide.tp-btn-primary,
.tp-v5-home .tp-v5-primary {
  background: linear-gradient(163deg, var(--heading), var(--foil-gold) 79%, color-mix(in srgb, var(--foil-gold) 82%, var(--bg)));
  border: 0;
  border-radius: 12px;
}
.tp-v5-home .tp-v5-primary { min-height: 44px; }
.tp-body:has(.tp-v5-home) .tp-btn-wide.tp-btn-ghost { border-radius: 12px; }
.tp-body:has(.tp-v5-home) .tp-showcase-right { padding: 0; border: 0; }
.tp-body:has(.tp-v5-home) .tp-floating-back { background: transparent; box-shadow: none; }
.tp-body:has(.tp-v5-home) .tp-phone-mock {
  width: 55%;
  border-color: var(--muted);
  background: linear-gradient(155deg, color-mix(in srgb, var(--muted) 66%, var(--bg)), var(--bg), var(--surface) 75%, var(--muted));
}
.tp-body:has(.tp-v5-home) .tp-phone-screen { background: linear-gradient(color-mix(in srgb, var(--screen-blue) 27%, var(--bg)), var(--screen-blue)); }
.tp-body:has(.tp-v5-home) .sol-phone-art { inset: 26% 0 0; }
.tp-body:has(.tp-v5-home) .sol-phone-art :is(img, canvas) {
  mask-image: linear-gradient(transparent, #000 12%);
  object-position: center 35%;
}
.tp-body:has(.tp-v5-home) .tp-phone-overlay {
  padding: 17% 0 12%;
  background: linear-gradient(color-mix(in srgb, var(--bg) 91%, transparent) 12%, color-mix(in srgb, var(--screen-blue) 60%, transparent) 48%, transparent);
}
.tp-v5-home .tp-v5-band {
  container: tarot-module / inline-size;
  padding-block: clamp(26px, 3vw, 54px);
  scroll-margin-block-start: var(--sol-header-row);
}
.tp-v5-home .tp-v5-about,
.tp-v5-home :is(#how-to-tarot-pull, #sample-tarot-pull, #collector-finishes, #faq) > h2 { text-align: center; }
.tp-v5-home .tp-v5-about { padding-bottom: clamp(13px, 1.7vw, 30px); }
.tp-v5-home .tp-v5-tools { padding-block-start: clamp(12px, 1.4vw, 22px); }
.tp-v5-home .tp-v5-more {
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font: 500 clamp(15px, 1.9vw, 26px)/1.25 var(--serif);
}
.tp-v5-home .tp-v5-more a { padding-inline: 0; }
.tp-v5-home .tp-v5-more a + a::before { content: "·"; margin-inline-end: clamp(12px, 2vw, 28px); }
.tp-v5-home .tp-v5-tool-visual { width: min(70%, 242px); }
.tp-v5-home .tp-v5-tool-visual .tp-v5-pack,
.tp-v5-home .tp-v5-step-visual .tp-v5-tear {
  mix-blend-mode: normal;
  object-fit: contain;
  border-radius: 0;
  clip-path: none;
}
.tp-v5-home .tp-v5-ribbon { z-index: 3; background: var(--heading); color: var(--bg); }
.tp-v5-home .tp-v5-yes .tp-v5-ribbon {
  inset: auto -4% 13% auto;
  border-radius: 99px;
  transform: none;
}
.tp-v5-home .tp-v5-tool-visual:not(.tp-v5-yes) .tp-v5-ribbon { inset: -2% -4% auto auto; }
.tp-v5-home :is(#how-to-tarot-pull, #collector-finishes) { isolation: isolate; }
.tp-v5-home :is(#how-to-tarot-pull, #collector-finishes)::before {
  z-index: -1;
  inset: 0 50% 0 auto;
  width: 100vw;
  height: auto;
  translate: 50%;
  background: var(--observatory-plate) center / 100% 100% no-repeat;
  mask-image: linear-gradient(transparent, #000 13% 82%, transparent);
}
.tp-v5-home #how-to-tarot-pull { --observatory-plate: url("https://img.tarotpack.com/s_3j4g2i562m0i47/v7-observatory-steps.3a106dff5c.webp"); }
.tp-v5-home #collector-finishes { --observatory-plate: url("https://img.tarotpack.com/s_3j4g2i562m0i47/v7-observatory-finishes.6d20e1bb5a.webp"); }
.tp-v5-home #collector-finishes::before { inset-block-end: auto; height: 58%; }
.tp-v5-home :is(#how-to-tarot-pull, #collector-finishes)::after { content: none; }
.tp-v5-home #how-to-tarot-pull { padding-block: clamp(24px, 2.45vw, 43px) clamp(26px, 2.55vw, 44px); }
.tp-v5-home #how-to-tarot-pull > h2 { margin-bottom: clamp(9px, 1vw, 16px); }
.tp-v5-home .tp-v5-steps { width: min(85%, 1200px); margin-inline: auto; }
.tp-v5-home .tp-v5-steps h3 { margin: 0; }
.tp-v5-home .tp-v5-step-visual { height: clamp(155px, 22.7vw, 326px); }
.tp-v5-home .tp-v5-step-visual .tp-v5-tear { scale: 1.12; }
.tp-v5-home .tp-v5-step-visual .tp-v5-back { border: 0; box-shadow: none; }
.tp-v5-home #sample-tarot-pull { padding-block: clamp(24px, 2.45vw, 43px); }
.tp-v5-home #sample-tarot-pull > h2 { margin-bottom: clamp(8px, 1vw, 16px); }
.tp-v5-home .tp-v5-sample-grid { width: min(85%, 1220px); margin-inline: auto; }
.tp-v5-home .tp-v5-orientation-heading { display: block; }
.tp-v5-home .tp-v5-orientation .tp-v5-quote { color: color-mix(in srgb, var(--heading) 64%, white); }
.tp-v5-home .tp-v5-sample-link { justify-self: center; align-self: start; }
.tp-v5-home .tp-v5-sample-art { width: min(68%, 194px); }
.tp-v5-home .tp-v5-guide-rail .sol-framed,
.tp-v5-home .tp-v5-suits .sol-framed { width: min(94%, 214px); }
.tp-v5-home :is(#popular-card-guides, #arcana-and-suits) { padding-inline: clamp(12px, 1.55vw, 26px); }
.tp-v5-home #popular-card-guides { padding-block: clamp(24px, 2.5vw, 44px); }
.tp-v5-home .tp-v5-guide-rail .sol-framed,
.tp-v5-home .tp-v5-suits .sol-framed { margin-bottom: 5px; }
.tp-v5-home .tp-v5-guide-link p { margin-block: .2em; }
.tp-v5-home #arcana-and-suits { padding-block-end: clamp(26px, 2.6vw, 45px); }
.tp-v5-home .tp-v5-suit-link strong { font-size: clamp(14px, 1.75vw, 25px); }
.tp-v5-home .tp-v5-band-head { margin-bottom: clamp(12px, 1.5vw, 21px); }
.tp-v5-home #collector-finishes { padding-block-end: 0; }
.tp-v5-home :is(#collector-finishes, #faq) > h2 { font-size: clamp(32px, 4.05vw, 57px); }
.tp-v5-home .tp-v5-collector-grid { width: min(91%, 1240px); margin-inline: auto; }
.tp-v5-home .tp-v5-finishes .sol-framed { width: min(83%, 244px); }
.tp-v5-home .tp-v5-odds { padding-inline: 0; }
.tp-v5-home .tp-v5-odds caption { padding-bottom: .3em; }
.tp-v5-home .tp-v5-odds :is(th, td) { padding-block: .24em; }
.tp-v5-home .tp-v5-odds tr { border-image: linear-gradient(90deg, color-mix(in srgb, var(--accent) 50%, var(--bg)), color-mix(in srgb, var(--accent) 8%, transparent)) 1; }
.tp-v5-home .tp-collector-section {
  position: relative;
  display: flow-root;
  isolation: isolate;
  text-align: center;
  padding-block-end: clamp(34px, 4.65vw, 68px);
}
.tp-v5-home .tp-collector-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 50% 0 auto;
  translate: 50%;
  width: 100vw;
  height: clamp(140px, 23vw, 325px);
  background: url("https://img.tarotpack.com/s_3j4g2i562m0i47/collector-shelf-scene.fd55b3051d.jpg") center bottom / 100% auto no-repeat;
  mask-image: linear-gradient(transparent, #000 27% 90%, transparent);
  pointer-events: none;
}
.tp-v5-home .tp-collector-mobile-heading { display: none; }
.tp-v5-home .tp-collector-section > p {
  margin: clamp(16px, 2.3vw, 34px) auto 12px;
  color: var(--heading);
  font: italic 500 clamp(18px, 2.45vw, 35px)/1.2 var(--serif);
}
.tp-v5-home .tp-collector-section > p::before {
  content: "";
  display: block;
  width: min(44%, 365px);
  height: 1px;
  margin: 0 auto .55em;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.tp-v5-home .tp-collector-section .tp-v5-primary { min-width: min(100%, clamp(225px, 30.2vw, 390px)); }
.tp-v5-home .tp-collector-shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 30px);
  margin-block: clamp(24px, 4.1vw, 66px) 0;
}
.tp-collector-set {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--heading);
  font: 600 clamp(15px, 1.85vw, 27px)/1.15 var(--serif);
  cursor: pointer;
}
.tp-collector-set:is(:hover, :focus-visible) { color: color-mix(in srgb, var(--heading) 70%, var(--foil-gold)); }
.tp-collector-set[aria-pressed="true"]:focus-visible { outline-color: var(--accent); }
.tp-collector-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  align-items: end;
}
.tp-v5-home .tp-collector-status:not(:empty) { margin-block-start: 8px; }
.tp-v5-home .tp-collector-status:empty { min-height: 0; }
.tp-v5-home .tp-v5-faq details {
  border-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 72%, var(--bg)) 48%, transparent) 1;
}
.tp-v5-home .tp-v5-faq { width: min(93%, 1280px); margin-inline: auto; }
.tp-v5-home #faq { padding-block-end: clamp(26px, 2.6vw, 46px); }
.tp-v5-home .tp-v5-faq summary {
  min-height: 44px;
  padding: .17em 8px;
  font-size: clamp(18px, 2.15vw, 29px);
  line-height: 1.15;
}
.tp-v5-home .tp-v5-answer {
  max-width: 86ch;
  padding: 0 8px .65em;
  font-size: clamp(16px, 1.8vw, 24px);
}
.tp-body:has(.tp-v5-home) .tp-footer { padding-block: clamp(26px, 3vw, 48px) clamp(32px, 4vw, 62px); }
.tp-body:has(.tp-v5-home) .tp-footer-grid {
  width: min(89%, 1360px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .98fr) minmax(0, .86fr);
}
.tp-body:has(.tp-v5-home) .tp-footer-col { border: 0; padding: 0; }
.tp-body:has(.tp-v5-home) .tp-footer-inline { line-height: 1.28; }

@media (min-width: 761px) {
  .tp-v5-home .tp-v5-orientation { padding-top: clamp(16px, 2.6vw, 38px); }
}

@media (max-width: 860px) {
  [data-sol-home] .tp-v17[data-phase="revealed"] {
    display: grid;
    grid-template-areas: "hud" "heading" "card" "reading" "actions";
    gap: 12px;
    height: auto;
    padding-block: calc(var(--sol-header-row) + 12px) max(24px, env(safe-area-inset-bottom, 0px));
  }
  [data-sol-home] .tp-v17[data-phase="revealed"] .tp-stage-hud {
    grid-area: hud;
    justify-content: center;
    padding: 0;
  }
  [data-sol-home] .tp-v17[data-phase="revealed"] .tp-stage-reading { display: contents; }
  [data-sol-home] .tp-v17[data-phase="revealed"] .tp-stage-wing {
    position: relative;
    inset: auto;
    translate: none;
    justify-self: center;
    width: min(calc(100% - 32px), 430px);
  }
  [data-sol-home] .tp-v17[data-phase="revealed"] .tp-stage-wing-left { grid-area: heading; }
  [data-sol-home] .tp-v17[data-phase="revealed"] .tp-stage-wing-right { grid-area: reading; }
  [data-sol-home] .tp-v17[data-phase="revealed"] > .card {
    grid-area: card;
    position: relative;
    inset: auto;
    justify-self: center;
    margin-block: 8px;
  }
  [data-sol-home] .tp-v17[data-phase="revealed"] > .float-ground {
    grid-area: card;
    position: relative;
    inset: auto;
    justify-self: center;
    align-self: end;
    translate: 0 55%;
  }
  .tp-body [data-sol-home] .tp-v17[data-phase="revealed"] .tp-stage-foot {
    grid-area: actions;
    position: relative;
    inset: auto;
  }
  [data-sol-home] .tp-v17[data-phase="revealed"] .tp-stage-actions > * { min-height: 44px; }
}

@media (max-width: 760px) {
  .tp-body [data-sol-home] .tp-v17 {
    --v17-card-size: min(clamp(145px, 43vw, 204px), 39dvh);
    background-position: center, 26% 50%;
  }
  .tp-body:has(.tp-v5-home) .tp-sol-home .tp-showcase-grid {
    width: calc(100% - 24px);
    grid-template-columns: minmax(0, 1fr);
  }
  .tp-body:has(.tp-v5-home) .tp-sol-home [data-sol-home].tp-stage-shell .tp-showcase-left {
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
    gap: 12px;
    padding: 0;
  }
  .tp-body:has(.tp-v5-home) .tp-card-title { font-size: clamp(23px, 6.1vw, 39px); }
  .tp-body:has(.tp-v5-home) .tp-showcase-copy { display: grid; }
  .tp-body:has(.tp-v5-home) .tp-card-title { grid-row: 1; margin-top: 0; }
  .tp-body:has(.tp-v5-home) .tp-oneliner { margin-bottom: 10px; }
  .tp-body:has(.tp-v5-home) .tp-lens-row { grid-template-columns: 1fr 1fr 1fr; gap: 3px; margin-bottom: 10px; }
  .tp-body:has(.tp-v5-home) .tp-lens-row .tp-chip-btn { min-height: 44px; padding-inline: 3px; }
  .tp-body:has(.tp-v5-home) .tp-cta-stack .tp-btn { min-height: 44px; }
  .tp-body:has(.tp-v5-home) .tp-dual-visuals { width: min(87%, 365px); }
  .tp-body:has(.tp-v5-home) .tp-sealed-caption-btn { min-height: 44px; }
  .tp-v5-home .tp-v5-tools > li { padding-inline: 4px; }
  .tp-v5-home .tp-v5-tool-visual { width: min(85%, 182px); }
  .tp-v5-home .tp-v5-tool > span { font-size: 14px; }
  .tp-v5-home .tp-v5-metrics li:last-child {
    flex-basis: 100%;
    margin-top: 4px;
    padding-block: 8px;
    border-block: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, color-mix(in srgb, var(--foil-gold) 60%, var(--accent)), transparent) 1;
    color: var(--heading);
    font: 600 21px/1.24 var(--serif);
  }
  .tp-v5-home .tp-v5-metrics li:last-child::before { content: none; }
  .tp-v5-home .tp-v5-more { row-gap: 4px; }
  .tp-v5-home .tp-v5-more a { min-height: 44px; align-content: center; }
  .tp-v5-home .tp-v5-more a + a::before { display: none; }
  .tp-v5-home .tp-v5-steps { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tp-v5-home .tp-v5-steps li {
    display: grid;
    grid-template-columns: minmax(86px, 32%) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    gap: 4px 14px;
    align-content: center;
    padding: 0;
  }
  .tp-v5-home .tp-v5-step-visual {
    grid-row: 1 / span 3;
    height: clamp(126px, 39vw, 180px);
    margin: 0;
  }
  .tp-v5-home .tp-v5-steps h3 { font-size: clamp(19px, 5.4vw, 27px); }
  .tp-v5-home .tp-v5-steps p { font-size: 14px; }
  .tp-v5-home .tp-v5-sample-grid { width: 100%; grid-template-columns: minmax(82px, 31%) minmax(0, 1fr); }
  .tp-v5-home .tp-v5-orientation-heading { display: inline; }
  .tp-v5-home .tp-v5-sample-art { grid-row: span 2; width: 100%; }
  .tp-v5-home .tp-v5-orientation { grid-column: 2; padding-inline: 0; font-size: 14px; }
  .tp-v5-home .tp-v5-orientation h3 { white-space: normal; font-size: 19px; }
  .tp-v5-home .tp-v5-sample-link { grid-column: 1 / -1; margin-top: 4px; }
  .tp-v5-home :is(#popular-card-guides, #arcana-and-suits) { padding-inline: 0; }
  .tp-v5-home :is(.tp-v5-guide-rail, .tp-v5-suits) {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(156px, 42vw, 200px);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-block: 3px 12px;
  }
  .tp-v5-home :is(.tp-v5-guide-rail, .tp-v5-suits) > li { scroll-snap-align: start; }
  .tp-v5-home :is(.tp-v5-guide-rail, .tp-v5-suits) .sol-framed { width: 100%; }
  .tp-v5-home .tp-v5-guide-link h3,
  .tp-v5-home .tp-v5-suit-link strong { font-size: 18px; }
  .tp-v5-home .tp-v5-guide-link .tp-v5-link { display: inline; font-size: 14px; }
  .tp-v5-home .tp-v5-collector-grid { width: 100%; }
  .tp-v5-home .tp-v5-finishes .sol-framed { width: 100%; }
  .tp-v5-home .tp-v5-odds { padding-top: 6px; }
  .tp-v5-home :is(#collector-finishes, #faq) > h2 { text-align: left; font-size: 28px; }
  .tp-v5-home .tp-collector-mobile-heading { display: block; text-align: left; font-size: 24px; }
  .tp-v5-home .tp-v5-faq { width: 100%; }
  .tp-v5-home .tp-v5-faq summary { min-height: 44px; padding-block: .35em; }
  .tp-body:has(.tp-v5-home) .tp-footer-grid { width: calc(100% - 28px); }
  .tp-v5-home .tp-collector-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .tp-v5-home :is(#how-to-tarot-pull, #collector-finishes)::before { opacity: .44; background-size: auto 50%; }
}

@container tarot-workbench (inline-size < 940px) {
  .tp-body:has(.tp-v5-home) .tp-sol-home .tp-showcase-grid {
    width: min(calc(100% - 2 * var(--homepage-inset)), 790px);
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 3.4cqw, 38px);
  }
  .tp-body:has(.tp-v5-home) .tp-sol-home [data-sol-home].tp-stage-shell .tp-showcase-left {
    grid-template-columns: minmax(0, min(34%, 240px)) minmax(0, 1fr);
    gap: clamp(12px, 2.45cqw, 28px);
    padding: 0;
  }
  .tp-body:has(.tp-v5-home) .tp-lens-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-body:has(.tp-v5-home) .tp-dual-visuals { width: min(86%, 410px); }
}

@container tarot-workbench (inline-size <= 640px) {
  .tp-body:has(.tp-v5-home) .tp-sol-home .tp-showcase-grid {
    width: calc(100% - 32px);
    gap: 28px;
  }
  .tp-body:has(.tp-v5-home) .tp-sol-home [data-sol-home].tp-stage-shell .tp-showcase-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .tp-body:has(.tp-v5-home) .tp-showcase-card-wrap {
    width: min(52%, 34dvh);
    aspect-ratio: 5 / 8.6;
    margin-inline: auto;
  }
  .tp-body:has(.tp-v5-home) .tp-showcase-copy { padding: 0; text-align: left; }
  .tp-body:has(.tp-v5-home) .tp-card-title { font-size: max(28px, 7.2cqw); margin-bottom: 8px; }
  .tp-body:has(.tp-v5-home) .tp-oneliner { margin-block: 8px 12px; font-size: max(20px, 4.8cqw); line-height: 1.35; }
  .tp-body:has(.tp-v5-home) :is(.tp-meaning-copy, .tp-reflection-line) {
    font-size: clamp(16px, 3.9cqw, 18px);
    line-height: 1.6;
  }
  .tp-body:has(.tp-v5-home) .tp-lens-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-block: 4px 16px;
  }
  .tp-body:has(.tp-v5-home) .tp-lens-row .tp-chip-btn { flex: 1 1 96px; min-height: 44px; }
  .tp-body:has(.tp-v5-home) .tp-showcase-copy :is(.tp-cta-stack, .tp-cta-pair) {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .tp-body:has(.tp-v5-home) .tp-showcase-copy .tp-btn-wide { width: 100%; min-height: max(44px, 11cqw); }
  .tp-body:has(.tp-v5-home) .tp-showcase-copy .tp-btn-primary { min-height: max(48px, 11.8cqw); }
  .tp-body:has(.tp-v5-home) .tp-binder-strip { justify-content: start; }
  .tp-body:has(.tp-v5-home) .tp-showcase-right {
    border-block-start: 1px solid var(--tp-v5-soft-rule);
    padding-block-start: 20px;
  }
  .tp-body:has(.tp-v5-home) .tp-dual-visuals { width: min(70%, 32dvh); }
  .tp-body:has(.tp-v5-home) .tp-sealed-caption-btn { width: 100%; min-height: 44px; }
}

@media (max-width: 640px), (pointer: coarse) and (max-height: 500px) {
  .tp-body:has(.tp-v5-home) .tp-showcase-band {
    scroll-margin-block-start: calc(var(--sol-header-row) + 8px);
  }
  .tp-body:has(.tp-v5-home) .tp-v17 :is([data-stage-actions], [data-stage-empty-actions]):not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 2 * var(--homepage-inset));
  }
  .tp-body:has(.tp-v5-home) .tp-stage-actions > * { min-height: 44px; }
  .tp-body:has(.tp-v5-home) #sol-ask-drawer {
    scroll-margin-block-start: calc(var(--sol-header-row) + 8px);
  }
  .tp-body:has(.tp-v5-home) .tp-inline-drawer :is(.tp-input-row, .tp-actions-row) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .tp-body:has(.tp-v5-home) .tp-inline-drawer :is(.tp-input, .tp-btn, .tp-chip-btn) { min-height: 44px; }
  .tp-body:has(.tp-v5-home) .tp-inline-drawer :is(.tp-input, .tp-btn) { width: 100%; }
  .tp-body:has(.tp-v5-home) .tp-inline-drawer :is(.tp-input, .tp-drawer-lead) { font-size: 16px; }
  .tp-v5-home :is(.tp-v5-tool > span, .tp-v5-guide-link p, .tp-v5-sample-link) { font-size: 16px; }
  .tp-v5-home .tp-collector-section .tp-v5-primary { width: 100%; }
  .tp-body:has(.tp-v5-home) .tp-header[data-menu-open] .tp-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 640px) {
  .tp-body [data-sol-home] .tp-v17 {
    --v17-card-size: min(max(145px, calc(43vw + max(0px, (100vw - 390px) / 4))), 33dvh);
  }
  .tp-v5-home .tp-v5-faq summary { font-size: clamp(18px, 4.55vw, 23px); }
}

@media (max-width: 390px) and (max-height: 650px) {
  .tp-body [data-sol-home] .tp-v17 { --v17-card-size: min(33vw, 23dvh); }
  .tp-body [data-sol-home] .tp-v17[data-phase="revealed"] {
    gap: 8px;
    padding-block-start: calc(var(--sol-header-row) + 6px);
  }
}

@media (max-width: 1100px) {
  .tp-body:has(.tp-v5-home) .tp-menu-toggle { height: 44px; }
  .tp-body:has(.tp-v5-home) .tp-header[data-menu-open] {
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 98%, transparent) 82%, transparent);
    padding-bottom: 12px;
  }
  .tp-body:has(.tp-v5-home) .tp-header[data-menu-open] .tp-nav {
    width: 100%;
    max-height: max(76px, calc(100dvh - 150px - env(safe-area-inset-top, 0px)));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    pointer-events: auto;
  }
  .tp-body:has(.tp-v5-home) .tp-header[data-menu-open] :is(.tp-nav-link, .tp-nav-cta) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 12px;
  }
}

@media (pointer: coarse) {
  .tp-v5-home :is(.tp-v5-band-head > a, .tp-v5-odds nav a, .tp-v5-more a, .tp-v5-sample-link),
  .tp-body:has(.tp-v5-home) .tp-footer-mail a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@container tarot-module (inline-size < 730px) {
  .tp-v5-home .tp-v5-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 4cqw, 34px) 12px;
  }
  .tp-v5-home .tp-v5-tool-visual { width: min(82%, 185px); }
}

@container tarot-module (inline-size < 610px) {
  .tp-v5-home .tp-v5-tool-visual { width: min(82%, 25dvh); }
}

@container tarot-module (inline-size < 790px) {
  .tp-v5-home .tp-v5-steps { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .tp-v5-home .tp-v5-steps li {
    display: grid;
    grid-template-columns: minmax(80px, 29%) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 5px clamp(14px, 4cqw, 30px);
    align-content: center;
    align-items: center;
    padding: 0;
  }
  .tp-v5-home .tp-v5-step-visual { grid-row: span 2; height: clamp(118px, 38cqw, 186px); margin: 0; }
  .tp-v5-home .tp-v5-step-number { align-self: end; }
  .tp-v5-home .tp-v5-steps h3 { align-self: start; }
}

@container tarot-module (inline-size < 740px) {
  .tp-v5-home .tp-v5-sample-grid {
    width: 100%;
    grid-template-columns: minmax(85px, min(33%, 185px)) minmax(0, 1fr);
    gap: 16px;
  }
  .tp-v5-home .tp-v5-sample-art { width: 100%; }
  .tp-v5-home .tp-v5-orientation { grid-column: 2; padding: 0; }
  .tp-v5-home .tp-v5-orientation h3 { white-space: normal; }
  .tp-v5-home .tp-v5-sample-link { grid-column: 1 / -1; }
}

@container tarot-module (inline-size < 910px) {
  .tp-v5-home :is(.tp-v5-guide-rail, .tp-v5-suits) {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(156px, 37cqw, 204px);
    gap: clamp(12px, 2.4cqw, 22px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-block: 4px 12px;
  }
  .tp-v5-home :is(.tp-v5-guide-rail, .tp-v5-suits) > li { scroll-snap-align: start; }
  .tp-v5-home :is(.tp-v5-guide-rail, .tp-v5-suits) .sol-framed { width: 100%; }
  .tp-v5-home .tp-v5-suits .tp-v5-suit-link { padding-inline: 0; }
}

@container tarot-module (inline-size < 610px) {
  .tp-v5-home :is(.tp-v5-guide-rail, .tp-v5-suits) { grid-auto-columns: max(156px, 44cqw); }
}

@container tarot-module (inline-size < 930px) {
  .tp-v5-home .tp-v5-collector-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4.5cqw, 38px);
  }
  .tp-v5-home .tp-v5-odds { width: min(100%, 530px); margin-inline: auto; }
  .tp-v5-home .tp-collector-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3.4cqw, 30px);
  }
}

@container tarot-module (inline-size < 340px) {
  .tp-v5-home .tp-collector-shelf { grid-template-columns: minmax(0, 255px); justify-content: center; }
}

@media (max-width: 640px) {
  .tp-body:has(.tp-v5-home) .tp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
  .tp-body:has(.tp-v5-home) .tp-footer-brand { grid-column: 1 / -1; }
  .tp-body:has(.tp-v5-home) .tp-footer-inline { gap: 7px; }
  .tp-body:has(.tp-v5-home) .tp-footer-inline a { display: inline-flex; align-items: center; min-height: 32px; }
}

@media (pointer: coarse) {
  .tp-body:has(.tp-v5-home) .tp-sealed-caption-btn { min-height: 44px; }
  .tp-body:has(.tp-v5-home) .tp-binder-link { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: no-preference) {
  .tp-body:has(.tp-v5-home) [data-home-float] {
    --float-travel: clamp(5px, .68vw, 9px);
    animation: tp-home-card-float 10s ease-in-out var(--float-phase, 0s) infinite both paused;
  }
  .tp-body:has(.tp-v5-home) [data-home-float][data-floating-visible] {
    animation-play-state: running;
    will-change: translate;
  }
  .tp-v5-home :is(.tp-v5-guide-rail, .tp-v5-suits) { padding-block-start: 12px; }
}
@keyframes tp-home-card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 calc(-1 * var(--float-travel)); }
}

/* Inner pages use the same reading scale, touch targets, and face proportions. */
.tp-body:not(:has(.tp-v5-home)) {
  --inner-inset: clamp(16px, 4vw, 48px);
  font-size: clamp(16px, 1.19vw, 18px);
  line-height: 1.6;
}
.tp-body:not(:has(.tp-v5-home)) .tp-wrap {
  width: min(1340px, calc(100% - 2 * var(--inner-inset)));
}
.tp-body:not(:has(.tp-v5-home)) :is(.tp-prose, .tp-faq-section > .tp-wrap) { max-width: 76ch; }
.tp-body:not(:has(.tp-v5-home)) .tp-tool-head-inner .tp-crumb { margin-bottom: 16px; }
.tp-body:not(:has(.tp-v5-home)) :is(.tp-btn, .tp-input, .tp-chip-btn, .tp-faq-item summary, .tp-v5-faq summary) {
  min-height: 44px;
}
.tp-body:not(:has(.tp-v5-home)) :is(.tp-input, .tp-drawer-lead) { font-size: 16px; }
.tp-body:not(:has(.tp-v5-home)) .tp-prose a.tp-btn { text-decoration: none; }
.tp-body:not(:has(.tp-v5-home)) .tp-prose a.tp-btn-primary { color: var(--bg); }
.tp-body:not(:has(.tp-v5-home)) .tp-v5-guide-intro .sol-framed {
  aspect-ratio: 25 / 43;
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: 0 14px 32px var(--bg);
}
.tp-body:not(:has(.tp-v5-home)) .tp-v5-guide-intro .sol-print { inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tp-love-intro { grid-template-areas: "art copy" "art result"; }
.tp-love-intro [data-inner-foil] { grid-area: art; min-width: 0; }
.tp-love-copy { grid-area: copy; }
.tp-love-intro [data-love-result] { grid-area: result; }
.tp-v5-love-form > select { min-height: 44px; }
.tp-v5-love-form > button { min-height: 48px; }
.tp-card-guide-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tp-card-guide-link, .tp-card-guide-links a { display: inline-flex; align-items: center; min-height: 44px; }
.tp-card-tile details summary { cursor: pointer; align-content: center; min-height: 44px; }
.tp-cards-grid .tp-card-tile > img { aspect-ratio: 25 / 43; }
.tp-binder-art {
  position: relative;
  aspect-ratio: 25 / 43;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 5%;
}
.tp-binder-art :is(img, canvas) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tp-binder-art canvas, .tp-binder-art[data-finish-painted] img { visibility: hidden; }
.tp-binder-art[data-finish-painted] canvas { visibility: visible; }
.tp-card-tile.is-locked .tp-binder-art { opacity: .55; }
.tp-prose:has(.tp-pricing-grid) { max-width: 1120px; }
.tp-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.tp-price-card {
  padding: clamp(16px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.tp-price-card .tp-eyebrow { margin-bottom: 8px; }
.tp-prose .tp-price-card h2 { margin-block: 0 8px; }
.tp-price-card .tp-price-tag { color: var(--heading); font: 600 1.65rem/1.2 var(--serif); }
.tp-ticket-form { display: grid; gap: 12px; }
.tp-ticket-form :is(input,textarea) { width: 100%; min-width: 0; font-size: 16px; }
.tp-ticket-form input { min-height: 44px; }
.tp-ticket-form textarea { min-height: 120px; resize: vertical; }

@media (max-width: 1100px) {
  .tp-body:not(:has(.tp-v5-home)) .tp-menu-toggle { height: 44px; }
  .tp-body:not(:has(.tp-v5-home)) .tp-header[data-menu-open] .tp-nav {
    max-height: max(76px, calc(100dvh - 150px));
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .tp-body:not(:has(.tp-v5-home)) .tp-header[data-menu-open] :is(.tp-nav-link,.tp-nav-cta) {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 12px;
  }
}

@media (max-width: 640px) {
  .tp-body:not(:has(.tp-v5-home)) .tp-header[data-menu-open] .tp-nav {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .tp-body:not(:has(.tp-v5-home)) .tp-h1 { font-size: clamp(28px, 7.2vw, 32px); }
  .tp-body:not(:has(.tp-v5-home)) :is(.tp-tool-head,.tp-tool-stage-wrap,.tp-section) { padding-block: 20px; }
  .tp-body:not(:has(.tp-v5-home)) .tp-v5-guide-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .tp-body:not(:has(.tp-v5-home)) .tp-v5-guide-intro figure { width: min(52%, 34dvh); }
  .tp-body:not(:has(.tp-v5-home)) .tp-prose a.tp-btn { width: 100%; }
  .tp-love-intro { grid-template-areas: "copy" "art" "result"; }
  .tp-body:not(:has(.tp-v5-home)) :is(.tp-input-row,.tp-actions-row,.tp-v5-love-form) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .tp-body:not(:has(.tp-v5-home)) :is(.tp-input-row,.tp-actions-row,.tp-v5-love-form,.tp-ticket-form) :is(.tp-input,.tp-btn,.tp-v5-primary) {
    width: 100%;
    max-width: none;
  }
  .tp-body:not(:has(.tp-v5-home)) .tp-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .tp-body:not(:has(.tp-v5-home)) .tp-card-tile { min-width: 0; padding: 8px; }
  .tp-body:not(:has(.tp-v5-home)) .tp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .tp-body:not(:has(.tp-v5-home)) .tp-footer-brand { grid-column: 1 / -1; }
  .tp-body:not(:has(.tp-v5-home)) .tp-footer-col { min-width: 0; padding: 0; border: 0; }
  .tp-body:not(:has(.tp-v5-home)) .tp-footer-inline { display: grid; gap: 0; }
  .tp-body:not(:has(.tp-v5-home)) .tp-footer-inline a { display: inline-flex; align-items: center; min-height: 32px; }
}

/* Shared foil pack stage */
@scope (:is([data-sol-home], [data-inner-foil])) {
    .tp-v17::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      background: radial-gradient(ellipse at var(--anchor) 31%, var(--tear-flash) 0%, var(--tear-flash-halo) 22%, transparent 52%);
      opacity: 0;
      pointer-events: none;
    }
    @media (prefers-reduced-motion: no-preference) {
      .tp-v17:is([data-rarity="gilded"], [data-rarity="eclipse"])[data-phase="opening"]::after {
        animation: sol-v17-illuminate 910ms ease-out both;
      }
    }
    @keyframes sol-v17-illuminate {
      0% { opacity: .19; }
      16% { opacity: .8; }
      100% { opacity: 0; }
    }

    .float-light {
      position: absolute;
      inset: 0;
      z-index: 0;
      background: radial-gradient(ellipse 34% 69% at var(--anchor) 46%, var(--scene-aura), var(--scene-aura-outer) 44%, transparent 71%);
      pointer-events: none;
    }
    .float-light::after {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--tier-halo, none);
      opacity: 0;
    }
    .tp-v17:is([data-phase="opening"], [data-phase="separating"], [data-phase="flipping"], [data-phase="revealed"]) .float-light::after {
      opacity: 1;
      transition: opacity 720ms ease;
    }
    .float-ground {
      position: absolute;
      left: var(--anchor);
      top: calc(var(--packet-top) + var(--pack-size) * 1.8 + clamp(10px, 1.6dvh, 18px));
      width: min(70%, var(--pack-size) * 1.55);
      height: clamp(25px, 6dvh, 50px);
      z-index: 1;
      translate: -50% 0;
      background: radial-gradient(ellipse, var(--scene-aura) 0%, var(--scene-aura-outer) 32%, transparent 69%);
      pointer-events: none;
    }
    .float-ground::before {
      content: "";
      position: absolute;
      inset: 17% 17%;
      background: radial-gradient(ellipse, #020307f5 6%, #05070bc0 36%, transparent 72%);
      transform: translateX(var(--shadow-x, 0px)) scale(var(--shadow-width, .98), var(--shadow-depth, .78));
      opacity: var(--shadow-opacity, .83);
    }
    .tp-v17[data-phase="revealed"] .float-ground::before {
      --shadow-x: 0px;
      --shadow-width: .97;
      --shadow-depth: .78;
      --shadow-opacity: .80;
      animation: sol-v17-card-shadow var(--card-settle) ease-in-out both;
    }
    @keyframes sol-v17-card-shadow {
      0% { transform: translateX(0px) scale(.98, .78); opacity: .81; }
      30% { transform: translateX(14px) scale(1.17, .91); opacity: .65; }
      64% { transform: translateX(-9px) scale(.89, .69); opacity: .91; }
      100% { transform: scale(.97, .78); opacity: .80; }
    }

    .packet {
      position: absolute;
      z-index: 2;
      width: var(--pack-size);
      left: calc(var(--anchor) - var(--pack-size) / 2);
      aspect-ratio: 5 / 9;
      display: grid;
      place-items: center;
      user-select: none;
      -webkit-user-select: none;
      perspective: 720px;
      transform: perspective(800px) translate(-6px, 4px) rotate(var(--roll)) rotateY(var(--flex));
      transition: transform .38s cubic-bezier(.16,1.42,.4,1), opacity .45s;
    }
    .tp-v17[data-phase="sealed"] .packet { transform: none; }
    @media (prefers-reduced-motion: no-preference) {
      .tp-v17[data-phase="sealed"] .packet:not([data-rendered]) {
        animation: sol-v17-hover-pack var(--pack-period) ease-in-out infinite alternate;
      }
    }
    .tp-v17[data-availability="empty"] .packet {
      --pack-front: var(--pack-empty-front);
      --pack-crimp-image: var(--pack-empty-front);
      --pack-crimp-metal: none;
    }
    .tp-v17[data-availability="empty"] .float-light {
      background: radial-gradient(ellipse 35% 65% at var(--anchor) 49%, var(--empty-aura), var(--empty-aura-outer) 45%, transparent 75%);
    }
    .tp-v17[data-availability="empty"] .float-ground {
      background: radial-gradient(ellipse, var(--empty-aura-outer), transparent 72%);
    }
    .draw-count {
      position: absolute;
      z-index: 6;
      bottom: 4.4%;
      left: var(--anchor);
      translate: -50% 0;
      min-width: 43px;
      padding: 4px 12px;
      border: 1px solid var(--empty-aura);
      border-radius: 30px;
      color: var(--empty-light);
      background: color-mix(in srgb, var(--empty-dark) 44%, #101214);
      font: 650 13px/1.55 "DM Sans", sans-serif;
      font-variant-numeric: tabular-nums;
      text-align: center;
    }
    .empty-explore {
      position: absolute;
      z-index: 6;
      right: clamp(12px, 2.6vw, 28px);
      bottom: clamp(10px, 2.3vw, 24px);
      display: flex;
      align-items: center;
      gap: 11px;
      min-height: 43px;
      padding: 0 13px;
      border: 1px solid #89664a;
      border-radius: 7px;
      background: #211a17f0;
      color: #f0d2a6;
      font: 650 13px/1.2 "DM Sans", sans-serif;
    }
    .empty-explore:hover { background: #35281f; border-color: #c89e70; }
    .explore-icon {
      position: relative;
      width: 17px;
      height: 19px;
      flex: none;
      transform-origin: 45% 80%;
      animation: explore-nudge 7.4s .75s ease-in-out infinite;
    }
    .explore-icon::before, .explore-icon::after {
      content: "";
      position: absolute;
      width: 10px;
      height: 14px;
      border: 1px solid currentColor;
      border-radius: 2px;
      background: #2b221c;
    }
    .explore-icon::before { left: 1px; top: 3px; transform: rotate(-16deg); }
    .explore-icon::after { left: 6px; top: 2px; transform: rotate(11deg); }
    @keyframes explore-nudge {
      0%, 13%, 100% { transform: none; }
      3% { transform: rotate(-12deg) translateX(-1px); }
      6% { transform: rotate(10deg) translateX(1px); }
      9% { transform: rotate(-4deg); }
    }
    @keyframes sol-v17-hover-pack {
      0%, 100% { transform: perspective(800px) translate3d(0, 0, 0) rotateX(0) rotateY(0) rotateZ(0); }
      28% { transform: perspective(800px) translate3d(3.5%, -3%, 21px) rotateX(7deg) rotateY(-15deg) rotateZ(4deg); }
      58% { transform: perspective(800px) translate3d(-4%, 1.2%, -18px) rotateX(-6deg) rotateY(12deg) rotateZ(-3deg); }
      81% { transform: perspective(800px) translate3d(-2%, -2.5%, 12px) rotateX(3deg) rotateY(7deg) rotateZ(-1deg); }
    }
    @keyframes sol-v17-fallback-shadow {
      0%, 100% { transform: scale(.98, .78); opacity: .81; }
      28% { transform: translateX(calc(var(--pack-size) * .035)) scale(1.12, .91); opacity: .68; }
      58% { transform: translateX(calc(var(--pack-size) * -.04)) scale(.87, .69); opacity: .93; }
      81% { transform: translateX(calc(var(--pack-size) * -.02)) scale(1.08, .88); opacity: .72; }
    }
    @media (prefers-reduced-motion: no-preference) {
      .tp-v17[data-phase="sealed"]:has(.packet:not([data-rendered])) .float-ground::before {
        animation: sol-v17-fallback-shadow var(--pack-period) ease-in-out infinite alternate;
      }
    }
    .foil-render {
      position: absolute;
      inset: -33% -55% -33%;
      width: 210%;
      height: 166%;
      z-index: 2;
      opacity: 0;
      transition: opacity 180ms ease;
      pointer-events: none;
    }
    .packet :is(.packet-body, .seal-foil) { transition: opacity 180ms ease; }
    .packet[data-rendered] .foil-render { opacity: 1; }
    .packet[data-rendered] :is(.packet-body, .seal-foil) { opacity: 0; }
    .seam-light {
      position: absolute;
      z-index: 3;
      left: 1.6%;
      top: var(--crimp-height);
      width: calc(var(--tear) * .96);
      height: var(--seam-height, 10%);
      transform: translateY(-100%);
      transform-origin: left bottom;
      opacity: var(--glow);
      background: var(--seam-fill, radial-gradient(ellipse at 53% 100%, #eef5fc, #d8e5f25e 29%, transparent 68%));
      filter: blur(var(--seam-blur, 2px));
      mix-blend-mode: screen;
      pointer-events: none;
    }
    .packet[data-rendered] .seam-light {
      left: var(--mouth-left, 1.6%);
      top: var(--mouth-top, var(--crimp-height));
      width: var(--mouth-span, 0px);
      transform: translateY(-100%) rotate(var(--mouth-slope, 0deg));
    }
    .tear-chips {
      position: absolute;
      inset: 0;
      z-index: 5;
      pointer-events: none;
    }
    .tear-chips i {
      position: absolute;
      left: var(--origin-x);
      top: var(--origin-y);
      width: calc(var(--size) * var(--chip-scale, .39));
      height: calc(var(--size) * var(--chip-scale, .39) * .72);
      filter: drop-shadow(0 1px 2px var(--chip-shadow, #d4e2ec44));
      animation: sol-v17-shed-foil var(--life) cubic-bezier(.23,.67,.51,1) both;
    }
    .tear-chips i::before {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      background:
        repeating-linear-gradient(88deg, color-mix(in srgb, var(--fragment-light) 12%, transparent) 0 1px, transparent 1px 3px),
        linear-gradient(139deg, var(--fragment-dark) 2%, color-mix(in srgb, var(--fragment-dark) 54%, var(--fragment-light)) 26%, var(--fragment-light) 48%, var(--fragment-dark) 67%, color-mix(in srgb, var(--fragment-light) 73%, var(--fragment-dark)) 96%);
      clip-path: polygon(2% 25%, 24% 15%, 43% 20%, 72% 1%, 99% 27%, 77% 52%, 88% 70%, 56% 99%, 36% 72%, 8% 85%);
    }
    .tear-chips .foil-ribbon { height: calc(var(--size) * var(--chip-scale, .39) * .53); }
    .tear-chips .foil-stardust {
      width: calc(var(--size) * .43);
      height: calc(var(--size) * .43);
      filter: drop-shadow(0 0 4px #a4dcff);
    }
    .tear-chips .foil-stardust::before {
      clip-path: polygon(50% 0, 62% 36%, 100% 50%, 62% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%);
      background: linear-gradient(125deg, #b9a4ff, #f6f4ee 49%, #7ef0ff);
    }
    .tear-chips .foil-ribbon::before {
      background:
        repeating-linear-gradient(85deg, color-mix(in srgb, var(--fragment-light) 25%, transparent) 0 1px, transparent 1px 3px),
        linear-gradient(17deg, var(--fragment-dark) 5%, color-mix(in srgb, var(--fragment-dark) 70%, var(--fragment-light)) 41%, var(--fragment-light) 57%, color-mix(in srgb, var(--fragment-light) 61%, var(--fragment-dark)) 92%);
      clip-path: polygon(0 29%, 24% 13%, 56% 22%, 99% 0, 87% 43%, 100% 63%, 65% 64%, 38% 98%, 25% 76%, 2% 83%);
    }
    @keyframes sol-v17-shed-foil {
      0% { opacity: 1; transform: translate(0, 0) rotate(var(--spin)) scale(.82); }
      26% { opacity: 1; transform: translate(calc(var(--drift) * .51), calc(var(--lift) * .66)) rotate(calc(var(--spin) + 55deg)) scale(1.12, .92); }
      57% { opacity: 1; transform: translate(calc(var(--drift) * .81), var(--lift)) rotate(calc(var(--spin) + 107deg)) scale(.90, .65); }
      82% { opacity: .83; }
      100% { opacity: 0; transform: translate(var(--drift), calc(var(--lift) * .5 + 27px)) rotate(calc(var(--spin) + 186deg)) scale(.70, .83); }
    }
    @keyframes sol-v17-fade-foil {
      from { opacity: .94; transform: rotate(var(--spin)); }
      to { opacity: 0; transform: translate(calc(var(--drift) * .10), -9px) rotate(var(--spin)); }
    }
    .packet-body {
      position: absolute;
      inset: var(--crimp-height) 0;
      overflow: hidden;
      border-radius: 1px 1px 4px 4px;
      background-image: var(--pack-front);
      background-size: 100% calc(100% / (1 - 2 * var(--crimp-ratio)));
      background-position: center;
      background-repeat: no-repeat;
    }

    .seal-foil {
      position: absolute;
      inset: 0 0 auto;
      height: var(--crimp-height);
      pointer-events: none;
    }
    .seal-foil::before {
      content: "";
      position: absolute;
      inset: 0;
      clip-path: var(--crimp-cut);
      background:
        var(--pack-crimp-image) center top / 100% calc(100% / var(--crimp-ratio)) no-repeat,
        var(--pack-crimp-metal, none);
    }
    .seal-fixed { clip-path: inset(0 0 0 var(--tear)); transition: clip-path .38s ease-out; }
    .seal-tail { inset: auto 0 0; }
    .seal-tail::before {
      clip-path: var(--crimp-cut-bottom, var(--crimp-cut));
      background-position: center bottom;
    }
    .seal-flight {
      position: absolute;
      inset: 0 0 auto;
      height: var(--crimp-height);
      z-index: 4;
      transform: translate(var(--shift), var(--rise)) rotate(var(--curl)) rotateX(var(--fold));
      transform-origin: var(--tear) 90%;
      transition: transform .38s cubic-bezier(.16,1.42,.4,1);
      pointer-events: none;
    }
    .seal-loose { height: 100%; clip-path: inset(0 calc(100% - var(--tear)) 0 0); transition: clip-path .38s ease-out; }
    .seal, .pack-control {
      position: absolute;
      border: 0;
      border-radius: 6px;
      background: transparent;
      cursor: grab;
    }
    .seal { z-index: 8; inset: -18px -12px auto -12px; height: 24%; width: auto; touch-action: none; }
    .pack-control { z-index: 7; inset: 0 0 -5px; touch-action: pan-y; }
    .packet[data-rendered] .seal { translate: var(--seam-shift, 0 0); }
    .packet[data-rendered] .pack-control { translate: var(--pack-shift, 0 0); }
    .seal:enabled { cursor: grab; }
    .pack-control:enabled { cursor: pointer; }
    .tp-v17[data-availability="empty"] :is(.seal, .pack-control) { cursor: default; }
    .tp-v17:is([data-phase="sealed"], [data-phase="pulling"], [data-phase="keyboard-pull"], [data-phase="auto-pull"], [data-phase="finishing"], [data-phase="rewinding"]) :is(.packet, .seal-fixed, .seal-flight, .seal-loose) { transition: none; }
    .tp-v17[data-phase="pulling"] .seal { cursor: grabbing; }
    .tp-v17:is([data-phase="opening"], [data-phase="separating"], [data-phase="flipping"], [data-phase="revealed"], [data-phase="auto-pull"], [data-phase="finishing"], [data-phase="rewinding"]) :is(.seal, .pack-control) { visibility: hidden; }
    .tp-v17:is([data-phase="opening"], [data-phase="separating"], [data-phase="flipping"], [data-phase="revealed"]) .seal-fixed { visibility: hidden; }
    .tp-v17:is([data-phase="opening"], [data-phase="separating"], [data-phase="flipping"], [data-phase="revealed"]) .packet-body {
      clip-path: polygon(0 3%, 5% 1%, 11% 3%, 17% 0, 27% 2%, 35% 0, 43% 3%, 52% 1%, 61% 3%, 68% 1%, 77% 2%, 85% 0, 92% 3%, 100% 1%, 100% 100%, 0 100%);
    }
    .tp-v17[data-phase="opening"] .seal-flight { animation: sol-v17-fly-strip .48s cubic-bezier(.2,.64,.43,1) forwards; }
    .tp-v17:is([data-phase="separating"], [data-phase="flipping"], [data-phase="revealed"]) .seal-flight { visibility: hidden; }
    .tp-v17[data-phase="opening"] .packet { z-index: 3; }
    .tp-v17:is([data-phase="flipping"], [data-phase="revealed"]) .packet { transform: var(--discarded-packet); opacity: .33; }
    @keyframes sol-v17-fly-strip {
      from { opacity: 1; }
      45% { opacity: .9; }
      to { transform: translate(97%, -132px) rotate(42deg) rotateX(150deg); opacity: 0; }
    }

    .card {
      --card-rest: translate3d(0, 0px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
      width: var(--card-size);
      left: calc(var(--anchor) - var(--card-size) / 2);
      aspect-ratio: 5 / 8.6;
      position: absolute;
      z-index: 3;
      border: 0;
      border-radius: 10px;
      padding: 0;
      background: transparent;
      perspective: 560px;
      visibility: hidden;
    }
    .tp-v17:is([data-phase="opening"], [data-phase="separating"], [data-phase="flipping"], [data-phase="revealed"]) .card { visibility: visible; }
    .tp-v17[data-phase="opening"] .card { z-index: 2; }
    .card-float, .card-turn {
      position: absolute;
      inset: 0;
      border-radius: inherit;
      transform-style: preserve-3d;
    }
    .tp-v17[data-phase="revealed"] .card-float {
      transform: var(--card-rest);
      animation: sol-v17-settle-card var(--card-settle) ease-in-out backwards,
        sol-v17-card-breath 5.8s var(--card-settle) ease-in-out infinite;
    }
    @keyframes sol-v17-settle-card {
      0% { transform: none; }
      36% { transform: translate3d(5px, -9px, 13px) rotateX(-3deg) rotateY(-7deg) rotateZ(-1deg); }
      69% { transform: translate3d(-3px, 3px, -5px) rotateX(2deg) rotateY(4deg) rotateZ(.55deg); }
      100% { transform: var(--card-rest); }
    }
    @keyframes sol-v17-card-breath {
      0%, 100% { transform: var(--card-rest); }
      25% { transform: translate3d(0, -6px, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
      75% { transform: translate3d(0, 4px, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    }
    .tp-v17[data-phase="revealed"] .card-turn { transform: rotateY(180deg); }
    .card-edge {
      position: absolute;
      background:
        repeating-linear-gradient(0deg, #71391b3b 0 1px, transparent 1px 3px),
        linear-gradient(90deg, var(--metal-edge-dark), color-mix(in srgb, var(--metal-edge-dark) 64%, var(--metal-edge-light)) 18%, var(--metal-edge-light) 47%, var(--metal-edge-dark) 69%, var(--metal-edge-light) 91%);
      pointer-events: none;
    }
    .card-edge-left, .card-edge-right { inset-block: 4px; width: 7px; transform: rotateY(90deg); }
    .card-edge-left { left: -3.5px; }
    .card-edge-right { right: -3.5px; }
    .card-edge-top, .card-edge-bottom {
      inset-inline: 4px;
      height: 7px;
      background:
        repeating-linear-gradient(90deg, #71391b3b 0 1px, transparent 1px 3px),
        linear-gradient(0deg, var(--metal-edge-dark), color-mix(in srgb, var(--metal-edge-dark) 56%, var(--metal-edge-light)) 18%, var(--metal-edge-light) 47%, var(--metal-edge-dark) 69%, var(--metal-edge-light) 91%);
      transform: rotateX(90deg);
    }
    .card-edge-top { top: -3.5px; }
    .card-edge-bottom { bottom: -3.5px; }
    .card-face {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border-radius: inherit;
      backface-visibility: hidden;
      box-shadow: 0 9px 60px #f0a7473a, 12px 22px 26px #0605039e;
    }
    .card-back {
      transform: translateZ(3.5px);
      border: 6px double var(--metal-edge-light);
      outline: 1px solid var(--metal-edge-dark);
      background: var(--card-base) var(--card-back) center / cover;
    }
    .card-front {
      transform: rotateY(180deg) translateZ(3.5px);
      overflow: hidden;
      isolation: isolate;
      background: var(--card-base);
      box-shadow: 0 0 1px 1px var(--metal-glint), 0 0 24px var(--scene-aura-outer), 12px 22px 26px #0605039e;
    }
    .card-front canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }
    .card-front::after {
      position: absolute;
      inset: 0;
      z-index: 2;
      border-radius: inherit;
      pointer-events: none;
    }

}

:is([data-sol-home], [data-inner-foil]) .tp-v17 {
  /* Keep v17's scene dimensions for the physical objects inside the full-screen layout. */
  --v17-inner-width: min(1478px, 100vw - 90px);
  --v17-inner-height: calc(clamp(570px, 80dvh, 850px) - 2px);
  --v17-center: 45%;
  --object-y: var(--v17-center);
  --v17-card-size: clamp(163px, var(--v17-inner-width) * .21, 247px);
  --card-size: var(--v17-card-size);
  --pack-size: calc(var(--card-size) * 1.07);
  --packet-top: calc(var(--object-y) - var(--pack-size) * .9);
  --card-top: calc(var(--object-y) - var(--card-size) * .86);
  --discarded-packet: translate(-49%, 61%) rotate(-16deg) scale(.48);
  --scene-position: 50% 50%;
  --fragment-light: #e9eef3;
  --fragment-dark: #586774;
  --pack-crimp-image: var(--pack-front);
  --crimp-ratio: .065;
  --card-settle: .82s;
  --foil-dark: #192334;
  --foil-light: #98a3bb;
  height: 100svh;
  min-height: 0;
  background-image:
    radial-gradient(
      ellipse min(52vw, 560px) min(44dvh, 350px) at calc(var(--anchor) - var(--pack-size) * .17)
      calc(var(--object-y) - var(--pack-size) * .85),
      rgb(220 230 246 / .13), rgb(194 210 233 / .05) 51%, transparent 91%
    ),
    linear-gradient(180deg, #070a12b0 0%, #070a1240 16%, #070a1200 42%),
    radial-gradient(ellipse at 50% 56%, #080b1300 42%, #080b1355 100%),
    var(--scene-image);
  background-position: center, center, center, var(--scene-position);
  background-size: 100% 100%, 100% 100%, 100% 100%, cover;
  background-repeat: no-repeat;
  border-bottom-color: #595b69;
}
:is([data-sol-home], [data-inner-foil]) .tp-v17[data-rarity="gilded"] {
  --fragment-light: #ffdd86;
  --fragment-dark: #814317;
  --chip-scale: .80;
  --chip-shadow: #f0a84c78;
  --seam-height: 31%;
  --seam-blur: 5px;
  --seam-fill: radial-gradient(ellipse at 53% 100%, #fff1b6, #ffe08ac2 17%, #e8ad425b 41%, transparent 75%);
  --tear-flash: #e8ad425e;
  --tear-flash-halo: #9e6d282b;
  --tier-halo: radial-gradient(ellipse calc(var(--card-size) * 1.03) calc(var(--card-size) * 1.2) at var(--anchor) var(--object-y), rgb(226 182 92 / .31), rgb(189 127 42 / .13) 57%, transparent 83%);
}
:is([data-sol-home], [data-inner-foil]) .tp-v17[data-rarity="eclipse"] {
  --fragment-light: #aee9f5;
  --fragment-dark: #383359;
  --chip-scale: .68;
  --chip-shadow: #9a96ff94;
  --seam-height: 43%;
  --seam-blur: 4px;
  --seam-fill: radial-gradient(ellipse at 58% 100%, #fff0be, #7ef0ffbb 19%, #b9a4ff8f 39%, transparent 74%);
  --tear-flash: #a7cafa91;
  --tear-flash-halo: #614cbc54;
  --tier-halo: radial-gradient(ellipse calc(var(--card-size) * 1.18) calc(var(--card-size) * 1.28) at calc(var(--anchor) - var(--card-size) * .14) var(--object-y), #7867c478, #42357437 55%, transparent 82%),
    radial-gradient(ellipse calc(var(--card-size) * 1.20) calc(var(--card-size) * .97) at calc(var(--anchor) + var(--card-size) * .38) var(--object-y), #408ab54b, #24234a51 54%, transparent 87%);
}
.tp-v17[data-rarity="common"] .tp-stage-meta { color: #d4dce4; }
.tp-v17[data-rarity="gilded"] .tp-stage-meta { color: #f3d392; text-shadow: 0 0 11px #be83354f; }
.tp-v17[data-rarity="eclipse"] .tp-stage-meta {
  color: #cfc8f6;
  background: linear-gradient(102deg, #d5c8ff, #c2f1ff 49%, #efdcaf);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
@supports (top: round(nearest, 1px, 1px)) {
  :is([data-sol-home], [data-inner-foil]) .tp-v17 {
    --object-y: calc(
      var(--v17-inner-height) / 2 +
      round(nearest, var(--v17-center) - var(--v17-inner-height) / 2, 1px)
    );
  }
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-hud {
  justify-content: flex-end;
  width: calc(100% - 5.4%);
  padding-top: calc(var(--sol-header-row) + clamp(16px, 3dvh, 28px));
  transition: opacity 360ms ease, visibility 0s;
}
:is([data-sol-home], [data-inner-foil]) .tp-hud-status {
  font: 400 calc(16 * var(--sol-unit))/1.15 var(--sol-serif);
  color: var(--sol-paper);
}
:is([data-sol-home], [data-inner-foil]) .tp-hud-sep { color: #aaaabb; }
:is([data-sol-home], [data-inner-foil]) .tp-stage-foot { bottom: max(4dvh, env(safe-area-inset-bottom, 0px)); gap: calc(7 * var(--sol-unit)); padding-inline: 12px; text-align: center; }
:is([data-sol-home], [data-inner-foil]) .tp-stage-hint { font: italic 400 calc(18 * var(--sol-unit))/1.2 var(--sol-serif); color: #eee9f0; }
:is([data-sol-home], [data-inner-foil]) .tp-v17:not(:is([data-availability="empty"], [data-opening-error])) .tp-stage-hint {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.tp-body:not([data-scrolled="true"]) [data-sol-home] .tp-v17:not(:is([data-intro-complete], [data-availability="empty"], [data-opening-error])) .tp-stage-hud {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 360ms ease, visibility 0s 360ms;
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-reading {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-wing {
  position: absolute;
  top: var(--object-y);
  translate: 0 -50%;
  color: var(--sol-paper);
  text-shadow: 0 2px 18px #060910;
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-wing-left {
  right: calc(50% + var(--card-size) * .66);
  max-width: min(30vw, 340px);
  text-align: right;
  --mist-offset: -14px;
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-wing-right {
  left: calc(50% + var(--card-size) * .66);
  max-width: min(30vw, 360px);
  text-align: left;
  --mist-offset: 14px;
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-meta {
  margin: 0 0 10px;
  color: #dac39b;
  font: 600 12px/1.4 "DM Sans", sans-serif;
  letter-spacing: .12em;
  --mist-duration: 420ms;
  --mist-delay: 80ms;
  --mist-blur: 6px;
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-name {
  margin: 0;
  color: #f2e3ca;
  font: 500 clamp(30px, 3.2vw, 48px)/1.08 Fraunces, Georgia, serif;
  text-shadow: 0 0 27px #e8bd6e40, 0 4px 24px #030607;
  text-wrap: balance;
  --mist-duration: 520ms;
  --mist-delay: 180ms;
  --mist-blur: 6px;
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-name::after {
  content: "";
  display: block;
  width: min(48%, 112px);
  height: 1px;
  margin: 15px 0 0 auto;
  background: linear-gradient(90deg, transparent, #d9b778);
  transform-origin: right;
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-line {
  margin: 0;
  color: #f3e9da;
  font: italic 400 clamp(19px, 1.75vw, 25px)/1.26 Fraunces, Georgia, serif;
  text-wrap: balance;
  --mist-duration: 540ms;
  --mist-delay: 360ms;
  --mist-blur: 6px;
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-classic {
  margin: 12px 0 0;
  color: #c7cbd3;
  font: 400 15px/1.5 "DM Sans", sans-serif;
  --mist-duration: 500ms;
  --mist-delay: 540ms;
  --mist-blur: 5px;
}
:is([data-sol-home], [data-inner-foil]) .tp-stage-actions:not([hidden]) { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
:is([data-sol-home], [data-inner-foil]) .tp-stage-actions > * { display: inline-grid; place-items: center; min-height: 42px; pointer-events: auto; }
:is([data-sol-home], [data-inner-foil]) .tp-stage-actions .tp-stage-meaning { background: #d8bc88; border-color: #d8bc88; color: #151515; }
:is([data-sol-home], [data-inner-foil]) .tp-stage-actions .tp-stage-meaning:hover { background: #edcf98; border-color: #edcf98; }
:is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="suspended"] .tp-stage-meaning { display: none; }
:is([data-sol-home], [data-inner-foil]) #sol-seal-drawer { scroll-margin-block-start: calc(var(--sol-header-row) + 26px); }
@media (prefers-reduced-motion: no-preference) {
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="revealed"] .tp-stage-wing > * {
    animation: tp-stage-mist var(--mist-duration) cubic-bezier(.22, 1, .36, 1) var(--mist-delay) both;
  }
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="revealed"] .tp-stage-name::after {
    animation: tp-stage-draw-rule 520ms cubic-bezier(.22, 1, .36, 1) 280ms both;
  }
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="revealed"] [data-stage-actions] {
    animation: tp-stage-reveal-actions 420ms ease-out 720ms both;
  }
}
@keyframes tp-stage-mist {
  from { opacity: 0; filter: blur(var(--mist-blur)); translate: var(--mist-offset, 0px) 0; }
  to { opacity: 1; filter: blur(0); translate: 0 0; }
}
@keyframes tp-stage-draw-rule {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes tp-stage-reveal-actions {
  from { opacity: 0; visibility: hidden; translate: 0 5px; }
  to { opacity: 1; visibility: visible; translate: 0 0; }
}
:is([data-sol-home], [data-inner-foil]) .tp-v17 > .packet { top: var(--packet-top); }
:is([data-sol-home], [data-inner-foil]) .tp-v17 > .card { top: var(--card-top); }
:is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="suspended"] > .packet { opacity: 0; }
:is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="suspended"] .card { visibility: visible; }
:is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="suspended"] .card-float { animation: tp-hover 4.6s ease-in-out infinite; }
:is([data-sol-home], [data-inner-foil]) .card .card-front {
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(10px 15px 15px #06050385);
}
:is([data-sol-home], [data-inner-foil]) .card[data-rarity="common"] .card-back {
  border: 3px solid var(--metal-edge-dark);
  box-shadow: 10px 16px 21px #0506099e;
}
:is([data-sol-home], [data-inner-foil]) .card[data-rarity="gilded"] .card-front {
  filter: drop-shadow(0 0 7px #e8b65551) drop-shadow(9px 16px 14px #090704a3);
}
:is([data-sol-home], [data-inner-foil]) .card[data-rarity="eclipse"] .card-front {
  filter: drop-shadow(0 0 10px #9692e66d) drop-shadow(9px 16px 14px #060717aa);
}
:is([data-sol-home], [data-inner-foil]) .card[data-rarity="eclipse"] .card-back {
  border-color: #9195b8;
  outline-color: #2d3456;
  box-shadow: 0 0 29px #8f83c962, 12px 22px 26px #07081298;
}
:is([data-sol-home], [data-inner-foil]) .card[data-rarity="eclipse"] .card-edge {
  background: linear-gradient(115deg, #1c2032 7%, #5a5480 26%, #829fac 47%, #cdc4ab 56%, #444a76 73%, #222336 92%);
}
:is([data-sol-home], [data-inner-foil]) .card[data-rarity="gilded"] .card-front::after {
  content: "";
  background: linear-gradient(116deg, transparent 36%, #9b591f04 43%, #c17e2452 47%, #ffd7839e 50%, #fff2b5cc 51%, #e9a54060 54%, transparent 63%) 115% 50% / 270% 100%;
  mix-blend-mode: screen;
  opacity: 0;
}
:is([data-sol-home], [data-inner-foil]) .card[data-rarity="eclipse"] .card-front::after {
  content: "";
  background: linear-gradient(121deg, transparent 35%, #744bd413 42%, #a99eff91 47%, #a8efffc0 49%, #ecf9fad6 50%, #ffe5ad9a 52%, #8384db4d 55%, transparent 64%) 115% 50% / 255% 100%;
  mix-blend-mode: screen;
  opacity: 0;
}
:is([data-sol-home], [data-inner-foil]) .card-foil-glints { display: none; }
:is([data-sol-home], [data-inner-foil]) .card[data-rarity="eclipse"] .card-foil-glints {
  display: block;
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}
:is([data-sol-home], [data-inner-foil]) .card-foil-glints i {
  position: absolute;
  left: var(--glint-x);
  top: var(--glint-y);
  width: var(--glint-size, 12px);
  aspect-ratio: 1;
  translate: -50% -50%;
  filter: drop-shadow(0 0 4px #a0e6ffad);
  opacity: .62;
}
:is([data-sol-home], [data-inner-foil]) .card-foil-glints i::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
  background: radial-gradient(circle, #fffcec, #daf8ff 45%, #a69de8 80%);
}
:is([data-sol-home], [data-inner-foil]) .card-foil-glints i:nth-child(1) { --glint-x: 6.2%; --glint-y: 5.1%; --glint-size: 16px; --glint-delay: 0ms; }
:is([data-sol-home], [data-inner-foil]) .card-foil-glints i:nth-child(2) { --glint-x: 94.3%; --glint-y: 10.2%; --glint-delay: 560ms; }
:is([data-sol-home], [data-inner-foil]) .card-foil-glints i:nth-child(3) { --glint-x: 5.9%; --glint-y: 78.1%; --glint-size: 10px; --glint-delay: 1020ms; }
:is([data-sol-home], [data-inner-foil]) .card-foil-glints i:nth-child(4) { --glint-x: 94.3%; --glint-y: 94.1%; --glint-size: 15px; --glint-delay: 1450ms; }
@media (prefers-reduced-motion: no-preference) {
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-print-reflection][data-phase="flipping"] .card-front::after {
    animation: tp-rare-flip-reflection calc(var(--card-flip-duration) + 350ms) linear var(--card-flip-delay) both;
  }
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-rarity="gilded"][data-phase="revealed"] .card-front::after {
    animation: tp-gilded-idle-sweep 5.9s 660ms ease-in-out infinite both;
  }
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-rarity="eclipse"][data-phase="revealed"] .card-front::after {
    animation: tp-eclipse-idle-sweep 5.1s 160ms ease-in-out infinite both;
  }
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-rarity="eclipse"] .card-foil-glints i {
    animation: tp-eclipse-glint 2.6s var(--glint-delay) ease-in-out infinite both;
  }
}
@keyframes tp-rare-flip-reflection {
  0%, 24% { background-position: 115% 50%; opacity: 0; }
  50% { background-position: 72% 50%; opacity: .58; }
  67% { background-position: 40% 50%; opacity: .72; }
  100% { background-position: -12% 50%; opacity: 0; }
}
@keyframes tp-gilded-idle-sweep {
  0%, 9% { background-position: 112% 50%; opacity: 0; }
  29% { opacity: .62; }
  59%, 100% { background-position: -11% 50%; opacity: 0; }
}
@keyframes tp-eclipse-idle-sweep {
  0% { background-position: 110% 50%; opacity: 0; }
  25% { opacity: .71; }
  68% { background-position: -12% 50%; opacity: 0; }
  100% { background-position: -12% 50%; opacity: 0; }
}
@keyframes tp-eclipse-glint {
  0%, 100% { opacity: .29; scale: .66; }
  48% { opacity: .92; scale: 1.03; }
}
.tp-body:has(.tp-sol-home) .sol-framed[data-print-ready] {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
:is([data-sol-home], [data-inner-foil]) .tp-v17:not([data-phase="suspended"]) .tp-suspend-badge { display: none; }
:is([data-sol-home], [data-inner-foil]) .tp-draw-badge {
  inset: calc(var(--object-y) + var(--pack-size) * .52) auto auto calc(var(--anchor) + var(--pack-size) * .56);
  font-family: var(--sol-serif);
  color: #e7edf3;
  font-weight: 400;
  padding: 5px 10px;
}
@media (max-width: 950px) {
  :is([data-sol-home], [data-inner-foil]) .tp-v17 {
    --v17-inner-width: calc(100vw - 58px);
    --v17-inner-height: 558px;
  }
}
@media (max-width: 860px) {
  :is([data-sol-home], [data-inner-foil]) .tp-stage-wing {
    left: 50%;
    right: auto;
    width: min(calc(100% - 38px), 420px);
    max-width: none;
    text-align: center;
    translate: -50% 0;
  }
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="revealed"] .packet { opacity: 0; }
  :is([data-sol-home], [data-inner-foil]) .tp-stage-wing-left { top: auto; bottom: calc(100% - var(--card-top) + 20px); }
  :is([data-sol-home], [data-inner-foil]) .tp-stage-wing-right { top: calc(var(--card-top) + var(--card-size) * 1.72 + 24px); }
  :is([data-sol-home], [data-inner-foil]) .tp-stage-name { font-size: clamp(24px, 5.8vw, 36px); }
  :is([data-sol-home], [data-inner-foil]) .tp-stage-name::after { margin: 9px auto 0; background: linear-gradient(90deg, transparent, #d9b778, transparent); transform-origin: center; }
  :is([data-sol-home], [data-inner-foil]) .tp-stage-meta { margin-bottom: 5px; }
  :is([data-sol-home], [data-inner-foil]) .tp-stage-line { font-size: clamp(17px, 4.6vw, 21px); }
  :is([data-sol-home], [data-inner-foil]) .tp-stage-classic { margin-top: 7px; font-size: 14px; line-height: 1.36; }
}
@media (max-width: 690px) {
  :is([data-sol-home], [data-inner-foil]) .tp-v17 {
    --v17-inner-width: calc(100vw - 34px);
    --v17-inner-height: calc(clamp(338px, 59dvh, 520px) - 2px);
    --v17-card-size: min(clamp(132px, var(--v17-inner-width) * .49, 205px), 23dvh);
    --v17-center: 47%;
  }
  :is([data-sol-home], [data-inner-foil]) .tp-stage-hud { padding-top: calc(var(--sol-header-row) + 11px); }
  :is([data-sol-home], [data-inner-foil]) .tp-hud-status { font-size: 13px; gap: 7px; }
  :is([data-sol-home], [data-inner-foil]) .tp-stage-hint { font-size: 15px; }
}
@media (max-height: 570px) and (orientation: landscape) {
  :is([data-sol-home], [data-inner-foil]) .tp-v17 { --card-size: min(var(--v17-card-size), 42dvh); }
}
@media (prefers-reduced-motion: reduce) {
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="opening"] .card { z-index: 4; }
  :is([data-sol-home], [data-inner-foil]) :is(.tp-stage-hud, .foil-render, .packet-body, .seal-foil) { transition: none; }
  :is([data-sol-home], [data-inner-foil]) .tp-v17 .tear-chips i { animation-name: sol-v17-fade-foil; animation-duration: 440ms; }
  :is([data-sol-home], [data-inner-foil]) .tp-v17:is([data-phase="sealed"], [data-phase="suspended"]) :is(.packet, .card-float),
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase] .float-ground::before,
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="revealed"] :is(.card-float, .card-front::after) { animation: none; }
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase] .float-light::after { transition: none; }
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="revealed"] .card-front::after { background-position: 55% 50%; opacity: .19; }
  :is([data-sol-home], [data-inner-foil]) .tp-v17[data-rarity="common"] .card-front::after { opacity: 0; }
  :is([data-sol-home], [data-inner-foil]) .tp-v17 .seam-light { visibility: hidden; }
}

[data-inner-foil] { container-type: inline-size; }
.tp-body [data-inner-foil] .tp-v17 {
  --v17-inner-width: 100cqw;
  --v17-inner-height: max(340px, 76dvh);
  --v17-center: 47%;
  --v17-card-size: min(41cqw, var(--v17-inner-height) * .35);
  --card-settle: 1.4s;
  height: var(--v17-inner-height);
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg) var(--scene-image) var(--scene-position) / cover no-repeat;
}
.tp-body [data-inner-foil] .tp-v17 .tp-stage-hud {
  width: auto;
  margin-inline: clamp(10px, 2vw, 24px);
  padding-top: clamp(10px, 2dvh, 20px);
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.tp-body [data-inner-foil] .tp-v17 .tp-stage-foot { bottom: max(4%, env(safe-area-inset-bottom, 0px)); }
.tp-body [data-inner-foil] .tp-v17[data-phase="sealed"] .tp-stage-hint {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  color: var(--heading);
  font: italic 400 clamp(16px, 2.15vi, 26px)/1.25 var(--serif);
}
.tp-body [data-inner-foil] [data-rev-flip] {
  min-height: 44px;
  pointer-events: auto;
}
:is([data-sol-home], [data-inner-foil]) .tp-v17[data-phase="suspended"] .card {
  cursor: pointer;
  pointer-events: auto;
}
@media (max-width: 760px) {
  .tp-body [data-inner-foil] .tp-v17 {
    --v17-inner-height: clamp(320px, 56svh, 460px);
  }
}

/* ==========================================================================
   Business UI: Member Pill, Reward Banner, Share Sheet, Viral Toss,
   Endowed Progress Deep Reading, 2027 4-Card Forecast, Habit Bar & Pricing
   ========================================================================== */

.tp-login-link {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
}
.tp-member-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 2px 4px 2px 11px;
  border-radius: 999px;
  border: 1px solid rgba(194, 170, 124, 0.36);
  background: rgba(22, 24, 34, 0.86);
  color: var(--heading);
  font-size: 13px;
  font-weight: 500;
  pointer-events: auto;
}
.tp-member-pill a {
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.tp-checkin-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(194, 170, 124, 0.45);
  background: rgba(194, 170, 124, 0.16);
  color: var(--heading);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}
.tp-checkin-mini:hover {
  background: rgba(194, 170, 124, 0.28);
  border-color: var(--heading);
}
.tp-checkin-mini:disabled {
  opacity: 0.55;
  cursor: default;
}

.tp-pay-toast {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  width: min(560px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid rgba(232, 172, 81, 0.58);
  background: rgba(19, 22, 31, 0.96);
  color: var(--heading);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(12px);
}
.tp-pay-toast.is-pending {
  border-color: rgba(164, 172, 185, 0.45);
  color: var(--ink);
}

.tp-reward-banner {
  position: fixed;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 96;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(620px, calc(100vw - 24px));
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(232, 172, 81, 0.62);
  background: linear-gradient(135deg, rgba(26, 25, 34, 0.98), rgba(16, 18, 26, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
}
.tp-reward-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.tp-reward-copy strong {
  color: var(--heading);
  font: 500 15px/1.3 var(--serif);
}
.tp-reward-copy span {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.tp-share-fallback,
.tp-gift-modal,
.tp-card-inspect {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 9, 14, 0.78);
  backdrop-filter: blur(8px);
}
.tp-share-sheet {
  width: min(480px, 100%);
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(194, 170, 124, 0.4);
  background: #141621;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.tp-share-sheet h3 {
  margin: 0;
  color: var(--heading);
  font: 500 22px/1.2 var(--serif);
}
.tp-share-textarea {
  width: 100%;
  min-height: 92px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0d0e15;
  color: var(--ink);
  font: 400 14px/1.5 var(--sans);
  resize: vertical;
}
.tp-gift-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.tp-gift-list li {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(232, 172, 81, 0.36);
  background: rgba(232, 172, 81, 0.08);
  color: var(--heading);
  font-size: 14px;
  font-weight: 500;
}

.tp-new-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin: 0 0 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(232, 172, 81, 0.56);
  background: rgba(232, 172, 81, 0.14);
  color: var(--foil-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tp-quick-toss-bar {
  display: grid;
  gap: 10px;
  margin: 18px 0 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(194, 170, 124, 0.34);
  background: linear-gradient(180deg, rgba(194, 170, 124, 0.1), rgba(22, 24, 34, 0.55));
}
.tp-quick-toss-bar .tp-eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--heading);
}
.tp-quick-toss-bar .tp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tp-progress-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 14px;
  padding: 0;
  list-style: none;
}
.tp-progress-steps li {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(14, 15, 22, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}
.tp-progress-steps li.is-done {
  border-color: rgba(194, 170, 124, 0.55);
  background: rgba(194, 170, 124, 0.14);
  color: var(--heading);
}

.tp-credit-gap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid rgba(232, 172, 81, 0.34);
  background: rgba(232, 172, 81, 0.08);
  color: var(--heading);
  font-size: 13px;
}

.tp-unlock-choices {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.tp-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tp-compare-card {
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(14, 15, 22, 0.82);
}
.tp-compare-card.is-featured {
  border-color: rgba(232, 172, 81, 0.62);
  background: linear-gradient(180deg, rgba(232, 172, 81, 0.1), rgba(18, 20, 30, 0.92));
}
.tp-compare-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.tp-compare-price strong {
  color: var(--heading);
  font: 500 24px/1 var(--serif);
}
.tp-compare-price span {
  color: var(--muted);
  font-size: 12px;
}
.tp-free-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px dashed rgba(194, 170, 124, 0.38);
  background: rgba(22, 24, 34, 0.55);
  color: var(--ink);
  font-size: 13px;
}
.tp-guest-note {
  margin: 0;
  line-height: 1.5;
}
.tp-inline-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--heading);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: inherit;
  cursor: pointer;
}
.tp-inline-link:hover {
  color: var(--accent-hover);
}

.tp-deep-result {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(232, 172, 81, 0.45);
  background: rgba(15, 17, 25, 0.92);
}
.tp-deep-result h3 {
  margin: 0;
}

.tp-optional-note {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(14, 15, 22, 0.85);
  color: var(--ink);
}
.tp-privacy-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.tp-privacy-toggle input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.tp-cooldown-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(194, 170, 124, 0.3);
  background: rgba(194, 170, 124, 0.08);
  color: var(--heading);
  font-size: 13px;
}

.tp-y27-upgrade {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(194, 170, 124, 0.34);
  background: rgba(22, 24, 34, 0.82);
}
.tp-y27-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.tp-y27-slot {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(14, 15, 22, 0.82);
}
.tp-y27-slot.is-open {
  border-color: rgba(232, 172, 81, 0.56);
  background: rgba(232, 172, 81, 0.09);
}
.tp-y27-slot strong {
  color: var(--heading);
  font: 500 15px/1.25 var(--serif);
}
.tp-y27-slot span {
  color: var(--muted);
  font-size: 12px;
}
.tp-quarter-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.tp-quarter-list > div {
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(14, 15, 22, 0.72);
}
.tp-quarter-list h4 {
  margin: 0 0 4px;
  color: var(--heading);
  font: 500 16px/1.3 var(--serif);
}
.tp-quarter-list p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.tp-habit-bar {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(194, 170, 124, 0.34);
  background: linear-gradient(135deg, rgba(22, 24, 34, 0.92), rgba(16, 18, 26, 0.92));
}
.tp-habit-bar .tp-eyebrow,
.tp-habit-bar p {
  margin: 0;
}

.tp-rev-secondary {
  margin-top: 12px;
}

.tp-card-tile.is-unlocked {
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease;
}
.tp-card-tile.is-unlocked:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 172, 81, 0.65);
}

.tp-collector-option.is-locked,
.tp-collector-set.is-locked {
  opacity: 0.56;
  border-style: dashed;
}
.tp-collector-option.is-locked:hover,
.tp-collector-set.is-locked:hover {
  opacity: 0.82;
}

/* Pricing page layout */
.tp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 32px;
}
.tp-pricing-card {
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.tp-pricing-card.is-featured {
  border-color: rgba(232, 172, 81, 0.7);
  background: linear-gradient(180deg, rgba(232, 172, 81, 0.11), #161822 42%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}
.tp-pricing-badge {
  display: inline-flex;
  justify-self: start;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(194, 170, 124, 0.42);
  color: var(--heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.tp-pricing-card h2 {
  margin: 6px 0 0;
  color: var(--heading);
  font: 500 22px/1.2 var(--serif);
}
.tp-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 4px;
}
.tp-pricing-price strong {
  color: var(--heading);
  font: 500 32px/1 var(--serif);
}
.tp-pricing-price s {
  color: var(--muted);
  font-size: 15px;
}
.tp-pricing-features {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.tp-pricing-meta {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.tp-pricing-note {
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(22, 24, 34, 0.65);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .tp-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .tp-compare-grid,
  .tp-pricing-grid {
    grid-template-columns: 1fr;
  }
  .tp-y27-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tp-progress-steps {
    grid-template-columns: 1fr;
  }
  .tp-reward-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .tp-member-pill {
    min-height: 38px;
  }
  .tp-checkin-mini {
    min-height: 32px;
  }
}

/* ==========================================================================
   Above-the-Fold Split Hero for Inner Pull Pages & 3-Card Spread Table
   ========================================================================== */

.tp-tool-head-compact {
  padding: 20px 0 14px;
}
.tp-tool-head-compact .tp-crumb {
  margin-bottom: 8px;
}
.tp-tool-head-compact .tp-h1 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  margin-bottom: 8px;
}
.tp-tool-head-compact .tp-lead {
  font-size: 15px;
  margin: 0;
}
.tp-tool-stage-compact {
  padding: 18px 0 42px;
}

.tp-tool-split-wrap {
  padding: 24px 0 44px;
}
.tp-tool-split {
  display: grid;
  grid-template-columns: minmax(420px, 50%) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 24px;
}
.tp-tool-split-stage {
  min-width: 0;
}
.tp-tool-split-copy {
  display: grid;
  gap: 12px;
  align-content: center;
  min-width: 0;
}
.tp-tool-split-copy .tp-crumb {
  margin: 0;
}
.tp-tool-split-copy .tp-eyebrow {
  margin: 0;
}
.tp-tool-split-copy .tp-h1 {
  margin: 0;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.1;
}
.tp-tool-split-copy .tp-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.tp-tool-split-copy .tp-flow-box {
  margin: 4px 0 0;
  padding: 14px 0 0;
}
.tp-tool-split-stage [data-inner-foil] .tp-v17 {
  --v17-inner-height: clamp(460px, 68svh, 580px);
  --v17-card-size: min(44cqw, var(--v17-inner-height) * .36);
}
.tp-body [data-inner-foil] .tp-v17 .tp-stage-foot {
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
  padding-inline: 18px;
}
.tp-body [data-inner-foil] .tp-v17[data-phase="sealed"] .tp-stage-hint {
  font-size: clamp(13px, 1.35vw, 18px);
  line-height: 1.3;
}

/* Balanced 50/50 split on /love-tarot desktop (eliminates narrow 272px column) */
@media (min-width: 900px) {
  .tp-body:not(:has(.tp-v5-home)) .tp-v5-guide-intro.tp-love-intro {
    grid-template-columns: minmax(420px, 48%) minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
  .tp-love-intro [data-inner-foil] .tp-v17 {
    --v17-inner-height: clamp(460px, 66svh, 560px);
    --v17-card-size: min(44cqw, var(--v17-inner-height) * .36);
  }
}

/* 2027 4-Card Forecast Preview Strip beside Obsidian Gold Pack */
.tp-y27-hero-strip,
.tp-daily-hero-strip {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(194, 170, 124, 0.3);
  background: rgba(22, 24, 34, 0.72);
}
.tp-y27-hero-strip p,
.tp-daily-hero-strip p {
  margin: 0;
}
.tp-y27-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.tp-y27-mini {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(14, 15, 22, 0.78);
}
.tp-y27-mini.is-primary {
  border-color: rgba(232, 172, 81, 0.62);
  background: rgba(232, 172, 81, 0.1);
}
.tp-y27-mini-back {
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 5 / 8.5;
  border-radius: 5px;
  border: 1px solid rgba(232, 172, 81, 0.5);
  background:
    linear-gradient(180deg, rgba(14, 15, 22, 0.25), rgba(14, 15, 22, 0.55)),
    url("https://img.tarotpack.com/s_3j4g2i562m0i47/collector-back-obsidian-starburst.cadbb66fb7.webp") center / cover no-repeat;
  color: var(--heading);
  font: 600 13px/1 var(--serif);
}
.tp-y27-mini strong {
  color: var(--heading);
  font-size: 12px;
  line-height: 1.2;
}
.tp-y27-mini span:last-child {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

/* Polished 3-Card Spread Table (/tarot-spreads) */
.tp-spread-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.tp-spread-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tp-spread-soon {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.tp-spread-sub {
  margin: 0 0 14px;
  font-size: 14px;
}
.tp-three-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid rgba(194, 170, 124, 0.28);
  background:
    radial-gradient(ellipse at 50% 45%, rgba(28, 36, 52, 0.45), rgba(14, 15, 22, 0.92)),
    var(--scene-image, none) center / cover no-repeat;
}
.tp-three-slot {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.tp-three-slot:hover,
.tp-three-slot[aria-pressed="true"] {
  border-color: rgba(232, 172, 81, 0.46);
  background: rgba(232, 172, 81, 0.06);
  transform: translateY(-2px);
}
.tp-three-card-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 190px);
  aspect-ratio: 5 / 8.6;
  border-radius: 10px;
  border: 1px solid rgba(232, 172, 81, 0.56);
  background:
    linear-gradient(180deg, rgba(12, 14, 22, 0.14), rgba(12, 14, 22, 0.36)),
    var(--spread-back, none) center / cover no-repeat;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}
.tp-three-card-frame canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.tp-three-card-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(243, 225, 187, 0.65);
  background: rgba(14, 15, 22, 0.8);
  color: var(--heading);
  font: 500 16px/1 var(--serif);
}
.tp-three-card-pos {
  color: var(--heading);
  font: 500 16px/1.2 var(--serif);
}
.tp-three-card-name {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}
.tp-three-slot.is-flipped .tp-three-card-name {
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 959px) {
  .tp-tool-split-wrap {
    padding: 12px 0 36px;
  }
  .tp-tool-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 16px;
  }
  .tp-tool-split-copy {
    order: -1;
    gap: 8px;
  }
  .tp-tool-split-copy .tp-h1 {
    font-size: clamp(23px, 6.2vw, 30px);
  }
  .tp-tool-split-copy .tp-lead {
    font-size: 14px;
  }
  .tp-tool-split-stage [data-inner-foil] .tp-v17 {
    --v17-inner-height: clamp(310px, 45svh, 390px);
    --v17-card-size: min(44cqw, var(--v17-inner-height) * .36);
  }
  .tp-y27-hero-strip .tp-y27-mini-grid,
  .tp-daily-hero-strip .tp-eyebrow {
    display: none;
  }
  .tp-y27-hero-strip,
  .tp-daily-hero-strip {
    padding: 8px 12px;
    gap: 4px;
  }
  .tp-love-intro .tp-h1 {
    font-size: clamp(23px, 6.2vw, 30px);
    margin-bottom: 6px;
  }
  .tp-love-intro .tp-lead {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .tp-love-intro [data-inner-foil] .tp-v17 {
    --v17-inner-height: clamp(300px, 43svh, 370px);
  }
  .tp-tool-head-compact {
    padding: 12px 0 10px;
  }
  .tp-tool-head-compact .tp-h1 {
    font-size: clamp(22px, 6vw, 28px);
  }
  .tp-tool-head-compact .tp-lead {
    font-size: 14px;
  }
  .tp-tool-stage-compact {
    padding: 10px 0 32px;
  }
  .tp-spread-controls {
    gap: 8px;
  }
  .tp-spread-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .tp-spread-pills > * {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .tp-spread-controls .tp-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .tp-spread-controls .tp-actions-row .tp-btn {
    width: auto;
  }
  .tp-three-table {
    gap: 10px;
    padding: 14px 10px;
  }
  .tp-three-slot {
    padding: 6px 4px;
    gap: 5px;
  }
  .tp-three-card-pos {
    font-size: 13px;
  }
  .tp-three-card-name {
    font-size: 12px;
  }
}

/* ==========================================================================
   Unified Full-Bleed Homepage Heritage Across All Pull, Spread & Inner Pages
   ========================================================================== */

.tp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Atmospheric observatory backdrop across all inner pages (matches homepage) */
.tp-body {
  background:
    radial-gradient(ellipse at 60% 14%, rgba(30, 38, 58, 0.38), transparent 58%),
    var(--bg);
}

/* Fixed transparent studio header on ALL full-bleed heroes (home + inner pull + 3-pack spreads) */
.tp-body:has(.tp-hero-fullbleed) .tp-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 45;
  background: linear-gradient(180deg, rgba(10, 12, 19, 0.88) 0%, rgba(10, 12, 19, 0.45) 70%, transparent 100%);
  border-bottom-color: transparent;
  backdrop-filter: none;
}

/* Full-bleed inner pull hero: exact same obsidian basalt universe as homepage */
.tp-inner-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.72) 0%, rgba(7, 10, 18, 0.16) 28%, rgba(7, 10, 18, 0.18) 72%, rgba(7, 10, 18, 0.88) 100%),
    url("https://img.tarotpack.com/s_3j4g2i562m0i47/v7-hero-basalt.bfcad3b96d.jpg") center / cover no-repeat;
  border-bottom: 1px solid rgba(194, 170, 124, 0.22);
}

.tp-inner-hero .tp-inner-hero-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tp-body .tp-inner-hero [data-inner-foil] .tp-v17 {
  --v17-inner-width: 100vw;
  --v17-inner-height: 100svh;
  --v17-center: 50%;
  --v17-card-size: min(clamp(150px, 19vw, 218px), 30svh);
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  border-radius: 0;
}

.tp-body .tp-inner-hero [data-inner-foil] .tp-v17 .tp-stage-hud {
  display: none;
}

.tp-body .tp-inner-hero [data-inner-foil] .tp-v17 .tp-stage-foot {
  bottom: 108px;
}

.tp-body .tp-inner-hero[data-inner-hero="tarot-daily"] [data-inner-foil] .tp-v17 .tp-stage-foot {
  bottom: 72px;
}

.tp-body .tp-inner-hero[data-inner-hero="tarot-reveal"] [data-inner-foil] .tp-v17 .tp-stage-foot {
  bottom: 36px;
}

.tp-inner-hero-head {
  position: absolute;
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  width: min(860px, calc(100% - 32px));
  text-align: center;
  pointer-events: none;
  display: grid;
  justify-items: center;
  gap: 4px;
}
.tp-inner-hero-head .tp-crumb {
  margin: 0;
  pointer-events: auto;
  font-size: 12px;
  opacity: 0.85;
}
.tp-inner-hero-h1 {
  margin: 0;
  color: var(--heading);
  font: 500 clamp(22px, 2.3vw, 32px)/1.14 var(--serif);
  text-shadow: 0 3px 22px rgba(4, 6, 12, 0.92);
  text-wrap: balance;
}
.tp-inner-hero-lead {
  display: none;
}

.tp-inner-hero-dock {
  position: absolute;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 14;
  width: min(760px, calc(100% - 32px));
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(194, 170, 124, 0.34);
  background: rgba(14, 16, 25, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.52);
}
.tp-inner-hero-dock .tp-flow-box {
  margin: 0 !important;
  padding: 0;
  border: 0;
}
.tp-love-dock-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.tp-love-dock-form .tp-input {
  min-height: 46px;
  background: rgba(10, 12, 19, 0.85);
}
.tp-love-dock-form .tp-btn {
  min-height: 46px;
  padding-inline: 22px;
}

.tp-y27-dock {
  width: min(860px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 12px;
}
.tp-y27-dock-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 9px;
  border: 1px solid rgba(194, 170, 124, 0.22);
  background: rgba(10, 12, 20, 0.72);
  text-align: left;
}
.tp-y27-dock-card.is-primary {
  border-color: rgba(232, 172, 81, 0.68);
  background: rgba(232, 172, 81, 0.12);
}
.tp-y27-dock-card .tp-y27-mini-back {
  width: 28px;
  flex: 0 0 28px;
  font-size: 12px;
}
.tp-y27-dock-card strong {
  display: block;
  color: var(--heading);
  font-size: 12px;
  line-height: 1.2;
}
.tp-y27-dock-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.tp-daily-dock {
  width: auto;
  max-width: calc(100% - 32px);
  padding: 10px 18px;
  text-align: center;
  color: var(--ink);
  font-size: 13px;
}
.tp-daily-dock strong {
  color: var(--heading);
}

.tp-tool-results-band {
  padding: 24px 0 12px;
}
.tp-tool-results-band:empty {
  display: none;
}

/* ==========================================================================
   3-Card Spreads Full-Bleed Hero: 3 Parallel 3D Foil Packs Side by Side
   ========================================================================== */

.tp-spreads-hero {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: space-between;
  align-items: center;
  justify-items: center;
  width: 100%;
  min-height: 100svh;
  overflow-x: clip;
  padding: clamp(72px, 7.2svh, 90px) 24px clamp(18px, 2.4svh, 28px);
  gap: 12px;
  background:
    radial-gradient(ellipse 68% 48% at 50% 48%, rgba(86, 108, 148, 0.22), transparent 72%),
    linear-gradient(180deg, rgba(7, 10, 18, 0.78) 0%, rgba(7, 10, 18, 0.16) 24%, rgba(7, 10, 18, 0.24) 76%, rgba(7, 10, 18, 0.9) 100%),
    url("https://img.tarotpack.com/s_3j4g2i562m0i47/v7-hero-basalt.bfcad3b96d.jpg") center / cover no-repeat;
  border-bottom: 1px solid rgba(194, 170, 124, 0.24);
}
.tp-spreads-head {
  position: static;
  transform: none;
  pointer-events: auto;
  width: min(920px, 100%);
  gap: 10px;
}
.tp-spreads-head .tp-spread-pills {
  justify-content: center;
}

.tp-three-packs-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.4vw, 36px);
  align-items: start;
  justify-items: center;
  width: min(1160px, 100%);
}
.tp-pack3-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.tp-pack3-foil-host {
  width: 100%;
  container-type: inline-size;
}
.tp-body .tp-pack3-foil-host .tp-v17 {
  --v17-inner-width: 100cqw;
  --v17-inner-height: clamp(290px, 44svh, 420px);
  --v17-center: 50%;
  --v17-card-size: min(64cqw, var(--v17-inner-height) * 0.46);
  width: 100%;
  height: var(--v17-inner-height);
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.tp-body .tp-pack3-foil-host .tp-v17 .float-light {
  opacity: 0.55;
}
.tp-pack3-item.is-selected.is-revealed .tp-pack3-foil-host .card-front {
  filter: drop-shadow(0 0 18px rgba(232, 172, 81, 0.34)) drop-shadow(10px 15px 15px rgba(6, 5, 3, 0.55));
}

.tp-pack3-meta {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  text-align: center;
  cursor: pointer;
}
.tp-pack3-item.is-selected .tp-pack3-pos {
  color: var(--foil-gold);
}
.tp-pack3-pos {
  color: var(--heading);
  font: 500 clamp(18px, 1.55vw, 22px)/1.2 var(--serif);
  letter-spacing: 0.03em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}
.tp-pack3-card-name {
  color: rgba(232, 234, 239, 0.85);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
.tp-pack3-item.is-revealed .tp-pack3-card-name {
  color: var(--foil-gold);
  font-weight: 600;
}

.tp-spreads-stage-foot {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}
.tp-spreads-hint {
  margin: 0;
  color: var(--heading);
  font: italic 400 clamp(14px, 1.5vw, 18px)/1.3 var(--serif);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
.tp-spreads-status-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
}

/* ==========================================================================
   Non-Foil Page Atmospheric Hero & Full-Width Pricing (/pricing, /my-deck)
   ========================================================================== */

.tp-page-hero-band {
  position: relative;
  padding: 44px 0 34px;
  border-bottom: 1px solid rgba(194, 170, 124, 0.24);
  background:
    radial-gradient(ellipse 64% 90% at 50% 10%, rgba(194, 170, 124, 0.14), transparent 72%),
    linear-gradient(180deg, rgba(10, 12, 20, 0.72), rgba(14, 15, 22, 0.94)),
    url("https://img.tarotpack.com/s_3j4g2i562m0i47/v7-hero-basalt.bfcad3b96d.jpg") center / cover no-repeat;
}
.tp-page-hero-inner {
  max-width: 820px;
}
.tp-page-hero-inner .tp-crumb {
  margin-bottom: 10px;
}
.tp-page-hero-inner .tp-h1 {
  margin: 6px 0 10px;
}
.tp-page-hero-inner .tp-lead {
  margin: 0;
}

.tp-page-wide {
  max-width: 1280px;
}
.tp-page-body-band {
  padding-top: 28px;
}

/* Pricing Visual Headers & Plain-English Benefit Comparison Table */
.tp-pricing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 128px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(194, 170, 124, 0.2);
  background:
    radial-gradient(ellipse at 50% 45%, rgba(194, 170, 124, 0.14), rgba(10, 12, 19, 0.85)),
    url("https://img.tarotpack.com/s_3j4g2i562m0i47/v7-hero-basalt.bfcad3b96d.jpg") center / cover no-repeat;
  overflow: hidden;
}
.tp-pricing-visual img {
  height: 104px;
  width: auto;
  object-fit: contain;
  border-radius: 5px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.65));
}
.tp-pricing-outcome {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.tp-benefit-wrap {
  margin: 34px 0;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(22, 24, 34, 0.78);
  overflow-x: auto;
}
.tp-benefit-wrap h2 {
  margin: 0 0 14px;
  color: var(--heading);
  font: 500 24px/1.2 var(--serif);
}
.tp-benefit-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}
.tp-benefit-table th,
.tp-benefit-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}
.tp-benefit-table th {
  color: var(--heading);
  font-weight: 600;
}
.tp-benefit-table td {
  color: var(--ink);
}
.tp-benefit-table tr:last-child td,
.tp-benefit-table tr:last-child th {
  border-bottom: 0;
}

/* ==========================================================================
   Homepage-Inherited Illustrated Editorial Bands for All Inner Pages
   ========================================================================== */

.tp-editorial-section {
  padding: 18px 0 36px;
}
.tp-ed-band {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.tp-ed-band:first-child {
  border-top: 0;
  padding-top: 18px;
}
.tp-ed-head {
  display: grid;
  gap: 8px;
  max-width: 72ch;
  margin-bottom: 24px;
}
.tp-ed-head h2 {
  margin: 0;
  color: var(--heading);
  font: 500 clamp(24px, 2.6vw, 34px)/1.18 var(--serif);
}
.tp-ed-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Layout 1: 3-card illustrated specimen showcase (like homepage Sample / Finishes) */
.tp-ed-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tp-ed-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(194, 170, 124, 0.09), transparent 58%),
    var(--surface);
}
.tp-ed-card-art {
  display: flex;
  justify-content: center;
  padding: 14px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(10, 12, 20, 0.45), rgba(10, 12, 20, 0.78)),
    url("https://img.tarotpack.com/s_3j4g2i562m0i47/v7-hero-basalt.bfcad3b96d.jpg") center / cover no-repeat;
}
.tp-ed-card-art img {
  height: 210px;
  width: auto;
  border-radius: 6px;
  border: 1px solid rgba(232, 172, 81, 0.5);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
}
.tp-ed-card-tag {
  display: inline-flex;
  justify-self: start;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(194, 170, 124, 0.45);
  color: var(--heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tp-ed-card h3 {
  margin: 0;
  color: var(--heading);
  font: 500 20px/1.25 var(--serif);
}
.tp-ed-card p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

/* Layout 2: Asymmetric Split Visual + Structured Points (non-repeating rhythm) */
.tp-ed-split {
  display: grid;
  grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid rgba(194, 170, 124, 0.25);
  background:
    linear-gradient(135deg, rgba(22, 24, 34, 0.92), rgba(13, 15, 22, 0.95)),
    url("https://img.tarotpack.com/s_3j4g2i562m0i47/collector-shelf-scene.fd55b3051d.jpg") center / cover no-repeat;
}
.tp-ed-split-media {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(194, 170, 124, 0.16), rgba(10, 12, 20, 0.72)),
    url("https://img.tarotpack.com/s_3j4g2i562m0i47/v7-hero-basalt.bfcad3b96d.jpg") center / cover no-repeat;
}
.tp-ed-split-media img {
  height: 230px;
  width: auto;
  border-radius: 7px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.65));
}
.tp-ed-split-body {
  display: grid;
  gap: 12px;
}
.tp-ed-split-body h2 {
  margin: 0;
  color: var(--heading);
  font: 500 clamp(22px, 2.4vw, 30px)/1.2 var(--serif);
}
.tp-ed-split-body p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.tp-ed-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.tp-ed-list li {
  padding-left: 16px;
  border-left: 2px solid rgba(232, 172, 81, 0.52);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
.tp-ed-list strong {
  color: var(--heading);
}

/* Layout 3: 3-Step Illustrated Guide Strip (matches homepage 3 steps) */
.tp-ed-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.tp-ed-steps li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(22, 24, 34, 0.72);
}
.tp-ed-step-num {
  color: var(--foil-gold);
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.12em;
}
.tp-ed-steps h3 {
  margin: 0;
  color: var(--heading);
  font: 500 19px/1.25 var(--serif);
}
.tp-ed-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.tp-ed-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .tp-ed-card-grid,
  .tp-ed-steps,
  .tp-ed-split {
    grid-template-columns: 1fr;
  }
  .tp-y27-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .tp-inner-hero-head {
    top: 66px;
    gap: 4px;
  }
  .tp-inner-hero-h1 {
    font-size: clamp(20px, 5.6vw, 26px);
  }
  .tp-inner-hero-lead {
    display: none;
  }
  .tp-body .tp-inner-hero [data-inner-foil] .tp-v17 {
    --v17-center: 46%;
    --v17-card-size: min(44vw, 24svh);
  }
  .tp-body .tp-inner-hero [data-inner-foil] .tp-v17 .tp-stage-foot {
    bottom: 132px;
  }
  .tp-body .tp-inner-hero[data-inner-hero="tarot-daily"] [data-inner-foil] .tp-v17 .tp-stage-foot {
    bottom: 14px;
  }
  .tp-love-dock-form {
    grid-template-columns: 1fr;
  }
  .tp-y27-dock {
    gap: 6px;
    padding: 8px;
  }
  .tp-y27-dock-card {
    padding: 6px;
    gap: 6px;
  }
  .tp-y27-dock-card .tp-y27-mini-back {
    display: none;
  }
  .tp-spreads-hero {
    padding: 74px 12px 20px;
    gap: 12px;
  }
  .tp-spreads-head .tp-spread-pills {
    justify-content: flex-start;
  }
  .tp-three-packs-stage {
    gap: 6px;
  }
  .tp-body .tp-pack3-foil-host .tp-v17 {
    --v17-inner-height: clamp(240px, 39svh, 310px);
    --v17-card-size: min(72cqw, var(--v17-inner-height) * 0.44);
  }
  .tp-pack3-item {
    padding: 0;
    gap: 4px;
  }
  .tp-pack3-pos {
    font-size: 14px;
  }
  .tp-pack3-card-name {
    font-size: 13px;
  }
}

/* ==========================================================================
   2027 1+3 Borderless Pyramid Full-Bleed Hero + Shimmering Flip Unlock CTA
   ========================================================================== */

.tp-y27-hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  width: 100%;
  min-height: 100svh;
  overflow-x: clip;
  padding: 66px 24px 20px;
  gap: 6px;
  background:
    radial-gradient(ellipse 65% 44% at 50% 34%, rgba(232, 172, 81, 0.13), transparent 72%),
    linear-gradient(180deg, rgba(7, 10, 18, 0.78) 0%, rgba(7, 10, 18, 0.14) 22%, rgba(7, 10, 18, 0.2) 78%, rgba(7, 10, 18, 0.92) 100%),
    url("https://img.tarotpack.com/s_3j4g2i562m0i47/v7-hero-basalt.bfcad3b96d.jpg") center / cover no-repeat;
  border-bottom: 1px solid rgba(232, 172, 81, 0.24);
}
.tp-y27-head {
  position: static;
  transform: none;
  pointer-events: auto;
  width: min(880px, 100%);
  gap: 2px;
}
.tp-y27-sub-hint {
  margin: 0;
  color: rgba(232, 234, 239, 0.82);
  font-size: 13px;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.tp-y27-pyramid {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: min(1140px, 100%);
}
.tp-y27-top-row {
  display: flex;
  justify-content: center;
  width: min(320px, 100%);
}
.tp-y27-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.4vw, 36px);
  width: 100%;
  align-items: start;
}
.tp-y27-cell {
  width: 100%;
}

.tp-y27-pack-item {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 100%;
  border: 0;
  background: transparent;
}
.tp-y27-pack-item .tp-suspend-badge {
  display: none;
}
.tp-y27-foil-host {
  width: 100%;
  container-type: inline-size;
}
.tp-body .tp-y27-pack-item.is-main .tp-y27-foil-host .tp-v17 {
  --v17-inner-width: 100cqw;
  --v17-inner-height: clamp(220px, 29svh, 275px);
  --v17-center: 50%;
  --v17-card-size: min(52cqw, var(--v17-inner-height) * 0.49);
  width: 100%;
  height: var(--v17-inner-height);
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.tp-body .tp-y27-pack-item.is-sub .tp-y27-foil-host .tp-v17 {
  --v17-inner-width: 100cqw;
  --v17-inner-height: clamp(210px, 27svh, 255px);
  --v17-center: 50%;
  --v17-card-size: min(52cqw, var(--v17-inner-height) * 0.48);
  width: 100%;
  height: var(--v17-inner-height);
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.tp-body .tp-y27-foil-host .tp-v17 .float-light {
  opacity: 0.52;
}
.tp-y27-pack-item.is-hovering-back .tp-y27-foil-host .card-back {
  box-shadow: 0 0 28px rgba(232, 172, 81, 0.44), 0 18px 34px rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(232, 172, 81, 0.78);
}

.tp-y27-meta {
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
  max-width: 300px;
}
.tp-y27-pos {
  color: var(--heading);
  font: 500 clamp(17px, 1.45vw, 21px)/1.2 var(--serif);
  letter-spacing: 0.03em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.92);
}
.tp-y27-clue {
  color: rgba(232, 234, 239, 0.82);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.tp-y27-pack-item.is-hovering-back .tp-y27-clue {
  color: var(--foil-gold);
  font-weight: 500;
}
.tp-y27-pack-item.is-revealed .tp-y27-clue {
  color: var(--heading);
  font-weight: 600;
}

.tp-y27-cta-float {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(860px, 100%);
  text-align: center;
  padding-top: 6px;
}
.tp-y27-progress-line {
  margin: 0;
  color: var(--heading);
  font: italic 400 clamp(14px, 1.45vw, 18px)/1.3 var(--serif);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}
.tp-y27-shimmer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.tp-y27-shimmer-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d8b56c, #f0cf84 48%, #c79a44);
  color: #101118;
  border: 1px solid #f7e1aa;
  box-shadow: 0 0 28px rgba(232, 172, 81, 0.42), 0 12px 26px rgba(0, 0, 0, 0.5);
  min-height: 50px;
  padding: 0 26px;
  font-weight: 700;
}
.tp-y27-shimmer-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.52) 50%, transparent 78%);
  transform: translateX(-120%);
  animation: tp-gold-sweep 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tp-gold-sweep {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(130%); }
}
.tp-y27-cta-float.is-pulsing .tp-y27-shimmer-btn {
  transform: scale(1.03);
}
.tp-y27-float-note {
  margin: 0;
  max-width: 68ch;
  color: rgba(232, 234, 239, 0.78);
}

@media (max-width: 680px) {
  .tp-y27-hero {
    padding: 72px 12px 22px;
    gap: 8px;
  }
  .tp-y27-sub-hint {
    font-size: 13px;
  }
  .tp-y27-top-row {
    width: 190px;
  }
  .tp-body .tp-y27-pack-item.is-main .tp-y27-foil-host .tp-v17 {
    --v17-inner-height: 210px;
    --v17-card-size: 98px;
  }
  .tp-y27-bottom-row {
    gap: 6px;
  }
  .tp-body .tp-y27-pack-item.is-sub .tp-y27-foil-host .tp-v17 {
    --v17-inner-height: 196px;
    --v17-card-size: 86px;
  }
  .tp-y27-pos {
    font-size: 13px;
  }
  .tp-y27-clue {
    font-size: 12px;
  }
  .tp-y27-shimmer-btn {
    width: 100%;
    padding: 0 16px;
    font-size: 14px;
  }
}

/* ==========================================================================
   Homepage Scale Parity: Right-Wing Luxury Hero (Yes/No & Love),
   Enlarged 2027 1+3 Pyramid, Larger Card Captions & Monumental Inner Type
   ========================================================================== */

/* Match homepage monumental foil pack scale on single-pack inner heroes */
.tp-body .tp-inner-hero [data-inner-foil] .tp-v17 {
  --v17-card-size: min(clamp(174px, 19.4vw, 276px), 37svh);
}

/* Right-Wing Full-Bleed Hero for /yes-or-no-tarot & /love-tarot (Zero Low-Budget Bottom Box) */
.tp-inner-hero-winged {
  height: 100svh;
  min-height: 680px;
}
@media (min-width: 960px) {
  .tp-body .tp-inner-hero-winged [data-inner-foil] .tp-v17 {
    --anchor: 32%;
    --v17-center: 50%;
    --v17-card-size: min(clamp(190px, 19.4vw, 286px), 39svh);
  }
  .tp-body .tp-inner-hero-winged [data-inner-foil] .tp-v17 .tp-stage-foot {
    left: 0;
    width: 64%;
    bottom: 36px;
  }
  .tp-hero-right-wing {
    position: absolute;
    left: 52%;
    top: 52%;
    transform: translateY(-50%);
    z-index: 16;
    width: min(560px, 42vw);
    display: grid;
    gap: 14px;
    text-align: left;
  }
}

.tp-hero-right-wing .tp-crumb {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
}
.tp-hero-right-wing .tp-eyebrow {
  margin: 0;
  color: var(--foil-gold);
  letter-spacing: 0.12em;
}
.tp-wing-h1 {
  margin: 0;
  color: var(--heading);
  font: 600 clamp(30px, 3.4vw, 48px)/1.08 var(--serif);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(4, 6, 12, 0.9);
  text-wrap: balance;
}
.tp-wing-lead {
  margin: 0;
  color: rgba(232, 234, 239, 0.86);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  max-width: 46ch;
}

.tp-wing-prompt,
.tp-wing-love-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.tp-wing-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tp-ink-input {
  width: 100%;
  padding: 10px 2px 12px;
  border: 0;
  border-bottom: 1.5px solid rgba(232, 172, 81, 0.56);
  border-radius: 0;
  background: transparent;
  color: var(--heading);
  font: italic 400 clamp(20px, 1.8vw, 26px)/1.3 var(--serif);
  transition: border-color 180ms ease;
}
.tp-ink-input::placeholder {
  color: rgba(243, 225, 187, 0.45);
}
.tp-ink-input:focus {
  outline: none;
  border-bottom-color: var(--foil-gold);
}
.tp-wing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tp-wing-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(194, 170, 124, 0.34);
  background: rgba(16, 19, 30, 0.48);
  color: rgba(232, 234, 239, 0.88);
  font-size: 13px;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
.tp-wing-chip:hover {
  border-color: var(--foil-gold);
  color: var(--heading);
  background: rgba(232, 172, 81, 0.14);
}
.tp-wing-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.tp-wing-micro {
  color: rgba(232, 234, 239, 0.72);
  font: italic 400 15px/1.3 var(--serif);
}

.tp-love-pill-stack {
  display: grid;
  gap: 10px;
}
.tp-love-pill {
  display: grid;
  gap: 2px;
  text-align: left;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(194, 170, 124, 0.24);
  background: rgba(14, 16, 25, 0.52);
  backdrop-filter: blur(8px);
  color: var(--ink);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.tp-love-pill strong {
  color: var(--heading);
  font: 500 17px/1.25 var(--serif);
}
.tp-love-pill span {
  color: var(--muted);
  font-size: 14px;
}
.tp-love-pill:hover,
.tp-love-pill[aria-pressed="true"] {
  border-color: rgba(232, 172, 81, 0.78);
  background: rgba(232, 172, 81, 0.13);
}

@media (max-width: 959px) {
  .tp-inner-hero-winged {
    height: auto;
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto auto;
    padding-top: 66px;
    padding-bottom: 28px;
  }
  .tp-inner-hero-winged .tp-inner-hero-stage {
    position: relative;
    height: clamp(320px, 46svh, 420px);
  }
  .tp-body .tp-inner-hero-winged [data-inner-foil] .tp-v17 {
    --v17-inner-height: clamp(330px, 47svh, 420px);
    --v17-center: 40%;
    --v17-card-size: min(37vw, 20.5svh);
    min-height: 0;
  }
  .tp-body .tp-inner-hero-winged [data-inner-foil] .tp-v17 .float-ground {
    top: calc(var(--packet-top) + var(--pack-size) * 1.8 + 4px);
    height: 16px;
  }
  .tp-body .tp-inner-hero-winged [data-inner-foil] .tp-v17 .tp-stage-foot {
    bottom: 6px;
  }
  .tp-hero-right-wing {
    position: relative;
    width: min(560px, calc(100% - 32px));
    margin: 6px auto 0;
    display: grid;
    gap: 10px;
  }
  .tp-wing-h1 {
    font-size: clamp(26px, 6.8vw, 34px);
  }
  .tp-wing-lead {
    font-size: 15px;
  }
  .tp-wing-cta-row .tp-btn {
    width: 100%;
  }
}

/* Viewport-Locked 2027 1+3 Pyramid (All 4 Obsidian Gold Cards + Captions Always Inside First Screen, Zero Top Void & Zero Shadow Overlap) */
.tp-y27-hero {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: space-between;
  padding: clamp(68px, 7.2svh, 86px) 24px clamp(14px, 2svh, 24px);
  gap: clamp(8px, 1.2svh, 16px);
}
.tp-y27-head {
  gap: 2px;
}
.tp-y27-head .tp-crumb {
  margin: 0;
  font-size: 12px;
}
.tp-y27-head .tp-inner-hero-h1 {
  font-size: clamp(22px, 2.35vw, 36px);
  line-height: 1.12;
}
.tp-y27-sub-hint {
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.3;
}
.tp-y27-pyramid {
  gap: clamp(10px, 1.5svh, 18px);
  width: min(1240px, 100%);
}
.tp-y27-top-row {
  width: min(320px, 100%);
}
.tp-body .tp-y27-pack-item.is-main .tp-y27-foil-host .tp-v17 {
  --v17-inner-height: clamp(205px, 31svh, 340px);
  --v17-center: 45%;
  --v17-card-size: min(56cqw, calc(var(--v17-inner-height) * 0.46));
}
.tp-body .tp-y27-pack-item.is-sub .tp-y27-foil-host .tp-v17 {
  --v17-inner-height: clamp(190px, 28.5svh, 315px);
  --v17-center: 45%;
  --v17-card-size: min(54cqw, calc(var(--v17-inner-height) * 0.46));
}
.tp-body .tp-y27-foil-host .tp-v17 .float-ground,
.tp-body .tp-pack3-foil-host .tp-v17 .float-ground {
  top: calc(var(--packet-top) + var(--pack-size) * 1.8 + 4px);
  height: clamp(14px, 1.8svh, 20px);
}
.tp-body .tp-pack3-foil-host .tp-v17 {
  --v17-center: 45%;
  --v17-card-size: min(62cqw, calc(var(--v17-inner-height) * 0.45));
}
.tp-body .tp-inner-hero-winged [data-inner-foil] .tp-v17 {
  --v17-center: 46%;
}
.tp-body .tp-inner-hero-winged [data-inner-foil] .tp-v17 .float-ground {
  top: calc(var(--packet-top) + var(--pack-size) * 1.8 + 8px);
  height: clamp(20px, 3svh, 32px);
}
.tp-body [data-sol-home] .tp-v17 {
  --v17-center: 47%;
}
.tp-body [data-sol-home] .tp-v17 .float-ground {
  top: calc(var(--packet-top) + var(--pack-size) * 1.8 + 8px);
  height: clamp(20px, 3.2svh, 34px);
}
.tp-y27-pos {
  font: 500 clamp(17px, 1.35vw, 21px)/1.18 var(--serif);
}
.tp-y27-clue {
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.3;
}
.tp-pack3-pos {
  font: 500 clamp(20px, 1.7vw, 24px)/1.2 var(--serif);
}
.tp-pack3-card-name {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.35;
}
.tp-y27-meta {
  gap: 2px;
  max-width: 320px;
  padding-top: 6px;
}
.tp-pack3-meta {
  padding-top: 8px;
}
.tp-y27-cta-float {
  gap: 6px;
  padding-top: 2px;
}
.tp-y27-progress-line {
  font-size: clamp(13px, 1.15vw, 16px);
}

/* Monumental Homepage-Matched Typography & Artwork Scale on ALL Inner Editorial Sections */
.tp-ed-band {
  padding: clamp(32px, 3.8vw, 56px) 0;
}
.tp-ed-head {
  max-width: 82ch;
  gap: 12px;
  margin-bottom: 30px;
}
.tp-ed-head h2,
.tp-ed-split-body h2,
.tp-benefit-wrap h2 {
  font: 600 clamp(28px, 3.4vw, 46px)/1.1 var(--serif);
  letter-spacing: -0.02em;
}
.tp-ed-head p,
.tp-ed-split-body p {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
}
.tp-ed-card {
  padding: 24px;
  gap: 14px;
}
.tp-ed-card-art {
  padding: 18px;
}
.tp-ed-card-art img {
  height: 276px;
}
.tp-ed-card h3,
.tp-ed-steps h3 {
  font: 500 clamp(21px, 1.7vw, 26px)/1.22 var(--serif);
}
.tp-ed-card p,
.tp-ed-list li,
.tp-ed-steps p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
}
.tp-ed-split {
  padding: 34px;
  gap: 40px;
}
.tp-ed-split-media img {
  height: 290px;
}
.tp-page-hero-inner {
  max-width: 960px;
}
.tp-page-hero-inner .tp-h1 {
  font: 600 clamp(30px, 3.8vw, 52px)/1.08 var(--serif);
  letter-spacing: -0.02em;
}
.tp-page-hero-inner .tp-lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

@media (max-width: 680px) {
  .tp-y27-hero {
    padding: 72px 12px 26px;
    gap: 10px;
  }
  .tp-y27-top-row {
    width: 220px;
  }
  .tp-body .tp-y27-pack-item.is-main .tp-y27-foil-host .tp-v17 {
    --v17-inner-height: 250px;
    --v17-card-size: 118px;
  }
  .tp-body .tp-y27-pack-item.is-sub .tp-y27-foil-host .tp-v17 {
    --v17-inner-height: 220px;
    --v17-card-size: 96px;
  }
  .tp-y27-pos,
  .tp-pack3-pos {
    font-size: 15px;
  }
  .tp-y27-clue,
  .tp-pack3-card-name {
    font-size: 13px;
  }
  .tp-ed-card-art img {
    height: 230px;
  }
}

/* ==========================================================================
   In-Hero Unified Result & Share Modules (Zero First-Screen Fracturing)
   ========================================================================== */

/* Seamless in-place right-wing swap on Yes/No, Love & Daily */
.tp-wing-intro {
  display: grid;
  gap: 14px;
}
.tp-wing-streak-note {
  margin: 0;
  color: rgba(232, 234, 239, 0.84);
  font-size: 15px;
  line-height: 1.5;
}
.tp-wing-streak-note strong {
  color: var(--foil-gold);
}
.tp-inner-hero-winged:has([data-yn-result]:not([hidden]), [data-daily-result]:not([hidden]), [data-love-result]:not([hidden]), [data-yn-empty]:not([hidden])) [data-wing-intro] {
  display: none;
}

.tp-wing-result-host .tp-reveal-panel,
.tp-wing-result-host .tp-empty-band,
.tp-wing-result-host .tp-v5-love-result {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  gap: 12px;
}
.tp-wing-result-host .tp-reveal-head {
  margin: 0;
  gap: 12px;
  flex-direction: column;
  align-items: flex-start;
}
.tp-wing-result-host .tp-card-title,
.tp-wing-result-host .tp-v5-love-result > strong {
  margin: 0;
  color: var(--heading);
  font: 600 clamp(28px, 3vw, 42px)/1.08 var(--serif);
  text-shadow: 0 3px 20px rgba(4, 6, 12, 0.9);
}
.tp-wing-result-host .tp-oneliner {
  margin: 0;
  font: italic 400 clamp(18px, 1.6vw, 23px)/1.3 var(--serif);
  color: #f3e9da;
}
.tp-wing-result-host .tp-meaning-copy,
.tp-wing-result-host .tp-v5-love-result > p:not(.tp-meta-line):not(.tp-oneliner):not(.tp-muted-sm):not(.tp-new-badge) {
  margin: 0;
  color: rgba(232, 234, 239, 0.9);
  font-size: 16px;
  line-height: 1.55;
}
.tp-wing-result-host .tp-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.tp-wing-result-host .tp-btn {
  min-height: 44px;
}

/* 2027 Top Card Flanking Wings (Left: Reading, Center: Card 1, Right: Share/Toss/9:16) */
.tp-y27-top-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 34px);
  align-items: center;
  width: 100%;
}
.tp-y27-top-stage .tp-y27-top-row {
  grid-column: 2;
  width: 100%;
}
.tp-y27-flank {
  display: grid;
  gap: 6px;
  align-content: center;
  min-width: 0;
}
.tp-y27-flank-left {
  grid-column: 1;
  text-align: right;
  justify-items: end;
}
.tp-y27-flank-right {
  grid-column: 3;
  text-align: left;
  justify-items: start;
}
.tp-y27-wing-name {
  margin: 0;
  color: var(--heading);
  font: 600 clamp(22px, 2.1vw, 30px)/1.1 var(--serif);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.9);
}
.tp-y27-wing-one {
  margin: 0;
  font: italic 400 clamp(15px, 1.2vw, 18px)/1.28 var(--serif);
  color: #f3e9da;
}
.tp-y27-wing-copy {
  margin: 0;
  color: rgba(232, 234, 239, 0.86);
  font-size: 13.5px;
  line-height: 1.45;
  max-width: 38ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tp-y27-wing-actions {
  display: grid;
  gap: 8px;
  width: min(275px, 100%);
}
.tp-y27-wing-actions .tp-btn {
  width: 100%;
  min-height: 40px;
}
.tp-y27-wing-seal {
  width: min(285px, 100%);
  padding: 8px 0 0;
  border: 0;
  background: transparent;
}
.tp-y27-inline-empty {
  width: min(680px, 100%);
  padding: 8px 0;
  border: 0;
  background: transparent;
}
.tp-y27-cta-float {
  gap: 4px;
  width: min(1160px, 100%);
  padding-top: 4px;
}
.tp-y27-shimmer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  width: min(1160px, 100%);
}
.tp-y27-focus-inline {
  width: min(250px, 100%);
  text-align: left;
  font-size: 14px;
  padding: 4px 2px 6px;
}
.tp-y27-shimmer-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.tp-y27-shimmer-btn {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.tp-y27-float-note {
  font-size: 12px;
  line-height: 1.3;
  max-width: none;
}

/* 3-Pack Spreads In-Hero Reading & Share Bar — Pure Borderless Floating Stone Layout */
.tp-spreads-stage-foot {
  width: min(1140px, 100%);
  gap: 10px;
}
.tp-spreads-inhero-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  text-align: left;
}
.tp-spreads-inhero-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.tp-spreads-inhero-copy .tp-eyebrow,
.tp-spreads-inhero-copy p {
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.92);
}
.tp-spreads-inhero-title {
  margin: 0;
  color: var(--heading);
  font: 500 clamp(20px, 1.8vw, 26px)/1.2 var(--serif);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.94);
}
.tp-spreads-inhero-quote {
  font: italic 400 17px/1.35 var(--serif);
  color: #f3e9da;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.92);
}
.tp-spreads-inhero-reading {
  color: rgba(232, 234, 239, 0.88);
  font-size: 15px;
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.92);
}
.tp-spreads-inhero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.tp-spreads-complete-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  width: 100%;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--foil-gold);
  font-size: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.92);
}
.tp-spreads-status-bar .tp-counter-pill {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(232, 234, 239, 0.72);
  font-size: 13px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
.tp-spreads-status-bar .tp-counter-pill + .tp-counter-pill::before {
  content: "·";
  margin-right: 12px;
  opacity: 0.55;
}

@media (max-width: 959px) {
  .tp-y27-top-stage {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
  }
  .tp-y27-top-stage .tp-y27-top-row,
  .tp-y27-flank-left,
  .tp-y27-flank-right {
    grid-column: 1;
    text-align: center;
    justify-items: center;
  }
  .tp-y27-top-stage .tp-y27-top-row {
    order: -1;
  }
  .tp-spreads-inhero-bar {
    grid-template-columns: minmax(0, 1fr);
    padding: 4px 0;
    gap: 10px;
  }
  .tp-spreads-inhero-actions {
    justify-content: flex-start;
  }
  .tp-spreads-inhero-actions .tp-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Water-Surface Emergence, In-Hero Resting State (Zero Premature Money CTA),
   Full-Viewport Borderless Reading & Deep Reading Sanctuary, >=95% Band Framing
   ========================================================================== */

@keyframes tp-water-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}
.tp-water-rise:not([hidden]) {
  animation: tp-water-rise 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .tp-water-rise:not([hidden]) {
    animation: none;
  }
}

/* In-Hero Resting Overlay (Replaces Ugly Below-Fold Empty Band & Removes Premature $4.99) */
.tp-stage-empty-overlay {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(ellipse 68% 54% at 50% 50%, rgba(9, 11, 18, 0.84) 0%, rgba(9, 11, 18, 0.56) 62%, transparent 100%);
  pointer-events: auto;
}
.tp-stage-empty-overlay[hidden] {
  display: none;
}
.tp-stage-empty-overlay .tp-eyebrow {
  margin: 0;
  color: var(--foil-gold);
  letter-spacing: 0.14em;
}
.tp-stage-empty-title {
  margin: 0;
  color: var(--heading);
  font: 600 clamp(30px, 3.6vw, 50px)/1.08 var(--serif);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.92);
}
.tp-stage-empty-sub {
  margin: 0;
  max-width: 50ch;
  color: rgba(232, 234, 239, 0.88);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}
.tp-stage-empty-sub strong {
  color: var(--foil-gold);
}
.tp-stage-empty-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

/* Full-Viewport Borderless Reading & Deep Reading Sanctuary (#tarot-reading) */
.tp-body:has(.tp-v5-home) .tp-sanctuary-band {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 8svh, 96px) clamp(44px, 5svh, 64px);
  background:
    radial-gradient(ellipse 56% 48% at 24% 46%, rgba(232, 172, 81, 0.08), transparent 72%),
    linear-gradient(180deg, rgba(10, 12, 20, 0.96) 0%, rgba(12, 14, 22, 1) 100%);
  border-bottom: 1px solid rgba(194, 170, 124, 0.16);
}
.tp-sanctuary-grid {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  gap: clamp(32px, 4.6vw, 72px);
  align-items: start;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}
.tp-sanctuary-left {
  display: grid;
  justify-items: center;
  gap: 14px;
}
.tp-sanctuary-left .tp-showcase-card-wrap {
  width: min(300px, 100%);
  aspect-ratio: 5 / 8;
}
.tp-sanctuary-utils {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  color: rgba(232, 234, 239, 0.45);
  font-size: 13.5px;
}
.tp-util-link {
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: rgba(243, 225, 187, 0.86);
  font: 500 13.5px/1.3 var(--sans);
  cursor: pointer;
  transition: color 160ms ease;
}
.tp-util-link:hover {
  color: var(--foil-gold);
}
.tp-sanctuary-meta-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
}
.tp-sanctuary-seal-inline {
  width: 100%;
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(194, 170, 124, 0.22);
  text-align: left;
}
.tp-sanctuary-note-fields {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.tp-ink-input-sm {
  font-size: 15px;
  padding: 6px 2px 8px;
}
.tp-sanctuary-seal-out {
  display: grid;
  gap: 8px;
  padding: 10px 0 0;
  border: 0;
  background: transparent;
}

.tp-sanctuary-right {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.tp-sanctuary-card-read {
  display: grid;
  gap: 8px;
}
/* Never hide card meaning or reflection in the sanctuary */
[data-sol-home] .tp-sanctuary-meaning,
[data-sol-home] .tp-sanctuary-reflect {
  display: block !important;
}
.tp-sanctuary-title {
  margin: 0 !important;
  font: 600 clamp(32px, 3.3vw, 48px)/1.06 var(--serif) !important;
  color: var(--heading);
}
.tp-sanctuary-quote {
  margin: 0 !important;
  font: italic 400 clamp(18px, 1.7vw, 24px)/1.3 var(--serif) !important;
  color: #f3e9da;
}
.tp-sanctuary-meaning {
  margin: 4px 0 0;
  color: rgba(232, 234, 239, 0.9);
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 1.6;
  max-width: 64ch;
}
.tp-sanctuary-reflect {
  margin: 0;
  color: rgba(232, 172, 81, 0.88);
  font: italic 400 15px/1.45 var(--serif);
}
.tp-sanctuary-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 172, 81, 0.45), rgba(194, 170, 124, 0.12) 72%, transparent);
}

/* Always-Visible Borderless Deep Reading Workspace */
.tp-deep-workspace {
  display: grid;
  gap: 14px;
}
.tp-deep-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
}
.tp-deep-head .tp-eyebrow {
  margin: 0;
  color: var(--foil-gold);
}
.tp-progress-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: rgba(232, 234, 239, 0.54);
}
.tp-progress-inline li.is-done {
  color: var(--foil-gold);
  font-weight: 600;
}
.tp-sanctuary-lenses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tp-sanctuary-lenses .tp-chip-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(194, 170, 124, 0.24);
  background: transparent;
  color: rgba(232, 234, 239, 0.82);
  font-size: 13.5px;
  min-height: 36px;
}
.tp-sanctuary-lenses .tp-chip-btn[aria-pressed="true"] {
  border-color: var(--foil-gold);
  background: rgba(232, 172, 81, 0.14);
  color: var(--heading);
}
.tp-sanctuary-ask-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.tp-sanctuary-ask-row .tp-ink-input {
  font-size: clamp(17px, 1.4vw, 21px);
  padding: 8px 2px 10px;
}
.tp-sanctuary-ask-row .tp-btn {
  min-height: 44px;
  padding: 0 20px;
  white-space: nowrap;
}

/* Explicit Deep Reading Output Canvas (Idle -> 2-Line Hook -> Full 4-Part Deep Reading) */
.tp-deep-canvas {
  padding-top: 8px;
}
.tp-deep-idle {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.tp-counterweight-mini {
  width: 88px;
  aspect-ratio: 600 / 1032;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 0 22px rgba(232, 172, 81, 0.28), 0 12px 24px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(232, 172, 81, 0.5);
}
.tp-counterweight-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tp-deep-idle-copy {
  display: grid;
  gap: 8px;
}
.tp-deep-idle-copy .tp-eyebrow {
  margin: 0;
}
.tp-deep-idle-lead {
  margin: 0;
  color: rgba(232, 234, 239, 0.78);
  font-size: 14.5px;
  line-height: 1.5;
}
.tp-deep-chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.tp-deep-chapters li {
  display: grid;
  gap: 2px;
}
.tp-deep-chapters strong {
  color: var(--heading);
  font: 500 14.5px/1.25 var(--serif);
}
.tp-deep-chapters span {
  color: rgba(232, 234, 239, 0.62);
  font-size: 12.5px;
}

.tp-hidden-preview {
  display: grid;
  gap: 10px;
  padding: 4px 0 0;
  border: 0;
  background: transparent;
}
.tp-deep-hook-line {
  margin: 0;
  color: #f4ead9;
  font: italic 400 clamp(17px, 1.45vw, 21px)/1.4 var(--serif);
}
.tp-sanctuary-pay-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 6px;
}
.tp-free-alt-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13.5px;
  color: rgba(232, 234, 239, 0.78);
  margin-top: 4px;
}
.tp-deep-result-title {
  margin: 4px 0 12px !important;
  font: 600 clamp(22px, 2vw, 30px)/1.15 var(--serif) !important;
}
.tp-deep-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}
.tp-deep-chapter {
  display: grid;
  gap: 4px;
  align-content: start;
}
.tp-deep-chapter .tp-eyebrow {
  margin: 0;
  color: var(--foil-gold);
}

/* >=95% Balanced Viewport Module Framing on Desktop Homepage Bands */
@media (min-width: 960px) {
  .tp-v5-home .tp-v5-band {
    min-height: min(92svh, 800px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 959px) {
  .tp-sanctuary-grid {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 32px);
    gap: 24px;
  }
  .tp-sanctuary-left .tp-showcase-card-wrap {
    width: min(230px, 66vw);
  }
  .tp-sanctuary-ask-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .tp-sanctuary-ask-row .tp-btn {
    width: 100%;
  }
  .tp-deep-idle {
    grid-template-columns: minmax(0, 1fr);
  }
  .tp-counterweight-mini {
    width: 72px;
  }
  .tp-deep-chapters,
  .tp-deep-result-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Mobile Polish v8: Scrolled Solid Header, Enclosed Mobile Menu Drawer,
   My-Deck Stat Strip Spacing, Responsive Prose Tables, Spreads Mobile Tabs
   ========================================================================== */
.tp-body[data-scrolled="true"] .tp-header,
.tp-body:has(.tp-hero-fullbleed)[data-scrolled="true"] .tp-header,
.tp-body:has(#tarot-foil-stage)[data-scrolled="true"] .tp-header,
.tp-body .tp-header[data-menu-open],
.tp-body:has(.tp-hero-fullbleed) .tp-header[data-menu-open],
.tp-body:has(#tarot-foil-stage) .tp-header[data-menu-open],
.tp-body:has(.tp-v5-home) .tp-header[data-menu-open] {
  background: rgba(13, 15, 22, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .tp-body .tp-header[data-menu-open] {
    padding-bottom: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
  }
  .tp-body .tp-header[data-menu-open] .tp-header-right {
    width: 100%;
    padding-top: 8px;
    padding-bottom: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 10px 16px;
  }
}
.tp-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tp-stat-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(20, 23, 33, 0.72);
}
.tp-stat-cell strong {
  color: var(--heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.tp-stat-cell span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
@media (max-width: 680px) {
  .tp-stat-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .tp-stat-cell {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding: 10px 12px;
  }
  .tp-stat-cell strong {
    font-size: 15px;
    white-space: nowrap;
  }
  .tp-prose table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tp-prose th,
  .tp-prose td {
    padding: 9px 10px;
    font-size: 13px;
  }
  .tp-spreads-status-bar {
    flex-direction: column;
    gap: 4px;
  }
  .tp-spreads-status-bar .tp-counter-pill + .tp-counter-pill::before {
    display: none;
  }
  .tp-spreads-head .tp-spread-pills {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    gap: 6px;
  }
  .tp-spreads-head .tp-spread-pills .tp-spread-pill,
  .tp-spreads-head .tp-spread-pills button {
    font-size: 12.5px;
    padding: 7px 11px;
    min-height: 36px;
  }
}
