.chapter-tabs>button:nth-child(5){background:#f0dfe6;transform:rotate(-1deg)}
.food-scroll{flex:1;padding-top:6px}
.food-filters{display:flex;gap:7px;flex-shrink:0;margin:-5px 0 16px;flex-wrap:wrap}
.food-filters button{display:flex;align-items:center;gap:7px;font-size:10px;padding:6px 11px;border:1px solid #172b4d24;border-radius:3px;background:#fffefa}
.food-filters button[aria-pressed=true]{background:#e2ebf2;border-color:#6f9cc6}
.food-filters button>span{font-size:8px;background:#fffefa99;border-radius:50%;min-width:17px;height:17px;display:grid;place-items:center}
.food-thread{position:relative;display:flex;flex-direction:column;gap:31px;padding:16px 12px 30px;isolation:isolate;min-height:100%}
.food-yarn{position:absolute;top:0;bottom:0;left:calc(50% - 36px);width:72px;height:100%;z-index:-1;overflow:visible;pointer-events:none;filter:drop-shadow(1px 2px 1px #172b4d1c)}
.food-stop{position:relative;width:calc(50% - 37px);align-self:start}
.food-stop:nth-of-type(2n){align-self:end}
.food-knot{position:absolute;right:-45px;top:35px;width:15px;height:15px;border:4px double #a96d81;border-radius:50%;background:var(--cream);box-shadow:1px 2px 2px #172b4d15}
.food-knot:before{content:'';position:absolute;right:6px;top:2px;width:42px;border-top:2px dashed #c48ca0;z-index:-1}
.food-stop:nth-of-type(2n) .food-knot{right:auto;left:-45px}
.food-stop:nth-of-type(2n) .food-knot:before{right:auto;left:6px}
.food-polaroid{position:relative;background:#fffefa;border:1px solid #172b4d18;padding:10px 10px 13px;box-shadow:3px 5px 9px #172b4d1a;transform:rotate(-2deg)}
.food-stop:nth-of-type(2n) .food-polaroid{transform:rotate(2.5deg);background:#faf2f1}
.food-polaroid:before{content:'';position:absolute;width:67px;height:19px;top:-10px;left:calc(50% - 33px);background:#bcd3e1a6;clip-path:polygon(2% 4%,100% 0,97% 100%,0 94%);transform:rotate(5deg);z-index:2;pointer-events:none}
.food-stop.visited .food-polaroid:before{background:#e9a9bb99;transform:rotate(-6deg)}
.food-open{display:block;width:100%;text-align:left;padding:0}
.food-photo-wrap{position:relative;display:block;margin-bottom:18px}
.food-photo-wrap>img:not(.food-us-photo){width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;background:#f5ebdd}
.food-photo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;aspect-ratio:4/3;background-color:#edf1ed;background-image:repeating-linear-gradient(0deg,transparent 0 19px,#6f9cc615 19px 20px),repeating-linear-gradient(90deg,transparent 0 19px,#6f9cc615 19px 20px);padding:20px 10px;text-align:center}
.food-photo-placeholder>span:last-child{font-family:var(--hand);font-size:21px;line-height:1.2;color:#718097}
.food-plate{width:70px;height:70px;border:6px double #6f9cc6;border-radius:50%;display:grid;place-items:center;background:#fffefa;box-shadow:2px 3px 0 #172b4d0d;font-family:var(--hand);font-size:30px;color:#b87790;outline:1px solid #6f9cc633;outline-offset:4px}
.food-us-photo{position:absolute;right:9px;bottom:-10px;transform:rotate(9deg);width:73px;height:80px;object-fit:cover;border:5px solid #fffefa;border-bottom-width:13px;box-shadow:1px 2px 4px #172b4d33}
.food-status{display:inline-block;padding:4px 9px;background:#e1ebf4;border:1px dashed #8caabd;font-size:9px;line-height:1.4;color:#425b75;border-radius:2px}
.food-photo-wrap>.food-status{position:absolute;left:7px;top:8px;max-width:calc(100% - 14px)}
.food-stop.visited .food-status,.food-status.visited{background:#f3dce3;border-color:#c08197;color:#87516b}
.food-stop-number{font-size:7px;color:var(--muted);letter-spacing:.16em;display:block;margin:8px 6px}
.food-open h2{font-size:28px;line-height:1.12;margin:9px 6px;overflow-wrap:anywhere}
.food-dish{font-family:var(--hand);font-size:24px;line-height:1.2;margin:0 6px 10px;color:#8f6175;overflow-wrap:anywhere}
.food-location{font-size:10px;color:var(--muted);line-height:1.7;margin:0 6px 12px;overflow-wrap:anywhere}
.food-score{font-size:19px;font-weight:600;display:block;margin:13px 6px 0}
.food-score small{font-weight:400;font-size:8px;color:var(--muted)}
.food-plan-note{font-size:9px;display:block;margin:12px 6px 0;color:#7b8491}
.food-polaroid>footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;padding:14px 6px 0;margin-top:15px;border-top:1px dashed #172b4d25}
.food-polaroid>footer button{padding:5px 0;min-height:32px}
.food-empty{align-self:center;text-align:center;width:100%;max-width:360px;padding:15px 8px 22px}
.food-empty-ticket{display:flex;flex-direction:column;align-items:center;position:relative;padding:26px 22px 25px;background:#f5ebdd;border:1px dashed #172b4d40;box-shadow:3px 4px 0 #172b4d0b;transform:rotate(-2deg);gap:18px}
.food-ticket-top{font-size:7px;letter-spacing:.15em;line-height:1.8}
.food-empty h2{font-family:var(--hand);font-size:33px;font-weight:500;line-height:1.1;letter-spacing:0}
.food-empty p{font-size:12px;color:#737d89;line-height:1.9}
.food-pair{display:flex;justify-content:center;gap:14px}
.food-pair img{width:68px;height:68px;object-fit:contain;--tilt:-8deg;animation:paper-character 5.2s steps(1,end) infinite}
.food-pair img:last-child{--tilt:9deg;animation-delay:-1.7s}
.food-hand-note{display:inline-block;font-family:var(--hand);font-size:24px;color:#98677a;transform:rotate(-4deg);background:#fffefa;padding:2px 12px;margin-top:24px}
.food-review-fields{border:0;border-top:1px dashed #172b4d33;padding:20px 0 0;margin:20px 0}
.food-review-fields>legend{font-family:var(--hand);font-size:28px;padding:0 12px 0 0}
.food-rating{border:0;padding:0;margin:22px 0}
.food-rating>legend{font-size:12px;font-weight:600;padding:0}
.food-rating>p{font-size:10px;color:var(--muted);margin:4px 0 11px}
.food-rating>div{display:flex;gap:8px}
.food-rating-choice{position:relative;cursor:pointer;flex:1;max-width:67px}
.food-rating-choice input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.food-rating-choice>span{display:flex;justify-content:center;align-items:center;gap:5px;border:1px solid #172b4d33;background:#f5ebdd66;min-height:44px;font-size:14px;pointer-events:none;border-radius:3px}
.food-rating-choice small{font-size:12px;color:#a77d88}
.food-rating-choice input:checked+span{background:#e9a9bb66;border-color:#aa6984;box-shadow:1px 2px 0 #172b4d15}
.food-rating-choice input:focus-visible+span{outline:3px solid var(--blue);outline-offset:2px}
.food-photo-fields{margin:25px 0;padding-top:20px;border-top:1px dashed #172b4d25}
.food-photo-fields h3,.food-reader-photos h3{font-family:var(--hand);font-size:27px;font-weight:500;margin:0 0 14px}
.food-photo-fields .track-photo-previews{margin:0 0 20px}
.food-form-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.food-reader>h3{font-family:var(--hand);font-size:30px;font-weight:500;margin:16px 0 8px;overflow-wrap:anywhere}
.food-reader-score{padding:18px;text-align:center;background:#f5ebdd99;transform:rotate(-1deg);margin:20px 0}
.food-reader-score>strong{font-size:31px;display:block;font-weight:500}.food-reader-score small{font-size:16px;color:var(--muted)}.food-reader-score>span{font-size:9px;color:var(--muted)}
.food-rating-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:11px 23px;margin:22px 0}
.food-rating-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;border-bottom:1px dashed #172b4d22;padding-bottom:8px}.food-rating-breakdown dd{margin:0;white-space:nowrap}.food-rating-breakdown dd>span{font-size:9px;color:var(--muted)}
.food-reader-photos{margin:25px 0}.food-reader-photos>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.food-reader-photos button{padding:6px 6px 16px;background:#f5ebdd;transform:rotate(-2deg);box-shadow:1px 2px 3px #172b4d18}.food-reader-photos button:nth-child(2n){transform:rotate(3deg);background:#f3e2e8}.food-reader-photos img{width:100%;aspect-ratio:1;object-fit:cover}
.food-notes{padding:20px;background:#f8f2e7;margin:26px 0}.food-notes>span{font-size:9px;color:#8f6175}.food-notes p{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--hand);font-size:25px;line-height:1.5;margin-top:12px}.food-plan-message{font-family:var(--hand);font-size:26px;line-height:1.3;padding:20px;background:#e4edf3;margin:20px 0}
.food-reader>footer{flex-wrap:wrap}
@media(min-width:701px){.food-stop:nth-of-type(n+2){margin-top:-180px}}
@media(max-width:700px){
  .chapter-book{height:clamp(360px,calc(100svh - 360px),710px)}
  .chapter-tabs>button{font-size:8px;padding-left:4px;padding-right:4px}.chapter-tabs>button>span:last-of-type{max-width:58px}.book-topline .hand-note{max-width:158px;font-size:18px}
  .food-filters{gap:5px;margin-bottom:13px}.food-filters button{font-size:8px;padding:5px 7px;gap:5px;min-height:34px}.food-filters button>span{font-size:7px;min-width:15px;height:15px}
  .food-thread{padding:14px 7px 24px 27px;gap:30px}.food-yarn{left:0;width:24px}.food-stop,.food-stop:nth-of-type(2n){width:100%;align-self:stretch}.food-knot,.food-stop:nth-of-type(2n) .food-knot{left:-22px;right:auto;top:29px;width:13px;height:13px}.food-knot:before,.food-stop:nth-of-type(2n) .food-knot:before{left:6px;right:auto;width:18px;top:1px}
  .food-polaroid{padding:7px 7px 10px}.food-polaroid:before{width:51px;left:calc(50% - 25px);height:17px}.food-status{font-size:7px;padding:4px 6px}.food-photo-wrap>.food-status{left:5px;top:6px}.food-photo-placeholder{padding:24px 8px 16px;gap:9px}.food-photo-placeholder>span:last-child{font-size:18px}.food-plate{width:54px;height:54px;font-size:27px;border-width:5px}.food-us-photo{width:56px;height:63px;right:5px;border-width:4px;border-bottom-width:10px}.food-stop-number{font-size:6px}.food-open h2{font-size:24px;margin:8px 4px}.food-dish{font-size:22px;margin-left:4px;margin-right:4px}.food-location{font-size:8px;margin-left:4px;margin-right:4px}.food-score{font-size:18px;margin-left:4px}.food-score small{font-size:7px}.food-plan-note{font-size:8px;margin-left:4px}.food-polaroid>footer{font-size:9px;gap:8px;padding:10px 4px 0;margin-top:12px}
  .food-thread.empty-thread{padding-left:12px}.empty-thread .food-yarn{left:calc(50% - 12px)}.food-empty{padding:5px 3px 20px}.food-empty-ticket{padding:24px 14px;gap:16px}.food-ticket-top{font-size:6px;letter-spacing:.12em}.food-empty h2{font-size:28px}.food-empty p{font-size:10px}.food-pair img{width:58px;height:58px}.food-hand-note{font-size:20px;padding-left:6px;padding-right:6px}.food-empty .small-button{font-size:9px;padding:9px}
  #food-form .food-form-row{grid-template-columns:1fr}#food-form textarea{font-size:16px;min-height:110px}#food-form .feature-field input,#food-form select{min-width:0}.food-rating-choice>span{font-size:13px;gap:3px}.food-rating-choice small{font-size:10px}.food-rating>div{gap:5px}.food-rating-breakdown{grid-template-columns:1fr}.food-reader-score>strong{font-size:28px}.food-photo-fields h3,.food-reader-photos h3{font-size:25px}.food-reader>h3{font-size:27px}
}
@media(prefers-reduced-motion:reduce){.food-pair img{animation:none}}

/* The book is an invitation; the journey gets its own naturally scrolling page. */
.food-book-intro{flex:1;padding:6px 6px 12px;min-height:0}
.food-book-ticket{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:100%;padding:25px 20px;text-align:center;background:#f5ebdd88;background-image:repeating-linear-gradient(0deg,transparent 0 25px,#6f9cc610 25px 26px);border:1px dashed #172b4d30;transform:rotate(-1deg)}
.food-book-ticket:before{content:'';position:absolute;width:68px;height:19px;top:-8px;left:calc(50% - 34px);background:#e9a9bb88;transform:rotate(4deg)}
.food-book-ticket>.food-plate{display:none}
.food-book-ticket .food-pair{margin:3px 0}.food-book-ticket .food-pair img{width:75px;height:75px}
.food-book-ticket h2{font-family:var(--hand);font-size:36px;font-weight:500;letter-spacing:0;line-height:1.08}
.food-book-ticket>p{font-size:12px;line-height:1.8;color:var(--muted)}
.food-book-ticket .food-book-summary{font-size:10px;color:#8f6175}
.food-journey-link{min-height:48px;padding:12px 24px;font-size:13px;transform:rotate(1deg);margin:3px 0}
body.food-journey-open{padding-bottom:0}
body.food-journey-open>.site-header,body.food-journey-open>.site-footer{display:none}
body.food-journey-open .inside-scene{max-width:1080px;padding:26px 35px 50px;animation:none;overflow:visible}
.food-return{display:inline-flex;align-items:center;min-height:44px;font-size:12px;border-bottom:1px dashed #172b4d33}
.food-subpage:focus{outline:none}
.food-page-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:30px 0 25px}
.food-page-heading h1{font-size:58px;margin:17px 0;line-height:1.06}
.food-page-heading p{font-family:var(--hand);font-size:24px;line-height:1.3;color:#99657c}
.food-page-heading>.small-button{flex-shrink:0;min-height:44px}
.food-subpage .food-filters{margin:0 0 18px}
.food-timeline-content{height:auto;max-height:none;overflow:visible;padding-top:18px}
.food-subpage .food-thread{height:auto;min-height:0;overflow:visible;gap:42px}
.food-subpage .food-stop:nth-of-type(n+2){margin-top:0}
.food-subpage .food-photo-wrap>img:not(.food-us-photo){aspect-ratio:auto;height:auto;max-height:none;object-fit:contain}
.food-journey-end{font-family:var(--hand);font-size:26px;color:#98677a;line-height:1.3;max-width:340px;text-align:center;margin:45px auto 10px;transform:rotate(-3deg)}
@media(max-width:700px){
  body.book-reading{padding-bottom:0}
  .inside-scene{padding:25px 16px 34px}
  .chapter-book{height:auto;min-height:520px;aspect-ratio:3/5}
  .chapter-navigation button{min-height:44px;padding-top:9px;padding-bottom:9px}
  .floating-music{position:static;transform:none;width:min(100%,360px);margin:22px auto 0}
  .food-book-ticket{padding:20px 12px;gap:12px}
  .food-book-ticket .food-pair img{width:65px;height:65px}
  .food-book-ticket h2{font-size:32px}.food-book-ticket>p{font-size:11px}.food-book-ticket .food-book-summary{font-size:9px}
  .food-journey-link{font-size:13px;min-height:48px;padding:12px 20px}
  body.food-journey-open .inside-scene{padding:15px 18px 32px;max-width:none}
  .food-return{font-size:12px;min-height:44px}
  .food-page-heading{display:block;margin:25px 0}
  .food-page-heading .eyebrow{font-size:7px}
  .food-page-heading h1{font-size:43px;margin:17px 0;max-width:330px}
  .food-page-heading p{font-size:22px;max-width:300px}
  .food-page-heading>.small-button{margin-top:22px;font-size:11px;min-height:44px;padding:10px 15px}
  .food-subpage .food-filters{gap:7px;margin-bottom:16px}
  .food-subpage .food-filters button{font-size:10px;min-height:40px;padding:8px 11px}
  .food-subpage .food-open h2{font-size:28px}.food-subpage .food-location{font-size:10px}.food-subpage .food-dish{font-size:25px}
  .food-subpage .food-status{font-size:9px}.food-subpage .food-polaroid>footer{font-size:11px}
  .food-subpage .food-polaroid>footer button{min-height:44px}.food-subpage .food-score small{font-size:8px}
  .food-subpage .food-stop-number{font-size:7px}.food-subpage .food-plan-note{font-size:10px}
  .food-subpage .food-empty{max-width:340px}.food-subpage .food-empty h2{font-size:32px}.food-subpage .food-empty p{font-size:12px}
  .food-journey-end{font-size:23px;max-width:280px}
}
