/* Existing fonts and ruled paper remain the base. No remote assets. */
.ep-route,.ep-catalog{color:#303a30;overflow-wrap:anywhere}
.ep-cover{padding:28px;border:1px solid #c6cbb4;border-top:5px solid #65774f;border-radius:14px 24px 24px 14px;background:#fffdf4;margin:0 0 28px}
.ep-route h1,.ep-catalog h1{font-family:inherit;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.6}
.ep-route h2,.ep-catalog h2{font-family:inherit;font-size:1.35rem;line-height:1.7;margin-top:34px}
.ep-route h3,.ep-catalog h3{font-family:inherit;font-size:1.1rem;line-height:1.8}
.ep-route p,.ep-catalog p{line-height:1.95}
.ep-eyebrow,.ep-scope{font-size:.83rem;color:#646a58}
.ep-scene{padding:25px;border:1px solid #c6cbb4;border-radius:16px;background:#fffdf4}
.ep-dialogue{display:grid;gap:22px;margin:28px 0}
.ep-turn{display:grid;grid-template-columns:80px minmax(0,1fr);gap:17px;align-items:start}
.ep-turn[data-side=right]{grid-template-columns:minmax(0,1fr) 80px}
.ep-turn figure{margin:0;text-align:center}
.ep-turn img{width:80px;height:80px;object-fit:contain;border:1px solid #c4ccb1;border-radius:18px;background:#fff}
.ep-turn figcaption{font-size:.78rem;margin-top:5px}
.ep-turn p{position:relative;margin:0;padding:18px 21px;border:1px solid #d9c9a7;border-radius:18px;background:#fff8e6;min-width:0}
.ep-turn p:before{content:"";position:absolute;width:12px;height:12px;left:-7px;top:23px;background:inherit;border-left:1px solid #d9c9a7;border-bottom:1px solid #d9c9a7;transform:rotate(45deg)}
.ep-turn[data-side=right] figure{grid-column:2;grid-row:1}
.ep-turn[data-side=right] p{grid-column:1;grid-row:1;background:#f4f1f8}
.ep-turn[data-side=right] p:before{left:auto;right:-7px;transform:rotate(225deg)}
.ep-steps{list-style:none!important;padding:0!important;margin:24px 0!important}
.ep-steps>li:not(.ep-bridge):not(.ep-interlude-slot){display:grid;grid-template-columns:38px minmax(0,1fr);gap:14px;padding:20px 18px;border:1px solid #c9cdb9;border-radius:13px;background:#fffdf7;margin:17px 0}
.ep-step-number{color:#687852;font-size:1.2rem;padding-top:8px}
.ep-steps h3{margin:0}
.ep-steps p{margin:9px 0 0}
.ep-bridge{padding:0 15px 0 54px;font-size:.88rem;line-height:1.85;color:#58634c}
.ep-interlude{padding:21px 25px;border:1px dashed #a7a782;border-radius:16px;background:#f7f2e2;margin:24px 0}
.ep-interlude h3{margin:7px 0}.ep-interlude p{line-height:1.9}
.ep-interlude .ep-return{font-size:.86rem;margin-top:18px}
.ep-interlude-slot{list-style:none}
.ep-extras{padding:0 20px 20px;border:1px solid #c6cbb4;border-radius:14px;margin-top:27px}
.ep-extras li{margin-bottom:16px}
.ep-interlude-note{font-size:.82rem;line-height:1.9;margin-top:20px;padding:12px;border-left:3px solid #a7a782;background:#f7f2e2}
.ep-catalog .ep-catalog-card{padding:24px;border:1px solid #c4ccb1;border-left:5px solid #859464;border-radius:9px 20px 20px 9px;background:#fffdf7;margin:20px 0}
.ep-index-nav{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}
.ep-index-nav a{display:block;padding:10px 16px;border:1px solid #aeb99b;border-radius:20px;background:#f8faef}
.ep-route a,.ep-catalog a,.ep-interlude a{text-decoration:underline;text-underline-offset:4px}
.ep-route a:focus-visible,.ep-catalog a:focus-visible,.ep-interlude a:focus-visible{outline:3px solid #355c89;outline-offset:4px}
@media(max-width:580px){.ep-cover,.ep-scene,.ep-catalog .ep-catalog-card{padding:18px 14px}.ep-turn{grid-template-columns:58px minmax(0,1fr);gap:12px}.ep-turn[data-side=right]{grid-template-columns:minmax(0,1fr) 58px}.ep-turn img{width:58px;height:58px}.ep-turn p{padding:13px 14px}.ep-interlude{padding:17px}.ep-steps>li:not(.ep-bridge):not(.ep-interlude-slot){grid-template-columns:25px minmax(0,1fr);gap:9px;padding:15px 12px}.ep-bridge{padding-left:36px}}
