@font-face{font-family:system-ui;src:local('SF Pro Display')}
:root{--bg:#f6f5f1;--surface:#fff;--text:#252923;--muted:#82867d;--line:#dedfd7;--accent:#344e40;--accent-text:#fff;--soft:#e8ebe2;--glass:rgba(250,250,247,.8);--hero-wash:#f0f0e7;--shadow:0 20px 70px #29352516;--ease:cubic-bezier(.23,1,.32,1);color-scheme:light}
:root[data-theme=dark]{--bg:#141715;--surface:#1e2320;--text:#edece5;--muted:#969e95;--line:#343c35;--accent:#c2d1b6;--accent-text:#1b281f;--soft:#29322c;--glass:rgba(24,29,25,.82);--hero-wash:#1c2822;--shadow:0 20px 70px #0004;color-scheme:dark}
*{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;scroll-behavior:smooth;overscroll-behavior:none contain}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;line-height:1.5;transition:none}button,input,textarea,select{font:inherit}button,a{-webkit-user-select:none;user-select:none;touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:wait}button:active:not(:disabled),a.btn:active{transform:scale(.97)}button{transition:transform .14s var(--ease),background-color .15s,opacity .15s}button:focus,a:focus{outline:none}:root[data-input=keyboard] button:focus-visible,:root[data-input=keyboard] a:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 65%,transparent);outline-offset:3px}a{color:inherit;text-decoration:none}button{border:0;background:none}h1,h2,h3,p{margin:0}img{display:block;width:100%;object-fit:cover}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.header{height:104px;max-width:1600px;padding:0 5.2%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:9px;font-size:30px;letter-spacing:-1.4px;font-weight:600}.brand svg{width:39px;height:39px;color:var(--accent)}.brand-dot{color:var(--accent)}.main-nav{display:flex;align-items:center;gap:34px;margin-left:80px}.main-nav button{padding:10px 0;color:var(--muted);font-size:13px;position:relative}.main-nav .nav-active{color:var(--text)}.nav-active:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:var(--accent);bottom:0;left:50%}.nav-dot{display:inline-block;width:5px;height:5px;background:var(--muted);border-radius:50%;vertical-align:middle;margin-left:5px}.header-actions{display:flex;align-items:center;gap:23px}.avatar{background:var(--soft);border-radius:50%;width:37px;height:37px;font-size:12px;font-weight:600;color:var(--accent)}main{max-width:1600px;margin:auto;padding:0 5.2%;min-height:70svh}.hero{--postcard-radius:14px;height:490px;position:relative;border-radius:0;clip-path:inset(0 round var(--postcard-radius));isolation:isolate;overflow:hidden;background:var(--hero-wash)}.hero-photo{position:absolute;height:100%;width:68%;right:0;object-position:50% 50%;z-index:-3}.hero:after{content:'';position:absolute;inset:-1px;background:linear-gradient(90deg,var(--hero-wash) 0%,var(--hero-wash) 30%,color-mix(in srgb,var(--hero-wash) 85%,transparent) 42%,transparent 64%);z-index:-2}.hero:before{content:'';position:absolute;inset:-1px;background:linear-gradient(0deg,#10241c20,transparent 60%);z-index:-1}.contours{position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/contours.svg') 35% 55%/185% auto no-repeat;mix-blend-mode:multiply;opacity:.25;mask-image:linear-gradient(90deg,#000,transparent 83%)}[data-theme=dark] .contours{filter:invert(1);mix-blend-mode:screen}.hero-content{height:100%;padding:58px 56px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:620px}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:2.1px;color:var(--accent)}.eyebrow:before{content:'';width:20px;height:1px;background:currentColor}.hero h1{font-size:clamp(44px,4.7vw,72px);line-height:1.04;letter-spacing:-3.5px;font-weight:500;margin:27px 0 22px;max-width:560px}.hero h1 em{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-3px}.hero-description{font-size:13px;line-height:1.85;color:var(--muted);max-width:285px}.hero .btn{margin-top:28px}.btn{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;white-space:nowrap;font-weight:500}.btn.primary{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.btn.ghost{background:transparent}.btn .icon{width:16px;height:16px}.hero-tag{position:absolute;right:24px;bottom:23px;background:rgba(20,35,28,.35);backdrop-filter:blur(15px);border:1px solid #ffffff30;color:white;padding:10px 15px;border-radius:7px;display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.2px}.hero-tag span{display:block}.hero-tag small{display:block;opacity:.7;font-size:9px;letter-spacing:1px;text-transform:uppercase;margin-top:2px}.hero-coordinate{position:absolute;top:26px;right:27px;font-size:9px;letter-spacing:1.5px;color:#fff9;font-variant-numeric:tabular-nums}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:47px 0 25px}.section-heading h2{font-size:25px;letter-spacing:-.8px;font-weight:500}.section-heading p{color:var(--muted);font-size:12px;margin-top:5px}.section-actions{display:flex;align-items:center;gap:11px}.counter{display:inline-block;color:var(--muted);font-size:14px;margin-left:9px;vertical-align:middle;letter-spacing:0}.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.album-card{position:relative}.album-open{display:block;text-align:left;padding:0;width:100%}.album-image{position:relative;overflow:hidden;border-radius:10px;background:var(--soft);aspect-ratio:1.47}.album-image img{height:100%;transition:transform .5s var(--ease)}.album-image:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 65%,#0c1a2530)}.album-badge{position:absolute;left:14px;top:14px;backdrop-filter:blur(12px);background:#15271e50;color:#fff;border:1px solid #ffffff20;border-radius:5px;padding:4px 8px;font-size:9px;letter-spacing:.6px;z-index:1}.album-shared{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#ffffffdb;color:#2a3c30;z-index:1}.album-shared svg{width:14px;height:14px}.album-info{padding:15px 2px 0}.album-info-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.album-info h3{font-size:17px;font-weight:500;letter-spacing:-.4px}.album-info-top span{font-size:10px;color:var(--muted)}.album-info p{color:var(--muted);font-size:11px;margin-top:5px;display:flex;align-items:center;gap:5px}.album-info p .icon{width:12px;height:12px}.album-description{margin-top:5px!important}.new-card{border:1px dashed var(--line);border-radius:10px;aspect-ratio:1.47;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--muted);width:100%;font-size:12px}.new-card .plus-circle{border:1px solid var(--line);border-radius:50%;padding:10px;display:grid;place-items:center}.new-card small{font-size:10px;opacity:.8}.library-note{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px;margin:31px 0 15px}.library-note svg{width:13px;height:13px}.footer{max-width:1600px;margin:55px auto 0;padding:24px 5.2% 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--muted);font-size:10px;position:relative}.footer:before{content:'';position:absolute;left:5.2%;right:5.2%;top:0;height:1px;background:var(--line)}.footer-brand{font-size:17px;letter-spacing:-.7px;font-weight:500;color:var(--text)}.connection{display:flex;align-items:center;gap:6px}.connection>span:first-child{width:5px;height:5px;background:#6e926a;border-radius:50%}.back{display:inline-flex;gap:8px;align-items:center;padding:0;margin:6px 0 21px;font-size:11px;color:var(--muted)}.back .icon{width:14px;height:14px}.album-hero{height:430px}.album-hero .hero-content{max-width:690px}.album-hero h1{font-size:66px;max-width:550px}.album-meta{margin-top:20px;display:flex;gap:18px;align-items:center;font-size:11px;color:var(--muted);flex-wrap:wrap}.album-meta span{display:flex;align-items:center;gap:5px}.album-meta svg{width:13px;height:13px}.hero-buttons{display:flex;align-items:center;gap:10px}.hero-buttons .btn{margin-top:25px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.photo-cell{position:relative;min-width:0;overflow:hidden;border-radius:6px;background:var(--soft);aspect-ratio:1.48}.photo-cell button.photo-open{width:100%;height:100%;padding:0;display:block}.photo-cell img{height:100%;transition:transform .4s var(--ease)}.photo-cell.portrait{grid-row:span 2;aspect-ratio:auto}.select-box{position:absolute;top:12px;left:12px;width:25px;height:25px;border:1px solid #ffffffbb;border-radius:50%;background:#17271b33;color:white;display:grid;place-items:center;backdrop-filter:blur(10px);opacity:0}.selecting .select-box,.photo-cell.selected .select-box{opacity:1}.photo-cell.selected{outline:3px solid var(--accent);outline-offset:-3px}.photo-cell.selected .select-box{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.select-box .icon{width:14px;height:14px}.photo-cell.selected img{transform:scale(.95);border-radius:8px}.empty{padding:75px 20px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted);grid-column:1/-1}.empty h2{color:var(--text);font-size:23px;font-weight:500;margin:16px 0 10px}.empty p{margin-bottom:22px}.empty>.icon{width:35px;height:35px;margin:auto}.icon-button{width:36px;height:36px;border-radius:50%;display:inline-grid;place-items:center;color:var(--muted)}.icon-button .icon{width:17px;height:17px}.sort{border:0;background:transparent;color:var(--muted);font-size:11px;padding:8px;max-width:150px}.selection-bar{display:flex;align-items:center;gap:10px}.danger{color:#ba4f43!important}.loading{min-height:60svh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.spinner{width:17px;height:17px;display:inline-block;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:18px;padding:0;width:min(490px,calc(100% - 30px));max-height:90dvh;box-shadow:var(--shadow)}dialog::backdrop{background:#08150e66;backdrop-filter:blur(8px)}.modal-inner{padding:30px}.modal-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.modal-title h2{font-weight:500;font-size:25px;letter-spacing:-.8px}.modal-description{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:23px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;font-size:12px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:8px;padding:11px 12px;font-size:16px;outline-offset:3px;min-width:0}.field textarea{resize:vertical;min-height:85px}.field small{color:var(--muted);font-size:10px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.check-field{display:flex;align-items:center;gap:11px;padding:12px 0;font-size:12px;border-bottom:1px solid var(--line)}.check-field input{accent-color:var(--accent);width:17px;height:17px}.check-field small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.field input[type=range]{padding:0;accent-color:var(--accent)}.error{color:#bf594c;font-size:12px;margin-top:12px}.link-result{display:flex;gap:7px}.link-result input{min-width:0;flex:1;border:1px solid var(--line);border-radius:7px;padding:10px;background:var(--surface);color:var(--text);font-size:12px}.upload-choice{border:1px dashed var(--line);border-radius:12px;padding:30px;text-align:center;margin:18px 0}.upload-choice>.icon{width:35px;height:35px;margin:0 auto 12px;color:var(--accent)}.upload-choice p{font-size:12px;margin-bottom:16px}.upload-choice small{display:block;margin-top:15px;color:var(--muted);font-size:10px}.upload-options{display:flex;justify-content:center;gap:8px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:15;background:var(--text);color:var(--bg);border-radius:10px;padding:13px 20px;font-size:12px;max-width:calc(100% - 30px);box-shadow:var(--shadow)}.toast button{color:inherit;text-decoration:underline;margin-left:12px}.upload-progress{position:fixed;right:25px;bottom:25px;width:320px;max-width:calc(100% - 30px);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:13px;padding:19px;z-index:14;font-size:12px}.progress-head{display:flex;justify-content:space-between;align-items:center}.progress-track{height:3px;background:var(--soft);margin:14px 0 10px;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:var(--accent);transition:width .15s}.progress-note{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.upload-failures{margin-top:10px;max-height:150px;overflow:auto;font-size:10px;color:#ba4f43}.upload-failures p{margin-bottom:5px}#drop-overlay{position:fixed;inset:12px;z-index:20;border:2px dashed var(--accent);border-radius:18px;background:var(--glass);backdrop-filter:blur(15px);display:grid;place-items:center;text-align:center;pointer-events:none}#drop-overlay .icon{width:50px;height:50px;margin:0 auto 20px;color:var(--accent)}#drop-overlay h2{font-size:35px;font-weight:500;letter-spacing:-1px}#drop-overlay p{color:var(--muted);margin-top:10px}.lightbox{width:100%;height:100dvh;max-width:100%;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0;background:#101512;color:#f5f5ed}.lightbox::backdrop{background:#101512}.lb-header{height:74px;padding:0 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff12}.lb-header .icon-button{color:#d5dbd4}.lb-caption{font-size:12px;color:#a5afa6}.lb-actions{display:flex;gap:10px}.lb-stage{height:calc(100dvh - 146px);display:flex;position:relative;align-items:center;justify-content:center;padding:25px 65px;touch-action:pan-y pinch-zoom}.lb-stage img{height:100%;width:100%;object-fit:contain;min-width:0}.lb-nav{position:absolute;top:50%;background:#ffffff0d;color:white;width:38px;height:38px}.lb-prev{left:18px}.lb-next{right:18px}.lb-bottom{height:72px;padding:0 30px;display:flex;align-items:center;justify-content:center;gap:7px}.film-thumb{width:48px;height:40px;border-radius:4px;padding:0;opacity:.4;overflow:hidden}.film-thumb img{height:100%}.film-thumb.active{opacity:1;outline:1px solid #e1e8d8;outline-offset:3px}.lb-info{position:absolute;right:0;top:74px;bottom:72px;width:300px;background:#18211df2;backdrop-filter:blur(20px);padding:29px 25px;overflow-y:auto;border-left:1px solid #ffffff15}.lb-info h3{font-size:20px;font-weight:500;overflow-wrap:anywhere;margin-bottom:5px}.lb-info>p{font-size:11px;color:#9da89f;margin-bottom:25px}.exif-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 15px}.exif-grid dt{font-size:10px;color:#8c9d91;margin-bottom:5px}.exif-grid dd{margin:0;font-size:12px;overflow-wrap:anywhere}.lb-info .btn{margin-top:25px;background:#283b2f;color:#d6e2d2;border-color:#3d5345}.info-on .lb-stage{padding-right:330px}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px}.settings-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.demo-note{font-size:11px;color:var(--muted);line-height:1.8}.form-error:empty{display:none}.welcome{max-width:450px;margin:60px auto;padding:25px}.welcome h1{font-size:38px;font-weight:500;letter-spacing:-1.5px;margin-bottom:15px}.welcome p{color:var(--muted);margin-bottom:25px}.link-list{margin-top:20px}.link-row{display:flex;gap:8px;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:11px}.link-row small{display:block;color:var(--muted);margin-top:4px}.album-tools{display:flex;gap:5px}.guest-pill{font-size:10px;padding:6px 10px;border:1px solid var(--line);border-radius:20px;color:var(--muted)}
@media(hover:hover) and (pointer:fine){.album-open:hover img{transform:scale(1.035)}.photo-cell:hover .select-box{opacity:1}.photo-open:hover img{transform:scale(1.025)}.btn:hover{filter:brightness(.96)}.icon-button:hover{background:var(--soft)}.new-card:hover{background:var(--soft)}.main-nav button:hover{color:var(--text)}.lb-header .icon-button:hover{background:#ffffff15}}
.info-on .lb-next{right:315px}.date-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hero-photo{width:100%}
.location-input{display:flex;gap:7px}.location-input input{flex:1;width:0}.location-input .btn{padding:10px 13px}.place-results{border:1px solid var(--line);border-radius:9px;background:var(--surface);overflow:hidden;max-height:220px;overflow-y:auto}.place-results button{display:flex;gap:10px;align-items:center;text-align:left;padding:11px 12px;width:100%;font-size:12px;border-bottom:1px solid var(--line)}.place-results button:last-child{border:0}.place-results button:focus-visible{outline-offset:-3px;background:var(--soft)}.place-results small{display:block;margin-top:3px;font-size:10px;color:var(--muted)}.terrain-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-8px}.terrain-options .check-field{border:0}.terrain-radius{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.terrain-radius select{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:7px;padding:7px;font-size:16px}.map-attribution{font-size:9px;color:var(--muted);margin:0 0 22px}.map-attribution a{text-decoration:underline}.modal-inner .form-actions{flex-wrap:wrap}
.route-section{margin-top:34px;border:1px solid var(--line);border-radius:12px;padding:28px 30px 18px;background:color-mix(in srgb,var(--surface) 45%,transparent)}.route-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.route-eyebrow{color:var(--muted);font-size:9px;letter-spacing:1.8px}.route-header h2{font-weight:500;font-size:22px;letter-spacing:-.6px;margin-top:6px}.route-actions{display:flex;align-items:center;gap:15px}.route-external{font-size:11px;color:var(--muted)}.route-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:29px 0 24px}.route-stats>div{border-left:1px solid var(--line);padding-left:22px}.route-stats>div:first-child{border-left:0;padding-left:0}.route-stats span{color:var(--muted);font-size:10px;display:block;margin-bottom:7px}.route-stats strong{font-size:27px;letter-spacing:-1px;font-weight:500;font-variant-numeric:tabular-nums}.route-stats small{font-size:11px;font-weight:400;letter-spacing:0;color:var(--muted)}.route-chart{width:100%;height:190px;touch-action:pan-y}.route-chart svg{display:block;overflow:visible}.route-axis{fill:var(--muted);font-family:inherit;font-size:11px}.route-gridline{stroke:var(--line);stroke-width:1}.route-profile-line{fill:none;stroke:var(--accent);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.route-marker{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 4}.route-dot{fill:var(--accent);stroke:var(--surface);stroke-width:2}.route-chart-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;font-size:10px;color:var(--muted)}.route-chart-footer>span{font-size:8px;letter-spacing:1.5px}.route-chart-footer output{font-variant-numeric:tabular-nums;color:var(--accent)}.route-range{display:block;width:100%;height:18px;accent-color:var(--accent);margin:7px 0 2px}.route-source-note{font-size:10px;color:var(--muted);line-height:1.7;margin-top:7px}.route-map{border-top:1px solid var(--line);margin-top:17px;padding-top:14px}.route-map summary{cursor:pointer;font-size:11px;color:var(--muted);user-select:none}.route-map summary span{float:right;font-size:10px}.route-map-container iframe{display:block;width:100%;height:360px;border:0;border-radius:8px;margin-top:15px;background:var(--soft)}.route-empty{margin-top:30px;padding:24px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:22px}.route-empty h3{font-size:19px;font-weight:500;letter-spacing:-.5px;margin:6px 0}.route-empty p{font-size:11px;color:var(--muted)}.route-import{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px dashed var(--line);border-radius:10px;padding:17px;margin:24px 0 12px}.route-import strong{font-size:12px;font-weight:500}.route-import p{font-size:10px;color:var(--muted);line-height:1.7;margin-top:6px}.route-import label{cursor:pointer}
@media(max-width:650px){.route-section{padding:22px 17px 16px;margin-top:25px}.route-header{gap:10px;align-items:flex-start}.route-header h2{font-size:20px}.route-actions{gap:5px}.route-external{font-size:9px;max-width:90px;text-align:right}.route-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;margin:24px 0 18px}.route-stats>div{padding-left:0;border-left:0}.route-stats strong{font-size:25px}.route-stats small{font-size:10px}.route-empty{align-items:flex-start;flex-direction:column;gap:15px}.route-import{align-items:flex-start;flex-direction:column}.route-map-container iframe{height:300px}.route-chart-footer{gap:8px}.route-chart-footer>span{font-size:7px;letter-spacing:1px}.route-chart-footer output{font-size:9px}}
@media(min-width:1500px){.hero{height:540px}.album-image{aspect-ratio:1.6}}
@media(max-width:950px){.main-nav{margin-left:0;gap:22px}.hero-content{padding:40px}.hero{height:430px}.hero h1{font-size:56px}.hero-photo{width:100%}.album-grid{gap:18px}.album-info-top{align-items:flex-start}.album-info-top span{white-space:nowrap;margin-top:3px}.album-hero h1{font-size:56px}.section-actions{gap:6px}.section-heading{flex-wrap:wrap}.hero-tag{right:15px;bottom:15px}.album-info h3{font-size:15px}}
@media(max-width:650px){.header{height:83px;padding:env(safe-area-inset-top) 6% 0;gap:15px}.brand{font-size:27px}.brand svg{width:32px;height:32px}.main-nav{display:none}.header-actions{gap:12px}.avatar{width:33px;height:33px}main{padding:0 5%}.hero{--postcard-radius:12px;height:510px}.hero-photo{width:100%;height:75%;top:0;object-position:50% 50%}.hero:after{background:linear-gradient(0deg,var(--hero-wash) 0%,var(--hero-wash) 30%,color-mix(in srgb,var(--hero-wash) 96%,transparent) 40%,color-mix(in srgb,var(--hero-wash) 80%,transparent) 50%,color-mix(in srgb,var(--hero-wash) 52%,transparent) 61%,color-mix(in srgb,var(--hero-wash) 25%,transparent) 73%,color-mix(in srgb,var(--hero-wash) 8%,transparent) 85%,transparent 97%)}.hero:before{background:linear-gradient(0deg,var(--hero-wash) 20%,transparent 70%)}.hero-content{padding:27px;justify-content:flex-end;max-width:100%}.hero h1{font-size:47px;letter-spacing:-2.3px;margin:20px 0 16px}.hero h1 em{letter-spacing:-2px}.hero-description{font-size:12px;max-width:250px}.hero .btn{margin-top:20px}.hero-tag{top:16px;bottom:auto;left:16px;right:auto;padding:8px 11px}.hero-coordinate{right:16px;top:26px;font-size:8px}.eyebrow{font-size:8px;letter-spacing:1.6px}.contours{mask-image:linear-gradient(0deg,#000,transparent 85%)}.section-heading{margin:33px 0 20px;gap:14px}.section-heading h2{font-size:24px}.section-heading p{font-size:11px}.section-actions .btn{padding:9px 12px;font-size:11px}.album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 15px}.album-image{aspect-ratio:1.12;border-radius:8px}.album-info{padding-top:11px}.album-info-top{display:block}.album-info-top span{font-size:9px}.album-info h3{font-size:15px}.album-info p{font-size:10px;flex-wrap:wrap;gap:3px}.album-description{display:none!important}.album-badge{left:8px;top:8px;font-size:8px;padding:3px 5px}.album-shared{bottom:8px;right:8px;width:24px;height:24px}.new-card{aspect-ratio:1.12;font-size:11px}.new-card small{display:none}.footer{margin-top:35px;padding:22px 5% calc(25px + env(safe-area-inset-bottom));font-size:9px;flex-wrap:wrap}.footer>span:nth-child(2){display:none}.footer-brand{font-size:15px}.photo-grid{grid-template-columns:1fr 1fr;gap:7px}.photo-cell{border-radius:4px;aspect-ratio:1.1}.album-hero{height:450px}.album-hero h1{font-size:45px}.album-hero .hero-content{padding:26px}.album-meta{gap:12px;font-size:10px;margin-top:15px}.hero-buttons .btn{font-size:11px;padding:10px 13px}.section-actions{flex-wrap:wrap}.select-box{opacity:1;width:24px;height:24px;top:8px;left:8px}.selection-bar{flex-wrap:wrap;gap:5px}.sort{font-size:10px;padding:8px 0}.modal-inner{padding:25px}.modal{max-height:92dvh}.modal-title h2{font-size:24px}.lb-stage{padding:20px 12px;height:calc(100dvh - 146px)}.lb-header{padding:0 12px}.lb-header .lb-actions{gap:0}.lb-caption{font-size:10px;max-width:120px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.lb-nav{width:32px;height:32px;z-index:1;background:#13271b66}.lb-prev{left:8px}.lb-next{right:8px}.lb-info{width:100%;top:auto;bottom:0;height:55dvh;border-left:0;border-top:1px solid #ffffff22;border-radius:16px 16px 0 0}.info-on .lb-stage{padding-right:12px}.lb-info .exif-grid{grid-template-columns:repeat(3,1fr)}.upload-progress{right:15px;bottom:calc(15px + env(safe-area-inset-bottom))}.toast{bottom:calc(25px + env(safe-area-inset-bottom))}.album-tools .btn{padding:9px 11px}.section-heading>div:first-child{min-width:0}.guest-pill{display:none}}
@media(max-width:650px){.info-on .lb-next{right:8px}.hero-coordinate{display:none}.date-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Composition stays separate from the fixed legibility mask. */
.contours{background:none;overflow:hidden}.contour-drawing{position:absolute;inset:0;background-size:cover;background-repeat:no-repeat}.hero-controls{position:absolute;right:20px;top:20px;z-index:5;display:flex;gap:8px}.hero-control{height:36px;min-width:36px;border-radius:20px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;background:var(--glass);backdrop-filter:blur(16px);border:1px solid var(--line);color:var(--text);font-size:11px}.hero-control .icon{width:15px;height:15px}.hero-controls~.hero-coordinate{display:none}.hero-route{position:absolute;bottom:0;left:43%;right:0;height:100px;z-index:2;color:white;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 12%)}.hero-route-label{display:flex;justify-content:space-between;padding:0 26px 0 32px;font-size:9px;letter-spacing:1.3px;opacity:.75;text-shadow:0 1px 6px #0008}.hero-route svg{display:block;width:100%;height:80px}.hero-route-line{fill:none;stroke:currentColor;stroke-opacity:.55;stroke-width:1.2;vector-effect:non-scaling-stroke}.hero-route-area{fill-opacity:1}.album-hero:has(.hero-route) .hero-tag{bottom:116px}
@media(min-width:651px){.contours{mask-image:radial-gradient(ellipse 125% 140% at 0 0,#000 4%,#000c 32%,#0007 52%,#0003 72%,transparent 95%)}}
.route-modal{width:min(850px,calc(100% - 30px))}.route-modal .route-section{margin:20px 0 0;border:0;padding:0;background:none}.route-modal .route-chart{margin-top:25px}
.cover-modal{width:min(1040px,calc(100% - 24px))}.cover-modal .modal-inner{padding:26px}.cover-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.cover-editor-heading h2{font-size:25px;font-weight:500;letter-spacing:-.8px}.cover-editor-heading p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.6}.cover-toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:22px 0 16px}.cover-segment{display:flex;padding:3px;border-radius:10px;background:var(--soft);gap:2px}.cover-segment button{font-size:11px;padding:9px 12px;border-radius:7px;color:var(--muted)}.cover-segment button[aria-pressed=true]{background:var(--surface);box-shadow:0 1px 4px #0001;color:var(--text)}.cover-preview{margin:auto;max-width:100%;transition:max-width .2s}.cover-stage{position:relative;touch-action:none;user-select:none;cursor:grab;overflow:hidden;border-radius:12px}.cover-stage.is-dragging{cursor:grabbing}.cover-stage[data-layer=focus]{cursor:crosshair}.cover-preview .hero{height:auto;aspect-ratio:2.65;margin:0;width:100%}.cover-preview .hero-content{padding:30px;max-width:60%}.cover-preview .hero h1{font-size:42px;margin:14px 0}.cover-preview .hero-description{font-size:11px}.cover-preview .album-meta{font-size:9px;gap:9px;margin-top:12px}.cover-preview .hero-buttons{display:none}.cover-preview .hero-tag{display:none}.cover-preview .eyebrow{font-size:8px}.cover-preview .hero-coordinate{display:none}.cover-drag-hint{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:8;white-space:nowrap;font-size:10px;padding:7px 12px;border-radius:20px;background:#18251ccc;color:white;pointer-events:none;backdrop-filter:blur(10px)}.cover-focus-marker{position:absolute;width:24px;height:24px;border:2px solid white;box-shadow:0 0 0 2px var(--accent),0 2px 12px #0006;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:7}.cover-focus-marker:after{content:'';position:absolute;inset:8px;border-radius:50%;background:white}.cover-adjustments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:20px}.cover-adjustments label{font-size:11px;color:var(--muted)}.cover-adjustments input{width:100%;display:block;margin-top:12px;accent-color:var(--accent)}.cover-adjustments output{float:right;font-variant-numeric:tabular-nums}.cover-status{font-size:11px;color:var(--muted);margin:18px 0;line-height:1.6}.cover-editor-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.cover-editor-footer>div{display:flex;gap:8px}.cover-focal-picker{margin-top:18px}.cover-focal-picker p{font-size:11px;color:var(--muted);margin-bottom:10px}#cover-focal-source{position:relative;height:220px;background:var(--soft);border-radius:10px;overflow:hidden;cursor:crosshair;touch-action:manipulation}#cover-focal-source img{width:100%;height:100%;object-fit:contain}.cover-preview.is-mobile{max-width:320px}.cover-preview.is-mobile .hero{aspect-ratio:.78}.cover-preview.is-mobile .hero-photo{height:75%;top:0;width:100%}.cover-preview.is-mobile .hero:after{background:linear-gradient(0deg,var(--hero-wash) 0%,var(--hero-wash) 30%,color-mix(in srgb,var(--hero-wash) 96%,transparent) 40%,color-mix(in srgb,var(--hero-wash) 80%,transparent) 50%,color-mix(in srgb,var(--hero-wash) 52%,transparent) 61%,color-mix(in srgb,var(--hero-wash) 25%,transparent) 73%,color-mix(in srgb,var(--hero-wash) 8%,transparent) 85%,transparent 97%)}.cover-preview.is-mobile .hero:before{background:linear-gradient(0deg,var(--hero-wash) 20%,transparent 70%)}.cover-preview.is-mobile .hero-content{max-width:100%;padding:24px;justify-content:flex-end}.cover-preview.is-mobile h1{font-size:34px}.cover-preview.is-mobile .contours{mask-image:radial-gradient(ellipse 125% 140% at 0 0,#000 4%,#000c 32%,#0007 52%,#0003 72%,transparent 95%)}.cover-preview.is-mobile .hero-route{display:none}.cover-preview.is-card{max-width:480px}.cover-preview.is-card .hero{aspect-ratio:1.47}.cover-preview.is-card .hero-photo{height:100%;width:100%}.cover-preview.is-card .hero-content,.cover-preview.is-card .contours,.cover-preview.is-card .hero:before,.cover-preview.is-card .hero:after,.cover-preview.is-card .hero-route{display:none}
@media(max-width:650px){.hero-route{display:none}.album-hero:has(.hero-route) .hero-tag{bottom:auto}.hero-controls{right:12px;top:16px;gap:5px}.hero-control{height:34px;padding:0 9px}.hero-tag{max-width:calc(100% - 145px)}.hero-tag span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.hero-tag small{display:none}.cover-modal .modal-inner{padding:18px}.cover-editor-heading h2{font-size:22px}.cover-adjustments{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cover-preview:not(.is-card) .hero{aspect-ratio:.78}.cover-preview:not(.is-card) .hero-content{max-width:100%;padding:24px;justify-content:flex-end}.cover-preview .hero h1{font-size:34px}.cover-segment button{padding:9px;font-size:10px}.cover-toolbar{gap:10px}.cover-editor-footer .btn{padding:10px;font-size:11px}}
@media(min-width:651px){.album-hero>.hero-tag{display:none}}
::view-transition-group(root){animation-duration:240ms}
::view-transition-old(root){animation:theme-away 240ms ease both;mix-blend-mode:normal}
::view-transition-new(root){animation:theme-arrive 240ms ease both;mix-blend-mode:normal}
@keyframes theme-away{to{opacity:0}}@keyframes theme-arrive{from{opacity:0}to{opacity:1}}
@supports not (view-transition-name:root){body,.hero,.btn,.avatar,.modal,.album-image{transition:background-color 240ms ease,color 240ms ease}}
@media(prefers-reduced-motion:reduce){.theme-switch:after,.theme-switch:before{transition:opacity 120ms ease}::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none}}

/* Desktop crops into the image area, with its left edge concealed by the wash. */
@media(min-width:651px){.hero-photo{width:67%}.cover-preview.is-mobile .hero-photo,.cover-preview.is-card .hero-photo{width:100%}}
@media(min-width:651px){.hero-photo{mask-image:linear-gradient(90deg,transparent,#000 22%)}.cover-preview.is-mobile .hero-photo,.cover-preview.is-card .hero-photo{mask-image:none}}
.share-readable-path{font-size:10px;max-width:300px;overflow-wrap:anywhere;color:var(--text)}
@media(min-width:651px){.hero:after{background:linear-gradient(90deg,var(--hero-wash) 0%,var(--hero-wash) 27%,color-mix(in srgb,var(--hero-wash) 94%,transparent) 36%,color-mix(in srgb,var(--hero-wash) 72%,transparent) 46%,color-mix(in srgb,var(--hero-wash) 36%,transparent) 59%,color-mix(in srgb,var(--hero-wash) 10%,transparent) 72%,transparent 86%)}}
/* The route reads as three concise metrics, with the profile fading into the photo. */
.hero-route{height:114px}.hero-route-label{height:30px;justify-content:flex-end;align-items:center;gap:23px;padding:0 26px 0 32px;letter-spacing:0;opacity:.9}.hero-route-label>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.hero-route-label strong{font-size:17px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.4px}.hero-route-label small{font-size:10px;opacity:.75;align-self:center}.hero-route-label svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:.8;flex-shrink:0}.hero-route .hero-route-profile{height:84px}.hero-route-line{stroke-width:1.8;stroke-opacity:.65}.hero-route-area{fill-opacity:1}
.cover-preview .hero-route-label{gap:15px}.cover-preview .hero-route-label strong{font-size:14px}
/* Quiet glass: static optical layers, movement reserved for feedback and navigation. */
:root{--glass-panel:rgba(255,255,252,.68);--glass-sheen:rgba(255,255,255,.7);--glass-shade:rgba(45,66,52,.09);--glass-edge:rgba(255,255,255,.65)}
:root[data-theme=dark]{--glass-panel:rgba(30,39,33,.72);--glass-sheen:rgba(255,255,255,.09);--glass-shade:rgba(0,0,0,.28);--glass-edge:rgba(255,255,255,.12)}
.main-nav{gap:4px;padding:4px;border-radius:28px;background:linear-gradient(135deg,var(--glass-panel),color-mix(in srgb,var(--glass-panel) 30%,transparent));box-shadow:inset 0 1px 0 var(--glass-edge),0 5px 20px var(--glass-shade);backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%)}
.main-nav button{padding:8px 16px;border-radius:22px;isolation:isolate}.main-nav button:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(150deg,var(--glass-sheen),var(--glass-panel));box-shadow:inset 0 1px 0 var(--glass-edge),0 2px 8px var(--glass-shade);opacity:0;transition:opacity 200ms var(--ease)}.main-nav .nav-active:before{opacity:1}.main-nav .nav-active:after{display:none}
.btn,.hero-control,.hero-tag,.avatar,.guest-pill,.cover-segment{backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%)}
.btn{position:relative;isolation:isolate;overflow:hidden;border-color:transparent;background:var(--glass-panel);box-shadow:inset 0 1px 0 var(--glass-edge),inset 0 0 0 1px var(--glass-shade),0 3px 10px var(--glass-shade);transition:transform 160ms var(--ease),opacity 160ms ease}
.btn:before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:-1;background:linear-gradient(145deg,var(--glass-sheen),transparent 65%);opacity:.3;transition:opacity 200ms ease}.btn.ghost{background:color-mix(in srgb,var(--glass-panel) 60%,transparent)}.btn.primary{background:var(--accent);border-color:transparent}.btn.primary:before{opacity:.12}.btn:active:not(:disabled){transform:scale(.97)}
.hero-control{background:var(--glass-panel);border:0;box-shadow:inset 0 1px 0 var(--glass-edge),inset 0 0 0 1px var(--glass-shade),0 4px 18px var(--glass-shade);transition:transform 160ms var(--ease),opacity 160ms ease}
.hero-tag{background:linear-gradient(135deg,#ffffff20,#14231c45);box-shadow:inset 0 1px 0 #ffffff40,0 8px 24px #0001;border:0;border-radius:12px}.avatar{box-shadow:inset 0 1px 0 var(--glass-edge),0 3px 10px var(--glass-shade)}
.album-card{padding:9px;border-radius:19px;background:linear-gradient(145deg,var(--glass-panel),color-mix(in srgb,var(--glass-panel) 25%,transparent));box-shadow:inset 0 1px 0 var(--glass-edge),0 5px 20px var(--glass-shade);transition:transform 240ms var(--ease)}.album-image{--album-image-radius:12px;border-radius:0;clip-path:inset(0 round var(--album-image-radius))}.album-info{padding:14px 7px 8px}.album-image:before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(125deg,#ffffff28,transparent 55%);opacity:0;transition:opacity 240ms ease}.new-card{background:color-mix(in srgb,var(--glass-panel) 30%,transparent);border-radius:19px}
.modal{background:var(--glass-panel);backdrop-filter:blur(32px) saturate(150%);-webkit-backdrop-filter:blur(32px) saturate(150%);border:0;border-radius:24px;box-shadow:inset 0 1px 0 var(--glass-edge),inset 0 0 0 1px var(--glass-shade),0 24px 80px #07170e36}
.modal .field input,.modal .field textarea,.modal .field select{background:color-mix(in srgb,var(--surface) 78%,transparent)}.cover-segment{background:color-mix(in srgb,var(--soft) 65%,transparent)}.cover-segment button{transition:transform 140ms var(--ease),background-color 180ms ease}
.modal,.lightbox{opacity:0;transform:translateY(7px) scale(.98);transition:opacity 240ms var(--ease),transform 240ms var(--ease),display 240ms allow-discrete,overlay 240ms allow-discrete}
.modal[open],.lightbox[open]{opacity:1;transform:translateY(0) scale(1)}
.modal::backdrop,.lightbox::backdrop{opacity:0;transition:opacity 240ms var(--ease),display 240ms allow-discrete,overlay 240ms allow-discrete}.modal[open]::backdrop,.lightbox[open]::backdrop{opacity:1}.modal::backdrop{background:#08150e55;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
@starting-style{.modal[open],.lightbox[open]{opacity:0;transform:translateY(7px) scale(.98)}.modal[open]::backdrop,.lightbox[open]::backdrop{opacity:0}}
.lb-header{background:#18251f99;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.lb-nav{background:#ffffff16;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);box-shadow:inset 0 1px 0 #fff2,0 4px 18px #0002}.lb-actions .icon-button{transition:transform 140ms var(--ease),background-color 160ms ease}
.upload-progress{background:var(--glass-panel);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:0;box-shadow:inset 0 1px 0 var(--glass-edge),var(--shadow)}
@media(hover:hover) and (pointer:fine){.album-card:hover{transform:translateY(-3px)}.album-open:hover .album-image:before{opacity:1}.btn:hover{filter:none}.btn:hover:before{opacity:.65}.btn.primary:hover:before{opacity:.22}.hero-control:hover{transform:translateY(-1px)}.main-nav button:hover:before{opacity:.55}.main-nav .nav-active:hover:before{opacity:1}}
@media(max-width:650px){.album-card{padding:6px;border-radius:14px}.album-image{--album-image-radius:9px;border-radius:0}.album-info{padding:11px 4px 5px}.modal{border-radius:21px}.main-nav{display:none}.btn,.hero-control{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}}
@media(prefers-reduced-motion:reduce){.modal,.lightbox,.modal::backdrop,.lightbox::backdrop{transition:none}.modal,.lightbox,.modal[open],.lightbox[open]{transform:none}.album-card,.hero-control,.btn,.album-image:before,.main-nav button:before{transition:opacity 120ms ease}.album-card:hover,.hero-control:hover{transform:none}}
@media(prefers-reduced-transparency:reduce){.modal,.upload-progress,.main-nav,.hero-control,.btn.ghost,.album-card{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}}
.glass-select{position:relative;display:block;min-width:0}.glass-select>select{display:none!important}.glass-select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;padding:11px 13px;font-size:16px;border-radius:9px;background:color-mix(in srgb,var(--surface) 76%,transparent);color:var(--text);box-shadow:inset 0 0 0 1px var(--line)}.glass-select-trigger:after{content:'';width:7px;height:7px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:translateY(-2px) rotate(45deg);flex-shrink:0;transition:transform 160ms var(--ease)}.glass-select-trigger[aria-expanded=true]:after{transform:translateY(2px) rotate(225deg)}.glass-select-sort .glass-select-trigger{font-size:11px;padding:10px 12px;background:var(--glass-panel);box-shadow:inset 0 1px 0 var(--glass-edge),0 3px 12px var(--glass-shade)}.terrain-radius .glass-select-trigger{font-size:13px;padding:8px 11px;gap:15px}
.glass-select-menu{position:fixed;inset:auto;margin:0;padding:6px;border:0;border-radius:13px;background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--text);backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%);box-shadow:inset 0 1px 0 var(--glass-edge),inset 0 0 0 1px var(--glass-shade),0 12px 35px #0003;overflow-y:auto;overscroll-behavior:contain;opacity:0;transform:translateY(-3px) scale(.98);transform-origin:top left;transition:opacity 160ms var(--ease),transform 160ms var(--ease),display 160ms allow-discrete,overlay 160ms allow-discrete}.glass-select-menu:popover-open{opacity:1;transform:translateY(0) scale(1)}.glass-select-menu::backdrop{background:transparent}.glass-select-option{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 11px;border-radius:8px;font-size:12px;cursor:pointer;outline:none}.glass-select-option[aria-selected=true]{color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent);font-weight:500}.glass-select-option[aria-selected=true]:after{content:'✓';font-size:13px}.glass-select-option:focus{background:var(--soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent)}.glass-select-option[aria-disabled=true]{opacity:.4;cursor:default}.field .glass-select{width:100%}
@starting-style{.glass-select-menu:popover-open{opacity:0;transform:translateY(-3px) scale(.98)}}
@media(hover:hover) and (pointer:fine){.glass-select-option:hover{background:var(--soft)}}
@media(prefers-reduced-motion:reduce){.glass-select-menu,.glass-select-trigger:after{transition:none}.glass-select-menu,.glass-select-menu:popover-open{transform:none}}
@media(prefers-reduced-transparency:reduce){.glass-select-menu{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Keep a fixed flow slot; compact only the foreground and one glass surface. */
html{scroll-padding-top:108px}
.header-shell{--header-lift:14px;--header-glass-height:88px;position:sticky;top:0;z-index:10;isolation:isolate;pointer-events:none;flex:0 0 auto}
.header-shell:before{content:'';position:absolute;inset:0 0 auto;height:var(--header-glass-height);z-index:0;pointer-events:none;background:linear-gradient(180deg,color-mix(in srgb,var(--bg) 90%,transparent),color-mix(in srgb,var(--bg) 72%,transparent) 65%,transparent);backdrop-filter:blur(16px) saturate(125%);-webkit-backdrop-filter:blur(16px) saturate(125%);mask-image:linear-gradient(180deg,#000 0%,#000 65%,transparent 100%);opacity:0;visibility:hidden;transition:opacity 180ms ease,visibility 180ms;will-change:opacity}
.header-shell.is-compact:before{opacity:1;visibility:visible}
.header-shell .header{position:relative;z-index:1;transform:translate3d(0,0,0);transition:transform 200ms var(--ease);will-change:transform}
.header-shell a,.header-shell button{pointer-events:auto}
.header-shell.is-compact .header{transform:translate3d(0,calc(-1 * var(--header-lift)),0)}
@media(max-width:650px){html{scroll-padding-top:78px}.header-shell{--header-lift:10px;--header-glass-height:75px}.header-shell:before{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}}
@media(display-mode:standalone) and (max-width:650px){.header-shell{--header-glass-height:calc(75px + env(safe-area-inset-top,0px))}}
@media(prefers-reduced-motion:reduce){.header-shell .header{transition:none}.header-shell:before{transition:opacity 120ms ease,visibility 120ms}}
@media(prefers-reduced-transparency:reduce){.header-shell:before{background:var(--bg);mask-image:none;backdrop-filter:none;-webkit-backdrop-filter:none}}

/* A circular viewport over a seamless SVG contour field: no lens or outer ring. */
.brand-mark{shape-rendering:geometricPrecision}


/* One full-surface toggle, sharing its quiet material with the profile control. */
.theme-switch{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;align-items:center;flex-shrink:0;width:74px;height:38px;padding:4px;border:0;border-radius:24px;background:linear-gradient(145deg,#e5e8df,#fafbf6);box-shadow:inset 0 2px 5px #344e400a,0 3px 10px #253c2a08;cursor:pointer;overflow:hidden;transition:transform 140ms var(--ease)}
.theme-switch:before,.theme-switch:after{content:none}.theme-thumb{position:absolute;left:4px;top:4px;width:30px;height:30px;border-radius:50%;background:linear-gradient(145deg,#fffef9,#e9ede3);box-shadow:0 2px 5px #14241d18,0 5px 12px #14241d08;transform:translateX(1.5px);transition:transform 240ms var(--ease)}
.theme-symbol{position:relative;z-index:1;display:grid;place-items:center;width:100%;height:30px;pointer-events:none;color:#899082;opacity:.6;transition:opacity 240ms ease}.theme-switch .theme-symbol svg{width:15px;height:15px}.theme-sun{opacity:1;color:#52634a}
.avatar{width:38px;height:38px;display:grid;place-items:center;padding:0;border:0;background:linear-gradient(145deg,#e5e8df,#fafbf6);box-shadow:inset 0 2px 5px #344e400a,0 3px 10px #253c2a08;color:#617257;backdrop-filter:none;-webkit-backdrop-filter:none}.avatar .icon{width:17px;height:17px}
[data-theme=dark] .theme-switch,[data-theme=dark] .avatar{background:linear-gradient(145deg,#242e27,#19211c);box-shadow:inset 0 2px 5px #00000014,0 3px 10px #00000012}
[data-theme=dark] .theme-thumb{transform:translateX(34.5px);background:linear-gradient(145deg,#303d33,#253128);box-shadow:0 2px 5px #0002,0 5px 12px #0001}
[data-theme=dark] .theme-sun{color:#778471;opacity:.45}[data-theme=dark] .theme-moon{color:#dcebd3;opacity:1}[data-theme=dark] .theme-moon svg{filter:drop-shadow(0 0 3px #cfefb65c)}[data-theme=dark] .avatar{color:#bacdb0}[data-theme=dark] .avatar .icon{filter:drop-shadow(0 0 3px #cfefb626)}
@media(prefers-reduced-motion:reduce){.theme-thumb,.theme-symbol{transition:none}}

/* One clean silhouette: no layered borders or inset bevels on action buttons. */
.btn{border:0;border-radius:10px;background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 82%,transparent),color-mix(in srgb,var(--surface) 60%,transparent));box-shadow:0 3px 10px var(--glass-shade)}
.btn:before{display:none}.btn.primary{border:0;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 94%,#fff),var(--accent));box-shadow:0 3px 10px var(--glass-shade)}
.btn.ghost{border:0;background:color-mix(in srgb,var(--glass-panel) 65%,transparent);box-shadow:0 2px 8px color-mix(in srgb,var(--glass-shade) 70%,transparent)}
.btn,.hero-control,.avatar,.theme-switch,.glass-select-trigger{-webkit-appearance:none;appearance:none}
.photo-cell>.photo-rating{position:absolute;left:12px;bottom:11px;pointer-events:none;background:#14221988;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:20px;padding:4px 9px;color:#e3edcf;font-size:11px;letter-spacing:1.5px}.photo-rating>span{opacity:.4}.lb-caption .photo-rating{margin-left:13px;color:#dbe8c3;letter-spacing:2px;font-size:12px;white-space:nowrap}.stats-modal{width:min(930px,calc(100% - 30px))}.stats-loading{display:flex;align-items:center;gap:12px;min-height:180px;justify-content:center;color:var(--muted)}.stats-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0 28px}.stats-kpi{padding:20px;border-radius:15px;background:color-mix(in srgb,var(--surface) 45%,transparent);display:flex;flex-direction:column;gap:9px}.stats-kpi svg{width:19px;height:19px;fill:none;stroke:var(--accent);stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round;margin-bottom:5px}.stats-kpi>span{font-size:10px;color:var(--muted)}.stats-kpi strong{font-size:34px;font-weight:500;letter-spacing:-1.5px;font-variant-numeric:tabular-nums;line-height:1.2}.stats-traffic header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.stats-traffic header>span{font-size:10px;color:var(--muted)}.stats-modal h3{font-size:15px;letter-spacing:-.3px;font-weight:500}.stats-chart{display:block;width:100%;height:145px;fill:var(--accent)}.stats-chart-dates{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:8px}.stats-lists{display:grid;grid-template-columns:1fr 1fr;gap:34px;margin-top:32px}.stats-rank{display:flex;align-items:center;gap:12px;margin-top:17px;font-size:11px}.stats-rank-index{color:var(--muted);font-size:10px;min-width:12px}.stats-rank>div{flex:1;min-width:0}.stats-rank>div>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stats-rank strong{font-weight:500;font-variant-numeric:tabular-nums}.stats-rank-track{height:3px;background:var(--soft);margin-top:7px;border-radius:3px;overflow:hidden}.stats-rank-track i{display:block;height:100%;background:var(--accent);opacity:.6;border-radius:3px}.stats-empty{font-size:11px;color:var(--muted);line-height:1.8;margin-top:15px}.stats-method{font-size:10px;line-height:1.8;color:var(--muted);margin-top:30px;border-top:1px solid var(--line);padding-top:17px}
@media(max-width:650px){.stats-kpis{grid-template-columns:1fr 1fr;gap:10px}.stats-kpi{padding:16px}.stats-kpi strong{font-size:29px}.stats-lists{grid-template-columns:1fr;gap:24px}.photo-cell>.photo-rating{left:8px;bottom:8px;font-size:9px;padding:3px 7px}.lb-caption .photo-rating{display:block;margin:3px 0 0;font-size:10px}}
.route-actions .route-mapy-link{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:12px;background:var(--glass-panel);color:var(--text);font-size:11px;white-space:nowrap;max-width:none;text-align:left;box-shadow:0 3px 12px var(--glass-shade)}.route-mapy-link img{width:23px;height:23px;object-fit:contain;border-radius:6px}.route-mapy-link>span:last-child{font-size:12px;color:var(--muted)}
.route-chart{position:relative;height:220px;cursor:crosshair;isolation:isolate}.route-chart:focus{outline:none}:root[data-input=keyboard] .route-chart:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 55%,transparent);outline-offset:7px;border-radius:8px}.route-crosshair{opacity:0;transition:opacity 150ms ease;pointer-events:none}.is-inspecting .route-crosshair{opacity:1}.route-marker{stroke:var(--accent);stroke-opacity:.6;stroke-dasharray:3 4}.route-marker-horizontal{stroke:var(--accent);stroke-width:1;stroke-opacity:.22;stroke-dasharray:3 5}.route-dot-halo{fill:var(--accent);fill-opacity:.13;stroke:var(--accent);stroke-opacity:.25;stroke-width:1}.route-dot{fill:var(--accent);stroke:var(--surface);stroke-width:2}.route-tooltip{position:absolute;top:0;left:0;width:162px;z-index:2;pointer-events:none}.route-tooltip-card{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:12px;border-radius:13px;background:color-mix(in srgb,var(--surface) 90%,transparent);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 5px 22px var(--glass-shade),inset 0 1px 0 var(--glass-edge);opacity:0;transform:translateY(3px) scale(.98);transition:opacity 150ms var(--ease),transform 150ms var(--ease)}.is-inspecting .route-tooltip-card{opacity:1;transform:translateY(0) scale(1)}.route-tooltip-card>div>span{display:block;font-size:8px;color:var(--muted);white-space:nowrap;margin-bottom:4px}.route-tooltip-card strong{display:block;white-space:nowrap}.route-tooltip-card b{font-size:17px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.4px}.route-tooltip-card small{font-size:9px;font-weight:400;color:var(--muted)}
@media(max-width:650px){.route-actions .route-mapy-link{padding:7px;gap:5px}.route-mapy-link>span{display:none}.route-mapy-link img{width:25px;height:25px}}
@media(prefers-reduced-motion:reduce){.route-crosshair,.route-tooltip-card{transition:none}.route-tooltip-card{transform:none}}
/* The photograph gets the full viewport; all chrome floats over it. */
.lightbox{overflow:hidden}#lightbox-body{position:relative;width:100%;height:100dvh}.lb-stage{position:absolute;inset:0;height:100dvh;padding:0;display:block;overflow:hidden;touch-action:auto}.lb-pager{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:auto;scrollbar-width:none;overscroll-behavior:contain;touch-action:pan-x pinch-zoom;overflow-anchor:none;-webkit-overflow-scrolling:touch}.lb-pager::-webkit-scrollbar{display:none}.lb-slide{flex:0 0 100%;width:100%;height:100%;scroll-snap-align:center;scroll-snap-stop:always;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;place-items:center;overflow:hidden}.lb-slide img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;pointer-events:none}.lb-header{position:absolute;inset:0 0 auto;height:calc(68px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(18px,env(safe-area-inset-right)) 0 max(18px,env(safe-area-inset-left));z-index:4;border:0;background:linear-gradient(180deg,#101512b3,transparent);backdrop-filter:none;-webkit-backdrop-filter:none}.lb-bottom{position:absolute;inset:auto 0 0;height:calc(76px + env(safe-area-inset-bottom));padding:0 20px env(safe-area-inset-bottom);z-index:4;background:linear-gradient(0deg,#101512b3,transparent)}.lb-header,.lb-bottom{opacity:0;pointer-events:none;transition:opacity 180ms ease}.lightbox.controls-visible .lb-header,.lightbox.controls-visible .lb-bottom,.lightbox.info-on .lb-header{opacity:1;pointer-events:auto}.lb-nav{z-index:3;top:50%;margin-top:-22px;width:44px;height:44px;opacity:0;pointer-events:none;background:#1c29234d;box-shadow:0 4px 20px #0002;border:0;transition:opacity 180ms ease,transform 140ms var(--ease)}.lb-prev{left:max(18px,env(safe-area-inset-left))}.lb-next,.info-on .lb-next{right:max(18px,env(safe-area-inset-right))}.lightbox.mouse-active .lb-nav{opacity:1;pointer-events:auto}:root[data-input=keyboard] .lightbox .lb-header:focus-within,:root[data-input=keyboard] .lightbox .lb-bottom:focus-within,:root[data-input=keyboard] .lightbox .lb-nav:focus-visible{opacity:1;pointer-events:auto}.info-on .lb-stage{padding-right:300px}.info-on .lb-next{right:318px}.lb-info{z-index:5;top:68px;bottom:76px}.lb-caption{pointer-events:none}.film-thumb{flex-shrink:0}
@media(max-width:650px){.lb-stage,.info-on .lb-stage{padding:0;height:100dvh}.lb-header{height:calc(64px + env(safe-area-inset-top));padding-right:max(10px,env(safe-area-inset-right));padding-left:max(10px,env(safe-area-inset-left))}.lb-caption{max-width:42vw;font-size:10px}.lb-info{top:auto;bottom:0;height:55dvh}.lb-nav{width:40px;height:40px}.info-on .lb-next{right:18px}.lb-bottom{gap:6px}.film-thumb{width:42px;height:35px}}
@media(prefers-reduced-motion:reduce){.lb-header,.lb-bottom,.lb-nav{transition:none}.lb-pager{scroll-behavior:auto}}

html.photo-viewer-open{overflow:hidden}
.action-icon{width:42px;min-width:42px;height:42px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.action-icon .icon{width:18px;height:18px}.hero-control{width:38px;min-width:38px;height:38px;padding:0}.hero-buttons{gap:9px}.back.action-icon{background:var(--glass-panel);border-radius:50%;margin-bottom:16px;color:var(--muted);box-shadow:0 2px 10px var(--glass-shade)}.back.action-icon .icon{width:17px;height:17px}.album-tools{align-items:center;gap:6px}.album-tools .icon-button{width:38px;height:38px;background:color-mix(in srgb,var(--glass-panel) 65%,transparent)}.hero-tag{max-width:calc(100% - 120px)}
.ui-tooltip{position:fixed;inset:auto;margin:0;padding:8px 11px;max-width:min(260px,calc(100vw - 16px));border:0;border-radius:9px;background:color-mix(in srgb,var(--text) 94%,transparent);color:var(--bg);box-shadow:0 5px 20px #0002;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font:11px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;pointer-events:none;opacity:0;transform:translateY(3px);transition:opacity 125ms var(--ease),transform 125ms var(--ease),display 125ms allow-discrete,overlay 125ms allow-discrete}.ui-tooltip[data-open]{opacity:1;transform:translateY(0)}.ui-tooltip::backdrop{background:transparent;pointer-events:none}
@starting-style{.ui-tooltip[data-open]{opacity:0;transform:translateY(3px)}}
@media(any-pointer:coarse){.action-icon,.hero-control,.album-tools .icon-button{min-width:44px;min-height:44px}.hero-tag{max-width:calc(100% - 135px)}}
@media(prefers-reduced-motion:reduce){.ui-tooltip{transition:none;transform:none}}
/* Keep route annotations inside the profile, with contrast independent of the photo. */
.hero-route{height:114px;color:#f8fbf3;isolation:isolate}.hero-route:before{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,transparent 15%,#07130d0d 50%,#07130d26);pointer-events:none}.hero-route .hero-route-profile{position:absolute;inset:0;width:100%;height:100%;z-index:1}.hero-route-label{position:absolute;right:22px;bottom:12px;z-index:2;height:34px;gap:19px;padding:0 12px;border-radius:12px;background:#101b16b8;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 3px 12px #0002;color:#f8fbf3;opacity:1;text-shadow:0 1px 3px #0004}.hero-route-label strong{font-size:16px;font-weight:500}.hero-route-label small{opacity:.9}.hero-route-label svg{opacity:.95}.hero-route-line{stroke:#f8fbf3;stroke-width:2.3;stroke-opacity:.9;stroke-linecap:round;stroke-linejoin:round}.hero-route-line-shadow{fill:none;stroke:#101b16;stroke-width:4.3;stroke-opacity:.58;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.cover-preview .hero-route-label{right:14px;bottom:10px;gap:14px;height:32px}.cover-preview .hero-route-label strong{font-size:14px}
.route-summit-pin{pointer-events:none}.route-summit-pin path{fill:var(--accent);stroke:var(--surface);stroke-width:1.5;stroke-linejoin:round}.route-summit-pin.is-nearby path{fill:var(--surface);stroke:var(--accent);stroke-width:1.5}.route-summit-pin text{fill:var(--accent);font-size:9px;font-weight:600;paint-order:stroke;stroke:var(--surface);stroke-width:3px;stroke-linejoin:round}.route-peaks{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.route-peak{display:flex;align-items:center;gap:9px;text-align:left;padding:8px 11px;border-radius:11px;background:color-mix(in srgb,var(--surface) 55%,transparent);color:var(--text)}.route-peak-number{display:grid;place-items:center;min-width:21px;height:21px;border-radius:50%;background:var(--soft);color:var(--accent);font-size:10px;font-variant-numeric:tabular-nums}.route-peak strong{display:block;font-size:10px;font-weight:500}.route-peak small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.route-peaks-source{font-size:9px;color:var(--muted);line-height:1.6;margin:11px 0 17px}.route-peaks-source a{text-decoration:underline}
@media(hover:hover) and (pointer:fine){.route-peak:hover{background:var(--soft)}}
@media(max-width:650px){.route-peak{flex:1 1 44%;padding:8px;min-width:0}.route-peak strong{font-size:10px}.route-peak small{font-size:8px}.route-peak-number{min-width:19px;height:19px}}

/* Zoom owns panning only while magnified; at fit the native album pager keeps its inertia. */
.lb-pager{touch-action:pan-x}.lb-slide img{transform-origin:50% 50%}.lb-slide img.zoom-animate{transition:transform 200ms var(--ease)}.lb-stage.is-zoomed .lb-pager{overflow-x:hidden;touch-action:none;cursor:grab}.lb-stage.is-zoomed .lb-pager:active{cursor:grabbing}.lb-zoom-status{position:absolute;z-index:2;left:50%;bottom:calc(88px + env(safe-area-inset-bottom));transform:translateX(-50%);border-radius:20px;padding:6px 12px;background:#101512ab;backdrop-filter:blur(14px);color:#ffffffe6;font-size:10px;font-variant-numeric:tabular-nums;pointer-events:none;white-space:nowrap}.lb-actual{font-size:10px;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.lb-actions [aria-pressed=true]{background:#ffffff20;color:white}.lb-stage.is-zoomed .lb-nav{opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){.lb-slide img.zoom-animate{transition:none}}
@media(max-width:650px){.lb-header .lb-caption{flex:1;min-width:0;max-width:25vw}.lb-header .lb-actions .icon-button{width:34px;min-width:34px}.lb-actual{display:none}}

/* Cover navigation shares the same glass controls without reserving a row above the cover. */
.hero-navigation{left:20px;right:auto}
@media(max-width:650px){.hero-navigation{left:12px}.album-hero:has(.hero-navigation)>.hero-tag{left:68px;max-width:calc(100% - 192px)}}

/* One clean profile stroke; the glass summary sits entirely below its lowest point. */
.hero-route{height:170px;mask-image:none}.hero-route:before{display:none}.hero-route-line{stroke:currentColor;stroke-width:2.3;stroke-opacity:.9}.hero-route-label{height:44px;bottom:16px;right:22px;padding:0 18px;gap:19px;border:0;border-radius:24px;background:linear-gradient(135deg,#ffffff20,#14231c45);box-shadow:inset 0 1px 0 #ffffff40,0 8px 24px #0001;backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%);color:#fff;text-shadow:0 1px 3px #0003;pointer-events:auto;cursor:pointer}.hero-route-label strong{font-weight:600}.hero-route-label svg{height:16px;width:16px}.cover-preview .hero-route-label{bottom:14px;height:40px;border-radius:22px}.cover-preview .hero-route{pointer-events:none}.cover-preview .hero-route-label{pointer-events:none}
@media(hover:hover) and (pointer:fine){.hero-route-label:hover{background:linear-gradient(135deg,#ffffff38,#14231c55)}}
@media(prefers-reduced-transparency:reduce){.hero-route-label{background:#334c42;backdrop-filter:none;-webkit-backdrop-filter:none}}
.hero-route .hero-route-profile{mask-image:linear-gradient(90deg,transparent,#000 9%)}.hero-route-label{color:inherit;text-shadow:none}

/* Secondary cover actions mirror the controls at the opposite corner. */
.hero-controls.hero-buttons{left:20px;bottom:20px;right:auto;top:auto;gap:8px}
@media(max-width:650px){.hero-controls.hero-buttons{left:12px;bottom:16px;gap:5px}.album-hero:has(.hero-buttons>.hero-control) .hero-content{padding-bottom:84px}}

/* Keep the decorative profile low; the glass summary may overlap it. */
.hero-route{height:94px}
.album-hero .hero-tag>div{min-width:0}.album-hero .hero-tag>.icon{flex-shrink:0}

/* EXIF floats over the unchanged full-screen photograph. */
.info-on .lb-stage{padding:0}.info-on .lb-next{right:max(18px,env(safe-area-inset-right))}.lightbox .lb-info{top:calc(78px + env(safe-area-inset-top));right:max(22px,env(safe-area-inset-right));bottom:auto;width:340px;height:auto;max-height:calc(100dvh - 170px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:23px;border:0;border-radius:25px;background:linear-gradient(135deg,#ffffffad,#f3f5ed7a);backdrop-filter:blur(32px) saturate(145%);-webkit-backdrop-filter:blur(32px) saturate(145%);color:var(--text);box-shadow:inset 0 1px 0 #fff8,inset 0 0 0 1px #ffffff20,0 20px 60px #0003;overscroll-behavior:contain;scrollbar-width:thin;transition:opacity 180ms ease,transform 180ms var(--ease)}[data-theme=dark] .lightbox .lb-info{background:linear-gradient(135deg,#3444389c,#15231bb3);box-shadow:inset 0 1px 0 #ffffff28,inset 0 0 0 1px #ffffff0c,0 20px 60px #0004}.exif-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:24px}.exif-heading>div{min-width:0}.lb-info .exif-eyebrow{display:block;font-size:8px;font-weight:600;letter-spacing:1.6px;color:color-mix(in srgb,var(--text) 55%,transparent);margin-bottom:11px}.lb-info h3{font-size:20px;line-height:1.25;letter-spacing:-.5px;font-weight:500;margin:0 0 7px}.lb-info .exif-heading p{font-size:10px;color:color-mix(in srgb,var(--text) 65%,transparent);margin:0}.lb-info .exif-heading .icon-button{width:30px;height:30px;min-width:30px;min-height:30px;color:var(--text);background:#ffffff12;flex-shrink:0;margin-top:-4px;margin-right:-5px}.lb-info .exif-grid{grid-template-columns:1fr 1fr;gap:19px 17px}.lb-info .exif-grid dt{font-size:9px;color:color-mix(in srgb,var(--text) 58%,transparent);margin-bottom:5px}.lb-info .exif-grid dd{font-size:12px;color:var(--text);font-variant-numeric:tabular-nums;line-height:1.5}.lb-info .exif-grid>div:nth-child(2),.lb-info .exif-grid>div:nth-child(3){grid-column:1/-1}
@starting-style{.lightbox .lb-info{opacity:0;transform:translateY(-6px)}}
@media(max-width:650px){.lightbox .lb-info{top:auto;right:max(12px,env(safe-area-inset-right));left:max(12px,env(safe-area-inset-left));bottom:calc(87px + env(safe-area-inset-bottom));width:auto;max-height:58dvh;padding:21px;border-radius:24px}.lb-info .exif-grid{gap:17px}.lb-info .exif-grid>div:nth-child(2),.lb-info .exif-grid>div:nth-child(3){grid-column:auto}}
@media(prefers-reduced-motion:reduce){.lightbox .lb-info{transition:opacity 120ms ease;transform:none}}
@media(prefers-reduced-transparency:reduce){.lightbox .lb-info{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}}

/* The poster title is the single entrance into its album. */
.hero-story-link{text-align:left;color:#fff;font:inherit;cursor:pointer;z-index:4;max-width:calc(100% - 96px)}.hero-story-link>div{min-width:0}.hero-story-link>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-story-link>.icon{flex-shrink:0}.hero-story-link>.icon:last-child{width:16px;height:16px;margin-left:8px}.hero-story-link span{font-size:13px}.home-cover{position:relative}.home-cover>.poster-entering{position:absolute;inset:0;width:100%;z-index:2}.home-cover-pause{position:absolute;bottom:20px;left:20px;z-index:6;color:var(--text)}.home-cover-pause .icon{width:13px;height:13px}
@media(hover:hover) and (pointer:fine){.hero-story-link:hover{background:linear-gradient(135deg,#ffffff38,#14231c55)}}
@media(max-width:650px){.hero-story-link{max-width:calc(100% - 120px)}.home-cover-pause{bottom:16px;left:12px}}

/* A quieter vertical route summary, anchored to the same cover inset. */
.hero-route-label{height:auto;min-height:0;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;padding:10px 14px;border-radius:20px;right:22px;bottom:16px}.hero-route-label>span{display:grid;grid-template-columns:13px 1fr 14px;align-items:center;column-gap:7px}.hero-route-label strong{font-size:12px;line-height:1.25;font-weight:500;letter-spacing:-.15px;text-align:right;opacity:.84}.hero-route-label small{font-size:8px;line-height:1;opacity:.65}.hero-route-label svg{width:12px;height:12px;stroke-width:1.5;opacity:.7}.cover-preview .hero-route-label{height:auto;gap:4px;padding:8px 12px;border-radius:18px}.cover-preview .hero-route-label strong{font-size:11px}
@media(max-width:380px){.header{gap:10px}.header .brand{font-size:24px;letter-spacing:-1.1px;gap:6px}.header .brand svg{width:29px;height:29px}.header-actions{gap:8px}}

/* Delayed feedback avoids flashing on cache hits; no invented percentage. */
.network-loading{position:fixed;left:0;right:0;top:0;height:2px;z-index:90;overflow:hidden;pointer-events:none}.network-loading>span{display:block;height:100%;width:35%;background:var(--accent);animation:loading-travel 1.2s linear infinite;transform-origin:left}.photo-cell.image-pending:after,.album-image.image-pending:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent,var(--glass-edge),transparent);animation:loading-glow 1.4s ease-in-out infinite}.hero.image-pending{background:var(--hero-wash)}.lb-detail-progress{position:absolute;inset:0 0 auto;height:2px;background:#ffffff12;z-index:6;overflow:hidden;pointer-events:none}.lb-detail-progress>span{display:block;width:100%;height:100%;background:#e5efdc;transform:scaleX(0);transform-origin:left;transition:transform 100ms linear}.lb-detail-progress.is-indeterminate>span{width:35%;animation:loading-travel 1.2s linear infinite}
@keyframes loading-travel{from{transform:translateX(-110%)}to{transform:translateX(390%)}}@keyframes loading-glow{0%,100%{opacity:.15}50%{opacity:.7}}
@media(prefers-reduced-motion:reduce){.network-loading>span,.lb-detail-progress.is-indeterminate>span{animation:none;width:100%;transform:none;opacity:.6}.photo-cell.image-pending:after,.album-image.image-pending:before{animation:none;opacity:.25}.lb-detail-progress>span{transition:none}}

/* Small, proportional route typography with matching icons. */
.hero-route-label{gap:4px;padding:9px 11px;border-radius:17px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:400;letter-spacing:normal;font-variant-numeric:normal}.hero-route-label>span{grid-template-columns:10px auto 11px;column-gap:5px}.hero-route-label strong,.cover-preview .hero-route-label strong{font-family:inherit;font-size:10px;line-height:1.2;font-weight:400;font-variant-numeric:normal;letter-spacing:normal;opacity:.8}.hero-route-label small{font-family:inherit;font-size:7px;font-weight:400;letter-spacing:normal;opacity:.62}.hero-route-label svg{width:10px;height:10px;stroke-width:1.4;opacity:.67}.cover-preview .hero-route-label{gap:4px;padding:8px 10px;border-radius:16px}

/* Reveal the compact infographic from a tiny profile icon at the same anchor. */
.hero-route-peek{position:absolute;right:22px;bottom:16px;width:28px;height:28px;z-index:3;pointer-events:auto}.hero-route-trigger{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;color:inherit;background:linear-gradient(135deg,#ffffff20,#14231c45);box-shadow:inset 0 1px 0 #ffffff30,0 4px 16px #0001;backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%);transition:opacity 140ms ease,transform 180ms var(--ease)}.hero-route-trigger svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.8}.hero-route-peek .hero-route-label{right:0;bottom:0;margin:0;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(3px) scale(.92);transform-origin:bottom right;transition:opacity 180ms ease,transform 180ms var(--ease),visibility 180ms;white-space:nowrap}.hero-route-peek.is-open .hero-route-label{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}.hero-route-peek.is-open .hero-route-trigger{opacity:0;transform:scale(.88)}.cover-preview .hero-route-peek{right:14px;bottom:14px;pointer-events:none}.cover-preview .hero-route-peek .hero-route-label{right:0;bottom:0}
@media(any-pointer:coarse){.hero-route-peek{width:44px;height:44px}.hero-route-trigger{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.hero-route-peek .hero-route-label,.hero-route-trigger{transition:opacity 120ms ease;transform:none}}
@media(prefers-reduced-transparency:reduce){.hero-route-trigger{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Ratings stay quiet until a photograph is pointed at or focused by keyboard. */
.photo-cell>.photo-rating{opacity:0;transition:opacity 140ms ease}
@media(hover:hover) and (pointer:fine){.photo-cell:hover>.photo-rating{opacity:1}}
:root[data-input=keyboard] .photo-cell:focus-within>.photo-rating{opacity:1}
@media(prefers-reduced-motion:reduce){.photo-cell>.photo-rating{transition:none}}

/* A quiet, static wordmark; only the contour symbol moves. */
.brand-wordmark{display:inline-flex;align-items:baseline;font-size:30px;line-height:1.2;letter-spacing:-1.1px;white-space:nowrap}.brand-ledo{font-weight:600}.brand-divider{font-size:1em;font-weight:500;opacity:.65;letter-spacing:0}.brand-gallery{font-size:.74em;font-weight:350;letter-spacing:-.55px;opacity:.62;margin-left:2px}
@media(max-width:650px){.brand-wordmark{font-size:27px;letter-spacing:-.9px}.brand-gallery{letter-spacing:-.45px}}
@media(max-width:380px){.brand-wordmark{font-size:24px}}

/* A single softer, slightly diagonal wash; the top extends behind the headline. */
@media(min-width:651px){.hero-photo{mask-image:none}.hero:after{background:linear-gradient(104deg,var(--hero-wash) 0%,color-mix(in srgb,var(--hero-wash) 99%,transparent) 20%,color-mix(in srgb,var(--hero-wash) 95%,transparent) 29%,color-mix(in srgb,var(--hero-wash) 83%,transparent) 38%,color-mix(in srgb,var(--hero-wash) 62%,transparent) 47%,color-mix(in srgb,var(--hero-wash) 37%,transparent) 57%,color-mix(in srgb,var(--hero-wash) 16%,transparent) 67%,color-mix(in srgb,var(--hero-wash) 4%,transparent) 77%,transparent 88%)}.hero:before{background:linear-gradient(0deg,#10241c0a,transparent 60%)}}
.poster-modal{width:min(840px,calc(100% - 30px))}.poster-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.poster-choice{position:relative;padding:0;border-radius:12px;overflow:hidden;aspect-ratio:1.4;background:var(--soft);box-shadow:0 2px 12px #0001}.poster-choice img{height:100%;object-fit:cover}.poster-choice.is-current{outline:2px solid var(--accent);outline-offset:3px}.poster-current{position:absolute;right:9px;bottom:9px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--accent-text)}.poster-current .icon{width:14px;height:14px}.cover-editor-footer{flex-wrap:wrap}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.home-typewriter{display:inline-block;min-height:1.5em}.type-caret{display:inline-block;height:.9em;border-right:1px solid currentColor;margin-left:3px;vertical-align:-.05em;opacity:.6;animation:type-caret 1.1s steps(1,end) infinite}@keyframes type-caret{0%,49%{opacity:.6}50%,100%{opacity:0}}
@media(max-width:650px){.poster-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cover-editor-footer>div{flex-wrap:wrap}.home-typewriter{font-size:inherit;letter-spacing:1.5px;min-height:2.5em;max-width:100%}}
@media(prefers-reduced-motion:reduce){.type-caret{animation:none;display:none}}
@media(min-width:651px){.hero-photo{mask-image:linear-gradient(90deg,transparent 0%,#0002 5%,#0008 12%,#000e 19%,#000 24%)}.cover-preview.is-mobile .hero-photo,.cover-preview.is-card .hero-photo{mask-image:none}}

/* Match the other corner controls; the hover card has room for readable data. */
.hero-route-peek{right:20px;bottom:20px;width:38px;height:38px}.hero-route-trigger{width:38px;height:38px;background:var(--glass-panel);color:var(--text);box-shadow:inset 0 1px 0 var(--glass-edge),inset 0 0 0 1px var(--glass-shade),0 4px 18px var(--glass-shade)}.hero-route-trigger svg{width:15px;height:15px;opacity:1;stroke-width:1.6}.hero-route-peek .hero-route-label{min-width:120px;gap:9px;padding:14px 17px;border-radius:21px}.hero-route-peek .hero-route-label>span{grid-template-columns:15px 1fr 17px;column-gap:9px}.hero-route-peek .hero-route-label strong,.cover-preview .hero-route-peek .hero-route-label strong{font-size:16px;font-weight:400;line-height:1.3;opacity:.94}.hero-route-peek .hero-route-label small{font-size:10px;opacity:.75}.hero-route-peek .hero-route-label svg{width:15px;height:15px;opacity:.8}
@media(any-pointer:coarse){.hero-route-peek,.hero-route-trigger{width:44px;height:44px}}

/* Keep the icon tappable while its summary floats above it. */
.hero-route-peek .hero-route-label{bottom:calc(100% + 8px)}.hero-route-peek.is-open .hero-route-trigger{opacity:1;transform:none}.hero-route-peek.is-open:before{content:'';position:absolute;right:0;bottom:100%;height:10px;width:130px;pointer-events:auto}.cover-preview .hero-route-peek .hero-route-label{bottom:calc(100% + 8px)}
@media(max-width:650px){
 .header .brand{min-width:0;flex-shrink:0}.brand svg{flex-shrink:0}.header-actions{gap:10px;flex-shrink:0}.header .avatar{width:44px;height:44px}.header .theme-switch{height:44px;padding:7px 4px}.header .theme-thumb{top:7px}
 .hero-control{width:44px;min-width:44px;height:44px;min-height:44px}.hero-controls,.hero-controls.hero-buttons{gap:8px}
 .home-cover .hero-content{padding-bottom:88px}.home-cover-pause{width:44px;min-width:44px;height:44px}
 .hero-route{display:block;left:0;right:0;bottom:0;height:0;overflow:visible;mask-image:none}.hero-route .hero-route-profile{display:none}.hero-route-peek{width:44px;height:44px;right:12px;bottom:16px}.hero-route-trigger{width:44px;height:44px}.hero-route-peek .hero-route-label{bottom:calc(100% + 8px);right:0}
 .album-hero:has(.hero-navigation)>.hero-tag{max-width:calc(100% - 198px)}.section-actions{gap:8px}.album-tools .icon-button{width:44px;height:44px;min-width:44px}.section-actions .glass-select-trigger{min-height:44px}
 .cover-preview.is-mobile .hero-route{display:block;height:0}.cover-preview.is-mobile .hero-route-profile{display:none}
}
@media(max-width:380px){.header-actions{gap:8px}.header .brand{gap:5px}}
@media(max-width:650px){.header .brand{min-height:44px}.section-actions select{font-size:16px;min-height:44px}}
@media(max-width:650px){
 .select-box{width:44px;height:44px;top:0;left:0;border:0;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}.select-box:before{content:'';position:absolute;inset:10px;border:1px solid #ffffffbb;border-radius:50%;background:#17271b33;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.select-box .icon{position:relative;z-index:1}.photo-cell.selected .select-box{background:none;border:0}.photo-cell.selected .select-box:before{background:var(--accent);border-color:var(--accent)}
 .lb-header>.icon-button,.lb-header .lb-actions .icon-button{width:44px;min-width:44px;height:44px}.lb-info .exif-heading .icon-button,.modal .icon-button{min-width:44px;min-height:44px}.route-actions .route-external,.route-actions .icon-button{min-width:44px;min-height:44px}
}
@media(max-width:650px){.home-cover .hero-story-link{min-height:44px}}
/* Place the expanded mobile summary in the photo, clear of the album copy. */
@media(max-width:650px){.album-hero{--mobile-hero-height:500px;height:var(--mobile-hero-height)}.album-hero .hero-route-peek .hero-route-label{bottom:calc(var(--mobile-hero-height) - 244px);transform-origin:bottom right}.album-hero .hero-route-peek:before{display:none}}
@media(max-width:380px){.album-hero{--mobile-hero-height:560px}}

/* Account forms use the same glass modal and theme tokens as the gallery. */
.account-mail-note{padding:16px 18px;border-radius:16px;background:var(--soft);color:var(--muted);font-size:13px;line-height:1.7}.account-members{margin-top:28px}.account-members .guest-pill{white-space:normal;text-align:right;line-height:1.5}#profile-form input,#password-form input,#invite-form input,#invite-form select{font-size:16px}#profile-form .form-actions,#password-form .form-actions{flex-wrap:wrap}

/* Cover inspection stays local to the elevation curve and never captures photo gestures. */
.hero-route .hero-route-inspector{position:absolute;inset:0;width:100%;height:100%;z-index:2;overflow:visible;pointer-events:none}
.hero-route-inspector .route-marker,.hero-route-inspector .route-marker-horizontal{stroke:currentColor;stroke-width:1;stroke-opacity:.7;stroke-dasharray:3 4}
.hero-route-inspector .route-marker-horizontal{stroke-opacity:.4}
.hero-route-inspector .route-dot-halo{fill:currentColor;stroke:currentColor;fill-opacity:.12;stroke-opacity:.3}
.hero-route-inspector .route-dot{fill:currentColor;stroke:var(--surface);stroke-width:1.5}
.hero-route .hero-route-tooltip{z-index:4;color:var(--text);pointer-events:none;opacity:0;transition:opacity 150ms ease}
.hero-route.is-inspecting .hero-route-tooltip{opacity:1}
.hero-route-tooltip .route-tooltip-card{background:color-mix(in srgb,var(--surface) 94%,transparent);text-shadow:none}
@media(max-width:650px){.hero-route .hero-route-inspector,.hero-route .hero-route-tooltip{display:none}}
@media(prefers-reduced-motion:reduce){.hero-route .hero-route-tooltip{transition:none}}
/* Compact, touch-sized filter controls with native pickers on touch screens. */
.filter-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;color:var(--muted);background:var(--glass-panel);box-shadow:inset 0 1px 0 var(--glass-edge),0 3px 12px var(--glass-shade)}
.filter-icon>.icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:19px;height:19px;pointer-events:none;z-index:1}
.filter-icon>select{position:absolute;inset:0;width:44px;height:44px;opacity:0;font-size:16px;cursor:pointer}
.filter-icon .glass-select{width:44px;height:44px}.filter-icon .glass-select-trigger{width:44px;height:44px;min-height:44px;padding:0;font-size:0;border-radius:50%;background:transparent;box-shadow:none}.filter-icon .glass-select-trigger:after{display:none}
.filter-icon.is-active{color:var(--text);background:color-mix(in srgb,var(--accent) 20%,var(--glass-panel))}.filter-icon.is-active:after{content:none}
.photo-open{position:relative}.photo-open>img[data-photo-src]{opacity:0;transition:opacity 180ms ease}.photo-open>img[data-ready]{opacity:1}.photo-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:11px;background:var(--surface)}.photo-status[hidden]{display:none}.photo-cell:has(.photo-status:not([hidden])) .select-box{visibility:hidden}
@media(prefers-reduced-motion:reduce){.photo-open>img[data-photo-src]{transition:none}}
/* Shared event cards are edge-to-edge artwork; theme follows the recipient. */
@media(max-width:650px){.section-heading .section-actions{gap:6px;flex-wrap:nowrap}.section-actions .album-tools{gap:6px}}
@media(max-width:380px){.section-heading .section-actions,.section-actions .album-tools{gap:4px}}
/* Shared composition tokens, reused by the welcome scene. */
:root{--cover-terrain-mask:radial-gradient(ellipse 125% 140% at 0 0,#000 4%,#000c 32%,#0007 52%,#0003 72%,transparent 95%)}
.contours{mask-image:var(--cover-terrain-mask)}
/* Home cycles the albums themselves, with their saved text and poster composition. */
.home-cover .hero-description{max-width:370px}
.home-cover .hero h1{overflow-wrap:anywhere}
.home-cover .album-meta{flex-wrap:wrap}
.home-cover .hero-story-link{top:auto;left:auto;right:20px;bottom:20px;width:44px;height:44px;min-height:44px;padding:0;justify-content:center;border-radius:50%}
.home-cover .hero-story-link>.icon{width:18px;height:18px;flex-shrink:0}
@media(max-width:650px){.home-cover .hero-story-link{right:12px;bottom:16px}.home-cover .hero-content{padding-bottom:88px}.home-cover .album-meta{gap:10px}.home-cover .hero-description{max-width:100%}}
.home-cover>.poster-entering{opacity:0;pointer-events:none}

/* One compact glass treatment for album filters and management actions. */
.section-actions{--album-tool-size:40px;gap:8px}
.section-actions .album-tools{gap:8px}
.section-actions :is(.filter-icon,.album-tools>.icon-button,.album-tools>.hero-control){width:var(--album-tool-size);height:var(--album-tool-size);min-width:var(--album-tool-size);min-height:var(--album-tool-size);flex:0 0 var(--album-tool-size);padding:0;border:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#617257;background:linear-gradient(145deg,#e5e8df,#fafbf6);box-shadow:inset 0 2px 5px #344e400a,0 3px 10px #253c2a08;backdrop-filter:none;-webkit-backdrop-filter:none}
.section-actions :is(.filter-icon,.album-tools>.icon-button,.album-tools>.hero-control)>.icon{width:17px;height:17px;stroke-width:1.6}
.section-actions .filter-icon :is(select,.glass-select,.glass-select-trigger){width:var(--album-tool-size);height:var(--album-tool-size);min-height:var(--album-tool-size)}
.section-actions .filter-icon.is-active{--tool-active-ink:#f4f8ed;color:var(--tool-active-ink);background:linear-gradient(145deg,#426352,#2b4739);box-shadow:0 3px 10px #253c2a26,0 1px 3px #253c2a12}.section-actions .filter-icon.is-active>.icon{stroke-width:1.9}
[data-theme=dark] .section-actions :is(.filter-icon,.album-tools>.icon-button,.album-tools>.hero-control){color:#bacdb0;background:linear-gradient(145deg,#242e27,#19211c);box-shadow:inset 0 2px 5px #00000014,0 3px 10px #00000012}
[data-theme=dark] .section-actions .filter-icon.is-active{--tool-active-ink:#19271c;color:var(--tool-active-ink);background:linear-gradient(145deg,#d0ddbf,#afc39b);box-shadow:0 3px 12px #0003,0 1px 3px #0002}
@media(hover:hover) and (pointer:fine){.section-actions :is(.filter-icon,.album-tools>.icon-button,.album-tools>.hero-control):hover{color:var(--text)}.section-actions .filter-icon.is-active:hover{color:var(--tool-active-ink)}}
@media(max-width:650px){.section-actions{--album-tool-size:44px}.section-actions .album-tools{gap:6px}}
@media(max-width:380px){.section-heading .section-actions{flex-wrap:wrap}}

/* Installed app keeps content clear of the iPhone status bar and landscape notch. */
@media(display-mode:standalone){body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}[data-action=install-app]{display:none!important}}
@media(display-mode:standalone) and (max-width:650px){.header{height:calc(83px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}}
.install-heading{display:flex;align-items:center;gap:18px;margin:26px 0}
.install-heading img{width:72px;height:72px;border-radius:17px;box-shadow:0 8px 24px #142b2022}
.install-heading strong,.install-heading span{display:block}.install-heading strong{font-size:20px;font-weight:550}.install-heading span{font-size:12px;color:var(--muted);margin-top:4px}
.install-steps{padding-left:22px;line-height:1.8;font-size:14px}.install-steps li{padding-left:6px;margin:14px 0}.install-steps strong{font-weight:550}.install-steps .icon{width:16px;height:16px;vertical-align:middle;display:inline}
.install-note{font-size:12px;line-height:1.8;color:var(--muted);margin-top:22px}

/* The route readout is only typography beside the crosshair, with no panel. */
.route-tooltip-card,.hero-route-tooltip .route-tooltip-card{background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0;gap:18px}
.hero-route-tooltip .route-tooltip-card{color:#fff;text-shadow:0 1px 3px #000c,0 0 12px #0006}
.hero-route-tooltip .route-tooltip-card>div>span,.hero-route-tooltip .route-tooltip-card small{color:inherit;opacity:.85}

.hero-route-tooltip .route-tooltip-card{text-align:center}
/* Let the desktop route extend gently into the cover's wash. */
@media(min-width:651px){.hero-route{left:20%}}

/* A slow vector drift inside the fixed contour mask; overscan keeps edges covered. */
.hero .contour-drawing,.login-terrain .contour-drawing{transform-origin:center;animation:contour-float 64s var(--ease-in-out,cubic-bezier(.77,0,.175,1)) infinite alternate}
@keyframes contour-float{from{transform:translate3d(-1%,-.6%,0) scale(1.035)}to{transform:translate3d(1%,.6%,0) scale(1.035)}}
.cover-preview .contour-drawing{animation:none}
.motion-paused .contour-drawing,.login-scene:focus-within .contour-drawing{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.hero .contour-drawing,.login-terrain .contour-drawing{animation:none}}

/* The story opens from the whole postcard; independent controls sit above it. */
.home-cover .hero-story-link{position:absolute;inset:0;z-index:3;display:block;width:auto;height:auto;min-height:0;max-width:none;padding:0;border:0;border-radius:var(--postcard-radius);background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
:root[data-input=keyboard] .home-cover .hero-story-link:focus-visible{outline:2px solid var(--accent);outline-offset:-6px}

/* Leave native HDR image decoding/compositing intact at the fitted size. */
.lightbox[open]{transform:none}
@supports(dynamic-range-limit:no-limit){.lb-slide img{dynamic-range-limit:no-limit}}
/* Admin-only traffic ranks lead straight back to the album or photograph. */
.stats-rank-link{width:100%;text-align:left;gap:12px;padding:8px 0;border-radius:12px;color:var(--text)}.stats-rank-link:hover{background:color-mix(in srgb,var(--soft) 55%,transparent)}
.stats-thumb{position:relative;display:grid;place-items:center;flex:0 0 62px;width:62px;height:50px;overflow:hidden;border-radius:9px;background:var(--soft);color:var(--muted)}.stats-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.stats-thumb svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}.stats-rank-body{flex:1;min-width:0}.stats-rank-body>span:first-child{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats-rank-track{display:block}.stats-rank-track i{display:block}
.community-like{display:inline-flex;align-items:center;gap:8px;min-width:44px;height:44px;border-radius:24px;padding:0 13px;background:color-mix(in srgb,var(--surface) 35%,transparent);color:var(--muted)}.community-like.is-liked{color:#b34c65;background:#c3687b18}.community-like.is-liked svg{fill:currentColor;fill-opacity:.2}.community-note{font-size:12px;line-height:1.65;color:var(--muted);margin:14px 0}.community-comments{margin:22px 0;max-height:38svh;overflow:auto;overscroll-behavior:contain}.community-comment{display:flex;gap:10px;margin-top:18px}.community-initials{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--soft);font-size:9px;color:var(--accent)}.community-comment>div{flex:1;min-width:0}.community-comment header{display:flex;align-items:center;gap:8px;margin:0 0 5px}.community-comment strong{font-size:11px;font-weight:500}.community-comment time{font-size:9px;color:var(--muted);margin-left:auto;white-space:nowrap}.community-comment p{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.community-delete{display:grid;place-items:center;min-width:28px;min-height:28px;color:var(--muted)}.community-delete svg{width:13px;height:13px}.community-form{display:flex;align-items:flex-end;gap:8px}.community-form textarea{width:100%;min-width:0;resize:vertical;max-height:160px;padding:11px;border:0;border-radius:12px;background:color-mix(in srgb,var(--surface) 45%,transparent);color:var(--text);font-size:16px;line-height:1.5}.community-form .btn{flex-shrink:0;min-width:44px;min-height:44px}.community-status{font-size:11px;line-height:1.5;margin-top:12px}
@media(any-pointer:coarse){.community-delete{min-width:44px;min-height:44px}}

.community-form .btn.primary{color:var(--accent-text)}

/* Public companion app, beside the theme toggle on every gallery screen. */
.budget-link{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:50%;color:var(--accent);background:var(--glass-panel)}.budget-link svg{width:21px;height:21px}.budget-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:380px){.header .brand-wordmark{font-size:23px}.header-actions{gap:6px}.budget-link{width:40px}}
@media(max-width:380px){.budget-link{width:44px}}
@media(max-width:350px){.header:has(.budget-link) .brand[data-logo=ledoborci] .brand-wordmark{display:none}}

/* Match the budget header's compact surfaces without shrinking touch targets. */
body:not(.budget-page) .header .header-actions{gap:2px}
body:not(.budget-page) .header .avatar,body:not(.budget-page) .header .budget-link{position:relative;isolation:isolate;width:44px;height:44px;min-width:44px;background:none;box-shadow:none;flex-shrink:0}
body:not(.budget-page) .header .avatar:before,body:not(.budget-page) .header .budget-link:before{content:'';position:absolute;inset:6px;z-index:-1;border-radius:50%;background:var(--glass-panel);box-shadow:inset 0 1px 0 var(--glass-edge),0 2px 6px var(--glass-shade);pointer-events:none}
body:not(.budget-page) .header .avatar>svg,body:not(.budget-page) .header .budget-link>svg,body:not(.budget-page) .header .theme-switch .theme-symbol svg{width:14px;height:14px}
body:not(.budget-page) .header .avatar img{position:absolute;inset:6px;width:32px;height:32px;object-fit:cover;border-radius:50%}
body:not(.budget-page) .header .theme-switch{width:64px;height:44px;min-height:44px;padding:0;background:none;box-shadow:none;overflow:visible}
body:not(.budget-page) .header .theme-switch:before{content:'';position:absolute;inset:6px 1px;border-radius:18px;background:linear-gradient(145deg,var(--soft),var(--glass-panel));box-shadow:inset 0 1px 4px var(--glass-shade);z-index:-1;pointer-events:none}
body:not(.budget-page) .header .theme-thumb{width:22px;height:22px;left:5px;top:11px;transform:translateX(0);box-shadow:0 1px 4px var(--glass-shade)}
[data-theme=dark] body:not(.budget-page) .header .theme-thumb{transform:translateX(32px)}
body:not(.budget-page) .header .theme-symbol{height:44px}

.enrollment-list{margin-top:26px}.enrollment-row{display:flex;gap:6px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.enrollment-row>span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px}.enrollment-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.enrollment-row .icon-button{min-width:44px;min-height:44px}

#album-tag-tools{margin-top:30px}.account-tag-options{padding:0;border:0;margin:18px 0}.account-tag-options legend{font-size:12px;color:var(--muted);margin-bottom:8px}.account-tag-options .check-field{min-height:44px;margin:0;gap:10px}.account-tag-options input{width:18px;height:18px}
.login-recovery[href]{width:max-content}

/* Isolate photo paints without changing grid geometry or decoding quality. */
.photo-cell{contain:layout paint style;content-visibility:auto;contain-intrinsic-size:auto none}
/* Keep the scrollbar gutter stable when opening and closing an account dialog. */
html{scrollbar-gutter:stable}html:has(dialog[open]){overflow:hidden}

/* A compact comment sheet: only the conversation scrolls; its composer stays
   above the visual viewport edge when a mobile keyboard covers the layout. */
.lightbox .lb-info.photo-community{display:flex;flex-direction:column;gap:0;overflow:hidden;padding:16px;max-height:calc(100dvh - 170px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
.community-heading{display:flex;align-items:center;gap:8px;flex-shrink:0}.community-heading h3{margin:0;flex:1;font-size:18px;line-height:1.3}.community-heading h3 span{font-size:12px;color:var(--muted);font-weight:400}.community-heading .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;flex-shrink:0;color:var(--text);background:none;box-shadow:none}.community-heading .community-like{padding:0 10px;height:40px;border-radius:12px;font-size:12px;flex-shrink:0}.community-like svg{width:17px;height:17px}
.photo-community .community-comments{flex:1 1 auto;min-height:0;max-height:32dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;margin:10px 0 14px}.community-comments::-webkit-scrollbar{display:none}.community-comment{margin-top:14px}.community-comment:first-child{margin-top:0}.community-comment header{gap:6px;margin-bottom:3px}.community-comment strong{font-size:12px}.community-comment p{margin:0;font-size:13px;line-height:1.55}.community-comment time{font-size:10px}.community-delete{flex-shrink:0}.community-note{margin:8px 0}
.photo-community .community-form{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:end;gap:8px;margin:0;padding-top:10px;border-top:1px solid var(--line)}.community-form textarea{display:block;box-sizing:border-box;min-height:44px;max-height:112px;resize:none;overflow-y:auto;padding:10px 12px;font-size:16px;line-height:24px;border-radius:12px}.photo-community .community-form .btn{width:44px;height:44px;margin:0;padding:0;border-radius:12px;background:var(--accent);color:var(--accent-text)}.community-form .btn svg{width:18px;height:18px}.community-status:empty{display:none}.photo-community>.community-status{flex-shrink:0;margin:8px 0 0}
@media(max-width:650px){.lightbox .lb-info.photo-community{top:auto;bottom:calc(var(--community-bottom,0px) + 10px + env(safe-area-inset-bottom,0px));padding:12px 14px;border-radius:20px;max-height:calc(var(--community-viewport,100dvh) - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}.photo-community .community-comments{max-height:min(32dvh,280px)}.community-heading h3{font-size:17px}}

/* A landscape phone can be wider than the usual sheet breakpoint. Its keyboard
   still reduces the visual viewport, so keep that composer in view as well. */
.lightbox .lb-info.photo-community.community-keyboard{top:auto;bottom:calc(var(--community-bottom,0px) + 10px + env(safe-area-inset-bottom,0px));max-height:calc(var(--community-viewport,100dvh) - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
@media(max-height:500px){.lightbox .lb-info.photo-community{top:auto;bottom:calc(var(--community-bottom,0px) + 10px + env(safe-area-inset-bottom,0px));max-height:calc(var(--community-viewport,100dvh) - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}}

/* A symmetric red heart and count: no visible button frame or backing. */
.photo-community .community-like,[data-theme=dark] .photo-community .community-like{color:#c52f47;background:none;border:0;box-shadow:none;font-weight:600;gap:6px}
.photo-community .community-like svg{width:21px;height:21px;stroke-width:1.9;fill:currentColor;fill-opacity:.12;filter:drop-shadow(0 0 4px #ed335d59)}
.photo-community .community-like.is-liked,[data-theme=dark] .photo-community .community-like.is-liked{color:#cf253f;background:none;box-shadow:none}
.photo-community .community-like.is-liked svg{fill-opacity:1;filter:drop-shadow(0 0 5px #f13b6066)}
[data-theme=dark] .photo-community .community-like{color:#ff6078}
[data-theme=dark] .photo-community .community-like.is-liked{color:#ff526e}

/* Native date controls must fit their grid tracks, including Safari's date editor. */
#album-form,#album-form .field,#album-form .date-fields{min-width:0;max-width:100%}#album-form .date-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#album-form .date-fields input{display:block;box-sizing:border-box;min-width:0;max-width:100%;width:100%;inline-size:100%;min-inline-size:0}#album-form input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}#album-form input[type=date]::-webkit-datetime-edit{min-width:0;padding:0}#album-form .terrain-options{flex-wrap:wrap}#album-form .terrain-options>*{min-width:0;max-width:100%}
@media(max-width:360px){#album-form .date-fields{grid-template-columns:minmax(0,1fr)}}

.notification-target{outline:2px solid var(--accent);outline-offset:4px;border-radius:10px;scroll-margin-block:120px}
.account-menu [data-theme-auto]>span{flex:1}.account-menu [data-theme-auto] small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.account-menu [data-theme-auto][aria-pressed=true]{color:var(--accent)}

/* Intrinsic image/text widths must not size the fractional album tracks. */
.album-grid>.album-card,.album-open,.album-info,.album-info-top{min-width:0}
.album-info h3,.album-info p{overflow-wrap:anywhere}
@media(max-width:380px){.album-grid{grid-template-columns:minmax(0,1fr)}}

/* Conversation rows stay compact while touch targets remain easy to use. */
.photo-community .community-comments{margin:6px 0 10px}
.photo-community .community-comment{gap:8px;margin-top:10px;align-items:flex-start}
.community-avatar{position:relative;display:block;width:28px;height:28px;flex:0 0 28px;overflow:hidden;border-radius:50%}
.community-avatar .community-initials{width:100%;height:100%;font-size:10px}
.community-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.photo-community .community-comment header{gap:4px;min-height:28px;margin:0}
.photo-community .community-comment strong{font-size:12px;line-height:1.25;overflow-wrap:anywhere}
.photo-community .community-comment time{font-size:9px;opacity:.85}
.photo-community .community-comment p{font-size:13px;line-height:1.4;margin:0;white-space:pre-wrap}
.photo-community .community-delete{min-width:30px;min-height:32px;padding:0;opacity:.7}
@media(hover:hover) and (pointer:fine){.community-delete:hover{opacity:1}}
@media(pointer:coarse){.photo-community .community-delete{min-width:36px;min-height:40px}}

/* A scrollbar must not cut through the rounded glass edge. Scrolling and
   keyboard navigation remain native. */
.modal{scrollbar-width:none;overscroll-behavior:contain}
.modal::-webkit-scrollbar{display:none;width:0;height:0}
/* The keyboard bounds override individual dialog sizes, including search locks. */
html[data-modal-keyboard=true] dialog:is(.modal,.budget-dialog)[open]{top:calc(var(--modal-visual-top) + 12px);bottom:auto;margin-block:0;max-height:calc(var(--modal-visual-height) - 24px)!important}
html[data-modal-keyboard=true] dialog.modal.account-dialog{--account-dialog-height:calc(var(--modal-visual-height) - 24px)}
