/* A small invitation into the story canvas, within the existing button size. */
.story-masthead .immersion-entry{position:relative;display:inline-flex;flex-shrink:0}
.is-reading .story-masthead .immersion-button{position:relative;overflow:hidden;isolation:isolate;border-color:color-mix(in srgb, var(--gold-0) 60%, transparent);background:linear-gradient(125deg,#234c6280,#192a39);color:var(--ink-1);box-shadow:0 0 0 3px color-mix(in srgb, var(--gold-0) 3%, transparent),inset 0 1px 0 color-mix(in srgb, var(--ink-1) 11%, transparent),0 4px 18px #0b192766;transition:border-color .2s,background .2s,box-shadow .2s}
.story-masthead .immersion-button>svg{stroke:var(--ink-1);stroke-width:1.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.story-masthead .immersion-button>span{position:relative}
.story-masthead .immersion-button:before{content:'';position:absolute;inset:-70%;z-index:-1;background:linear-gradient(110deg,transparent 38%,color-mix(in srgb, var(--ink-1) 14%, transparent) 49%,transparent 60%);transform:translateX(-70%);transition:transform .65s ease;pointer-events:none}
.is-reading .story-masthead .immersion-button:hover{border-color:var(--ink-1);background:#1c4155;box-shadow:0 0 0 3px color-mix(in srgb, var(--gold-0) 5%, transparent),0 0 20px color-mix(in srgb, var(--gold-0) 10%, transparent)}
.story-masthead .immersion-button:hover:before,.story-masthead .immersion-button:focus-visible:before{transform:translateX(70%)}
.story-masthead .immersion-button:focus-visible{outline:2px solid #d9c899;outline-offset:5px}
.immersion-note{position:absolute;right:calc(100% + 18px);top:-16px;width:188px;height:78px;color:#d9c899;pointer-events:none;user-select:none}
.immersion-note>span{display:block;text-align:center;font:16px/1.6 'Kaiti SC','STKaiti','KaiTi',serif;letter-spacing:.04em;transform:rotate(-5deg);opacity:.92}
.immersion-note>svg{position:absolute;top:19px;left:0;width:100%;height:62px;overflow:visible;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;opacity:.82}
.immersion-trail{stroke-dasharray:1;stroke-dashoffset:0;animation:immersion-ink 1.1s ease-out both}
.immersion-arrowhead{animation:immersion-tip 1.1s ease-out both}
@keyframes immersion-ink{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes immersion-tip{0%,75%{opacity:0}100%{opacity:1}}
@media(min-width:761px) and (max-width:950px){
 .immersion-note{right:0;top:calc(100% + 8px);width:170px;height:35px}
 .immersion-note>span{font-size:var(--fs-2);transform:rotate(-3deg)}
 .immersion-note>svg{width:60px;height:28px;left:auto;right:-14px;top:-31px;transform:rotate(-75deg)}
}
@media(max-width:760px){
 .story-masthead .immersion-entry{margin-top:12px}
 .story-masthead .immersion-entry .immersion-button{margin-top:0}
 .immersion-note{left:calc(100% + 14px);right:auto;top:-10px;width:clamp(130px,38vw,158px);height:64px}
 .immersion-note>span{font-size:var(--fs-2);transform:rotate(4deg);white-space:nowrap;letter-spacing:0}
 .immersion-note>svg{top:14px;height:51px;transform:scaleX(-1)}
}
@media(prefers-reduced-motion:reduce){
 .immersion-trail,.immersion-arrowhead{animation:none}
 .story-masthead .immersion-button:before{display:none}
 .is-reading .story-masthead .immersion-button{transition:none}
}
