:root { color-scheme: dark; --night:#090b16; --panel:#151927; --red:#ff2e45; --yellow:#ffc72a; --cyan:#28d1df; --muted:rgba(255,255,255,.61); }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; overflow:hidden; background:var(--night); color:white; font-family:-apple-system,BlinkMacSystemFont,"Pretendard","Segoe UI",sans-serif; }
.ambient { position:fixed; width:42vw; height:42vw; filter:blur(110px); opacity:.16; border-radius:50%; pointer-events:none; }
.ambient-one { background:var(--red); left:-18vw; top:-24vw; }.ambient-two { background:var(--cyan); right:-25vw; bottom:-28vw; }
header { height:82px; display:flex; align-items:center; justify-content:space-between; padding:0 30px; border-bottom:1px solid rgba(255,255,255,.07); position:relative; }
.brand,.account,.editor-header,.header-actions,.panel-title,.scene-meta { display:flex; align-items:center; gap:13px; }
.mark { width:46px; height:46px; display:grid; place-items:center; background:linear-gradient(145deg,var(--red),#93162d); border-radius:14px; font-size:24px; font-weight:900; box-shadow:0 10px 28px #ff2e4530; }
.brand strong { display:block; letter-spacing:2.5px; font-size:13px; }.brand span { display:block; color:var(--muted); font-size:12px; margin-top:5px; }
.account { font-size:13px; color:var(--muted); }
button,input,textarea { font:inherit; } button { cursor:pointer; border:0; color:white; }
main { height:calc(100vh - 82px); display:grid; grid-template-columns:300px 1fr; gap:18px; padding:18px; position:relative; }
.panel { background:linear-gradient(145deg,rgba(24,29,45,.95),rgba(15,18,30,.95)); border:1px solid rgba(255,255,255,.07); border-radius:24px; overflow:hidden; }
.projects-panel { padding:22px 16px; }.panel-title { justify-content:space-between; padding:0 7px 17px; }.panel-title small,.eyebrow { color:var(--yellow); letter-spacing:2px; font-weight:800; }.panel-title h2 { margin:5px 0 0; }
.icon-button { width:40px;height:40px;border-radius:13px;background:var(--red);font-size:25px; }
.project-list { display:flex;flex-direction:column;gap:9px; }.project { width:100%;text-align:left;padding:15px;border-radius:15px;background:transparent;color:var(--muted); }.project strong { display:block;color:white;margin-bottom:5px; }.project.active { background:#ffffff0d; outline:1px solid #ffc72a42; }
.empty { text-align:center;color:var(--muted);padding:80px 10px;line-height:1.6; }.empty span { color:var(--yellow);font-size:36px; }
.editor-panel { position:relative; }.welcome { height:100%; display:flex;flex-direction:column;align-items:flex-start;justify-content:center;max-width:720px;padding:9vw; }.welcome h1 { font-size:clamp(38px,5vw,70px);line-height:1.09;margin:18px 0;letter-spacing:-2.5px; }.welcome>p:not(.eyebrow) { color:var(--muted);font-size:17px;line-height:1.7;max-width:600px; }
.primary { padding:13px 20px;border-radius:14px;background:var(--red);font-weight:800;box-shadow:0 10px 25px #ff2e4524; }.welcome .primary { margin-top:22px; }
.ghost { background:#ffffff0c;border:1px solid #ffffff18;border-radius:11px;padding:9px 13px; }.danger { color:#ff7282; }
#editor { height:100%; }.editor-header { height:78px;padding:0 22px;border-bottom:1px solid #ffffff10;justify-content:space-between; }.project-title { min-width:260px;font-size:23px;font-weight:800;background:transparent;border:0;color:white;outline:0; }.header-actions span { color:var(--muted);font-size:13px; }
.scene-tabs-wrap { height:62px;padding:10px 20px;display:flex;gap:12px;border-bottom:1px solid #ffffff10;overflow:hidden; }.scene-tabs { display:flex;gap:8px;overflow:auto; }.scene-tab,.new-scene { white-space:nowrap;padding:10px 15px;border-radius:12px;background:#ffffff0a;color:var(--muted);font-weight:700; }.scene-tab.active { background:var(--yellow);color:var(--night); }.new-scene { margin-left:auto;color:var(--yellow);border:1px solid #ffc72a36; }
.scene-editor { height:calc(100% - 140px);padding:18px 22px 22px;display:flex;flex-direction:column;gap:14px; }.scene-meta { justify-content:space-between; }.scene-meta input { font-size:20px;font-weight:800;background:transparent;border:0;color:white;outline:0; }.scene-editor textarea { flex:1;width:100%;resize:none;background:#090c16b8;color:white;border:1px solid #ffffff10;border-radius:18px;padding:24px;outline:0;font-size:18px;line-height:1.75;box-shadow:inset 0 1px 0 #ffffff08; }.scene-editor textarea:focus { border-color:#28d1df66; }
#toast { position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:#252b3b;border:1px solid #ffffff16;border-radius:100px;padding:12px 19px;opacity:0;transition:.25s;pointer-events:none; }.show-toast { opacity:1!important;transform:translate(-50%,0)!important; }
@media (max-width:760px) { body{overflow:auto} header{padding:0 16px}.account span{display:none} main{height:auto;grid-template-columns:1fr;padding:10px}.projects-panel{min-height:180px}.editor-panel{min-height:70vh}.welcome{padding:45px 28px}.welcome h1{font-size:40px}.editor-header{align-items:flex-start;height:auto;padding:17px;flex-direction:column}.header-actions{width:100%;flex-wrap:wrap}.scene-editor{height:65vh}.project-title{min-width:0;width:100%} }
