:root{color-scheme:dark;--bg:#07101f;--panel:#0d1b2e;--panel2:#102139;--line:#20334c;--text:#eef5ff;--muted:#9baec8;--cyan:#32d6ec;--violet:#9985ff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.6 'Segoe UI',Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:var(--cyan);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}[hidden]{display:none!important}.hero{position:relative;width:100%;background:#031023;border-bottom:1px solid #1b3855}.hero>img{display:block;width:100%;height:auto;max-height:430px;object-fit:cover;object-position:center}.hero-caption{position:absolute;bottom:24px;left:max(5%,calc((100vw - 1320px)/2));font-size:11px;letter-spacing:2.8px;color:#c5d8ef;text-shadow:0 2px 8px #000}.status-dot{display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 12px var(--cyan)}.navigation{display:flex;align-items:center;gap:36px;padding:15px max(5%,calc((100vw - 1320px)/2));border-bottom:1px solid var(--line);background:#0a1627}.brand{font-size:23px;font-weight:750;letter-spacing:-.8px;color:white}.brand span{color:var(--cyan)}.tabs{display:flex;gap:7px;flex:1}.tab{border:0;background:none;color:var(--muted);padding:12px 16px;border-radius:9px;font-weight:600;white-space:nowrap}.tab.active{background:#173149;color:#58dced}#account,#signed-in{display:flex;gap:12px;align-items:center}#username{color:var(--muted);max-width:150px;overflow:hidden;text-overflow:ellipsis}.primary,.quiet,.danger{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:9px;padding:11px 20px;border:1px solid transparent;font-weight:650;line-height:1.5}.primary{background:linear-gradient(110deg,#24d1e9,#42b7ec);color:#041421;box-shadow:0 4px 18px #17bdd118}.primary:hover{filter:brightness(1.12)}.quiet{background:#112139;border-color:var(--line);color:#d6e4f5}.quiet:hover{background:#1a304b}.small{padding:9px 16px}.danger{background:#8b2940;color:#fff}.muted{color:var(--muted)}main{max-width:1320px;margin:0 auto;padding:48px 0}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.2px;color:var(--cyan)}h1,h2,h3,p{margin-top:0}h1{font-size:36px;line-height:1.2;letter-spacing:-1px;margin-bottom:13px}h2{font-size:24px;line-height:1.3;letter-spacing:-.5px}h3{font-size:16px;margin-bottom:4px}p{margin-bottom:16px}.welcome{display:grid;grid-template-columns:1.15fr 1fr;gap:85px;align-items:center;padding:10px 0 55px}.welcome h1{font-size:52px;line-height:1.12;margin:15px 0 22px}.welcome h1 span{color:#b7c8e0}.welcome p{max-width:540px;font-size:16px;color:var(--muted)}.welcome-actions{display:flex;gap:22px;align-items:center;margin-top:29px}.feature-stack{display:grid;gap:15px}.feature-stack article{display:flex;align-items:center;gap:19px;background:linear-gradient(100deg,#11243b,#0c182a);border:1px solid var(--line);padding:21px 24px;border-radius:13px}.feature-stack p{margin:0;font-size:13px}.feature-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:10px;background:#10364a;color:var(--cyan);font-size:27px;flex-shrink:0}.feature-stack article:nth-child(2) .feature-icon{color:#bca6ff;background:#282443}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.section-heading h1{margin-top:9px}.section-heading p{margin:0}.storage{width:280px;background:var(--panel);border:1px solid var(--line);padding:18px 20px;border-radius:12px}.storage>div{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.storage strong{color:var(--text);font-weight:500}progress{appearance:none;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;margin-top:10px;background:#21344d}progress::-webkit-progress-bar{background:#21344d}progress::-webkit-progress-value{background:linear-gradient(90deg,#37d3ee,#9b7cf9)}progress::-moz-progress-bar{background:#37d3ee}.upload-panel{display:flex;align-items:center;gap:23px;padding:30px;border:1px dashed #355576;border-radius:15px;background:radial-gradient(ellipse at 12% 10%,#14354b66,transparent 65%),#0b192b}.upload-panel.dragging{border-color:var(--cyan);background:#13364a}.upload-icon{font-size:40px;color:var(--cyan);width:66px;height:66px;display:flex;align-items:center;justify-content:center;border-radius:15px;border:1px solid #245064;background:#103348}.upload-panel h2{font-size:21px;margin-bottom:6px}.upload-panel p{margin-bottom:3px;color:#c9d7e9}.upload-panel .muted{font-size:12px}.upload-actions{margin-left:auto;display:grid;grid-template-columns:210px auto;gap:8px 12px;align-items:center}.upload-actions label{grid-column:1/-1;font-size:12px;color:var(--muted)}select,input{width:100%;background:#071424;border:1px solid #2a405b;border-radius:8px;padding:11px 12px;color:var(--text);min-width:0}select{cursor:pointer}.privacy-note{font-size:12px;color:#9aacc3;max-width:1050px;margin:14px 2px 0}#upload-status{margin-top:18px;border:1px solid #31526a;border-radius:9px;padding:16px;background:#112b3c;white-space:pre-line}.gallery-heading{display:flex;justify-content:space-between;align-items:center;margin:37px 0 22px}.gallery-heading h2{margin-bottom:5px}.gallery-heading p{margin:0;font-size:13px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.card{border:1px solid var(--line);background:var(--panel);border-radius:13px;overflow:hidden}.image-button{width:100%;border:0;padding:0;display:block;position:relative;background:repeating-conic-gradient(#132135 0 25%,#0c1929 0 50%) 50% / 24px 24px;aspect-ratio:1.6;overflow:hidden}.image-button img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .25s}.image-button:hover img{transform:scale(1.035)}.image-button .badge{position:absolute;top:12px;left:12px;background:#061323df;border:1px solid #3b5064;padding:3px 9px;border-radius:6px;font-size:10px;color:#c3d1e4}.card-body{padding:18px}.card h3{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta{color:var(--muted);font-size:11px;margin-bottom:16px}.link-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#93a9c4;margin:10px 0 5px}.link-row{display:flex;gap:6px}.link-row input{font-size:11px;padding:9px 8px;color:#b8cbdf}.link-row button{font-size:11px;padding:7px 10px;flex-shrink:0}.card-actions{display:flex;justify-content:space-between;margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.card-actions button{border:0;background:none;color:#91abc9;padding:4px;font-size:12px}.card-actions button:last-child{color:#ef9eae}.empty{text-align:center;padding:65px 20px;background:#0b1729;border:1px solid var(--line);border-radius:14px}.empty>span{font-size:45px;color:#3c6481}.empty h3{font-size:19px;margin:10px 0}.empty p{color:var(--muted);font-size:14px}.more{display:flex;margin:25px auto}.how-it-works{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:30px;border-top:1px solid var(--line);margin-top:65px;padding-top:35px}.how-it-works h2{font-size:21px;margin-top:9px;max-width:250px}.how-it-works b{font-size:13px;color:var(--cyan);display:block;margin-bottom:12px}.how-it-works p{color:var(--muted);font-size:12px}.how-it-works h3{font-size:14px}footer{max-width:1320px;margin:0 auto 35px;display:flex;align-items:center;gap:25px;border-top:1px solid var(--line);padding-top:25px}footer p{margin:0;color:var(--muted);font-size:12px}footer button{margin-left:auto;font-size:12px!important}dialog{background:#0d1c30;color:var(--text);border:1px solid #29425e;border-radius:18px;padding:36px;max-width:470px;width:calc(100% - 32px);max-height:90vh;overflow:auto;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#020913cc;backdrop-filter:blur(7px)}dialog .close{position:absolute;top:12px;right:15px;background:none;border:0;font-size:28px;color:#a5b6cd}dialog h2{margin:9px 0 12px;font-size:27px}dialog p{font-size:14px;color:var(--muted)}.dialog-brand{margin-bottom:26px;font-size:25px}form label{display:block;font-size:12px;margin:16px 0 7px;color:#c8d7e8}.full{width:100%}.text-button{display:block;background:none;border:0;color:var(--cyan);padding:9px 0;margin:9px auto 0;font-size:12px}.fine{font-size:11px!important;line-height:1.6;margin-top:16px}.error{color:#ffacb7!important;font-size:12px;margin:10px 0;min-height:0}.error:empty{display:none}.recovery-code{display:block;overflow-wrap:anywhere;background:#061323;border:1px solid #2d526b;padding:18px;border-radius:10px;font:17px/1.8 monospace;color:var(--cyan);margin:25px 0}.button-row{display:flex;gap:12px;margin:20px 0}.button-row>*{flex:1}.check{font-size:12px;display:flex;gap:10px;margin:20px 0;color:var(--muted)}.check input{width:17px;accent-color:var(--cyan)}.image-dialog{max-width:1100px}.image-stage{background:#06101b;min-height:180px;display:flex;align-items:center;justify-content:center;border-radius:10px;margin:20px 0}.image-stage img{max-width:100%;max-height:65vh;object-fit:contain}.image-dialog h2{padding-right:25px;font-size:20px;overflow-wrap:anywhere}.image-dialog .primary{font-size:13px}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:12px 22px;border-radius:10px;background:#183c4b;border:1px solid #3d7d90;box-shadow:0 6px 25px #0007;z-index:99;max-width:90vw;font-size:13px}
@media(min-width:1800px){.hero>img{max-height:480px}}@media(max-width:1450px){main,footer{margin-left:5%;margin-right:5%}.navigation{gap:25px}}@media(max-width:1000px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome{gap:35px}.welcome h1{font-size:42px}.welcome-actions{flex-wrap:wrap;gap:12px}.upload-panel{flex-wrap:wrap}.upload-actions{width:100%;margin-left:89px}.navigation{gap:15px}.tab{padding:10px;font-size:13px}.navigation>.brand{display:none}.how-it-works{grid-template-columns:repeat(3,1fr)}.how-it-works>div:first-child{grid-column:1/-1}.how-it-works h2{max-width:none}.hero-caption{bottom:13px;font-size:9px}}@media(max-width:620px){.hero>img{height:200px;width:100%;object-fit:cover;object-position:37% center}.hero-caption{font-size:7px;letter-spacing:1.4px;bottom:9px}.navigation{padding:12px 5%;flex-wrap:wrap;gap:10px}.tabs{width:100%;flex:auto}.tab{flex:1}.navigation #account,.navigation #signed-in{width:100%;justify-content:flex-end}.navigation #account button,.navigation #signed-in button{font-size:12px;padding:7px 12px}.welcome{grid-template-columns:1fr;gap:30px}.welcome h1{font-size:39px}.welcome p{font-size:14px}.feature-stack article{padding:15px}.welcome-actions .primary{font-size:13px}.welcome-actions .muted{font-size:12px}main{padding-top:30px}.section-heading{align-items:flex-start;gap:20px;flex-direction:column}.section-heading h1{font-size:30px}.storage{width:100%}.upload-panel{padding:22px;gap:15px}.upload-icon{width:45px;height:45px;font-size:30px}.upload-panel h2{font-size:18px}.upload-panel p{font-size:12px}.upload-actions{margin:0;grid-template-columns:1fr}.upload-actions label{grid-column:auto}.gallery{grid-template-columns:1fr}.gallery-heading h2{font-size:21px}.gallery-heading .quiet{padding:8px 10px;font-size:11px}.how-it-works{gap:18px;grid-template-columns:1fr}.how-it-works>div:first-child{grid-column:auto}.how-it-works b{float:left;margin-right:15px;margin-top:2px}.how-it-works p{margin-bottom:5px}footer{flex-wrap:wrap;gap:12px}footer button{width:100%;margin:0}.privacy-note{font-size:11px}dialog{padding:29px 23px}.button-row{flex-wrap:wrap}.button-row>*{flex-basis:100%}}
.category-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:30px}.category-toolbar select{width:230px}.category-toolbar button{font-size:12px;padding:10px 14px}.upload-actions label{grid-column:1/-1}.upload-actions #upload-category{grid-column:1}.upload-actions #choose-files{grid-column:2;grid-row:4/6}@media(max-width:620px){.category-toolbar select{width:100%}.upload-actions #choose-files{grid-column:auto;grid-row:auto}}
/* Continue the header's midnight blue, cyan and violet atmosphere. */
body{position:relative;isolation:isolate;background-color:#031024;background-image:radial-gradient(ellipse at 0% 42%,rgba(0,193,231,.17),transparent 47%),radial-gradient(ellipse at 100% 65%,rgba(116,66,237,.22),transparent 48%),radial-gradient(ellipse at 68% 0%,rgba(20,113,210,.15),transparent 48%),linear-gradient(155deg,#031126 0%,#071326 48%,#100e29 100%);background-attachment:fixed}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(69,181,224,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(100,109,216,.045) 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(90deg,#000,transparent 36%,transparent 65%,#000)}
body::after{content:"";position:fixed;left:4%;top:38%;width:5px;height:5px;z-index:-1;pointer-events:none;background:#24d1ec;opacity:.38;box-shadow:18px 152px 0 -1px #43d8f2,50px 380px 0 1px #6c64d9,9px 510px 12px 1px #28bfd9,89vw 24px 0 1px #9976ef,87vw 220px 10px 1px #9e64ef,91vw 400px 0 0 #3dc8ee,85vw 550px 0 1px #7d66dd}
.navigation{background:linear-gradient(90deg,rgba(5,25,45,.97),rgba(9,22,43,.97) 55%,rgba(24,18,48,.97));border-bottom-color:#25415c;box-shadow:0 10px 38px rgba(0,143,204,.055)}
.feature-stack article{background:linear-gradient(115deg,rgba(16,47,65,.92),rgba(15,25,46,.94) 70%,rgba(35,26,62,.86));border-color:#29405d;box-shadow:0 10px 35px #02091635}
.card,.storage{background:linear-gradient(140deg,#10253aeb,#101b33f5 65%,#201a3bed);border-color:#2a405e}
.upload-panel{background:radial-gradient(ellipse at 5% 20%,#14536b55,transparent 65%),linear-gradient(115deg,#0b1b31eb,#181731ed);border-color:#3c607d}
.how-it-works,footer{border-top-color:#30425e}.welcome h1 span{color:#c1d2ef}
@media(max-width:620px){body{background-attachment:scroll}body::before{background-size:48px 48px;opacity:.6}body::after{opacity:.22}}
.password-input{position:relative}.password-input input{padding-right:49px}.password-toggle{position:absolute;right:3px;top:3px;bottom:3px;width:42px;display:flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:transparent;color:#9baec8;cursor:pointer}.password-toggle:hover{color:#32d6ec;background:#153047}.password-toggle .eye-slash{display:none}.password-toggle.is-visible .eye-slash{display:block}
.gallery-name-row{display:flex;align-items:center;gap:14px;margin:9px 0 13px;max-width:800px}.gallery-name-row h1{margin:0;overflow-wrap:anywhere}.rename-gallery{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;border:1px solid #35516b;border-radius:9px;background:#102b42;color:#63d9ec;cursor:pointer}.rename-gallery:hover{background:#1a3c55}.tabs .tab{max-width:360px;overflow:hidden;text-overflow:ellipsis}@media(max-width:620px){.gallery-name-row{max-width:100%}.tabs .tab{max-width:50%}}
.modal-image-links{margin:16px 0 22px}.modal-image-links .link-label{font-size:11px;margin-top:13px}.modal-image-links .link-row input{font-size:13px;padding:11px 12px}.modal-image-links .link-row button{font-size:13px;padding:9px 17px}@media(max-width:620px){.modal-image-links .link-row input{font-size:11px}.modal-image-links .link-row button{font-size:12px;padding:8px 12px}}
.pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:14px}.pagination .more{margin:0;display:inline-flex}.pagination button{padding:7px 15px;font-size:12px}.pagination span{font-size:12px}.image-dialog{max-height:94dvh}.image-dialog .image-stage img{max-height:calc(94dvh - 320px);min-height:100px}.image-dialog .image-stage{min-height:100px;margin:12px 0}.image-dialog .modal-image-links{margin:8px 0 14px}.image-dialog h2{margin-top:0}
@media(min-width:1000px) and (min-height:700px){
body.workspace-view{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.workspace-view .hero{height:clamp(108px,15dvh,160px);flex-shrink:0}.workspace-view .hero>img{height:100%;width:100%;object-fit:cover;object-position:center 49%}.workspace-view .hero-caption{bottom:9px;font-size:8px}.workspace-view .navigation{flex-shrink:0;padding-top:7px;padding-bottom:7px;gap:24px}.workspace-view .navigation .tab{padding:8px 14px}.workspace-view main{width:90%;max-width:1320px;margin:0 auto;padding:12px 0;min-height:0;flex:1;display:flex;flex-direction:column}.workspace-view .how-it-works{display:none}.workspace-view .section-heading{margin-bottom:9px}.workspace-view .section-heading .eyebrow{font-size:9px}.workspace-view .gallery-name-row{margin:2px 0 3px}.workspace-view .gallery-name-row h1{font-size:26px}.workspace-view .rename-gallery{width:30px;height:30px}.workspace-view .section-heading p{display:none}.workspace-view .storage{padding:9px 14px;width:260px}.workspace-view .upload-panel{padding:12px 18px;gap:16px}.workspace-view .upload-icon{height:44px;width:44px;font-size:29px}.workspace-view .upload-panel h2{font-size:17px;margin:0}.workspace-view .upload-panel p{font-size:11px;margin:0}.workspace-view .upload-panel .muted{font-size:10px}.workspace-view .upload-actions{display:flex;gap:9px;width:auto;align-items:center}.workspace-view .upload-actions label{display:none}.workspace-view .upload-actions select{width:170px;padding:8px;font-size:11px}.workspace-view .upload-actions button{font-size:12px;padding:9px 13px}.workspace-view .privacy-note{font-size:10px;margin:6px 0;line-height:1.4}.workspace-view #upload-status{position:fixed;bottom:55px;right:25px;z-index:5;max-width:440px;padding:13px;font-size:12px;max-height:120px;overflow:auto;box-shadow:0 8px 30px #0009}.workspace-view .category-toolbar{margin:5px 0 0;gap:8px}.workspace-view .category-toolbar select{font-size:11px;padding:7px;width:210px}.workspace-view .category-toolbar button{padding:7px 11px;font-size:11px}.workspace-view #gallery-section{min-height:0;flex:1;display:flex;flex-direction:column}.workspace-view .gallery-heading{margin:9px 0 8px}.workspace-view .gallery-heading h2{font-size:18px;margin:0}.workspace-view .gallery-heading p{display:none}.workspace-view .gallery-heading .quiet{padding:5px 10px;font-size:11px}.workspace-view .gallery{flex:1;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:16px}.workspace-view .card{display:flex;flex-direction:column;min-height:0}.workspace-view .image-button{flex:1;min-height:55px;aspect-ratio:auto}.workspace-view .card-body{padding:9px 12px;flex-shrink:0}.workspace-view .card h3{font-size:12px;margin:0}.workspace-view .meta{font-size:10px;margin:1px 0 3px}.workspace-view .link-label{font-size:9px;margin:4px 0 2px}.workspace-view .link-row input{font-size:10px;padding:6px}.workspace-view .link-row button{font-size:10px;padding:5px 8px}.workspace-view .card-actions{padding-top:4px;margin-top:6px}.workspace-view .card-actions button{font-size:10px;padding:2px}.workspace-view .pagination{flex-shrink:0;margin-top:8px;gap:14px}.workspace-view .pagination button{padding:5px 12px;font-size:11px}.workspace-view .empty{flex:1;min-height:0;padding:15px;display:flex;flex-direction:column;justify-content:center}.workspace-view .empty>span{font-size:30px}.workspace-view .empty h3{margin:4px 0}.workspace-view .empty p{margin:0}.workspace-view footer{width:90%;max-width:1320px;margin:0 auto;padding:6px 0;flex-shrink:0}.workspace-view footer .brand{font-size:17px}.workspace-view footer .quiet{padding:5px 10px;font-size:10px!important}
}
@media(min-width:1000px) and (min-height:700px){.workspace-view .hero{background-image:linear-gradient(90deg,#031024 0%,#031024 38%,rgba(3,16,36,.82) 55%,rgba(3,16,36,.1) 100%),url(/assets/header.webp);background-size:cover;background-position:right center}.workspace-view .hero>img{width:600px;max-width:60%;margin-left:max(3%,calc((100% - 1320px)/2));object-fit:contain;object-position:left center}.workspace-view .hero-caption{font-size:7px;bottom:5px}}
@media(min-width:1000px) and (min-height:700px) and (max-height:820px){.workspace-view .image-button{min-height:20px}.workspace-view .card-body{padding:6px 10px}.workspace-view .card-actions{margin-top:4px;padding-top:3px}.workspace-view .link-label{margin-top:3px}.workspace-view .link-row input{padding:5px}.workspace-view .section-heading{margin-bottom:6px}.workspace-view .hero{height:108px}}
.size-badge{position:absolute;right:9px;bottom:8px;max-width:95%;background:#041120ed;color:#8eeaf3;border:1px solid #315269;border-radius:5px;font-size:10px;font-weight:650;padding:3px 7px}.resize-dialog{max-width:590px}.resize-presets{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:20px 0}.resize-option{display:flex;align-items:center;gap:9px;border:1px solid #2c4663;border-radius:8px;padding:11px!important;margin:0!important;background:#10233a;font-size:13px!important}.resize-option input{width:17px;accent-color:#32d6ec}.resize-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.resize-fields label{margin-top:0}.resize-dialog .check{margin-bottom:11px}.resize-dialog input:disabled{opacity:.4}.resize-dialog .fine{margin-top:12px}.card-actions{gap:5px}.card-actions button{white-space:nowrap}@media(min-width:1000px) and (min-height:700px){.workspace-view .size-badge{font-size:9px;padding:2px 5px;bottom:5px;right:5px}}
/* Readable typography throughout CityPixel. */
body{font-size:17px}.eyebrow{font-size:14px;letter-spacing:1.4px}.muted,.fine{color:#becce0}.fine{font-size:14px!important}form label,.upload-actions label{font-size:15px}dialog p{font-size:16px}.text-button{font-size:15px}.error{font-size:15px}.feature-stack p,.how-it-works p,footer p{font-size:15px}.how-it-works h3{font-size:17px}.card h3{font-size:18px}.meta{font-size:15px}.link-label{font-size:14px;letter-spacing:.5px}.link-row input{font-size:15px;padding:10px}.link-row button{font-size:15px;padding:9px 13px}.card-actions button{font-size:15px}.image-button .badge,.size-badge{font-size:13px}.privacy-note{font-size:14px;color:#becce0}.pagination span,.pagination button{font-size:15px}.category-toolbar button{font-size:15px}.storage>div{font-size:15px}.check{font-size:15px}.hero-caption{font-size:12px;letter-spacing:1.5px}.resize-option{font-size:16px!important}.modal-image-links .link-label{font-size:14px}.modal-image-links .link-row input,.modal-image-links .link-row button{font-size:15px}.toast{font-size:16px}
@media(min-width:1000px) and (min-height:700px){
.workspace-view .hero{height:100px}.workspace-view .hero-caption{font-size:11px;letter-spacing:1px;bottom:5px}.workspace-view main{width:94%;max-width:1540px;padding:10px 0}.workspace-view footer{width:94%;max-width:1540px}.workspace-view .navigation{padding-top:6px;padding-bottom:6px}.workspace-view .navigation .tab{font-size:16px}.workspace-view .section-heading .eyebrow{font-size:13px}.workspace-view .gallery-name-row h1{font-size:29px}.workspace-view .storage{width:290px;padding:9px 14px}.workspace-view .storage>div{font-size:15px}.workspace-view .upload-panel{padding:10px 15px}.workspace-view .upload-panel h2{font-size:20px}.workspace-view .upload-panel p{font-size:15px}.workspace-view .upload-panel .muted{font-size:14px}.workspace-view .upload-actions select{width:205px;font-size:15px;padding:9px}.workspace-view .upload-actions button{font-size:15px;padding:10px 14px}.workspace-view .privacy-note{font-size:14px;line-height:1.4;margin:7px 0}.workspace-view .category-toolbar select{font-size:15px;padding:8px;width:240px}.workspace-view .category-toolbar button{font-size:15px;padding:8px 12px}.workspace-view .gallery-heading{margin:10px 0 8px}.workspace-view .gallery-heading h2{font-size:22px}.workspace-view .gallery-heading .quiet{font-size:14px;padding:6px 12px}.workspace-view .card-body{padding:9px 12px}.workspace-view .card h3{font-size:18px}.workspace-view .meta{font-size:14px;margin:3px 0 5px}.workspace-view .link-label{font-size:13px;margin:5px 0 3px;letter-spacing:.4px}.workspace-view .link-row input{font-size:14px;padding:8px}.workspace-view .link-row button{font-size:14px;padding:7px 12px}.workspace-view .card-actions{margin-top:7px;padding-top:6px}.workspace-view .card-actions button{font-size:14px;padding:3px}.workspace-view .image-button{min-height:35px}.workspace-view .image-button .badge,.workspace-view .size-badge{font-size:13px;padding:3px 7px}.workspace-view .pagination button{font-size:15px;padding:6px 13px}.workspace-view .pagination span{font-size:15px}.workspace-view footer .brand{font-size:20px}.workspace-view footer p{font-size:14px}.workspace-view footer .quiet{font-size:14px!important;padding:6px 12px}.workspace-view #upload-status{font-size:15px}
}
@media(min-width:1000px) and (max-height:849px){body.workspace-view{height:auto;min-height:100dvh;overflow:auto}.workspace-view main{flex:none}.workspace-view .gallery{flex:none;grid-auto-rows:360px;grid-template-rows:360px}.workspace-view #gallery-section{flex:none}.workspace-view .upload-actions{flex-wrap:wrap;justify-content:flex-end;max-width:58%}.workspace-view .hero{height:100px}}
@media(max-width:999px){.gallery-heading p,.welcome p,.welcome-actions .muted{font-size:16px}.upload-panel p,.upload-panel .muted{font-size:15px}.privacy-note{font-size:14px}.category-toolbar button{font-size:15px}.card-actions{flex-wrap:wrap}.card-actions button{font-size:15px;padding:5px}.navigation #account button,.navigation #signed-in button,.tab{font-size:15px}.hero-caption{font-size:10px}.how-it-works p{font-size:15px}footer button{font-size:14px!important}}
/* Spacious gallery with full-size hero; scrolling remains available. */
html,body{scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}
body.workspace-view{height:auto;min-height:100dvh;display:block;overflow:auto}
.workspace-view .hero{height:auto;flex-shrink:0;background:#031023}
.workspace-view .hero>img{display:block;width:100%;max-width:none;margin:0;height:auto;max-height:480px;object-fit:cover;object-position:center}
.workspace-view .hero-caption{left:max(5%,calc((100vw - 1320px)/2));bottom:24px;font-size:12px;letter-spacing:1.5px}
.workspace-view .navigation{padding:15px max(5%,calc((100vw - 1320px)/2));gap:30px}
.workspace-view .navigation .tab{padding:12px 16px;font-size:16px}
.workspace-view main{display:block;width:90%;max-width:1320px;margin:0 auto;padding:38px 0}
.workspace-view .section-heading{margin-bottom:26px;gap:24px}
.workspace-view .section-heading .eyebrow{font-size:14px}
.workspace-view .gallery-name-row{margin:10px 0 12px;gap:15px}
.workspace-view .gallery-name-row h1{font-size:36px}
.workspace-view .rename-gallery{width:38px;height:38px}
.workspace-view .section-heading p{display:block;font-size:17px}
.workspace-view .storage{width:290px;padding:18px 20px}
.workspace-view .upload-panel{padding:28px;gap:22px;flex-wrap:wrap}
.workspace-view .upload-icon{height:66px;width:66px;font-size:40px}
.workspace-view .upload-panel h2{font-size:24px;margin-bottom:6px}
.workspace-view .upload-panel p{font-size:16px;margin-bottom:4px}
.workspace-view .upload-panel .muted{font-size:15px}
.workspace-view .upload-actions{display:grid;grid-template-columns:220px auto;gap:8px 12px;max-width:none;width:auto;margin-left:auto}
.workspace-view .upload-actions label{display:block;font-size:15px}
.workspace-view .upload-actions select{width:100%;font-size:16px;padding:11px 12px}
.workspace-view .upload-actions button{font-size:16px;padding:11px 18px}
.workspace-view .privacy-note{font-size:15px;margin:15px 2px 0;line-height:1.6}
.workspace-view #upload-status{position:static;max-width:none;max-height:180px;overflow:auto;margin-top:18px;padding:16px;font-size:16px;box-shadow:none}
.workspace-view .category-toolbar{margin:28px 0 0;gap:10px}
.workspace-view .category-toolbar select{width:240px;font-size:16px;padding:11px 12px}
.workspace-view .category-toolbar button{font-size:15px;padding:11px 14px}
.workspace-view #gallery-section{display:block;flex:none;min-height:0}
.workspace-view .gallery-heading{margin:30px 0 22px}
.workspace-view .gallery-heading h2{font-size:26px;margin-bottom:5px}
.workspace-view .gallery-heading p{display:block;font-size:16px}
.workspace-view .gallery-heading .quiet{font-size:15px;padding:10px 15px}
.workspace-view .gallery{display:grid;flex:none;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:auto;gap:24px}
.workspace-view .card{display:block;min-height:0}
.workspace-view .image-button{aspect-ratio:1.5;min-height:0;flex:none}
.workspace-view .card-body{padding:18px}
.workspace-view .card h3{font-size:19px}
.workspace-view .meta{font-size:15px;margin:4px 0 15px}
.workspace-view .link-label{font-size:14px;margin:12px 0 5px}
.workspace-view .link-row input{font-size:15px;padding:10px}
.workspace-view .link-row button{font-size:15px;padding:9px 12px}
.workspace-view .card-actions{margin-top:16px;padding-top:12px;gap:8px;flex-wrap:wrap}
.workspace-view .card-actions button{font-size:15px;padding:4px}
.workspace-view .image-button .badge,.workspace-view .size-badge{font-size:13px;padding:4px 8px}
.workspace-view .pagination{margin-top:24px;gap:18px}
.workspace-view .pagination button{font-size:16px;padding:10px 18px}
.workspace-view .pagination span{font-size:16px}
.workspace-view .empty{display:block;padding:55px 20px}
.workspace-view .empty>span{font-size:42px}
.workspace-view .empty h3{margin:12px 0;font-size:22px}
.workspace-view .empty p{font-size:16px}
.workspace-view .how-it-works{display:grid;margin-top:55px;padding-top:30px}
.workspace-view footer{width:90%;max-width:1320px;margin:0 auto 30px;padding-top:22px;gap:24px}
.workspace-view footer .brand{font-size:23px}
.workspace-view footer p{font-size:15px}
.workspace-view footer .quiet{font-size:15px!important;padding:10px 16px}
@media(max-width:1100px){.workspace-view .upload-actions{width:100%;margin-left:0}.workspace-view .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-view .navigation{gap:15px}}
@media(max-width:620px){.workspace-view .hero>img{height:200px;max-height:none;object-fit:cover;object-position:37% center}.workspace-view .hero-caption{font-size:9px;bottom:9px;letter-spacing:1px}.workspace-view .navigation{padding:12px 5%}.workspace-view main{padding:28px 0}.workspace-view .gallery{grid-template-columns:1fr}.workspace-view .upload-panel{padding:22px;gap:15px}.workspace-view .upload-actions{grid-template-columns:1fr}.workspace-view .upload-actions #choose-files{grid-column:auto;grid-row:auto}.workspace-view .gallery-name-row h1{font-size:31px}.workspace-view .storage{width:100%}.workspace-view .section-heading{flex-direction:column}.workspace-view .gallery-heading h2{font-size:23px}.workspace-view .gallery-heading .quiet{font-size:13px;padding:8px 10px}.workspace-view .how-it-works{grid-template-columns:1fr}.workspace-view footer{gap:14px}}
/* Header signature. */
.hero .hero-caption,.workspace-view .hero .hero-caption{display:inline-flex;align-items:center;gap:12px;max-width:calc(100% - 40px);bottom:23px;padding:11px 20px;border:1px solid rgba(81,210,239,.38);border-radius:12px;background:linear-gradient(115deg,rgba(5,28,49,.87),rgba(22,21,53,.72));backdrop-filter:blur(12px);box-shadow:0 6px 26px rgba(0,8,25,.4),inset 0 1px 0 rgba(171,231,255,.1),0 0 22px rgba(26,178,224,.09);font-size:15px;font-weight:600;line-height:1.5;letter-spacing:2px;color:#d5f6ff;text-shadow:0 0 15px rgba(70,209,246,.3)}
.hero-caption .status-dot{width:7px;height:7px;margin:0;background:#55e5f4;box-shadow:0 0 0 4px rgba(49,215,235,.09),0 0 15px rgba(49,215,235,.7);flex-shrink:0}
@media(max-width:620px){.hero .hero-caption,.workspace-view .hero .hero-caption{left:5%;bottom:11px;padding:8px 11px;gap:9px;border-radius:9px;font-size:11px;letter-spacing:1px;max-width:90%}.hero-caption .status-dot{width:5px;height:5px}}
/* Free-standing luminous header lettering. */
.hero .hero-caption,.workspace-view .hero .hero-caption{display:block;padding:0;border:0;border-radius:0;background:none;backdrop-filter:none;box-shadow:none;color:#bff7ff;font-size:19px;font-weight:400;line-height:1.6;letter-spacing:3.5px;text-shadow:0 0 4px rgba(174,245,255,.45),0 0 13px rgba(37,211,240,.65),0 0 28px rgba(30,173,230,.42);bottom:25px;cursor:default}
.hero-caption .status-dot{display:none}
@media(max-width:620px){.hero .hero-caption,.workspace-view .hero .hero-caption{font-size:12px;letter-spacing:1.4px;bottom:12px;padding:0;max-width:90%;line-height:1.5}}
/* Slightly shorter header, preserving the complete artwork. */
.hero,.workspace-view .hero{height:clamp(240px,23vw,420px);background:#031023;overflow:hidden}
.hero>img,.workspace-view .hero>img{display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:contain;object-position:center}
.hero .hero-caption,.workspace-view .hero .hero-caption{bottom:15px;font-size:17px;letter-spacing:3px}
@media(max-width:620px){.hero,.workspace-view .hero{height:210px}.hero>img,.workspace-view .hero>img{height:100%;object-fit:contain;object-position:center top}.hero .hero-caption,.workspace-view .hero .hero-caption{bottom:13px;font-size:12px;letter-spacing:1.4px}}
/* Low banner: entire artwork above a clear signature line. */
.hero,.workspace-view .hero{height:220px;padding:0 0 34px;background:#031023;overflow:hidden}
.hero>img,.workspace-view .hero>img{width:100%;height:100%;max-height:none;max-width:none;margin:0;object-fit:contain;object-position:center}
.hero .hero-caption,.workspace-view .hero .hero-caption{left:0;right:0;bottom:7px;width:100%;max-width:none;text-align:center;font-size:15px;line-height:1.4;letter-spacing:2.5px}
@media(max-width:620px){.hero,.workspace-view .hero{height:165px;padding-bottom:30px}.hero .hero-caption,.workspace-view .hero .hero-caption{font-size:11px;letter-spacing:1.1px;bottom:7px;left:0;right:0;max-width:none}}
/* Wide panoramic composition: only plain canvas margins leave the viewport. */
.hero,.workspace-view .hero{height:220px;padding-bottom:30px;background:#031023}
.hero>img,.workspace-view .hero>img{width:100%;height:100%;object-fit:cover;object-position:center}
@media(min-width:2000px){.hero,.workspace-view .hero{height:280px}}
@media(max-width:620px){.hero,.workspace-view .hero{height:165px;padding-bottom:30px}.hero>img,.workspace-view .hero>img{content:url(/assets/header.webp);object-fit:contain}}
.hero,.workspace-view .hero{height:300px}
/* Align the signature with the panorama logo's left edge. */
.hero .hero-caption,.workspace-view .hero .hero-caption{left:3.5%;right:auto;width:auto;max-width:93%;text-align:left}
@media(max-width:620px){.hero .hero-caption,.workspace-view .hero .hero-caption{left:5%;right:auto;width:auto;max-width:90%;text-align:left}}
.link-generator-dialog{max-width:760px}.link-generator-form{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.link-generator-form .check,.link-generator-form .error,.link-generator-form>.primary{grid-column:1/-1}.link-generator-form .check{margin:20px 0}.link-generator-result{margin-top:25px;padding-top:20px;border-top:1px solid #31516a}.generated-code{display:block;width:100%;resize:vertical;min-height:130px;border:1px solid #35526d;border-radius:9px;padding:14px;background:#061323;color:#c7edf6;font:14px/1.65 Consolas,monospace;white-space:pre;overflow:auto;margin:12px 0 15px}.link-generator-dialog .close{position:absolute}.navigation .tabs{flex-wrap:wrap}.card-actions{flex-wrap:wrap}@media(max-width:620px){.link-generator-form{grid-template-columns:1fr}.navigation .tabs{gap:5px}.navigation .tabs .tab{max-width:none;flex:1 1 auto;padding:9px;font-size:14px}}
