/* A separate navigation row preserves each feature's existing header and layout. */
:root{--porch-return-height:calc(44px + env(safe-area-inset-top,0px))}
.porch-return-bar{position:sticky;top:0;z-index:25;box-sizing:border-box;height:var(--porch-return-height);padding-top:env(safe-area-inset-top,0px);border-bottom:1px solid #294b3e26;background:#f7f8f3;color:#294b3e;font:600 13px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.porch-return-bar[hidden]{display:none}
.porch-return-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1320px;height:44px;margin:auto;padding-inline:max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-right))}
.porch-return-bar .porch-return-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;max-width:100%;color:inherit;text-decoration:none;border-radius:4px;white-space:nowrap;font:inherit}
.porch-return-link svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.porch-return-link:hover span{text-decoration:underline;text-underline-offset:4px}
.porch-return-link:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.porch-return-note{font-size:11px;font-weight:500;letter-spacing:.04em}
.porch-return-bar[data-tone=novel]{background:#0a1414;color:#e6cc98;border-color:#d8b87833}
.porch-return-bar[data-tone=mob]{background:#10100f;color:#e6c891;border-color:#d9b67a33}
.porch-return-bar[data-tone=reader]{background:var(--page,#f8f6ef);color:var(--ink,#21382f);border-color:var(--line,#d4d8cc)}
html[data-porch-return] .section-navigation{top:var(--porch-return-height)}
html[data-porch-return] .reader-bar{top:var(--porch-return-height)}
html[data-porch-return] .reading-track{top:calc(var(--bar-height) + var(--porch-return-height))}
html[data-porch-return]{scroll-padding-top:calc(var(--porch-return-height) + 88px)}
html[data-porch-return][data-porch-return-tone=reader]{scroll-padding-top:calc(var(--porch-return-height) + 130px)}
@media(max-width:600px){.porch-return-inner{padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right))}.porch-return-note{display:none}}
@media print{.porch-return-bar{display:none!important}}
