/* Real-food photography, scoped to the Finder and photographed guides. */
.ramen-photo{display:block;width:100%;height:auto;max-width:100%;background:#1b1a18}
.ramen-photo-figure{margin:22px 0;overflow:hidden;border:1px solid #4b443b;border-radius:16px;background:#191817}
.ramen-photo-figure>.ramen-photo{max-height:510px;object-fit:contain}
.ramen-photo-figure figcaption{padding:9px 12px;background:#191817;color:#e4d8c7;font-size:12px;line-height:17px}
.photo-context{display:block;margin-bottom:4px}
.photo-credit{display:block;font-size:11px!important;font-weight:400;line-height:15px;color:#cbbfad;overflow-wrap:anywhere}
.photo-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.choice-tile{min-width:0;display:flex;flex-direction:column}
.choice-tile>.choice{width:100%;flex:1;overflow:hidden;padding:0;min-width:0;position:relative}
.choice-photo{display:block;aspect-ratio:4/3;background:#191817;overflow:hidden}
.choice-photo .ramen-photo{height:100%;object-fit:cover}
.choice-photo .ramen-photo[data-photo="chashu"]{transform:scale(1.45);transform-origin:50% 23%}
.noodle-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3px;height:100%;width:100%}
.noodle-pair>.ramen-photo{min-width:0;object-fit:cover}
.noodle-pair>.ramen-photo[data-photo="tsukemen"]{object-position:85% 50%}
.paired-credits{padding:5px 4px 0}
.choice-copy{display:block;padding:17px}
.choice .choice-copy b{color:#f5ecdf;font-size:1.08rem}
.choice .choice-copy>span{color:#c3b6a5;font-size:.9rem;line-height:1.5;display:block}
.choice .choice-example{display:block;margin-top:6px;font-size:12px!important;line-height:17px!important;color:#d1c6b6}
.choice .text-option-label{display:inline-block;margin-bottom:14px;padding:5px 9px;border:1px solid #5e5448;border-radius:8px;color:#e5d6c1;font-size:.75rem}
.choice-tile>.photo-credit{padding:5px 4px 0}
.choice:focus-visible{outline:3px solid #f3d27b;outline-offset:4px}
.choice.selected{box-shadow:inset 0 0 0 2px #f4cda4}
.choice.selected::after{content:'✓';position:absolute;right:10px;top:10px;background:#b82b22;color:#fff;border:2px solid #fff;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-weight:900;font-size:15px}
.question-note{color:#c3b6a5;font-size:12px;line-height:17px;margin:0 0 12px;max-width:80ch}
.question-scene{display:grid;grid-template-columns:minmax(150px,34%) 1fr;align-items:center;margin:0 0 20px}
.question-scene>.ramen-photo{height:210px;object-fit:cover}
.question-scene figcaption{font-size:.9rem}
.result #resultPhoto{margin:18px 0}
.result .ramen-photo-figure{margin:0}
.result h3{overflow-wrap:anywhere}
.style-photo-tile{min-width:0;display:flex;flex-direction:column}
.style-photo-tile .style-card{display:block;flex:1}
.style-photo-tile .ramen-photo{aspect-ratio:4/3;object-fit:cover;border-radius:10px;margin:0 0 18px}
.style-photo-tile>.photo-credit{padding:9px 4px 0}
.shop-photo-section{padding-top:0;padding-bottom:36px}
.shop-real-photo{max-width:850px;margin:0 auto}
.photo-credit-entry{margin-top:48px;padding-top:24px;border-top:1px solid #544a3e;scroll-margin-top:110px}
.photo-credit-entry .ramen-photo-figure{max-width:720px}
.photo-credit-entry dt{font-weight:800;color:#e9d6b8;margin-top:12px}
.photo-credit-entry dd{margin:4px 0;overflow-wrap:anywhere;color:#cbbfad}
@media(max-width:650px){
 .finder-shell{padding:20px 16px;border-radius:20px}
 .finder-top{align-items:flex-start;gap:10px}
 .finder-top h2{font-size:1.65rem}
 .finder-top .progress{min-width:78px;text-align:right;color:#c6b9a7}
 .choices{gap:17px}
 .choice-tile>.choice{display:flex;align-items:stretch;min-height:115px}
 .choice-photo{flex:0 0 36%;aspect-ratio:1;min-height:0;align-self:center}
 .choice-copy{flex:1;padding:15px}
 .choice .text-option-label{margin-bottom:7px}
 .choice.selected::after{right:7px;top:7px;width:20px;height:20px;font-size:12px}
 .question-scene{grid-template-columns:1fr}
 .question-scene>.ramen-photo{height:180px}
 .result{padding:18px 14px}
 .result h3{font-size:2rem}
 .ramen-photo-figure>.ramen-photo{max-height:380px}
 .photo-credit{font-size:11px!important;line-height:15px}
 .choice-tile>.photo-credit{padding-top:5px}
}

/* Finder concepts keep the entire supplied frame visible at every viewport. */
.choice-photo.choice-illustration{aspect-ratio:4/3;background:#f3ecde}
.choice-illustration .choice-artwork{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center}
.illustration-credit{display:block;padding:5px 4px 0;color:#cbbfad;font-size:11px;line-height:15px;font-weight:400}

/* A single footer column prevents the Finder viewport from widening at 320px. */
@media(max-width:650px){
 body:has(.finder-shell) .footer-grid{grid-template-columns:minmax(0,1fr);gap:24px}
}


/* Keep the existing plan link available without covering Finder controls. */
body:has(.finder-shell) .plan-fab{position:static;max-width:calc(100% - 32px);width:max-content;margin:24px auto 20px}
