/* POTALK spot portal. Mobile-first design matching the supplied three-section mockup. */
.spot-detail-page {
  margin: 0;
  background: #e9eef2;
  color: #18212b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.spot-app { width: min(100%, 430px); min-height: 100dvh; margin: auto; padding-bottom: 92px; background: #fff; box-shadow: 0 10px 35px #13232f18; }
.spot-app a { color: inherit; }
.spot-app h1, .spot-app h2, .spot-app p { margin-top: 0; }
.spot-app__error { min-height: 80vh; padding: 32px 20px; }
.spot-app__back-link { display: inline-block; margin-bottom: 24px; color: #1266cd!important; }
.spot-app__error h1 { font-size: 20px; line-height: 1.7; }
.spot-app__hero { position: relative; height: 252px; overflow: hidden; background: linear-gradient(135deg, #1c715e 0%, #12507d 50%, #a6c27d 100%); }
.spot-app__hero > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.spot-app__hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#06142070 0%,transparent 27%,transparent 70%,#071b2b44 100%); }
.spot-app__back { position: absolute; z-index: 2; top: calc(22px + env(safe-area-inset-top)); left: 15px; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: #fffffff2; color: #263142!important; font-size: 27px; line-height: 1; text-decoration: none; box-shadow: 0 4px 15px #071a2722; }
.spot-app__brand { position: absolute; z-index: 2; top: calc(32px + env(safe-area-inset-top)); left: 69px; color: #fff; font-size: 13px; font-weight: 850; letter-spacing: .13em; text-shadow: 0 1px 5px #0007; }
.spot-app__photo-count { position: absolute; z-index: 2; right: 14px; bottom: 16px; padding: 5px 11px; border-radius: 18px; color: #fff; background: #14252dc9; font-size: 12px; font-weight: 750; }
.spot-app__hero-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; background: radial-gradient(circle at 25% 25%,#fffffff0 0 2px,transparent 3px),linear-gradient(130deg,#174c72,#1b8666); }
.spot-app__hero-fallback > span { font-size: 86px; font-weight: 300; opacity: .8; }
.spot-app__hero-fallback strong { letter-spacing: .17em; font-size: 12px; }
.spot-app__hero-fallback small { font-size: 12px; }
.spot-app__identity { position: relative; z-index: 3; margin-top: -17px; padding: 15px 18px 12px; background: #fff; border-radius: 18px 18px 0 0; }
.spot-app__draft { padding: 7px 9px; border-radius: 8px; background: #fff2d9; color: #985c11; font-size: 12px; }
.spot-app__eyebrow { margin-bottom: 5px; color: #087aa5; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.spot-app__identity h1 { margin-bottom: 7px; font-size: clamp(22px, 6vw, 28px); line-height: 1.3; font-weight: 850; letter-spacing: -.04em; }
.spot-app__address { display: flex; align-items: flex-start; gap: 5px; margin-bottom: 11px; color: #525f6c; font-size: 12px; line-height: 1.6; }
.spot-app__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.spot-app__tags span { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: #e7f2ff; color: #1360bc; font-size: 11px; font-weight: 750; }
.spot-app__tags span:first-child { background: #e5f7e9; color: #178356; }
.spot-app__score { margin: 0 12px; padding: 0 0 14px; border-bottom: 1px solid #edf1f4; }
.spot-app__score-head { display: flex; justify-content: space-between; align-items: center; min-height: 97px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(125deg,#fff0f4,#ffe6ef); }
.spot-app__score-head > div > span { display: block; font-size: 12px; font-weight: 900; letter-spacing: -.02em; }
.spot-app__score-head strong { display: block; font-size: 57px; font-weight: 900; line-height: 1.18; letter-spacing: -.045em; }
.spot-app__score-head strong small { margin-left: 4px; font-size: 16px; font-weight: 650; }
.spot-app__score-head strong.pending { margin-top: 8px; color: #637080; font-size: 25px; letter-spacing: 0; }
.spot-app__score-emblem { color: #efb22b; font-size: 52px; line-height: 1; }
.spot-app__rating-list { margin-top: 14px; }
.spot-app__rating-list h2 { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 16px; }
.spot-app__hint { color: #7891a1; font-size: 14px; }
.spot-app__rating-row { display: flex; align-items: center; gap: 10px; min-height: 37px; padding: 4px 9px; border-bottom: 1px solid #e8edf3; background: #f9fbfd; font-size: 13px; font-weight: 800; }
.spot-app__rating-row:first-of-type { border-radius: 11px 11px 0 0; }
.spot-app__rating-row:last-child { border-radius: 0 0 11px 11px; border-bottom: 0; }
.spot-app__rating-icon { display: grid; place-items: center; width: 27px; color: #116bcb; font-size: 20px; }
.spot-app__rating-status { display: inline-flex; align-items: center; min-height: 27px; margin-left: auto; padding: 4px 9px; border-radius: 999px; background: #e7f8f0; color: #17734f; font-size: 11px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.spot-app__rating-status.is-pending { background: #edf1f5; color: #6b7a88; }
.spot-app__verification { display: flex; align-items: center; gap: 12px; margin-top: 13px; padding: 12px 14px; border-radius: 12px; background: #e7f8f0; color: #178458; }
.spot-app__verification.is-checking { background: #fff5e2; color: #986315; }
.spot-app__verification > span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; color: #fff; background: #159366; font-size: 23px; font-weight: 850; }
.spot-app__verification.is-checking > span { background: #d5a03c; }
.spot-app__verification strong, .spot-app__verification small { display: block; }
.spot-app__verification strong { font-size: 13px; }
.spot-app__verification small { margin-top: 2px; color: #697b80; font-size: 11px; }
.spot-app__panel { margin: 0 12px; padding: 19px 7px 18px; border-bottom: 9px solid #f4f6f8; box-shadow: none; }
.spot-app__panel > h2, .spot-app__section-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; font-weight: 850; }
.spot-app__section-icon { color: #096ad5; font-size: 21px; font-weight: 900; }
.spot-app__sub { margin: 6px 0 9px; color: #6c7883; font-size: 11px; line-height: 1.65; }
.spot-app__radius-tabs { display: flex; gap: 5px; padding: 4px; border-radius: 11px; background: #edf3f8; }
.spot-app__radius-tabs a { display: grid; place-items: center; flex: 1; min-height: 39px; border-radius: 8px; color: #5b6d7b; font-size: 13px; font-weight: 850; text-decoration: none; }
.spot-app__radius-tabs a.is-active { background: #166cdb; color: #fff; box-shadow: 0 4px 10px #0e63d233; }
.spot-app__radius-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-top: 13px; }
.spot-app__radius-metrics > div { min-width: 0; padding: 11px 8px; border-radius: 10px; background: #f2f7fc; text-align: center; }
.spot-app__radius-metrics span { display: block; color: #667889; font-size: 10px; font-weight: 750; }
.spot-app__radius-metrics b { display: block; margin-top: 7px; color: #156bd7; font-size: 24px; line-height: 1.1; }
.spot-app__radius-metrics b small { margin-left: 2px; color: #49647f; font-size: 10px; }
.spot-app__note, .spot-app__pending { margin: 11px 0 0; color: #776c55; background: #fff7ea; border-radius: 10px; padding: 10px 12px; font-size: 11px; line-height: 1.7; }
.spot-app__section-heading { display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.spot-app__section-heading a { margin-bottom: 9px; color: #1265c6!important; font-size: 11px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.spot-app__map { position: relative; height: 247px; overflow: hidden; border-radius: 12px; background: #e6f1e9; isolation: isolate; }
.spot-app__map-loading { display: grid; place-items: center; height: 100%; color: #566b61; font-size: 12px; }
.spot-app__map-marker { display: grid; place-items: center; width: 32px; height: 32px; border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #e74653; box-shadow: 0 2px 9px #1b2a2e4b; }
.spot-app__map-marker::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.spot-app__route-box { display: flex; align-items: center; gap: 10px; margin: 13px 0 8px; color: #1d2b37; }
.spot-app__route-box > span { font-size: 23px; }
.spot-app__route-box strong, .spot-app__route-box small { display: block; }
.spot-app__route-box strong { font-size: 12px; }
.spot-app__route-box small { color: #657786; font-size: 11px; }
.spot-app__route-link { display: grid; place-items: center; min-height: 44px; border-radius: 10px; background: #146bdc; color: #fff!important; font-size: 13px; font-weight: 850; text-decoration: none; }
.spot-app__amenities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 0; margin: 0; list-style: none; }
.spot-app__amenity { display: grid; grid-template-columns: 17px minmax(0,1fr); grid-template-areas: "icon label" "status status"; align-content: center; align-items: center; gap: 4px; min-height: 58px; padding: 8px 7px; border: 1px solid #e3e7eb; border-radius: 9px; background: #f4f5f7; color: #69737d; }
.spot-app__amenity-label { grid-area: label; font-size: 11px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.spot-app__amenity .spot-app__amenity-icon { grid-area: icon; font-size: 17px; line-height: 1; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Emoji", sans-serif; }
.spot-app__amenity-icon svg { display: block; width: 17px; height: 17px; }
.spot-app__amenity small { grid-area: status; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.spot-app__amenity.is-available, .spot-app__amenity.is-limited { border-color: #cce5d9; background: #edf7f1; color: #176244; }
.spot-app__amenity.is-unavailable .spot-app__amenity-icon, .spot-app__amenity.is-unlisted .spot-app__amenity-icon { filter: grayscale(1); }
.spot-app__facility-legend { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 0 0 9px; color: #69737d; font-size: 10px; line-height: 1.5; }
.spot-app__facility-legend .is-available { color: #176244; font-weight: 750; }
.spot-app__facility-note { margin: 8px 0 0; color: #69737d; font-size: 10px; line-height: 1.5; }
.spot-app__facility-station { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #edf0f2; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.spot-app__facility-station strong { margin: 0 5px; }
.spot-app__facility-station svg { width: 15px; height: 15px; vertical-align: -3px; color: #176244; }
@media (max-width: 359px) {
  html[lang="en"] .spot-app__amenity-label { font-size: 10px; }
}
.spot-app__data-list { margin: 0; }
.spot-app__data-list > div { display: flex; align-items: flex-start; gap: 10px; padding: 10px 3px; border-bottom: 1px solid #e6ebf0; font-size: 12px; }
.spot-app__data-list > div:last-child { border-bottom: 0; }
.spot-app__data-list dt { flex: 0 0 33%; color: #506475; }
.spot-app__data-list dd { min-width: 0; margin: 0; color: #17212b; overflow-wrap: anywhere; }
.spot-app__data-list dd a { color: #1269cc!important; text-decoration: none; }
.spot-app__comment { color: #394954; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.spot-app__gallery-main { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 13px; background: #edf3f7; cursor: pointer; }
.spot-app__gallery-main img { display: block; width: 100%; height: 210px; object-fit: cover; }
.spot-app__gallery-main > span { position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 99px; color: #fff; background: #0f2131b5; font-size: 11px; font-weight: 700; }
.spot-app__gallery-thumbs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 7px; }
.spot-app__thumb { padding: 0; overflow: hidden; border: 3px solid transparent; border-radius: 9px; background: #f0f5fa; cursor: pointer; }
.spot-app__thumb.is-active { border-color: #176bd7; }
.spot-app__thumb img { display: block; width: 100%; height: 83px; object-fit: cover; }
.spot-app__more-photos { display: block; width: 100%; min-height: 37px; margin-top: 8px; border: 0; border-radius: 9px; background: #f1f6fd; color: #1469cf; font-size: 12px; font-weight: 750; cursor: pointer; }
.spot-app__photo-credit { margin-top: 12px; color: #6a7580; font-size: 10px; line-height: 1.7; }
.spot-app__photo-credit summary { cursor: pointer; }
.spot-app__photo-credit a { color: #1469cb!important; overflow-wrap: anywhere; }
.spot-app__photo-credit p { margin: 6px 0; }
.spot-app__photo-empty { margin: 0; padding: 14px 11px; border-radius: 10px; background: #f5f7fa; color: #637383; font-size: 12px; line-height: 1.7; }
.spot-app__photo-dialog { width: min(94vw,700px); max-height: 88dvh; padding: 12px; border: 0; border-radius: 15px; background: #fff; color: #18212b; }
.spot-app__photo-dialog::backdrop { background: #09131ce6; }
.spot-app__dialog-close { display: block; margin-left: auto; margin-bottom: 8px; padding: 7px 12px; border: 0; border-radius: 8px; background: #e9eef4; cursor: pointer; }
.spot-app__photo-dialog img { display: block; width: 100%; max-height: 69dvh; object-fit: contain; }
.spot-app__photo-dialog p { margin: 8px 0 0; color: #536575; font-size: 12px; }
.spot-app__nearby-item { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid #e6ebf0; text-decoration: none; }
.spot-app__nearby-item:last-child { border-bottom: 0; }
.spot-app__nearby-icon { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; background: linear-gradient(135deg,#c9e8d8,#5ba88a); color: #fff; font-size: 30px; }
.spot-app__nearby-item > span:nth-child(2) { flex: 1; min-width: 0; }
.spot-app__nearby-item strong, .spot-app__nearby-item small { display: block; }
.spot-app__nearby-item strong { color: #18212b; font-size: 13px; }
.spot-app__nearby-item small { margin-top: 4px; color: #627687; font-size: 11px; }
.spot-app__nearby-item b { color: #6a7b88; font-size: 26px; }
.spot-app__data .spot-app__disclaimer { margin-top: 15px; padding: 12px; border-radius: 11px; background: #fff6df; color: #655539; font-size: 11px; line-height: 1.8; }
.spot-app__data .spot-app__disclaimer strong { color: #a13328; font-size: 12px; }
.spot-app__footer { position: fixed; z-index: 1200; right: 0; bottom: 0; left: 0; display: flex; gap: 7px; width: min(100%,430px); min-height: calc(71px + env(safe-area-inset-bottom)); margin: 0 auto; padding: 9px 11px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid #dbe5ed; background: #fffffff5; backdrop-filter: blur(15px); box-shadow: 0 -5px 18px #11273818; }
.spot-app__footer a { display: grid; place-items: center; flex: 1; min-height: 46px; border-radius: 10px; color: #fff!important; font-size: 13px; font-weight: 850; text-decoration: none; }
.spot-app__footer-map { background: #11946d; }
.spot-app__footer-route { background: #176ddb; }
.spot-app a:focus-visible, .spot-app button:focus-visible { outline: 3px solid #69a5ed; outline-offset: 2px; }
@media (max-width: 380px) { .spot-app__radius-metrics b { font-size: 21px; } .spot-app__hero { height: 242px; } }
@media (prefers-reduced-motion: reduce) { .spot-app * { scroll-behavior: auto!important; } }
/* Floating action in the supplied first-view mockup (disabled until favorites exist). */
.spot-app__favorite {
  position: absolute; z-index: 3; top: calc(22px + env(safe-area-inset-top)); right: 15px;
  display: grid; place-items: center; width: 43px; height: 43px;
  border: 0; border-radius: 50%; background: #fffffff2; color: #ef4058;
  box-shadow: 0 4px 15px #071a2722; font-size: 29px; line-height: 1;
}
.spot-app__language { position:absolute; z-index:3; top:calc(73px + env(safe-area-inset-top)); right:15px; }
.spot-app__language select { max-width:118px; height:34px; padding:0 8px; border:1px solid #ffffffb8; border-radius:10px; background:#fffffff2; color:#263142; font-size:11px; font-weight:750; box-shadow:0 3px 12px #071a2722; }
.spot-app__hero > img { object-position: center 48%; }
.spot-app__score { margin-top: 1px; }
.spot-app__panel { scroll-margin-top: 12px; }
@media(min-width:650px) {
  .spot-detail-page .spot-app { margin-top: 14px; margin-bottom: 14px; border-radius: 22px; overflow: clip; }
}

/* Keep the reference's three visible photo thumbnails; additional images open in the gallery. */
.spot-app__gallery-thumbs .spot-app__thumb:nth-child(n+4) { display: none; }

.spot-app__recommend-tags{display:flex;flex-wrap:wrap;gap:7px}
.spot-app__recommend-tags span{display:inline-flex;align-items:center;min-height:29px;padding:5px 10px;border-radius:999px;background:#e9f3ff;color:#126dc5;font-size:11px;font-weight:750}
.spot-app__recommend-tags span.is-pending{background:#f0f3f7;color:#627589}

/* Mockup icon palette and crown, without inventing rating values. */
.spot-app__score-emblem svg { display:block; width:53px; height:53px; }
.spot-app__rating-row:nth-of-type(1) .spot-app__rating-icon { color:#f18a25; }
.spot-app__rating-row:nth-of-type(2) .spot-app__rating-icon { color:#166ed6; }
.spot-app__rating-row:nth-of-type(3) .spot-app__rating-icon { color:#ed7d27; }
.spot-app__rating-row:nth-of-type(4) .spot-app__rating-icon { color:#17966d; }
.spot-app__rating-row:nth-of-type(5) .spot-app__rating-icon { color:#efa72b; }

/* 2026-10 feedback v3 */
.spot-app__tags .spot-app__featured {
  background: #fff3bd;
  color: #806000;
}
.spot-app__rating-icon {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Emoji", sans-serif;
  font-size: 18px;
}

/* Five independent activity ratings, including new spots without assessments. */
.spot-app__activity-heading h2 { margin:0 0 8px; font-size:15px; }
.spot-app__rating-row { min-height:34px; gap:8px; padding:4px 9px; font-size:12px; }
.spot-app__rating-icon { flex:0 0 23px; text-align:center; font-size:19px; }
.spot-app__rating-label { min-width:0; overflow-wrap:anywhere; }
.spot-app__rating-status { flex:0 0 auto; justify-content:center; min-width:30px; min-height:23px; padding:2px 8px; font-size:14px; }
.spot-app__rating-status.grade-s { background:#f43f67; color:white; }
.spot-app__rating-status.grade-a { background:#df8a08; color:white; }
.spot-app__rating-status.grade-b { background:#2273d5; color:white; }
.spot-app__rating-status.grade-c { background:#687789; color:white; }
.spot-app__rating-status.is-pending { font-size:10px; font-weight:600; }
.spot-app__activity-help { margin-top:8px; color:#516275; font-size:11px; }
.spot-app__activity-help summary { cursor:pointer; padding:5px 0; min-height:28px; }
.spot-app__activity-help p { line-height:1.65; margin:6px 0; }
.spot-app__activity-date { margin:5px 0 0; color:#64748b; font-size:10px; }

.spot-app__rating-icon svg { display:block; margin:auto; }
.spot-app__rating-list .spot-app__rating-row:nth-of-type(2) .spot-app__rating-icon { color:#e57812; }
.spot-app__rating-list .spot-app__rating-row:nth-of-type(3) .spot-app__rating-icon { color:#2273d5; }
.spot-app__rating-list .spot-app__rating-row:nth-of-type(4) .spot-app__rating-icon { color:#e57812; }
.spot-app__rating-list .spot-app__rating-row:nth-of-type(5) .spot-app__rating-icon { color:#17966d; }
.spot-app__rating-list .spot-app__rating-row:nth-of-type(6) .spot-app__rating-icon { color:#df8a08; }
