#story{--hit:rgba(182,68,0,.09);--bg:#ffffff; --mist:#f5f5f7; --ink:#1d1d1f; --sub:#707070; --line:#d6d6d6; --hair:#e6e6e8;
  --label:#b64400; --tag:#ebebeb; --blue:#0071e3;
  --ui0:"Pretendard",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif;
  color-scheme:light;;--ui:var(--text)}
#story,#story *{box-sizing:border-box}
#story{position:relative;height:1650vh}
#story .pin{position:sticky;top:calc(env(safe-area-inset-top,0px) + 52px);height:calc(100vh - 52px - env(safe-area-inset-top,0px));height:calc(100dvh - 52px - env(safe-area-inset-top,0px));overflow:hidden;background:var(--bg)}
#story .tint{position:absolute;inset:0;background:var(--mist);opacity:0}
#story .cap{position:absolute;left:0;right:0;top:0;text-align:center;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px));opacity:0;will-change:opacity,transform;z-index:6}
#story .cap .eb{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--label);letter-spacing:0}
#story .cap h2{margin:0 auto;max-width:17em;font-size:clamp(28px,4.6vw,48px);line-height:1.14;font-weight:600;letter-spacing:-.035em;text-wrap:balance;word-break:keep-all}
#story .cap p.sb{margin:14px auto 0;max-width:min(30em,100%);font-size:clamp(15px,1.7vw,19px);color:var(--sub);text-wrap:balance;word-break:keep-all}
#story #dots{position:absolute;inset:0;width:100%;height:100%;z-index:2}
#story .term{position:absolute;left:0;top:0;z-index:4;text-align:left;opacity:0;white-space:nowrap}
#story .term b{display:inline-block;margin-right:10px;font-size:28px;font-weight:600;letter-spacing:-.03em;line-height:1.2}
#story .term span{display:inline-block;font-size:14px;color:var(--sub);white-space:nowrap}
#story .more{position:absolute;left:0;top:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(3.6px*var(--s,.66));width:var(--gw,400px);opacity:0;will-change:transform,opacity}
#story .more i{display:block;width:calc(2.2px*var(--s,.66));height:calc(2.2px*var(--s,.66));border-radius:50%;background:#000}
#story .tagbox{position:absolute;left:0;top:0;z-index:3;display:flex;align-items:center;width:var(--gw,400px);height:var(--rh,34px);opacity:0;will-change:transform,opacity}
#story .tagbox .bx{flex:none;width:calc(98px*var(--s,.66));height:calc(40px*var(--s,.66));background:var(--tag);display:grid;place-items:center;font-size:calc(17px*var(--s,.66));font-weight:700;letter-spacing:-.01em;color:#000;white-space:nowrap}
#story .tagbox .tt{margin-left:calc(26px*var(--s,.66));min-width:0;font-size:var(--tf,13px);font-weight:500;letter-spacing:-.01em;line-height:1.22;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#story #tags.st-wrap .tt{white-space:normal;font-weight:700;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:keep-all}
#story .hmask{position:absolute;left:12.2%;width:22.2%;top:21.6%;height:3.6%;background:#fff;pointer-events:none;z-index:2}
#story .chip{position:absolute;left:0;top:0;z-index:8;display:flex;align-items:center;opacity:0;transform-origin:0 0;will-change:transform,opacity;white-space:nowrap}
#story .chip .bx{width:98px;height:40px;background:var(--tag);display:grid;place-items:center;font-size:17px;font-weight:700;letter-spacing:-.01em;color:#000}
#story .chip .tt{margin-left:26px;font-size:22px;font-weight:800;letter-spacing:-.01em;color:#000}
#story .pg{position:absolute;left:0;top:0;width:600px;height:820.7px;background:#fff;z-index:6;transform-origin:0 0;will-change:transform;border-radius:calc(7px*var(--inv,1));overflow:hidden;box-shadow:0 0 0 calc(.5px*var(--inv,1)) rgba(0,0,0,calc(.08*var(--sh,1))),0 calc(1px*var(--inv,1)) calc(3px*var(--inv,1)) rgba(0,0,0,calc(.05*var(--sh,1))),0 calc(3px*var(--inv,1)) calc(14px*var(--inv,1)) rgba(0,0,0,calc(.07*var(--sh,1))),calc(-8px*var(--inv,1)) 0 calc(16px*var(--inv,1)) calc(-8px*var(--inv,1)) rgba(0,0,0,calc(.16*var(--sh,1)));opacity:0}
#story .pg img{display:block;width:100%;height:100%;-webkit-user-drag:none;user-select:none;pointer-events:none}
#story .ring{position:absolute;inset:0;background:rgba(255,255,255,.82);opacity:0;pointer-events:none;z-index:3}
#story #ringA{clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,12.3% 21.5%,12.3% 25.3%,35% 25.3%,35% 21.5%,12.3% 21.5%)}
#story .pg.ex .ring{clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,9.1% 79.9%,9.1% 86.9%,19.1% 86.9%,19.1% 79.9%,9.1% 79.9%)}
#story #wire{position:absolute;inset:0;width:100%;height:100%;z-index:7;pointer-events:none;overflow:visible}
#story #wire path{fill:none;stroke:var(--label);stroke-width:2;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1}
#story .pad{position:absolute;left:0;top:0;z-index:4;transform-origin:0 0;background:var(--ink);box-shadow:0 0 0 1.5px #d2d2d7,0 0 0 2px #a1a1a6;visibility:hidden;will-change:transform}
#story .scr{position:relative;width:100%;height:100%;overflow:hidden;background:#fff}
#story .scr img{position:absolute;left:0;top:0;width:100%;height:auto;display:block;-webkit-user-drag:none;user-select:none;pointer-events:none}
#story #s2w,#story #p2w,#story #q2w{position:absolute;left:0;top:0;width:100%;opacity:0;will-change:transform,opacity}
#story #s2w img,#story #p2w img,#story #q2w img{position:relative}
#story #s2h,#story #s3,#story #p1,#story #p2h,#story #q1,#story #q2h,#story #q2f,#story #c1{opacity:0}
#story #ph{z-index:5}
#story #pgA2{z-index:7}
#story .bigp{position:absolute;left:0;top:0;z-index:3;transform-origin:0 0;background:#fff;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.04),0 6px 20px rgba(0,0,0,.065);opacity:0;visibility:hidden;will-change:transform,opacity}
#story .bigp img{position:absolute;left:0;top:0;display:block;-webkit-user-drag:none;user-select:none;pointer-events:none}
#story .btint{position:absolute;background:var(--hit);border-radius:6px;opacity:0;pointer-events:none}
#story .veil{position:absolute;left:0;top:0;width:100px;height:100px;transform-origin:0 0;background:rgba(255,255,255,.84);z-index:3;opacity:0;visibility:hidden;pointer-events:none;will-change:transform,opacity}
#story .bband{position:absolute;left:0;right:0;top:0;background:#fff;z-index:5;opacity:0;visibility:hidden;pointer-events:none}
#story .nw{white-space:nowrap}
@media(max-width:374px){#story .nw{white-space:normal}}
#story .hl{position:absolute;background:var(--hit);border-radius:6px;opacity:0;pointer-events:none}
#story .rtint{position:absolute;background:var(--hit);border-radius:6px;opacity:0;pointer-events:none;z-index:3}
#story #rtA{left:12.3%;top:21.5%;width:22.7%;height:3.8%}
#story .pg.ex .rtint{left:9.1%;top:79.9%;width:10%;height:7%}
#story .tap{position:absolute;left:0;top:0;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;background:rgba(29,29,31,.28);box-shadow:0 0 0 2px rgba(255,255,255,.7);opacity:0;pointer-events:none}
#story .rail{position:absolute;left:0;right:0;bottom:0;height:56px;z-index:9;background:rgba(255,255,255,.86);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-top:1px solid var(--hair);display:flex;align-items:center;justify-content:center;gap:clamp(10px,3vw,28px);font-size:13px;color:#a1a1a6;padding-bottom:env(safe-area-inset-bottom,0px)}
#story .rail span{display:flex;align-items:center;gap:7px;white-space:nowrap;transition:color .25s;cursor:pointer;padding:8px 2px;-webkit-tap-highlight-color:transparent}
#story .rail span:hover{color:var(--ink)}
#story .rail span:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:6px}
#story .rail span::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
#story .rail span.on{color:var(--ink);font-weight:600}
#story .hint{position:absolute;left:0;right:0;bottom:70px;text-align:center;font-size:13px;color:var(--sub);z-index:6}
#story .skip{position:absolute;right:max(14px,env(safe-area-inset-right,0px));top:10px;z-index:9;font-size:13px;color:var(--sub);padding:6px 12px;border-radius:99px}
#story .skip:hover{text-decoration:none;color:var(--ink)}
#story .srOnly{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.story-end{text-align:center}
.story-end .lead{margin-left:auto;margin-right:auto}
.story-end .go{margin-top:28px;display:flex;justify-content:center;align-items:center;gap:22px;flex-wrap:wrap}
.story-end .note{margin-top:28px;font-size:13px;color:var(--slate)}

@media(min-width:900px){#story .cap p.sb{max-width:38em}}

/* 첫 화면 (스토리 무대 위) */
#story .sthero{position:absolute;left:0;right:0;top:0;height:auto;min-height:0;overflow:visible;z-index:8;padding-top:clamp(28px,7vh,72px);background:none;will-change:opacity,transform}
#story .sthero>.in{position:relative}

#story #c1{z-index:6}
@media(max-width:759px){#story .skip{font-size:11px;padding:4px 8px}}
