@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');
:root{font-family:'DM Sans',system-ui,-apple-system,sans-serif;color:#26323c;background:#f4f1e9;font-synthesis:none;--midnight:#101b2b;--midnight2:#1b2a3b;--gold:#b88a4d;--gold2:#e9c58a;--cream:#f6f2e8;--line:#e5e4df;--shadow:0 28px 70px rgba(16,27,43,.16)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
#app{height:100dvh;min-height:460px;display:flex;flex-direction:column;overflow:hidden}.masthead{height:80px;flex:none;background:var(--midnight);color:white;display:flex;align-items:center;gap:30px;padding:0 30px;border-bottom:1px solid rgba(255,255,255,.08);position:relative;z-index:1010}.brand{display:flex;align-items:center;gap:12px;min-width:290px}.brand-seal{width:45px;height:45px;border:1px solid rgba(233,197,138,.7);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--gold2)}.brand-seal svg{width:30px}.brand-name{font-weight:800;letter-spacing:1.65px;font-size:15px;white-space:nowrap}.brand-name span{color:var(--gold2)}.brand-tag{font-size:10px;letter-spacing:.3px;color:#b5c1c9;margin-top:4px}.header-stats{display:flex;align-items:center;gap:22px;margin-left:auto}.header-stats>div{display:flex;flex-direction:column;align-items:flex-start}.header-stats strong{font-size:20px;font-weight:700;line-height:1.1}.header-stats small{font-size:10px;color:#a7b5c2;margin-top:5px}.stat-divider{height:30px;width:1px;background:#30404d}.header-actions{display:flex;gap:10px;align-items:center}.lang-select{height:42px;color:white;background:#233245;border:1px solid #3c4c5c;border-radius:10px;padding:0 10px;max-width:154px}.btn{border-radius:11px;border:1px solid transparent;padding:12px 15px;font-size:12px;font-weight:750;transition:transform .15s,background .15s;display:inline-flex;gap:8px;align-items:center;justify-content:center}.btn:hover{transform:translateY(-1px)}.btn-gold{background:var(--gold2);color:#20283b}.btn-gold:hover{background:#f7d5a6}.btn-outline{color:#344052;border-color:#d8d9d6;background:white}.btn-outline:hover{background:#f8f6ef}
.workspace{flex:1;display:flex;min-height:0;position:relative}.sidebar{width:386px;flex-shrink:0;background:#fff;display:flex;flex-direction:column;border-right:1px solid #e7e7e2;z-index:500}.sidebar-intro{padding:26px 24px 20px}.eyebrow,.section-heading,.results-heading,.modal-kicker{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#9a7950}.eyebrow{display:flex;align-items:center;gap:8px}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:#78a28d;box-shadow:0 0 0 4px #d9e9dd}.sidebar-intro h1{font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:35px;line-height:1.1;letter-spacing:-1.2px;margin:15px 0 12px;color:#162537}.sidebar-intro h1 em{font-style:italic;color:#bb8b54}.sidebar-intro p{font-size:12px;line-height:1.65;color:#75808d;max-width:315px}.search-wrap{margin:0 24px 22px;position:relative}.search-wrap input{width:100%;border-radius:11px;background:#f4f5f3;border:1px solid #e3e7e5;padding:14px 32px 14px 39px;font-size:12px;outline:none}.search-wrap input:focus{border-color:#c59b6e;box-shadow:0 0 0 3px #c59b6e1f}.search-icon{position:absolute;left:13px;top:5px;font-size:27px;color:#7f8991}.search-wrap button{position:absolute;right:9px;top:7px;border:0;background:transparent;font-size:19px;color:#88949d}.section-heading{padding:0 24px 11px;display:flex;justify-content:space-between}.section-heading button{font-size:11px;border:0;background:none;color:#9e784a;font-weight:800}.filters{padding:0 24px 18px;display:flex;flex-wrap:wrap;gap:7px}.filter{border:1px solid #e6e8e6;background:white;color:#5d6873;padding:8px 9px;font-size:11px;border-radius:9px;display:inline-flex;align-items:center;gap:5px;transition:.2s}.filter .count{font-size:10px;color:#9ba6ae}.filter.active{background:#172a3d;color:white;border-color:#172a3d}.filter.active .count{color:#b9c5d2}.sidebar-divider{height:1px;background:#efefed}.results-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 24px 13px;color:#57616a;letter-spacing:1.1px}.results-heading>div{display:flex;align-items:center;gap:9px}.result-number{font-size:10px;background:#edf1f1;color:#617883;padding:3px 7px;border-radius:5px}.results-heading select{max-width:115px;border:0;background:transparent;color:#8c99a1;font-size:11px;text-align:right;outline:none}.results{flex:1;min-height:70px;overflow-y:auto;padding:0 13px 8px 24px;scrollbar-color:#ddd transparent;scrollbar-width:thin}.place-row{width:100%;border:1px solid transparent;background:white;border-radius:11px;padding:11px 9px;display:flex;gap:11px;text-align:left;transition:.15s}.place-row:hover{background:#f8f6f1}.place-row.selected{background:#f7f2e8;border-color:#e5d2b9}.place-icon{flex-shrink:0;width:44px;height:45px;display:grid;place-items:center;border-radius:11px;font-size:22px}.place-copy{min-width:0;flex:1}.place-name{font-size:12px;font-weight:800;color:#263341;line-height:1.4}.place-meta{margin-top:4px;color:#9aa0a4;font-size:10px}.place-teaser{color:#697685;font-size:10px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:5px}.place-chevron{color:#b3b9bd;align-self:center}.sidebar-bottom{padding:13px 24px 18px;border-top:1px solid #eff0ec}.sidebar-bottom .btn{width:100%}.microcopy{font-size:10px;line-height:1.5;color:#929da4;margin-top:7px;text-align:center}
.map-panel{flex:1;min-width:0;position:relative;background:#e3e6e2;overflow:hidden}#map{height:100%;width:100%;z-index:1}.map-panel.dark-tiles .leaflet-tile-pane{filter:grayscale(.75) invert(.96) hue-rotate(180deg) brightness(.88) contrast(.9)}.leaflet-control-attribution{display:none!important}.map-floating{position:absolute;z-index:400;pointer-events:none}.map-floating>*{pointer-events:auto}.top-left{left:30px;top:30px;background:rgba(16,27,43,.96);color:white;border-radius:15px;padding:17px 22px 19px;box-shadow:0 16px 38px #152a3640;min-width:255px}.map-kicker{color:#d8b88d;font-size:9px;letter-spacing:2px;font-weight:800}.map-title{font-family:'Playfair Display',Georgia,serif;font-size:22px;margin-top:6px}.map-sub{font-size:10px;color:#b8c3c9;margin-top:9px;display:flex;align-items:center;gap:7px}.live-dot{background:#82bba0;width:6px;height:6px;border-radius:50%}.top-right{right:24px;top:28px;display:flex;flex-direction:column;gap:9px}.round-action{width:44px;height:44px;box-shadow:0 8px 23px #1e2d3a25;border:0;border-radius:11px;background:white;color:#253748;font-size:23px}.bottom-left{bottom:42px;left:25px}.map-key{display:flex;align-items:center;gap:7px;padding:12px 14px;border-radius:10px;background:#fff;box-shadow:0 10px 35px #1e2d3a20;color:#57636c;font-size:10px}.map-key i{height:12px;width:1px;background:#c7d0d5;margin:0 5px}.keydot{width:8px;height:8px;border-radius:50%}.bottom-right{bottom:42px;right:25px}.map-photo-btn{border:0;background:#15283c;color:white;padding:15px 16px;border-radius:12px;box-shadow:0 12px 30px #1e2d3a4d;font-size:12px;font-weight:700;display:flex;align-items:center;gap:11px}.map-photo-btn b{color:#1b2b38;background:#d6b681;border-radius:12px;padding:2px 7px;font-size:10px}.map-credit{position:absolute;right:0;bottom:0;z-index:400;background:#fff9;padding:3px 7px;font-size:10px;color:#38434b}.leaflet-container{font-family:inherit}.map-marker{width:37px;height:37px;background:white;border:3px solid var(--color);box-shadow:0 5px 14px #24384755;border-radius:50% 50% 50% 5px;display:flex;align-items:center;justify-content:center;font-size:17px;transform:rotate(-45deg)}.map-marker span{transform:rotate(45deg)}.map-marker.community{border-color:#6da8d2;width:29px;height:29px;font-size:14px;opacity:.9}.leaflet-div-icon{border:0;background:transparent}.map-fallback{position:absolute;inset:0;z-index:2;background:linear-gradient(120deg,#dbe2da,#eff0e7);overflow:hidden}.map-fallback:before{content:'';position:absolute;left:47%;width:16%;height:160%;top:-20%;background:#bed4d6;transform:rotate(16deg);border-left:4px solid #a4c4c6;border-right:4px solid #a4c4c6}.map-fallback:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(32deg,transparent 0px,transparent 52px,#ced7cb 53px,#ced7cb 58px,transparent 59px,transparent 93px);opacity:.6}.fallback-notice{position:absolute;z-index:9;left:30px;top:180px;max-width:340px;background:white;border:1px solid #e6d7b4;padding:14px;border-radius:12px;font-size:12px;box-shadow:var(--shadow)}#schematic-pins{z-index:5;position:absolute;inset:0;pointer-events:none}.schematic-pin{pointer-events:auto;position:absolute;background:white;border:2px solid var(--c);border-radius:20px;padding:5px;font-size:17px;box-shadow:0 4px 10px #26334155}.map-fallback>small{position:absolute;bottom:15px;left:20px;z-index:8;background:#fff9;padding:5px}
.drawer{position:absolute;z-index:600;top:18px;right:18px;bottom:18px;width:min(385px,calc(100% - 40px));border-radius:18px;background:#fff;overflow-y:auto;box-shadow:0 18px 70px rgba(16,27,43,.26);scrollbar-width:thin}.drawer-close,.modal-x{position:absolute;top:15px;right:15px;border:0;border-radius:50%;background:#fff;color:#334351;width:32px;height:32px;font-size:21px;box-shadow:0 4px 17px #0002;z-index:2}.drawer-hero{background:linear-gradient(130deg,#142b3d,#233a4a);padding:29px 27px 25px;color:white;min-height:168px}.drawer-eyebrow{font-size:10px;color:#e5c69c;text-transform:uppercase;letter-spacing:1.7px}.drawer-hero h2{font:700 29px/1.13 'Playfair Display',Georgia,serif;margin:16px 0 10px;max-width:290px}.drawer-hero p{font-size:11px;color:#c1cbd1}.drawer-body{padding:22px 24px 25px}.drawer-section-label{letter-spacing:1.4px;font-size:10px;font-weight:800;color:#9c7951;margin:18px 0 10px}.drawer-desc{font-size:13px;color:#5f6c77;line-height:1.7}.drawer-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.drawer-chip{font-size:11px;padding:7px 9px;background:#f5f5f1;border-radius:7px;color:#69747d}.photo-compare{height:185px;border-radius:13px;background:#e9e4d8;position:relative;overflow:hidden;display:flex}.compare-half{width:50%;display:flex;align-items:center;justify-content:center;text-align:center;padding:13px;color:#68727b;background:repeating-linear-gradient(45deg,#eeeae1,#eeeae1 10px,#e8e4dc 10px,#e8e4dc 20px);background-size:cover;background-position:center}.compare-half.after{background-color:#e3ebed}.compare-half strong{display:block;font-size:11px;margin-bottom:4px}.compare-half small{font-size:10px}.compare-label{position:absolute;bottom:10px;font-size:10px;letter-spacing:1px;font-weight:750;color:white;background:#192a3dcc;padding:5px 8px;border-radius:6px}.compare-label.left{left:11px}.compare-label.right{right:11px}.compare-divider{position:absolute;left:50%;top:0;bottom:0;border-left:2px solid white;transform:translateX(-1px);box-shadow:0 0 5px #fff}.compare-slider{width:100%;margin:11px 0 0;accent-color:#b88a4d}.photo-helper{font-size:11px;color:#89939b;margin:9px 0 12px;line-height:1.6}.drawer-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.drawer-buttons .btn{padding:10px 8px;font-size:11px}.photo-card-credit{font-size:10px;color:#74828d;margin-top:6px}
.modal-backdrop{position:fixed;inset:0;background:#101b2bcc;z-index:2500;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(5px)}.modal{background:white;border-radius:20px;width:min(560px,100%);max-height:90dvh;overflow:auto;padding:31px;position:relative;box-shadow:var(--shadow)}.modal-kicker{color:#a47a4f}.modal h2{font:700 29px/1.2 'Playfair Display',Georgia,serif;color:#17293a;margin:10px 32px 10px 0}.modal-hint{font-size:12px;line-height:1.6;color:#74818a;margin-bottom:20px}.modal label:not(.btn){font-size:11px;color:#526372;display:block;font-weight:800;margin:12px 0}.modal label span{display:block;margin-bottom:7px}.modal input:not([type=file]),.modal select{width:100%;height:43px;border-radius:9px;border:1px solid #d8dee1;padding:0 10px;background:#fff;color:#334351}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.file-target{border:2px dashed #d8c3a6;border-radius:13px;padding:19px!important;text-align:center;color:#9e754b!important;background:#fbf9f4}.file-target input{width:100%;font-size:10px}.file-target>span{font-size:30px!important;margin-bottom:7px}.file-target strong{display:block;font-size:12px}.file-target small{display:block;color:#81909b;margin-top:6px}.form-actions,.collection-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.form-actions button:last-child{flex:1}.collection-list{max-height:38vh;overflow-y:auto}.collection-item{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #eceded}.collection-item img{height:58px;width:70px;object-fit:cover;border-radius:7px}.collection-item strong{font-size:12px}.collection-item small{display:block;color:#8d969c;margin-top:5px;font-size:10px}.collection-item button{border:0;color:#9f5252;background:#fff1ef;padding:8px;border-radius:7px;margin-left:auto}.collection .microcopy{text-align:left;margin-top:18px}.empty-state{color:#929fa9;font-size:12px;line-height:1.6;padding:16px 10px}.mobile-tabs{display:none}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(100px);z-index:3500;border-radius:12px;background:#162b40;color:white;padding:13px 20px;font-size:12px;box-shadow:0 15px 40px #101b2b4d;transition:.25s;max-width:90%;pointer-events:none;opacity:0}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:1120px){.header-stats{display:none}.brand{min-width:0}.masthead{justify-content:space-between}.sidebar{width:340px}.top-left{min-width:220px}.top-left .map-title{font-size:20px}}
@media(max-width:700px){#app{min-height:400px}.masthead{height:67px;padding:0 12px;gap:7px}.brand-seal{width:36px;height:36px;border-radius:10px}.brand-seal svg{width:25px}.brand{gap:8px}.brand-name{font-size:11px;letter-spacing:.65px}.brand-tag{font-size:9px}.lang-select{height:36px;max-width:89px;font-size:10px;padding:0 4px}.header-actions .btn{display:none}.workspace{flex:1;position:relative}.map-panel{width:100%}.sidebar{width:100%;height:calc(100% - 0px);position:absolute;z-index:510;transform:translateX(-110%);transition:transform .22s;box-shadow:0 9px 35px #101b2b15}.sidebar.mobile-visible{transform:translateX(0)}.sidebar-intro{padding:19px 20px 15px}.sidebar-intro h1{font-size:29px}.sidebar-intro p{font-size:11px}.search-wrap{margin:0 20px 15px}.section-heading{padding:0 20px 11px}.filters{padding:0 20px 13px}.results{padding-left:15px}.sidebar-bottom{padding:10px 20px}.top-left{left:12px;top:13px;padding:11px 13px;min-width:0;max-width:220px}.map-title{font-size:18px!important}.map-kicker{font-size:8px}.map-sub{font-size:9px;max-width:200px}.top-right{right:12px;top:13px;gap:6px}.round-action{width:37px;height:37px;font-size:21px}.bottom-left{left:8px;bottom:68px}.map-key{padding:9px 10px;font-size:9px;gap:5px}.bottom-right{right:8px;bottom:68px}.map-photo-btn{font-size:10px;padding:11px}.mobile-tabs{height:60px;flex:none;display:grid;grid-template-columns:repeat(4,1fr);background:white;border-top:1px solid #e8ebea;z-index:1020;padding-bottom:env(safe-area-inset-bottom)}.mobile-tabs button{border:0;background:white;color:#75818e;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:22px}.mobile-tabs button span{font-size:10px}.mobile-tabs button.active{color:#b5884e}.drawer{right:8px;left:8px;top:auto;bottom:5px;width:auto;max-height:min(78%,660px);border-radius:16px 16px 12px 12px}.drawer-hero{min-height:120px;padding:20px}.drawer-hero h2{font-size:24px;margin-top:9px}.drawer-body{padding:16px 19px}.photo-compare{height:160px}.modal{padding:23px;max-height:84dvh}.modal h2{font-size:24px}.collection-actions .btn{flex:1}.form-row{grid-template-columns:1fr}}
@media(max-height:600px) and (min-width:701px){.sidebar-intro{padding:15px 24px 9px}.sidebar-intro h1{font-size:29px;margin:7px 0}.sidebar-intro p{display:none}.filters{padding-bottom:8px}.search-wrap{margin-bottom:10px}}

/* v2.1 mobile-first map hardening: reserve full viewport and avoid clipped tiles */
html,body{width:100%;height:100%;overscroll-behavior:none}
#app{height:100vh;height:100dvh;min-height:0}
.workspace,.map-panel,#map{min-height:0}
#map{position:absolute;inset:0;width:100%;height:100%;background:#e7ebe8;overflow:hidden}
#map .leaflet-pane,#map .leaflet-tile-container{max-width:none;max-height:none}
#map img.leaflet-tile{max-width:none!important;max-height:none!important}
.map-panel.dark-tiles .leaflet-tile-pane{filter:grayscale(.75) invert(.96) hue-rotate(180deg) brightness(.88) contrast(.9)}
.map-panel.has-vector.dark-tiles .leaflet-tile-pane{filter:none}
.map-panel.has-vector .maplibregl-map,.map-panel.has-vector canvas{outline:0}
.map-credit{max-width:70%;border-top-left-radius:7px;line-height:1.3;text-align:right}
.tile-notice{position:absolute;bottom:112px;left:50%;transform:translateX(-50%);z-index:401;max-width:calc(100% - 32px);width:370px;border:1px solid #c4a678;background:#fffef7;color:#263341;border-radius:12px;box-shadow:0 8px 30px #142a3e30;padding:12px;display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.35}
.tile-notice[hidden]{display:none!important}.tile-notice button{border:0;border-radius:8px;padding:8px 11px;background:#172a3d;color:white;font-size:11px;font-weight:750;flex-shrink:0}
@media(max-width:700px){
  #app{height:100svh;height:100dvh;min-height:0}
  .masthead{height:64px;padding:0 13px;gap:6px}
  .brand{min-width:0;flex:1}
  .brand-seal{height:39px;width:39px;flex:none}
  .brand-name{font-size:11px;letter-spacing:.56px}
  .brand-tag{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}
  .header-actions{flex:none}.lang-select{max-width:109px;font-size:11px;padding:0 5px}
  .workspace{min-height:0;flex:1 1 auto;isolation:isolate}
  .map-panel{height:100%;min-height:0;width:100%;overflow:hidden}
  #map{height:100%;min-height:0;touch-action:none}
  .top-left{left:12px;top:12px;max-width:calc(100% - 165px);min-width:0;padding:11px 13px 12px;border:1px solid #ffffff2b;border-radius:14px}
  .map-title{font-size:17px!important;line-height:1.1}
  .map-kicker{font-size:8px;letter-spacing:1.1px}
  .map-sub{margin-top:7px;font-size:9px;line-height:1.35}
  .top-right{right:12px;top:12px;gap:7px}
  .round-action{width:41px;height:41px;font-size:21px;border:1px solid #e5e8e4}
  .bottom-left{left:10px;bottom:76px;max-width:calc(100% - 168px)}
  .map-key{flex-wrap:wrap;gap:6px 7px;padding:8px 10px;font-size:9px}
  .map-key i{margin:0 2px}
  .bottom-right{right:10px;bottom:76px}
  .map-photo-btn{font-size:10px;padding:12px 10px;gap:7px;white-space:nowrap}
  .map-credit{font-size:9px;max-width:95%;bottom:0}
  .mobile-tabs{height:calc(61px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);flex:none}
  .mobile-tabs button{min-height:52px;line-height:1.05}
  .mobile-tabs button span{font-size:11px;margin-top:2px}
  .tile-notice{bottom:130px;max-width:calc(100% - 24px);z-index:450}
  .sidebar{height:100%;overflow:hidden}
  .drawer{bottom:12px;max-height:76%}
  #toast{bottom:90px}
}
@media(max-width:370px){.brand-tag{max-width:160px}.top-left{max-width:calc(100% - 145px)}.map-title{font-size:15px!important}.round-action{width:37px;height:37px}}

/* v2.2: map safety net, no blank-screen fallback */
#map{z-index:1;background:#e6e9e6}
.map-fallback{z-index:200;position:absolute;inset:0}
.map-fallback:after{pointer-events:none}
.map-fallback .fallback-notice{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(350px,calc(100% - 28px));max-width:none;z-index:9;padding:17px 18px;background:#fffdf7;color:#25364b;line-height:1.55}
.map-fallback .fallback-notice strong{display:block;font-size:15px;margin-bottom:6px}
.map-fallback .fallback-notice p{font-size:12px;color:#627182;margin-bottom:12px}
.map-fallback .fallback-notice a,.map-fallback .fallback-notice button{display:inline-block;margin:3px 5px 3px 0;background:#142c3c;color:white;padding:9px 12px;border-radius:9px;font-size:12px;text-decoration:none;border:0}
.map-fallback .fallback-notice button{background:#c7a374;color:#152a3b;font-weight:700}
.map-fallback .schematic-pin{z-index:6}
.map-panel.dark-tiles .map-fallback{filter:none}
.map-credit{z-index:460}
@media(max-width:700px){.map-fallback .fallback-notice{top:54%;padding:14px 14px}.map-fallback .fallback-notice strong{font-size:14px}.map-fallback .fallback-notice p{font-size:11px}}

.map-loading{position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);z-index:220;background:rgba(255,255,255,.92);color:#25425a;font-weight:700;font-size:13px;padding:14px 20px;border-radius:12px;box-shadow:0 8px 30px #162b3e17;pointer-events:none}
.map-loading[hidden]{display:none!important}

/* v3 · archival storytelling, authentic photo comparisons */
.v3-story{border-left:3px solid #c7a56f;padding:6px 0 6px 13px;background:linear-gradient(90deg,#fbf8f1,transparent);margin-top:8px}
.v3-story p{font-size:13px;line-height:1.65;color:#3d4f5e;margin:8px 0}
.v3-story a{font-size:11px;font-weight:800;color:#927044;text-underline-offset:3px}
.v3-story-unknown{font-size:12px;line-height:1.6;color:#72808c;background:#f5f5f2;border-radius:10px;padding:12px}
.v3-period{font-size:11px;letter-spacing:1px;color:#8e6e4b;font-weight:800}
.v3-coordinate{background:#f4f6f7;color:#334b60;border:1px solid #e0e6e9;width:100%;border-radius:10px;text-align:left;padding:12px;font-size:12px;display:flex;justify-content:space-between;gap:6px}
.v3-coordinate span{font-size:18px}.v3-photo-count{float:right;font-size:10px;letter-spacing:0;text-transform:none;color:#82909a}
.v3-compare{width:100%;height:242px;position:relative;overflow:hidden;border-radius:12px;background:linear-gradient(135deg,#c5d2d1,#f3efe5);--split:50%}
.v3-compare>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;user-select:none;pointer-events:none}
.v3-img-before{clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.v3-center-line{position:absolute;left:var(--split);top:0;bottom:0;transform:translateX(-50%);border-left:2px solid #fff;filter:drop-shadow(0 2px 3px #0007)}
.v3-center-line span{position:absolute;top:50%;left:0;transform:translate(-50%,-50%);color:#26384b;background:#fff;border-radius:50%;font-size:20px;width:33px;height:33px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 11px #0005}
.v3-badge-left,.v3-badge-right,.v3-cell-label{position:absolute;bottom:12px;background:#0d2034dc;color:#fff;font-size:10px;font-weight:800;letter-spacing:.5px;padding:7px 9px;border-radius:7px}
.v3-badge-left{left:8px}.v3-badge-right{right:8px}.v3-slider{display:block;width:100%;margin:10px 0;accent-color:#b48a50;touch-action:pan-x}
.v3-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px;min-height:174px}
.v3-photo-cell{position:relative;min-width:0;height:190px;border:1px dashed #c8b897;background:repeating-linear-gradient(45deg,#f7f4ee,#f7f4ee 10px,#f1eee7 10px,#f1eee7 20px);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6b665f;gap:8px;padding:9px;text-align:center}
.v3-photo-cell>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.v3-cell-label{left:8px;right:auto;max-width:calc(100% - 16px)}.v3-empty-icon{font-size:31px;color:#b58d5f}.v3-photo-cell b{font-size:12px}.v3-photo-cell small{font-size:10px;line-height:1.4}
.v3-thumbs{display:flex;overflow-x:auto;gap:7px;padding:9px 0 2px}.v3-thumb{width:71px;height:68px;flex:none;position:relative;border-radius:8px;overflow:hidden;border:2px solid transparent;padding:0;background:#f3f2ec}.v3-thumb.is-current{border-color:#b58a52}.v3-thumb img{width:100%;height:100%;object-fit:cover}.v3-thumb span{position:absolute;bottom:0;left:0;right:0;background:#16283dbb;color:#fff;font-size:9px;padding:3px;white-space:nowrap;overflow:hidden}
.v3-meta-rows{margin-top:9px}.v3-meta-rows>div{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:11px;line-height:1.6;color:#69757f;padding:5px 0;border-bottom:1px solid #edf0ef}.v3-meta-rows strong{color:#354b5b}.v3-enlarge{margin-left:auto;background:#f1eee6;border:0;border-radius:6px;padding:5px 10px;font-size:16px}
.v3-footnote{font-size:10px;color:#8a9298;line-height:1.55;margin-top:9px}.v3-add-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.v3-add-pair .btn{font-size:10px;padding:10px 8px;line-height:1.3}
.v3-upload-note{padding:10px 12px;border-radius:10px;background:#f9f6ed;font-size:11px;color:#7e644b;line-height:1.5}
.v3-lightbox{z-index:5000;position:fixed;inset:0;background:#07121cf2;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:55px 10px 24px}.v3-lightbox img{display:block;width:100%;height:calc(100% - 66px);object-fit:contain}.v3-full-credit{color:white;padding:14px;font-size:12px;max-width:90%;text-align:center}.v3-close-lightbox{position:absolute;top:calc(env(safe-area-inset-top) + 14px);right:16px;border:0;border-radius:50%;width:46px;height:46px;color:#fff;background:#23394c;font-size:32px}
@media(max-width:700px){.v3-compare{height:210px}.v3-photo-cell{height:167px}.v3-add-pair .btn{font-size:9.5px}}

.v3-geo-row{display:flex;align-items:center;gap:7px}.v3-geo-row input{min-width:0;flex:1}.v3-geo-row button{flex:none;padding:10px 8px;font-size:10px}.v3-geo-label small{display:block;margin-top:5px;font-size:10px;color:#7e8a96;font-weight:400;line-height:1.4}
.v3-camera-pin{background:#fff;border:2px solid #367d71;border-radius:50% 50% 50% 0;width:29px;height:29px;transform:rotate(-45deg);display:flex;align-items:center;justify-content:center;font-size:13px;box-shadow:0 3px 11px #0004}.v3-camera-pin::first-letter{transform:rotate(45deg)}
