:root{--sky:#1aa9e9;--sky-light:#e9f7fe;--navy:#052d63;--ink:#15304e;--muted:#5e748a;--line:#d8e8f2;--paper:#fff;--shadow:0 5px 22px #052d6326;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;color:var(--ink);background:#e3eff1}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer;color:var(--navy);background:var(--paper)}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #ffb128;outline-offset:3px}button svg,.search-box svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.map-shell{position:relative;width:100%;height:100vh;height:100dvh;isolation:isolate}.map{position:absolute;inset:0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;background:#e3eff1}.map.dragging{cursor:grabbing}.tile-layer,.marker-layer{position:absolute;inset:0;pointer-events:none}.tile-layer{z-index:1}.tile-layer img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;user-select:none;pointer-events:none}.marker-layer{z-index:2}.map-header{position:absolute;z-index:5;top:calc(12px + var(--safe-top));left:12px;right:12px;display:flex;align-items:stretch;gap:8px;pointer-events:none}.list-button{width:60px;display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;border-radius:17px;background:var(--navy);box-shadow:var(--shadow);color:#fff;pointer-events:auto;font-size:10px;font-weight:700}.list-button svg{width:21px;height:21px}.list-button span{line-height:1.05}.list-button small{font-size:8px;font-weight:500;margin-left:4px}.map-controls{position:absolute;right:14px;bottom:calc(69px + var(--safe-bottom));z-index:5;display:flex;align-items:center;flex-direction:column;gap:9px}.zoom-control{display:flex;flex-direction:column;overflow:hidden;border-radius:15px;box-shadow:var(--shadow);border:1px solid #ffffffb3}.zoom-control button{width:48px;height:46px;font-size:27px;font-weight:400}.zoom-control button+button{border-top:1px solid var(--line)}.fit-button{width:50px;min-height:57px;border-radius:15px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;font-weight:700}.map-hint{position:absolute;left:14px;bottom:calc(67px + var(--safe-bottom));z-index:4;background:#ffffffee;box-shadow:var(--shadow);border-radius:13px;padding:11px 14px;max-width:calc(100% - 89px);pointer-events:none;transition:opacity .2s}.map-hint strong{display:block;font-size:12px;font-weight:700;color:var(--navy)}.map-hint span{display:block;font-size:10px;margin-top:3px;color:var(--muted)}.map-hint.is-gone{opacity:0}.map-attribution{position:absolute;bottom:0;left:0;right:0;z-index:4;background:#ffffffec;padding:4px 8px calc(4px + var(--safe-bottom));display:flex;gap:2px 8px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:9px;line-height:1.5}.map-attribution a{color:var(--navy);text-decoration:none}.character-credit{font-size:8px;letter-spacing:-.02em;color:#4c6175}.map-scale{position:absolute;left:14px;bottom:calc(36px + var(--safe-bottom));z-index:4;font-size:9px;line-height:13px;font-weight:700;color:#1c354e;text-shadow:0 1px #fff,1px 0 #fff,0 -1px #fff,-1px 0 #fff;pointer-events:none}.map-scale i{display:block;border:solid #26394f;border-width:0 2px 2px;height:5px;box-shadow:0 1px #fff;width:70px}.map-notice{position:absolute;z-index:6;top:calc(91px + var(--safe-top));left:16px;right:16px;max-width:520px;margin:auto;padding:12px 38px 12px 14px;background:#fffbea;color:#695321;border:1px solid #ead39b;border-radius:12px;box-shadow:var(--shadow);font-size:12px;line-height:1.65}.map-notice button{position:absolute;right:4px;top:3px;width:32px;height:32px;font-size:23px;background:transparent;color:inherit}.map-marker,.map-cluster{position:absolute;left:0;top:0;pointer-events:auto;user-select:none;touch-action:none;will-change:transform}.map-marker{width:48px;height:55px;padding:2px 4px 12px;display:flex;align-items:center;justify-content:center;background:none;filter:drop-shadow(0 2px 2px #032b6440)}.map-marker img{max-width:40px;max-height:40px;width:auto;height:auto;pointer-events:none}.map-marker[data-kind="toilet"] img{background:#fff;border:2px solid #fff;border-radius:6px;padding:3px;width:35px;height:35px;object-fit:contain}.map-marker.is-provisional .map-marker:focus-visible{border-radius:12px}.map-cluster{border:2px solid #fff;width:45px;height:45px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--navy);border-radius:50%;color:#fff;box-shadow:0 0 0 4px #1aa9e92e,0 3px 7px #052d6338;line-height:1}.cluster-count{font-size:17px;font-weight:750}.cluster-caption{font-size:7px;letter-spacing:.07em;margin-top:3px}.sheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:600px;max-height:calc(100dvh - var(--safe-top) - 24px);background:#fff;border-radius:25px 25px 0 0;box-shadow:0 -8px 50px #00295d35;color:var(--ink);overflow:hidden;overscroll-behavior:contain}.sheet::backdrop{background:#06264c66;backdrop-filter:blur(2px)}.sheet[open]{animation:slide-in .18s ease-out}.sheet-inner{display:flex;flex-direction:column;max-height:calc(100vh - var(--safe-top) - 24px);max-height:calc(100dvh - var(--safe-top) - 24px);min-height:0}.sheet-grip{height:5px;width:36px;border-radius:5px;background:#b8d3e4;margin:10px auto 0;flex-shrink:0}.detail-header{position:relative;padding:15px 55px 18px 22px;flex-shrink:0;border-bottom:1px solid var(--line)}.spot-eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:10px;letter-spacing:.03em;color:var(--muted);font-weight:600}.number-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:25px;padding:0 6px;border-radius:7px;background:var(--sky-light);font-weight:800;font-size:12px;color:var(--navy)}.close-button{position:absolute;right:14px;top:14px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#edf6fb;font-size:28px;font-weight:400;line-height:1;color:var(--navy)}.detail-header h2{font-size:21px;line-height:1.5;margin:0;font-weight:750;overflow-wrap:anywhere;white-space:pre-line;color:var(--navy)}#spot-title-en{font-size:13px;line-height:1.55;margin:5px 0 0;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}.provisional-label{font-size:10px;color:#84611c;line-height:1.5;margin:8px 0 0;background:#fff4d5;border-radius:5px;padding:4px 7px;display:inline-block}.detail-scroll{padding:20px 22px 24px;overflow-y:auto;overflow-x:hidden;min-height:0;overscroll-behavior-y:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;touch-action:pan-y}.spot-photos{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}.spot-photos:empty{display:none}.photo-frame{margin:0;background:#eef6fa;border-radius:13px;overflow:hidden;min-height:70px;display:flex;align-items:center;justify-content:center}.photo-frame img{display:block;width:100%;height:auto;max-height:270px;object-fit:contain;object-position:center}.photo-error{font-size:12px;color:var(--muted);text-align:center;margin:24px}.description{font-size:15px;line-height:1.95;overflow-wrap:anywhere}.description p{margin:0 0 1em;white-space:pre-line}.description p:last-child{margin-bottom:0}.description:empty{display:none}.description-en{font-size:14px;line-height:1.8;color:#3e5870;border-top:1px solid var(--line);padding-top:20px;margin-top:23px}.description-en.is-first{border:0;padding-top:0;margin-top:0}.spot-facts{margin-top:26px;border-top:1px solid var(--line)}.spot-facts:empty{display:none}.fact-row{padding:14px 0;border-bottom:1px solid #e7eff5;font-size:13px;line-height:1.75}.fact-row dt{font-size:11px;color:var(--muted);font-weight:600;margin-bottom:3px}.fact-row dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}.website-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 0 1px;font-size:13px;font-weight:650;color:var(--navy);text-decoration:none}.website-link span:last-child{font-size:18px}.detail-footer{flex-shrink:0;padding:12px 18px calc(14px + var(--safe-bottom));border-top:1px solid var(--line);background:#fff}.primary-button{display:flex;gap:13px;align-items:center;justify-content:center;width:100%;min-height:54px;border-radius:13px;background:var(--navy);color:#fff;font-weight:700;font-size:15px}.primary-button small{font-size:10px;font-weight:450;margin-left:10px}.primary-button svg{width:19px;height:19px}.list-header{position:relative;padding:19px 22px 14px;border-bottom:1px solid var(--line);flex-shrink:0}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.12em;color:#007eb7}.list-header h2{margin:6px 0 0;font-size:23px;color:var(--navy);line-height:1.4}.list-header p{font-size:13px;color:var(--muted);margin:3px 0 15px}.search-box{display:flex;align-items:center;gap:9px;padding:0 12px;min-height:46px;border-radius:11px;background:#f0f6fa;border:1px solid #dceaf3;color:var(--muted)}.search-box svg{width:19px;height:19px}.search-box input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:var(--ink);font-size:16px;padding:12px 0;box-shadow:none}.search-box input::placeholder{font-size:13px;color:#75879a}.list-count{font-size:11px;color:var(--muted);padding-top:10px}.spot-list{overflow:auto;overscroll-behavior:contain;min-height:0;padding:3px 14px calc(18px + var(--safe-bottom));-webkit-overflow-scrolling:touch}.spot-list-item{width:100%;padding:14px 7px;display:flex;align-items:center;gap:12px;text-align:left;border-bottom:1px solid #e7eff5;background:#fff}.spot-list-item img{width:38px;height:38px;object-fit:contain;flex-shrink:0}.spot-list-item-copy{min-width:0;flex:1}.spot-list-item-copy b{display:block;font-size:14px;line-height:1.6;color:var(--navy);font-weight:650;overflow-wrap:anywhere}.spot-list-item-copy small{display:block;font-size:11px;line-height:1.5;margin-top:3px;color:var(--muted);overflow-wrap:anywhere}.spot-list-item-number{font-size:11px;min-width:24px;color:var(--muted)}.spot-list-item-arrow{font-size:19px;color:#7792a9}.list-empty{font-size:14px;line-height:1.8;color:var(--muted);text-align:center;margin:30px 10px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.no-script{position:fixed;top:120px;left:20px;right:20px;background:#fff;padding:30px;z-index:30}
@keyframes slide-in{from{transform:translateY(30px);opacity:.5}to{transform:translateY(0);opacity:1}}
@media(min-width:680px){.map-header{max-width:395px;right:auto;width:calc(100% - 24px)}.map-controls{right:22px;bottom:65px}.map-hint{left:22px;bottom:65px}.map-scale{left:22px}.sheet{max-width:540px;margin:auto;border-radius:23px;max-height:89vh;max-height:89dvh}.sheet-inner{max-height:89vh;max-height:89dvh}.detail-header{padding:18px 65px 20px 28px}.detail-scroll{padding:23px 28px 28px}.detail-header h2{font-size:23px}.detail-footer{padding-bottom:18px}.spot-list{padding-bottom:18px}.map-notice{top:25px;left:auto;right:20px;max-width:330px}.photo-frame img{max-height:290px}}
@media(max-width:359px){.list-button{width:54px}.detail-header{padding-left:18px}.detail-header h2{font-size:19px}.detail-scroll{padding:17px 18px 22px}.primary-button small{margin-left:6px}.map-attribution{font-size:8px}.character-credit{font-size:7px}}
@media(max-height:500px) and (orientation:landscape){.map-header{top:calc(7px + var(--safe-top));max-width:350px;width:calc(100% - 24px)}.map-hint{display:none}.map-controls{bottom:35px;right:10px;gap:6px}.zoom-control button{height:39px;width:44px}.fit-button{min-height:44px;width:44px}.fit-button span{display:none}.sheet,.sheet-inner{max-height:calc(100dvh - 12px)}.sheet{max-width:600px;margin:auto;border-radius:18px}.sheet-grip{display:none}.detail-header{padding:10px 60px 10px 18px}.spot-eyebrow{margin-bottom:4px}.detail-header h2{font-size:17px;line-height:1.3}#spot-title-en{font-size:11px;line-height:1.35;margin-top:3px}.detail-footer{padding:7px 14px calc(7px + var(--safe-bottom))}.primary-button{min-height:40px}.detail-scroll{padding:12px 18px 18px}.photo-frame img{max-height:180px}.list-header{padding:12px 18px 9px}.list-header h2{font-size:19px}.list-header p{margin-bottom:9px}.eyebrow{display:none}.search-box{min-height:40px}.search-box input{padding:8px 0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.detail-scroll.is-empty{display:none}


/* Revision 02: supplied brand artwork, contextual navigation and location. */
.map-header{left:12px;right:12px;top:calc(12px + var(--safe-top));width:auto;max-width:none;align-items:flex-start;justify-content:space-between;gap:16px}
.brand-art{margin:0;padding:0;width:84px;flex:0 0 auto;line-height:0;box-shadow:0 2px 12px #052d6322;background:#fff;border-radius:2px;overflow:hidden;pointer-events:none}
.brand-art img{display:block;width:100%;height:auto}
.header-actions{display:flex;gap:12px;align-items:center;pointer-events:none}
.header-actions button{pointer-events:auto}
.list-button{width:54px;height:52px;border-radius:13px;gap:4px;background:#fff;color:var(--navy);border:1px solid #d7e8f0}
.list-button span{display:block;line-height:1.15}
.list-button small{margin-left:4px}
.ar-button{width:72px;height:75px;padding:0;background:transparent;border-radius:50%;filter:drop-shadow(0 2px 4px #052d6326);display:block}
.ar-button img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.ar-button:active{filter:brightness(.95) drop-shadow(0 1px 2px #052d6326)}
.map-notice{top:calc(110px + var(--safe-top));left:14px;right:14px;max-width:520px}
.locate-button{width:50px;min-height:57px;padding:7px 3px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;font-size:10px;font-weight:650;box-shadow:var(--shadow);border-radius:15px}
.locate-button.has-location{background:var(--navy);color:#fff}
.locate-button.is-loading{opacity:.8}
.locate-button.is-loading svg{animation:location-wait 1.4s linear infinite}
.location-layer{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.marker-layer{z-index:3}
.location-accuracy{position:absolute;left:0;top:0;border:1px solid #187ee48c;background:#187ee420;border-radius:50%;pointer-events:none}
.location-point{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none}
.location-point span{position:absolute;left:-9px;top:-9px;width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:#1680ec;box-shadow:0 0 0 1px #0059b633,0 2px 6px #052d6366}
.location-status{position:absolute;left:14px;bottom:calc(67px + var(--safe-bottom));max-width:calc(100% - 94px);z-index:4;display:flex;align-items:center;gap:8px;padding:8px 6px 8px 12px;border-radius:12px;background:#ffffffef;box-shadow:var(--shadow);font-size:11px;line-height:1.55;white-space:pre-line}
.location-status button{width:36px;min-height:40px;flex-shrink:0;background:transparent;font-size:23px}
.map-marker-label{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);width:max-content;max-width:180px;padding:6px 9px;border:1px solid var(--navy);border-radius:8px;color:var(--navy);background:#fff;box-shadow:var(--shadow);font-size:11px;line-height:1.5;font-weight:650;pointer-events:none}
.map-marker.is-selected{filter:drop-shadow(0 2px 4px #052d6344)}
.map-marker.is-selected::before{content:"";position:absolute;inset:-4px -3px 3px;border:3px solid var(--navy);border-radius:50%;background:#ffffffa6;z-index:-1;box-shadow:0 0 0 5px #1aa9e945}
.map-marker.is-selected .map-marker-label{display:block}
.list-detail-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:10px}
.secondary-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:54px;width:100%;padding:6px;border:1.5px solid var(--navy);border-radius:12px;background:#fff;color:var(--navy);font-size:14px;font-weight:650}
.list-detail-actions .primary-button{gap:6px;padding:6px;font-size:14px;border-radius:12px}
.list-detail-actions button svg{width:17px;height:17px}
.list-detail-actions button span{min-width:0}
.list-detail-actions button small{display:block;margin:3px 0 0;font-size:10px;font-weight:400;line-height:1.2}
.text-button{display:flex;gap:6px;align-items:center;justify-content:center;min-height:42px;margin:4px auto -5px;padding:5px 10px;color:var(--muted);background:none;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.text-button svg{width:14px;height:14px}
.text-button small{font-size:10px;margin-left:6px}
@keyframes location-wait{to{transform:rotate(360deg)}}
@media(min-width:680px){
  .map-header{left:22px;right:22px;top:calc(16px + var(--safe-top))}
  .brand-art{width:92px}.ar-button{width:80px;height:83px}
  .map-notice{top:calc(120px + var(--safe-top));left:auto;right:22px;max-width:360px}
  .location-status{left:22px;bottom:calc(65px + var(--safe-bottom))}
}
@media(max-width:359px){
  .map-header{left:10px;right:10px;gap:10px}.brand-art{width:74px}
  .ar-button{width:64px;height:67px}.header-actions{gap:10px}
  .list-button{width:50px;height:50px}
  .list-detail-actions{gap:8px;grid-template-columns:1fr 1.16fr}
  .list-detail-actions button{font-size:12px;gap:5px}.list-detail-actions button svg{width:15px}
  .location-status{font-size:10px;left:10px}
}
@media(max-height:500px) and (orientation:landscape){
  .map-header{top:calc(7px + var(--safe-top));max-width:none;width:auto;left:12px;right:12px}
  .brand-art{width:61px}.ar-button{width:58px;height:61px}.list-button{width:46px;height:44px}
  .map-notice{top:calc(78px + var(--safe-top));left:85px;right:85px;max-width:480px;font-size:11px;padding-top:7px;padding-bottom:7px}
  .map-controls{gap:6px}.locate-button{min-height:44px;width:44px}.locate-button span{display:none}
  .location-status{bottom:calc(55px + var(--safe-bottom))}
  .detail-footer[data-origin="list"]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
  .list-detail-actions button{min-height:44px;font-size:12px}.list-detail-actions button small{font-size:9px}
  .text-button{margin:0;min-height:44px;font-size:10px;padding:4px}
  .text-button svg{display:none}.text-button small{display:block;margin:2px 0 0;font-size:9px}
}

/* Enlarge stamp markers without changing other marker sizes. */
.map-marker[data-kind="stamp-blue"] img,
.map-marker[data-kind="stamp-orange"] img {
  transform: scale(1.5);
  transform-origin: center bottom;
}
