.guide {--wine:#632639;--ink:#302725;--muted:#735f55;max-width:920px;margin:auto;padding:clamp(20px,4vw,48px) 0;color:var(--ink)}
.guide button,.guide input {font:inherit}
.guide-heading {isolation:isolate;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:210px;padding:clamp(20px,4vw,44px);color:#fff7e6;background:linear-gradient(115deg,#492133,#733044);border-radius:4px 19px 4px 4px}
.guide-heading:before {content:"";position:absolute;inset:0;z-index:-1;background:url(endpaper-stock.webp) center/470px;mix-blend-mode:soft-light;opacity:.38}
.reader .guide-heading h1 {font-size:clamp(26px,4vw,47px);line-height:1.55;letter-spacing:-.04em}
.guide-heading p {margin-top:8px;max-width:36ch;color:#f7e6db}
.guide-stack {position:relative;width:210px;height:145px;flex-shrink:0;direction:ltr}
.guide-stack img {position:absolute;width:92px;height:140px;object-fit:contain;filter:drop-shadow(3px 5px 5px #1f101770)}
.guide-stack img:nth-child(1){left:8px;transform:rotate(-13deg)}
.guide-stack img:nth-child(2){left:59px;top:-7px;transform:rotate(-3deg)}
.guide-stack img:nth-child(3){left:108px;top:3px;transform:rotate(9deg)}
.has-turns .guide-heading {min-height:80px;padding:15px clamp(16px,3vw,32px)}
.has-turns .guide-heading h1 {font-size:clamp(21px,3vw,32px)}
.guide-reset {background:transparent;color:inherit;border:1px solid #d5acb6;padding:6px 12px;border-radius:20px;white-space:nowrap}
.guide-turn {display:flow-root;margin:24px auto;max-width:820px;scroll-margin-top:24px}
.guide-question {width:fit-content;max-width:85%;margin-inline-start:auto;padding:9px 18px;background:#e9dfd6;color:#4b3137;border-radius:16px 16px 16px 3px}
.guide-answer {margin-block:14px 10px;line-height:1.95}
.guide-speaker {font-size:.77rem;font-weight:700;color:var(--wine);display:flex;align-items:center;gap:7px}
.guide-speaker:before {content:"";width:13px;height:8px;background:var(--wine);border-radius:1px 5px 1px 1px;box-shadow:-2px 2px #caa995}
.guide-shelf {display:grid;gap:12px}
.guide-shelf article {display:flex;align-items:flex-start;gap:clamp(12px,3vw,26px);padding:clamp(14px,2.4vw,24px);background:#fffaf0;border:1px solid #d8caba;border-radius:5px;box-shadow:0 3px 10px #38221c08}
.guide-cover {flex:none;display:grid;place-items:center;width:clamp(78px,15vw,136px);padding:9px 4px;background:#eee3d2;border-radius:2px}
.guide-cover img {max-width:95%;height:clamp(100px,17vw,160px);object-fit:contain;filter:drop-shadow(2px 3px 3px #31292033)}
.guide-shelf h2 {font-size:clamp(1.05rem,2.2vw,1.48rem)}
.guide-facts,.guide-source,.guide-desk small {color:var(--muted);font-size:.83rem}
.guide-excerpt {margin-block:9px;line-height:1.9}
.guide-source summary {cursor:pointer;width:fit-content;color:var(--wine)}
.guide-source blockquote {margin:8px 0;padding-inline-start:12px;border-inline-start:2px solid #c8a9a0}
.guide-links,.guide-prompts {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.guide-links {margin-top:14px}
.guide-links a,.guide-prompts button {padding:5px 12px;border-radius:18px;font-size:.86rem}
.guide-links a:first-child {background:#eee3d7}
.guide-links a:last-child {color:var(--wine)}
.guide-desk {max-width:820px;margin:20px auto 0;padding:clamp(15px,3vw,27px);border:1px solid #cbbba9;border-radius:8px;background:#fffaf2;box-shadow:0 5px 15px #40291c09}
.guide-desk [role=status]:not(:empty) {margin-bottom:10px;color:var(--wine)}
.guide-compose label {font-size:.9rem;font-weight:650}
.guide-compose div {display:flex;align-items:stretch;gap:6px;margin:6px 0;border:1px solid #ae998a;background:#fffdf9;padding:5px;border-radius:8px}
.guide-compose div:focus-within {outline:2px solid var(--wine)}
.guide-compose input {min-width:0;flex:1;background:transparent;color:var(--ink);border:0;outline:0;padding:7px}
.guide-compose button {border-radius:5px;background:var(--wine);color:white}
.guide-prompts {margin-top:12px}
.guide-prompts:empty {display:none}
.guide-prompts button {border:1px solid #cab7a7;background:transparent;color:#59363f}
.guide button:hover,.guide-source summary:hover {opacity:.82}
@media(max-width:600px){.guide-heading {min-height:155px;padding:16px}.guide-stack {width:84px;height:96px}.guide-stack img {width:50px;height:85px}.guide-stack img:nth-child(1){left:0}.guide-stack img:nth-child(2){left:16px}.guide-stack img:nth-child(3){left:31px}.guide-reset {font-size:.76rem!important;padding:5px 8px}.guide-shelf article {flex-wrap:wrap;display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px}.guide-cover {width:74px}.guide-shelf article>div:only-child {grid-column:1/-1}.guide-excerpt {font-size:.92rem}}

.guide-choices {margin:8px 0 16px}
.guide-choices button {min-height:44px;background:#fffaf0;color:var(--wine);text-align:start}
.guide-choices button:hover,.guide-choices button:focus-visible {background:#efe2dc}
.guide-suggestions {margin:10px 0 14px}
.guide-suggestions button {min-height:44px;text-align:start;background:#fffaf0}
.guide-suggestions button:hover,.guide-suggestions button:focus-visible {background:#efe2dc}
.guide-voice:not([hidden]) {display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.guide-voice button {border:1px solid #bca697;border-radius:20px;background:#fffaf0;color:var(--wine);padding:8px 15px;min-height:44px}
.guide-record[aria-pressed=true] {background:var(--wine);color:white}
.guide-voice audio {max-width:100%}
.guide-voice .guide-record {display:inline-flex;align-items:center;gap:.55rem;background:#502838;color:#fff4e8;border:0}
.voice-mark {font: bold 1.65rem/1 Georgia;color:#f8bfaa}
