:root{color-scheme:light;--ink:#283e35;--green:#346451;--paper:#f7f5ee;--line:#dcded4;--muted:#69736b;--accent:#c28451;font-family:system-ui,-apple-system,"Segoe UI","Noto Sans JP",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);padding:10px 17px;min-height:44px}button:hover{border-color:var(--green);background:#eef3ed}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #bd885b;outline-offset:3px}input,textarea,select{width:100%;border:1px solid #bfc8bc;border-radius:8px;padding:12px;background:white;color:var(--ink)}input:focus,textarea:focus,select:focus{outline:2px solid var(--green)}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#254d3d;color:white}.wide{width:100%}.top{display:flex;align-items:center;gap:20px;padding:22px max(24px,calc((100vw - 1120px)/2));border-bottom:1px solid var(--line);background:#fcfbf7}.brand{text-decoration:none;color:var(--ink);font-weight:750;font-size:22px;letter-spacing:.06em}.brand span{margin-right:8px}.private{font-size:12px;color:var(--muted);margin-left:auto}main{max-width:1120px;margin:auto;padding:42px 24px 70px;min-height:calc(100vh - 170px)}.gate{display:grid;grid-template-columns:1fr 1.05fr;gap:65px;align-items:center;margin:20px 0}.eyebrow{color:var(--green);letter-spacing:.16em;font-size:11px;font-weight:700;margin-bottom:12px}h1{font-size:clamp(28px,4vw,44px);line-height:1.6;letter-spacing:.04em;margin:0 0 22px}h2{font-size:21px;margin:0 0 20px}.intro p:not(.eyebrow){line-height:2;color:var(--muted)}.privacy-note{margin-top:35px;padding:18px 0;border-top:1px solid var(--line);font-size:13px;line-height:1.9}.panel{padding:28px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 32px #25352a06}fieldset{border:0;padding:0;margin:0 0 20px}legend{font-size:13px;margin-bottom:12px}.storage-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.storage-grid label{position:relative}.storage-grid input{position:absolute;opacity:0;width:1px}.storage-grid span{display:block;padding:14px 12px;border:1px solid var(--line);border-radius:9px;font-size:14px;cursor:pointer}.storage-grid small{display:block;font-size:10px;margin-top:5px;color:var(--muted)}.storage-grid input:checked+span{background:#edf3ec;border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.storage-grid input:focus-visible+span{outline:3px solid var(--accent)}.field{display:block;font-size:13px;margin:18px 0 10px}.field input,.field textarea,.field select{display:block;margin-top:8px}.hint{font-size:12px;color:var(--muted);line-height:1.8}.workspace-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.workspace-head h1{font-size:28px;margin:0}.tabs{display:flex;gap:15px;border-bottom:1px solid var(--line);margin-bottom:28px}.tabs button{border:0;border-radius:0;background:none;padding:14px 3px;color:var(--muted)}.tabs .active{border-bottom:3px solid var(--green);color:var(--green);font-weight:700}.tabs span{font-size:11px;background:#e5eade;padding:3px 7px;border-radius:10px;margin-left:7px}.records{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.card-body{padding:20px;flex:1}.card h3{font-size:17px;margin:0 0 10px;line-height:1.5}.card .meta{font-size:11px;color:var(--muted);margin:8px 0}.card p{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.card-photo{width:100%;height:170px;object-fit:cover}.card button{margin:0 20px 20px;text-align:left}.rating{color:#986330;letter-spacing:.1em}.empty{grid-column:1/-1;text-align:center;border:1px dashed #c3cbbc;border-radius:16px;padding:70px 20px;background:#fcfbf8}.empty-icon{font-size:40px}.empty h2{margin:14px 0}.empty p{font-size:13px;color:var(--muted);line-height:1.8}.search-row{display:flex;gap:10px;margin-bottom:12px}.search-row input{flex:1;min-width:0}.results{display:grid;grid-template-columns:1fr 1fr;gap:15px}.result{padding:20px;background:white;border:1px solid var(--line);border-radius:12px}.result h3{font-size:17px;margin:0 0 8px}.result p{font-size:13px;color:var(--muted)}.result .actions{display:flex;gap:8px;flex-wrap:wrap}.google-credit{margin-top:18px}.google-credit img{width:120px;height:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#notice{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;padding:13px 20px;border-radius:10px;z-index:20;font-size:13px;box-shadow:0 5px 25px #0002;background:var(--ink);color:white;margin:0}#notice:empty{display:none}footer{display:flex;gap:22px;padding:24px;justify-content:center;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}footer a{color:var(--muted)}dialog{max-width:620px;width:calc(100vw - 32px);max-height:90dvh;border:1px solid var(--line);border-radius:18px;padding:26px;color:var(--ink);background:#fcfbf8;box-shadow:0 15px 80px #15271d33}dialog::backdrop{background:#182b2266;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-head h2{margin:0}.dialog-head button{font-size:24px;border:0;background:none;padding:0 12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.danger{color:#a34031}.photo-preview{display:flex;gap:12px;flex-wrap:wrap}.photo-item{width:110px}.photo-item img{width:110px;height:90px;object-fit:cover;border-radius:8px}.photo-item button{width:100%;padding:5px;font-size:11px}.detail-photo{width:100%;max-height:300px;object-fit:cover;border-radius:10px;margin:14px 0 5px}.attribution{font-size:11px;color:var(--muted);line-height:1.6}.attribution a{color:var(--green)}#private-detail{border-top:1px solid var(--line);margin-top:25px;padding-top:22px}#private-detail p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.private-photos{display:grid;grid-template-columns:1fr 1fr;gap:10px}.private-photos img{width:100%;border-radius:8px}.share-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.share-buttons .last-share{grid-column:1/-1;min-height:56px;background:var(--green);color:white}.share-buttons small{display:block;font-size:11px}#share-status{font-size:12px}#conflict-options{display:grid;gap:10px;margin:15px 0}.legal{max-width:760px;margin:auto;line-height:1.9}.legal h1{font-size:28px}.legal h2{margin:30px 0 10px}.legal a{color:var(--green)}[hidden]{display:none!important}hr{border:0;border-top:1px solid var(--line);margin:24px 0}@media(max-width:780px){.gate{grid-template-columns:1fr;gap:25px;margin-top:0}.intro h1{font-size:30px}.intro br{display:none}.intro .privacy-note{margin-top:18px;padding-bottom:0}.records{grid-template-columns:1fr 1fr}.workspace-head{align-items:flex-start;flex-direction:column}.workspace-head h1{font-size:24px}.results{grid-template-columns:1fr}main{padding-top:28px}.panel{padding:22px}.top{padding:18px 20px;gap:10px}.brand{font-size:19px}.private{font-size:10px}}@media(max-width:480px){.records{grid-template-columns:1fr}.card-photo{height:210px}dialog{padding:20px}.top #lock{font-size:12px;padding:8px 10px}.dialog-actions{flex-wrap:wrap}footer{gap:14px}.search-row button{padding:10px 14px}}
.google-maps-attribution{font-family:Arial,sans-serif;font-style:normal;font-weight:400;font-size:12px;letter-spacing:normal;white-space:nowrap;color:#5e5e5e}.pagination{grid-column:1/-1;display:flex;align-items:center;gap:12px;justify-content:center;margin-top:15px}.pagination span{font-size:12px}.hours{white-space:pre-line}.attribution{margin:10px 0}.result .actions{margin-top:15px}

.storage-choice{border:1px solid var(--line);border-radius:10px;padding:9px;min-width:0}.storage-choice .storage-status{font-size:11px;line-height:1.6;overflow-wrap:anywhere;margin:9px 2px}.storage-choice button{width:100%;font-size:11px;padding:8px 4px}.storage-grid input:disabled+span{opacity:.55;cursor:not-allowed}.storage-error{border:1px solid #b86145;background:#fff0e9;padding:16px;border-radius:10px;color:#793f2f;margin:16px 0;font-size:13px;line-height:1.8}.private-photo{width:100%;min-height:120px;object-fit:contain;border-radius:8px}.edit-photo{width:110px;height:90px;object-fit:cover;border-radius:8px}.private-photos button{font-size:12px;width:100%;margin-top:5px}.intro h1{font-size:clamp(28px,4vw,42px)}

#shop-map{height:460px;min-height:300px;z-index:0}#map-box{margin:20px 0}.leaflet-popup-content button{white-space:normal} .admin-grid{display:grid;gap:12px}.admin-grid input,.admin-grid textarea{width:100%}

/* Keep button text visible inside legal and store pages before hover. */
a.primary,.legal a.primary,.legal a.primary:visited{display:inline-block;color:#fff;background:var(--green);text-decoration:none;padding:12px 18px;border-radius:9px;min-height:44px}.legal a.primary:hover,.legal a.primary:focus{color:#fff;background:#254d3d}.hours{white-space:pre-line}.brand{letter-spacing:0}.map-origin{font-size:12px;color:var(--muted)}

.diary-entry{padding:20px 0;border-bottom:1px solid var(--line)}.diary-entry h4{margin:0 0 12px}.diary-entry .actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px}.text-button{background:transparent;border:0;text-decoration:underline;color:var(--green);padding:8px}.data-credit{font-size:11px;color:var(--muted);margin-top:18px}.data-credit a{color:var(--muted)}footer{flex-wrap:wrap}footer .data-credit{flex-basis:100%;text-align:center;margin-top:0}

.card-review{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-latest-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0 20px 16px}.card-latest-photos img{width:100%;height:auto;max-height:220px;object-fit:contain;border-radius:8px;align-self:start}.place-address{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin:12px 0}.place-address a{white-space:nowrap}.place-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.map-shop-popup{min-width:200px;display:flex;flex-direction:column;gap:12px}.map-shop-popup strong{font-size:14px;line-height:1.6;overflow-wrap:anywhere}.leaflet-popup-content .map-shop-button{white-space:nowrap;width:100%;font-size:14px}.tabs{flex-wrap:wrap;gap:16px}#ranking-list{margin-top:20px}

.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand .brand-copy{display:flex;flex-direction:column;gap:3px;margin:0}.brand .brand-title{margin:0;font-size:21px;line-height:1.4}.brand .brand-subtitle{margin:0;font-size:11px;font-weight:400;color:var(--muted);letter-spacing:.08em}.brand-logo{width:46px;height:46px;flex-shrink:0}.settings-button{margin-left:auto;white-space:nowrap;font-size:13px;background:transparent}.top{gap:12px}.favorite-star{position:absolute;top:12px;right:12px;padding:0;width:42px;min-height:42px;font-size:29px;color:#69736b;border:0;background:transparent}.favorite-star.selected{color:#b48220}.favorite-star:hover{background:#f7f0dd}.result{position:relative}.result h3{padding-right:38px}.storage-status:empty{display:none}.storage-remembered #open-form{display:none}.resume-panel{max-width:560px;margin:30px auto}.tabs{margin-top:0}main{padding-top:28px}@media(max-width:480px){.brand-logo{width:36px;height:36px}.brand{gap:8px}.brand .brand-title{font-size:17px}.brand .brand-subtitle{font-size:10px}.top{padding:14px 16px}.settings-button{padding:8px 10px}.intro h1{font-size:27px}}

.help-button{margin-left:auto;white-space:nowrap;background:transparent;font-size:13px;padding:10px 12px}.settings-button{margin-left:0}.resume-panel{width:100%;margin:0}.resume-panel h1{font-size:24px}.resume-panel .primary{width:100%}.shop-note{margin-top:24px;border-top:1px solid var(--line);padding-top:22px}.shop-note h3{margin:0}.help-content{line-height:1.9}.help-content h3{font-size:16px;margin:24px 0 8px}.help-content p{font-size:14px;margin:0}.shop-note .field textarea{margin-top:8px}@media(max-width:480px){.top{flex-wrap:wrap;gap:8px}.brand{margin-right:auto}.brand .brand-title{font-size:16px}.help-button,.settings-button{font-size:12px;padding:8px;min-height:40px}.help-button{margin-left:0}.brand-logo{width:32px;height:32px}.brand{gap:6px}.brand .brand-subtitle{font-size:9px}}

.settings-group{border:1px solid var(--line);border-radius:12px;padding:20px;margin-top:20px;background:white}.settings-group>h3{display:flex;gap:10px;align-items:center;margin:0 0 16px;font-size:18px}.settings-group>h3>span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e7eee6;color:var(--green);font-size:14px}.settings-delete{border-color:#d7bfb6;background:#fffaf7}.settings-group #open-form{margin-top:20px;padding:0;background:transparent;border:0;box-shadow:none}.settings-group #open-form h2{font-size:16px}#search-pagination{flex-wrap:wrap}.intro br{display:initial!important}

.backup-reminder{padding:20px;border:1px solid #c7b184;border-radius:12px;background:#fff9e9;margin:0 0 24px}.backup-reminder h2{font-size:18px;margin-bottom:8px}.backup-reminder p{font-size:13px;line-height:1.8}.backup-reminder button{margin:6px 8px 0 0}.about-site{padding:18px;border:1px solid var(--line);border-radius:12px;background:#edf3ec;margin-top:20px}.about-site h3{margin-top:0}.about-site p+p{margin-top:12px}.share-tag-choice{display:block;margin-top:12px}

#shortcut-dialog details{border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:14px}#shortcut-dialog summary{cursor:pointer;font-weight:600}#shortcut-dialog p,#shortcut-dialog li{font-size:14px;line-height:1.9}#shortcut-dialog ol{padding-left:22px}

.storage-help{font-size:13px;line-height:1.8;background:#eef3ec;border-radius:10px;padding:14px;margin:16px 0}.storage-help p{margin:0 0 10px}.storage-help p:last-child{margin-bottom:0}

.help-category{border:1px solid var(--line);border-radius:12px;background:white;margin:14px 0;overflow:hidden}.help-category>summary{cursor:pointer;padding:18px;font-size:17px;font-weight:650;background:#f0f4ed;line-height:1.5}.help-category>summary small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin:7px 0 0 18px}.help-category>div{padding:0 20px 22px}.help-lead{margin:18px 0!important;color:var(--muted)}.help-category summary:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
.record-modes,.ranking-order{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.record-modes button.active,.ranking-order button.active{background:#346451;color:white;border-color:#346451}.conquest-map{height:480px;background:#f2f4f0;border:1px solid #d4ddd5;border-radius:12px}.conquest-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:.9rem}.conquest-legend span:before{content:'';display:inline-block;width:14px;height:14px;border:1px solid #68766f;background:white;margin-right:5px;vertical-align:middle}.conquest-legend .done:before{background:#d4ad4c}.conquest-legend .excluded:before{background:#c8ccc9}.conquest-regions{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0}.region-chip{font-size:.85rem;padding:6px 10px}.region-chip.achieved{background:#f7e7b4;border-color:#c5a44d}.region-chip.excluded{background:#e2e5e2;color:#606b64}.conquest-credit{font-size:.75rem;color:#657268}#conquest-status{font-weight:bold;font-size:1.1rem}@media(max-width:600px){.conquest-map{height:400px}.record-modes button{flex:1;min-width:100px}}

.conquest-map.leaflet-container{background:#f2f4f0}
.conquest-label-anchor{background:none;border:none}.conquest-inset-label,.conquest-island-label{display:block;width:max-content;max-width:180px;padding:2px 5px;background:#f2f4f0e8;border-radius:4px;font-size:11px;line-height:1.35;color:#485e52;transform:translateY(-100%);white-space:normal;pointer-events:none}.conquest-island-label{transform:translate(-50%,-100%);font-weight:bold}
.conquest-cafe-name{border:0;background:none;padding:0;color:#346451;text-align:left;text-decoration:underline;font-size:1.1rem;font-weight:bold}.conquest-diary-badge{display:inline-block;padding:3px 9px;border-radius:20px;background:#eceeea;color:#59665e;font-size:.85rem}.conquest-diary-badge.has-diary{background:#dcecdf;color:#23543a;font-weight:bold}#conquest-cafes{scroll-margin-top:20px;border-top:1px solid #d3ddd3;padding-top:16px}#conquest-cafes h4{margin:4px 0}

.conquest-inset-label{max-width:105px;font-size:10px}.conquest-island-label{max-width:100px;text-align:center;font-size:10px}

.share-check-choice,.share-tag-choice{display:flex;align-items:center;gap:9px;margin:12px 0;line-height:1.5}.share-check-choice input[type="checkbox"],.share-tag-choice input[type="checkbox"]{width:18px;height:18px;flex:0 0 18px;margin:0;padding:0;align-self:center}#conquest-share-preview{display:block;max-width:100%;max-height:450px;object-fit:contain;margin:14px auto;border:1px solid #d4ddd5;border-radius:8px}
.cafe-map-marker{background:none;border:0;filter:drop-shadow(0 2px 2px #0005)}#map-nearest{margin-top:20px}#map-nearest h4{margin:4px 0}#map-nearest-list .result{position:relative}

.embedded-map-toggle{font-size:.9rem;padding:7px 12px}.embedded-map-box{width:100%;margin:12px 0}.embedded-map-box iframe{display:block;width:100%;height:400px;min-width:200px;min-height:200px;border:0;border-radius:10px}@media(max-width:600px){.embedded-map-box iframe{height:350px}}

.embedded-map-box{display:flex;flex-direction:column;gap:8px}.embedded-map-toggle{align-self:flex-end}.embedded-map-viewport iframe{height:320px}.embedded-map-expanded{box-sizing:border-box;width:calc(100vw - 20px);max-width:none;height:calc(100vh - 20px);height:calc(100dvh - 20px);max-height:none;margin:auto;padding:12px;overflow:hidden}.embedded-map-expanded .embedded-map-box{height:100%;margin:0}.embedded-map-expanded .embedded-map-viewport{flex:1;min-height:0}.embedded-map-expanded iframe{height:100%;min-height:0}.embedded-map-expanded::backdrop{background:rgba(0,0,0,.5)}@media(max-width:600px){.embedded-map-viewport iframe{height:280px}.embedded-map-expanded iframe{height:100%}}

.embedded-map-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.embedded-map-tools label{display:flex;align-items:center;gap:8px;margin:0}.embedded-map-tools select{width:auto;margin:0}.embedded-map-tools button{font-size:.9rem;padding:8px 12px}.embedded-map-status{margin:0;font-size:.9rem}.embedded-map-expanded .embedded-map-tools,.embedded-map-expanded .embedded-map-status,.embedded-map-expanded .embedded-map-toggle{flex-shrink:0}

.embedded-map-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-shrink:0}.embedded-map-toolbar button{font-size:.9rem;padding:7px 12px;white-space:nowrap}.embedded-map-tools[hidden],.embedded-map-tools button[hidden]{display:none}.shop-note-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 8px}.shop-note-heading h3{margin:0}.shop-note-heading button{padding:7px 12px;font-size:.9rem;white-space:nowrap}.shop-note>textarea{width:100%;box-sizing:border-box}

.place-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.place-title-row h3{margin:0;min-width:0;overflow-wrap:anywhere}.place-title-row .favorite-star{position:static;flex-shrink:0}

.place-title-row{justify-content:flex-start;gap:8px}#detail-dialog>.dialog-head{justify-content:flex-end}#map-origin:empty{display:none}.tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border:0;flex-wrap:nowrap}.tabs button{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;border:1px solid var(--line);border-radius:9px;background:white;padding:10px 6px;color:var(--ink);white-space:nowrap}.tabs button:hover{background:#eef3ed;border-color:var(--green)}.tabs button.active{border:1px solid var(--green);background:var(--green);color:white;font-weight:700}.tabs span{margin:0;flex-shrink:0}.tabs button.active span{background:#ffffff25;color:white}@media(max-width:600px){.tabs{gap:4px}.tabs button{flex-direction:column;gap:3px;padding:8px 2px;min-height:60px;font-size:clamp(10px,2.8vw,14px)}.tabs span{font-size:10px;padding:1px 6px}}

.shop-diary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px}.shop-diary-heading h3{margin:0}.shop-diary-heading button{white-space:nowrap;padding:8px 12px;font-size:.9rem;flex-shrink:0}

.conquest-map.conquest-national{height:auto;aspect-ratio:1;max-width:800px;margin-inline:auto}.conquest-pref-label{display:block;position:absolute;width:max-content;white-space:nowrap;transform:translate(-50%,-50%);font-size:12px;line-height:1.2;font-weight:650;color:#184d36;pointer-events:none;text-align:center}

.chain-news{grid-column:1/-1;min-width:0;width:100%;margin-top:24px}.chain-news-heading{display:flex;align-items:center;justify-content:flex-start;gap:12px}.chain-news-heading h2{font-size:1.2rem;margin:0}.chain-news-heading button{font-size:.8rem;white-space:nowrap;padding:7px 10px}.chain-news-track{position:relative;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 2px 14px;overscroll-behavior-x:contain}.chain-news-card{flex:0 0 280px;scroll-snap-align:start;border:1px solid var(--line);border-radius:14px;background:white;padding:20px;display:flex;flex-direction:column;min-height:250px}.chain-news-brand{font-weight:700;color:var(--green);font-size:.85rem;margin:0 0 12px}.chain-news-card h3{font-size:1rem;line-height:1.65;margin:0 0 16px;overflow-wrap:anywhere}.chain-news-card h3 a{color:var(--ink);text-decoration:none}.chain-news-card h3 a:hover{text-decoration:underline}.chain-news-date{margin-top:auto;font-size:.8rem;color:#66736b}.chain-news-source{font-size:.9rem}.chain-news-card small{font-size:.7rem;color:#66736b;margin-top:8px}.chain-news-controls{display:flex;align-items:center;justify-content:center;gap:14px;font-size:.8rem;color:#66736b}.chain-news-controls button{padding:6px 14px}@media(max-width:600px){.chain-news-heading{align-items:flex-start}.chain-news-heading h2{font-size:1.05rem}.chain-news-card{flex-basis:82%;padding:16px}.chain-news-controls{gap:8px;font-size:.75rem}}

/* Compact shop heading, map actions and memo. */
.place-title-row h3{flex:1}.place-title-row .place-close{margin-left:auto;flex-shrink:0;padding:5px 10px;font-size:1.4rem;line-height:1.2}.shop-note{border-top:0;margin-top:8px;padding-top:0}.shop-note-heading{margin-top:8px}.embedded-route-center-hint{flex-basis:100%;margin:4px 0}.embedded-map-tools label{display:flex;align-items:center;gap:6px}.embedded-map-toolbar{gap:6px}.embedded-map-toolbar button{padding:7px 9px}@media(max-width:480px){.embedded-map-toolbar{justify-content:space-between;gap:4px}.embedded-map-toolbar button{font-size:12px;padding:7px 6px}}

.route-start-item{padding:12px 0;border-bottom:1px solid var(--line)}.route-start-item p{margin:6px 0;overflow-wrap:anywhere}#route-start-form{margin-top:16px}.embedded-map-tools select{max-width:100%;min-width:0}.embedded-map-tools label{max-width:100%}

.route-start-settings{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}

#chain-news-stop[hidden]{display:none}@media(max-width:600px){.chain-news-controls{display:none}}

.news-chains{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.news-chains a,.shop-link-button{display:inline-block;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);text-decoration:none}.news-chains a[aria-current]{background:var(--green);color:white}.news-item{padding:22px 0;border-bottom:1px solid var(--line)}.news-item h2{font-size:1.15rem;line-height:1.65;margin:10px 0}.news-item h2 a{color:var(--ink)}.news-shop-links{padding:18px;border:1px solid var(--line);border-radius:12px;margin:18px 0}.news-shop-links a{display:inline-block;margin:4px 12px 4px 0}.public-breadcrumb{font-size:.8rem;margin:0 0 18px}.chain-news-brand a{color:inherit;text-decoration:none}.chain-news-brand a:hover{text-decoration:underline}.news-more{text-align:right;font-size:.9rem}.top>a.help-button,.top>a.settings-button{text-decoration:none;color:var(--ink)}

.shop-note>textarea{min-height:0;line-height:1.5;resize:none;box-sizing:border-box;overflow-y:hidden}.news-item h2{margin-top:0}.news-item p{margin:9px 0}.news-share-open{margin-top:4px}

.news-chain-filter{display:flex;align-items:flex-end;gap:10px;margin:20px 0}.news-chain-filter .field{flex:1;min-width:0;margin:0}.news-chain-filter select{width:100%;min-width:0}.news-chain-filter button{flex-shrink:0}

.chain-news-heading{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:nowrap}.chain-news-heading h2{min-width:0;white-space:nowrap;font-size:clamp(.8rem,3.5vw,1.05rem)}.news-more-link{flex-shrink:0;white-space:nowrap;font-size:.8rem}

#search-form{display:grid;grid-template-columns:minmax(0,1fr) auto}#search-chain{grid-column:1 / -1;width:100%;min-width:0}

/* Compact swipe pagination, keeping the list summary on the same line. */
.list-swipe-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;min-width:0}
.list-swipe-toolbar>p{margin:0;flex:1;min-width:0;font-size:.82rem}
.list-swipe-controls{display:flex;align-items:center;gap:5px;flex:none}
.list-swipe-controls[hidden]{display:none}
button.list-swipe-arrow{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border:1px solid #d3ddd4;border-radius:50%;background:#f4f7f2;color:#49664b;box-shadow:none}
button.list-swipe-arrow:hover:not(:disabled){background:#e5eddf;border-color:#819879}
button.list-swipe-arrow:disabled{opacity:.32}
.list-swipe-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.list-swipe-count{font-size:.75rem;font-variant-numeric:tabular-nums;white-space:nowrap;color:#66735f}
.swipe-page-list{position:relative;overflow-x:clip}
@media(prefers-reduced-motion:reduce){.swipe-page-list{transition:none!important}}

.list-swipe-viewport{overflow-x:clip;min-width:0}

.news-card-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:.88rem;color:#586354}
.chain-news-card h3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-detail-facts{padding:0;list-style:none;margin:24px 0}
.news-detail-facts li{padding:12px 0;border-bottom:1px solid #e1e6dc;display:grid;grid-template-columns:minmax(90px,140px) 1fr;gap:12px;line-height:1.8}
.news-detail-facts strong{color:#486249}
.news-detail-source{padding:18px;margin-top:28px;background:#f3f6ef;border-radius:12px;font-size:.88rem;line-height:1.8}
@media(max-width:480px){.news-detail-facts li{grid-template-columns:1fr;gap:2px}}

.news-list .news-item h2{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

.news-detail h1{font-size:clamp(1.4rem,4.8vw,2rem);line-height:1.6}

.news-related-title{font-size:1.1rem;margin-top:22px}.news-related-products{padding-left:1.4em;line-height:1.8}.news-related-products li{margin:6px 0}

.news-detail-divider{border:0;border-top:1px solid #dce3d6;margin:24px 0}

.diary-camera{max-width:650px;width:calc(100% - 24px)}.diary-camera video,.diary-camera>img{display:block;width:100%;max-height:55vh;object-fit:contain;border-radius:10px;background:#151915}.diary-camera [hidden]{display:none!important}.camera-actions{display:flex;gap:10px;flex-wrap:wrap}.camera-actions button{flex:1;min-width:140px}#camera-open{margin:8px 0 14px}

.camera-live-frame{position:relative;width:100%;overflow:hidden;background:#151915;border-radius:10px;min-height:1px}.diary-camera .camera-live-frame video{position:absolute;top:50%;left:50%;max-height:none;max-width:none;object-fit:contain;border-radius:0}.diary-camera .camera-live-frame[hidden]{display:none!important}


.card-photo[role=button],.private-photo[role=button],.edit-photo[role=button]{cursor:zoom-in}
#photo-viewer{position:fixed;inset:0;box-sizing:border-box;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:0;background:#101411;overflow:hidden}
#photo-viewer[open]{display:flex;align-items:center;justify-content:center}#photo-viewer:fullscreen{width:100%;height:100%}#photo-viewer::backdrop{background:#101411}#photo-viewer-image{width:100%;height:100%;object-fit:contain;display:block}#photo-viewer-close{position:absolute;right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));z-index:1;width:44px;height:44px;padding:0;border:1px solid #ffffff60;border-radius:50%;background:#152319b8;color:white;font-size:28px}

#photo-viewer>.list-swipe-viewport{width:100%;height:100%;overflow:hidden}#photo-viewer-stage{width:100%;height:100%}#photo-viewer-toolbar{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);border-radius:28px;padding:7px 12px;background:#101b14c9;color:white}#photo-viewer-toolbar .list-swipe-count{color:white;min-width:45px;text-align:center}#photo-viewer-toolbar .list-swipe-controls[hidden]{display:none}#photo-viewer-toolbar:has(.list-swipe-controls[hidden]){display:none}#photo-viewer-status{position:absolute;bottom:75px;left:10%;right:10%;color:white;text-align:center;pointer-events:none}

/* Keep both home entry actions visible together, including small phones. */
#resume-panel>.actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:clamp(12px,2vw,18px)}
#resume-panel>.actions>button{width:100%;min-width:0;min-height:52px;margin:0;padding:12px 8px;font-size:clamp(14px,1.2vw,16px);font-weight:700;white-space:nowrap;border-radius:11px}
#home-search-button{color:#54351e;background:#e6c4a8;border-color:#d2aa89;box-shadow:0 3px 10px #99552f14}
#home-search-button:hover{color:#54351e;background:#dbb592;border-color:#bf916b}
#resume-status:empty{display:none}

.report-heading h3{margin-bottom:4px}.report-heading p{color:#637369;margin-top:0}.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.report-metric{display:flex;flex-direction:column;gap:6px;padding:16px 10px;text-align:center;border:1px solid #dde3d8;border-radius:14px;background:#fffdf8}.report-metric strong{font-size:clamp(20px,4vw,32px);color:#31563f}.report-award{font-size:12px;color:#8d6518}.report-chart{width:100%;height:auto;display:block;margin:18px 0;border:1px solid #dde3d8;border-radius:12px}.report-table-wrap{margin:18px 0;overflow-x:auto}.report-table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}.report-table-wrap th,.report-table-wrap td{padding:8px;border-bottom:1px solid #dfe4dd;text-align:right}.report-table-wrap th:first-child{text-align:left}#report-share-preview{display:block;width:100%;height:auto;border-radius:10px;margin-bottom:15px}

.report-chart-wrap{overflow-x:auto;margin:16px 0}.report-chart-wrap .report-chart{min-width:640px;margin:0}

.report-period-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.report-period-nav button{font-size:14px;padding:8px 12px}.report-comparison{font-size:12px;color:#617367}

.photo-editor-stage{position:relative;line-height:0;max-width:100%;margin:0 auto;background:#151915;border-radius:10px;overflow:hidden}.photo-editor-stage canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair}#photo-edit-selection,#share-photo-edit-selection{position:absolute;border:2px solid #fff;box-shadow:0 0 0 1px #315c43,inset 0 0 0 1px #315c43;background:#ffffff20;pointer-events:none;box-sizing:border-box}.photo-edit-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.photo-edit-tools button{font-size:14px;padding:8px 12px}.photo-edit-tools button.active{background:#315f4a;color:#fff}.photo-edit-text-options{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.photo-edit-text-options label{display:flex;align-items:center;gap:8px;font-size:14px}.photo-edit-text-options input[type=color]{width:42px;height:34px;padding:2px}.photo-edit-text-options input[type=range]{width:110px}.photo-edit-brightness{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:14px}.photo-edit-brightness input{flex:1;min-width:80px}.photo-edit-brightness output{min-width:44px;text-align:right}#photo-edit-region-controls,#share-photo-edit-region-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}#photo-edit-mosaic-field,#share-photo-edit-mosaic-field{display:flex;gap:8px;align-items:center;font-size:14px}.photo-editor input[type=range]{padding:0;accent-color:#315f4a}.photo-editor input,.photo-editor select{max-width:100%}

.photo-editor-stage{width:min(100%,calc(55vh * var(--photo-ratio,1.333333)))}

.share-photo-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.share-photo-choices label{position:relative;display:flex;flex-direction:column;gap:5px;padding:8px;border:1px solid #d9e2d7;border-radius:10px;cursor:pointer}.share-photo-choices input{position:absolute;top:12px;left:12px;width:20px;height:20px;margin:0;accent-color:#315f4a}.share-photo-choices img{width:100%;height:100px;object-fit:contain;border-radius:6px;background:#edf1e9}.share-photo-choices span{font-size:12px;text-align:center}.share-photo-modes{display:flex;flex-direction:column;gap:10px;border:1px solid #dde4d8;border-radius:10px;padding:12px;margin:12px 0}.share-photo-modes legend{font-size:14px;padding:0 5px}.share-photo-modes label{display:flex;align-items:center;gap:8px;font-size:14px}.share-photo-modes input{width:18px;height:18px;margin:0;accent-color:#315f4a}#share-photo-combined{display:block;width:100%;max-height:200px;object-fit:contain;margin:12px 0}#share-photo-combine-preview{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:10px}#share-photo-picker[hidden],#share-photo-combine[hidden],#share-photo-combined[hidden]{display:none!important}

#share-photo-layout{position:relative;width:100%;aspect-ratio:1;background:#e8ece6;overflow:hidden;border-radius:8px;touch-action:none}.share-layout-photo{position:absolute;touch-action:none;cursor:move;user-select:none}.share-layout-photo img{display:block;width:100%;height:100%;pointer-events:none}.share-layout-photo.selected{outline:2px solid #d2a544;outline-offset:-2px}.share-layout-handle{position:absolute;right:0;bottom:0;background:#315f4a;color:#fff;width:28px;height:28px;display:grid;place-items:center;cursor:nwse-resize}.share-layout-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.share-layout-tools button{padding:8px 12px}.share-layout-tools label{display:flex;align-items:center;gap:8px;font-size:13px}.share-layout-tools input{width:130px}#share-photo-layout-area[hidden],#share-photo-combine-preview[hidden],#share-photo-compose[hidden],#share-photo-combine-accept[hidden]{display:none!important}

.share-layout-photo:not(.selected) .share-layout-handle{display:none}

.share-layout-select{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.share-layout-select button{padding:6px 10px;font-size:12px}.share-layout-select button[aria-pressed="true"]{background:#315f4a;color:#fff}

.share-layout-tools .share-layout-background input{width:44px;height:34px;padding:2px;cursor:pointer}

.request-form{max-width:680px}.request-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.request-message{padding:14px 18px;border:1px solid #b9c9b7;border-radius:10px;background:#edf4e9}.request-message.error{background:#fff0e9;border-color:#c78b7a}.request-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.request-filters label{font-size:13px}.request-filters select{display:block;margin-top:6px}.request-card{padding:20px;margin:16px 0;border:1px solid var(--line);border-radius:12px;background:#fff}.request-card h3{margin:0 0 12px}.request-card .meta{font-size:12px;color:var(--muted)}.request-card summary{cursor:pointer;color:var(--green)}.request-reason{white-space:pre-wrap;overflow-wrap:anywhere}.shop-request-links{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;margin:22px 0 4px}.shop-request-links a{color:var(--muted)}

/* Keep related help text together and distinguish sequential steps. */
.help-content ol,.help-content ul{font-size:14px;line-height:1.8;margin:6px 0 8px;padding-left:1.65em}.help-content li{padding-left:3px;margin:4px 0}.help-content p+p{margin-top:6px}.help-content .help-note{background:#f5f3ed;border-left:3px solid var(--line);padding:9px 12px;margin-top:8px}.help-category>div>h3:first-child{margin-top:18px}.help-content #shortcut-help-open{margin-top:8px}

#share-photo-combine{background:#b45b24;border-color:#b45b24;color:#fff;font-weight:700;box-shadow:0 2px 5px #82401d26}#share-photo-combine:hover:not(:disabled){background:#964719;border-color:#964719}#share-photo-combine:focus-visible{outline:3px solid #e5b47a;outline-offset:3px}

#photo-edit-selection,#report-share-photo-edit-selection{position:absolute;border:2px solid #fff;box-shadow:0 0 0 1px #315c43,inset 0 0 0 1px #315c43;background:#ffffff20;pointer-events:none;box-sizing:border-box}#photo-edit-region-controls,#report-share-photo-edit-region-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}#photo-edit-mosaic-field,#report-share-photo-edit-mosaic-field{display:flex;gap:8px;align-items:center;font-size:14px}#report-share-photo-combine-preview{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:10px}

#report-share-photo-layout{position:relative;width:100%;aspect-ratio:1;background:#e8ece6;overflow:hidden;border-radius:8px;touch-action:none}#report-share-photo-layout-area[hidden],#report-share-photo-combine-preview[hidden],#report-share-photo-compose[hidden],#report-share-photo-combine-accept[hidden]{display:none!important}#report-share-photo-combine{background:#b45b24;border-color:#b45b24;color:#fff;font-weight:700}#report-share-photo-combine:hover:not(:disabled){background:#964719}

#report-share-photo-combined{display:block;width:100%;max-height:200px;object-fit:contain;margin:12px 0}#report-share-photo-picker[hidden],#report-share-photo-combine[hidden],#report-share-photo-combined[hidden],#report-share-preview[hidden]{display:none!important}

#saved-photo-dialog{width:calc(100% - 24px);max-width:650px}#saved-photo-edit-selection{position:absolute;border:2px solid #fff;box-shadow:0 0 0 1px #315c43,inset 0 0 0 1px #315c43;background:#ffffff20;pointer-events:none;box-sizing:border-box}#saved-photo-edit-region-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}#saved-photo-edit-mosaic-field{display:flex;gap:8px;align-items:center;font-size:14px}

.auto-photo-layout{display:flex;gap:8px;margin:10px 0;flex-wrap:wrap}.auto-photo-layout button{flex:1;min-width:85px;padding:10px 8px;border:1px solid #b9c9bf;background:#fff;color:#315f4a;font-weight:700}.auto-photo-layout button[aria-pressed="true"]{background:#315f4a;color:#fff;border-color:#315f4a}.auto-photo-layout+.hint{margin:8px 0;font-size:13px}



.share-material-preview{width:100%;height:100%;pointer-events:none;display:block}.auto-photo-layout button{flex:1 1 90px}

.auto-photo-effects{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:8px 0}.auto-photo-effects label{display:flex;align-items:center;gap:6px}.auto-photo-effects input{width:auto}.auto-photo-alternate{padding:6px 10px;margin-left:auto;font-size:13px}

.share-background-texture select{width:auto;min-width:105px;padding:6px 8px}.share-background-texture{display:flex;align-items:center;gap:6px}

.auto-photo-layout>.stylish-layout-group{display:flex;align-items:stretch;flex:2 1 190px;gap:5px;padding:4px;border:1px solid #b9c9bf;border-radius:12px;background:#f0f5f1}.auto-photo-layout .stylish-layout-group>button[data-style]{flex:1;min-width:75px}.auto-photo-layout .stylish-layout-group>.auto-photo-alternate{flex:0 1 auto;min-width:0;margin:0;padding:7px 9px;font-size:12px;font-weight:500;white-space:nowrap;border-radius:8px}

.photo-preset-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-preset-list button{padding:12px;overflow-wrap:anywhere}.photo-preset-dialog{width:min(440px,90vw)}.photo-preset-names{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-preset-names .field{margin:8px 0}.photo-preset-names input{width:100%;min-width:0}#photo-preset-names{margin-top:18px}#photo-preset-names summary{cursor:pointer;font-weight:700}.photo-preset-names p{grid-column:1/-1}

.share-layer-order{display:inline-flex;gap:8px;flex-wrap:nowrap;white-space:nowrap}.share-layer-order>button{flex:0 0 auto}

.photo-color-dialog{width:min(390px,90vw)}.photo-color-dialog canvas{display:block;width:100%;height:auto;touch-action:none;border-radius:8px}.photo-color-preview{height:32px;border:1px solid #ccc;border-radius:6px;margin:12px 0}.photo-color-dialog input[type=range]{width:100%}

.photo-color-hue{appearance:none;-webkit-appearance:none;height:22px;border:1px solid #b7b7b7;border-radius:12px;background:linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);padding:0;cursor:pointer}.photo-color-hue::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:30px;border:2px solid white;border-radius:8px;background:#555;box-shadow:0 0 3px #222}.photo-color-hue::-moz-range-thumb{width:12px;height:26px;border:2px solid white;border-radius:8px;background:#555;box-shadow:0 0 3px #222}.photo-color-hue::-moz-range-track{height:22px;background:transparent}

.share-content-options{margin:16px 0}.share-content-options .share-check-choice,.share-content-options .share-tag-choice{margin:8px 0}.share-buttons{grid-template-columns:1fr}.share-buttons button,button[id*="native-share"]{white-space:nowrap}

.journal-card-actions{display:flex;gap:8px;margin:0 20px 20px}.card .journal-card-actions button{flex:1;min-width:0;margin:0;padding:10px 8px;font-size:13px;text-align:center;white-space:nowrap}


.shop-source-credit{margin-top:36px;font-size:11px;color:var(--muted)}.shop-source-credit a{color:inherit}#detail-dialog>.data-credit{margin-top:28px}
footer.site-footer{display:block}.footer-main,.footer-sources{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 20px}.footer-sources{margin-top:20px;padding-top:16px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.footer-sources a{color:inherit}

.cafe-contained-popup .map-shop-popup{min-width:0}.cafe-contained-popup.popup-below-pin .leaflet-popup-tip-container{top:-19px;transform:rotate(180deg);margin-top:0}

.map-center-cross{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:675;color:#ce302d;font-size:18px;line-height:18px;font-weight:700;text-shadow:0 0 2px #fff,0 0 2px #fff;pointer-events:none;user-select:none}
.leaflet-tooltip.map-pin-name{background:rgba(255,255,255,.72);border:0;border-radius:3px;box-shadow:none;padding:1px 3px;margin:0;color:#34413b;font:11px/14px system-ui,sans-serif;white-space:nowrap;text-shadow:none;pointer-events:auto;cursor:pointer;user-select:none}
.leaflet-tooltip.map-pin-name::before{display:none}

.photo-preset-row{min-width:0}.photo-preset-row>button{width:100%;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.photo-preset-rename{display:flex;flex-wrap:wrap;gap:6px}.photo-preset-rename input{flex:1 0 100%;min-width:0;width:100%;box-sizing:border-box}.photo-preset-rename button{flex:1;padding:6px 10px}

.auto-photo-layout .stylish-layout-group>button[data-style]{flex:0 0 auto;min-width:0;padding:7px 8px;font-size:12px;white-space:nowrap}.auto-photo-layout .stylish-layout-group>.auto-photo-shuffle{flex:0 0 auto;min-width:0;padding:7px 9px;font-size:12px;font-weight:500;white-space:nowrap;border-radius:8px}.auto-photo-layout>.stylish-layout-group{flex:2 1 205px;justify-content:center}

.auto-photo-layout>.auto-photo-shuffle{flex:0 0 auto;min-width:0;padding:7px 10px;font-size:12px;white-space:nowrap;align-self:center}.auto-photo-layout>.stylish-layout-group{flex:2 1 155px}

.auto-photo-layout>.stylish-layout-group{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:4px;width:96px;padding:0 0 5px;border-radius:10px;background:#f0f5f1;position:relative}.auto-photo-layout .stylish-layout-group>button[data-style]{width:100%;padding:7px 8px;border-radius:9px 9px 4px 4px;font-size:13px}.auto-photo-layout .stylish-layout-group>.auto-photo-alternate{position:relative;width:82px;padding:6px 3px;margin:3px 0 0;border-radius:14px;font-size:11px;background:#fff}.auto-photo-layout .stylish-layout-group>.auto-photo-alternate:before{content:'';position:absolute;left:50%;top:-6px;height:5px;border-left:1px solid #91ab9b}.auto-photo-layout>.auto-photo-shuffle{align-self:center}.auto-photo-layout>button[data-style]{align-self:flex-start;flex:1 1 72px;min-width:65px;padding:8px 5px;font-size:13px}

.auto-photo-layout>button[data-style]{align-self:stretch;flex:1 1 90px;min-width:85px;padding:10px 8px;font-size:inherit}.auto-photo-layout>.stylish-layout-group{flex:0 0 auto;flex-direction:row;width:auto;gap:3px;padding:4px;align-self:center;border-radius:13px}.auto-photo-layout .stylish-layout-group>button[data-style]{width:auto;min-width:78px;padding:8px 7px;font-size:13px;border-radius:9px}.auto-photo-layout .stylish-layout-group>.auto-photo-alternate,.auto-photo-layout .stylish-layout-group>.stylish-previous{flex:0 0 28px;display:grid;place-items:center;width:28px;height:32px;min-width:0;margin:0;padding:0;border-radius:50%;border:0;background:transparent;color:#315f4a}.auto-photo-layout .stylish-layout-group>.auto-photo-alternate:before{content:none}.stylish-next span,.stylish-previous span{display:block;width:9px;height:9px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-right:4px}.stylish-previous span{transform:rotate(-135deg);margin-left:4px;margin-right:0}.auto-photo-layout .stylish-layout-group>.auto-photo-alternate:hover,.auto-photo-layout .stylish-layout-group>.stylish-previous:hover{background:#dce9e0}

.auto-photo-layout>.stylish-controls{display:flex;align-items:center;gap:8px;flex:0 0 auto;max-width:100%}.auto-photo-layout .stylish-controls>.stylish-layout-group{display:flex;flex:0 0 auto;flex-direction:row;align-items:center;gap:3px;width:auto;padding:4px;border:1px solid #b9c9bf;border-radius:13px;background:#f0f5f1}.auto-photo-layout .stylish-controls>.auto-photo-shuffle{flex:0 0 auto;min-width:0;padding:7px 10px;font-size:12px;white-space:nowrap}

.photo-preset-actions{display:flex;gap:8px;flex:0 0 100%;width:100%;margin-top:4px}.photo-preset-actions>button{flex:0 1 auto;white-space:nowrap}

.auto-photo-layout .stylish-layout-group>button[data-style]{min-width:102px}.auto-photo-layout .stylish-layout-group>.auto-photo-alternate,.auto-photo-layout .stylish-layout-group>.stylish-previous{flex-basis:56px;width:56px}

.auto-photo-layout{align-items:center;flex-wrap:nowrap}.auto-photo-layout>button[data-style="simple"]{flex:1 1 auto;min-width:75px;max-width:150px;align-self:stretch}.auto-photo-layout>.stylish-controls{flex:0 0 auto}.auto-photo-effects{flex-wrap:nowrap;gap:10px;font-size:13px}.auto-photo-effects label{gap:4px;white-space:nowrap}.auto-photo-effects>.auto-photo-shuffle{margin-left:auto;padding:7px 9px;font-size:12px;white-space:nowrap;flex:0 0 auto}@media(max-width:380px){.auto-photo-layout{gap:5px}.auto-photo-layout .stylish-layout-group>button[data-style]{min-width:90px}.auto-photo-layout .stylish-layout-group>.auto-photo-alternate,.auto-photo-layout .stylish-layout-group>.stylish-previous{flex-basis:48px;width:48px}.auto-photo-effects{gap:7px;font-size:12px}}

.auto-photo-effects input[type="checkbox"]{width:16px;height:16px;min-height:0;padding:0;margin:0;flex:0 0 16px}.auto-photo-effects label{font-size:inherit;line-height:1.3}

.combined-save-choice{display:flex;align-items:center;gap:8px;margin:8px 0 16px;font-size:14px}.combined-save-choice[hidden]{display:none}.combined-save-choice input{width:16px;height:16px;padding:0;margin:0}.album-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.album-grid figure{margin:0;min-width:0}.album-grid button{display:block;width:100%;padding:0;overflow:hidden;border-radius:10px}.album-grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#e8e8e0}.album-grid figcaption{font-size:12px;color:var(--muted);margin:6px 0}.photo-viewer-diary-link{position:absolute;z-index:4;right:70px;top:18px;max-width:calc(100% - 90px);color:white;background:#0007;border-radius:8px;padding:9px 10px;font-size:13px}.photo-viewer-diary-link[hidden]{display:none}@media(max-width:600px){.album-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}}

#ranking-content>.ranking-order{display:flex;justify-content:flex-start;align-items:center;gap:7px;width:fit-content;max-width:100%;padding:10px;border:1px solid #b9c9bf;border-radius:12px;background:#f0f5f1}#ranking-content>.ranking-order button{flex:0 1 auto;margin:0;font-size:13px;padding:9px 12px}

#share-photo-combine-dialog>.actions,#report-share-photo-combine-dialog>.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}#share-photo-combine-cancel,#share-photo-combine-accept,#report-share-photo-combine-cancel,#report-share-photo-combine-accept{flex:1 1 0;white-space:nowrap;padding:10px 8px}
.use-home-teaser{grid-column:1/-1;width:100%;margin:4px 0 12px}.use-home-teaser>a{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:26px;background:#eee9df;border:1px solid #e0d8c9;border-radius:18px;padding:18px;text-decoration:none;color:var(--ink)}.use-home-teaser img{display:block;width:100%;height:auto;border-radius:10px}.use-home-teaser span{font-size:11px;font-weight:700;letter-spacing:.12em;color:#8f593f}.use-home-teaser h2{font-size:23px;line-height:1.55;margin:8px 0}.use-home-teaser p{font-size:13px;color:var(--muted);margin:8px 0}.use-home-teaser b{display:inline-block;font-size:13px;color:var(--green);border-bottom:1px solid #7c9183;margin-top:8px}.use-help-entry{background:#eee9df;border-radius:12px;padding:18px;margin:20px 0}.use-help-entry>span{display:block;font-size:12px;color:#8f593f;font-weight:700;margin-bottom:8px}.use-help-entry>a{display:block;font-size:16px;font-weight:650;color:var(--green)}.use-help-entry p{margin-top:8px}.use-help-entry .use-help-all{font-size:13px;margin-top:12px}@media(max-width:600px){.use-home-teaser>a{grid-template-columns:105px 1fr;gap:15px;padding:15px}.use-home-teaser h2{font-size:17px}.use-home-teaser p{font-size:11px}.use-home-teaser b{font-size:11px}}

.search-map-panel{display:flex;flex-direction:column;gap:8px}.search-map-tools{display:flex;justify-content:flex-end;flex-shrink:0}.search-map-expanded .search-map-panel{height:100%;min-height:0}.search-map-expanded #shop-map{flex:1;min-height:0;height:auto;width:100%}

.store-reading{display:block;font-size:.78em;line-height:1.4;font-weight:400;color:#65756d;margin-top:.15em;overflow-wrap:anywhere}.language-links{text-align:center;margin:.7rem auto 1.3rem;font-size:.85rem}.language-links a{padding:.4rem;display:inline-block}html[lang="en"] button{overflow-wrap:normal}html[lang="en"] .tabs button{font-size:clamp(.75rem,2.5vw,1rem)}

/* Article controls stay together in both languages and on narrow screens. */
.news-detail-actions{display:grid;grid-template-columns:.8fr 1.4fr 1.2fr;gap:8px;align-items:stretch;margin-top:24px}
.news-detail-actions-cafe{grid-template-columns:.8fr 1.4fr .9fr 1.2fr}
.news-detail-actions .news-detail-action{display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;padding:10px 8px;border:1px solid #426554;border-radius:10px;background:#426554;color:#fff;font:inherit;font-size:.9rem;line-height:1.4;text-align:center;text-decoration:none;overflow-wrap:anywhere;cursor:pointer}
.news-detail-actions .news-detail-action:hover{background:#345344}
.news-detail-actions .news-detail-action:focus-visible{outline:3px solid #ccab59;outline-offset:3px}
.news-detail .news-detail-divider{margin:calc(5 * 1.8em) 0 0}
.news-detail .news-detail-source{margin-top:18px}
@media(max-width:480px){.news-detail-actions{gap:6px}.news-detail-actions .news-detail-action{font-size:.8rem;padding:10px 5px}}

.mobile-store-card{padding:12px;cursor:pointer;text-align:left}
.mobile-store-card:focus-visible{outline:3px solid #bd885b;outline-offset:2px}
.mobile-store-heading{display:flex;gap:8px;align-items:center;justify-content:space-between}
.mobile-store-heading h3{flex:1;min-width:0;margin:0;font-size:16px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mobile-store-heading .favorite-star{flex-shrink:0;margin:0;min-width:44px;min-height:44px}
.mobile-store-card p{margin:4px 0;font-size:12px;line-height:1.35}
.mobile-store-address{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mobile-store-card .store-reading{font-size:11px;line-height:1.3}
.mobile-store-contacts{display:flex;gap:14px;align-items:center;overflow:hidden;white-space:nowrap;font-size:12px;line-height:1.5;margin:4px 0}
.mobile-store-contacts a{color:var(--green);text-underline-offset:2px;flex-shrink:0}
.mobile-store-hours,.mobile-store-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-selected-card{margin:10px 0}.map-selected-card[hidden]{display:none}
@media(pointer:coarse) and (max-width:1024px){
 #shop-map .leaflet-popup-pane{display:none}
 .search-map-expanded>.map-selected-card{position:absolute;bottom:max(8px,env(safe-area-inset-bottom));left:12px;right:12px;z-index:1100;margin:0}
 .search-map-expanded>.map-selected-card .result{box-shadow:0 3px 18px #20362724;background:rgba(255,255,255,.98)}
 .search-map-expanded.has-selected-map-card .leaflet-bottom{bottom:calc(var(--selected-map-card-height,180px) + 16px + env(safe-area-inset-bottom))}
}

.map-selected-card .result[data-pin-kind="normal"]{background:#eaf2fb;border-color:#7199c0;border-left:5px solid #3b76ae}
.map-selected-card .result[data-pin-kind="diary"]{background:#fff0ee;border-color:#d9908b;border-left:5px solid #c7463d}
.map-selected-card .result[data-pin-kind="favorite"]{background:#edf7ef;border-color:#7db68e;border-left:5px solid #2b8a51}
.map-selected-card .result[data-pin-kind="both"]{background:linear-gradient(100deg,#edf7ef,#fff0ee);border-color:#7db68e #d9908b #d9908b #2b8a51;border-left-width:5px}
.cafe-map-marker svg{transform-origin:50% 100%}
.cafe-map-marker.map-pin-selected svg{transform:scale(1.1)}
.cafe-map-marker.map-pin-muted svg{transform:scale(.81);opacity:.6}
.cafe-map-marker.map-pin-muted.pin-normal svg>path:not([fill="none"]){fill:#659cc7}

.mobile-store-footer{display:flex;align-items:center;gap:8px;margin-top:5px}.mobile-store-footer .mobile-store-meta{flex:1;min-width:0;margin:0}.mobile-store-detail-link{margin-left:auto;flex-shrink:0;font-size:12px;line-height:1.5;text-underline-offset:3px;padding:3px 0}


.search-query-field{position:relative;min-width:0}.search-query-field #query{padding-right:46px}#search-clear{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:40px;min-height:40px;padding:0;border:0;background:transparent;border-radius:6px;font-size:24px;line-height:1;color:var(--muted)}#search-clear:hover{background:#eef3ed;color:var(--ink)}

/* Desktop search cards keep equal columns regardless of content length. */
@media(pointer:fine),(min-width:1025px){
 #map-nearest-list,#search-results{grid-template-columns:repeat(2,minmax(0,1fr))}
 #map-nearest-list>.mobile-store-card,#search-results>.mobile-store-card{width:100%;min-width:0;max-width:100%}
 .mobile-store-card p,.mobile-store-card .mobile-store-contacts,.mobile-store-card .mobile-store-detail-link{font-size:14.4px}
 .mobile-store-card .mobile-store-address .store-reading{font-size:13.2px}
}
@media(pointer:fine) and (max-width:780px){#map-nearest-list,#search-results{grid-template-columns:minmax(0,1fr)}}

/* Long hours and contacts must never enlarge a grid card beyond the screen. */
#search-panel,#map-nearest,#map-nearest-list,#search-results{min-width:0;max-width:100%}
#map-nearest-list,#search-results{grid-template-columns:repeat(2,minmax(0,1fr))}
.mobile-store-card{min-width:0;width:100%;max-width:100%;overflow-wrap:anywhere}
.mobile-store-card>*,.mobile-store-heading,.mobile-store-footer{min-width:0;max-width:100%}
.mobile-store-card p,.mobile-store-card .mobile-store-contacts,.mobile-store-card .mobile-store-detail-link{font-size:14.4px}
.mobile-store-card .mobile-store-address .store-reading{font-size:13.2px}
.mobile-store-map-link{color:var(--green);text-decoration:underline;text-underline-offset:2px}
.mobile-store-map-link:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:780px){#map-nearest-list,#search-results{grid-template-columns:minmax(0,1fr)}}

#share-dialog[data-photo-stage="combined-pending"] .share-content-options,
#share-dialog[data-photo-stage="combined-pending"] #share-text-label,
#share-dialog[data-photo-stage="combined-pending"] #share-photo-status,
#share-dialog[data-photo-stage="combined-pending"] #share-buttons,
#share-dialog[data-photo-stage="combined-pending"] #share-status{display:none}
#share-dialog[data-photo-stage="combined-ready"] #share-intro,
#share-dialog[data-photo-stage="combined-ready"] #share-record-label,
#share-dialog[data-photo-stage="combined-ready"] .share-photo-modes,
#share-dialog[data-photo-stage="combined-ready"] #share-photo-picker>h3,
#share-dialog[data-photo-stage="combined-ready"] #share-photo-choices,
#share-dialog[data-photo-stage="combined-ready"] #share-photo-status,
#share-dialog[data-photo-stage="combined-ready"] .dialog-head h2{display:none}
#share-dialog[data-photo-stage="combined-ready"] .dialog-head{position:absolute;right:10px;top:10px;margin:0;z-index:2}
#share-dialog[data-photo-stage="combined-ready"] #share-photo-combined{margin-top:0}

.share-photo-choice{min-width:0}.share-photo-edit-one{width:100%;margin-top:6px;padding:8px 4px;font-size:12px;min-height:40px}

@media(pointer:coarse) and (max-width:1024px){
 #share-photo-combine-dialog,#report-share-photo-combine-dialog{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:#fff;box-sizing:border-box;padding:calc(14px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
 #share-photo-combine-dialog .photo-editor-stage,#report-share-photo-combine-dialog .photo-editor-stage{width:100%;max-width:100%}
}

.photo-function-field{display:block;font-size:14px;margin:14px 0 10px}.photo-function-field select{display:block;margin-top:6px}
.photo-function-controls:empty{display:none}.photo-function-group{margin:10px 0 14px}
.photo-adjustment{display:flex;align-items:center;gap:12px;margin:12px 0;font-size:14px}.photo-adjustment span{min-width:5em}.photo-adjustment input{flex:1;min-width:0}
.photo-text-entry{display:flex;gap:8px}.photo-text-entry input{flex:1;min-width:0}.photo-text-entry button{flex-shrink:0}
.photo-color-control{display:flex;align-items:center;gap:12px;font-size:14px;margin:12px 0}.photo-color-control input{width:52px;height:40px;padding:3px}
.share-photo-copy-note{font-size:12px;line-height:1.5;margin:8px 0;color:var(--muted)}
#share-photo-combine-dialog[data-photo-view="edit"]>.dialog-head,#report-share-photo-combine-dialog[data-photo-view="edit"]>.dialog-head{display:none}
#share-photo-combine-dialog[data-photo-view="edit"] [id$="photo-layout-status"],#report-share-photo-combine-dialog[data-photo-view="edit"] [id$="photo-layout-status"]{display:none}
#share-photo-combine-dialog[data-photo-view="edit"] .photo-editor-stage,#report-share-photo-combine-dialog[data-photo-view="edit"] .photo-editor-stage{margin-top:0}

@media(pointer:coarse) and (max-width:1024px){#share-photo-combine-dialog[data-photo-view="edit"],#report-share-photo-combine-dialog[data-photo-view="edit"]{padding-top:env(safe-area-inset-top)}}

.photo-function-field select{margin-top:0}
.photo-brush-instruction{font-size:13px;line-height:1.5;margin:6px 0 12px;color:var(--muted)}
.photo-font-field{display:block;font-size:14px;margin:12px 0}.photo-font-field select{display:block;margin-top:6px}
.photo-text-depth{display:flex;gap:8px;align-items:center;font-size:14px;margin:12px 0}.photo-text-depth input{width:20px;height:20px;margin:0;accent-color:var(--green)}
.photo-text-background{display:flex;align-items:center;gap:10px;font-size:14px;margin:12px 0}.photo-text-background select{flex:1;min-width:0}.photo-text-background input{width:52px;height:40px;padding:3px;flex-shrink:0}
#share-photo-combine-dialog[data-photo-view="edit"]>.actions,#report-share-photo-combine-dialog[data-photo-view="edit"]>.actions{flex-direction:column;align-items:stretch;gap:0}
#share-photo-combine-dialog[data-photo-view="edit"] [id$="photo-combine-accept"],#report-share-photo-combine-dialog[data-photo-view="edit"] [id$="photo-combine-accept"]{order:0;flex:0 0 auto;width:100%;white-space:normal}
#share-photo-combine-dialog[data-photo-view="edit"] [id$="photo-combine-cancel"],#report-share-photo-combine-dialog[data-photo-view="edit"] [id$="photo-combine-cancel"]{order:1;flex:0 0 auto;width:100%;margin-top:12px}
@media(pointer:coarse) and (max-width:1024px){#share-photo-combine-dialog[data-photo-view="edit"],#report-share-photo-combine-dialog[data-photo-view="edit"]{padding-top:calc(12px + env(safe-area-inset-top))}}

.photo-function-field{position:relative;display:block;border-radius:14px;box-shadow:0 3px 12px #2843340d;margin:14px 0}
.photo-function-field select{appearance:none;-webkit-appearance:none;min-height:52px;border:1px solid #b9cabb;border-radius:14px;background:linear-gradient(110deg,#f3f8f0,#fff 65%);padding:13px 42px 13px 44px;font-size:16px;font-weight:600;color:#345043;cursor:pointer}
.photo-function-field::before{content:"✦";position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#6b8b74;font-size:20px;pointer-events:none}
.photo-function-field::after{content:"";position:absolute;right:19px;top:21px;width:8px;height:8px;border-right:2px solid #6b8b74;border-bottom:2px solid #6b8b74;transform:rotate(45deg);pointer-events:none}
.photo-function-field:focus-within{box-shadow:0 0 0 3px #50745b20}.photo-function-field select:focus{outline:none;border-color:#50745b}
.photo-function-field[data-feature="food"]::before{content:"✦"}.photo-function-field[data-feature="blur"]::before{content:"◌"}.photo-function-field[data-feature="mosaic"]::before{content:"▦"}.photo-function-field[data-feature="brightness"]::before{content:"☀"}.photo-function-field[data-feature="text"]::before{content:"Aa";font-size:16px;font-weight:700}
.photo-function-field option{background:#fff;color:#283e35;font-weight:400}

.photo-function-field select{padding-right:54px}
.photo-function-field::after{content:"▼";right:6px;top:6px;width:36px;height:40px;display:grid;place-items:center;border:0;border-radius:9px;background:#dfece1;color:#315f4a;font-size:17px;font-weight:700;transform:none}

#share-photo-combine-dialog[data-photo-view="edit"]>.actions,#report-share-photo-combine-dialog[data-photo-view="edit"]>.actions{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}

.photo-function-row{display:flex;position:relative;margin:14px 0 10px;border-radius:14px;box-shadow:0 3px 12px #2843340d}
.photo-function-row .photo-function-field{flex:1;min-width:0;margin:0;box-shadow:none}
.photo-function-row .photo-function-field select{border-radius:14px 0 0 14px;border-right:0}
.photo-function-open{flex:0 0 auto;min-height:52px;padding:10px 12px;border:1px solid #b9cabb;border-radius:0 14px 14px 0;background:#e5efe6;color:#345043;font-size:14px;font-weight:600;white-space:nowrap}
.photo-function-open:hover{background:#d8e8dc;border-color:#50745b}
.photo-function-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:5;background:#fff;border:1px solid #b9cabb;border-radius:12px;box-shadow:0 8px 22px #263d3526;padding:6px;max-height:320px;overflow:auto}
.photo-function-menu button{display:block;width:100%;text-align:left;border:0;background:none;min-height:44px;padding:10px 12px;border-radius:8px}
.photo-function-menu button[aria-selected="true"]{background:#e5efe6;color:#315f4a;font-weight:700}.photo-function-menu button:hover{background:#f0f6ee}

.photo-text-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;margin:12px 0;font-size:clamp(12px,3.3vw,14px)}
.photo-text-actions .photo-color-control,.photo-text-actions .photo-text-depth{margin:0;gap:4px;min-height:44px;font-size:inherit;white-space:nowrap;flex-shrink:0}
.photo-text-actions .photo-color-control input{width:34px;height:34px;padding:2px}.photo-text-actions .photo-text-depth input{width:18px;height:18px}
.photo-text-actions button{min-width:0;padding:8px 6px;font-size:inherit;white-space:nowrap;flex:1}

#share-photo-combine-dialog[data-photo-view="edit"]>.actions>.combined-save-choice,#report-share-photo-combine-dialog[data-photo-view="edit"]>.actions>.combined-save-choice{order:1;margin:10px 0 0}
#share-photo-combine-dialog[data-photo-view="edit"] [id$="photo-combine-cancel"],#report-share-photo-combine-dialog[data-photo-view="edit"] [id$="photo-combine-cancel"]{order:2}

.photo-crop-frame{position:absolute;border:2px solid #fff;box-shadow:0 0 0 1px #426554,0 0 0 2000px #0005;touch-action:none;cursor:move;box-sizing:border-box;z-index:2}
.photo-crop-frame.crop-resizing{cursor:default}
.photo-crop-frame .photo-crop-handle{position:absolute;width:30px;height:30px;min-height:30px;padding:0;border:0;background:none;transform:translate(-50%,-50%);touch-action:none;display:none}
.photo-crop-frame.crop-resizing .photo-crop-handle{display:block}
.photo-crop-handle::after{content:"";position:absolute;left:9px;top:9px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#426554;box-shadow:0 1px 3px #0005}
.crop-n{left:50%;top:0;cursor:ns-resize}.crop-e{left:100%;top:50%;cursor:ew-resize}.crop-s{left:50%;top:100%;cursor:ns-resize}.crop-w{left:0;top:50%;cursor:ew-resize}
.crop-nw{left:0;top:0;cursor:nwse-resize}.crop-ne{left:100%;top:0;cursor:nesw-resize}.crop-se{left:100%;top:100%;cursor:nwse-resize}.crop-sw{left:0;top:100%;cursor:nesw-resize}
.photo-crop-buttons{display:flex;gap:8px;margin:10px 0}.photo-crop-buttons button{flex:1;min-width:0}.photo-crop-buttons button.active{background:#426554;border-color:#426554;color:#fff}
.photo-function-field[data-feature="crop"]::before{content:"⌗"}

.photo-crop-frame{border:0;box-shadow:none;transform-origin:center;overflow:visible}
.photo-crop-frame .photo-crop-handle{display:block}
.photo-crop-outline{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.photo-crop-outline path{fill:#ffffff12;stroke:white;stroke-width:2;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 1px #244e3b)}
.photo-crop-frame.crop-drawing .photo-crop-handle{display:none}
.photo-function-group>select{width:100%;padding:10px 12px;border:1px solid #b9ccbf;border-radius:12px;background:#f5faf6;color:#294739;font:inherit}
.photo-function-group>label:has([id$="crop-rotation"]){display:flex;align-items:center;gap:12px;margin-top:10px}
.photo-function-group [id$="crop-rotation"]{flex:1;min-width:0}

#saved-photo-dialog>.actions{display:flex;flex-direction:column;align-items:stretch;gap:0;border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
#saved-photo-dialog>.actions>button{flex:0 0 auto;width:100%;white-space:normal}
#saved-photo-dialog>.actions>[data-close]{margin-top:12px}
#saved-photo-status:empty{display:none}
@media(pointer:coarse) and (max-width:1024px){
 #saved-photo-dialog{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:#fff;box-sizing:border-box;padding:calc(12px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
 #saved-photo-dialog .photo-editor-stage{width:100%;max-width:100%;margin-top:0}
}

#camera-dialog[data-photo-view="edit"]>.dialog-head,#camera-dialog[data-photo-view="edit"] #camera-retry{display:none}
#camera-status:empty{display:none}
#camera-dialog[data-photo-view="edit"]>.camera-actions{flex-direction:column;align-items:stretch;gap:0;border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
#camera-dialog[data-photo-view="edit"] #camera-save{order:0;width:100%;flex:0 0 auto;white-space:normal}
#camera-dialog[data-photo-view="edit"] #camera-discard{order:1;width:100%;flex:0 0 auto;margin-top:12px}
#camera-choice-dialog{max-width:420px;width:calc(100% - 24px)}.camera-choice-actions{display:flex;flex-direction:column;gap:12px}
@media(pointer:coarse) and (max-width:1024px){
 #camera-dialog[data-photo-view="edit"]{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:#fff;box-sizing:border-box;padding:calc(12px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
 #camera-dialog[data-photo-view="edit"] .photo-editor-stage{width:100%;max-width:100%;margin-top:0}
}

.store-primary{overflow-wrap:anywhere}.mobile-store-map-link .store-reading{color:inherit}

#favorites-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;max-width:100%}#favorites-list>.mobile-store-card{width:100%;min-width:0;max-width:100%}#favorites-list>.pagination{grid-column:1/-1}.store-note-marker{white-space:nowrap;font-size:inherit;color:var(--muted,#65756d)}
@media(max-width:780px){#favorites-list{grid-template-columns:minmax(0,1fr)}}

.mobile-store-contacts{flex-wrap:wrap;overflow:visible;white-space:normal}.mobile-store-contacts a{white-space:nowrap}

.search-map-tools{align-items:center;gap:8px;flex-wrap:wrap}.map-personal-filters{display:flex;gap:5px}.map-personal-filter{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:9px;color:#52645a;background:#fff}.map-personal-filter svg{width:24px;height:24px;pointer-events:none}.map-personal-filter.active{color:#fff;background:#346451;border-color:#346451}.map-personal-filter.active:hover{background:#254d3d}.search-map-tools>button{padding-left:12px;padding-right:12px}

.search-map-tools{flex-wrap:nowrap}.map-personal-filters{flex-shrink:0}.search-map-tools>button{min-width:0;white-space:normal;line-height:1.3}

.search-map-tools{position:relative}.map-filter-feedback{position:absolute;top:calc(100% + 6px);transform:translateX(-50%);z-index:2000;pointer-events:none;white-space:nowrap;padding:6px 10px;border-radius:8px;background:#283e35;color:#fff;font-size:13px;line-height:1.4;box-shadow:0 3px 10px #0002}

.store-more-details{margin-top:26px;padding-top:18px;border-top:1px solid var(--line)}.store-more-content .shop-request-links{margin:0}.store-more-content>.data-credit{margin-top:18px}.request-type-switch{display:flex;gap:10px;margin:16px 0 22px;flex-wrap:wrap}.request-type-switch a{padding:10px 16px;min-height:44px;border:1px solid var(--line);border-radius:9px;text-decoration:none;background:#fff;color:var(--green)}.request-type-switch a.active{background:var(--green);color:#fff;border-color:var(--green)}

/* Store memo: text, links, then photos. */
.shop-note-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;line-height:1.7}.shop-note-links{display:grid;gap:8px;margin:12px 0;overflow-wrap:anywhere}.shop-note-links>div{display:flex;align-items:center;gap:12px}.shop-note-links a{color:var(--green);text-decoration:underline;flex:1;min-width:0}.shop-note-links button{flex:none;padding:4px 12px;font-size:22px;min-height:40px}.shop-note-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.shop-note-photos button{padding:0;overflow:hidden;border-radius:9px;min-width:0}.shop-note-photos img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.shop-note-photo{position:relative;min-width:0}.shop-note-photo>button:first-child{width:100%}.shop-note-photo .shop-note-remove{position:absolute;top:3px;right:3px;width:32px;height:32px;min-height:32px;background:#fffE;border-radius:50%;font-size:22px;line-height:1}.shop-note-editor{width:min(720px,94vw);box-sizing:border-box}.shop-note-editor h2{margin:0 0 16px}.shop-note-editor textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:140px}.shop-note-image-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.shop-note-image-actions button{padding:10px 12px}.shop-note-link-form{display:grid;grid-template-columns:1fr 2fr auto;gap:8px;margin-top:20px}.shop-note-link-form input{min-width:0;width:100%;box-sizing:border-box}.shop-note-editor-footer{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.shop-note-status:empty{display:none}.shop-note-status{color:#a13d32;overflow-wrap:anywhere}
@media(max-width:600px){.shop-note-editor{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:18px;padding-bottom:max(20px,env(safe-area-inset-bottom));overflow-y:auto}.shop-note-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shop-note-image-actions{gap:6px}.shop-note-image-actions button{font-size:13px;flex:1;padding:10px 6px;white-space:nowrap}.shop-note-link-form{grid-template-columns:1fr auto}.shop-note-link-form input:first-child{grid-column:1/-1}.shop-note-editor-footer{flex-direction:column}.shop-note-editor-footer button{width:100%}}

.shop-note-toast{position:fixed;z-index:20;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;max-width:calc(100% - 36px);border-radius:12px;background:#263d36ed;color:white;padding:15px 22px;box-shadow:0 5px 25px #0003;text-align:center;pointer-events:none}.shop-note-content{max-height:var(--note-preview-height,8.5em);overflow:hidden}.shop-note-content-inner{display:flow-root;line-height:1.7}.shop-note-expanded .shop-note-content{max-height:none;overflow:visible}.shop-note-toggle{display:block;width:100%;min-height:32px;padding:2px 12px;border:0;border-radius:5px;background:#dfe7e180;color:var(--green);text-align:center;font-size:18px;line-height:28px}.shop-note-toggle:hover{background:#d3dfd699}.shop-note:not(.shop-note-expanded)>.shop-note-toggle{position:relative;z-index:2;margin-top:-32px}.shop-note-expanded>.shop-note-toggle{position:sticky;bottom:0;z-index:5;box-shadow:0 -3px 12px #263c3012}


.shop-diary-content{overflow:visible}.shop-diary-content-inner{display:flow-root;line-height:1.8}.shop-diary-expanded>.shop-diary-content{max-height:none;overflow:visible}.shop-diary-toggle{display:block;width:100%;min-height:32px;padding:2px 12px;border:0;border-radius:5px;background:#dfe7e180;color:var(--green);text-align:center;font-size:18px;line-height:28px}.shop-diary-toggle:hover{background:#d3dfd699}#private-detail:not(.shop-diary-expanded)>.shop-diary-toggle{position:relative;z-index:2;margin-top:12px}.shop-diary-expanded>.shop-diary-toggle{position:sticky;bottom:0;z-index:5;box-shadow:0 -3px 12px #263c3012}#detail-dialog:has(.shop-diary-expanded>.shop-diary-toggle:not([hidden])) .shop-note-expanded>.shop-note-toggle{bottom:36px}

html[lang="ko"] body{font-family:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif;word-break:keep-all;overflow-wrap:anywhere}html[lang="ko"] .store-reading[lang="ja"]{font-family:"Yu Gothic",Meiryo,sans-serif}

html[lang="zh-Hant"]{font-family:"PingFang TC","Microsoft JhengHei","Noto Sans TC",sans-serif}html[lang="zh-Hans"]{font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif}html[lang^="zh-"] button,html[lang^="zh-"] select{font-family:inherit}

.mobile-store-feature-strip{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;margin:7px 0;color:#355b49;font-size:14px;line-height:1.4}
.mobile-store-feature-icon{display:inline-flex;align-items:center;flex-shrink:0;vertical-align:middle}
.mobile-store-feature-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.mobile-store-payment-icons{display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px;max-width:100%}
.mobile-store-feature-strip:empty{display:none}

/* Shared map selection on pointer and touch devices. */
#shop-map .leaflet-popup-pane{display:none}
.search-map-expanded>.map-selected-card{position:absolute;bottom:max(8px,env(safe-area-inset-bottom));left:50%;right:auto;transform:translateX(-50%);width:min(600px,calc(100% - 24px));z-index:1100;margin:0}
.search-map-expanded>.map-selected-card .result{box-shadow:0 3px 18px #20362724;background:rgba(255,255,255,.98)}
.search-map-expanded.has-selected-map-card .leaflet-bottom{bottom:calc(var(--selected-map-card-height,180px) + 16px + env(safe-area-inset-bottom))}
#map-nearest{margin-top:6px}#map-nearest-status:empty{display:none}#map-nearest-list{margin-top:0}.map-selected-card{margin:6px 0}
.map-height-resizer{height:20px;flex-shrink:0;display:flex;align-items:center;justify-content:center;margin:-8px 0 -4px;cursor:ns-resize;touch-action:none;user-select:none;border-radius:0 0 8px 8px;background:#e8eee9}
.map-height-resizer>span{width:48px;height:4px;border-radius:4px;background:#8a9d91}.map-height-resizer:hover,.map-height-resizer.is-resizing{background:#d9e5dc}.map-height-resizer:focus-visible{outline:2px solid #346451;outline-offset:2px}
.search-map-expanded .map-height-resizer{display:none}
.map-return-control{position:fixed;right:18px;bottom:max(18px,env(safe-area-inset-bottom));z-index:1200;width:46px;height:46px;min-height:46px;padding:9px;border:1px solid #ffffff70;border-radius:50%;background:rgba(52,100,81,.6);backdrop-filter:blur(4px);color:#fff;box-shadow:0 2px 10px #20362724}
.map-return-control[hidden]{display:none}.map-return-control svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.map-return-control:hover{background:rgba(52,100,81,.8)}

.map-return-control{right:94px}
.store-card-legend{position:fixed;right:18px;bottom:max(18px,env(safe-area-inset-bottom));z-index:1300;width:64px}
.store-card-legend[hidden],.store-card-legend-panel[hidden]{display:none}
.store-card-legend-toggle{width:64px;height:46px;min-height:46px;padding:5px;border:1px solid #ffffff70;border-radius:23px;background:rgba(52,100,81,.6);color:#fff;box-shadow:0 2px 10px #20362724;font-size:13px;font-weight:600;backdrop-filter:blur(4px)}
.store-card-legend-toggle:hover{background:rgba(52,100,81,.8)}
.store-card-legend-panel{position:absolute;right:0;bottom:58px;width:min(400px,calc(100vw - 28px));max-height:calc(100vh - 108px);max-height:min(68dvh,620px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;box-sizing:border-box;padding:10px 14px 12px;border:2px solid rgba(52,100,81,.6);border-radius:15px;background:#fff;color:#29483f;box-shadow:0 5px 28px #20362738;text-align:left}
.store-card-legend-panel h3{margin:0 0 6px;font-size:17px}.store-card-legend-panel h4{margin:8px 0 5px;font-size:14px}
.store-card-legend-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px}
.store-card-legend-item{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;line-height:1.25}.store-card-legend-item span{overflow-wrap:anywhere}
.store-card-legend-item svg{width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.store-card-legend-layer{position:fixed;inset:0;margin:0;padding:0;border:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;overflow:visible;background:transparent;box-shadow:none;pointer-events:none}.store-card-legend-layer::backdrop{background:transparent;backdrop-filter:none;pointer-events:none}.store-card-legend-layer>.store-card-legend{pointer-events:auto}

@media(max-width:700px){.store-card-legend:has(.store-card-legend-panel:not([hidden])){bottom:max(8px,env(safe-area-inset-bottom))}.store-card-legend-toggle[aria-expanded="true"]{display:none}.store-card-legend-panel{bottom:0;right:0;max-height:68dvh;padding-bottom:max(12px,env(safe-area-inset-bottom));border-radius:15px}}

.store-card-legend-dismiss{position:absolute;right:6px;bottom:6px;z-index:1;display:flex;align-items:center;justify-content:center;width:40px;height:32px;min-height:32px;margin:0;padding:4px;border:0;border-radius:8px;background:rgba(237,242,238,.55);color:#346451;opacity:.55}.store-card-legend-dismiss svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.store-card-legend-dismiss:hover{background:rgba(220,231,223,.65);opacity:.8}

html[lang="vi"],html[lang="id"]{font-family:system-ui,"Segoe UI",sans-serif}html[lang="th"]{font-family:"Leelawadee UI","Noto Sans Thai",Tahoma,sans-serif;line-height:1.65}html[lang="th"] button,html[lang="th"] select,html[lang="th"] input,html[lang="th"] textarea{font-family:inherit;line-height:1.6}html:is([lang="vi"],[lang="th"],[lang="id"]) .tabs button{overflow-wrap:anywhere;min-width:0}html:is([lang="vi"],[lang="th"],[lang="id"]) .search-map-tools>button{overflow-wrap:anywhere}

@font-face{font-family:CafeThaiUI;src:url("./fonts/sea-notosansthai.woff2") format("woff2");font-weight:400;font-display:swap}html[lang="th"]{font-family:CafeThaiUI,"Leelawadee UI",Tahoma,sans-serif}

@font-face{font-family:CafeLatinUI;src:url("./fonts/sea-notosans.woff2") format("woff2");font-weight:400;font-display:swap}html[lang="vi"]{font-family:CafeLatinUI,system-ui,sans-serif}html[lang="th"] h1,html[lang="th"] .brand{letter-spacing:normal}
html:is([lang="vi"],[lang="th"],[lang="id"]) .tabs button{white-space:normal;line-height:1.3;padding-left:6px;padding-right:6px}html:is([lang="vi"],[lang="th"],[lang="id"]) .search-map-tools>button:first-child{white-space:normal;overflow-wrap:normal;word-break:normal}

/* Filipino, Nepali and Portuguese (2026-10-24). */
@font-face{font-family:CafeNepaliUI;src:url("./fonts/ne-notosansdevanagari.woff2") format("woff2");font-weight:400;font-display:swap}html[lang="ne"]{font-family:CafeNepaliUI,"Nirmala UI",sans-serif;line-height:1.65}html[lang="ne"] :is(button,input,select,textarea){font-family:inherit;line-height:1.6}html:is([lang="fil"],[lang="pt"]){font-family:system-ui,"Segoe UI",sans-serif}html:is([lang="fil"],[lang="ne"],[lang="pt"]) .tabs button{min-width:0;overflow-wrap:anywhere}html:is([lang="fil"],[lang="ne"],[lang="pt"]) .search-map-tools>button{overflow-wrap:anywhere}

/* Compact language navigation: crawlable links remain in the server HTML. */
.language-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.1rem .25rem;padding:0 .75rem}
.language-links .language-more{position:relative;flex:0 0 auto;border:0;padding:0;margin:0;min-width:0;background:transparent}
.language-more>summary{display:inline-flex;align-items:center;gap:.4rem;list-style:none;cursor:pointer;border:1px solid #cbd8d1;border-radius:999px;padding:.45rem .75rem;color:#365b4a;background:#f3f7f4;font-weight:400}
.language-more>summary::-webkit-details-marker{display:none}
.language-more>summary:focus-visible{outline:2px solid #365b4a;outline-offset:3px}
.language-more-arrow{font-size:.7em}.language-more[open] .language-more-arrow{transform:rotate(180deg)}
.language-more-links{position:absolute;z-index:100;bottom:calc(100% + .5rem);right:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem .5rem;width:min(22rem,calc(100vw - 2rem));box-sizing:border-box;margin:0;padding:.4rem;border:1px solid #cbd8d1;border-radius:.7rem;background:#fff;box-shadow:0 5px 24px #203f3026;text-align:left}
.language-more-links a{border-radius:.4rem;padding:.6rem .75rem;overflow-wrap:anywhere}
.language-more-links a:hover,.language-more-links a:focus-visible{background:#edf4ef}

@media(max-width:600px){.language-links .language-more{flex-basis:100%}.language-more-links{right:auto;left:50%;transform:translateX(-50%)}}

/* Keep the map/list position stable while new shops are being fetched. */
html{scrollbar-gutter:stable}
html:has(.search-map-expanded[open]){overflow-y:scroll}
#map-nearest-list.nearby-loading{min-height:var(--nearby-loading-height,864px);align-content:start;overflow-anchor:none}

/* Suppress edge-swipe/overscroll navigation only while a photo editor is open. */
html.photo-edit-guard-active,html.photo-edit-guard-active body{overscroll-behavior-x:none}
.photo-edit-guard-active dialog:has(.photo-editor:not([hidden])),.photo-edit-guard-active dialog:has([id$="photo-layout-area"]:not([hidden])){overscroll-behavior:contain}
.photo-edit-guard-active .photo-editor-stage,.photo-edit-guard-active .photo-editor-stage canvas{touch-action:none;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

/* Recovery prompt after leaving an unfinished photo edit. */
.photo-draft-choice-dialog{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;padding:16px;border:1px solid var(--line);border-radius:16px}
.photo-draft-choice-dialog::backdrop{background:rgba(0,0,0,.35)}
.photo-draft-choice-dialog>img{display:block;width:100%;max-height:60dvh;object-fit:contain;border-radius:8px;margin:0 auto 14px}
.photo-draft-choice-dialog>button{display:block;width:100%;margin:8px 0 0}
.photo-draft-choice-dialog>.photo-draft-discard{background:transparent;color:var(--muted,#66736e);border:1px solid var(--line);font-size:.9em}
.photo-draft-choice-dialog>p:empty{display:none}
.photo-draft-dialog{width:min(760px,94vw);max-height:96dvh;overflow-y:auto}.photo-draft-dialog>button{display:block;width:100%;margin-top:14px}.photo-draft-applied{display:block;max-width:100%;max-height:420px;object-fit:contain;margin:12px auto}@media(max-width:600px){.photo-draft-dialog{position:fixed;inset:0;max-width:none;max-height:none;width:100%;height:100dvh;margin:0;border:0;border-radius:0;padding:12px}}


