:root{color-scheme:dark;--bg:#101113;--panel:#17191b;--line:#343638;--soft:#9f9f9d;--white:#f3f1e9;--accent:#caa777}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--white);font-family:system-ui,-apple-system,"Pretendard","Noto Sans KR",sans-serif;-webkit-font-smoothing:antialiased}body.noScroll{overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}
.masthead{height:76px;border-bottom:1px solid #292a2b}.mastheadInner{width:min(1480px,calc(100% - 92px));height:100%;margin:auto;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:14px}.brandMark{border:1px solid #89847b;width:38px;height:38px;display:grid;place-items:center;font-family:Georgia,serif;font-weight:700;font-size:13px;letter-spacing:-1px}.brandWords{display:grid;gap:4px}.brandWords strong{font-size:13px;letter-spacing:3.5px;font-weight:600}.brandWords span{font-size:9px;letter-spacing:1.9px;color:#9b9b99}.iconButton{width:39px;height:39px;display:grid;place-items:center;background:transparent;color:#e0dfdc;border:1px solid #404143;border-radius:50%;transition:background .2s}.iconButton:hover{background:#292c2f}.iconButton svg{width:20px;height:20px}
.page{width:min(1480px,calc(100% - 92px));margin:auto}.hero{padding:91px 0 91px;border-bottom:1px solid var(--line)}.heroTop{font-size:11px;font-weight:600;letter-spacing:3px;color:var(--accent);display:flex;align-items:center;gap:13px}.heroTop .dash{height:1px;width:31px;background:var(--accent)}.hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:.98;letter-spacing:-4px;font-size:clamp(68px,9vw,146px);margin:32px 0 52px}.hero h1 em{font-size:.46em;font-weight:400;letter-spacing:-2px;color:#bbb7ac;white-space:normal}.titleAccent{color:var(--accent)}.heroBottom{display:flex;justify-content:space-between;align-items:flex-end;gap:30px}.heroBottom p{font-size:15px;line-height:1.85;margin:0;color:#bab9b4}.stats{display:flex;gap:48px}.stats>span{display:flex;align-items:baseline;gap:12px}.stats strong{font-weight:500;font-size:30px;letter-spacing:-1px}.stats small{font-size:10px;letter-spacing:2px;color:var(--soft)}
.library{padding:60px 0 90px}.libraryHeader{display:flex;justify-content:space-between;align-items:end;gap:20px}.sectionEyebrow{font-size:10px;letter-spacing:2.2px;color:var(--accent)}.libraryHeader h2{font-size:28px;font-weight:600;letter-spacing:-.8px;margin:10px 0 0}.libraryHeader h2 span{font-weight:400;color:#888b8d;font-size:15px;margin-left:6px}.tabs{display:flex;gap:2px;background:#191b1d;border-radius:6px;border:1px solid #393b3e;padding:4px}.tab{border:0;background:transparent;color:#adada9;padding:11px 20px;font-size:13px;border-radius:4px}.tab.active{background:#e9e4da;color:#1d1d1d;font-weight:700}.toolbar{display:flex;gap:12px;align-items:center;margin:28px 0 43px}.searchBox{height:44px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:5px;background:#191a1c;flex:1;min-width:0;padding:0 14px}.searchBox:focus-within{border-color:var(--accent)}.searchBox svg{width:19px;height:19px;color:#878a8b;flex-shrink:0}.searchBox input{border:0;outline:0;background:none;color:#fff;width:100%;font-size:13px}.searchBox input::placeholder{color:#858686}.dropdownLabel{height:44px;border:1px solid var(--line);border-radius:5px;background:#191a1c;display:flex;align-items:center;gap:12px;padding:0 13px;white-space:nowrap}.dropdownLabel span{font-size:11px;color:#9d9e9e}.dropdownLabel select{border:0;outline:0;background:#191a1c;color:#dedbd6;font-size:13px;max-width:170px;cursor:pointer}.dateGroup{margin-bottom:45px}.dateHeading{display:flex;align-items:baseline;gap:14px;margin:0 0 17px}.dateHeading h3{font-size:17px;margin:0;letter-spacing:-.2px;font-weight:600}.dateHeading .weekday{font-size:12px;color:#888888}.dateHeading .dayLine{margin-left:auto;height:1px;background:#36383b;flex:1;align-self:center}.mediaGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.mediaCard{position:relative;display:block;border:0;padding:0;background:#222427;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:3px;text-align:left;transition:transform .2s,box-shadow .2s}.mediaCard:hover{transform:translateY(-3px);box-shadow:0 13px 35px #0008}.mediaCard img,.mediaCard video{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s}.mediaCard:hover img,.mediaCard:hover video{transform:scale(1.045)}.mediaCard img{background:#292a2c}.mediaCard.videoCard{background:linear-gradient(145deg,#39322b,#171e22 68%,#101112)}.mediaCard video{position:absolute;inset:0;z-index:0}.mediaCard .playIndicator{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #ffffff9c;background:#090a0a65;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;z-index:1;backdrop-filter:blur(4px)}.playIndicator:before{content:"";border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid white;margin-left:3px}.mediaCard .labelStrip{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:end;gap:8px;background:linear-gradient(transparent, #08090ae6);padding:35px 11px 10px;opacity:0;transition:opacity .2s}.mediaCard:hover .labelStrip,.mediaCard:focus-visible .labelStrip{opacity:1}.labelStrip .name{font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.labelStrip .kind{font-size:9px;color:#e9c596;flex-shrink:0;letter-spacing:1px}.mediaCard .videoBadge{position:absolute;left:11px;top:10px;z-index:1;border:1px solid #ffffff55;border-radius:3px;background:#1118;padding:5px 7px;font-size:10px;letter-spacing:1px}.mediaCard .videoFallback{position:absolute;bottom:15px;left:12px;right:12px;z-index:0;font-size:12px;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notice{background:#30261d;color:#ffdfb7;border:1px solid #6c5034;padding:12px 16px;margin:0 0 20px;border-radius:4px;font-size:12px;line-height:1.8}.loading{display:flex;gap:10px;justify-content:center;align-items:center;padding:24px;font-size:13px;color:#a5a5a5}.spinner{width:15px;height:15px;border:2px solid #666;border-top-color:#edd7b5;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.emptyState{text-align:center;padding:80px 16px 110px;color:#a6a7a4}.emptyState .emptySymbol{font-size:55px;color:#737574}.emptyState h3{font-size:19px;color:#dfdfdd;font-weight:500}.emptyState p{font-size:13px;line-height:1.8}.sentinel{height:3px}.footer{width:min(1480px,calc(100% - 92px));margin:0 auto;padding:22px 0 36px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#777b7c;font-size:10px;letter-spacing:1.5px}
.lightbox{position:fixed;inset:0;z-index:1000;background:rgba(7,8,9,.985);display:flex;flex-direction:column}.lightboxTop{height:85px;padding:19px clamp(18px,3.8vw,66px);display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:2}.lightboxInfo{display:flex;flex-direction:column;gap:6px;min-width:0}.lightboxInfo strong{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lightboxInfo span{font-size:11px;color:#989b9c}.lightboxActions{display:flex;gap:8px}.viewerIcon{width:43px;height:43px;border:1px solid #44484a;display:grid;place-items:center;border-radius:50%;color:#e7e7e7;background:#16191b;flex-shrink:0}.viewerIcon svg{width:20px;height:20px}.viewerIcon:hover{background:#34383a}.viewerStage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 86px}.viewerStage img,.viewerStage video{display:block;max-height:100%;max-width:100%;object-fit:contain}.viewerStage video{width:auto;height:auto;min-width:0}.viewerArrow{position:absolute;top:50%;transform:translateY(-50%);border:0;background:#ffffff16;border-radius:50%;width:47px;height:47px;color:#fff;font-family:Georgia,serif;font-size:40px;line-height:33px;display:grid;place-items:center;z-index:3}.viewerArrow:hover{background:#ffffff35}.viewerArrow.prev{left:20px}.viewerArrow.next{right:20px}.lightboxBottom{height:65px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,3.8vw,66px);font-size:11px;letter-spacing:1px;color:#898b8b}
@media(max-width:1200px){.mediaGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.mediaGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{padding:75px 0}.hero h1{font-size:clamp(64px,10vw,110px)}}
@media(max-width:680px){.masthead{height:65px}.mastheadInner,.page,.footer{width:calc(100% - 32px)}.brandWords strong{font-size:11px;letter-spacing:2px}.brandWords span{font-size:8px;letter-spacing:1px}.hero{padding:69px 0 61px}.hero h1{font-size:clamp(55px,12.5vw,80px);margin:29px 0 40px;letter-spacing:-2.4px}.hero h1 em{font-size:.49em;letter-spacing:-1px}.heroBottom{display:block}.heroBottom p{font-size:13px}.stats{margin-top:26px;gap:35px}.stats strong{font-size:24px}.library{padding:45px 0 60px}.libraryHeader{flex-direction:column;align-items:stretch;gap:21px}.libraryHeader h2{font-size:24px}.tabs{align-self:stretch}.tab{flex:1;padding:11px}.toolbar{flex-wrap:wrap;margin:17px 0 36px;gap:9px}.searchBox{flex-basis:100%}.dropdownLabel{flex:1;justify-content:space-between;min-width:0}.dropdownLabel select{max-width:120px}.mediaGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dateHeading{margin-bottom:12px}.dateHeading h3{font-size:15px}.dateGroup{margin-bottom:35px}.mediaCard .labelStrip{opacity:1;padding:25px 8px 7px}.labelStrip .name{font-size:10px}.labelStrip .kind{font-size:8px}.mediaCard .playIndicator{width:39px;height:39px}.lightboxTop{height:70px;padding:14px}.lightboxInfo strong{font-size:12px}.lightboxInfo span{font-size:10px}.viewerIcon{width:38px;height:38px}.viewerArrow{width:36px;height:42px;border-radius:5px;font-size:33px}.viewerArrow.prev{left:4px}.viewerArrow.next{right:4px}.viewerStage{padding:0 10px}.lightboxBottom{height:52px;padding:0 17px}.lightboxBottom span:last-child{display:none}.footer{font-size:9px;letter-spacing:1px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mediaCard,.mediaCard img,.mediaCard video{transition:none}.spinner{animation:none}}

/* Administrator-only controls */
.headerActions{display:flex;align-items:center;gap:10px}
.adminHeaderButton{min-height:38px;padding:0 15px;background:none;border:1px solid #545552;border-radius:5px;color:#bebbb5;font-size:12px;cursor:pointer}
.adminHeaderButton:hover{background:#242629;color:#fff}
.adminHeaderButton.active{border-color:#c3a37a;background:#433624;color:#f2d7b5}
.mediaWrap{position:relative;min-width:0;aspect-ratio:1/1}
.cardDelete{position:absolute;right:8px;top:8px;z-index:4;background:rgba(139,35,30,.95);color:#fff;font-size:12px;border:1px solid #ffb2a44f;border-radius:4px;padding:7px 11px;box-shadow:0 3px 10px #0007;cursor:pointer}
.cardDelete:hover,.cardDelete:focus-visible{background:#c53227}
.dangerAction{border-color:#a35e56;color:#ffbdaf;min-width:62px;border-radius:22px;font-size:12px;cursor:pointer}
.dangerAction:hover{background:#872b26}
.dangerAction:disabled{opacity:.45;cursor:wait}
.adminModal{position:fixed;inset:0;z-index:1500;display:grid;place-items:center;padding:18px}
.adminOverlay{position:absolute;inset:0;background:rgba(0,0,0,.83)}
.adminPanel{position:relative;z-index:1;width:min(430px,100%);border:1px solid #55504c;border-radius:12px;background:#202123;box-shadow:0 25px 90px #000a;padding:29px}
.adminTop{display:flex;align-items:start;justify-content:space-between}.adminTop h2{font-size:24px;font-weight:500;margin:13px 0 0}
.adminClose{color:#ddd;background:none;border:0;font-size:30px;cursor:pointer;line-height:1}
.adminDescription,.adminNote,.adminSuccess{font-size:13px;line-height:1.85;color:#beb8af;margin:17px 0 22px}
.adminField{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#e0d6cc;margin-bottom:17px}
.adminField input{width:100%;border:1px solid #4d5052;border-radius:5px;background:#121416;color:#fff;padding:13px 12px;font-size:14px;outline:0}
.adminField input:focus{border-color:#d5b487}
.adminError{border:1px solid #9c4840;background:#462320;padding:9px;color:#ffccc6;font-size:12px;line-height:1.6;margin:0 0 15px}
.adminPrimary{width:100%;border:0;border-radius:5px;background:#e9e4da;color:#1e1f20;padding:13px;font-weight:700;font-size:13px;cursor:pointer}
.adminPrimary:hover{background:#fff}
.adminPrimary:disabled{opacity:.6;cursor:wait}
.adminSecondary{background:#494542;color:#eee}
.adminSuccess{color:#c3dabd}.adminNote{margin:22px 0 0;font-size:11px;color:#969a9c;border-top:1px solid #454547;padding-top:14px}
.adminNote code{color:#e9c596}
@media(max-width:680px){.headerActions{gap:6px}.adminHeaderButton{padding:0 9px;font-size:11px;min-height:34px}.adminPanel{padding:24px}.cardDelete{font-size:11px;padding:6px 8px;right:5px;top:5px}}

/* V4: administrator batch selection - compact for both PC/mobile */
.selectionBar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#202226;border:1px solid #45403a;border-radius:7px;padding:11px 13px;margin:-23px 0 28px}
.selectionBar button{border:1px solid #545454;background:#2b2c2f;color:#eae7df;border-radius:5px;padding:10px 12px;font-size:12px;white-space:nowrap}
.selectionBar button:hover:not(:disabled){background:#3c3c3f}
.selectionBar .selectionToggle{color:#edc996;border-color:#b59568;font-weight:700}
.selectionBar .selectionToggle[aria-pressed="true"]{background:#51412b;color:#fff3dd}
.selectionBar .selectedCount{font-size:12px;color:#e7d8bf;margin:0 auto 0 8px}
.selectionBar .selectionDelete{background:#a23830;border-color:#b34840;color:white;font-weight:700}
.selectionBar .selectionDelete:hover:not(:disabled){background:#bf4438}
.selectionBar button:disabled{opacity:.43;cursor:default}
.mediaWrap.selectionActive .mediaCard{cursor:pointer}
.mediaWrap.selected .mediaCard{outline:3px solid #e4bf7b;outline-offset:-3px}
.mediaWrap.selected .mediaCard::after{content:"";position:absolute;inset:0;background:#f1c66c20;pointer-events:none}
.cardCheckbox{position:absolute;top:8px;left:8px;z-index:5;min-width:31px;height:31px;padding:0 7px;background:#151617dd;border:2px solid #f8e6b8;border-radius:5px;color:#fff;font-size:17px;display:grid;place-items:center}
.mediaWrap.selected .cardCheckbox{background:#d1a75b;color:#111;border-color:#f7deae}
.mediaWrap.selectionActive .cardDelete{display:none}
@media(max-width:680px){.selectionBar{padding:9px;gap:6px;margin:-23px 0 22px}.selectionBar button{padding:9px;font-size:11px}.selectionBar .selectedCount{flex:1 1 100%;order:-1;margin:2px 0 3px}.selectionBar .selectionDelete{flex:1}.cardCheckbox{top:5px;left:5px;min-width:28px;height:28px}}

/* v5: a lightweight card instead of dozens of background <video> requests. */
.videoCard .videoArtwork{position:absolute;inset:0;background:radial-gradient(circle at 62% 38%,#59637199,transparent 41%),linear-gradient(145deg,#444a53 0%,#22282f 48%,#121619 100%);opacity:.9}
.videoCard .videoArtwork:after{content:"";position:absolute;inset:18%;border:1px solid #ffffff18;transform:rotate(-13deg);border-radius:20px}
.videoViewerBox{height:100%;max-width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.videoViewerBox video{max-height:calc(100% - 40px);max-width:100%;width:auto;height:auto;min-height:160px;background:#000}
.videoStatus{font-size:12px;color:#e3bd94;text-align:center;line-height:1.6;max-width:720px}
.videoStatus:empty{display:none}
.videoStatus a{display:inline-block;margin-left:9px;color:#f8e2b9;text-decoration:underline}
@media(max-width:680px){.videoViewerBox{width:100%}.videoViewerBox video{width:100%;min-height:120px}.videoStatus{padding:0 6px;font-size:11px}}


/* v6: dedicated image pinch-zoom; prevents tablet/touch pinch turning pages. */
.viewerStage.photoStage{overflow:hidden;touch-action:none;overscroll-behavior:contain;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.viewerStage.photoStage img{transform-origin:center center;will-change:transform;user-select:none;-webkit-user-select:none;touch-action:none;pointer-events:auto;cursor:zoom-in;max-height:100%;max-width:100%;object-fit:contain}
.viewerStage.photoStage.isZoomed img{cursor:grab}
.viewerStage.photoStage.isDragging img{cursor:grabbing}
.viewerZoomControls{position:absolute;bottom:80px;right:clamp(17px,3.8vw,66px);z-index:4;display:flex;align-items:center;gap:0;overflow:hidden;background:#1d2023d9;border:1px solid #676869;border-radius:24px;box-shadow:0 5px 20px #0008;backdrop-filter:blur(8px)}
.viewerZoomControls button{border:0;color:#f3eee3;background:transparent;min-height:40px;min-width:43px;padding:5px 9px;font-size:22px;cursor:pointer;touch-action:manipulation}
.viewerZoomControls button:hover{background:#414549}
.viewerZoomControls button:focus-visible{outline:2px solid #d6b888;outline-offset:-3px}
.viewerZoomControls #zoomReset{min-width:65px;font-size:12px;border-left:1px solid #5c5c5e;border-right:1px solid #5c5c5e;font-variant-numeric:tabular-nums}
@media(max-width:680px){.viewerZoomControls{bottom:60px;right:12px}.viewerZoomControls button{min-height:37px;min-width:37px}.viewerZoomControls #zoomReset{min-width:58px}}

/* v7: video frame posters are served as cached JPEGs (never full MP4 loads in grids). */
.videoCard .videoPoster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;background:transparent;opacity:0;transition:opacity .25s,transform .25s}
.videoCard.hasPoster .videoPoster{opacity:1}
.videoCard.hasPoster .videoArtwork{opacity:0}
.videoCard.hasPoster .videoFallback{opacity:0}
.videoCard .playIndicator,.videoCard .videoBadge{z-index:2}
.videoCard .labelStrip{z-index:2}


/* V8: 360 photo + 360 video and reusable journeys */
.tripsLink{font-size:12px;letter-spacing:.3px;color:#dfcba7;text-decoration:none;border:1px solid #65594a;padding:10px 13px;border-radius:5px;white-space:nowrap}
.tripsLink:hover{background:#34302a}
.mediaCard.is360 .sphereBadge{position:absolute;left:9px;top:9px;z-index:4;background:#e1b777;color:#211b12;font-weight:800;font-size:12px;letter-spacing:.5px;padding:5px 9px;border-radius:16px;box-shadow:0 2px 10px #0006;pointer-events:none}
.viewerStage.sphereStage{padding:0;overflow:hidden;touch-action:none}
.sphereWrap{position:relative;width:100%;height:100%;min-height:210px;background:#0c0e12;overflow:hidden;isolation:isolate}
.sphereCanvas{display:block;width:100%;height:100%;outline:0;touch-action:none;cursor:grab}
.sphereCanvas:active{cursor:grabbing}
.sphereCanvas:focus-visible{outline:2px solid #edc78b;outline-offset:-3px}
.sphereHint{position:absolute;top:22px;left:50%;transform:translateX(-50%);pointer-events:none;border:1px solid #ffffff48;background:#111a;padding:9px 14px;border-radius:25px;font-size:12px;white-space:nowrap;color:#fff;max-width:90%;overflow:hidden;text-overflow:ellipsis}
.sphereStatus{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;text-align:center;color:#e9e5de;font-size:14px;background:#151515a9;padding:11px 17px;border-radius:8px;max-width:85%;line-height:1.7}
.sphereStatus.sphereError{background:#642b2ae0;color:#fff}
.sphereActions{position:absolute;bottom:22px;right:24px;display:flex;align-items:center;gap:2px;border-radius:22px;border:1px solid #ffffff50;background:#181b1ce8;z-index:3;overflow:hidden}
.sphereActions button{color:#fff;background:none;border:0;padding:8px 11px;min-height:40px;min-width:38px;font-size:17px;cursor:pointer}
.sphereActions button:nth-child(2){font-size:11px;padding:10px}
.sphereActions button:hover{background:#ffffff24}
.sphereVideoControls{position:absolute;left:50%;transform:translateX(-50%);bottom:22px;display:flex;align-items:center;gap:9px;border:1px solid #ffffff58;border-radius:8px;background:#15181ce9;z-index:4;padding:8px 10px;max-width:calc(100% - 42px);color:white}
.sphereVideoControls button{border:none;background:#e9c68d;color:#1d1d1d;border-radius:5px;padding:9px 10px;white-space:nowrap;cursor:pointer;font-size:12px}
.sphereVideoControls input[type=range]{min-width:60px;width:min(240px,21vw);accent-color:#d6af6e;touch-action:pan-x}
.sphereVideoControls .sphereTime{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
.sphereSourceVideo{position:absolute;top:-10px;left:-10px;width:1px;height:1px;opacity:.02;pointer-events:none}
.sphereWrap:has(.sphereVideoControls) .sphereActions{bottom:84px}
@media(max-width:680px){.tripsLink{padding:8px 9px;font-size:10px}.sphereBadge{font-size:11px}.sphereHint{top:10px;font-size:10px;padding:7px 10px}.sphereActions{bottom:14px;right:12px}.sphereWrap:has(.sphereVideoControls) .sphereActions{bottom:82px}.sphereVideoControls{width:calc(100% - 22px);max-width:none;bottom:12px;gap:6px;padding:7px 7px}.sphereVideoControls button{padding:9px 7px;font-size:11px}.sphereVideoControls input[type=range]{flex:1;min-width:35px;width:auto}.sphereVideoControls .sphereTime{font-size:10px}.sphereHint{max-width:90%}.stats{gap:22px}.tabs{gap:0}.tab{padding:9px 5px;font-size:11px}}

/* v9: administrator-only uploading, PC drag/drop + mobile multi-select */
.uploadHeaderButton{border:1px solid #c3a579;color:#f0d5a9;background:#282624;border-radius:5px;padding:10px 13px;cursor:pointer;font-size:12px;font-weight:700;white-space:nowrap}
.uploadHeaderButton:hover{background:#493c30}
.uploadModal{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;padding:12px}
.uploadOverlay{position:absolute;inset:0;background:#000d}
.uploadPanel{position:relative;z-index:1;width:min(650px,100%);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;background:#202124;border:1px solid #625b52;border-radius:12px;padding:25px 26px;color:#f3eee8;box-shadow:0 25px 100px #000b}
.uploadTop{display:flex;align-items:flex-start;justify-content:space-between}.uploadTop h2{font-size:23px;font-weight:500;margin:9px 0 0}
.uploadIntro,.uploadFootnote{font-size:12px;color:#aaa8a4;line-height:1.75;margin:14px 0 18px}.uploadFootnote{margin:13px 0 0;font-size:11px}
.uploadTypeGroup{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:16px}
.uploadTypeGroup label{position:relative;display:block;cursor:pointer;min-width:0}.uploadTypeGroup input{position:absolute;opacity:0;width:1px;height:1px}
.uploadTypeGroup span{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 4px;border:1px solid #555454;border-radius:7px;background:#2a2b2e;color:#e1ddda;font-size:12px;font-weight:600;white-space:nowrap}
.uploadTypeGroup small{font-size:10px;color:#9fa1a3;font-weight:400}
.uploadTypeGroup input:checked+span{background:#4c4031;border-color:#e2b976;color:#ffe5b5}.uploadTypeGroup input:checked+span small{color:#d9c8aa}
.uploadTypeGroup input:focus-visible+span{outline:2px solid #e7c395;outline-offset:2px}
.uploadDrop{border:1.5px dashed #857966;background:#252626;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px 14px;gap:9px;cursor:pointer;border-radius:8px;min-height:142px}
.uploadDrop:hover,.uploadDrop.isOver{background:#3b352d;border-color:#e5c28e}
.uploadDropIcon{font-size:30px;color:#e4bd83;line-height:1}.uploadDrop strong{font-size:13px;font-weight:600}.uploadDrop small{font-size:11px;color:#aeb0b0}
.uploadQueue{border:1px solid #454545;border-radius:7px;margin-top:15px;overflow:hidden}.uploadQueueTitle{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#303031;font-size:12px}.uploadQueueTitle button{background:none;border:0;color:#c2b39f;cursor:pointer;font-size:11px}.uploadFileList{max-height:142px;overflow:auto;font-size:11px}.uploadFileItem{padding:8px 12px;display:flex;gap:10px;justify-content:space-between;border-top:1px solid #3a3a3a}.uploadFileItem>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.uploadFileItem>span:last-child{white-space:nowrap;color:#b2aaa0}
.uploadProgressWrap{margin-top:14px}.uploadProgressTrack{height:7px;background:#424242;border-radius:20px;overflow:hidden}.uploadProgressTrack>div{height:100%;width:0%;background:#d8b37e;transition:width .12s}.uploadProgressText{margin-top:8px;font-size:12px;color:#d2c6b9;line-height:1.6;overflow-wrap:anywhere}
.uploadError{padding:11px;margin-top:12px;border-radius:5px;background:#522c2a;color:#ffe7dc;font-size:12px;line-height:1.65;white-space:pre-wrap}
.uploadButtons{display:flex;align-items:center;gap:8px;margin-top:17px}.uploadButtons .adminPrimary{flex:1}.uploadCancel{border:1px solid #7e5450;border-radius:5px;background:#47302f;color:#f6cfc8;padding:13px 21px;cursor:pointer}
@media(max-width:680px){.uploadHeaderButton{padding:8px 9px;font-size:11px}.uploadPanel{padding:19px 14px;max-height:calc(100dvh - 16px)}.uploadTypeGroup{gap:4px}.uploadTypeGroup span{padding:12px 2px;font-size:11px}.uploadDrop{min-height:118px;padding:18px 9px}.uploadTop h2{font-size:21px}}


/* v9.3 — true fullscreen for 360 photos and 360 video. */
.sphereActions .sphereFullscreenButton{font-size:12px;min-width:92px;padding:9px 12px;white-space:nowrap;border-left:1px solid #ffffff30}
.sphereWrap:fullscreen,
.sphereWrap:-webkit-full-screen,
.sphereWrap.sphereFullscreenFallback{
  width:100vw!important;height:100vh!important;height:100dvh!important;
  min-height:0!important;background:#080808;
}
.sphereWrap:fullscreen::backdrop{background:#080808}
.sphereWrap.sphereFullscreenFallback{
  position:fixed!important;inset:0!important;z-index:100!important;
}
.sphereWrap:fullscreen .sphereHint,
.sphereWrap.sphereFullscreenFallback .sphereHint{top:max(14px,env(safe-area-inset-top,0px))}
.sphereWrap:fullscreen .sphereActions,
.sphereWrap.sphereFullscreenFallback .sphereActions{right:max(12px,env(safe-area-inset-right,0px))}
.sphereWrap:fullscreen .sphereVideoControls,
.sphereWrap.sphereFullscreenFallback .sphereVideoControls{bottom:max(12px,env(safe-area-inset-bottom,0px))}
.sphereWrap:fullscreen:has(.sphereVideoControls) .sphereActions,
.sphereWrap.sphereFullscreenFallback:has(.sphereVideoControls) .sphereActions{bottom:calc(max(12px,env(safe-area-inset-bottom,0px)) + 72px)}
@media(max-width:680px){
  .sphereActions .sphereFullscreenButton{min-width:76px;font-size:11px;padding:8px 8px}
}


/* v9.6 — unobtrusive 360 video controls (photo/fullscreen settings unaffected). */
.sphereVideoControls{
  bottom:14px;left:50%;transform:translateX(-50%);
  width:min(460px,calc(100% - 30px));max-width:460px;
  height:36px;box-sizing:border-box;display:flex;gap:7px;align-items:center;
  padding:3px 10px;border:1px solid #ffffff24;border-radius:24px;
  background:#11151bbd;backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);box-shadow:0 2px 10px #0005;
  opacity:.88;transition:opacity .22s ease,transform .22s ease;
}
.sphereVideoControls button,
.sphereVideoControls button:hover{
  display:grid;place-items:center;flex:none;width:29px;height:29px;
  min-height:0;min-width:0;box-sizing:border-box;
  border:0;border-radius:50%;padding:0;background:transparent;
  color:#ececeb;font-size:14px;line-height:1;cursor:pointer;
}
.sphereVideoControls button:hover{background:#ffffff1a;color:#fff}
.sphereVideoControls button:focus-visible{outline:2px solid #e9c68d;outline-offset:1px}
.sphereVideoControls .sphereTime{flex:none;color:#d3d4d6;font-size:10px;letter-spacing:0;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}
.sphereVideoControls input[type=range]{
  flex:1 1 auto;width:auto;min-width:30px;height:14px;margin:0;
  accent-color:#dfdfe0;cursor:pointer;touch-action:pan-x;
}
.sphereWrap.sphereControlsIdle .sphereVideoControls:not(:hover){
  opacity:0;pointer-events:none;transform:translate(-50%,6px);
}
.sphereWrap:has(.sphereVideoControls) .sphereActions{bottom:59px}
.sphereWrap:fullscreen:has(.sphereVideoControls) .sphereActions,
.sphereWrap.sphereFullscreenFallback:has(.sphereVideoControls) .sphereActions{
  bottom:calc(max(12px,env(safe-area-inset-bottom,0px)) + 45px);
}
@media(max-width:680px){
  .sphereVideoControls{height:34px;bottom:10px;width:calc(100% - 20px);max-width:none;gap:4px;padding:2px 7px;border-radius:20px}
  .sphereVideoControls button{width:28px;height:28px}
  .sphereVideoControls .sphereTime{font-size:9px}
  .sphereWrap:has(.sphereVideoControls) .sphereActions{bottom:56px}
}
@media(prefers-reduced-motion:reduce){.sphereVideoControls{transition:none}}


/* v10.3 — simpler 360 video controls */
.sphereVideoControls{
  width:min(420px,calc(100% - 24px));
  height:32px;
  padding:2px 8px;
  gap:6px;
  border-radius:18px;
  background:rgba(10,12,16,.74);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 2px 8px rgba(0,0,0,.28);
}
.sphereVideoControls button,
.sphereVideoControls button:hover{
  width:24px;height:24px;font-size:12px;color:#f3f4f5;background:transparent;
}
.sphereVideoControls .sphereTime{font-size:9px;color:#cfd2d6}
.sphereVideoControls input[type=range]{height:10px;min-width:46px}
.sphereWrap:has(.sphereVideoControls) .sphereActions{bottom:50px}
.sphereWrap:fullscreen:has(.sphereVideoControls) .sphereActions,
.sphereWrap.sphereFullscreenFallback:has(.sphereVideoControls) .sphereActions{bottom:calc(max(12px,env(safe-area-inset-bottom,0px)) + 40px)}
@media(max-width:680px){
  .sphereVideoControls{height:30px;width:calc(100% - 16px);padding:2px 6px;gap:4px;bottom:8px}
  .sphereVideoControls button{width:22px;height:22px}
  .sphereVideoControls .sphereTime{font-size:8px}
  .sphereWrap:has(.sphereVideoControls) .sphereActions{bottom:46px}
}
