:root { color-scheme: dark; font-family: "Segoe UI", system-ui, sans-serif; color: #eeedf4; background: #090b10; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 15% 0, #501a332a, transparent 55%); }
a { color: #f295ad; text-underline-offset: 4px; }
button, select, textarea { font: inherit; }
button, select { min-height: 46px; }
:focus-visible { outline: 2px solid #fc829f; outline-offset: 4px; }
.studio { width: min(1240px, 100% - 48px); margin: 0 auto; padding: 64px 0 24px; }
.eyebrow { color: #f17b9a; font-size: 10px; font-weight: 650; letter-spacing: .2em; }
h1 { margin: 22px 0; font-size: clamp(38px, 5.2vw, 72px); letter-spacing: -.065em; line-height: 1.05; }
h1 span { color: #a7a3b6; }
.intro { color: #a5a2b3; max-width: 580px; line-height: 1.8; font-size: 15px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); align-items: start; gap: 28px; margin: 44px 0; }
.preview, .settings { min-width: 0; padding: 24px; border: 1px solid #ffffff0f; border-radius: 22px; background: #10121a; }
.preview { background: linear-gradient(140deg, #1a1520, #10131d); }
.panel-top { display: flex; align-items: center; gap: 8px; color: #b7b2c6; font-size: 9px; letter-spacing: .14em; margin-bottom: 24px; }
.dot { width: 6px; height: 6px; background: #f17b9a; border-radius: 50%; box-shadow: 0 0 12px #f17b9a80; }
.tag { margin-left: auto; padding: 5px 7px; border: 1px solid #ffffff14; border-radius: 5px; font-size: 8px; }
iframe { display: block; width: 100%; height: 600px; border: 0; }
.preview iframe { border-radius: 20px; }
.hint { color: #8d889e; font-size: 11px; text-align: center; margin: 18px 0 0; }
.settings h2 { font-size: 23px; letter-spacing: -.04em; margin: 12px 0 26px; }
.settings label { display: block; font-size: 12px; color: #c4bfd3; margin: 18px 0 8px; }
select, textarea { width: 100%; background: #0a0c12; color: #d3cede; border: 1px solid #ffffff15; border-radius: 9px; padding: 12px; }
textarea { font: 11px/1.8 Consolas, monospace; resize: vertical; }
button { cursor: pointer; border: 0; border-radius: 10px; background: #ed4772; color: white; font-weight: 650; padding: 12px 20px; width: 100%; margin-top: 16px; }
button:hover { background: #fa638b; }
.settings a, #feedback { font-size: 12px; line-height: 1.6; }
#feedback { color: #e6b6c3; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid #ffffff10; padding: 32px 0; }
.features span { font-size: 9px; color: #a28ea9; letter-spacing: .14em; }
.features h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.features p { color: #938da4; font-size: 13px; line-height: 1.8; }
.studio-footer { font-size: 9px; color: #756d85; letter-spacing: .16em; border-top: 1px solid #ffffff0a; padding-top: 22px; }
.bridge { margin: 0; background: #090b10; }
.bridge iframe { height: 600px; }
.bridge-error { margin: 0; padding: 12px; font: 13px/1.6 system-ui, sans-serif; color: #ffb1c2; }
.bridge-error a { display: block; }
[hidden] { display: none !important; }
@media (max-width: 900px) { .workspace { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .studio { width: calc(100% - 28px); padding-top: 36px; }
  .workspace { gap: 18px; margin-top: 32px; }
  .preview { padding: 12px; }
  .panel-top { margin: 10px 6px 18px; }
  .features { grid-template-columns: 1fr; gap: 16px; }
}
