/* Miami night introductions for existing feature destinations.
   No selectors reach Home, Features, the creator wizard or the render theater.
   Artwork grids, customer profile images, forms and navigation keep their layout. */

html[data-ds-page]:is(
  [data-ds-page="inspiration"], [data-ds-page="studio"],
  [data-ds-page="challenge"], [data-ds-page="wall"],
  [data-ds-page="account"], [data-ds-page="account-access"],
  [data-ds-page="early-creators"]
) body {
  background:radial-gradient(ellipse at 8% 0,#17424f40,transparent 42%),
    radial-gradient(ellipse at 96% 12%,#6424472b,transparent 42%),#081326!important;
}

html[data-ds-page="inspiration"] :is(.wall-feed > h1,.inspiration-hero),
html[data-ds-page="studio"] :is(.library-head,#libraryStart),
html[data-ds-page="challenge"] .ds-contest-overview,
html[data-ds-page="wall"] .poster,
html[data-ds-page="account"] .account-main .account-heading,
html[data-ds-page="account-access"] .auth-page .auth-card,
html:is([data-ds-page="early-creators"],[data-ds-page="account"]) .ds-early-access > h1 {
  --destination-art:none;
  --destination-art-size:auto 150px;
  --destination-art-position:right 22px center;
  --destination-shade:linear-gradient(105deg,#081528f5 0%,#081528ed 45%,#081528b5 73%,#08152857 100%);
  position:relative;
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
  border:1px solid #73c8d277;
  border-radius:20px;
  color:#fff5ed;
  background-color:#0a1930;
  background-image:var(--destination-shade),var(--destination-art),url('/media/miami-night-boulevard-v1.webp');
  background-position:center,var(--destination-art-position),center 75%;
  background-size:cover,var(--destination-art-size),cover;
  background-repeat:no-repeat;
  box-shadow:inset 0 1px 0 #a8f4f329,0 0 25px #33cbd00d,0 14px 30px #02091626;
}

html[data-ds-page="inspiration"] .wall-feed > h1,
html[data-ds-page="account"] .account-main .account-heading,
html:is([data-ds-page="early-creators"],[data-ds-page="account"]) .ds-early-access > h1 {
  min-height:130px;
  padding:clamp(22px,3vw,32px);
}

html[data-ds-page="inspiration"] .wall-feed > h1 {
  --destination-art:url('/media/reveal-daylight.webp');
  --destination-art-size:auto 144px;
  --destination-art-position:right 5% bottom -8px;
  display:flex;
  align-items:center;
  margin:0 0 14px;
  font-size:clamp(28px,4.5vw,43px);
  font-style:italic;
  font-weight:900;
  line-height:1.13;
  letter-spacing:-.025em;
  text-shadow:0 2px 3px #020916,0 0 18px #70e6ec32;
}

/* The current Wall uses .wall-feed; this also covers its existing hero variant. */
html[data-ds-page="inspiration"] .inspiration-hero {
  --destination-art:url('/media/reveal-daylight.webp');
}

html[data-ds-page="studio"] .library-head {
  --destination-art:url('/media/reveal-sneaker.webp');
  --destination-art-size:auto 125px;
  padding:clamp(18px,3vw,28px);
  border-color:#83bfdc80;
}

html[data-ds-page="studio"] #libraryStart {
  border-color:#f6a4c15c;
  background-position:center,center,center 80%;
}

html[data-ds-page="studio"] #libraryStart .studio-sample {
  border:1px solid #8de9e264;
  background:#0c1b30;
  box-shadow:0 0 16px #53d8d51a;
}

html[data-ds-page="challenge"] .ds-contest-overview {
  --destination-shade:linear-gradient(110deg,#081528f5 0%,#081528e8 55%,#0815289c 100%);
  border-color:#ffa8c477;
}

html[data-ds-page="challenge"] .ds-contest-overview .ds-page-heading {
  margin-top:0;
}

html[data-ds-page="wall"] .poster {
  --destination-art:url('/media/reveal-pet-city.webp');
  --destination-art-size:auto clamp(150px,23vw,220px);
  --destination-art-position:right 4% top 22px;
  border-color:#ffa8c477;
}

/* Replace only the old decorative poster photo; preserve its content and mascot. */
html[data-ds-page="wall"] .poster::before {
  background:none;
}

html[data-ds-page="wall"] .poster h1 {
  font-size:clamp(36px,6.8vw,72px);
}

html[data-ds-page="wall"] .poster .brand,
html[data-ds-page="studio"] .library-head > small,
html[data-ds-page="account"] .account-main .account-heading .eyebrow {
  color:#a4f0ed;
  font-size:16px;
}

html[data-ds-page="account"] .account-main .account-heading {
  --destination-art:url('/media/reveal-daylight.webp');
  --destination-art-position:right 18% bottom -18px;
  --destination-art-size:auto 138px;
  border-color:#b6ace980;
}

html[data-ds-page="account"] .account-main .account-heading > div {
  min-width:0;
}

html[data-ds-page="account-access"] .auth-page .auth-card {
  --destination-shade:linear-gradient(110deg,#0a1930f8,#0a1930ed);
  border-color:#8bdad091;
}

html[data-ds-page="account-access"] .auth-page .auth-card::before {
  background:linear-gradient(90deg,#8feee7,#f7a4c6,#8feee700);
}

html[data-ds-page="account-access"] .auth-picture {
  border:1px solid #72bcca52;
  border-radius:20px;
  background:radial-gradient(ellipse at 50% 55%,#398c9930,transparent 70%),#0b1a30;
  box-shadow:inset 0 1px 0 #a8f4f31c,0 12px 28px #0209162b;
}

html[data-ds-page="account-access"] .auth-picture img {
  border-radius:inherit;
}

html[data-ds-page="account-access"] .auth-page .auth-card :is(p,summary,input,button,a) {
  font-size:16px;
}

html:is([data-ds-page="early-creators"],[data-ds-page="account"]) .ds-early-access > h1 {
  --destination-art:url('/media/reveal-pet-city.webp');
  --destination-art-size:auto 125px;
  --destination-art-position:right 10px center;
  border-color:#f6a4c177;
  margin:0 0 20px;
  font-size:clamp(28px,5vw,40px);
}

html[data-ds-page="inspiration"] .inspiration-hero h1,
html[data-ds-page="studio"] :is(.library-head h1,#libraryStart h2),
html[data-ds-page="challenge"] .ds-contest-overview h1,
html[data-ds-page="wall"] .poster h1,
html[data-ds-page="account"] .account-main .account-heading h1,
html[data-ds-page="account-access"] .auth-page .auth-card #authCardTitle,
html:is([data-ds-page="early-creators"],[data-ds-page="account"]) .ds-early-access > h1 {
  color:#fff5ed;
  font-family:DreamNunito,system-ui,sans-serif;
  font-style:italic;
  font-weight:900;
  letter-spacing:-.025em;
  line-height:1.15;
  text-shadow:0 2px 3px #020916,0 0 18px #70e6ec26;
}

html[data-ds-page="inspiration"] .inspiration-hero p,
html[data-ds-page="studio"] #libraryStart p,
html[data-ds-page="challenge"] .ds-contest-overview p,
html[data-ds-page="wall"] .poster p,
html[data-ds-page="account-access"] .auth-page .auth-card p {
  color:#e0eaf4;
  font-size:16px;
  line-height:1.5;
}

/* The sign-in entrance uses the same approved product artwork as the studio.
   Authentication forms, return URLs and provider behavior remain untouched. */
html[data-ds-page="account-access"] body.auth-page {
  background:linear-gradient(180deg,#071222e3,#0a1325dc),
    url('/media/miami-night-boulevard-v1.webp') center 65% / cover no-repeat!important;
  color:#f4f8fc;
}

html[data-ds-page="account-access"] .auth-page .auth-shell {
  width:min(1120px,calc(100% - 40px));
}

html[data-ds-page="account-access"] .auth-page .auth-main {
  grid-template-columns:minmax(0,1.15fr) minmax(0,.95fr);
  align-items:center;
  gap:clamp(22px,4vw,54px);
  min-height:0;
  padding:clamp(30px,6dvh,64px) 0;
}

html[data-ds-page="account-access"] .auth-page .auth-picture {
  position:relative;
  display:grid;
  place-items:center;
  min-width:0;
  min-height:260px;
  padding:16px;
  overflow:hidden;
  border:1px solid #8dddd252;
  border-radius:26px;
  background:radial-gradient(ellipse at 28% 35%,#20888f29,transparent 60%),
    radial-gradient(ellipse at 78% 70%,#a24a8627,transparent 57%),
    linear-gradient(145deg,#102035db,#0b1428e8);
  box-shadow:inset 0 1px 0 #b9f8f222,0 20px 45px #02081240;
}

html[data-ds-page="account-access"] .auth-page .auth-picture img {
  display:block;
  width:100%;
  height:auto;
  max-width:590px;
  max-height:440px;
  aspect-ratio:3/2;
  object-fit:contain;
  border-radius:0;
  filter:drop-shadow(0 10px 15px #0209174d);
}

html[data-ds-page="account-access"] .auth-page .auth-card {
  padding:clamp(24px,3vw,34px);
  border:1px solid #8ce0da75;
  border-radius:24px;
  background:linear-gradient(140deg,#14273cf7,#101b30f7);
  box-shadow:inset 0 1px 0 #c8fff21a,0 18px 42px #02081242;
}

html[data-ds-page="account-access"] .auth-page .auth-card::before {
  left:24px;
  right:24px;
  height:2px;
  background:linear-gradient(90deg,#90f0e4,#efacd0,#ffd19b66);
}

html[data-ds-page="account-access"] .auth-page .auth-card #authCardTitle {
  margin:0 0 10px;
  font-size:clamp(29px,3.4vw,42px);
  font-style:normal;
  font-weight:850;
  line-height:1.12;
  color:#f4f9fc;
  text-shadow:0 0 18px #7de4db17;
}

html[data-ds-page="account-access"] .auth-page .auth-card .auth-methods {
  margin:0 0 24px;
  color:#d2e4ef;
  font-size:16px;
}

html[data-ds-page="account-access"] .auth-page .auth-card .auth-button {
  min-height:50px;
  padding:12px 16px;
  border-radius:13px;
  font-size:16px;
  line-height:1.3;
  white-space:normal;
}

html[data-ds-page="account-access"] .auth-page .auth-card .auth-provider {
  margin:14px 0 0;
  color:#b9cddb;
  font-size:14px;
  line-height:1.4;
}

html[data-ds-page="account-access"] .auth-page .auth-browser-help {
  margin:18px 0 0;
  border-top:1px solid #8cbcc82b;
  padding-top:10px;
}

html[data-ds-page="account-access"] .auth-page .auth-browser-help summary {
  min-height:44px;
  padding:11px 0;
  color:#d9ecf2;
  font-size:16px;
  line-height:1.35;
  cursor:pointer;
}

html[data-ds-page="account-access"] .auth-page .auth-browser-help :is(p,input) {
  font-size:14px;
  line-height:1.5;
}

html[data-ds-page="account-access"] .auth-page .auth-browser-help input {
  width:100%;
  background:#0b172a;
  border:1px solid #78b9c176;
  border-radius:10px;
  color:#eaf5f9;
}

html[data-ds-page="account-access"] .auth-page .auth-divider {background:#87b8c329;margin:18px 0}
html[data-ds-page="account-access"] .auth-page .auth-footer {border-top-color:#8fbfc32b;color:#b9d4de;font-size:14px;padding:18px 0 24px}

@media(max-width:760px) {
  html[data-ds-page="account-access"] .auth-page .auth-shell {width:min(540px,calc(100% - 28px))}
  html[data-ds-page="account-access"] .auth-page .auth-main {grid-template-columns:minmax(0,1fr);gap:14px;padding:16px 0 18px}
  html[data-ds-page="account-access"] .auth-page .auth-picture {min-height:0;height:clamp(168px,28dvh,244px);padding:4px 12px;border-radius:22px}
  html[data-ds-page="account-access"] .auth-page .auth-picture img {height:100%;width:100%;max-height:none;aspect-ratio:auto;object-fit:contain}
  html[data-ds-page="account-access"] .auth-page .auth-card {padding:24px 20px;border-radius:22px}
  html[data-ds-page="account-access"] .auth-page .auth-card #authCardTitle {font-size:32px}
  html[data-ds-page="account-access"] .auth-page .auth-card .auth-methods {margin-bottom:20px}
}

@media(max-width:380px), (max-height:640px) and (max-width:760px) {
  html[data-ds-page="account-access"] .auth-page .auth-shell {width:calc(100% - 24px)}
  html[data-ds-page="account-access"] .auth-page .auth-main {gap:12px;padding:12px 0}
  html[data-ds-page="account-access"] .auth-page .auth-picture {height:152px}
  html[data-ds-page="account-access"] .auth-page .auth-card {padding:20px 16px}
  html[data-ds-page="account-access"] .auth-page .auth-card #authCardTitle {font-size:29px}
}

/* Style only introductory actions; keep account editors and artwork controls intact. */
html[data-ds-page="inspiration"] .wall-feed > h1 + .wall-tools .ds-button,
html[data-ds-page="studio"] :is(.library-head .action,#libraryStart .ds-button),
html[data-ds-page="challenge"] .ds-contest-overview > .ds-journey-actions .ds-button,
html[data-ds-page="wall"] .poster :is(.cta,.back),
html[data-ds-page="account"] .account-main .account-heading .ds-button,
html[data-ds-page="account-access"] .auth-page .auth-card .auth-button,
html[data-ds-page="early-creators"] .ds-early-access > .ds-button,
html[data-ds-page="early-creators"] .ds-early-access > form .ds-button {
  border-color:#91d8e08c;
  background:#14263e;
  color:#f5f7fc;
  font-size:16px;
  text-shadow:none;
}

html[data-ds-page="inspiration"] .wall-feed > h1 + .wall-tools .ds-button.ds-primary,
html[data-ds-page="studio"] :is(.library-head .action,#libraryStart .ds-button.ds-primary),
html[data-ds-page="challenge"] .ds-contest-overview > .ds-journey-actions .ds-button.ds-primary,
html[data-ds-page="wall"] .poster .cta,
html[data-ds-page="account-access"] .auth-page .auth-card .auth-primary {
  border-color:#b5fff1;
  background:#a8f2e5;
  color:#092b32;
  box-shadow:0 0 18px #6ee9e21a;
}

@media(max-width:600px) {
  html[data-ds-page="inspiration"] .wall-feed > h1,
  html[data-ds-page="account"] .account-main .account-heading,
  html:is([data-ds-page="early-creators"],[data-ds-page="account"]) .ds-early-access > h1 {
    min-height:112px;
    padding:20px 18px;
    --destination-shade:linear-gradient(105deg,#081528f7 0%,#081528ef 52%,#081528b8 100%);
    --destination-art-size:auto 116px;
  }
  html[data-ds-page="account"] .account-main .account-heading {
    --destination-art-position:right 12px bottom -12px;
  }
  html[data-ds-page="wall"] .poster {
    --destination-art-size:auto 150px;
    --destination-shade:linear-gradient(105deg,#081528f5 0%,#081528df 55%,#08152899 100%);
  }
  html[data-ds-page="studio"] .library-head {
    --destination-art-size:auto 104px;
    --destination-art-position:right 8px center;
  }
}

/* These introductions are static, including when reduced motion is requested. */
@media(forced-colors:active) {
  html[data-ds-page="inspiration"] :is(.wall-feed > h1,.inspiration-hero),
  html[data-ds-page="studio"] :is(.library-head,#libraryStart),
  html[data-ds-page="challenge"] .ds-contest-overview,
  html[data-ds-page="wall"] .poster,
  html[data-ds-page="account"] .account-main .account-heading,
  html[data-ds-page="account-access"] .auth-page :is(.auth-card,.auth-picture),
  html:is([data-ds-page="early-creators"],[data-ds-page="account"]) .ds-early-access > h1 {
    background:Canvas;
    border-color:CanvasText;
    color:CanvasText;
    box-shadow:none;
    text-shadow:none;
  }
}
