/* Restaurant visits, consistent navigation and visible pass requirements. */
.back,.close-flow,a.plain { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:9px 14px; border:1px solid var(--control-line); border-radius:99px; background:#fff3f899; color:var(--ink); font-weight:550; text-decoration:none; }
.back:hover,.close-flow:hover,a.plain:hover { background:var(--paper); border-color:var(--action); }
.question-top .back,.question-top .close-flow { width:44px; padding:8px; flex:none; }
.nav-pill { margin:8px 0 16px; font-size:.875rem; }
.inline-link { display:inline-flex; align-items:center; min-height:44px; text-underline-offset:4px; font-size:.875rem; }
.pass-intro { display:flex; align-items:center; gap:12px; width:100%; max-width:29rem; padding:12px; margin-top:14px; border:1px solid #e7a5bf; border-radius:17px; background:#fff3f899; color:var(--ink); text-align:left; }
.pass-intro:hover { background:var(--paper); }
.pass-intro-art { width:43px; min-width:43px; height:57px; border:4px solid var(--pink); border-radius:8px; background:#d7eeff; display:grid; place-items:center; transform:rotate(-6deg); }
.pass-intro-art img { width:33px; }
.pass-intro-copy { flex:1; font-size:.8125rem; line-height:1.35; }
.pass-intro-copy strong,.pass-intro-copy span { display:block; }
.pass-intro-copy strong { font-weight:650; }
.pass-intro-copy span { margin-top:3px; }
.pass-intro > svg { width:20px; flex:none; }
.welcome-top .eyebrow::before { content:none; }
.issued-screen .eyebrow::before,.pass-screen .eyebrow::before { content:none; }
.signup-consent { border:0; padding:0; min-width:0; }
.signup-consent legend { font-size:.9375rem; font-weight:600; margin-bottom:6px; }
.signup-consent .check input { width:22px; height:22px; accent-color:var(--action); }
.signup-consent .consent-note { margin-bottom:12px; }
.welcome-screen .welcome-copy { text-align:center; }
.welcome-screen .screen-actions .welcome-question { margin:0 0 16px; text-align:center; }
.welcome-pass-rule { margin:16px 0 0; padding:12px 14px; border-radius:15px; background:var(--paper); font-size:.875rem; line-height:1.4; }
.welcome-pass-rule strong { display:block; }
.dock.discovery-pass-dock { position:fixed; z-index:55; bottom:0; }
.discovery-pass-dock .dock-inner { max-width:430px; display:block; }
.discovery-pass-dock .button { width:100%; max-width:none; margin:0; }
.has-pass-dock .map-location-controls { bottom:calc(var(--pass-dock-height,0px) + 120px); }
.has-pass-dock .map-coverage { bottom:calc(var(--pass-dock-height,0px) + 46px); }
.has-pass-dock .matmeg-map .maplibregl-ctrl-bottom-right,.has-pass-dock .matmeg-map .maplibregl-ctrl-bottom-left { bottom:var(--pass-dock-height,0px); }
.has-pass-dock .matmeg-map [data-map-selected="true"] .maplibregl-ctrl-bottom-right { bottom:var(--map-control-bottom,0px); }
.pass-screen { padding-top:0; }
.profile-food-link { align-self:flex-start; margin:8px 0 16px; }
.profile-food-link + .profile-heading { margin-top:8px; }
.branch-page { max-width:960px; }
.branch-banner { width:100%; aspect-ratio:16/8;  overflow:hidden; border-radius:22px; background:var(--paper); }
.branch-banner img { display:block; width:100%; height:100%; object-fit:cover; object-position:var(--banner-position,50% 50%) !important; }
.banner-pending { display:grid; place-items:center; aspect-ratio:3/1; color:var(--muted); font-size:.875rem; border:1px dashed var(--control-line); }
.branch-heading { margin:20px 0 26px; }
.branch-heading h1 { margin:0; font-size:clamp(1.8rem,6vw,2.8rem); line-height:1.1; letter-spacing:-.035em; }
.branch-heading .branch-location { margin:8px 0 0; color:var(--muted); font-size:.875rem; line-height:1.5; }
.branch-description { margin:13px 0 0; max-width:42rem; font-size:1rem; line-height:1.5; }
.branch-actions { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.branch-actions .button { width:auto; min-height:50px; padding:12px 14px; font-size:.9375rem; border-radius:16px; }
.branch-actions .directions-button { flex:1 1 10rem; }
.branch-actions .save-branch { flex:0 1 auto; }
.save-branch > span { font-size:1.4rem; line-height:1; }
.save-branch[aria-pressed='true'] { background:#fff3f8; border-color:var(--action); }
.address-pending { display:flex; align-items:center; flex:1; font-size:.875rem; }
.visit-info { border-top:1px solid var(--control-line); border-bottom:1px solid var(--control-line); padding:4px 0; }
.visit-row,.visit-hours summary { display:flex; align-items:center; gap:12px; min-height:46px; padding:11px 2px; color:var(--ink); font-size:.875rem; line-height:1.4; text-decoration:none; }
.visit-row > svg,.visit-hours summary > svg { flex:none; width:20px; height:20px; color:var(--action); }
.visit-row > span:first-of-type,.visit-hours summary > span:first-of-type { flex:1; min-width:0; overflow-wrap:anywhere; }
.visit-hours summary { cursor:pointer; list-style:none; }
.visit-hours summary::-webkit-details-marker { display:none; }
.visit-hours summary:hover,.visit-website:hover { background:#fff3f899; border-radius:10px; }
.visit-chevron { flex:none; font-size:1.2rem; line-height:1; margin-right:5px; }
.visit-hours[open] .visit-chevron { transform:rotate(180deg); }
.visit-hours dl { margin:0 0 12px 34px; display:grid; gap:9px; font-size:.875rem; }
.visit-hours dl > div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; }
.visit-hours dd { margin:0; font-variant-numeric:tabular-nums; }
.kitchen-note { margin:0 0 12px 34px; font-size:.8125rem; color:var(--muted); }
.visit-website { font-weight:550; }
.allergen-details summary { cursor:pointer; padding:13px 0; min-height:46px; font-weight:550; font-size:.875rem; }
.visit-pass-screen { height:auto; min-height:100svh; max-width:460px; }
.visit-pass-screen h1 { margin:12px 0; font-size:clamp(1.8rem,7vw,2.5rem); letter-spacing:-.035em; line-height:1.1; }
.visit-pass-intro { margin:0; font-size:1rem; line-height:1.5; }
.visit-pass-art { display:grid; place-items:center; margin:26px auto; width:100%; }
.visit-pass-art > * { max-width:100%; }
.visit-pass-art .mini-ticket { width:min(100%,250px); transform:rotate(-5deg); }
.visit-pass-screen .screen-actions { margin-top:0; }
.visit-pass-screen .button { white-space:normal; }
.branch-menu h2 { margin:0 0 13px; font-size:1.4rem; letter-spacing:-.025em; }
.gallery-note { margin:0 0 14px; font-size:.8125rem; line-height:1.4; color:var(--muted); }
.branch-bento { display:grid; grid-template-columns:1.45fr 1fr; grid-template-rows:repeat(2,minmax(0,1fr)); gap:8px; height:clamp(195px,62vw,410px); margin-bottom:14px; }
.bento-tile { position:relative; width:100%; height:100%; min-width:0; min-height:0; border:0; padding:0; border-radius:17px; overflow:hidden; background:var(--paper); cursor:zoom-in; }
.bento-tile:first-child { grid-row:span 2; }
.bento-tile img,.bento-tile video { display:block; width:100%; height:100%; object-fit:cover; }
.bento-1,.bento-single { display:block; height:auto; }
.bento-1 .bento-tile,.bento-single > img { display:block; width:100%; height:auto; aspect-ratio:4/3; max-height:420px; object-fit:cover; border-radius:18px; }
.bento-2 { grid-template-rows:minmax(0,1fr); height:clamp(185px,52vw,340px); }
.bento-2 .bento-tile:first-child { grid-row:auto; }
.media-badge { position:absolute; right:8px; bottom:8px; padding:7px 10px; color:var(--ink); background:#fff3f8ed; border-radius:99px; font-size:.8125rem; font-weight:600; }
.branch-dishes { display:grid; gap:12px; }
.branch-dish.festival-offer { display:block; margin:0; border:1px solid #f8e0eb; }
.festival-offer .dish-copy { padding:18px; }
.offer-title-row { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:8px 14px; }
.offer-title-row h3 { flex:1 1 10rem; font-size:1.25rem; line-height:1.25; }
.branch-dish .offer-title-row .offer-price { flex:none; margin:0; font-size:2.1rem; line-height:1; letter-spacing:-.04em; white-space:nowrap; }
.branch-dish .offer-title-row .offer-price small { margin-left:4px; font-size:.8125rem; letter-spacing:0; }
.offer-pass-condition { margin:10px 0 0; color:var(--muted); font-size:.8125rem; }
.festival-offer .sub { margin:13px 0 0; font-size:.9375rem; line-height:1.5; }
.allergen-details { margin-top:15px; border-top:1px solid var(--line); }
.allergen-details p { margin:0 0 12px; font-size:.875rem; line-height:1.45; }
.branch-pass-note { margin-top:20px; padding:16px; border-radius:16px; background:#fff3f880; }
.branch-pass-note strong { font-size:.9375rem; }
.branch-pass-note p { margin:6px 0 0; font-size:.8125rem; line-height:1.5; }
.branch-dock-actions { display:flex; flex-wrap:wrap; gap:8px; }
.branch-dock .branch-dock-actions .button { flex:1 1 8rem; width:auto; margin:0; padding-inline:12px; font-size:.875rem; }
.branch-dock .dock-inner { display:block; }
.branch-dock .dock-caption { margin-bottom:8px; text-align:center; }
@media(min-width:700px) {
  .candy-hero .pass-intro { grid-column:1; grid-row:3; margin-top:0; }
  .candy-hero .candy-collage { grid-row:1 / 4; }
  .branch-heading { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); column-gap:32px; }
  .branch-heading h1,.branch-location,.branch-description,.branch-actions { grid-column:1; }
  .branch-heading .visit-info { grid-column:2; grid-row:1 / 5; align-self:start; }
  .branch-banner { aspect-ratio:2.4; }
  .branch-banner img { object-position:var(--banner-position-wide,var(--banner-position,50% 50%)) !important; }
  .branch-actions { margin-bottom:0; }
  .branch-bento { gap:12px; }
  .bento-tile { border-radius:22px; }
  .festival-offer .dish-copy { padding:24px; }
}
@media(prefers-reduced-motion:no-preference) { .bento-tile img { transition:transform .2s ease; } .bento-tile:hover img { transform:scale(1.025); } }
/* 29 September: personal introduction, clear availability, and map choice. */
.candy-hero h1 { text-align:center; }
.candy-hero .hero-copy { text-align:center; margin-inline:auto; max-width:32rem; }
.candy-hero .pass-intro { margin-inline:auto; }
.hero-sticker { font-size:1.15rem; letter-spacing:.08em; background:transparent; padding:8px 2px; }
.food-card .photo { position:relative; }
.opening-status { font-size:.8125rem; font-weight:650; line-height:1.35; }
.opening-status[hidden] { display:none; }
.opening-status.is-open { color:#11613b; }
.opening-status.is-closed { color:#a11f39; }
.opening-status.is-unknown { color:var(--muted); font-weight:450; }
.status-card { position:absolute; left:8px; bottom:8px; max-width:calc(100% - 16px); padding:5px 8px; border-radius:99px; background:#fff9fcf5; font-size:.6875rem; }
.dish-card.is-closed .photo img { filter:saturate(.86); }
.dish-card.is-closed .photo { position:relative; }
.dish-card.is-closed .photo::after { content:""; position:absolute; inset:0; background:var(--closed-photo-tint,rgba(223,49,104,.42)); pointer-events:none; }
.dish-card.is-closed .food-card-body { color:#6d5962; }
.hours-label { display:block; margin-top:2px; font-size:.75rem; font-weight:450; color:var(--muted); }
.visit-address-line { display:flex; align-items:center; }
.visit-address-line .visit-address { flex:1; min-width:0; }
.visit-address:hover { background:#fff3f899; border-radius:10px; }
.map-options { border:0; background:transparent; color:var(--ink); width:44px; min-width:44px; min-height:44px; border-radius:50%; cursor:pointer; font-size:1rem; }
.map-options:hover { background:var(--paper); }
.map-choices { display:grid; gap:10px; margin:20px 0 14px; }
.map-choices .button { justify-content:space-between; }
.map-remember { display:flex; gap:10px; align-items:center; font-size:.875rem; min-height:44px; margin-bottom:14px; }
.map-remember input { width:20px; height:20px; accent-color:var(--action); }
/* The old paper-colored ticket cutouts looked like white dots on this background. */
.festival-ticket::before, .festival-ticket::after { content:none; display:none; }
@media(min-width:700px) {
  .candy-hero h1 { grid-column:1; grid-row:1; align-self:end; }
  .candy-hero .hero-copy { grid-column:1; grid-row:2; }
  .candy-hero .pass-intro { grid-column:1; grid-row:3; }
  .candy-hero .candy-collage { grid-column:2; grid-row:1 / 4; }
}

.save-pass-benefit { margin:0 0 18px; text-align:center; font-size:.9375rem; line-height:1.45; }
.map-app-help { margin:16px 0 0; font-size:.875rem; line-height:1.5; }
.map-app-help a { color:var(--action); text-underline-offset:3px; }

.card-address { font-size:.75rem; color:var(--muted); line-height:1.35; margin:.2rem 0; }
