/* Owner-provided gold identity and world-city artwork. Presentation only. */
.jsh-frontend .f-brand.f-brand-reference{position:relative;display:block;width:140px;max-width:100%;height:auto;aspect-ratio:750/295;flex:none;margin:0;isolation:isolate}
.jsh-frontend.f-home-atlas{background:radial-gradient(ellipse at 12% 0%,#4d365d66,transparent 45%),#191126;overflow:hidden}
.jsh-frontend.f-home-atlas .f-header.f-hub-header{position:relative;isolation:isolate;border-bottom:1px solid #d4ad694d;background:linear-gradient(120deg,#30223e,#21182e 58%,#39293e);box-shadow:0 16px 60px #09060e40;overflow:hidden}
.f-home-atlas .f-hub-header:before{content:"";position:absolute;z-index:-1;pointer-events:none;width:750px;height:340px;right:-210px;top:-140px;border:1px solid #eacb8240;border-radius:50%;transform:rotate(-18deg);box-shadow:0 0 0 26px #eacb8205,0 0 0 56px #eacb8212,0 0 0 100px #eacb8206;background:radial-gradient(ellipse at 25% 80%,#ffdfab26,transparent 50%)}
.f-home-atlas .f-hub-header:after{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;background:radial-gradient(circle at 66% 20%,#ffeac1 0 1px,transparent 3px),radial-gradient(circle at 85% 55%,#e6ba78 0 1px,transparent 3px),linear-gradient(167deg,transparent 48.8%,#e6ba7821 49%,transparent 49.2%);opacity:.7}
.jsh-frontend.f-home-atlas .f-hub-header>.f-brand{justify-self:start;align-self:center;grid-row:1;grid-column:1}
.jsh-frontend.f-home-atlas .f-hub-header>.f-header-caption{text-align:left;justify-self:start;letter-spacing:.15em;color:#d9c29f;font-size:12px;line-height:1.7;padding-left:3px}
.jsh-frontend.f-home-atlas .f-header.f-hub-header .f-home-session-actions{background:#1c1427c9;border-color:#ddbd7d45;box-shadow:inset 0 1px #fff2d512,0 10px 30px #100a1833;backdrop-filter:blur(8px)}
.jsh-frontend.f-home-atlas .f-home-overview{min-height:0}
.jsh-frontend.f-home-atlas .f-home-landscape{position:relative;isolation:isolate;width:100%;max-width:1600px;margin:20px auto 0;padding:48px 16px 150px;min-height:440px;box-sizing:border-box;background:linear-gradient(180deg,#191126 0%,#19112600 34%,#19112600 83%,#191126 100%);overflow:hidden}
.f-home-landscape:before{content:"";position:absolute;inset:auto 0 75px;height:clamp(230px,29.5vw,472px);z-index:-2;background-image:url('assets/jsh-global-reference.jpg');background-size:max(100%,780px) auto;background-position:center bottom;background-repeat:no-repeat;mask-image:linear-gradient(180deg,transparent,#000 20%,#000 90%,transparent)}
.f-home-landscape:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(180deg,#191126 0%,transparent 45%,transparent 80%,#191126 100%)}
.jsh-frontend.f-home-atlas .f-home-landscape>span{font-size:12px;letter-spacing:.5em;color:#d9bd85;text-shadow:0 2px 14px #100719}
.jsh-frontend.f-home-atlas .f-home-landscape>p{font-size:clamp(22px,2.3vw,34px);letter-spacing:.18em;color:#ffedc9;font-family:"Songti SC","STSong","SimSun",serif;margin:13px 0;text-shadow:0 2px 18px #11091b,0 0 40px #e8bf7550}
.jsh-frontend.f-home-atlas .f-home-landscape>small{color:#c3afca;letter-spacing:.2em;font-size:11px}
@media(min-width:1024px){.jsh-frontend.f-home-atlas .f-header.f-hub-header{padding-top:30px;padding-bottom:30px}.jsh-frontend.f-home-atlas .f-hub-header>.f-brand{width:140px}.jsh-frontend.f-home-atlas .f-home-landscape{min-height:560px;padding-top:45px;margin-top:0}}
@media(max-width:680px){.jsh-frontend .f-brand.f-brand-reference{width:125px}.jsh-frontend.f-home-atlas .f-header.f-hub-header{padding:18px 20px 20px;gap:8px}.jsh-frontend.f-home-atlas .f-hub-header>.f-header-caption{margin:0 0 12px}.jsh-frontend.f-home-atlas .f-home-landscape{padding-top:30px;min-height:410px;margin-top:0}.jsh-frontend .f-section-header .f-brand.f-brand-reference{width:125px}.jsh-frontend .f-section-header .f-section-caption{font-size:12px}}
@media(prefers-reduced-motion:reduce){.f-home-atlas *{scroll-behavior:auto}}

/* Seamless header: one continuous canvas, no rectangular logo backing or header edge. */
.jsh-frontend.f-home-atlas{background:linear-gradient(180deg,#33284a 0px,#302542 400px,#20172e 850px,#191126 1250px)}
.jsh-frontend .f-brand.f-brand-reference{isolation:auto}
.jsh-frontend.f-home-atlas .f-header.f-hub-header{background:transparent;border-bottom:0;box-shadow:none;overflow:visible;isolation:auto}
.f-home-atlas .f-hub-header:before{z-index:0;opacity:.35;mask-image:linear-gradient(180deg,#000,transparent 85%)}
.f-home-atlas .f-hub-header:after{z-index:0;opacity:.3;mask-image:linear-gradient(180deg,#000,transparent 95%)}
.jsh-frontend.f-home-atlas .f-header.f-hub-header>.f-brand,.jsh-frontend.f-home-atlas .f-header.f-hub-header>.f-header-caption,.jsh-frontend.f-home-atlas .f-header.f-hub-header>.f-home-session-actions{position:relative;z-index:1}
.jsh-frontend.f-home-atlas .f-header.f-hub-header .f-home-session-actions{background:transparent;border-color:transparent;box-shadow:none;backdrop-filter:none;padding:0}
.jsh-frontend.f-home-atlas .f-home-session-actions>.f-official-site,.jsh-frontend.f-home-atlas .f-home-session-actions>.f-home-logout,.jsh-frontend.f-home-atlas .f-home-session-actions>#f-task-center,.jsh-frontend.f-home-atlas .f-home-session-actions>#f-refresh-activities{background:linear-gradient(135deg,#46365088,#2b223588);border-color:#baa18d36;box-shadow:inset 0 1px #fff0d808}
.jsh-frontend.f-home-atlas .f-hub-header .f-activity-entry-row{border-top-color:#e0bf8a1c}
.jsh-frontend.f-home-atlas .f-home-landscape{background:transparent}
.f-home-atlas .f-home-landscape:after{background:linear-gradient(180deg,transparent 0%,transparent 65%,#191126 100%)}
/* Blend the entire brand stacking group against the shared header canvas. */
.jsh-frontend.f-home-atlas .f-brand.f-brand-reference{mix-blend-mode:normal}
/* Footer signature follows the globe, with content-sized spacing only. */
.jsh-frontend.f-home-atlas .f-home-landscape{display:flex;flex-direction:column;align-items:center;min-height:0;margin:12px auto 0;padding:0 0 calc(108px + env(safe-area-inset-bottom));overflow:hidden;gap:0}
.jsh-frontend.f-home-atlas .f-home-landscape:before{position:relative;inset:auto;display:block;flex:none;order:-1;width:100%;height:clamp(230px,29.5vw,472px);z-index:0;margin:0 0 12px;mask-image:linear-gradient(180deg,transparent,#000 20%,#000 82%,transparent)}
.jsh-frontend.f-home-atlas .f-home-landscape:after{display:none}
.jsh-frontend.f-home-atlas .f-home-landscape>span{font-size:12px;line-height:1.5;letter-spacing:.4em;margin:0}
.jsh-frontend.f-home-atlas .f-home-landscape>p{font-size:16px;line-height:1.6;letter-spacing:.12em;margin:7px 12px 5px}
.jsh-frontend.f-home-atlas .f-home-landscape>small{font-size:11px;line-height:1.5;letter-spacing:.1em;margin:0}
/* Reset legacy absolute offsets after establishing the decorative stacking layer. */
.jsh-frontend.f-home-atlas .f-header.f-hub-header>.f-home-session-actions{inset:auto;margin:0;box-sizing:border-box;width:100%;min-width:0;justify-self:stretch}
.jsh-frontend.f-home-atlas .f-header.f-hub-header>.f-brand,.jsh-frontend.f-home-atlas .f-header.f-hub-header>.f-header-caption{inset:auto}
.jsh-frontend.f-home-atlas .f-home-session-actions>.f-activity-entry-row{min-width:0;box-sizing:border-box}

/* Inner-page headers share the same blended brand canvas, without altering activity themes. */
.jsh-frontend:not(.f-home-atlas) .f-header.f-section-header{background:transparent;border-bottom:0;box-shadow:none;isolation:auto}
.jsh-frontend .f-section-header .f-brand.f-brand-reference{mix-blend-mode:normal}

.jsh-frontend.f-inner-atlas{background:linear-gradient(180deg,#33284a 0px,#302542 400px,#20172e 850px,#191126 1250px)}

/* Shared inner-page masthead glow fades into each activity's own canvas.
   Covers draw / warmup pages too; reward panels and theme backgrounds stay intact. */
.jsh-frontend:not(.f-home-atlas) .f-header.f-section-header{position:relative;isolation:auto;z-index:auto;overflow:visible}
.jsh-frontend:not(.f-home-atlas) .f-header.f-section-header:before{content:"";position:absolute;pointer-events:none;z-index:-1;top:0;left:50%;transform:translateX(-50%);width:100vw;max-width:none;height:320px;background:linear-gradient(180deg,#33284a 0%,#33284af2 24%,#33284a85 57%,#33284a00 100%)}
.jsh-frontend .f-section-header .f-brand.f-brand-reference{mix-blend-mode:normal}
@media(max-width:680px){.jsh-frontend:not(.f-home-atlas) .f-header.f-section-header:before{height:240px}}

.jsh-frontend:not(.f-home-atlas){isolation:isolate}
