:root{color-scheme:dark;font-family:"Segoe UI",Arial,sans-serif;background:#15171b;color:#f2f3f5;font-synthesis:none;--muted:#b5bac3;--line:#363a43}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 85% 15%,#2a2e3733,transparent 50%),#15171b}button,input{font:inherit}button{cursor:default}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #e1e5eb;outline-offset:4px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}.proposal{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:42px;padding:8px max(32px,calc((100% - 1200px)/2));background:#22252b;border-bottom:1px solid #333740;color:#bac0ca;font-size:14px}.proposal>span:first-child{font-size:12px;letter-spacing:1.5px;color:#e1e5eb}header{max-width:1264px;margin:auto;min-height:126px;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:17px;color:inherit;text-decoration:none;font-size:23px;letter-spacing:1px;line-height:1.25;font-weight:650}.brand-icon{height:62px;width:62px;background:linear-gradient(145deg,#a7afb9 0%,#e0e5ec 28%,#818995 60%,#b3bbc6 100%);box-shadow:inset 0 1px 1px #fff8,0 6px 20px #0004;border:1px solid #b2bac5;border-radius:16px;display:grid;place-items:center;color:#23272f}.brand-icon svg{width:44px;height:44px;stroke-width:1.65}.account{display:flex;align-items:center;gap:13px;font-size:16px}.account-icon{width:43px;height:43px;border:1px solid #4b515d;border-radius:50%;background:linear-gradient(145deg,#373c45,#24272e);display:grid;place-items:center;font-size:16px;font-weight:600}.account small{display:block;font-size:14px;color:var(--muted);margin-top:5px}main{max-width:1264px;margin:auto;padding:0 32px}.hero{padding:48px 0 38px;display:flex;justify-content:space-between;align-items:center;gap:30px}.eyebrow{font-size:13px;letter-spacing:2px;color:#aab1bd;margin:0 0 18px}h1{font-size:54px;letter-spacing:-1.6px;font-weight:600;line-height:1.06;margin:0}.lead{font-size:18px;color:#c1c6cf;line-height:1.65;margin:21px 0 0}.hero-mark{position:relative;width:260px;height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#aeb7c4;isolation:isolate;margin-right:30px}.hero-mark>svg{width:128px;height:128px;stroke-width:.6;filter:drop-shadow(0 3px 0 #ffffff10);transform:rotate(-8deg)}.hero-mark span{font-size:11px;letter-spacing:2px;margin-top:17px;color:#a8afbc}.orbit{position:absolute;z-index:-1;width:250px;height:170px;transform:rotate(-25deg);border-radius:50%;border:1px solid #60697a55;box-shadow:0 0 70px #b8c3d30b,inset 0 0 45px #b8c3d306}.orbit:after{content:"";position:absolute;inset:18px -15px;border:1px solid #60697a33;border-radius:50%;transform:rotate(50deg)}.upload{background:linear-gradient(125deg,#2b2f37,#22252c 65%);border:1px solid #4b525f;box-shadow:inset 0 1px 0 #ffffff08,0 10px 40px #00000010;border-radius:17px;display:flex;align-items:center;gap:23px;padding:28px}.upload-icon{display:grid;place-items:center;height:65px;width:65px;flex-shrink:0;background:linear-gradient(145deg,#414751,#2e323b);border:1px solid #545c6a;border-radius:15px;color:#e5e9ef}.upload-icon svg{width:30px;height:30px}.upload h2{font-size:23px;font-weight:600;letter-spacing:-.4px;margin:0}.upload p{font-size:16px;color:#c2c7d0;margin:9px 0 10px}.upload-meta{font-size:14px;color:#b7beca}.upload-meta>span{padding:0 9px;color:#6e7787}.primary{display:flex;align-items:center;justify-content:center;gap:11px;border:1px solid #e0e5ed;border-radius:9px;padding:15px 22px;font-size:17px;color:#23262d;font-weight:650;background:linear-gradient(145deg,#f0f3f7,#bcc4cf);box-shadow:inset 0 1px #fff,0 4px 13px #0003;margin-left:auto;white-space:nowrap;min-height:54px}.primary span{font-size:24px;font-weight:400;line-height:1}.library{margin-top:43px}.library-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.library-top h2{font-size:28px;font-weight:600;letter-spacing:-.6px;margin:0;display:flex;align-items:center;gap:13px}.number{background:#30343d;border:1px solid #414854;color:#d5dae3;padding:3px 9px;border-radius:7px;font-size:16px;font-weight:400}.library-top p{font-size:16px;color:#b5bcc7;margin:9px 0 0}.search{display:flex;align-items:center;gap:12px;border:1px solid #424854;background:#202329;border-radius:9px;padding:13px 16px;min-width:280px;color:#adb5c2}.search svg{width:21px;height:21px}.search input{width:100%;min-width:0;background:none;border:0;outline:0;font-size:16px;color:#e9ecf2}.search input::placeholder{color:#aeb5c0}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:22px 0 18px}nav{display:flex;gap:8px}nav button{padding:10px 20px;font-size:17px;color:#b5bdca;border:1px solid transparent;border-radius:8px;background:transparent}nav button.selected{color:#f3f5f9;border-color:#5b6370;background:linear-gradient(145deg,#424853,#30353e);box-shadow:inset 0 1px #ffffff10}.sorting{font-size:14px;color:#b0b8c5}.date{display:flex;align-items:center;gap:15px;margin:27px 0 18px}.date h3{font-size:23px;font-weight:600;margin:0}.date>span{color:#b8c0cd;font-size:16px}.date>div{height:1px;background:var(--line);flex:1;margin-left:9px}.file-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.file-card{border:1px solid #3d444f;border-radius:13px;background:linear-gradient(130deg,#282c33,#22252c);padding:24px;box-shadow:inset 0 1px 0 #ffffff06}.file-head{display:flex;align-items:center;gap:11px}.file-symbol{display:grid;place-items:center;width:42px;height:42px;border:1px solid #56606f;border-radius:11px;background:linear-gradient(145deg,#464e5a,#30353e);color:#e0e6ee}.file-symbol svg{width:24px;height:24px}.file-kind{font-size:13px;letter-spacing:1.5px;color:#bdc5d1;font-weight:600}.format{margin-left:auto;font-size:13px;padding:5px 9px;border:1px solid #4c5461;border-radius:6px;color:#c0c8d4;background:#30353e}.file-card h4{font-size:21px;letter-spacing:-.3px;font-weight:600;margin:18px 0 10px;overflow-wrap:anywhere}.details{font-size:16px;color:#c0c7d2;margin:0}.details>span{padding:0 7px;color:#747e8d}.file-preserved{display:flex;align-items:center;gap:8px;font-size:14px;color:#b4becc;margin:18px 0 0}.file-preserved svg{width:17px;height:17px}.actions{border-top:1px solid #424853;margin-top:21px;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:15px}.actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;font-size:16px}.actions svg{width:18px;height:18px}.rename{border:0;background:none;color:#c8d0dc;padding:8px 0}.download{background:#d4dae3;border:1px solid #dfe5ef;border-radius:7px;padding:9px 15px;color:#252a33;font-weight:600}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:42px;padding:23px 0 30px;font-size:14px;color:#afb8c6}.mobile-copy{display:none}
@media(max-width:1000px){header{min-height:110px}.brand{font-size:20px}.account{font-size:14px}.hero-mark{width:190px;margin-right:0}.hero-mark>svg{width:100px;height:100px}.orbit{width:180px;height:150px}.hero-mark span{font-size:9px;letter-spacing:1px}h1{font-size:48px}.lead{font-size:16px}.upload{flex-wrap:wrap;gap:16px}.upload-copy{flex:1}.primary{margin-left:81px}.file-card{padding:20px}.file-card h4{font-size:19px}.actions{gap:8px}.actions button{font-size:14px}.download{padding:9px 12px}}
@media(max-width:650px){.proposal{padding:10px 20px;font-size:12px}.proposal>span:first-child{font-size:10px;letter-spacing:1px}.proposal>span:last-child{max-width:135px;text-align:right;font-size:12px}header{padding:21px 20px;min-height:108px}.brand{font-size:18px;letter-spacing:.5px;gap:12px}.brand-icon{width:48px;height:48px;border-radius:12px}.brand-icon svg{width:35px;height:35px}.account{display:none}main{padding:0 20px}.hero{padding:31px 0 26px}.hero-mark{display:none}.eyebrow{font-size:11px;line-height:1.6;letter-spacing:1.2px;max-width:310px;margin-bottom:15px}h1{font-size:40px;letter-spacing:-1.2px;line-height:1.12}.lead{font-size:16px;line-height:1.65;margin-top:17px}.desktop{display:none}.upload{padding:21px;border-radius:13px;gap:15px}.upload-icon{width:46px;height:46px;border-radius:11px}.upload-icon svg{width:24px;height:24px}.upload-copy{flex:auto;width:100%}.upload h2{font-size:21px;line-height:1.3}.upload p{font-size:16px;line-height:1.55;margin:9px 0}.desktop-copy{display:none}.mobile-copy{display:inline}.upload-meta{font-size:14px}.primary{margin:3px 0 0;width:100%;font-size:17px;min-height:52px}.library{margin-top:31px}.library-top{display:block}.library-top h2{font-size:26px}.library-top p{font-size:15px;line-height:1.5;margin-top:8px}.search{margin-top:19px;min-width:0;width:100%;padding:13px}.filter-bar{padding-top:18px;padding-bottom:17px;gap:0}.sorting{display:none}nav{width:100%;justify-content:space-between;gap:5px}nav button{font-size:16px;padding:10px 13px}.date{gap:12px;margin:25px 0 15px}.date h3{font-size:22px}.date>span{font-size:14px}.date>div{margin-left:0}.file-grid{grid-template-columns:1fr;gap:15px}.file-card{padding:20px}.file-card h4{font-size:20px;line-height:1.4;margin-top:17px}.file-kind{font-size:12px}.details{font-size:16px}.file-preserved{font-size:14px;line-height:1.5}.actions{gap:8px;margin-top:18px;padding-top:13px}.actions button{font-size:15px}.download{padding:10px 13px}.rename{gap:6px}.file-symbol{height:40px;width:40px}footer{flex-direction:column;font-size:14px;gap:10px;line-height:1.6;margin-top:29px;padding-bottom:25px}}

/* Working application states: the approved metallic design. */
[hidden]{display:none!important}
button,a{touch-action:manipulation}button{cursor:pointer}a.download{text-decoration:none}.brand:hover{opacity:.92}.primary:hover,.download:hover{filter:brightness(1.08)}
.local-notice{display:flex;align-items:center;gap:18px;padding:13px max(32px,calc((100% - 1200px)/2));background:#22252b;border-bottom:1px solid #3b414c;color:#c1c8d3;font-size:14px;line-height:1.6}.local-notice strong{font-size:14px;white-space:nowrap;color:#eef1f5;font-weight:600}.local-notice span{max-width:970px}
.text-button{padding:0;border:0;background:none;color:#e0e5ed;text-decoration:underline;text-underline-offset:4px;font-size:16px;text-align:left;line-height:1.55}.dropzone{transition:border-color .15s,background .15s}.dropzone.drag{border:1px dashed #eff3f9;background:#414957}.filters button span{display:inline-block;margin-left:6px;font-size:14px;color:#bbc5d4}.file-card{min-width:0}.format{max-width:120px;overflow-wrap:anywhere}.actions button,.actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-size:16px}.date{flex-wrap:wrap}.date h3{overflow-wrap:anywhere}.file-preserved{line-height:1.55}.empty{padding:46px 20px;text-align:center;color:#bac4d3}.empty>svg{width:42px;height:42px;color:#c8d2df}.empty h3{font-size:23px;color:#f0f3f7;margin:18px 0 12px;font-weight:500}.empty p{font-size:16px;line-height:1.7;margin:0}
.transfer-section{margin-top:26px}.section-title{font-size:20px;font-weight:600;margin:0 0 16px}.section-title span{font-size:16px;color:#bdc6d4;font-weight:400}.transfer{border:1px solid #4a5260;background:#262b33;border-radius:10px;padding:18px;margin-bottom:12px}.transfer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;font-size:16px;line-height:1.5}.transfer-head span:first-child{overflow-wrap:anywhere;min-width:0}.transfer-head span:last-child{white-space:nowrap}.transfer progress{display:block;width:100%;height:8px;accent-color:#c4cedc;margin:15px 0;border:0;border-radius:4px;overflow:hidden;background:#414957}.transfer progress::-webkit-progress-bar{background:#414957}.transfer progress::-webkit-progress-value{background:#c4cedc}.transfer progress::-moz-progress-bar{background:#c4cedc}.transfer small{display:block;font-size:14px;color:#c0cad9;line-height:1.65}.transfer button{margin:12px 0 0;padding:8px 13px;min-height:44px;font-size:15px;border:1px solid #667284;border-radius:7px;background:#353d49;color:#edf2fa}
.error{color:#ffb6b0!important}button:disabled{opacity:.55;cursor:wait}dialog{background:#252a32;border:1px solid #596576;border-radius:16px;padding:28px;color:#edf2f8;width:min(510px,calc(100% - 32px));max-height:90dvh;overflow:auto;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#0c0e13b8;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-heading h2{font-size:24px;font-weight:600;margin:0}.icon-button{border:0;background:none;color:#d3dce9;font-size:28px;min-width:44px;min-height:44px}dialog p{font-size:16px;line-height:1.65;color:#bfc9d8}dialog label{display:block;font-size:16px;margin:22px 0 12px}.rename-field{display:flex;align-items:center;gap:9px;border:1px solid #768398;border-radius:8px;background:#1d222a;padding:13px}.rename-field input{background:none;color:#f2f5f9;min-width:0;flex:1;border:0;outline:0;font-size:18px}.rename-field:focus-within{outline:2px solid #d2ddeb;outline-offset:3px}.rename-field span{font-size:16px;color:#b9c6d9;overflow-wrap:anywhere;max-width:35%}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:23px}.dialog-actions .primary{margin:0}.secondary{padding:12px 20px;min-height:48px;font-size:16px;color:#e1e8f2;background:#343c48;border:1px solid #657186;border-radius:8px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);padding:15px 21px;border-radius:10px;border:1px solid #6a778c;background:#353e4c;color:#f5f7fb;box-shadow:0 8px 35px #0006;font-size:16px;line-height:1.6;z-index:5}
@media(max-width:650px){.local-notice{display:block;padding:13px 20px;font-size:14px}.local-notice strong{display:block;margin-bottom:4px}.filters{gap:3px}.filters button{padding:10px 8px}.filters button span{font-size:13px;margin-left:4px}.actions button,.actions a{font-size:15px}.transfer-head{font-size:16px}.transfer{padding:15px}.dialog-heading h2{font-size:22px}.dialog-actions{flex-wrap:wrap}.dialog-actions .primary{width:auto;font-size:16px;padding:12px 18px;min-height:48px}.date>span{font-size:15px}.hero-mark span{font-size:14px}.account small{font-size:14px}}
@media(max-width:360px){.brand{font-size:16px}.brand-icon{width:42px;height:42px;flex-shrink:0}h1{font-size:35px}.upload{padding:17px}.file-card{padding:17px}.filters button{padding:10px 6px}.filters button span{margin-left:3px;font-size:12px}.actions{flex-wrap:wrap}.actions button,.actions a{font-size:15px}.file-card h4{font-size:19px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Single-owner authentication. */
.account-tools{display:flex;align-items:center;gap:22px}.account-tools .secondary{font-size:16px}.login-main{min-height:calc(100dvh - 215px);display:flex;align-items:center;justify-content:center;padding:40px 24px 60px}.login-card{width:100%;max-width:530px;background:linear-gradient(135deg,#292e37,#21252d);border:1px solid #4d5869;border-radius:18px;padding:35px;box-shadow:0 20px 60px #0003}.login-lock{display:grid;place-items:center;width:57px;height:57px;background:linear-gradient(145deg,#535e6e,#333c49);border:1px solid #768397;border-radius:15px;margin-bottom:24px;color:#edf3fc}.login-lock svg{width:29px;height:29px}.login-card .eyebrow{font-size:12px;line-height:1.6;letter-spacing:1.4px}.login-card h1{font-size:34px;letter-spacing:-.8px;line-height:1.2}.login-description{font-size:17px;line-height:1.7;color:#c4cedc;margin:17px 0 24px}.login-card label{display:block;font-size:17px;color:#e6edf6;margin:22px 0 11px}.login-card input{font-size:18px;color:#f3f6fb;background:#1a2029;border:1px solid #758399;border-radius:8px;min-height:52px;width:100%;padding:13px}.password-field{display:flex;align-items:center;border:1px solid #758399;border-radius:8px;background:#1a2029}.password-field input{border:0;min-width:0;background:transparent}.password-field:focus-within{outline:2px solid #d2ddeb;outline-offset:3px}.password-field input:focus-visible{outline:0}.password-field button{padding:13px 12px;min-height:50px;color:#d7e1ef;background:none;border:0;font-size:14px;flex-shrink:0}.login-hint{font-size:14px;line-height:1.7;color:#bdc8d9;margin:12px 0}.login-card .primary{width:100%;margin:23px 0 0;white-space:normal;line-height:1.4}.login-card .error{font-size:16px;line-height:1.6;margin:16px 0 0}.login-footnote{font-size:14px;line-height:1.7;color:#b7c3d5;border-top:1px solid #465163;margin:25px 0 0;padding-top:20px}.login-card #recoveryHint{margin-top:22px}.login-page header{justify-content:center}
@media(max-width:650px){.account-tools{gap:0}.account-tools .secondary{padding:10px 13px;min-height:44px;font-size:14px}.login-main{padding:27px 20px 40px}.login-card{padding:25px 21px;border-radius:14px}.login-card h1{font-size:30px}.login-description{font-size:16px}.login-card .primary{font-size:16px}header{gap:12px}.login-page .brand{font-size:18px}.account-tools{flex-shrink:0}header>.brand{font-size:16px;gap:9px}header>.brand .brand-icon{width:43px;height:43px}.login-page header>.brand{font-size:18px}.login-page header>.brand .brand-icon{width:48px;height:48px}}
@media(max-width:360px){header{flex-wrap:wrap}.account-tools{margin-left:auto}.login-card h1{font-size:27px}.login-card{padding:22px 17px}.login-page .brand{font-size:16px}}

.media-preview{position:relative;display:flex;align-items:center;justify-content:center;height:240px;background:#171c24;border-radius:9px;overflow:hidden;margin:0 0 20px;border:1px solid #414b5b}.media-preview img{width:100%;height:100%;object-fit:contain;display:block}.preview-fallback{display:flex;align-items:center;justify-content:center;gap:10px;color:#c2ccda;font-size:15px;line-height:1.6;padding:24px;text-align:center;position:absolute;inset:0}.media-preview.ready .preview-fallback{display:none}.media-preview.unavailable img{display:none}.preview-video{position:absolute;bottom:12px;left:12px;display:flex;align-items:center;gap:7px;border:1px solid #75849988;background:#161c25db;border-radius:6px;padding:6px 10px;color:#e9eff7;font-size:14px;pointer-events:none}.preview-video svg{height:18px;width:18px}.library-tools{margin-top:26px}.library-views{display:flex;gap:12px;margin-bottom:20px}.library-views button{min-height:44px;border:1px solid #4a5667;border-radius:8px;padding:10px 17px;background:#252c36;color:#c9d4e4;font-size:16px}.library-views .view-active{background:#485365;color:#fff;border-color:#8997ab}.category-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.category-toolbar label{font-size:16px;color:#c7d1e0}.category-toolbar select{min-height:46px;min-width:190px;max-width:100%;flex:1;border:1px solid #6b7a90;background:#222a36;color:#edf3fc;border-radius:8px;padding:10px 12px;font-size:16px}.category-toolbar .secondary{font-size:15px}.category-tags{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0 0}.category-tag{display:inline-block;font-size:14px;color:#d5dfed;border:1px solid #5d6d84;background:#354153;padding:4px 9px;border-radius:6px;overflow-wrap:anywhere}.file-manage{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #424d5f;margin-top:15px;padding-top:12px}.file-manage button{border:0;background:transparent;min-height:44px;padding:8px 0;color:#c7d3e5;font-size:15px;text-align:left}.file-manage .delete-button{color:#efb8b3}.category-choices{display:grid;gap:10px;margin:18px 0;max-height:40dvh;overflow:auto}.category-choice{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:13px;border:1px solid #52627a;border-radius:8px;font-size:16px!important;overflow-wrap:anywhere}.category-choice input{width:20px;height:20px;accent-color:#bdcde2;flex-shrink:0}.dialog-input{display:block;width:100%;border:1px solid #758399;border-radius:8px;min-height:50px;background:#1d2531;color:#f0f5fc;padding:12px;font-size:17px}.trash-hint{font-size:15px;color:#c9d3e0;line-height:1.7}.file-manage .restore-button{color:#e3edf9}
@media(max-width:650px){.media-preview{height:215px;margin-bottom:18px}.category-toolbar{gap:10px}.category-toolbar label{width:100%}.category-toolbar select{width:100%;min-width:0;flex-basis:100%}.category-toolbar .secondary{width:100%}.file-manage button{font-size:15px}.library-views{gap:9px}.library-views button{font-size:15px;padding:10px 14px}}

button.preview-video{pointer-events:auto;cursor:pointer;border-color:#a5b3c8;color:#fff;padding:9px 13px;min-height:44px;font-size:16px;backdrop-filter:blur(5px)}button.preview-video:hover{background:#424e61}.video-dialog{width:min(1080px,calc(100% - 28px));padding:24px}.video-dialog .dialog-heading h2{font-size:22px;overflow-wrap:anywhere;line-height:1.5}.video-dialog video{display:block;width:100%;max-height:65dvh;background:#080c12;border-radius:10px;margin:19px 0;aspect-ratio:16/9;object-fit:contain}.video-note{font-size:15px!important}.video-dialog a.download{display:inline-flex;min-height:44px;align-items:center;text-decoration:none;font-size:16px;margin-top:8px}
@media(max-width:650px){.video-dialog{padding:18px}.video-dialog .dialog-heading h2{font-size:19px}.video-dialog video{max-height:55dvh;margin:15px 0}.video-note{font-size:14px!important}}

.photo-dialog{width:min(1300px,calc(100% - 28px));padding:24px}.photo-dialog .dialog-heading h2{font-size:22px;line-height:1.5;overflow-wrap:anywhere}.photo-stage{margin:18px 0;background:#080c12;overflow:auto;border:1px solid #46556c;border-radius:10px;max-height:70dvh;min-height:160px;text-align:center;overscroll-behavior:contain}.photo-stage img{display:block;max-width:100%;max-height:69dvh;width:auto;height:auto;object-fit:contain;margin:0 auto}.photo-stage.zoomed img{max-width:none;max-height:none;min-width:180%;height:auto;margin:0}.photo-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.photo-controls a.download{display:inline-flex;align-items:center;min-height:46px;text-decoration:none;font-size:16px;margin-left:auto}.photo-dialog:fullscreen,.photo-dialog.photo-expanded{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;display:flex;flex-direction:column}.photo-dialog:fullscreen .photo-stage,.photo-expanded .photo-stage{flex:1;max-height:none;display:flex;align-items:center;justify-content:center;min-height:0}.photo-dialog:fullscreen .photo-stage img,.photo-expanded .photo-stage img{max-height:calc(100dvh - 170px)}.photo-dialog:fullscreen .photo-stage.zoomed,.photo-expanded .photo-stage.zoomed{display:block}.photo-dialog:fullscreen .photo-stage.zoomed img,.photo-expanded .photo-stage.zoomed img{max-height:none}.photo-dialog:fullscreen .photo-controls,.photo-expanded .photo-controls{margin-top:auto;padding-top:12px}
@media(max-width:650px){.photo-dialog{padding:18px}.photo-dialog .dialog-heading h2{font-size:19px}.photo-controls{gap:9px}.photo-controls button,.photo-controls a.download{font-size:15px;padding:10px 12px}.photo-controls a.download{margin-left:0}.photo-stage{max-height:65dvh}.photo-stage img{max-height:64dvh}}

.save-phone{display:block;width:100%;border:1px solid #6a7a91;border-radius:8px;background:#364254;color:#eef4fd;min-height:46px;padding:10px 13px;margin-top:13px;font-size:16px;cursor:pointer}.save-phone:hover{background:#46556d}#phoneFileName{font-weight:600;color:#f1f5fb;overflow-wrap:anywhere}#phoneSaveProgress{width:100%;accent-color:#c3d0e3;height:8px}.phone-save-hint{font-size:14px!important;line-height:1.65}#phoneShareButton{width:100%;margin:20px 0}#phoneOriginal{display:inline-block;font-size:16px;min-height:44px;padding:10px 0}.video-dialog #videoSavePhone{margin-top:8px;margin-right:12px}#phoneSaveDialog{max-height:90dvh}

body{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
