/* HAEPPY STUDIO private V3: single product-owned headers; no repository source mutation. */
.hp-product-header{--hp-header-bg:#fffdfa;--hp-header-ink:#0b1739;--hp-header-muted:#53627b;--hp-header-stroke:#dfe6ee;--hp-header-accent:#2864ff;--hp-header-focus:#2864ff;position:sticky;top:0;z-index:100000;background:var(--hp-header-bg);color:var(--hp-header-ink);border-bottom:1px solid var(--hp-header-stroke);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;line-height:1.25;isolation:isolate;box-sizing:border-box}
.hp-product-header--hsm{--hp-header-bg:#081c21;--hp-header-ink:#f3fbed;--hp-header-muted:#bed1cb;--hp-header-stroke:#335057;--hp-header-accent:#cafa74;--hp-header-focus:#cafa74}
.hp-product-header--lc{--hp-header-bg:#111e27;--hp-header-ink:#f3f7f1;--hp-header-muted:#a4b7ba;--hp-header-stroke:#314852;--hp-header-accent:#78e6dd;--hp-header-focus:#78e6dd}
.hp-product-header *{box-sizing:border-box}
.hp-product-header__inner{width:min(1400px,100%);margin:auto;min-height:74px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:clamp(12px,2vw,24px);padding:8px clamp(12px,2.8vw,40px);align-items:center}
.hp-product-header__product{display:inline-flex!important;align-items:center;justify-self:start;gap:9px;min-width:0;max-width:100%;min-height:48px;color:var(--hp-header-ink)!important;text-decoration:none!important;white-space:normal}
.hp-product-header__product:hover{opacity:.85}
.hp-product-header__tl-logo{display:block;width:clamp(152px,15vw,205px);height:auto;max-width:100%;object-fit:contain}
.hp-product-header__product-mark{display:grid;flex:none;place-items:center;width:41px;height:41px;border:1px solid var(--hp-header-stroke);border-radius:11px;color:var(--hp-header-accent);background:color-mix(in srgb,var(--hp-header-accent) 9%,transparent)}
.hp-product-header__product-mark svg{width:29px;height:29px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hp-product-header__wordmark{display:flex;flex-direction:column;gap:4px;min-width:0;color:var(--hp-header-ink)}
.hp-product-header__wordmark strong{font-size:clamp(15px,1.5vw,20px);font-weight:900;letter-spacing:-.045em;line-height:1.15;word-break:keep-all}
.hp-product-header--lc .hp-product-header__wordmark strong{font-size:clamp(16px,1.55vw,21px);letter-spacing:.055em}
.hp-product-header__wordmark small{color:var(--hp-header-muted);font-size:10px;font-weight:750;letter-spacing:.075em;white-space:nowrap}
.hp-product-header__links{display:flex!important;align-items:center!important;justify-content:center;gap:clamp(3px,.75vw,12px);margin:0!important;padding:0!important;min-width:0;line-height:1.25;position:static!important;background:transparent!important;border:0!important;box-shadow:none!important}
.hp-product-header__links a{display:inline-flex!important;align-items:center;justify-content:center;flex:none;min-height:42px;padding:8px 10px!important;color:var(--hp-header-ink)!important;font-size:13px!important;font-weight:750!important;letter-spacing:-.015em;white-space:nowrap;text-decoration:none!important;border-bottom:2px solid transparent;border-radius:0!important}
.hp-product-header__links a:hover,.hp-product-header__links a:focus-visible{color:var(--hp-header-accent)!important;border-bottom-color:var(--hp-header-accent)}
.hp-product-header__studio{justify-self:end;display:flex!important;min-height:48px;align-items:center;justify-content:center;min-width:0;text-decoration:none!important;border-radius:6px;padding:5px}
.hp-product-header__studio img{display:block;width:clamp(110px,12vw,160px);height:auto;max-width:100%;object-fit:contain}
.hp-product-header--hsm .hp-product-header__studio img,.hp-product-header--lc .hp-product-header__studio img{filter:grayscale(1) brightness(0) invert(1)}
.hp-product-header__studio:hover img{opacity:.76}
.hp-product-header a:focus-visible{outline:3px solid var(--hp-header-focus)!important;outline-offset:3px}
.hp-product-header__skip{position:absolute!important;top:-120px;left:15px;z-index:100001;display:block;padding:12px 15px;background:var(--hp-header-bg);color:var(--hp-header-ink)!important;border:2px solid var(--hp-header-accent);text-decoration:none;font-size:14px}
.hp-product-header__skip:focus{top:8px}
html{scroll-padding-top:124px}
#origin,#first-user,#examples,#interactive,#library,#security,#top,#event,#story,#frame,#guide{scroll-margin-top:124px}
@media(max-width:1020px){
 .hp-product-header__inner{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:12px;row-gap:0;padding-bottom:2px}
 .hp-product-header__product{grid-column:1;grid-row:1}
 .hp-product-header__studio{grid-column:2;grid-row:1}
 .hp-product-header__links{grid-column:1/-1;grid-row:2;justify-content:center;max-width:100%;min-height:43px}
 .hp-product-header__links a{padding:8px clamp(10px,2vw,18px)!important}
 html{scroll-padding-top:155px}
 #origin,#first-user,#examples,#interactive,#library,#security,#top,#event,#story,#frame,#guide{scroll-margin-top:155px}
}
@media(max-width:520px){
 .hp-product-header__inner{min-height:0;padding:7px 12px 0;gap:0 7px}
 .hp-product-header__product{gap:6px;min-width:0;min-height:48px}
 .hp-product-header__product-mark{width:31px;height:31px;border-radius:8px}
 .hp-product-header__product-mark svg{width:22px;height:22px}
 .hp-product-header__product img{width:min(160px,46vw)}
 .hp-product-header__wordmark strong{font-size:15px}
 .hp-product-header--lc .hp-product-header__wordmark strong{font-size:15px}
 .hp-product-header__wordmark small{display:none}
 .hp-product-header__studio{min-height:46px;max-width:112px;padding:4px 0 4px 5px}
 .hp-product-header__studio img{width:100%;max-width:108px}
 .hp-product-header__links{justify-content:flex-start!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:var(--hp-header-stroke) transparent;max-width:100%;min-height:42px;white-space:nowrap}
 .hp-product-header__links a{font-size:12px!important;padding:8px 11px!important;min-height:40px}
}
@media(prefers-reduced-motion:reduce){.hp-product-header *,html{scroll-behavior:auto!important;transition:none!important}}



.hp-product-header__lc-logo{display:block;width:clamp(195px,19vw,242px);height:auto;max-width:100%;object-fit:contain}
.hp-product-header--hsm .hp-product-header__wordmark strong{letter-spacing:-.047em}
@media(max-width:520px){

.hp-product-header--hsm .hp-product-header__wordmark strong{font-size:clamp(11.6px,3.6vw,14px);letter-spacing:-.05em;white-space:nowrap}
.hp-product-header__lc-logo{width:min(172px,50vw)!important;max-height:48px}
}
@media(max-width:350px){.hp-product-header--hsm .hp-product-header__wordmark strong{font-size:11.5px}}


@media(max-width:520px){.hp-product-header--hsm .hp-product-header__product{gap:5px}}
@media(max-width:350px){}

/* V5 owner-approved LC lockup. Retain the original image, scaled only. */
.hp-product-header--lc .hp-product-header__product img.hp-product-header__lc-logo{width:clamp(224px,22vw,285px)!important;height:auto!important;max-width:100%;max-height:96px;object-fit:contain}
@media(max-width:1020px){.hp-product-header--lc .hp-product-header__product img.hp-product-header__lc-logo{width:min(270px,47vw)!important;max-height:92px}}
@media(max-width:520px){.hp-product-header--lc .hp-product-header__product img.hp-product-header__lc-logo{width:min(170px,49vw)!important;max-height:60px}}
@media(max-width:350px){.hp-product-header--lc .hp-product-header__product img.hp-product-header__lc-logo{width:min(159px,48vw)!important}}

/* V7: HSM public identity uses verified Korean/English titles, not the unrelated Expo app badge. */
.hp-product-header--hsm .hp-product-header__product{gap:0}.hp-product-header--hsm .hp-product-header__wordmark{min-width:0}
@media(max-width:520px){.hp-product-header--hsm .hp-product-header__wordmark strong{font-size:clamp(13px,3.7vw,15px)!important;white-space:normal!important;line-height:1.15}.hp-product-header--hsm .hp-product-header__wordmark small{font-size:8.5px;letter-spacing:.04em}}

/* HSM: owner-approved 2026-10-24 transparent website title mark.
   The older V31 logo stays preserved as a distinct historical asset. */
.hp-product-header--hsm .hp-product-header__product img.hp-product-header__hsm-logo{display:block;width:clamp(185px,19vw,240px)!important;height:auto!important;max-width:100%;max-height:104px;object-fit:contain;background:transparent}
@media(max-width:1020px){.hp-product-header--hsm .hp-product-header__product img.hp-product-header__hsm-logo{width:min(232px,42vw)!important;max-height:98px}}
@media(max-width:520px){.hp-product-header--hsm .hp-product-header__product img.hp-product-header__hsm-logo{width:min(177px,49vw)!important;max-height:76px}}
@media(max-width:350px){.hp-product-header--hsm .hp-product-header__product img.hp-product-header__hsm-logo{width:min(159px,48vw)!important}}
