:root{
  --bg:#0b1020;
  --panel:#0f172a;
  --muted:#a1a1aa;
  --border:#1f2937;
  --primary:#0ea5e9;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,'PingFang SC','Hiragino Sans GB',sans-serif;color:#e5e7eb;background:var(--bg)}
.app-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border);background:#0b1224;position:sticky;top:0;z-index:10}
.app-header .brand{display:flex;align-items:center;gap:12px}
.app-header .logo{width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,#22d3ee,#0ea5e9);display:flex;align-items:center;justify-content:center;font-weight:700}
.app-header .meta h1{margin:0;font-size:16px}
.app-header .meta p{margin:2px 0 0;color:var(--muted);font-size:12px}
.app-header .link{color:#93c5fd;text-decoration:none}
.container{display:grid;grid-template-columns:360px 1fr;gap:16px;padding:16px;height:calc(100vh - 70px)}
.sidebar{overflow:auto;padding-right:4px}
.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:14px;margin-bottom:12px}
.panel h2{font-size:14px;margin:0 0 10px 0;color:#e2e8f0}
label{display:block;font-size:12px;color:#cbd5e1;margin:8px 0 6px}
input[type="text"],select{width:100%;padding:10px 12px;background:#0b1224;border:1px solid var(--border);border-radius:8px;color:#e5e7eb;outline:none}
.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.col{}
input[type="range"]{width:100%}
.presets{display:flex;flex-wrap:wrap;gap:8px}
.preset{padding:8px 10px;background:#0b1224;border:1px solid var(--border);border-radius:8px;color:#e5e7eb;cursor:pointer}
.preset:hover{border-color:#374151}
.actions{display:flex;gap:10px}
.actions .primary{flex:1;background:linear-gradient(135deg,#22d3ee,#0ea5e9);color:#0b1020;border:0;padding:10px 14px;border-radius:10px;font-weight:700;cursor:pointer}
.actions .ghost{padding:10px 14px;border:1px solid var(--border);background:#0b1224;border-radius:10px;color:#e5e7eb;cursor:pointer}
.preview{overflow:auto}
.stage-wrap{background:#0b1224;border:1px solid var(--border);border-radius:16px;padding:12px}
.stage-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#94a3b8}
.stage{position:relative;margin:0 auto;background:#111827;border-radius:14px;box-shadow:0 8px 30px rgba(0,0,0,.35);overflow:hidden;width:960px;height:504px;display:flex;align-items:center;justify-content:center}
.logo-wrap{position:absolute;top:24px;left:24px;width:80px;height:80px;border-radius:12px;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;overflow:hidden}
.logo-wrap img{max-width:70px;max-height:70px}
.content{padding:40px;text-align:center;max-width:85%}
#title{font-size:64px;line-height:1.1;margin:0 0 10px 0}
#subtitle{font-size:28px;line-height:1.4;margin:0;color:#d1d5db}
.hint{color:#94a3b8;font-size:12px;margin:8px 0}
.footer{border-top:1px solid var(--border);padding:12px 16px;color:#94a3b8;display:flex;align-items:center;justify-content:space-between}
@media (max-width:1100px){
  .container{grid-template-columns:1fr}
  .stage{width:100%;height:calc((100vw - 32px) * 0.525)}
}

