:root{--onsen:#07565B;--gourmet:#F0642C;--paper:#F7F5EF;--ink:#253638}
body{background:var(--paper);color:var(--ink)}
#op-screen{background:var(--paper);cursor:pointer}
.opening-photos{position:absolute;inset:0;display:flex;overflow:hidden}
.opening-photo{width:50%;height:100%;overflow:hidden;position:relative}
.opening-photo img{height:100%;width:100%;object-fit:cover;object-position:left center;animation:openingZoom 2s ease-out both}
.opening-photo.food img{object-position:right center}
.opening-band{position:relative;width:100%;padding:24px;background:#f7f5efe8;text-align:center;z-index:1}
.opening-band img{width:min(90%,620px);height:auto;animation:openingLogo .5s .3s both}
.opening-skip{position:absolute;right:20px;bottom:30px;color:white;background:#25363880;border:0;padding:12px 18px;border-radius:999px;font:inherit;z-index:2}
@keyframes openingZoom{from{transform:scale(1.05)}to{transform:scale(1)}}
@keyframes openingLogo{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.header{background:#f7f5eff5}.search-input{background:white}.login-btn,.bb-btn.active,.bb-btn.stamp-btn,.filter-chip.active,.area-tab.active{background:var(--onsen);color:white;border-color:var(--onsen)}
.bb-btn.add-btn{background:var(--gourmet)}
.submit-btn,.disclaimer-btn.active,.stamp-close{background:var(--onsen);color:white}
.fi:focus,.fta:focus{border-color:var(--onsen)}
.method-btn.sel,.co.sel,.ci-item.sel{background:#edf4f2;border-color:var(--onsen);color:var(--onsen)}
.sheet{background:var(--paper);padding-bottom:max(30px,env(safe-area-inset-bottom));color:var(--ink)}
.method-btn{border-radius:999px}.sli-icon{display:flex;align-items:center}.brand-mini{width:115px;vertical-align:middle}
.category-icon{display:inline-block;width:36px;height:42px;background:url('/assets/map-pins.webp') no-repeat;background-size:300% auto;background-position:19% 50%;clip-path:polygon(50% 0,85% 8%,100% 28%,98% 55%,50% 100%,2% 55%,0 28%,15% 8%);vertical-align:middle;flex-shrink:0}
.category-icon.gourmet{background-position:82% 50%}
.map-spot-pin{padding:0;border:0;box-shadow:none;background:transparent;min-width:44px;min-height:48px;display:flex;justify-content:center;align-items:center;cursor:pointer}
.map-spot-pin .category-icon{width:44px;height:51px}.map-spot-pin .other-pin{border:2px solid white;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;background:var(--onsen);font-size:22px}
.category-small{width:24px;height:28px;margin-right:4px}
#review-modal .sheet{padding:16px;max-width:500px;border-radius:28px 28px 0 0;background:white}
.facility-gallery{margin:0 -16px 18px;position:relative;overflow:hidden;background:var(--paper)}
.facility-hero{width:100%;height:auto;max-height:60vh;object-fit:contain;display:block;cursor:zoom-in}
.gallery-strip{display:flex;gap:8px;overflow-x:auto;padding:10px 16px}.gallery-strip button{padding:0;border:0;border-radius:12px;background:transparent;flex-shrink:0;cursor:pointer}.gallery-strip img{width:66px;height:54px;object-fit:cover;border-radius:12px}
.gallery-count{position:absolute;right:12px;bottom:12px;padding:6px 10px;background:#253638b0;color:white;border-radius:999px;font-size:12px}
.no-facility-photo{min-height:140px;display:flex;gap:10px;align-items:center;justify-content:center;color:#657373;font-size:13px}
.review-spot-header{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;background:white;padding:0;align-items:start}.review-spot-copy{width:100%;min-width:0}.rsh-name{font-size:22px;line-height:1.4;white-space:normal;word-break:normal;overflow-wrap:anywhere}.rsh-cat{font-size:13px;line-height:1.6;margin-top:5px;white-space:normal;word-break:normal;overflow-wrap:anywhere}.rsh-icon{display:none}#delete-spot-btn{width:100%;min-width:0;margin:0;min-height:44px}
.facility-links{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.facility-links a,.facility-links button{flex:1;text-align:center;padding:12px 10px;border:1px solid #d2dfdb;border-radius:999px;background:#edf4f2;color:var(--onsen);font:inherit;font-size:13px;text-decoration:none;cursor:pointer;min-height:44px}
.google-detail{font-size:13px;margin:10px 0}.google-detail button{padding:10px 16px;border-radius:999px;border:1px solid #ddd;background:white;color:var(--onsen);cursor:pointer;min-height:44px;font:inherit}
.google-attribution{font-size:12px;color:#64736b;margin-top:8px}
.photo-viewer{position:fixed;inset:0;z-index:650;background:#162321f5;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}.photo-viewer[hidden]{display:none}.photo-viewer img{max-width:100%;max-height:80vh;object-fit:contain}.photo-viewer button{padding:12px 20px;background:white;border:0;border-radius:999px;margin-top:16px;font:inherit}
.visit-stamp{width:80px;height:80px;display:inline-block;border-radius:50%;background:url('/assets/visit-stamps.webp') no-repeat;background-size:269% auto;background-position:17% 35%}
.visit-stamp.gourmet{background-position:84% 35%}.stamp-badge.done{border:0;background:none}.stamp-badge .visit-stamp{width:36px;height:36px}
.stamp-cell{aspect-ratio:auto;min-height:130px;border-radius:20px;font-size:12px;padding:8px;background:white;min-width:0}.stamp-cell.earned{border:1px solid #d7e5dd;background:#f8faf7;color:var(--ink)}.stamp-cell .visit-stamp{width:68px;height:68px;flex-shrink:0}.stamp-cell .spot-caption{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.stamp-grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr))}
#stamp-overlay{background:#25363860;z-index:500}.stamp-card{background:#fffdf7;border:0;border-radius:4px;padding:24px 20px;box-shadow:0 15px 45px #25363835;width:min(86%,330px);max-width:330px;opacity:1;transform:rotate(-3deg);transition:none}.stamp-card .visit-stamp{width:210px;height:210px;margin:12px auto;display:block}.stamp-ttl{font-size:18px;color:var(--ink)}.stamp-sub{color:#64736b;line-height:1.5}.stamp-close{border-radius:999px;font-size:14px;font-weight:600}.stamp-sheet-label{font-size:13px;color:#64736b;margin-bottom:12px}
@keyframes inkImpact{0%{opacity:0;transform:scale(2.3) rotate(-14deg)}70%{opacity:.85;transform:scale(1.5) rotate(-11deg)}100%{opacity:1;transform:scale(.96) rotate(-8deg)}}
@keyframes inkSettle{0%{transform:scale(.96) rotate(-8deg)}50%{transform:scale(1.03) rotate(-8deg)}100%{transform:scale(1) rotate(-8deg)}}
@keyframes paperImpact{0%{transform:rotate(-3deg)}22%{transform:rotate(-3deg) scale(.94) translateY(9px)}55%{transform:rotate(-2deg) scale(1.025)}100%{transform:rotate(-3deg)}}
@keyframes screenImpact{0%,100%{translate:0 0}15%{translate:0 9px}35%{translate:-4px -5px}55%{translate:3px 3px}75%{translate:-2px -2px}}
.book-tabs{display:flex;gap:8px;margin-bottom:16px}.book-tabs button{flex:1;padding:12px;border-radius:999px;border:0;font:inherit;font-size:14px;background:white;color:var(--onsen);cursor:pointer}.book-tabs button.active{background:var(--onsen);color:white}
.cert-category{display:flex;gap:8px;margin-bottom:16px}.cert-category button{padding:10px 18px;border-radius:999px;border:1px solid #ddd;background:white;font:inherit;cursor:pointer}.cert-category button.active{background:var(--onsen);color:white}.cert-category button.gourmet.active{background:var(--gourmet)}
.cert-card{background:#fffdf7;border:1px solid #d9c99c;padding:18px 12px;text-align:center;border-radius:4px;margin-bottom:16px}.cert-title{font-size:22px;font-family:serif;letter-spacing:.18em}.cert-name{font-size:14px;margin:10px 0}.cert-count{font-size:13px;color:#64736b}.cert-seal{position:relative;width:220px;height:220px;margin:14px auto;overflow:hidden;border-radius:50%;max-width:100%}.cert-seal img{position:absolute;height:auto;max-width:none}.cert-card.locked{opacity:.5}.cert-grid{display:grid;grid-template-columns:1fr}.cert-replay{padding:10px 20px;border:0;border-radius:999px;color:var(--onsen);background:#edf4f2;font:inherit;cursor:pointer}.cert-progress{margin:8px 0 16px;font-size:14px;color:#64736b}
.loading-img{display:none}.loading-spinner{width:42px;height:42px;border:3px solid #dce6e1;border-top-color:var(--onsen);border-radius:50%;animation:loadingSpin .8s linear infinite}@keyframes loadingSpin{to{transform:rotate(360deg)}}
@media(max-width:400px){.header{gap:6px}.search-input{min-width:0}.pref-select{max-width:85px}.brand-mini{width:85px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.discovery-seal{width:210px;height:210px;margin:14px auto;border:5px double #07565B;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#07565B;background:#fffdf7;outline:2px dashed #b58b45;outline-offset:-12px;transform:rotate(-5deg)}.discovery-seal strong{font-size:26px}.discovery-seal small{font-size:12px;margin-top:10px}.discovery-symbol{font-size:45px;color:#b58b45;line-height:1.2}.locked-seal{width:210px;height:210px;max-width:100%;border:2px dashed #ccc;border-radius:50%;margin:14px auto;display:grid;place-items:center;font-size:20px;color:#657373}.suggest-item,.sug-item{display:block;width:100%;text-align:left;border:0;background:white;font:inherit;cursor:pointer;min-height:44px}.bb-btn img{height:20px;vertical-align:middle}

.facility-photo-frame{position:relative;background:var(--paper)}.contributor-seal{border-radius:50%}
.photo-section-label{font-weight:700;font-size:13px;margin:16px 0 8px;color:var(--ink)}
.photo-guidance{font-size:12px;line-height:1.6;color:#666;margin:6px 0}
.user-menu{position:fixed;top:56px;right:12px;z-index:220;background:white;border-radius:24px;box-shadow:0 6px 30px #0003;padding:14px;max-width:90vw;display:grid;gap:8px}
.user-menu button{border:0;background:var(--paper);border-radius:30px;padding:12px 18px;color:var(--ink);text-align:left;font:inherit}
.danger-btn{background:#9b302b!important}
#account-modal h3{font-size:15px;margin-top:24px}#account-modal p{font-size:13px;line-height:1.7}#account-modal .sheet,#report-modal .sheet{max-height:90vh;overflow-y:auto;padding-bottom:calc(22px + env(safe-area-inset-bottom))}
