/* EMIM public campaign entry / consent page
   Owner: templates/campaign.html
   Admin campaign management remains in platform-ui/style until its own extraction. */

/* Public campaign landing base */
.campaign-landing-body{margin:0;height:100dvh;min-height:100vh;min-height:100dvh;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;background:linear-gradient(145deg,var(--game-background,#eff7ff),#fff);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#102033}
.campaign-landing-page{width:min(980px,calc(100% - 32px));margin:0 auto;padding:38px 0 56px}
.campaign-landing-hero{background:rgba(255,255,255,.86);border:1px solid rgba(148,163,184,.28);border-radius:28px;box-shadow:0 24px 70px rgba(16,32,51,.12);padding:34px;text-align:center}
.campaign-landing-logo{display:block;margin:0 auto 18px;max-height:120px;object-fit:contain}
.campaign-landing-kicker{margin:0 0 10px;color:var(--game-primary,#0b5cab);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:12px}
.campaign-landing-hero h1{margin:0 auto 14px;max-width:780px;font-size:clamp(34px,5.2vw,56px);line-height:1.02;letter-spacing:-.045em;color:#102033}
.campaign-landing-intro{margin:0 auto 24px;max-width:700px;color:#475569;font-size:18px;line-height:1.65;white-space:pre-wrap}
.campaign-landing-start{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,var(--game-primary,#0b5cab),#1c7fc0);color:#fff;text-decoration:none;font-weight:950;padding:15px 24px;box-shadow:0 16px 34px rgba(11,92,171,.22)}
.campaign-landing-games{margin-top:22px;background:#fff;border:1px solid rgba(148,163,184,.25);border-radius:24px;padding:22px;box-shadow:0 12px 36px rgba(16,32,51,.08)}
.campaign-landing-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.campaign-landing-section-header strong{font-size:20px}
.campaign-landing-section-header span{color:#64748b;font-weight:800}
.campaign-landing-game-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.campaign-landing-game-list .campaign-landing-game-item{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;padding:14px;border:1px solid #e2e8f0;border-radius:16px;text-decoration:none;color:inherit;background:linear-gradient(135deg,#fff,#f8fafc)}
.campaign-landing-game-list .campaign-landing-game-item{cursor:default}
.campaign-landing-game-list .campaign-landing-game-item:hover{border-color:#e2e8f0;box-shadow:none}
.campaign-landing-game-list span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--game-background,#eff7ff);color:var(--game-primary,#0b5cab);font-weight:950}
.campaign-landing-game-list strong{display:block;color:#102033}
.campaign-landing-game-list small{display:block;margin-top:3px;color:#64748b;text-transform:capitalize}
.campaign-landing-empty{padding:18px;border:1px dashed #cbd5e1;border-radius:16px;color:#64748b;background:#f8fafc}
@media(max-width:720px){.campaign-landing-page{width:min(100% - 20px,920px);padding:18px 0 32px}.campaign-landing-hero{padding:24px}.campaign-landing-intro{font-size:16px}.campaign-landing-games{padding:16px}}

/* Booth / personal public campaign entry modes */
.campaign-landing-body[data-entry-mode="booth"]{background:radial-gradient(circle at 15% 15%, color-mix(in srgb,var(--game-accent,#f59e0b) 26%, transparent), transparent 30%),linear-gradient(145deg,var(--game-background,#eff7ff),#fff 48%, color-mix(in srgb,var(--game-primary,#0b5cab) 10%,#fff));}
.campaign-landing-page{display:grid;gap:22px;align-items:start;}
.campaign-landing-hero{position:relative;overflow:hidden;}
.campaign-landing-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 5%, color-mix(in srgb,var(--game-primary,#0b5cab) 12%, transparent), transparent 34%);pointer-events:none;}
.campaign-landing-hero>*{position:relative;}
.campaign-entry-note{margin:14px auto 0;max-width:640px;color:#64748b;font-weight:800;line-height:1.5;}
.campaign-landing-body[data-entry-mode="booth"] .campaign-landing-hero{min-height:min(70vh,760px);display:grid;align-content:center;}
.campaign-landing-body[data-entry-mode="booth"] .campaign-landing-start{font-size:clamp(18px,2.4vw,26px);padding:18px 34px;box-shadow:0 22px 46px color-mix(in srgb,var(--game-primary,#0b5cab) 30%, transparent);}
.campaign-landing-body[data-entry-mode="booth"] .campaign-landing-intro{font-size:clamp(18px,2vw,24px);max-width:820px;}
@media(max-width:900px){.campaign-landing-body[data-entry-mode="booth"] .campaign-landing-hero{min-height:0}}
@media(max-width:560px){.campaign-landing-hero h1{font-size:clamp(30px,11vw,46px)}.campaign-landing-start{width:100%;}.campaign-landing-game-list .campaign-landing-game-item{grid-template-columns:38px 1fr;padding:12px}.campaign-landing-game-list span{width:36px;height:36px}}

/* Campaign landing activity cards: compact, readable, topic-agnostic */
.campaign-landing-game-list li a{
  display:grid!important;
  gap:4px!important;
  padding:14px 16px!important;
  border-radius:18px!important;
}
.campaign-landing-game-list strong{
  font-size:16px!important;
  line-height:1.2!important;
}
.campaign-landing-game-list span{
  font-size:13px!important;
  line-height:1.35!important;
}

/* Campaign activity list is intentionally hidden in the current public entry experience. */
.campaign-landing-games{display:none!important;}

/* Campaign privacy / consent screen */
/* Keep campaign identity visible while the consent/action area scrolls on short viewports. */
.campaign-landing-fixed-header{flex:0 0 auto;min-width:0}
.campaign-landing-scroll-content{min-width:0;min-height:0}
.campaign-landing-body.campaign-landing-body--consent .campaign-landing-hero{display:flex;flex-direction:column;justify-content:flex-start;align-content:normal;min-height:0;max-height:calc(100dvh - 76px);overflow:hidden}
/* Consent pages use the copy-flow as the single deliberate scroller. The outer
   wrapper must never reserve an iOS scrollbar gutter because that narrows/clips
   the right edge of cards and CTAs, including when a visual is present. */
.campaign-landing-body--consent .campaign-landing-scroll-content{
  flex:1 1 auto;min-width:0;min-height:0;display:flex;flex-direction:column;
  overflow:hidden;padding:0;scrollbar-gutter:auto;
}
.campaign-landing-body--consent .campaign-landing-copy-flow{
  flex:1 1 auto;min-width:0;min-height:0;width:100%;box-sizing:border-box;
  overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
}
.campaign-landing-body--consent .campaign-landing-intro{margin-top:0}
.campaign-privacy-notice{margin:0 auto 22px;max-width:720px;text-align:left;background:#fff;border:1px solid rgba(148,163,184,.34);border-radius:20px;padding:18px 20px;box-shadow:0 14px 34px rgba(16,32,51,.08)}
.campaign-privacy-notice strong{display:block;margin-bottom:8px;color:#102033;font-size:18px}.campaign-privacy-notice p{margin:0;color:#475569;line-height:1.6;white-space:pre-wrap}.campaign-privacy-notice ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}.campaign-privacy-notice li{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:12px;background:#f8fafc;color:#475569}.campaign-privacy-notice li span{font-weight:800;color:#64748b}.campaign-privacy-notice li b{font-weight:900;color:#102033;text-align:right}.campaign-privacy-link{display:inline-flex;margin-top:14px;color:var(--game-primary,#0b5cab);font-weight:900}.campaign-privacy-check{display:flex;align-items:flex-start;gap:10px;margin-top:16px;padding:12px;border-radius:14px;background:color-mix(in srgb,var(--game-background,#eff7ff) 70%,#fff);font-weight:800;color:#102033}.campaign-privacy-check input{margin-top:3px;accent-color:var(--game-primary,#0b5cab)}.campaign-landing-start.disabled{opacity:.48;pointer-events:auto;cursor:not-allowed;filter:grayscale(.15)}
@media(max-width:560px){.campaign-landing-body--consent .campaign-landing-hero{max-height:calc(100dvh - 36px)}.campaign-privacy-notice{padding:16px}.campaign-privacy-notice li{display:grid}}

/* Phase 4A.3 — campaign visual and scrolling contract.
   With a start visual, the visual is stationary and the copy owns scrolling. */
.campaign-landing-copy-flow{min-width:0;min-height:0;display:grid;justify-items:center;align-content:start}
.campaign-entry-visual{
  margin:0 auto 18px;
  width:min(100%,720px);
  min-width:0;
  min-height:0;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.24);
  border-radius:22px;
  background:color-mix(in srgb,var(--game-background,#eff7ff) 62%,#fff);
}
.campaign-entry-visual img{display:block;width:100%;height:100%;max-height:420px;object-fit:contain;object-position:center}
.campaign-landing-scroll-content.has-campaign-visual{min-height:0}
.campaign-landing-scroll-content.has-campaign-visual .campaign-landing-copy-flow>*{box-sizing:border-box;max-width:100%}
.campaign-landing-scroll-content.has-campaign-visual .campaign-landing-start{box-sizing:border-box}

/* A visual campaign is a viewport experience: identity/visual stay visible while copy scrolls. */
.campaign-landing-body--visual{overflow:hidden}
.campaign-landing-body--visual .campaign-landing-page{height:100dvh;box-sizing:border-box;padding:clamp(10px,2vh,24px) 0;width:min(1320px,calc(100% - 24px))}
.campaign-landing-body--visual .campaign-landing-hero{height:100%;min-height:0;max-height:none;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden}
.campaign-landing-body--visual .campaign-landing-scroll-content.has-campaign-visual{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.campaign-landing-body--visual .campaign-entry-visual{flex:0 0 auto;max-height:min(34svh,320px)}
.campaign-landing-body--visual .campaign-landing-copy-flow{flex:1 1 auto;min-width:0;min-height:0;width:100%;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 2px max(14px,env(safe-area-inset-bottom));scrollbar-gutter:auto}
.campaign-landing-body--visual .campaign-landing-start{max-width:100%}

/* Tablet/desktop landscape: image is the stationary left pane; all identity and copy scroll only on the right. */
@media (min-width:900px) and (orientation:landscape) and (min-height:521px){
  .campaign-landing-body--visual .campaign-landing-page{width:min(1320px,calc(100% - 36px));padding:clamp(16px,2.2vh,26px) 0}
  /* Match the consent selector specificity so privacy-enabled visual campaigns
     actually enter the landscape grid instead of being held in the base flex layout. */
  .campaign-landing-body.campaign-landing-body--visual .campaign-landing-hero{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
    grid-template-rows:auto minmax(0,1fr);
    column-gap:clamp(26px,3vw,44px);
    align-items:stretch;
    padding:clamp(24px,3vw,38px);
    text-align:left;
  }
  .campaign-landing-body--visual .campaign-landing-fixed-header{grid-column:2;grid-row:1;align-self:start;text-align:left}
  .campaign-landing-body--visual .campaign-landing-logo{margin-left:0;margin-right:0}
  .campaign-landing-body--visual .campaign-landing-hero h1{margin-left:0;margin-right:0;font-size:clamp(34px,3.7vw,52px);max-width:15ch}
  .campaign-landing-body--visual .campaign-landing-scroll-content.has-campaign-visual{display:contents}
  .campaign-landing-body--visual .campaign-entry-visual{
    grid-column:1;grid-row:1 / span 2;
    align-self:stretch;
    width:100%;height:100%;max-height:none;margin:0;
    border-radius:24px;
  }
  .campaign-landing-body--visual .campaign-entry-visual img{width:100%;height:100%;max-height:none;object-fit:contain}
  .campaign-landing-body--visual .campaign-landing-copy-flow{
    grid-column:2;grid-row:2;
    align-self:stretch;
    justify-items:stretch;
    text-align:left;
    overflow-y:auto;
    padding:4px 10px max(10px,env(safe-area-inset-bottom)) 0;
  }
  .campaign-landing-body--visual .campaign-landing-intro,
  .campaign-landing-body--visual .campaign-privacy-notice,
  .campaign-landing-body--visual .campaign-entry-note{margin-left:0;margin-right:0;width:100%;max-width:none}
  .campaign-landing-body--visual .campaign-landing-start{justify-self:start;width:auto}
}

/* Phone and tablet portrait: identity + image remain stationary; only the copy below scrolls. */
@media (max-width:899px), (orientation:portrait){
  .campaign-landing-body--visual .campaign-landing-page{width:min(100% - 16px,820px);padding:max(8px,env(safe-area-inset-top)) 0 max(8px,env(safe-area-inset-bottom))}
  .campaign-landing-body--visual .campaign-landing-hero{padding:clamp(16px,3vw,26px);border-radius:24px}
  .campaign-landing-body--visual .campaign-landing-fixed-header{flex:0 0 auto}
  .campaign-landing-body--visual .campaign-landing-scroll-content.has-campaign-visual{flex:1 1 auto}
  .campaign-landing-body--visual .campaign-entry-visual{width:100%;margin:0 0 14px;max-height:min(31svh,320px);border-radius:18px}
  /* Both visual and non-visual consent pages share this exact mobile scroller.
     The inset belongs to the scroll box itself, not to an outer gutter. */
  .campaign-landing-body--consent .campaign-landing-copy-flow{
    width:100%;
    padding:8px 8px max(14px,env(safe-area-inset-bottom));
    scrollbar-gutter:auto;
    scrollbar-width:none;
    -ms-overflow-style:none;
    scroll-padding-top:8px;
  }
  .campaign-landing-body--consent .campaign-landing-copy-flow::-webkit-scrollbar{
    width:0;
    height:0;
    display:none;
  }
  .campaign-landing-body--consent .campaign-landing-copy-flow>*{
    box-sizing:border-box;
    min-width:0;
    max-width:100%;
  }
  .campaign-landing-body--consent .campaign-landing-start{
    width:auto;
    min-width:0;
    max-width:none;
    justify-self:stretch;
    margin-left:0;
    margin-right:0;
    padding-left:18px;
    padding-right:18px;
  }
  .campaign-landing-body--consent .campaign-privacy-notice{
    width:auto;
    min-width:0;
    max-width:none;
    justify-self:stretch;
    margin-left:0;
    margin-right:0;
  }
}
@media (min-width:700px) and (orientation:portrait){
  .campaign-landing-body--visual .campaign-landing-page{width:min(calc(100% - 24px),796px)}
  .campaign-landing-body--visual .campaign-landing-hero{padding:28px 34px}
  .campaign-landing-body--visual .campaign-entry-visual{max-height:min(39svh,460px)}
  .campaign-landing-body--visual .campaign-landing-intro{max-width:700px}
}

/* Phase 8A.3 — full-bleed visual campaign entry.
   The campaign visual owns the viewport pane; reading copy keeps its own line length
   and scroll surface. No outer card edge is shown around a visual campaign. */
.campaign-landing-body--visual .campaign-landing-page{
  position:fixed;inset:0;width:auto;height:auto;margin:0;padding:0;max-width:none;
}
.campaign-landing-body.campaign-landing-body--visual .campaign-landing-hero{
  position:absolute;inset:0;width:auto;height:auto;min-height:0;max-height:none;margin:0;padding:0;
  border:0;border-radius:0;box-shadow:none;background:#fff;
}
.campaign-landing-body--visual .campaign-landing-hero:before{display:none}
.campaign-landing-body--visual .campaign-entry-visual{
  border:0;border-radius:0;background:color-mix(in srgb,var(--game-background,#eff7ff) 68%,#fff);
}

@media (min-width:900px) and (orientation:landscape) and (min-height:521px){
  .campaign-landing-body--visual .campaign-landing-page{width:100%;padding:0}
  .campaign-landing-body.campaign-landing-body--visual .campaign-landing-hero{
    grid-template-columns:minmax(0,54%) minmax(360px,46%);
    grid-template-rows:auto minmax(0,1fr);column-gap:0;padding:0;
  }
  .campaign-landing-body--visual .campaign-landing-fixed-header{
    grid-column:2;grid-row:1;padding:clamp(30px,4vh,48px) clamp(34px,4vw,58px) 12px;
  }
  .campaign-landing-body--visual .campaign-landing-scroll-content.has-campaign-visual{display:contents}
  .campaign-landing-body--visual .campaign-entry-visual{
    grid-column:1;grid-row:1 / span 2;width:100%;height:100%;max-height:none;margin:0;border-radius:0;
  }
  .campaign-landing-body--visual .campaign-entry-visual img{width:100%;height:100%;max-height:none;object-fit:contain}
  .campaign-landing-body--visual .campaign-landing-copy-flow{
    grid-column:2;grid-row:2;align-self:stretch;justify-items:stretch;text-align:left;
    overflow-y:auto;overflow-x:hidden;padding:8px clamp(34px,4vw,58px) max(30px,env(safe-area-inset-bottom));
  }
  .campaign-landing-body--visual .campaign-landing-intro,
  .campaign-landing-body--visual .campaign-privacy-notice,
  .campaign-landing-body--visual .campaign-entry-note{max-width:58ch}
  .campaign-landing-body--visual .campaign-landing-start{justify-self:start}
}

@media (max-width:899px), (orientation:portrait){
  .campaign-landing-body--visual .campaign-landing-page{width:100%;padding:0}
  .campaign-landing-body.campaign-landing-body--visual .campaign-landing-hero{padding:0;border-radius:0}
  .campaign-landing-body--visual .campaign-landing-fixed-header{
    flex:0 0 auto;padding:max(18px,env(safe-area-inset-top)) 20px 14px;
  }
  .campaign-landing-body--visual .campaign-landing-scroll-content.has-campaign-visual{flex:1 1 auto;min-height:0}
  .campaign-landing-body--visual .campaign-entry-visual{
    flex:0 0 auto;width:100%;margin:0;max-height:min(34svh,360px);border-radius:0;
  }
  .campaign-landing-body--visual .campaign-landing-copy-flow,
  .campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-flow{
    padding:18px 20px max(22px,env(safe-area-inset-bottom));
  }
}
@media (min-width:700px) and (orientation:portrait){
  .campaign-landing-body--visual .campaign-landing-page{width:100%}
  .campaign-landing-body--visual .campaign-landing-fixed-header{padding:28px 36px 16px}
  .campaign-landing-body--visual .campaign-entry-visual{max-height:min(40svh,470px)}
  .campaign-landing-body--visual .campaign-landing-copy-flow,
  .campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-flow{
    padding:22px 36px max(30px,env(safe-area-inset-bottom));
  }
}

/* Public campaign phone-landscape guard mirrors the participant runtime guard. */
.campaign-portrait-lock-message{display:none}
@media (orientation:landscape) and (max-width:950px) and (max-height:520px){
  body.campaign-landing-body{overflow:hidden!important;background:#f8fafc!important}
  body.campaign-landing-body > .campaign-landing-page{display:none!important}
  body.campaign-landing-body > .campaign-portrait-lock-message{
    position:fixed;inset:0;z-index:11000;width:100vw;height:100svh;display:grid!important;place-items:center;
    box-sizing:border-box;overflow:hidden;text-align:center;background:#f8fafc;color:#0f172a;
    padding:max(18px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
  }
  .campaign-portrait-lock-card{width:min(86vw,420px);max-height:calc(100svh - 36px);overflow:auto;border-radius:24px;padding:clamp(18px,5vh,28px) 24px;box-sizing:border-box;background:#fff;box-shadow:0 20px 60px rgba(15,23,42,.14);border:1px solid rgba(15,23,42,.08)}
  .campaign-portrait-lock-card strong{display:block;font-size:clamp(18px,5vw,22px);margin-bottom:8px}
  .campaign-portrait-lock-card p{margin:0;color:#475569;font-weight:700;line-height:1.4}
}

/* Phase 8A.4 — every public campaign entry owns the viewport, including
   consent-only campaigns without a campaign image. The viewport is the scene;
   readable identity/consent copy remains intentionally bounded inside it. */
body.campaign-landing-body:not(.campaign-landing-body--visual){
  overflow:hidden!important;
}
body.campaign-landing-body:not(.campaign-landing-body--visual) > .campaign-landing-page{
  position:fixed!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.campaign-landing-body:not(.campaign-landing-body--visual) > .campaign-landing-page > .campaign-landing-hero{
  position:absolute!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-content:normal!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--game-background,#eff7ff) 82%,#fff),#fff)!important;
}
body.campaign-landing-body:not(.campaign-landing-body--visual) .campaign-landing-hero:before{
  display:block;
  border-radius:0;
}
body.campaign-landing-body:not(.campaign-landing-body--visual) .campaign-landing-fixed-header{
  flex:0 0 auto!important;
  width:min(100%,900px)!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:max(28px,env(safe-area-inset-top)) clamp(22px,5vw,52px) 16px!important;
  box-sizing:border-box!important;
}
body.campaign-landing-body:not(.campaign-landing-body--visual) .campaign-landing-scroll-content:not(.has-campaign-visual){
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
body.campaign-landing-body:not(.campaign-landing-body--visual) .campaign-landing-copy-flow{
  flex:1 1 auto!important;
  width:min(100%,800px)!important;
  min-width:0!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:10px clamp(20px,5vw,44px) max(28px,env(safe-area-inset-bottom))!important;
  box-sizing:border-box!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  scrollbar-gutter:auto!important;
  align-content:start!important;
}
body.campaign-landing-body:not(.campaign-landing-body--visual) .campaign-landing-intro,
body.campaign-landing-body:not(.campaign-landing-body--visual) .campaign-privacy-notice,
body.campaign-landing-body:not(.campaign-landing-body--visual) .campaign-entry-note{
  width:100%;
  max-width:720px;
  box-sizing:border-box;
}
@media (max-width:560px){
  body.campaign-landing-body:not(.campaign-landing-body--visual) .campaign-landing-fixed-header{
    padding:max(20px,env(safe-area-inset-top)) 18px 12px!important;
  }
  body.campaign-landing-body:not(.campaign-landing-body--visual) .campaign-landing-copy-flow{
    padding:8px 16px max(22px,env(safe-area-inset-bottom))!important;
  }
}

/* Phase 10D — visual consent reuses the portrait story-sheet reading pattern.
   On wide landscape the existing 54/46 editorial split remains unchanged. */
.campaign-landing-copy-scroll,
.campaign-landing-action-gutter{display:contents}
.campaign-consent-sheet-handle{display:none}

@media (max-width:899px), (orientation:portrait){
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-scroll-content.has-campaign-visual{
    position:relative!important;
    display:block!important;
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-entry-visual{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    margin:0!important;
    border-radius:0!important;
    z-index:0!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-entry-visual img{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-flow.campaign-consent-sheet{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    top:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:44%!important;
    min-height:240px!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    gap:0!important;
    overflow:hidden!important;
    border-radius:28px 28px 0 0!important;
    background:#fff!important;
    box-shadow:0 -16px 42px rgba(15,23,42,.14)!important;
    z-index:2!important;
    transition:height 380ms cubic-bezier(.22,.8,.25,1)!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-flow.campaign-consent-sheet.is-resizing,
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-flow.campaign-consent-sheet.is-dragging{
    transition:none!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-consent-sheet-handle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:64px!important;
    height:28px!important;
    margin:0 auto!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    touch-action:none!important;
    cursor:grab!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-consent-sheet-handle span{
    display:block;
    width:44px;
    height:5px;
    margin:auto;
    border-radius:999px;
    background:#cbd5e1;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-scroll{
    display:block!important;
    min-width:0!important;
    min-height:0!important;
    overflow-y:hidden!important;
    overflow-x:hidden!important;
    overscroll-behavior:none!important;
    padding:4px 20px 14px!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-consent-sheet.is-expanded:not(.is-transitioning) .campaign-landing-copy-scroll{
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-consent-sheet.is-transitioning .campaign-landing-copy-scroll,
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-consent-sheet.is-dragging .campaign-landing-copy-scroll{
    overflow-y:hidden!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-scroll .campaign-landing-intro,
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-scroll .campaign-privacy-notice{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-action-gutter{
    display:grid!important;
    gap:8px!important;
    padding:10px 20px max(14px,env(safe-area-inset-bottom,0px))!important;
    border-top:1px solid rgba(226,232,240,.92)!important;
    background:#fff!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-action-gutter .campaign-landing-start{
    width:100%!important;
    justify-self:stretch!important;
    margin:0!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-action-gutter .campaign-entry-note{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    font-size:11px!important;
    line-height:1.35!important;
    text-align:center!important;
  }
}

@media (min-width:600px) and (max-width:899px) and (orientation:portrait){
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-scroll{
    padding-left:30px!important;
    padding-right:30px!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-action-gutter{
    padding-left:30px!important;
    padding-right:30px!important;
  }
}

@media (prefers-reduced-motion:reduce){
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-flow.campaign-consent-sheet{
    transition:none!important;
  }
}


/* Phase 10E — campaign start/consent hero parity.
   Visual campaign consent pages now mirror the game reading-surface pattern more closely:
   the image owns the scene, the title overlays the image, and the consent sheet expands
   from the bottom using the same geometry language as story/game completion. */
.campaign-entry-visual{position:relative}
.campaign-entry-visual--with-title{isolation:isolate}
.campaign-entry-visual-title{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  text-align:center;
  padding:clamp(18px,5vw,44px) clamp(18px,6vw,54px) clamp(72px,16vh,132px);
  background:linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.18) 34%, rgba(255,255,255,0) 62%);
  pointer-events:none;
  z-index:1;
}
.campaign-entry-visual-title h1{
  margin:0;
  max-width:min(15ch,100%);
  color:#102033;
  font-size:clamp(30px,8vw,56px);
  line-height:1.02;
  letter-spacing:-.045em;
  text-wrap:balance;
  text-shadow:0 4px 18px rgba(255,255,255,.35);
}

@media (max-width:899px), (orientation:portrait){
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-fixed-header{
    position:absolute!important;
    top:0!important;
    left:0!important;
    right:0!important;
    z-index:2!important;
    width:auto!important;
    margin:0!important;
    padding:max(18px,env(safe-area-inset-top)) 20px 8px!important;
    text-align:center!important;
    pointer-events:none!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-logo{
    margin:0 auto 10px!important;
    max-height:76px!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-kicker{
    margin:0!important;
    color:#c2410c!important;
    text-shadow:0 2px 12px rgba(255,255,255,.42);
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-scroll-content.has-campaign-visual{
    position:relative!important;
    display:block!important;
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-entry-visual{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    margin:0!important;
    border-radius:0!important;
    z-index:0!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-entry-visual-title{
    align-items:flex-start!important;
    padding:max(calc(env(safe-area-inset-top) + 110px), 132px) 24px clamp(84px,18vh,142px)!important;
    background:linear-gradient(180deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.24) 36%, rgba(255,255,255,0) 70%)!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-entry-visual-title h1{
    font-size:clamp(36px,12vw,68px)!important;
    max-width:12ch!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-flow.campaign-consent-sheet{
    height:44%!important;
    min-height:240px!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-landing-copy-scroll{
    padding:4px 20px 14px!important;
  }
}

@media (min-width:600px) and (max-width:899px) and (orientation:portrait){
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-entry-visual-title{
    padding:max(calc(env(safe-area-inset-top) + 116px), 148px) 34px clamp(96px,16vh,154px)!important;
  }
  body.campaign-landing-body--consent.campaign-landing-body--visual .campaign-entry-visual-title h1{
    font-size:clamp(42px,8vw,72px)!important;
    max-width:14ch!important;
  }
}

/* Desktop/tablet landscape keep the strong visual but still allow title-overlay previews.
   The title sits inside the media pane; editorial copy stays in the 46% reading column. */
@media (min-width:900px) and (orientation:landscape) and (min-height:521px){
  body.campaign-landing-body--visual .campaign-entry-visual-title{
    justify-content:flex-start;
    text-align:left;
    padding:clamp(28px,4vh,48px) clamp(30px,4vw,50px) clamp(90px,14vh,144px);
    background:linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.20) 34%, rgba(255,255,255,0) 64%);
  }
  body.campaign-landing-body--visual .campaign-entry-visual-title h1{
    max-width:min(13ch,100%);
    font-size:clamp(34px,3.7vw,58px);
  }
}

/* Phase 11B — campaign title and consent are separate participant scenes.
   The title scene is intentionally clean: brand, large hero, overlaid title, one CTA.
   Consent owns its own reading page and never obscures the campaign hero. */
body.campaign-title-page{overflow:hidden!important;background:#fff!important}
body.campaign-title-page > .campaign-title-scene{
  position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;
  margin:0!important;padding:0!important;display:block!important;
}
body.campaign-title-page .campaign-title-hero{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important;
}
body.campaign-title-page .campaign-title-hero:before{display:none!important}
body.campaign-title-page .campaign-title-brand{
  grid-row:1;display:flex;align-items:center;justify-content:center;min-height:76px;
  padding:max(14px,env(safe-area-inset-top)) 20px 10px;box-sizing:border-box;background:#fff;z-index:3;
}
body.campaign-title-page .campaign-title-brand .campaign-landing-logo{margin:0!important;max-height:64px!important;width:auto;object-fit:contain}
body.campaign-title-page .campaign-entry-visual{
  grid-row:2;position:relative!important;inset:auto!important;width:100%!important;height:100%!important;max-height:none!important;
  min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:var(--game-background,#eff7ff)!important;
}
body.campaign-title-page .campaign-entry-visual::before{
  content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 40%, color-mix(in srgb,var(--game-primary,#0b5cab) 10%, transparent), transparent 42%);pointer-events:none;z-index:0;
}
body.campaign-title-page .campaign-entry-visual img{
  display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;
}
body.campaign-title-page .campaign-entry-visual-title{
  position:absolute!important;inset:0!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;
  padding:clamp(28px,5vh,58px) clamp(20px,6vw,72px) 0!important;box-sizing:border-box!important;text-align:center!important;
  background:linear-gradient(180deg,rgba(255,255,255,.72) 0%,rgba(255,255,255,.26) 28%,rgba(255,255,255,0) 52%)!important;
}
body.campaign-title-page .campaign-entry-visual-title h1{
  margin:0!important;max-width:14ch!important;color:#102033!important;font-size:clamp(34px,7vw,72px)!important;line-height:1.02!important;
  letter-spacing:-.045em!important;text-wrap:balance;text-shadow:0 3px 18px rgba(255,255,255,.45)!important;
}
body.campaign-title-page .campaign-title-text-only{
  grid-row:2;display:grid;place-items:center;padding:32px;background:linear-gradient(145deg,var(--game-background,#eff7ff),#fff);
}
body.campaign-title-page .campaign-title-text-only h1{margin:0;max-width:15ch;text-align:center;font-size:clamp(40px,8vw,82px);line-height:1.02;letter-spacing:-.05em;text-wrap:balance}
body.campaign-title-page .campaign-title-action{
  grid-row:3;display:flex;align-items:center;justify-content:center;padding:12px 20px max(16px,env(safe-area-inset-bottom));background:#fff;z-index:3;
}
body.campaign-title-page .campaign-title-action .campaign-landing-start{min-width:min(320px,78vw);margin:0!important;padding:14px 28px!important}

body.campaign-consent-page{overflow:hidden!important;background:linear-gradient(145deg,var(--game-background,#eff7ff),#fff)!important}
body.campaign-consent-page > .campaign-consent-scene{
  position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:0!important;
}
body.campaign-consent-page .campaign-landing-hero{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;
  padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:linear-gradient(145deg,color-mix(in srgb,var(--game-background,#eff7ff) 82%,#fff),#fff)!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
}
body.campaign-consent-page .campaign-consent-header{
  flex:0 0 auto!important;width:min(100%,820px)!important;margin:0 auto!important;padding:max(22px,env(safe-area-inset-top)) 24px 12px!important;box-sizing:border-box!important;text-align:center!important;
}
body.campaign-consent-page .campaign-consent-header .campaign-landing-logo{margin:0 auto 12px!important;max-height:64px!important}
body.campaign-consent-page .campaign-consent-header[data-logo-position="top-left"] .campaign-landing-logo{margin-left:0!important;margin-right:auto!important}
body.campaign-consent-page .campaign-consent-header[data-logo-position="top-right"] .campaign-landing-logo{margin-left:auto!important;margin-right:0!important}
body.campaign-consent-page .campaign-consent-header[data-logo-position="top-center"] .campaign-landing-logo{margin-left:auto!important;margin-right:auto!important}
body.campaign-consent-page .campaign-consent-header h1{margin:0!important;font-size:clamp(28px,6vw,44px)!important;line-height:1.05!important}
body.campaign-consent-page .campaign-landing-scroll-content{
  flex:1 1 auto!important;min-height:0!important;width:100%!important;display:flex!important;overflow:hidden!important;
}
body.campaign-consent-page .campaign-consent-copy-flow{
  width:min(100%,760px)!important;min-height:0!important;margin:0 auto!important;padding:6px 20px max(18px,env(safe-area-inset-bottom))!important;
  box-sizing:border-box!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;overflow:hidden!important;align-content:stretch!important;
}
body.campaign-consent-page .campaign-landing-copy-scroll{
  display:block!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;
  padding:6px 4px 14px!important;
}
body.campaign-consent-page .campaign-landing-intro{margin:0 0 14px!important;max-width:none!important;font-size:clamp(15px,2vw,18px)!important;line-height:1.55!important;text-align:left!important}
body.campaign-consent-page .campaign-privacy-notice{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}
body.campaign-consent-page .campaign-landing-action-gutter{display:block!important;padding:12px 0 0!important;background:transparent!important;border:0!important}
body.campaign-consent-page .campaign-landing-start{width:100%!important;box-sizing:border-box!important;margin:0!important}

@media (max-width:560px){
  body.campaign-title-page .campaign-title-brand{min-height:62px;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:8px}
  body.campaign-title-page .campaign-title-brand .campaign-landing-logo{max-height:48px!important}
  body.campaign-title-page .campaign-entry-visual-title{padding:clamp(22px,4vh,38px) 18px 0!important}
  body.campaign-title-page .campaign-entry-visual-title h1{font-size:clamp(34px,11vw,54px)!important;max-width:12ch!important}
  body.campaign-title-page .campaign-title-action{padding:10px 16px max(12px,env(safe-area-inset-bottom))}
  body.campaign-title-page .campaign-title-action .campaign-landing-start{width:100%!important;min-width:0!important}
  body.campaign-consent-page .campaign-consent-header{padding:max(16px,env(safe-area-inset-top)) 18px 10px!important}
  body.campaign-consent-page .campaign-consent-header .campaign-landing-logo{max-height:48px!important;margin-bottom:8px!important}
  body.campaign-consent-page .campaign-consent-copy-flow{padding:4px 14px max(14px,env(safe-area-inset-bottom))!important}
  body.campaign-consent-page .campaign-privacy-notice{padding:15px 16px!important}
}


/* Phase 11B.2 — portrait guard must outrank the later title/consent scene rules.
   Phase 11B introduced fixed full-viewport scenes after the original guard block;
   equal-specificity display rules later in the stylesheet could therefore reveal
   the campaign scene underneath the rotate-phone guard. */
@media (orientation:landscape) and (max-width:950px) and (max-height:520px){
  body.campaign-landing-body.campaign-title-page > .campaign-title-scene,
  body.campaign-landing-body.campaign-consent-page > .campaign-consent-scene{
    display:none!important;
  }
  body.campaign-landing-body > .campaign-portrait-lock-message{
    display:grid!important;
  }
}

/* Phase 12C — wide campaign title scene matches the visual-story split language.
   Portrait keeps the title over the hero; iPad landscape/laptop/desktop use
   image left and a clean title/CTA column on the right. */
body.campaign-title-page .campaign-title-copy{display:none}
body.campaign-title-page .campaign-title-brand[data-logo-position="top-left"]{justify-content:flex-start}
body.campaign-title-page .campaign-title-brand[data-logo-position="top-right"]{justify-content:flex-end}
body.campaign-title-page .campaign-title-brand[data-logo-position="top-center"]{justify-content:center}

@media (min-width:720px) and (orientation:landscape) and (min-height:521px){
  body.campaign-title-page .campaign-title-hero.has-campaign-visual{
    display:grid!important;
    grid-template-columns:minmax(0,54%) minmax(360px,46%)!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    background:#fff!important;
  }
  body.campaign-title-page .campaign-title-hero.has-campaign-visual .campaign-entry-visual{
    grid-column:1!important;
    grid-row:1 / span 3!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
  }
  body.campaign-title-page .campaign-title-hero.has-campaign-visual .campaign-entry-visual-title{
    display:none!important;
  }
  body.campaign-title-page .campaign-title-hero.has-campaign-visual .campaign-title-brand{
    grid-column:2!important;
    grid-row:1!important;
    min-height:88px!important;
    padding:max(24px,env(safe-area-inset-top)) clamp(32px,4vw,58px) 12px!important;
    justify-content:flex-start!important;
  }
  body.campaign-title-page .campaign-title-hero.has-campaign-visual .campaign-title-brand[data-logo-position="top-center"]{justify-content:center!important}
  body.campaign-title-page .campaign-title-hero.has-campaign-visual .campaign-title-brand[data-logo-position="top-right"]{justify-content:flex-end!important}
  body.campaign-title-page .campaign-title-copy{
    grid-column:2!important;
    grid-row:2!important;
    min-width:0!important;
    min-height:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    padding:18px clamp(32px,4vw,58px)!important;
    box-sizing:border-box!important;
    text-align:left!important;
    background:#fff!important;
  }
  body.campaign-title-page .campaign-title-copy h1{
    margin:0!important;
    max-width:12ch!important;
    color:#102033!important;
    font-size:clamp(40px,5vw,76px)!important;
    line-height:1.01!important;
    letter-spacing:-.05em!important;
    text-wrap:balance!important;
    overflow-wrap:anywhere!important;
  }
  body.campaign-title-page .campaign-title-hero.has-campaign-visual .campaign-title-action{
    grid-column:2!important;
    grid-row:3!important;
    justify-content:flex-start!important;
    padding:12px clamp(32px,4vw,58px) max(26px,env(safe-area-inset-bottom))!important;
  }
  body.campaign-title-page .campaign-title-hero.has-campaign-visual .campaign-title-action .campaign-landing-start{
    width:min(100%,420px)!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
}

/* Phase 13A — optional participant journey between consent/title and activity 1. */
.campaign-journey-page{--participant-gutter:clamp(18px,4vw,32px);overflow:hidden;background:linear-gradient(145deg,var(--game-background,#eff7ff),#fff 58%)}
.campaign-journey-page .campaign-landing-page{height:100dvh;box-sizing:border-box;width:min(1180px,calc(100% - (2 * var(--participant-gutter))));padding-block:clamp(14px,2.5vh,30px);padding-inline:0;margin-inline:auto}
.campaign-journey-surface{height:100%;box-sizing:border-box;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(18px,2.5vh,28px);padding:clamp(24px,4vw,48px);border:1px solid rgba(148,163,184,.24);border-radius:30px;background:rgba(255,255,255,.94);box-shadow:0 24px 70px rgba(16,32,51,.1)}
.campaign-journey-header{text-align:left;max-width:760px;width:100%}
.campaign-journey-brand{width:100%;display:flex;align-items:center;justify-content:flex-start;margin:0 0 18px}
.campaign-journey-brand[data-logo-position="top-center"]{justify-content:center}
.campaign-journey-brand[data-logo-position="top-right"]{justify-content:flex-end}
.campaign-journey-brand[data-logo-position="top-left"]{justify-content:flex-start}
.campaign-journey-header .campaign-landing-logo{margin:0;max-height:84px}
.campaign-journey-header h1{margin:0;color:#102033;font-size:clamp(34px,4.8vw,58px);line-height:1;letter-spacing:-.045em}
.campaign-journey-meta{margin:12px 0 0;color:#64748b;font-size:clamp(15px,1.7vw,18px);font-weight:800}
.campaign-journey-list{list-style:none;margin:0;padding:0;min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:start;scrollbar-gutter:auto}
.campaign-journey-item{min-width:0;display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:center;padding:18px;border:1px solid rgba(148,163,184,.24);border-radius:20px;background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--game-background,#eff7ff) 30%,#fff))}
.campaign-journey-number{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:color-mix(in srgb,var(--game-primary,#635bff) 10%,#fff);color:var(--game-primary,#635bff);font-size:13px;font-weight:950;letter-spacing:.06em}
.campaign-journey-copy{min-width:0;display:grid;align-items:center}
.campaign-journey-copy strong{color:#102033;font-size:clamp(17px,2vw,21px);line-height:1.25;overflow-wrap:anywhere;text-wrap:balance}
.campaign-journey-action{display:flex;justify-content:flex-end;align-items:center}
.campaign-journey-action .campaign-landing-start{min-width:150px}
.campaign-sources-slot{display:none}
@media(max-width:700px){
  .campaign-journey-page{--participant-gutter:8px}
  .campaign-journey-page .campaign-landing-page{width:min(calc(100% - (2 * var(--participant-gutter))),620px);padding-block:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-bottom));padding-inline:0}
  .campaign-journey-surface{padding:22px 18px max(18px,env(safe-area-inset-bottom));border-radius:24px;gap:16px}
  .campaign-journey-header h1{font-size:clamp(32px,10vw,46px)}
  .campaign-journey-brand{margin-bottom:12px}
  .campaign-journey-header .campaign-landing-logo{max-height:68px}
  .campaign-journey-list{grid-template-columns:1fr;gap:9px}
  .campaign-journey-item{grid-template-columns:42px minmax(0,1fr);gap:11px;padding:13px 14px;border-radius:17px}
  .campaign-journey-number{width:40px;height:40px;border-radius:12px}
  .campaign-journey-copy strong{font-size:17px}
  .campaign-journey-action .campaign-landing-start{width:100%}
}
@media(max-height:650px) and (min-width:700px){
  .campaign-journey-surface{padding:20px 28px;gap:12px}.campaign-journey-header h1{font-size:38px}.campaign-journey-item{padding:12px 14px}
}

/* ------------------------------------------ optional participant category
 * Asked once at campaign entry. Never blocks the start control: the campaign
 * runs identically whether or not the question is answered, which is what
 * makes it safe to ask at all. */
.campaign-category-card {
  width: min(92vw, 420px);
  margin: 0 auto;
  text-align: center;
}

/* The question is the scene's heading, so the card carries only the answers.
   It lives inside the consent scroll region, which is a known-interactive
   surface: the title hero is a strict three-row grid with overflow:hidden, so
   a fourth child there lands in an implicit row and is clipped out of reach. */
.campaign-category-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.75;
}

.campaign-category-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.campaign-category-option {
  appearance: none;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.campaign-category-option.is-selected {
  border-color: var(--game-primary, #2268c8);
  background: var(--game-primary, #2268c8);
  color: #fff;
}

.campaign-category-decline {
  font-weight: 600;
  opacity: 0.75;
}
