:root { --bg: #0b0d11; --panel: #12151b; --line: rgba(255,255,255,.1); --text: #eef1f4; --muted: #94a3b8; --accent: #00c4a7; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 14px/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
button, input { font: inherit; color: inherit; }
.fs-app { display: grid; grid-template-columns: 1fr 360px; height: 100vh; }
.fs-stage { position: relative; min-height: 0; }
#view { display: block; width: 100%; height: 100%; touch-action: none; }
.fs-stage-bar { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; }
.fs-chip { background: rgba(18,21,27,.8); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; cursor: pointer; backdrop-filter: blur(8px); }
.fs-chip:hover { border-color: var(--accent); }
.fs-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); pointer-events: none; }
.fs-panel { background: var(--panel); border-left: 1px solid var(--line); padding: 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.fs-title { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.fs-sub { margin: -10px 0 0; color: var(--muted); }
.fs-group { display: flex; flex-direction: column; gap: 8px; }
.fs-label { font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #d7dde5; }
.fs-muted { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.fs-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.fs-seg button { flex: 1 1 auto; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.04); cursor: pointer; font-weight: 600; }
.fs-seg button.active { border-color: var(--accent); background: rgba(0,196,167,.16); }
.fs-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); cursor: pointer; padding: 0; }
.fs-swatch.active { outline: 3px solid var(--accent); outline-offset: 2px; }
.fs-color { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: none; }
.fs-upload { display: block; text-align: center; padding: 9px; border: 1px dashed var(--accent); border-radius: 10px; cursor: pointer; color: #bff3ea; background: rgba(0,196,167,.06); }
.fs-hint { color: var(--muted); font-size: 12px; }
.fs-shop-only { display: none; }
.fs-shop .fs-shop-only { display: revert; }
.fs-shop .fs-dev-only { display: none; }
.fs-bald { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 1px 6px; border-radius: 99px; background: rgba(255,255,255,.12); color: var(--muted); vertical-align: 1px; }
.fs-note { margin: 0; font-size: 12.5px; color: #bff3ea; background: rgba(0,196,167,.08); border: 1px solid rgba(0,196,167,.3); border-radius: 10px; padding: 8px 10px; }
.fs-kaufen { flex-direction: column; gap: 8px; margin-top: auto; }
.fs-shop .fs-kaufen { display: flex; }
.fs-kaufen .fs-btn { text-align: center; text-decoration: none; }
.fs-link { text-align: center; color: var(--muted); font-size: 13px; }
.fs-kombi .fs-kaufen { display: none; }
.fs-kombi-only { display: none; }
.fs-kombi .fs-kombi-only { display: revert; }
.fs-kombi .fs-nicht-kombi, .fs-kombi .fs-hint { display: none; }
.fs-kombi-bar { position: sticky; bottom: -22px; margin: auto -22px -22px; padding: 14px 22px; background: var(--panel); border-top: 1px solid var(--line); gap: 8px; }
.fs-kombi .fs-kombi-bar { display: flex; }
.fs-btn { flex: 2; padding: 12px 14px; border-radius: 12px; border: 0; background: var(--accent); color: #00201b; font-weight: 800; cursor: pointer; }
.fs-btn--ghost { flex: 1; background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--line); font-weight: 600; }
@media (max-width: 860px) {
  .fs-app { grid-template-columns: 1fr; grid-template-rows: 55% 45%; height: 100vh; }
  .fs-panel { overflow-y: auto; }
  .fs-panel { border-left: 0; border-top: 1px solid var(--line); }
}
