.welcome-story{border:1px solid #f6b56455;border-radius:20px;background:linear-gradient(135deg,#442819bb,#1d120cf2);padding:16px;margin:0 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center}
.welcome-story h2{font:600 24px/1.15 Georgia,serif;margin:0 0 9px;color:#ffe6c8}.welcome-story p{font-size:13px;line-height:1.5;color:#dec7ab;margin:0 0 8px}.welcome-story button{min-height:44px;text-align:left;color:#ffbb64;background:none;border:0;padding:6px 0;font-weight:700;cursor:pointer}
.welcome-art{display:grid;grid-template-columns:1fr 1fr;gap:7px}.welcome-art figure{margin:0;min-width:0}.welcome-art img{width:100%;height:160px;object-fit:cover;border-radius:12px}.welcome-art figcaption{font-size:10px;text-align:center;color:#dfc5a5;margin-top:5px}
body.studio-has-photo .welcome-story{display:none}
.first-steps{width:min(94vw,530px);max-height:88dvh;overflow:auto;background:#21150f;color:#fff0db;border:1px solid #dd9b4f;border-radius:24px;padding:24px;box-shadow:0 24px 90px #0009}.first-steps::backdrop{background:#080504cc}.first-steps h2{font:600 30px Georgia,serif;margin:12px 0}.first-steps>p{color:#d7bea4;line-height:1.5;font-size:14px}.first-steps ol{padding:0;list-style:none;counter-reset:steps;display:grid;gap:15px;margin:24px 0}.first-steps li{counter-increment:steps;display:grid;grid-template-columns:36px 1fr;gap:10px}.first-steps li::before{content:counter(steps);background:#f9ad51;color:#21150f;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:800}.first-steps li strong{font-size:16px}.first-steps li p{font-size:13px;color:#d7bea4;margin:5px 0;line-height:1.5}.first-steps .btn{width:100%;min-height:48px}.first-steps .text-btn{width:100%;min-height:44px;margin-top:8px}
@media(max-width:820px){
 .mobile-signin{justify-content:center;flex-wrap:wrap;gap:6px;margin:8px 0 16px}.mobile-signin .google-signin{width:auto;min-width:0;max-width:240px;flex:none;font-size:14px;padding:10px 16px;min-height:44px}.mobile-signin .text-btn{font-size:12px;min-height:44px;padding:8px}
 html[data-campaign="halloween"] body:not(.studio-has-photo) .mobile-app-hero__art{height:90px}.mobile-app-hero__brand{width:155px!important;height:90px!important}
 html[data-campaign="halloween"] body:not(.studio-has-photo) .mobile-app-hero__copy h1{font-size:clamp(28px,8vw,36px);white-space:normal}.mobile-app-hero__copy p{font-size:14px!important;max-width:340px!important;line-height:1.5!important}
 .welcome-story{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:20px 13px 16px;gap:10px;flex-shrink:0;margin-top:8px}.welcome-story h2{font-size:21px;line-height:1.25}.welcome-story>div{min-width:0}.welcome-art{align-self:start}.welcome-art img{display:block;height:145px;object-fit:contain;object-position:center top;background:#150c08}.welcome-story p{font-size:12px}.studio-session{overflow-wrap:anywhere}
}
@media(max-width:360px){.welcome-story{grid-template-columns:1fr}.welcome-art img{height:140px}}
/* Use the full mobile viewport, with small gutters for readable, tappable content. */
@media(max-width:820px){
 html[data-campaign="halloween"] .workspace,html[data-campaign="halloween"] .main{width:100%;max-width:none;margin:0;padding-left:0;padding-right:0}
 html[data-campaign="halloween"] .page[data-page]{width:100%;max-width:none;margin-left:0;margin-right:0;padding-left:8px;padding-right:8px;padding-bottom:calc(88px + env(safe-area-inset-bottom))}
 html[data-campaign="halloween"] .page[data-page="crear"] .mobile-app-hero{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}
 .app-page-hero{margin-left:-8px;margin-right:-8px;padding-left:8px;padding-right:8px}
 html[data-campaign="halloween"] .studio-layout{width:100%;max-width:none}
 html[data-campaign="halloween"] .mobile-scene-grid{margin-right:-8px;gap:8px}
 html[data-campaign="halloween"] .mobile-scene-option{min-width:0;flex-basis:calc((100% - 28px)/3);white-space:normal}
 html[data-campaign="halloween"] .mobile-scene-option>span:nth-of-type(1){white-space:normal;font-size:12px}
 html[data-campaign="halloween"] .mobile-nav{left:0;right:0;width:100%;max-width:none;margin:0;border-radius:0}
 .profile-row{width:100%;min-height:60px}.profile-row strong{font-size:16px}.profile-row small{font-size:12px}.welcome-story{width:100%}
}
.welcome-story{display:block;padding:18px 12px 10px}
.welcome-story h2{font-size:23px;line-height:1.25;margin-bottom:14px}
.welcome-art{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.welcome-art img{display:block;height:160px;object-fit:contain;object-position:center;background:#150c08}
.welcome-art figcaption{font:600 12px/1.4 Arial,sans-serif;color:#fff0db;margin-top:8px}
.welcome-art figcaption span{display:inline-grid;place-items:center;width:18px;height:18px;background:#ffb45c;color:#241207;border-radius:50%}
.welcome-story button{display:block;width:100%;text-align:center;margin-top:8px}
.first-steps{padding:20px;max-height:calc(100dvh - 32px)}
.first-photo-guide{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:16px 0;padding:18px;border:1px solid #e8aa6170;border-radius:16px;background:#24160f;color:#fff0db}
.first-photo-guide[hidden]{display:none}.first-photo-guide h2{font:600 22px/1.2 Georgia,serif;margin:8px 0}.first-photo-guide p{max-width:660px;margin:0;color:#dfc5a5;font-size:14px;line-height:1.5}.first-photo-actions{display:flex;flex-direction:column;gap:6px;flex:0 0 auto}.first-photo-actions button{min-height:44px}.first-photo-actions [hidden]{display:none}
@media(max-width:820px){.first-photo-guide{flex-direction:column;align-items:stretch;padding:14px;margin:12px 0}.first-photo-actions{width:100%}.first-photo-guide h2{font-size:20px}}
.first-steps h2{font-size:27px;margin:8px 0 16px}
.first-steps .visual-tutorial{gap:10px;margin:0 0 12px}
.first-steps .visual-tutorial li{position:relative;display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:14px;border:1px solid #e8aa6140;border-radius:14px;padding:6px;background:#150c08}
.first-steps .visual-tutorial li::before{position:absolute;top:10px;left:10px;width:23px;height:23px;font-size:12px;box-shadow:0 1px 5px #0008}
.visual-tutorial img{display:block;width:90px;height:104px;object-fit:contain;object-position:center;border-radius:10px;background:#21150f}
.first-steps .visual-tutorial li p{margin:7px 0 0;font-size:13px}
.first-steps .tutorial-note{font-size:10px;line-height:1.4;margin:8px 0 14px}
@media(max-width:820px){
 .welcome-story{flex-shrink:0;padding:16px 10px 8px;margin-top:4px}
 .welcome-story h2{font-size:22px}
 .welcome-art img{height:128px}
 .welcome-art figcaption{font-size:11px}
 html[data-campaign="halloween"] body .page[data-page="crear"]:not([hidden]){padding-bottom:calc(112px + env(safe-area-inset-bottom))!important;scroll-padding-bottom:calc(112px + env(safe-area-inset-bottom))}
 html[data-campaign="halloween"] body:not(.studio-has-photo) .studio-layout{flex:0 0 auto}
 .mobile-scene-selector{flex-shrink:0}
}
@media(max-width:360px){.welcome-art{gap:5px}.welcome-art img{height:108px}.welcome-art figcaption{font-size:10px}.first-steps{padding:16px}.first-steps .visual-tutorial li{gap:10px}.first-steps .visual-tutorial li strong{font-size:15px}}


/* Layout of the three-step introduction: align it with the creator form.
   Foreground images remain uncropped; their soft duplicate fills the frame. */
html[data-campaign="halloween"] #picgift-studio .welcome-story{
  position:relative;
  z-index:2;
  isolation:isolate;
  box-sizing:border-box;
  width:100%;
  max-width:950px;
  min-width:0;
  margin:12px 0 18px;
  padding:20px clamp(12px,2vw,20px) 16px;
  color:#fff0dc;
  border:1px solid rgba(246,181,100,.36);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(57,31,21,.98),rgba(29,17,13,.98));
}
html[data-campaign="halloween"] #picgift-studio .welcome-story h2{
  display:block;
  position:relative;
  z-index:1;
  margin:0 0 16px;
  color:#fff0dc;
  opacity:1;
  font:600 clamp(22px,2.2vw,27px)/1.2 Georgia,serif;
  text-shadow:0 2px 7px rgba(0,0,0,.45);
}
html[data-campaign="halloween"] #picgift-studio .welcome-art{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
  gap:clamp(8px,1.4vw,15px);
  min-width:0;
}
html[data-campaign="halloween"] #picgift-studio .welcome-art figure{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  min-width:0;
  margin:0;
}
html[data-campaign="halloween"] #picgift-studio .welcome-art__frame{
  position:relative;
  width:100%;
  height:clamp(165px,18vw,215px);
  overflow:hidden;
  border:1px solid rgba(255,191,113,.24);
  border-radius:14px;
  background:#24150e;
}
html[data-campaign="halloween"] #picgift-studio .welcome-art__frame img{
  display:block;
  border-radius:0;
  margin:0;
  padding:0;
  max-width:none;
}
html[data-campaign="halloween"] #picgift-studio .welcome-art__backdrop{
  position:absolute;
  inset:-10%;
  width:120%;
  height:120%;
  object-fit:cover;
  object-position:center;
  filter:blur(15px) brightness(.62);
  opacity:.8;
  pointer-events:none;
}
html[data-campaign="halloween"] #picgift-studio .welcome-art__image{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:transparent;
}
html[data-campaign="halloween"] #picgift-studio .welcome-art figcaption{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:38px;
  margin-top:7px;
  color:#ffe9ce;
  font:600 clamp(11px,1.2vw,13px)/1.35 Arial,sans-serif;
  text-align:center;
}
html[data-campaign="halloween"] #picgift-studio .welcome-story [data-first-steps]{
  width:100%;
  margin-top:10px;
  min-height:44px;
  text-align:center;
  color:#ffc47a;
}
@media(min-width:821px){
  /* Keep the moon artwork inside the hero rather than over the story title. */
  html[data-campaign="halloween"] #picgift-studio .mobile-app-hero::before{bottom:-8px;pointer-events:none}
}
@media(max-width:820px){
  html[data-campaign="halloween"] #picgift-studio .welcome-story{
    margin:10px 0 16px;
    padding:16px 10px 12px;
  }
  html[data-campaign="halloween"] #picgift-studio .welcome-story h2{
    font-size:clamp(19px,5.7vw,23px);
    margin-bottom:12px;
  }
  html[data-campaign="halloween"] #picgift-studio .welcome-art{gap:8px}
  html[data-campaign="halloween"] #picgift-studio .welcome-art__frame{
    height:clamp(112px,31vw,158px);
    border-radius:11px;
  }
  html[data-campaign="halloween"] #picgift-studio .welcome-art figcaption{
    font-size:clamp(10px,2.55vw,12px);
    min-height:42px;
    gap:4px;
  }
}
@media(max-width:360px){
  html[data-campaign="halloween"] #picgift-studio .welcome-art{gap:6px}
  html[data-campaign="halloween"] #picgift-studio .welcome-art__frame{height:112px}
  html[data-campaign="halloween"] #picgift-studio .welcome-art figcaption{font-size:10px}
}
