/* Governed presentation layer. Legacy campaigns keep rectangle.css unchanged. */
body[data-presentation-version="1"],
body[data-presentation-version="2"] {
  --presentation-focal-mobile: 50% 50%;
  --presentation-focal-desktop: 50% 50%;
  --presentation-glass-bg: var(--content-style-glass-bg);
  --presentation-glass-border: var(--content-style-glass-border);
  --presentation-glass-shadow: var(--content-style-glass-shadow);
  --presentation-local-surface-bg: color-mix(in srgb, var(--surface-bg) 78%, rgba(255,255,255,.66));
  --presentation-frame-gap: clamp(16px, 3vw, 28px);
  --adaptive-logo-anchor-x: 50%;
  --adaptive-logo-anchor-y: 10%;
  --adaptive-product-anchor-x: 25%;
  --adaptive-product-anchor-y: 50%;
  --adaptive-pattern-intensity: .55;
  --adaptive-composition-falloff: .5;
  background-position: var(--presentation-focal-mobile);
  overflow-x: hidden;
}

/* Canonical adaptive-visual projection: honour an approved reduced-motion
   policy across every host stage without introducing per-activity renderers. */
body[data-adaptive-motion="none"] *,
body[data-adaptive-motion="none"] *::before,
body[data-adaptive-motion="none"] *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
  scroll-behavior: auto !important;
}
body[data-presentation-version="1"] .luner-frame,
body[data-presentation-version="2"] .luner-frame {
  width: min(100% - 32px, 640px);
  height: auto;
  min-height: min(660px, calc(100dvh - 48px));
  max-height: none;
  overflow: visible;
}

/* Authoritative Content style contract. Every Studio, review, package and
   participant host loads this sheet before adding layout-only chrome. */
:root {
  --content-style-glass-bg: rgba(255, 255, 255, .44);
  --content-style-glass-border: rgba(255, 255, 255, .52);
  --content-style-glass-shadow: 0 18px 54px rgba(0, 0, 0, .18);
  --content-style-card-bg: rgba(255, 255, 255, .88);
  --content-style-card-border: rgba(255, 255, 255, .72);
  --content-style-local-scrim: linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
}

body[data-presentation-version="1"][data-presentation-surface="full-card"] .luner-frame,
body[data-presentation-version="2"][data-presentation-surface="full-card"] .luner-frame,
.luner-frame[data-presentation-surface="full-card"] {
  background: var(--content-style-card-bg, var(--card-bg));
  border-color: var(--content-style-card-border, var(--card-border));
  box-shadow: 0 4px 80px var(--shadow-color), 0 2px 0 rgba(255,255,255,0.22) inset;
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
}

body[data-presentation-version="1"][data-presentation-surface="glass"] .luner-frame,
body[data-presentation-version="2"][data-presentation-surface="glass"] .luner-frame,
.luner-frame[data-presentation-surface="glass"] {
  background: var(--presentation-glass-bg, var(--content-style-glass-bg));
  border-color: var(--presentation-glass-border, var(--content-style-glass-border));
  box-shadow: var(--presentation-glass-shadow, var(--content-style-glass-shadow));
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

body[data-presentation-version="1"][data-presentation-surface="none"] .luner-frame,
body[data-presentation-version="2"][data-presentation-surface="none"] .luner-frame,
.luner-frame[data-presentation-surface="none"] {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-presentation-version="1"][data-presentation-surface="none"] .slot-copy,
body[data-presentation-version="2"][data-presentation-surface="none"] .slot-copy,
.luner-frame[data-presentation-surface="none"] .slot-copy {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .36);
}
body[data-presentation-version="1"][data-presentation-surface="none"] .slot-copy::before,
body[data-presentation-version="2"][data-presentation-surface="none"] .slot-copy::before,
.luner-frame[data-presentation-surface="none"] .slot-copy::before {
  content: '';
  position: absolute;
  inset: -10px -12px;
  z-index: -1;
  border-radius: 12px;
  background: var(--content-style-local-scrim);
  pointer-events: none;
}

body[data-presentation-version="1"][data-presentation-surface="glass"] .card,
body[data-presentation-version="1"][data-presentation-surface="glass"] .container,
body[data-presentation-version="1"][data-presentation-surface="glass"] .wrap,
body[data-presentation-version="2"][data-presentation-surface="glass"] .card,
body[data-presentation-version="2"][data-presentation-surface="glass"] .container,
body[data-presentation-version="2"][data-presentation-surface="glass"] .wrap,
.luner-frame[data-presentation-surface="glass"] .card,
.luner-frame[data-presentation-surface="glass"] .container,
.luner-frame[data-presentation-surface="glass"] .wrap {
  background: var(--presentation-glass-bg, rgba(255,255,255,.48));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body[data-presentation-version="1"][data-presentation-surface="glass"] .luner-frame,
  body[data-presentation-version="2"][data-presentation-surface="glass"] .luner-frame,
  body[data-presentation-version="3"][data-presentation-style="glass"] .luner-frame,
  .luner-frame[data-presentation-surface="glass"] {
    background: rgba(255, 255, 255, .62);
  }
}
body[data-presentation-version="1"] .slot-body,
body[data-presentation-version="2"] .slot-body {
  overflow: visible;
}

/* Unified new-campaign presentation: automatic v2 structures with selectable skins. */
body[data-presentation-version="3"] {
  overflow-x: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  --presentation-frame-gap: clamp(16px, 3vw, 28px);
  --presentation-product-max-width: min(240px, 72%);
  --presentation-product-max-height: min(28dvh, 220px);
  --presentation-product-pad-block: var(--presentation-frame-gap);
  --presentation-product-max-width-desktop: min(280px, 100%);
  --presentation-product-max-height-desktop: min(36dvh, 280px);
}
body[data-presentation-version="3"][data-presentation-background-fallback="true"][data-presentation-style="full-card"] { background-image:linear-gradient(145deg, #edf4fa, #dce9f4) !important; }
body[data-presentation-version="3"][data-presentation-background-fallback="true"][data-presentation-style="glass"] { background-image:linear-gradient(145deg, #dbe8f4, #c2d4e7) !important; }
body[data-presentation-version="3"][data-presentation-background-fallback="true"][data-presentation-style="clean"] { background-image:linear-gradient(145deg, #f7fafc, #e9eff5) !important; }
body[data-presentation-version="3"] .luner-frame { width:min(100% - 32px, 720px); min-height:min(660px, calc(100dvh - 48px)); height:auto; overflow:visible; }
body[data-presentation-version="3"][data-presentation-style="full-card"] .luner-frame { background:var(--content-style-card-bg, var(--card-bg)); border-color:var(--content-style-card-border, var(--card-border)); box-shadow:0 4px 80px var(--shadow-color); }
body[data-presentation-version="3"][data-presentation-style="glass"] .luner-frame { background:var(--presentation-glass-bg, var(--content-style-glass-bg)); border-color:var(--presentation-glass-border, var(--content-style-glass-border)); box-shadow:var(--presentation-glass-shadow, var(--content-style-glass-shadow)); backdrop-filter:blur(18px) saturate(1.35); -webkit-backdrop-filter:blur(18px) saturate(1.35); }
body[data-presentation-version="3"][data-presentation-style="clean"] .luner-frame { background:transparent; border-color:transparent; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
/* When responsive client artwork is ready, theme body fill + ::before must
   not paint above the z-index:-1 artwork layer (review + runtime hosts). */
body[data-background-status="ready"] {
  background-color: transparent !important;
  background-image: none !important;
}
body[data-background-status="ready"]::before {
  background: none !important;
  content: none !important;
}
body[data-presentation-version="3"][data-presentation-style="clean"] .slot-copy { text-shadow:0 1px 2px rgba(0,0,0,.36); }
body[data-presentation-version="3"][data-presentation-style="clean"] .slot-copy::before { content:''; position:absolute; inset:-10px -12px; z-index:-1; border-radius:12px; background:var(--content-style-local-scrim); pointer-events:none; }
body[data-presentation-version="3"] [data-presentation-slot="brand"] { min-height:48px; }
body[data-presentation-version="3"] [data-presentation-slot="brand"].logo-absent,
body[data-presentation-version="3"] .slot-brand.logo-absent {
  min-height: 0;
}
body[data-presentation-version="3"] .slot-brand.logo-absent .logo-adaptive-case,
body[data-presentation-version="3"] .slot-brand.logo-absent .brand-logo:not([src]),
body[data-presentation-version="3"] .slot-brand.logo-absent img.brand-logo[style*="display: none"] {
  display: none !important;
}
body[data-presentation-version="3"]:not([data-presentation-structure="game"]) .luner-presentation-product:not(.is-present) {
  display: none !important;
}
[data-presentation-slot].is-empty,
[data-presentation-slot][hidden] {
  display: none !important;
}
/* Brand logo sits in shared flex .slot-brand — static position, never absolute-pin to right. */
body[data-presentation-version="3"] [data-presentation-slot="brand"] .brand-logo,
body[data-presentation-version="3"] [data-presentation-slot="brand"] [data-luner="logo"] {
  position: static;
  max-width: 140px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
body[data-presentation-version="3"] .slot-brand:has(.logo-adaptive-case),
body[data-presentation-version="3"] [data-presentation-slot="brand"]:has(.logo-adaptive-case) {
  max-height: none;
  overflow: visible;
}
body[data-presentation-version="3"] [data-presentation-slot="brand"] .logo-adaptive-case .brand-logo,
body[data-presentation-version="3"] [data-presentation-slot="brand"] .logo-adaptive-case [data-luner="logo"],
body[data-presentation-version="3"] .slot-brand .logo-adaptive-case .brand-logo,
body[data-presentation-version="3"] .slot-brand .logo-adaptive-case [data-luner="logo"] {
  max-width: min(var(--logo-mark-max-width, 200px), calc(var(--logo-mark-max-height, 52px) * var(--logo-art-aspect, 1)));
  max-height: min(var(--logo-mark-max-height, 52px), calc(var(--logo-mark-max-width, 200px) / max(var(--logo-art-aspect, 1), 0.01)));
  width: auto;
  height: auto;
}
body[data-presentation-version="3"][data-composition-preset="logo-focus"] [data-presentation-slot="brand"] .brand-logo,
body[data-presentation-version="3"][data-composition-preset="logo-focus"] [data-presentation-slot="brand"] [data-luner="logo"] {
  width: auto;
  max-width: 140px;
  max-height: 56px;
  height: auto;
  object-fit: contain;
}
body[data-presentation-version="3"][data-presentation-structure="product"] .luner-frame { width:min(100% - 32px, 980px); }
body[data-presentation-version="3"][data-presentation-structure="product"] .slot-body { display:grid; grid-template-columns:minmax(220px,.9fr) minmax(280px,1fr); gap:var(--presentation-frame-gap); align-items:center; }
body[data-presentation-version="3"][data-presentation-structure="product"] .luner-presentation-product { grid-column:1; grid-row:1 / span 4; }
body[data-presentation-version="3"][data-presentation-structure="product"] .slot-copy,
body[data-presentation-version="3"][data-presentation-structure="product"] .slot-body > [data-section] { grid-column:2; min-width:0; width:100%; }
body[data-presentation-version="3"][data-presentation-structure="game"] .luner-presentation-product { display:none !important; }
body[data-presentation-version="3"][data-presentation-structure="product"] .luner-presentation-product.is-present {
  width: fit-content;
  max-width: var(--presentation-product-max-width);
  margin-inline: auto;
  padding: var(--product-case-pad, 10px);
  box-sizing: border-box;
  position: static;
  overflow: visible;
  background: var(--product-container-bg, var(--surface-panel, #f8fafc));
  border: 1px solid color-mix(in srgb, var(--surface-border, #e2e8f0) 85%, transparent);
  border-radius: var(--product-case-radius, 14px);
}
body[data-presentation-version="3"] .luner-presentation-product img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: var(--presentation-product-max-height);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: calc(var(--product-case-radius, 14px) - 4px);
}
@media (min-width: 700px) {
  body[data-presentation-version="3"][data-presentation-structure="product"] .luner-presentation-product {
    justify-self: center;
    align-self: center;
    max-width: var(--presentation-product-max-width-desktop);
  }
  body[data-presentation-version="3"] .luner-presentation-product img {
    max-height: var(--presentation-product-max-height-desktop);
  }
}
@media (max-width:699px) {
  body[data-presentation-version="3"] .luner-frame { width:min(100% - 20px, 640px); min-height:calc(100dvh - 20px); }
  body[data-presentation-version="3"][data-presentation-structure="product"] .slot-body {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap: var(--presentation-frame-gap);
  }
  body[data-presentation-version="3"][data-presentation-structure="product"] .slot-copy { order:1; }
  body[data-presentation-version="3"][data-presentation-structure="product"] .luner-presentation-product { order:2; }
  body[data-presentation-version="3"][data-presentation-structure="product"] .slot-body > [data-section] { order:3; }
}

/* Shared Presentation v2 markup contract.  Every route mounts identity, copy,
   protected foreground, activity, action and legal content into these slots. */
.luner-frame > [data-presentation-slot="brand"] {
  display:flex; align-items:center; justify-content:center; gap:10px; min-width:0; margin-bottom:10px;
}
.luner-frame > [data-presentation-slot="brand"] .brand-logo,
.luner-frame > [data-presentation-slot="brand"] .logo { flex-shrink:0; }
.luner-frame > [data-presentation-slot="brand"] .logo-adaptive-case {
  margin-inline: auto;
  flex-shrink: 0;
}
.luner-frame [data-presentation-slot="copy"] { min-width:0; width:100%; }
.luner-frame [data-presentation-slot="activity"] { min-width:0; width:100%; }
.luner-frame [data-presentation-slot="action"] { min-width:0; width:100%; }
.luner-frame [data-presentation-slot="legal"] { min-width:0; width:100%; }
body[data-presentation-layout="product-split"] .slot-body > [data-presentation-slot="activity"],
body[data-presentation-layout="product-split"] .slot-body > [data-presentation-slot="action"] {
  grid-column:2;
}
body[data-presentation-product="right"][data-presentation-layout="product-split"] .slot-body > [data-presentation-slot="activity"],
body[data-presentation-product="right"][data-presentation-layout="product-split"] .slot-body > [data-presentation-slot="action"] {
  grid-column:1;
}

body[data-presentation-layout="centered-stack"] .slot-body {
  align-items: center;
  gap: var(--presentation-frame-gap);
}

body[data-presentation-layout="centered-stack"] .slot-body > [data-section],
body[data-presentation-layout="centered-stack"] .slot-copy {
  width: 100%;
}

body[data-presentation-layout="product-split"] .luner-frame {
  width: min(100% - 32px, 980px);
}

body[data-presentation-layout="product-split"] .slot-body {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(280px, 1fr);
  gap: var(--presentation-frame-gap);
  align-items: center;
}

body[data-presentation-layout="product-split"] .slot-copy,
body[data-presentation-layout="product-split"] .slot-body > [data-section] {
  grid-column: 2;
  min-width: 0;
  width: 100%;
}

body[data-presentation-layout="product-split"] .slot-body > [data-section][hidden] {
  display: none;
}

body[data-presentation-layout="product-split"] .luner-presentation-product {
  grid-column: 1;
  grid-row: 1 / span 4;
}

body[data-presentation-product="right"][data-presentation-layout="product-split"] .slot-copy,
body[data-presentation-product="right"][data-presentation-layout="product-split"] .slot-body > [data-section] {
  grid-column: 1;
}

body[data-presentation-product="right"][data-presentation-layout="product-split"] .luner-presentation-product {
  grid-column: 2;
}

body[data-presentation-layout="activity-focus"] .luner-frame {
  width: min(100% - 32px, 980px);
}

body[data-presentation-layout="activity-focus"] .slot-body {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: var(--presentation-frame-gap);
  align-items: start;
}

body[data-presentation-layout="activity-focus"] .slot-copy {
  grid-column: 1;
  min-width: 0;
}

body[data-presentation-layout="activity-focus"] .slot-body > [data-section] {
  grid-column: 2;
  min-width: 0;
  width: 100%;
}

body[data-presentation-layout="activity-focus"] .luner-presentation-product {
  display: none;
}

.luner-presentation-product { display: none; align-items: center; justify-content: center; min-width: 0; width: 100%; }
.luner-presentation-product.is-present {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: var(--product-case-pad, 10px);
  box-sizing: border-box;
  background: var(--product-container-bg, var(--surface-panel, #f8fafc));
  border: 1px solid color-mix(in srgb, var(--surface-border, #e2e8f0) 85%, transparent);
  border-radius: var(--product-case-radius, 14px);
}
.luner-presentation-product img {
  display: block;
  width: 100%;
  max-width: 280px;
  max-height: 32dvh;
  object-fit: contain;
  background: transparent;
  border-radius: calc(var(--product-case-radius, 14px) - 4px);
}
/* Protected logos: contain-safe framing — never stretch, never opaque black letterbox. */
.brand-logo,
.preview-logo-img,
.luner-brand-logo,
img[data-asset-role="logo"] {
  object-fit: contain;
  object-position: var(--adaptive-logo-anchor-x) var(--adaptive-logo-anchor-y);
  background: transparent;
  max-width: 100%;
  height: auto;
}
img[data-logo-strategy="adaptive-container"],
.brand-logo[data-logo-strategy="adaptive-container"],
.preview-logo-img[data-logo-strategy="adaptive-container"],
.luner-brand-logo[data-logo-strategy="adaptive-container"],
img[data-asset-role="logo"][data-logo-strategy="adaptive-container"] {
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

.logo-adaptive-case {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: fit-content;
  height: fit-content;
  max-width: var(--logo-case-max-width, min(80vw, 220px));
  padding: var(--logo-case-pad, 6px);
  border-radius: var(--logo-case-radius, 12px);
  background: var(--logo-container-bg, var(--surface-panel, #f8fafc));
  border: 1px solid color-mix(in srgb, var(--surface-border, #e2e8f0) 85%, transparent);
}

.logo-adaptive-case img,
.logo-adaptive-case [data-luner="logo"] {
  display: block;
  object-fit: contain;
  object-position: center;
  width: auto;
  height: auto;
  max-width: min(var(--logo-mark-max-width, 200px), calc(var(--logo-mark-max-height, 52px) * var(--logo-art-aspect, 1)));
  max-height: min(var(--logo-mark-max-height, 52px), calc(var(--logo-mark-max-width, 200px) / max(var(--logo-art-aspect, 1), 0.01)));
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0;
}

/* Orientation sets mark caps; case follows mark + pad via fit-content. */
.logo-adaptive-case[data-logo-orientation="horizontal"] {
  --logo-mark-max-width: min(80vw, 220px);
  --logo-mark-max-height: 48px;
  --logo-case-max-width: min(88vw, 236px);
  --logo-case-radius: 10px;
}

.logo-adaptive-case[data-logo-orientation="square"] {
  --logo-mark-max-width: 72px;
  --logo-mark-max-height: 72px;
  --logo-case-max-width: min(80vw, 84px);
  --logo-case-radius: 12px;
}

.logo-adaptive-case[data-logo-orientation="stacked"] {
  --logo-mark-max-width: 56px;
  --logo-mark-max-height: 72px;
  --logo-case-max-width: min(72vw, 68px);
  --logo-case-radius: 12px;
}
body[data-composition-preset] .logo-divider {
  background: radial-gradient(
    circle at var(--adaptive-logo-anchor-x) var(--adaptive-logo-anchor-y),
    color-mix(
      in srgb,
      var(--presentation-local-surface-bg) calc((1 - var(--adaptive-pattern-intensity)) * 100%),
      transparent
    ) 0,
    transparent calc(var(--adaptive-composition-falloff) * 100%)
  );
}
body[data-composition-preset="logo-focus"] .brand-logo,
body[data-composition-preset="logo-focus"] .preview-logo-img,
body[data-composition-preset="logo-focus"] .luner-brand-logo,
body[data-composition-preset="logo-focus"] img[data-asset-role="logo"] {
  width: min(72vw, 360px);
  max-height: 136px;
}
body[data-composition-preset="product-split"] .luner-presentation-product img {
  object-position: var(--adaptive-product-anchor-x) var(--adaptive-product-anchor-y);
}
body[data-presentation-layout="centered-stack"] .luner-presentation-product img { max-width:min(280px, 72vw); }
body[data-presentation-layout="product-split"] .luner-presentation-product img { max-width:min(360px, 100%); max-height:52dvh; }
body[data-presentation-version="1"] .logo-divider,
body[data-presentation-version="1"] .divider,
body[data-presentation-version="2"] .logo-divider,
body[data-presentation-version="2"] .divider { margin-bottom:16px; }
body[data-presentation-version="1"] .logo-sub,
body[data-presentation-version="2"] .logo-sub { display:none; }

body[data-presentation-version="1"] button,
body[data-presentation-version="1"] input,
body[data-presentation-version="1"] .cta-btn,
body[data-presentation-version="1"] .social-btn,
body[data-presentation-version="1"] .answer-btn,
body[data-presentation-version="1"] .legal-links a,
body[data-presentation-version="2"] button,
body[data-presentation-version="2"] input,
body[data-presentation-version="2"] .cta-btn,
body[data-presentation-version="2"] .social-btn,
body[data-presentation-version="2"] .answer-btn,
body[data-presentation-version="2"] .legal-links a {
  min-height: 44px;
}

body[data-presentation-version="1"][data-presentation-surface="none"] .question-card,
body[data-presentation-version="1"][data-presentation-surface="none"] .score-wrap,
body[data-presentation-version="1"][data-presentation-surface="none"] .rewards,
body[data-presentation-version="1"][data-presentation-surface="none"] .board,
body[data-presentation-version="1"][data-presentation-surface="none"] .social-btn,
body[data-presentation-version="1"][data-presentation-surface="none"] .field-wrap input,
body[data-presentation-version="1"][data-presentation-surface="none"] .privacy-note,
body[data-presentation-version="1"][data-presentation-surface="none"] .legal-links,
body[data-presentation-version="2"][data-presentation-surface="none"] .question-card,
body[data-presentation-version="2"][data-presentation-surface="none"] .score-wrap,
body[data-presentation-version="2"][data-presentation-surface="none"] .rewards,
body[data-presentation-version="2"][data-presentation-surface="none"] .board,
body[data-presentation-version="2"][data-presentation-surface="none"] .social-btn,
body[data-presentation-version="2"][data-presentation-surface="none"] .field-wrap input,
body[data-presentation-version="2"][data-presentation-surface="none"] .privacy-note,
body[data-presentation-version="2"][data-presentation-surface="none"] .legal-links,
.luner-frame[data-presentation-surface="none"] .question-card,
.luner-frame[data-presentation-surface="none"] .score-wrap,
.luner-frame[data-presentation-surface="none"] .rewards,
.luner-frame[data-presentation-surface="none"] .board,
.luner-frame[data-presentation-surface="none"] .social-btn,
.luner-frame[data-presentation-surface="none"] .preview-field,
.luner-frame[data-presentation-surface="none"] .preview-social-row,
.luner-frame[data-presentation-surface="none"] .preview-answer,
.luner-frame[data-presentation-surface="none"] .preview-reward-box {
  background: var(--presentation-local-surface-bg, rgba(255,255,255,.66));
  border: 1px solid var(--surface-border);
  box-shadow: none;
}

body[data-presentation-version="1"][data-presentation-surface="none"] .container,
body[data-presentation-version="1"][data-presentation-surface="none"] .wrap,
body[data-presentation-version="2"][data-presentation-surface="none"] .container,
body[data-presentation-version="2"][data-presentation-surface="none"] .wrap {
  max-height: none;
  overflow: visible;
}
.entry-error { display:none; margin:0 0 12px; padding:10px 12px; border-radius:var(--radius-control); background:rgba(184,42,52,.13); color:#9b1f2d; font-size:13px; line-height:1.4; }
.entry-error.is-visible { display:block; }
.field-group { width:100%; min-width:0; display:flex; flex-direction:column; gap:12px; }
.field-wrap { position:relative; width:100%; min-width:0; }
.field-wrap input[type="text"],
.field-wrap input[type="tel"],
.field-wrap input[type="email"] {
  display:block;
  width:100%;
  min-width:0;
  min-height:44px;
  padding:22px 18px 8px;
  box-sizing:border-box;
  font:inherit;
  color:var(--ink-primary);
  background:var(--presentation-local-surface-bg,rgba(255,255,255,.55));
  border:1px solid var(--surface-border);
  border-radius:var(--radius-control);
}
.field-wrap .field-label {
  position:absolute;
  top:50%;
  left:18px;
  right:12px;
  transform:translateY(-50%);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  pointer-events:none;
}
.field-wrap input:focus ~ .field-label,
.field-wrap input.has-value ~ .field-label {
  top:9px;
  transform:none;
}
.legal-links { display:flex; flex-wrap:wrap; gap:8px 14px; margin-top:12px; font-size:11px; }
.legal-links a { color:var(--ink-tertiary); min-height:44px; display:inline-flex; align-items:center; }
@media (min-width: 700px) {
  body[data-presentation-version="1"],
  body[data-presentation-version="2"] { background-position:var(--presentation-focal-desktop); }
}
@media (max-width: 699px) {
  body[data-presentation-version="1"] .luner-frame,
  body[data-presentation-version="2"] .luner-frame {
    width: min(100% - 24px, 420px);
    min-height: min(660px, calc(100dvh - 24px));
  }
  body[data-presentation-layout="product-split"] .slot-body { display:flex; flex-direction:column; }
  body[data-presentation-layout="product-split"] .slot-copy { order:-2; }
  body[data-presentation-layout="product-split"] .luner-presentation-product { order:-1; }
  body[data-presentation-layout="activity-focus"] .slot-body { display:flex; flex-direction:column; }
  .luner-presentation-product img { max-width:190px; max-height:22dvh; }
}
@media (max-height: 480px) and (orientation: landscape) {
  body[data-presentation-version="1"],
  body[data-presentation-version="2"] { align-items:flex-start; padding-block:12px; }
  body[data-presentation-version="1"] .luner-frame,
  body[data-presentation-version="2"] .luner-frame {
    width: min(100% - 24px, 900px);
    min-height: auto;
    padding-block: 18px;
  }
  body[data-presentation-layout="product-split"] .slot-body {
    grid-template-columns: minmax(160px, .75fr) minmax(280px, 1fr);
    gap: 16px;
  }
  body[data-presentation-layout="activity-focus"] .slot-body {
    grid-template-columns: minmax(140px, 180px) 1fr;
    gap: 12px;
  }
  body[data-presentation-layout="centered-stack"] .luner-presentation-product img { max-height:24vh; }
  body[data-presentation-layout="product-split"] .luner-presentation-product img { max-height:44vh; }
  body[data-presentation-version="1"] .legal-links,
  body[data-presentation-version="2"] .legal-links { margin-top:8px; }
}
