:root{--bg:#f4f6fb;--panel:#fff;--text:#18243e;--muted:#727e94;--line:#e6eaf2;--accent:#3566e8;--accent-soft:#edf2ff;--navy:#101c35;--radius:16px;--shadow:0 6px 24px #172e5b05}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}
button{border:0;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
button:disabled{opacity:.55;cursor:wait}
button,a,input,select{touch-action:manipulation}
button:focus-visible,a:focus-visible{outline:3px solid #719aff;outline-offset:3px}
button,a,input,select{transition:background .18s,border-color .18s,box-shadow .18s,color .18s}
a{color:var(--accent)}
input,select{border:1px solid #dce2ee;background:#fff;color:var(--text);padding:12px 14px;border-radius:10px;min-width:0;max-width:100%}
input::placeholder{color:#98a2b4}
input:focus,select:focus{outline:0;border-color:#799cf0;box-shadow:0 0 0 3px #3566e812}
[hidden]{display:none!important}
h1,h2,h3,p{margin:0}
h1{font-size:32px;line-height:1.2;letter-spacing:-1.2px;font-weight:700}
h2{font-size:25px;line-height:1.25;letter-spacing:-.7px;font-weight:650}
small{font-size:11px}
.muted{color:var(--muted)}
.icon{display:inline-block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;padding:12px 17px;min-height:44px;font-size:13px;font-weight:600;text-decoration:none}
.primary{background:var(--accent);color:#fff;box-shadow:0 4px 9px #3566e819}
.primary:hover{background:#2655d2;box-shadow:0 6px 18px #3566e82b}
.secondary{background:#fff;border:1px solid #dce2ed;color:#37445f;box-shadow:0 2px 3px #14264d02}
.secondary:hover{background:#f7f9ff;border-color:#b7c7e9}
.primary .icon,.secondary .icon{width:18px;height:18px}
.text-button{display:inline-flex;align-items:center;gap:9px;color:var(--accent);font-size:12px;font-weight:600;padding:8px 0;min-height:36px}
.text-button:hover{color:#1e49b9}
.text-button .icon{width:16px;height:16px}
.icon-btn{width:40px;height:40px;display:inline-grid;place-items:center;border-radius:10px;color:#768299;flex-shrink:0}
.icon-btn:hover{background:#edf2fc;color:var(--accent)}
.brand{display:flex;align-items:center;gap:10px;font-size:16px;letter-spacing:1px;white-space:nowrap;text-decoration:none;color:#fff;line-height:1.2}
.brand img{width:38px;height:38px;flex-shrink:0}
.brand b{font-weight:400;color:#9cbaff;letter-spacing:.7px}
.brand small{display:block;font-size:7px;letter-spacing:2px;color:#798aa9;margin-top:6px;font-weight:500}
aside{position:fixed;width:248px;inset:0 auto 0 0;background:var(--navy);display:flex;flex-direction:column;padding:29px 22px 22px;z-index:10;overflow-y:auto}
aside>.primary{margin:35px 0 30px;width:100%;background:#3b6beb;box-shadow:0 5px 17px #0001;min-height:46px}
.nav-label{font-size:9px;letter-spacing:1.9px;color:#7183a5;margin:0 14px 10px;font-weight:600}
#nav{display:grid;gap:5px}
#nav button{position:relative;display:flex;align-items:center;gap:12px;min-height:46px;width:100%;text-align:left;color:#a6b3cd;padding:11px 13px;border-radius:9px;font-size:12px;font-weight:500}
#nav button>.icon{width:19px;height:19px;color:#8295b9}
#nav button.active{background:#22365b;color:#e8efff}
#nav button.active::before{content:"";position:absolute;left:-22px;top:13px;bottom:13px;width:3px;background:#739eff;border-radius:0 3px 3px 0}
#nav button.active>.icon{color:#84a8ff}
#nav button:hover{background:#1c2e4e;color:#fff}
#nav i{font-size:10px;font-weight:600;font-style:normal;background:#354c78;color:#c7d8ff;padding:2px 7px;min-width:24px;text-align:center;border-radius:6px;margin-left:auto}
.nav-secondary{margin-top:29px;margin-bottom:8px}
.side-bottom{margin-top:auto;padding-top:28px}
.storage{padding:16px 14px;background:#172641;border:1px solid #293958;border-radius:12px}
.storage-title{display:flex;align-items:center;gap:8px;color:#bac8e3;font-size:11px}
.storage-title>.icon{width:16px;height:16px;color:#92a8d5}
.storage-title b{font-weight:500}
.meter{height:5px;background:#2c3b5a;border-radius:5px;margin:15px 0 11px;overflow:hidden}
#storageBar{height:100%;background:#6d97ff;max-width:100%;width:0;border-radius:5px;transition:width .4s}
.storage strong{display:block;font-size:11px;font-weight:500;color:#e0e9fa}
.storage small{display:block;color:#8193b4;font-size:9px;margin-top:5px;line-height:1.8}
.profile{display:flex;align-items:center;gap:10px;text-align:left;margin-top:23px;padding:0;width:100%;font-size:11px;color:#e6edfc}
.profile small{display:block;color:#8293b0;font-size:10px;margin-top:3px}
.profile>.icon{margin-left:auto;width:17px;height:17px;color:#8598ba}
.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#2d4267;color:#c2d4ff;font-size:11px;font-weight:600;flex-shrink:0}
main{margin-left:248px;min-height:100vh}
.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:18px}
.breadcrumb{display:flex;align-items:center;gap:14px;font-size:11px;color:#8a94a7;min-width:0}
.breadcrumb .icon{width:13px;height:13px;color:#b4bdcd}
.breadcrumb b{font-weight:500;color:#4c5971;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-right{display:flex;align-items:center;gap:16px;flex-shrink:0}
.private-badge{display:flex;align-items:center;gap:7px;font-size:11px;color:#65748f;font-weight:500}
.private-badge .icon{width:16px;height:16px;color:#5c7dca}
.header-divider{height:24px;width:1px;background:var(--line)}
.mobile-brand{display:none}
.content{max-width:1500px;margin:auto;padding:32px 40px 23px}
.heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:16px}
.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.7px;color:#8793aa;display:block;margin-bottom:10px}
.heading p{margin-top:9px;color:var(--muted);font-size:12px}
.heading .secondary{font-size:12px;flex-shrink:0}
.intro{position:relative;display:flex;justify-content:space-between;background:linear-gradient(105deg,#eaf0ff 0%,#edf2ff 53%,#e3ebff);border:1px solid #e0e8fa;border-radius:18px;padding:27px 34px;min-height:254px;overflow:hidden;margin-bottom:24px}
.intro-copy{position:relative;z-index:1}
.pill{display:flex;align-items:center;gap:6px;width:fit-content;font-size:8px;letter-spacing:1.6px;font-weight:600;color:#5071b6}
.pill>.icon{width:14px;height:14px}
.intro h2{font-size:33px;font-weight:700;line-height:1.16;margin:12px 0 11px;letter-spacing:-1.3px;color:#17294f}
.intro p{font-size:11px;line-height:1.8;color:#6a7d9f}
.intro .primary{margin-top:18px;min-height:39px;padding:10px 13px;font-size:11px;gap:8px}
.intro .primary>.icon{width:16px;height:16px}
.intro .arrow-icon{margin-left:14px}
.hero-art{position:relative;width:330px;min-width:270px;flex-shrink:0;margin-right:13px}
.hero-orbit{position:absolute;border:1px solid #c9d7f9;border-radius:50%;width:340px;height:340px;top:-44px;left:-2px}
.orbit-two{width:430px;height:430px;top:-89px;left:-47px;opacity:.55}
.hero-tile{position:absolute;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:158px;height:185px;border-radius:16px;padding:23px;box-shadow:0 16px 30px #28477c21}
.hero-tile>.icon{width:44px;height:44px;stroke-width:1.3;margin-bottom:22px}
.hero-tile>span{font-size:7px;letter-spacing:1.5px;font-weight:600}
.hero-tile>b{font-size:20px;margin-top:3px;letter-spacing:-.7px}
.tile-back{left:29px;top:14px;transform:rotate(-13deg);background:#adbee7;color:#edf2ff}
.tile-back>.icon{align-self:center;width:53px;height:53px}
.tile-back>span{align-self:center;font-size:6px;letter-spacing:1.3px}
.tile-front{left:132px;top:4px;transform:rotate(11deg);background:linear-gradient(140deg,#406ee4,#234aa6);color:#fff;border:1px solid #527be1}
.hero-lock{position:absolute;top:143px;left:246px;border:5px solid #e9efff;border-radius:16px;background:#fff;box-shadow:0 8px 20px #204d9c12;display:grid;place-items:center;width:58px;height:58px;color:#4c75cc;transform:rotate(7deg)}
.hero-lock>.icon{width:23px;height:23px}
.hero-caption{position:absolute;bottom:-7px;left:73px;font-size:7px;letter-spacing:2px;color:#7e94ba;white-space:nowrap}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:27px}
.stat-card{display:flex;align-items:flex-start;gap:13px;background:#fff;border:1px solid var(--line);padding:20px 18px;border-radius:13px;box-shadow:var(--shadow);min-width:0}
.stat-icon{width:39px;height:39px;border-radius:11px;background:#edf3ff;color:#4e77dc;display:grid;place-items:center;flex-shrink:0}
.stat-icon>.icon{width:21px;height:21px}
.stat-icon.violet{background:#f2edff;color:#8d6cd1}
.stat-icon.amber{background:#fff4e5;color:#c19650}
.stat-icon.slate{background:#eef2f7;color:#6f83a3}
.stat-card>div{min-width:0}
.stat-card>div>span{color:#8290a7;font-size:10px;display:block;white-space:nowrap}
.stat-card strong{display:block;font-size:23px;font-weight:650;letter-spacing:-.7px;line-height:1.25;margin-top:4px;white-space:nowrap}
.stat-card small{display:block;font-size:9px;color:#9aa4b6;margin-top:5px;white-space:nowrap}
.album-section{margin-bottom:27px}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:13px}
.section-head h3{font-size:14px;font-weight:650;letter-spacing:-.2px}
.section-head .text-button{font-size:10px;min-height:28px;padding:4px 0}
.album-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.album-mini{display:flex;align-items:center;gap:12px;text-align:left;min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 13px;box-shadow:var(--shadow)}
.album-mini:hover{border-color:#a9bfea;box-shadow:0 5px 14px #3153a00b}
.album-icon{width:39px;height:42px;background:#edf2fc;border-radius:10px;display:grid;place-items:center;color:#7693cd;flex-shrink:0}
.album-icon>.icon{width:23px;height:23px;stroke-width:1.5}
.album-mini[data-tone="1"] .album-icon{background:#f3effb;color:#9a83bf}
.album-mini[data-tone="2"] .album-icon{background:#fdf3e7;color:#bb9a62}
.album-mini[data-tone="3"] .album-icon{background:#e9f1fb;color:#779ac6}
.album-info{min-width:0;flex:1}
.album-mini strong{display:block;font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.album-mini small{display:block;color:#9aa3b4;font-size:9px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.album-mini>.icon{width:12px;height:12px;color:#a6b1c5;margin-left:auto}
.library-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 22px 22px;box-shadow:var(--shadow)}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #edf0f6;padding-bottom:17px;margin-bottom:20px}
.tabs{display:flex;gap:3px;background:#f3f5f9;border:1px solid #edf0f6;padding:3px;border-radius:9px;flex-shrink:0}
.tabs button{font-size:11px;min-height:32px;padding:6px 13px;border-radius:6px;color:#8b96aa;white-space:nowrap;font-weight:500}
.tabs button:hover{color:#4e6eae}
.tabs .selected{background:#fff;color:#3b67c9;box-shadow:0 2px 6px #1e345d0b}
.tools{display:flex;align-items:center;gap:9px;min-width:0;margin-left:auto}
.search{display:flex;align-items:center;border:1px solid #e7ebf3;border-radius:8px;padding-left:10px;gap:4px;background:#fafbfe;min-width:0}
.search:focus-within{border-color:#8ea9ec;background:#fff;box-shadow:0 0 0 3px #3566e809}
.search>.icon{width:15px;height:15px;color:#9aa6bc}
.search input{border:0;background:none;box-shadow:none;width:166px;font-size:11px;padding:9px 6px;min-height:37px}
#sort{font-size:11px;max-width:110px;padding:9px 8px;border:1px solid #e7ebf3;min-height:39px;border-radius:8px}
.gallery-heading{margin-bottom:16px}
.gallery-heading>div:first-child{display:flex;align-items:center;gap:11px}
#resultCount{font-size:10px;color:#9ba5b7}
.layout-switch{display:flex;border:1px solid #e7ebf3;border-radius:7px;padding:2px;gap:2px;background:#fafbfe}
.layout-switch button{width:30px;height:29px;border-radius:4px;display:grid;place-items:center;color:#a1acbf}
.layout-switch button.selected{background:#fff;color:#4c73cf;box-shadow:0 1px 5px #1e345d14}
.layout-switch .icon{width:15px;height:15px}
.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.media-card{min-width:0;border:1px solid #e9edf4;border-radius:11px;background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.media-card:hover{border-color:#cad7f0;box-shadow:0 5px 16px #233b670b}
.media-open{display:block;width:100%;aspect-ratio:1.24;background:#eef2f9;position:relative;padding:0;overflow:hidden}
.media-open img{position:relative;display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.media-open:hover img{transform:scale(1.045)}
.file-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#8fa2c1;background:linear-gradient(135deg,#edf1fa,#e1e8f6)}
.file-fallback>.icon{width:35px;height:35px;stroke-width:1.3}
.file-fallback small{font-size:8px;letter-spacing:2px}
.is-video .file-fallback{background:linear-gradient(125deg,#1c2d50,#3a5080);color:#b6cbf4}
.video-badge{position:absolute;left:10px;bottom:10px;display:flex;align-items:center;gap:5px;padding:4px 7px;border-radius:5px;background:#0f1b337a;color:#fff;font-size:8px;letter-spacing:.6px}
.video-badge>.icon{width:13px;height:13px}
.card-details{display:flex;align-items:center;gap:3px;padding:11px 10px}
.card-details>div{flex:1;min-width:0}
.card-details strong{font-size:10px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.card-details small{display:block;margin-top:4px;color:#9aa4b7;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fav{width:31px;height:34px;display:grid;place-items:center;color:#b4bdce;flex-shrink:0;padding:5px;border-radius:7px}
.fav>.icon{width:16px;height:16px}
.fav:hover{background:#f1f4fc;color:#6f8ed0}
.fav.on{color:#527ae0}
.fav.on>.icon{fill:currentColor}
.gallery.list-view{grid-template-columns:1fr;gap:8px}
.list-view .media-card{display:flex;align-items:center;padding:7px;border-radius:10px}
.list-view .media-open{width:78px;height:62px;aspect-ratio:auto;border-radius:7px;flex-shrink:0}
.list-view .card-details{flex:1;min-width:0;padding:0 13px 0 16px}
.list-view .card-details strong{font-size:12px}
.list-view .card-details small{font-size:10px;margin-top:5px}
.list-view .file-fallback{gap:1px}
.list-view .file-fallback>.icon{width:25px;height:25px}
.list-view .file-fallback small{font-size:6px}
.list-view .video-badge{display:none}
.albums-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.album-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden}
.album-card .album-cover{position:relative;display:grid;place-items:center;height:134px;background:linear-gradient(130deg,#eff3fd,#e3ebfa);overflow:hidden}
.album-cover::before,.album-cover::after{content:"";position:absolute;width:115px;height:115px;border:1px solid #fff9;border-radius:50%;right:-23px;bottom:-35px}
.album-cover::after{width:170px;height:170px;right:-50px;bottom:-62px}
.album-cover>.icon{width:51px;height:51px;color:#91aadb;stroke-width:1.2}
.album-card[data-tone="1"] .album-cover{background:linear-gradient(130deg,#f3f0fa,#e7e1f4)}
.album-card[data-tone="1"] .album-cover>.icon{color:#b0a1cd}
.album-card[data-tone="2"] .album-cover{background:linear-gradient(130deg,#fdf6eb,#f3e7d3)}
.album-card[data-tone="2"] .album-cover>.icon{color:#c6b08b}
.album-card[data-tone="3"] .album-cover{background:linear-gradient(130deg,#edf4fc,#dce9f7)}
.album-card .album-info{padding:15px 16px;display:block;position:relative}
.album-card .album-info>.icon{position:absolute;right:15px;top:21px;width:15px;height:15px;color:#a2b1c9}
.album-card strong{font-size:13px;padding-right:22px}
.album-card small{font-size:10px}
.album-cover .album-lock{position:absolute;right:11px;top:11px;background:#ffffffcf;border:1px solid #fff9;color:#7891bc;display:grid;place-items:center;width:28px;height:28px;border-radius:8px}
.album-lock>.icon{width:14px;height:14px}
.empty{text-align:center;padding:40px 12px 38px;max-width:450px;margin:auto}
.empty-icon{display:grid;place-items:center;margin:0 auto 17px;background:#eff3fd;border:1px solid #e2eafa;border-radius:18px;color:#6d8fda;width:65px;height:65px}
.empty-icon>.icon{width:29px;height:29px;stroke-width:1.4}
.empty h2{font-size:20px}
.empty p{color:#909bb0;margin:11px auto 21px;font-size:12px;line-height:1.9;max-width:310px}
.empty .primary{font-size:12px}
#loadMore{display:flex;margin:25px auto 0;font-size:11px;min-height:39px}
#loadMore>.icon{width:12px;height:12px;transform:rotate(90deg)}
footer{display:flex;justify-content:space-between;gap:12px;color:#a4aec1;padding-top:24px;margin-top:9px;font-size:9px;letter-spacing:.3px}
footer>span:first-child{font-weight:600;letter-spacing:1.1px}
footer b{font-size:8px;font-weight:500;letter-spacing:0;background:#e9eef8;color:#8b9ab6;padding:2px 5px;border-radius:4px;margin-left:4px}
.mobile-nav{display:none}
dialog{background:#fff;color:var(--text);border:1px solid #dce4f2;border-radius:19px;padding:25px;width:510px;max-width:calc(100% - 28px);max-height:calc(100dvh - 40px);box-shadow:0 26px 100px #101c3540;overscroll-behavior:contain}
dialog::backdrop{background:#0d193c80;backdrop-filter:blur(6px)}
.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}
.dialog-top h2{font-size:22px;min-width:0;overflow-wrap:anywhere}
.dialog-top .icon-btn{width:34px;height:34px;background:#f4f6fb}
form label{display:grid;gap:8px;font-size:12px;font-weight:500;color:#4e5b75;margin:19px 0}
form button.primary{width:100%;margin-top:10px}
form p{color:var(--muted);font-size:12px;margin:12px 0;line-height:1.8}
.form-error,#loginError{color:#cb5264;font-size:12px;line-height:1.6}
.form-error:empty,#loginError:empty{display:none}
#dialogBody>label{display:grid;gap:9px;font-size:12px;color:#63728e}
.dropzone{border:1px dashed #a6bae8;padding:25px 18px;background:#f6f8ff;border-radius:13px;text-align:center;margin-top:20px;transition:border-color .2s,background .2s}
.dropzone.drag-over{background:#edf2ff;border-color:#4f7ae5}
.dropzone>.icon{width:35px;height:35px;color:#789ce9;margin:0 auto 14px}
.dropzone h2{font-size:19px}
.dropzone p{margin:11px 0 19px;color:#8492ac;font-size:12px;line-height:1.8}
.dropzone input{width:100%;font-size:11px;background:#fff;padding:8px;color:#76849e}
input[type=file]::file-selector-button{border:0;border-radius:6px;background:#eaf0ff;color:#4165b5;padding:8px 12px;margin-right:10px;cursor:pointer;font:inherit;font-weight:600}
.viewer{display:block;width:100%;max-height:50vh;object-fit:contain;background:#101a2d;border-radius:11px}
.viewer-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.viewer-actions .primary,.viewer-actions .secondary{font-size:11px;padding:10px 12px;min-height:40px}
.viewer-info{color:#8794ab;font-size:11px;margin:13px 0;line-height:1.9;overflow-wrap:anywhere}
.danger{color:#c95c6c}
.danger:hover{background:#fff3f5;border-color:#eed1d8}
.account-card{display:flex;align-items:center;gap:12px;padding:17px;background:#f5f7fc;border:1px solid var(--line);border-radius:12px;margin-bottom:15px}
.account-card .avatar{background:#e4ecff;color:#5376c4;width:43px;height:43px;border-radius:12px}
.account-card strong{display:block;font-size:13px}
.account-card small{display:block;font-size:10px;color:#909cb1;margin-top:4px}
.account-links{display:grid;border:1px solid var(--line);border-radius:11px;overflow:hidden}
.account-links button{display:flex;align-items:center;gap:12px;padding:14px;text-align:left;font-size:12px;color:#687b9c;min-height:46px}
.account-links button+button{border-top:1px solid var(--line)}
.account-links button:hover{background:#f5f8ff}
.account-links button>.icon{width:17px;height:17px;color:#8ca1c7}
.account-links button>.icon:last-child{margin-left:auto;width:13px;height:13px}
#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#172c50;color:#edf3ff;border:1px solid #354f79;padding:13px 21px;border-radius:11px;z-index:1000;box-shadow:0 10px 30px #152d552b;max-width:calc(100% - 28px);width:max-content;font-size:12px}
#queue{position:fixed;right:24px;bottom:24px;background:#fff;border:1px solid #d4def1;border-radius:16px;padding:18px;width:370px;max-width:calc(100% - 24px);z-index:30;box-shadow:0 14px 60px #182c5829}
.queue-head{display:flex;gap:9px;align-items:center}
.queue-icon{display:grid;place-items:center;background:#edf2ff;color:#5e82d5;width:31px;height:31px;border-radius:9px;flex-shrink:0}
.queue-icon>.icon{width:16px;height:16px}
.queue-head strong{margin-right:auto;font-size:13px}
.queue-head .text-button{font-size:10px;min-height:32px}
.queue-head .icon-btn{width:27px;height:30px}
.queue-head .icon-btn>.icon{width:17px;height:17px}
#queueSummary{font-size:11px;margin:15px 0 11px;color:#6c7d9c}
#queueItems{max-height:220px;overflow:auto;font-size:10px}
#queueItems>div{padding:11px 0;border-top:1px solid #eaf0f8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
progress{display:block;width:100%;height:5px;accent-color:var(--accent);margin-top:7px;border:0;border-radius:5px;overflow:hidden}
progress::-webkit-progress-bar{background:#eaf0fa;border-radius:5px}
progress::-webkit-progress-value{background:#5b83e5;border-radius:5px}
progress::-moz-progress-bar{background:#5b83e5;border-radius:5px}
#queue>small{display:block;color:#a1acbf;font-size:10px;margin-top:12px}
#login{min-height:100dvh;display:grid;grid-template-columns:1.04fr 1fr;background:#fff}
.login-art{position:relative;overflow:hidden;background:radial-gradient(ellipse at 80% 82%,#28487b55,transparent 60%),#101d37;padding:38px 9%;display:flex;flex-direction:column;justify-content:space-between;min-height:700px}
.login-art::before{content:"";position:absolute;width:700px;height:700px;border:1px solid #30446855;border-radius:50%;left:-260px;top:230px;pointer-events:none}
.login-art>.brand{font-size:17px;position:relative}
.login-art>.brand img{width:41px;height:41px}
.login-story{position:relative;padding:44px 0 30px}
.login-story .eyebrow{color:#7899d8;font-size:8px;letter-spacing:2px}
.login-story h1{color:#fff;font-size:clamp(40px,4.2vw,66px);font-weight:650;letter-spacing:-2.7px;line-height:1.12;margin:17px 0 23px}
.login-story p{color:#8fa4c9;font-size:12px;line-height:1.9}
.login-illustration{position:relative;height:242px;margin-top:35px;width:310px;max-width:100%}
.memory-card{position:absolute;border:7px solid #fff;border-bottom-width:31px;width:159px;height:185px;border-radius:9px;box-shadow:0 15px 40px #0002}
.memory-back{background:#d6e1fb;left:20px;top:15px;transform:rotate(-14deg);display:grid;place-items:center}
.memory-back>.icon{color:#99b3eb;width:58px;height:58px;stroke-width:1.1}
.memory-front{background:linear-gradient(#c4d8f7,#e4eaf4);left:128px;top:16px;transform:rotate(12deg);overflow:hidden}
.memory-sun{position:absolute;right:22px;top:18px;width:30px;height:30px;background:#f9f5e7;border-radius:50%}
.memory-hill{position:absolute;width:160px;height:140px;border-radius:40px;transform:rotate(37deg);left:-22px;top:75px;background:#82a5d4}
.hill-two{background:#3d619b;left:60px;top:82px;transform:rotate(-24deg)}
.memory-front>span{position:absolute;left:11px;bottom:10px;font-size:9px;color:#fff;z-index:1;letter-spacing:.2px}
.cloud-token{position:absolute;right:6px;bottom:10px;background:#477ae4;color:#fff;border:5px solid #1b2c4b;width:59px;height:59px;border-radius:17px;display:grid;place-items:center;transform:rotate(9deg);box-shadow:0 8px 24px #0002}
.cloud-token>.icon{width:28px;height:28px;stroke-width:1.4}
.login-foot{display:flex;align-items:center;gap:9px;color:#667fa9;font-size:10px;position:relative}
.login-foot>.icon{width:14px;height:14px}
.login-foot>span:last-child{margin-left:auto;letter-spacing:2px}
.login-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;padding:75px 30px}
.login-form{width:347px;max-width:100%}
.login-label{font-size:8px;color:#8594ae;letter-spacing:1.6px;font-weight:600;display:block;margin-bottom:17px}
.login-form h2{font-size:28px;font-weight:700;letter-spacing:-1px}
.login-form>p{margin:11px 0 31px;font-size:12px}
.login-form label{margin:21px 0;font-size:11px}
.login-form input{min-height:48px;font-size:12px;background:#fcfdff;padding:13px 14px}
.login-form>.primary{min-height:47px;justify-content:space-between;padding:12px 16px;font-size:12px;margin-top:8px}
.login-note{display:flex;align-items:center;justify-content:center;gap:7px;color:#9ca8bc;font-size:10px;margin-top:25px}
.login-note>.icon{width:13px;height:13px}
.login-copyright{position:absolute;bottom:32px;font-size:9px;color:#adb6c6}
@media(min-width:1700px){.gallery{grid-template-columns:repeat(5,minmax(0,1fr))}.gallery.list-view{grid-template-columns:1fr}.gallery.albums-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1250px){aside{width:222px;padding-left:18px;padding-right:18px}.brand{font-size:14px;gap:9px}.brand img{width:35px;height:35px}.brand small{font-size:6px;letter-spacing:1.7px}main{margin-left:222px}.content{padding:28px 27px 22px}.topbar{padding:0 27px}.stat-card{padding:16px 12px;gap:9px}.stat-icon{width:32px;height:34px;border-radius:9px}.stat-icon>.icon{width:18px;height:18px}.stat-card strong{font-size:21px}.stat-card small{font-size:8px}.hero-art{width:280px;min-width:250px;transform:scale(.9);transform-origin:right center;margin-right:0}.intro{padding:26px 29px}.album-strip{gap:9px}.album-mini{gap:9px;padding:13px 10px}.album-mini>.icon{display:none}.album-icon{width:32px;height:36px;border-radius:8px}.album-icon>.icon{width:20px;height:20px}.album-mini strong{font-size:10px}.album-mini small{font-size:8px}.gallery{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.albums-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.library-panel{padding:18px}.search input{width:140px}.toolbar{gap:9px}.tabs button{padding:6px 11px}.gallery.list-view{grid-template-columns:1fr}}
@media(max-width:1050px){.stats{gap:10px}.stat-card{display:block;padding:15px}.stat-icon{margin-bottom:10px;width:31px;height:31px}.stat-card strong{font-size:23px}.stat-card small{font-size:9px}.intro h2{font-size:30px}.hero-art{min-width:180px;width:180px;transform:scale(.76);transform-origin:right center;left:0}.tile-front{left:41px}.tile-back{left:-47px}.hero-lock{left:157px}.hero-caption{left:-3px}.hero-orbit{left:-70px}.orbit-two{left:-115px}.intro-copy{max-width:300px}.toolbar{flex-wrap:wrap}.tools{flex:1}.search{flex:1}.search input{width:100%}.album-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.album-mini{padding:14px;gap:12px}.album-mini>.icon{display:block}.album-mini strong{font-size:11px}.album-mini small{font-size:9px}.album-icon{width:37px;height:39px}.albums-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-art{padding:35px 8%}.login-story h1{font-size:45px}.login-illustration{transform:scale(.9);transform-origin:left center}}
@media(max-width:800px){aside{display:none}main{margin-left:0}.topbar{height:65px;padding:0 22px}.mobile-brand{display:flex;color:#263959;font-size:13px;letter-spacing:.8px}.mobile-brand img{width:30px;height:30px}.mobile-brand b{color:#7d95bf}.breadcrumb{display:none}.header-right{gap:10px}.private-badge{font-size:10px;gap:6px}.private-badge>.icon{width:14px;height:14px}.header-divider{height:19px}.header-right>.icon-btn{width:33px;height:34px}.header-right>.icon-btn .icon{width:17px;height:17px}.content{padding:26px 24px 106px}.heading{margin-bottom:23px}.heading p{font-size:11px}h1{font-size:29px}.intro h2{font-size:31px}.intro{min-height:245px;padding:26px 28px}.intro-copy{max-width:none}.hero-art{min-width:240px;width:240px;transform:scale(.9);left:0}.tile-front{left:86px}.tile-back{left:-15px}.hero-lock{left:200px}.hero-caption{left:24px}.hero-orbit{left:-30px}.orbit-two{left:-75px}.stats{gap:12px}.stat-card{display:flex;padding:16px 13px;gap:10px}.stat-icon{margin:0}.stat-card strong{font-size:23px}.stat-card small{font-size:8px}.album-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.album-mini{padding:13px 10px;gap:8px}.album-mini>.icon{display:none}.album-icon{width:30px;height:34px}.album-mini strong{font-size:10px}.album-mini small{font-size:8px}.toolbar{flex-wrap:nowrap}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffffffa;border-top:1px solid #e7ecf6;box-shadow:0 -4px 24px #1b346109;z-index:20;justify-content:space-around;padding:9px 6px calc(9px + env(safe-area-inset-bottom))}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:52px;min-height:45px;padding:1px 4px;color:#9aa5ba}.mobile-nav .icon{width:21px;height:21px;stroke-width:1.6}.mobile-nav small{font-size:9px;font-weight:500}.mobile-nav button.active{color:#3a6ae1}.mobile-nav #mobileUpload{color:#507bdc;gap:3px}.mobile-nav #mobileUpload>span{display:grid;place-items:center;background:#3566e8;color:#fff;width:32px;height:30px;border-radius:9px;margin-top:-3px;box-shadow:0 4px 10px #3566e82b}.mobile-nav #mobileUpload .icon{width:21px;height:21px;stroke-width:1.8}#queue{bottom:90px;right:12px}#toast{bottom:94px}footer{margin-top:7px}#login{grid-template-columns:1fr}.login-art{min-height:300px;padding:24px 30px}.login-art>.brand{font-size:15px}.login-art>.brand img{width:36px;height:36px}.login-story{padding:32px 0 4px;z-index:1}.login-story .eyebrow{font-size:7px;letter-spacing:1.6px}.login-story h1{font-size:37px;letter-spacing:-1.5px;line-height:1.13;margin:12px 0}.login-story p{font-size:10px}.login-illustration{position:absolute;right:0;bottom:-6px;transform:scale(.6);transform-origin:right bottom;opacity:.7}.login-foot{display:none}.login-panel{padding:38px 28px 68px;min-height:490px}.login-form{width:360px}.login-form h2{font-size:26px}.login-copyright{bottom:22px}.login-form input{font-size:16px}.login-form label{font-size:12px}}
@media(max-width:600px){.topbar{padding:0 18px}.content{padding:24px 16px 100px}.eyebrow{font-size:8px;margin-bottom:9px;letter-spacing:1.4px}h1{font-size:26px;letter-spacing:-.8px}.heading{gap:10px;align-items:center}.heading p{font-size:10px;margin-top:8px;max-width:230px}.heading .secondary{font-size:10px;min-height:37px;padding:9px 11px;gap:5px}.heading .secondary>.icon{width:15px;height:15px}.intro{padding:24px;min-height:263px;margin-bottom:17px;border-radius:15px}.intro h2{font-size:31px;margin-top:14px;letter-spacing:-1.1px}.intro p{font-size:10px;line-height:1.85}.intro .primary{font-size:10px;margin-top:19px;gap:7px}.intro .arrow-icon{margin-left:6px;width:13px;height:13px}.hero-art{position:absolute;right:-30px;top:22px;bottom:0;transform:scale(.66);transform-origin:right center;opacity:.31}.intro-copy{z-index:1}.hero-caption{display:none}.intro.has-media{min-height:0;padding:20px 22px}.intro.has-media .pill,.intro.has-media p,.intro.has-media .hero-art{display:none}.intro.has-media h2{font-size:23px;letter-spacing:-.7px;line-height:1.25;margin:0}.intro.has-media h2 br{display:none}.intro.has-media .primary{margin-top:14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:21px}.stat-card{padding:16px 13px;gap:12px;border-radius:12px}.stat-icon{width:34px;height:35px;border-radius:9px}.stat-icon>.icon{width:19px;height:19px}.stat-card>div>span{font-size:9px}.stat-card strong{font-size:23px;margin-top:3px}.stat-card small{font-size:8px;margin-top:3px}.album-section{margin-bottom:22px}.album-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.album-mini{padding:13px 11px;gap:10px;border-radius:10px}.album-icon{width:33px;height:37px}.album-mini strong{font-size:10px}.album-mini small{font-size:8px}.section-head h3{font-size:13px}.section-head .text-button{font-size:9px}.section-head .text-button>.icon{width:13px;height:13px}.library-panel{padding:15px 12px;border-radius:13px}.toolbar{flex-wrap:wrap;gap:13px;padding-bottom:15px;margin-bottom:17px}.tabs{padding:3px;gap:2px}.tabs button{font-size:10px;min-height:31px;padding:7px 14px}.tools{width:100%;flex:auto;gap:8px}.search{flex:1;min-width:0}.search input{width:100%;min-width:0;font-size:12px;min-height:39px}.search>.icon{width:15px;height:15px}#sort{font-size:10px;max-width:98px;min-height:40px;padding:8px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-heading{margin-bottom:14px}.gallery-heading>div:first-child{gap:8px}#resultCount{font-size:9px}.layout-switch button{width:29px;height:29px}.media-open{aspect-ratio:1/1.04}.media-card{border-radius:9px}.card-details{padding:10px 7px}.card-details strong{font-size:9px}.card-details small{font-size:7px;line-height:1.5}.fav{width:27px;height:33px;padding:5px}.fav>.icon{width:15px;height:15px}.list-view .card-details{padding:0 6px 0 12px}.list-view .card-details strong{font-size:11px}.list-view .card-details small{font-size:9px}.list-view .media-open{width:64px;height:58px}.albums-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.album-card{padding:0;gap:0}.album-card .album-cover{height:113px}.album-cover>.icon{width:43px;height:43px}.album-card .album-info{padding:12px 10px}.album-card strong{font-size:11px}.album-card small{font-size:9px}.album-card .album-info>.icon{right:10px;top:16px;width:12px;height:12px}.empty{padding:29px 7px 31px}.empty h2{font-size:18px}.empty p{font-size:11px;max-width:245px}.empty .primary{font-size:11px}.empty-icon{width:56px;height:56px;border-radius:16px}.empty-icon>.icon{width:26px;height:26px}footer{font-size:8px;padding-top:22px}footer>span:first-child{letter-spacing:.6px}dialog{padding:20px;max-width:calc(100% - 24px);border-radius:17px;max-height:calc(100dvh - 32px)}.dialog-top h2{font-size:21px}dialog input,dialog select{font-size:16px}.viewer-actions{gap:7px}.viewer-actions .primary,.viewer-actions .secondary{font-size:10px;padding:10px}.dropzone{padding:22px 13px}.dropzone h2{font-size:18px}.dropzone p{font-size:11px}.dropzone input{font-size:10px}.viewer-info{font-size:10px}.login-art{min-height:280px;padding:23px 25px}.login-story h1{font-size:34px}.login-story p{max-width:210px;font-size:10px}.login-illustration{right:-13px;bottom:-4px;transform:scale(.48);opacity:.45}.login-panel{padding-top:34px}.login-label{font-size:7px;letter-spacing:1.3px;margin-bottom:14px}.login-form h2{font-size:25px}.login-form>p{font-size:11px;margin-bottom:24px}}
@media(max-width:370px){.private-badge{font-size:0;gap:0}.private-badge>.icon{width:17px;height:17px}.heading .secondary{padding:8px;font-size:9px}.heading p{max-width:200px}.stat-card{gap:9px;padding:14px 10px}.stat-icon{width:29px;height:31px}.stat-card strong{font-size:21px}.intro{padding:22px 20px}.gallery-heading h3{font-size:12px}.gallery-heading>div:first-child{gap:6px}.mobile-nav small{font-size:8px}.card-details small{font-size:6.5px}.login-illustration{opacity:.22}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:800px){.search input{font-size:16px}.search input::placeholder{font-size:11px}#sort{font-size:16px;max-width:113px}}
@media(max-width:600px){.intro.has-media{display:none}.album-strip{display:flex;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:3px}.album-strip::-webkit-scrollbar{display:none}.album-strip .album-mini{flex:0 0 158px;scroll-snap-align:start}.search input{font-size:16px}.search input::placeholder{font-size:11px}#sort{font-size:16px;max-width:109px}.card-details strong{font-size:10px}.card-details small{font-size:8px}.fav{width:32px;height:38px}}

.file-choose{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#3566e8;color:#fff;border:1px solid #3566e8;border-radius:9px;padding:11px 19px;font-size:12px;font-weight:600;min-height:43px;overflow:hidden;cursor:pointer}
.file-choose>.icon{width:17px;height:17px}
.file-choose input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0;font-size:16px}
.file-choose:focus-within{outline:3px solid #9db8fa;outline-offset:3px}
.file-choose:hover{background:#2858d3}

.login-panel{min-width:0}
@media(max-width:800px){#login{grid-template-columns:minmax(0,1fr)}.login-form{width:100%;max-width:360px}}
@media(max-width:370px){.hero-art{display:none}}
/* SEMHOS CLOUD V1: seçim, aktarım ve medya kontrolü */
.heading>div:first-child{min-width:0}.heading h1{overflow-wrap:anywhere}.heading-actions{display:flex;gap:8px;flex-shrink:0;align-items:center}
.connection-notice{background:#fff5df;color:#916f32;border:1px solid #f2e1ba;padding:12px 15px;border-radius:10px;font-size:12px;margin-bottom:20px}
.queue-toggle{position:relative}.queue-toggle>span{position:absolute;top:-2px;right:-4px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;border-radius:7px;background:#edf2ff;color:#4870cb;font-size:8px;font-weight:700;border:2px solid #fff;line-height:1}
.queue-toggle.is-running{color:#3566e8;background:#edf2ff}
.selection-panel{margin-top:17px;border:1px solid #e3eaf5;border-radius:12px;overflow:hidden}
.selection-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;background:#f7f9ff;border-bottom:1px solid #e7edf7;padding:7px 12px}
.selection-heading strong{font-size:11px;font-weight:600}.selection-heading .text-button{font-size:10px}
#selectedFiles{max-height:230px;overflow:auto;overscroll-behavior:contain}.selection-file{display:flex;align-items:center;gap:11px;padding:10px 11px;text-align:left;min-width:0}.selection-file+.selection-file{border-top:1px solid #edf1f7}
.selection-icon{width:34px;height:36px;border-radius:9px;display:grid;place-items:center;color:#6a8ed7;background:#eff4ff;flex-shrink:0}.selection-icon>.icon{width:19px;height:19px}.selection-file>div{min-width:0;flex:1}
.selection-file strong{display:block;font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-file small{display:block;font-size:10px;color:#8b9ab1;margin-top:3px}.selection-file>.icon-btn{width:34px;height:37px}.selection-file>.icon-btn>.icon{width:17px;height:17px}
.selection-warnings{background:#fff6e8;border:1px solid #f2dfbb;border-radius:10px;color:#997035;font-size:11px;line-height:1.8;padding:11px 13px;margin-top:14px;white-space:pre-line;overflow-wrap:anywhere}
#selectionMore{margin:3px 12px}.upload-start{width:100%;margin-top:16px}.dropzone.has-selection{padding:15px}.dropzone.has-selection>h2,.dropzone.has-selection>p,.dropzone.has-selection>.icon{display:none}
#queue{width:395px;max-height:calc(100dvh - 45px);overflow-y:auto}#queueSummary{line-height:1.7;font-size:12px}#queueProgress{height:6px;margin:0}
.queue-transfer{display:flex;justify-content:space-between;gap:9px;font-size:10px;color:#8d9cb4;margin:10px 0 12px}.queue-transfer>span:last-child{text-align:right}
#queueItems{max-height:235px;overscroll-behavior:contain}#queueItems>.queue-file{white-space:normal;padding:11px 0;border-top:1px solid #e8eef8}.queue-file>div{display:flex;align-items:center;gap:8px;min-width:0;justify-content:space-between}
.queue-file strong{font-size:10px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.queue-file span{font-size:9px;color:#8494ae;flex-shrink:0}.queue-file progress{height:4px}.queue-file p{font-size:10px;color:#b9596d;margin:7px 0 3px;line-height:1.65;overflow-wrap:anywhere}.queue-file.has-error span{color:#c3687b}
.queue-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;border-top:1px solid #e8eef8;margin-top:10px;padding-top:13px}.queue-actions .secondary{font-size:10px;padding:8px 10px;min-height:35px;border-radius:8px}.queue-actions .text-button{font-size:10px;margin-left:auto}.queue-actions button:disabled{cursor:default}
#queue>small{font-size:10px;line-height:1.7;color:#8f9eb7}.viewer-dialog{width:910px;padding:23px}.viewer-dialog .dialog-top h2{font-size:17px;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.viewer-dialog .viewer{max-height:60dvh;border-radius:12px}.viewer-stage{background:#101a2d;border-radius:12px;overflow:hidden;display:grid;place-items:center;min-height:140px}.preview-unavailable{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:14px;min-height:260px;padding:34px;color:#b6c5e3;max-width:450px}.preview-unavailable>.icon{width:39px;height:39px;stroke-width:1.3;color:#7896ca}.preview-unavailable strong{font-size:16px;font-weight:500}.preview-unavailable p{font-size:11px;color:#8197bd;line-height:1.9;max-width:280px}.viewer-navigation{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:14px 0}.viewer-navigation>span{font-size:11px;color:#98a6be}.viewer-navigation .secondary{font-size:11px;min-height:37px;padding:8px 13px}.viewer-navigation .secondary>.icon{width:14px;height:14px}.viewer-navigation button:disabled{cursor:default}#previousMedia .icon{transform:rotate(180deg)}.viewer-metadata{display:flex;align-items:center;gap:12px 21px;flex-wrap:wrap;padding:12px 0;border-top:1px solid #edf1f8;font-size:11px;color:#8798b3;overflow-wrap:anywhere}.viewer-metadata>span{display:flex;align-items:center;gap:6px;min-width:0}.viewer-metadata .icon{width:14px;height:14px}.viewer-dialog .viewer-actions{margin-top:10px}
@media(max-width:800px){#queue{max-height:calc(100dvh - 145px)}.has-uploads .private-badge{display:none}}
@media(max-width:600px){.heading-actions{flex-direction:column;align-items:stretch;gap:6px}.heading-actions .secondary{min-height:35px}.selection-file strong{font-size:11px}.selection-heading{gap:7px}.selection-heading strong{font-size:10px}.selection-heading .text-button{font-size:9px}.selection-warnings{font-size:10px}.viewer-dialog{padding:17px}.viewer-dialog .dialog-top h2{font-size:15px}.viewer-dialog .viewer{max-height:49dvh}.viewer-navigation .secondary{min-height:41px;font-size:10px;padding:9px 11px}.viewer-metadata{font-size:10px;gap:8px 13px}.preview-unavailable{min-height:220px;padding:28px 18px}.preview-unavailable strong{font-size:14px}#queueItems{max-height:min(200px,32dvh)}.queue-transfer{font-size:9px}.queue-file strong{font-size:10px}.queue-file span{font-size:9px}.connection-notice{font-size:11px}}

/* SEMHOS CLOUD V1: toplu dosya yönetimi */
.gallery-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}
.gallery-actions .select-mode{min-height:35px;padding:7px 10px;font-size:10px;gap:6px;border-radius:8px;box-shadow:none}
.select-mode.active{background:var(--accent-soft);border-color:#a6bdf5;color:#3566e8}
.media-card{position:relative}.media-card.is-selected{border-color:#7198f4;box-shadow:0 0 0 2px #3566e824}
.media-check{position:absolute;left:5px;top:5px;z-index:2;display:grid;place-items:center;width:44px;height:44px;margin:0;cursor:pointer}
.media-check input{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;opacity:0;cursor:pointer}
.media-check>span{display:grid;place-items:center;width:24px;height:24px;background:#ffffffed;border:1px solid #b0bfda;border-radius:7px;color:transparent;box-shadow:0 2px 7px #172e5b15;pointer-events:none}
.media-check>span>.icon{width:17px;height:17px;stroke-width:2.4}
.media-check input:checked+span{background:#3566e8;border-color:#3566e8;color:#fff}
.media-check input:focus-visible+span{outline:3px solid #98b4ff;outline-offset:3px}
.is-selectable .fav{visibility:hidden}.is-selectable .media-open:hover img{transform:none}
.list-view .media-check{left:3px;top:50%;transform:translateY(-50%)}
.list-view .is-selectable{padding-left:49px}
.bulk-bar{position:fixed;left:calc(248px + (100% - 248px)/2);bottom:22px;transform:translateX(-50%);width:calc(100% - 304px);max-width:820px;padding:13px 17px 15px;background:#fff;border:1px solid #c9d7f4;border-radius:16px;box-shadow:0 12px 42px #152c5626;z-index:15}
.bulk-summary{display:flex;align-items:center;gap:11px;min-width:0}.bulk-check{width:36px;height:36px;display:grid;place-items:center;background:#edf2ff;border-radius:11px;color:#4771d4;flex-shrink:0}.bulk-check .icon{width:18px;height:18px}
.bulk-summary>div{min-width:0;flex:1}.bulk-summary strong{display:block;font-size:12px;font-weight:650}.bulk-summary small{display:block;font-size:10px;color:#8a9ab3;margin-top:2px}.bulk-summary .text-button{font-size:11px;white-space:nowrap}.bulk-summary .icon-btn{width:36px;height:40px}
.bulk-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #edf1f8}.bulk-actions .secondary,.bulk-actions .primary{min-height:40px;font-size:11px;padding:9px 13px;border-radius:9px;gap:7px}.bulk-actions .icon{width:16px;height:16px}.bulk-actions button:disabled{cursor:default}
.is-selecting .content{padding-bottom:185px}.is-selecting~#toast{bottom:180px}
.bulk-review{border:1px solid #e2e9f7;border-radius:11px;background:#f7f9ff;padding:14px 16px;margin:3px 0 18px;min-width:0}.bulk-review>strong{display:block;font-size:13px;color:#3c588e}.bulk-review>small{display:block;color:#8495b1;font-size:11px;margin-top:3px}.bulk-review ul{margin:12px 0 0;padding-left:17px;color:#697f9f;font-size:11px;line-height:1.9}.bulk-review li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bulk-review>p{font-size:10px;color:#8b9bb2;margin-top:6px}.primary.trash-confirm{background:#bd5572;box-shadow:none}.primary.trash-confirm:hover{background:#a94460}
@media(max-width:1250px){.bulk-bar{left:calc(222px + (100% - 222px)/2);width:calc(100% - 270px)}}
@media(max-width:800px){.bulk-bar{left:50%;width:calc(100% - 28px);bottom:calc(85px + env(safe-area-inset-bottom));max-width:650px}.is-selecting .content{padding-bottom:260px}.is-selecting~#toast{bottom:calc(250px + env(safe-area-inset-bottom))}.bulk-actions .secondary,.bulk-actions .primary{min-height:44px}}
@media(max-width:600px){.gallery-heading{flex-wrap:wrap;gap:10px}.gallery-actions{margin-left:auto;gap:7px}.gallery-actions .select-mode{min-height:36px;font-size:10px;padding:7px 9px}.gallery-actions .select-mode .icon{width:14px;height:14px}.bulk-bar{padding:12px;border-radius:13px}.bulk-summary{gap:8px}.bulk-check{width:30px;height:34px;border-radius:9px}.bulk-summary strong{font-size:11px}.bulk-summary small{font-size:9px}.bulk-summary .text-button{font-size:10px}.bulk-summary .icon-btn{width:30px;height:40px}.bulk-summary .icon-btn>.icon{width:17px;height:17px}.bulk-actions{gap:7px;margin-top:10px;padding-top:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-actions .secondary,.bulk-actions .primary{font-size:10px;padding:9px 8px;gap:6px;min-width:0}.bulk-actions .icon{width:15px;height:15px}.bulk-actions #bulkTrash{grid-column:1/-1}.bulk-actions #bulkRestore{grid-column:1/-1}.is-selecting .content{padding-bottom:320px}.is-selecting~#toast{bottom:calc(300px + env(safe-area-inset-bottom))}}
/* SEMHOS CLOUD V1 — daha okunaklı kişisel arşiv */
:root{--bg:#f3f6fc;--text:#15233e;--muted:#61728c;--line:#dfe6f2;--shadow:0 7px 24px #1e3b6a08}
body{font-size:15px;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.language-picker{display:inline-flex;align-items:center;margin:0;flex-shrink:0}.language-picker select{min-height:39px;width:110px;padding:8px 10px;font-size:12px;border-color:#dce5f3;background:#f7f9fe;color:#40577d;border-radius:10px;font-weight:600}.login-language{position:absolute;right:25px;top:23px;z-index:2}.login-language select{background:#fff;width:125px}.login-panel{padding-top:90px}
#nav button{font-size:13px;min-height:48px}.nav-label{font-size:10px;color:#8c9fbe}.profile{font-size:12px}.profile small{font-size:11px}.storage-title,.storage strong{font-size:12px}.storage small{font-size:10px;color:#9caecc}.eyebrow{font-size:10px;color:#6b7f9f}.heading p{font-size:13px;color:#677b9a;line-height:1.8}.heading-actions{flex-wrap:wrap;justify-content:flex-end;max-width:55%}.heading-actions .secondary{font-size:11px;min-height:42px;padding:10px 13px}.stat-card{border-color:#e0e7f4;box-shadow:0 5px 18px #193b6b06}.stat-card>div>span{font-size:11px;color:#7285a2}.stat-card small{font-size:10px;color:#7185a4}.stat-card strong{font-size:27px}.section-head h3{font-size:15px}.section-head .text-button{font-size:12px}.album-mini strong{font-size:12px}.album-mini small{font-size:10px;color:#788dad}.card-details strong{font-size:12px}.card-details small{font-size:10px;color:#7588a7}.library-panel{border-color:#e0e8f5;box-shadow:0 7px 24px #1b3b6906}.toolbar{padding-bottom:19px}.tabs button{font-size:12px;min-height:38px}.search input{font-size:13px;min-height:43px;width:185px}#sort{font-size:12px;min-height:44px;max-width:155px}.layout-switch button{height:35px;width:34px}.gallery-actions .select-mode{font-size:11px;min-height:41px}.gallery-heading{flex-wrap:wrap}.gallery-actions{margin-left:auto}#resultCount{font-size:11px;color:#7084a3}.empty p{font-size:13px;color:#7589a8}.empty h2{font-size:22px}.form-error{font-size:12px;color:#b34460;line-height:1.8;overflow-wrap:anywhere}.form-error:not(:empty){background:#fff1f4;border:1px solid #f3dce3;padding:10px 12px;border-radius:9px}.form-error:empty{display:none}.dialog-top h2{font-size:23px}dialog label{font-size:13px}dialog p{line-height:1.85}.viewer-info{font-size:12px}.viewer-actions .primary,.viewer-actions .secondary{font-size:12px}.bulk-summary strong{font-size:13px}.bulk-summary small{font-size:11px}.bulk-actions .primary,.bulk-actions .secondary{font-size:12px}.queue-file strong{font-size:12px}.queue-file span{font-size:11px}.queue-file p{font-size:12px}#toast{font-size:13px;line-height:1.8}.login-form label{font-size:13px}.login-form input{font-size:14px}.login-form>p{font-size:13px}.login-form h2{font-size:31px}.login-form>.primary{font-size:14px;min-height:49px}.login-note{font-size:11px}
.trash-tabs{display:flex;gap:7px;padding-bottom:16px;margin-bottom:19px;border-bottom:1px solid #e4ebf6}.trash-tabs>button{min-height:42px;padding:9px 16px;font-size:12px;font-weight:600;color:#778dab;border:1px solid transparent;border-radius:10px;display:flex;align-items:center;gap:8px}.trash-tabs>button.selected{background:#edf3ff;border-color:#d4e1ff;color:#3864bf}.trash-tabs span{font-size:10px;padding:0 6px;border-radius:5px;background:#dfe9fc;min-width:19px;text-align:center}.gallery.trash-album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.trashed-album{display:flex;gap:14px;align-items:center;border:1px solid #dfe7f4;border-radius:13px;padding:18px;flex-wrap:wrap;background:#fafcff}.trashed-album-icon{display:grid;place-items:center;width:48px;height:51px;border-radius:13px;background:#edf2fb;color:#8099c7;flex-shrink:0}.trashed-album-icon>.icon{width:26px;height:26px}.trashed-album>div{flex:1;min-width:0}.trashed-album strong{display:block;font-size:14px;overflow-wrap:anywhere}.trashed-album small{display:block;font-size:11px;color:#7b8fab;margin-top:4px}.trashed-album .secondary{width:100%;font-size:12px;min-height:43px}.album-delete-review{padding:20px;background:#f5f8ff;border:1px solid #e0e8f7;border-radius:12px;text-align:center;margin-bottom:20px}.album-delete-review>.icon{display:block;width:35px;height:35px;margin:0 auto 13px;color:#7d99d1}.album-delete-review strong{display:block;overflow-wrap:anywhere;font-size:16px}.album-delete-review small{display:block;margin-top:6px;color:#8495af;font-size:12px}.album-delete-note{font-size:12px;color:#ad5870;margin:14px 0 20px}
@media(max-width:1050px){.heading{align-items:flex-start}.heading-actions{max-width:52%}.stat-card strong{font-size:24px}.stat-card small{font-size:9px}.search input{width:145px}.gallery.trash-album-grid{grid-template-columns:1fr}}
@media(max-width:800px){.private-badge{display:none}.header-divider{display:none}.header-right{gap:8px}.language-picker select{width:97px;min-height:39px}.search input{font-size:16px}#sort{font-size:14px;max-width:137px}.heading p{font-size:12px}.stat-card strong{font-size:25px}.card-details strong{font-size:12px}.card-details small{font-size:10px}.mobile-nav small{font-size:10px}}
@media(max-width:600px){.topbar{padding:0 14px;gap:10px;height:67px}.mobile-brand{gap:7px;font-size:12px;letter-spacing:.3px}.mobile-brand img{width:28px;height:28px}.mobile-brand b{display:block;font-size:8px;letter-spacing:2.6px;margin-top:2px}.header-right{gap:6px}.language-picker select{font-size:11px;width:86px;padding:8px 7px;min-height:37px}.header-right>.icon-btn{width:29px;height:33px}.content{padding:24px 15px 110px}.heading{align-items:flex-start;gap:10px}.heading h1{font-size:27px}.heading p{font-size:11px;max-width:210px}.heading-actions{max-width:115px;flex-direction:column;align-items:stretch;gap:6px}.heading-actions .secondary{font-size:10px;min-height:38px;padding:8px 9px;gap:6px}.stat-card>div>span{font-size:10px}.stat-card small{font-size:9px}.stat-card strong{font-size:24px}.album-mini strong{font-size:12px}.album-mini small{font-size:10px}.section-head h3{font-size:14px}.section-head .text-button{font-size:10px}.library-panel{padding:16px 12px}.toolbar{gap:12px}.tabs{max-width:100%}.tabs button{font-size:11px;min-height:37px;padding:7px 11px}.search input{min-height:43px;font-size:16px}.search input::placeholder{font-size:12px}#sort{font-size:14px;width:115px;max-width:115px}.card-details{padding:11px 8px}.card-details strong{font-size:11px}.card-details small{font-size:9px}.fav{width:30px;height:38px}.gallery-actions{gap:7px}.gallery-actions .select-mode{font-size:10px;min-height:40px}.layout-switch button{width:28px;height:32px}.empty p{font-size:12px}.empty h2{font-size:20px}.bulk-summary strong{font-size:12px}.bulk-summary small{font-size:10px}.bulk-actions .secondary,.bulk-actions .primary{font-size:11px}.viewer-actions .primary,.viewer-actions .secondary{font-size:11px}.viewer-info{font-size:11px}.queue-file strong{font-size:11px}.queue-file span{font-size:10px}dialog{padding:20px 17px}.dialog-top h2{font-size:21px}.login-panel{padding-top:84px}.login-language{top:18px;right:21px}.login-language select{width:125px;font-size:12px;min-height:40px}.login-form h2{font-size:27px}.login-form input{font-size:16px}.login-form label{font-size:13px}.trash-tabs>button{font-size:12px;min-height:43px}.trashed-album{padding:16px}.trashed-album strong{font-size:13px}.trashed-album small{font-size:10px}.album-delete-note{font-size:11px}}
@media(max-width:370px){.content{padding-left:12px;padding-right:12px}.heading h1{font-size:24px}.heading p{font-size:10px}.heading-actions{max-width:103px}.heading-actions .secondary{font-size:9px;padding:8px}.stat-card{gap:8px;padding:15px 10px}.stat-card strong{font-size:22px}.stat-card small{font-size:8px}.gallery{gap:9px}.card-details small{font-size:8px}.bulk-actions .secondary,.bulk-actions .primary{font-size:10px}.mobile-nav small{font-size:9px}.language-picker select{width:82px}.topbar{padding-left:12px;padding-right:12px}.mobile-brand{font-size:11px}.heading-actions .icon{width:14px;height:14px}}

@media(max-width:600px){.stat-card{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:8px;align-items:start}.stat-card>div{display:contents}.stat-card>div>span{grid-column:1;grid-row:1;line-height:1.55;font-size:11px;min-width:0}.stat-card>.stat-icon{grid-column:2;grid-row:1;width:28px;height:28px}.stat-card>.stat-icon>.icon{width:18px;height:18px}.stat-card strong{grid-column:1/-1;grid-row:2;font-size:24px;line-height:1.25;overflow-wrap:anywhere;min-width:0}.stat-card small{grid-column:1/-1;grid-row:3;font-size:10px;line-height:1.6}}
