*{box-sizing:border-box}body{margin:0;background:#17181b;color:#eee;font-family:Inter,system-ui,sans-serif}.app{height:100vh;display:flex;flex-direction:column}.topbar{height:64px;border-bottom:1px solid #303136;background:#202125;display:flex;align-items:center;justify-content:space-between;padding:0 20px}.brand{font-weight:700;display:flex;gap:10px;align-items:center}.logo{width:30px;height:30px;border-radius:8px;background:#6d5dfc;display:grid;place-items:center}.topbar button{margin-left:6px}.ghost,.primary{border:0;border-radius:7px;padding:9px 15px;cursor:pointer}.ghost{background:transparent;color:#ddd}.ghost:hover{background:#303136}.primary{background:#6d5dfc;color:#fff;font-weight:600}.workspace{display:grid;grid-template-columns:82px 1fr 290px;flex:1;min-height:0}.sidebar,.properties{background:#202125}.sidebar{border-right:1px solid #303136;padding:12px 8px}.tool{width:100%;border:0;background:transparent;color:#ddd;border-radius:7px;padding:10px 4px;margin-bottom:5px;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer;font-size:11px}.tool b{font-size:19px}.tool:hover,.tool.active{background:#35343d}.sidebar hr{border:0;border-top:1px solid #303136;margin:12px 5px}.canvas-area{display:flex;flex-direction:column;background:#18191c;min-width:0}.canvas-card{flex:1;overflow:auto;padding:35px;background:radial-gradient(circle,#292b30 0,#18191c 58%)}.photo-placeholder{min-height:100%;display:grid;place-items:center;align-content:center;text-align:center}.photo-icon{font-size:60px;color:#6d5dfc}.photo-placeholder h2{margin:8px}.photo-placeholder p{color:#999;max-width:420px}.upload-main{margin-top:10px}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}.gallery:empty{display:none}.photo-card{background:#23252a;border:1px solid #373941;border-radius:10px;overflow:hidden}.photo-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.photo-card .name{padding:9px;font-size:12px;color:#aaa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bottom-bar{height:48px;border-top:1px solid #303136;background:#202125;display:flex;justify-content:space-between;align-items:center;padding:0 16px;color:#999;font-size:12px}.properties{border-left:1px solid #303136;padding:20px;overflow:auto}.properties h3{margin-top:0}.property{margin:20px 0}.property label{display:block;color:#aaa;font-size:12px;margin-bottom:8px}.property input{width:100%}.upload-box{margin-top:30px;padding:15px;border:1px solid #36383e;border-radius:9px;background:#24262b;font-size:13px}.upload-box p{font-size:12px;color:#aaa;line-height:1.5}.full{width:100%}@media(max-width:800px){.workspace{grid-template-columns:64px 1fr}.properties{display:none}.gallery{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}
.editor-hidden{display:none}
.location-gate{position:fixed;inset:0;z-index:9999;background:#17181b;display:grid;place-items:center;padding:20px}
.gate-card{width:min(430px,92vw);background:#202125;border:1px solid #373941;border-radius:12px;padding:34px;text-align:center;box-shadow:0 20px 70px #0008}
.gate-logo{width:48px;height:48px;margin:0 auto 18px;border-radius:11px;background:#6d5dfc;display:grid;place-items:center;font-size:24px}
.gate-card h1{font-size:24px;margin:0 0 10px}
.gate-card p{color:#999;line-height:1.55;margin:0 0 22px}
.gate-button{width:100%;padding:13px 18px}
.gate-status{font-size:12px;color:#888;margin-top:14px;min-height:18px}

#editorApp[hidden]{display:none!important}
.location-gate{position:fixed;inset:0;z-index:99999;background:#17181b;display:flex;align-items:center;justify-content:center;padding:24px}
.gate-card{width:min(440px,100%);background:#202125;border:1px solid #383a41;border-radius:14px;padding:34px 30px;text-align:center;box-shadow:0 24px 80px rgba(0,0,0,.45)}
.gate-logo{width:58px;height:58px;border-radius:14px;background:#6d5dfc;color:#fff;display:grid;place-items:center;margin:0 auto 22px;font-size:29px}
.gate-card h1{margin:0 0 12px;font-size:25px;line-height:1.2}
.gate-card p{margin:0 auto 24px;max-width:360px;color:#a7a8ad;line-height:1.55;font-size:15px}
.gate-button{width:100%;padding:13px 18px;font-size:15px}
.gate-button:disabled{opacity:.65;cursor:wait}
.gate-status{margin-top:15px;min-height:20px;color:#8f9096;font-size:12px;line-height:1.4}

.ios-help{margin-top:10px;color:#6f7076;font-size:11px;line-height:1.45}
