.brand-cover{width:42px;height:42px;object-fit:cover;border-radius:13px;flex-shrink:0}.brand{font-size:20px;gap:11px}.brand small{font-size:9px;letter-spacing:1.4px}.is-inner.app-shell{display:block}.is-inner .workspace{max-width:1120px;margin:auto;padding-bottom:40px}.is-inner .back{width:fit-content;min-height:40px}.in-photo-studio{overflow:hidden;background:#ebe8ec}.photo-studio{height:100dvh;display:flex;flex-direction:column;position:fixed;inset:0;background:#eeebef;z-index:50;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.studio-header{display:flex;align-items:center;gap:12px;padding:10px 18px;background:#55334f;color:#fff;flex-shrink:0;min-height:62px}.studio-header .icon-btn{color:#fff;flex-shrink:0}.studio-header .icon-btn:hover{background:#ffffff18}.studio-title{display:grid;gap:4px;flex:1;min-width:0}.studio-title strong,.studio-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-title strong{font-size:15px;font-weight:550}.studio-title span{font-size:11px;color:#d9cad6}.studio-page{font-size:14px;white-space:nowrap;border:1px solid #ffffff30;border-radius:10px;padding:8px 10px}.studio-page span{opacity:.6}.studio-tools{order:1;display:flex;align-items:center;gap:8px;padding:6px 12px;margin:12px auto 0;max-width:calc(100% - 24px);background:#fffffff7;border:1px solid #e2dbe2;box-shadow:0 5px 18px #3a22390a;border-radius:17px;z-index:2;flex-shrink:0}.studio-modes{display:flex;gap:5px}.studio-tool{display:flex;align-items:center;justify-content:center;gap:6px;min-width:55px;min-height:43px;padding:8px 10px;border-radius:11px;color:#625866}.studio-tool span{font-size:12px;white-space:nowrap}.studio-tool .icon{width:20px;height:20px}.studio-tool.active{background:#e9d7e6;color:#7c2e67}.studio-tool.red-tool.active{background:#ffe0e6;color:#bc385b}.tool-divider{height:28px;width:1px;background:#e9e3e9;margin:0 3px}.studio-hint{order:2;min-height:31px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px;color:#847b85;padding:5px 12px;flex-shrink:0}.studio-hint .text-button{font-size:11px;padding:0;min-height:22px}.studio-viewport.editor-wrap{order:3;flex:1;min-height:0;max-height:none;border-radius:0;background:#eeebef;padding:14px 24px 30px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.studio-viewport .photo-canvas{box-shadow:0 4px 24px #392b3817;min-width:0;max-width:none;line-height:0;background:#fff}.studio-viewport .photo-canvas img{width:100%;max-width:none;display:block}.studio-footer{order:5;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#faf8fb;padding:6px 18px;flex-shrink:0;border-top:1px solid #e5dee6;min-height:50px}.studio-footer .icon-btn{width:36px;height:36px}.studio-zoom{display:flex;align-items:center;border:1px solid #e6dce5;border-radius:10px;overflow:hidden}.studio-zoom button{font-size:12px;min-width:37px;height:33px;padding:0 8px}.studio-zoom button:first-child,.studio-zoom button:last-child{font-size:18px}.studio-count{font-size:11px;color:#928291;flex:1;text-align:right}.tools-bottom .studio-tools{order:4;margin:8px auto}.tools-bottom .studio-hint{order:1;padding-top:8px}.studio-thumbnails{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.studio-thumbnails button{display:grid;gap:6px}.studio-thumbnails img{width:100%;height:100px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.studio-more-actions{display:grid;gap:12px}.in-photo-studio #toast{bottom:calc(90px + env(safe-area-inset-bottom));z-index:250}.studio-tool:disabled,.studio-zoom button:disabled{opacity:.3}.photo-studio ~ dialog,dialog{z-index:100}.photo-tile>button:first-child:focus-visible,.studio-tool:focus-visible{outline:3px solid #8c326b;outline-offset:2px}
@media(min-width:1000px){.studio-viewport .photo-canvas{max-width:1100px}.photo-studio{padding-left:24px;padding-right:24px}.studio-header,.studio-footer{margin-left:-24px;margin-right:-24px}}
@media(max-width:700px){.is-inner .workspace{padding-top:calc(14px + env(safe-area-inset-top));padding-bottom:calc(28px + env(safe-area-inset-bottom))}.is-inner .back{margin-bottom:14px}.mobile-brand.brand{font-size:18px;gap:9px}.mobile-brand .brand-cover{width:36px;height:36px}.mobile-brand small{display:none}.topbar{gap:8px}.date-label{font-size:10px}.studio-header{padding:8px 10px;gap:6px;min-height:56px}.studio-header .icon-btn{width:32px;height:36px}.studio-title strong{font-size:14px}.studio-title span{font-size:10px}.studio-page{font-size:12px;padding:7px}.studio-tools{gap:2px;padding:5px 6px;border-radius:14px;margin-top:8px;max-width:calc(100% - 16px)}.studio-modes{gap:2px}.studio-tool{flex-direction:column;gap:3px;min-width:44px;min-height:46px;padding:5px 8px}.studio-tool span{font-size:9px}.studio-tool .icon{width:20px;height:20px}.tool-divider{margin:0 2px}.studio-viewport.editor-wrap{padding:7px 10px 20px}.studio-hint{font-size:10px;min-height:27px}.studio-footer{padding:6px 10px;gap:8px}.studio-count{font-size:10px}.studio-zoom button{min-width:30px;padding:0 6px}.in-photo-studio .mask{min-height:0;min-width:0}body:not(.has-home-dock):not(.in-photo-studio) #toast{bottom:calc(24px + env(safe-area-inset-bottom))}.entry-status{max-width:95px}.photo-tile{border-radius:17px}}
@media(max-width:360px){.studio-tool{min-width:38px;padding:5px}.studio-count{display:none}.brand{font-size:16px}.date-label{font-size:9px}}
