/* エリア・活動を入口にした写真中心の表示 */
.other-area{grid-column:1/-1}
.brand{min-width:0;flex:1}.brand>span:last-child{min-width:0}.brand-stamp{flex-shrink:0}.brand-sub{overflow-wrap:anywhere}.app-header{gap:8px;flex-wrap:wrap}.card-actions{flex-wrap:wrap}.card-actions>button{flex:1;white-space:normal}.photo-caption{font-size:.875rem;color:var(--muted);margin-top:4px}.spot-title-button{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.discovery{padding-top:16px}.home-intro{padding:22px var(--side) 16px}.home-intro h1{font-size:1.5rem;line-height:1.4}.home-intro>p:last-child{font-size:1rem;margin-top:8px}.home-section{padding:20px var(--side);border-top:8px solid #f2f1e9}.home-section h2{font-size:1.125rem;margin-bottom:14px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.section-heading h2{margin:0}.section-heading .text-button{font-size:.875rem;flex-shrink:0}.taiwan-overview{margin-top:12px}.taiwan-overview img{width:100%;height:auto;display:block}.overview-note{font-size:.875rem;color:var(--muted);margin:6px 0 12px}.area-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.area-buttons button{border:1px solid var(--line);background:white;border-radius:8px;padding:12px 8px;text-align:left;line-height:1.45;min-width:0}.area-buttons button>span{display:block;font-size:.875rem;color:var(--muted);margin-top:5px}.area-buttons strong{font-size:1rem;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.area-index{background:var(--green-light);color:var(--green);width:23px;height:23px;border-radius:50%;display:inline-grid;place-items:center;font-size:.875rem;flex-shrink:0}.taipei-areas{margin-top:12px}.taipei-areas summary{cursor:pointer;min-height:48px;padding:12px 0}.compact{margin:4px 0 8px}.image-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.image-choice{position:relative;overflow:hidden;min-width:0;min-height:108px;border:0;border-radius:8px;background:var(--green);padding:0}.image-choice img{width:100%;height:120px;display:block;object-fit:cover}.image-choice:has(img):after{content:'';position:absolute;inset:0;background:#142821a1;pointer-events:none}.image-choice>span{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;color:white;padding:10px;z-index:1;line-height:1.4}.image-choice strong{font-size:1.125rem}.image-choice small{font-size:.875rem;margin-top:4px}.home-section .spot-list{padding:0}.area-summary{background:var(--green-light);border-radius:10px;padding:16px;margin:4px 0 12px}.area-summary h2{font-size:1.125rem}.area-summary>p{font-size:1rem;margin-top:8px}.area-summary .area-reading{font-size:.875rem;color:var(--muted)}.neighborhood-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.neighborhood-filters>p{grid-column:1/-1}.neighborhood-filters button{text-align:left;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:white;font-size:1rem;line-height:1.4}.neighborhood-filters button span{display:block;font-size:.875rem;color:var(--muted);margin-top:4px}.neighborhood-filters button[aria-pressed=true]{background:var(--green-light);border-color:var(--green)}.result-toggle{display:flex;margin:0 var(--side) 18px;border:1px solid var(--green);border-radius:8px;overflow:hidden}.result-toggle button{flex:1;border:0;border-radius:0;background:white;color:var(--green);padding:10px;min-width:0;font-size:1rem}.result-toggle button[aria-pressed=true]{background:var(--green);color:white}.spot-list{gap:0}.spot-card{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:16px 0 18px;background:transparent}.spot-card h3{font-size:1.125rem}.spot-title-button{text-align:left;font-size:1.125rem;font-weight:700;line-height:1.5;padding:0;border:0;min-height:44px;background:none;color:var(--ink);width:100%;overflow-wrap:anywhere}.card-area{display:block;line-height:1.6;margin:2px 0 10px}.photo-strip{display:flex;gap:3px;height:112px;width:100%;overflow:hidden;border-radius:4px}.photo-strip img{width:0;flex:1;min-width:0;height:100%;object-fit:cover}.photo-strip img:only-child{width:100%;flex:1}.photo-pending{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.875rem;background:var(--green-light);padding:10px;border-radius:4px}.photo-pending svg{width:22px;height:22px}.comment-preview{-webkit-line-clamp:2;font-size:1rem;margin:10px 0 5px;padding-left:8px;border-left:2px solid var(--yellow)}.recommender{margin-top:4px}.card-actions{margin-top:10px;gap:6px}.card-actions button{font-size:1rem;padding:8px 10px;min-height:44px;border-radius:6px}.like-button{gap:5px}.like-number{font-size:1rem}.load-more{display:block;width:calc(100% - 40px);margin:20px var(--side) 0}.shown-count{text-align:center;margin:10px var(--side);font-size:.875rem;color:var(--muted)}.detail-photos{height:180px;margin:14px 0}.photo-credits{margin-top:20px;font-size:.875rem;color:var(--muted)}.photo-credits summary{padding:12px 0;min-height:44px;cursor:pointer}.photo-credits p{margin:8px 0;overflow-wrap:anywhere}.phone-screen{display:flex;flex-direction:column}.phone-screen>main{flex:1}.bottom-nav{flex-shrink:0}@media(max-width:359px){.image-choice strong{font-size:1rem}.area-buttons strong{font-size:1rem}.home-section{padding-left:var(--side);padding-right:var(--side)}.photo-strip{height:96px}.card-actions{flex-wrap:wrap}}

.recommender{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;font-size:.875rem}
.recommender-label{color:#51645C}
.recommender-person{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.dog-avatar{width:28px;height:28px;flex:none;stroke:none}
.recommender-filter p{margin:0 0 8px;font-weight:700}
#recommender-buttons{display:flex;flex-wrap:wrap;gap:8px}
.recommender-choice{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 10px;background:#FFFDF6;border:1px solid #7C8D81;border-radius:24px;color:#203F3B;font:inherit;font-size:.875rem}
.recommender-choice[aria-pressed="true"]{background:#E7F2E9;border:2px solid #166358;padding:5px 9px}
.recommendation-entry{margin:16px 0}.recommendation-entry p{margin:6px 0}
.location-badge{display:inline-block;padding:2px 8px;background:#FFF0BE;color:#594415;border-radius:6px;font-size:.875rem;margin:6px 0}
.location-explanation{font-size:.875rem;line-height:1.7;color:#594415;background:#FFF6D7;padding:12px;border-radius:8px}
.map-pin.approximate{background:#F5C84C;color:#203F3B;border:2px dashed #594415}
.area-buttons .taichung-area{grid-column:1/-1;background:#FFF0D5}

.google-rating{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:12px 0 8px;font-size:.875rem;line-height:1.5;color:#51645C}
.google-rating strong{font-size:1.125rem;color:#203F3B}.rating-star{color:#8C4C05;font-size:1.25rem}
.google-reviews{padding:18px 0;border-top:1px solid var(--line)}
.google-reviews h3{font-size:1.125rem}.review-summary{font-size:1rem;line-height:1.8;margin:12px 0}
.review-scope{font-size:.875rem;line-height:1.7;padding:10px;background:#FFF6D7;color:#594415;border-radius:6px}
.review-source-note{font-size:.875rem;line-height:1.6;color:#51645C;margin:12px 0 8px}
.review-source-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#166358;text-decoration:underline;text-underline-offset:3px}
.source-review{font-size:.875rem;line-height:1.7;border-top:1px solid var(--line);margin-top:16px}
.source-review summary{min-height:44px;padding:10px 0;cursor:pointer}.source-review p{margin:8px 0}
.recommender-person{max-width:100%;white-space:normal;overflow-wrap:anywhere}

.detail-map{white-space:normal;overflow-wrap:anywhere;line-height:1.6}.dialog-top .icon-button{padding:0;flex-shrink:0}

/* 戻る操作は上部左に常駐し、本文や地図の操作を遮らない。 */
.app-header{position:sticky;top:0;z-index:1001;background:var(--paper);flex-shrink:0}
.app-header.with-back{padding:8px var(--side);padding-top:max(8px,env(safe-area-inset-top));flex-wrap:nowrap;gap:12px}
.back-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:8px 12px;border:1px solid var(--green);border-radius:10px;background:var(--green-light);color:var(--green);font-size:1rem;font-weight:700;white-space:nowrap;flex-shrink:0;line-height:1.5}
.back-button svg{display:block;width:22px;height:22px;flex-shrink:0}
.navigation-title{flex:1;min-width:0;font-size:1rem;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.dialog-top{gap:12px;padding:8px 16px;font-size:1rem;line-height:1.4}
.dialog-top>span{min-width:0;overflow-wrap:anywhere}
.discovery,.result-toggle,#map{scroll-margin-top:112px}

/* 写真を流し見できる小さなカード。全文はタップ後の詳細に表示する。 */
.photo-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
.photo-choice{display:flex;flex-direction:column;min-width:0;padding:0;overflow:visible;border:1px solid #b9c3b4;border-radius:10px;background:white;text-align:left;font-size:1rem;line-height:1.5}
.photo-choice>img,.photo-choice-placeholder{display:block;width:100%;aspect-ratio:16/11;height:auto;object-fit:cover;border-radius:9px 9px 0 0;background:var(--green-light)}
.photo-choice-placeholder{display:grid;place-items:center;color:var(--green)}
.photo-choice-placeholder svg{width:32px;height:32px}
.photo-choice-info{display:flex;flex-direction:column;gap:4px;padding:10px;min-width:0;width:100%;overflow-wrap:anywhere}
.photo-choice-area{color:var(--green);font-size:.875rem;font-weight:700}
.photo-choice-genre{color:var(--muted);font-size:.875rem}
.popular-choice strong{font-size:1rem;line-height:1.5}
.popular-likes{display:flex;align-items:center;gap:5px;color:var(--red);font-size:1rem;font-weight:700}
.popular-likes svg{width:18px;height:18px;fill:currentColor;flex-shrink:0}
.section-more{display:block;width:100%;margin:20px 0 0;white-space:normal;line-height:1.5;min-height:48px}
.home-section-note{grid-column:1/-1;font-size:1rem;line-height:1.7;padding:12px 0;color:var(--muted)}

@media(max-width:279px){.app-header.with-back{flex-wrap:wrap}.navigation-title{flex-basis:100%}}
