:root {
  color-scheme: dark;
  --bg: #412841;
  --panel: #12141a;
  --panel-2: #191c24;
  --line: #292d38;
  --text: #f4f4f7;
  --muted: #9196a5;
  --accent: #ff4eb8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); min-height: 100vh; }
button, input { font: inherit; }
button { color: inherit; }
.topbar { height: 76px; padding: 0 clamp(20px, 5vw, 72px); border-bottom: 1px solid #22242d; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 850; letter-spacing: .15em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; background: var(--accent); color: #130a11; border-radius: 9px; font-size: 18px; font-weight: 900; box-shadow: 0 0 22px #ff4eb844; }
.muted { color: #898d9a; font-weight: 500; }
.top-note, .section-kicker, footer { color: #8c91a0; letter-spacing: .15em; font-size: 10px; font-weight: 750; }
.layout { width: min(1440px, 100%); margin: 0 auto; padding: 36px clamp(18px, 4vw, 58px) 50px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(350px, .82fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.preview-column { min-width: 0; position: sticky; top: 24px; }
.section-kicker { display: flex; align-items: center; gap: 9px; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #70f5a1; box-shadow: 0 0 10px #70f5a1aa; }
.scene { position: relative; isolation: isolate; overflow: hidden; min-height: 430px; aspect-ratio: 1.16 / 1; margin-top: 17px; border: 1px solid #ffffff16; border-radius: 15px; display: flex; align-items: center; justify-content: center; padding: 35px; background-size: cover; background-position: center; transition: background .25s; }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: opacity .2s; }
.scene.wall-brick::before { background-image: linear-gradient(#100d0d50,#100d0d70), url("https://images.unsplash.com/photo-1495578942200-c5f5d2137def?q=80&w=1175&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=NHwxMjA3fDA%3D"); }
.scene.wall-concrete::before { background-image: linear-gradient(#10131960,#10131980), url("https://images.unsplash.com/photo-1547787991-50d8eb41e2ad?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=NHwxMjA3fDA%3D"); }
.scene.wall-dark::before { background-image: radial-gradient(ellipse at center,#29303b,#0c0f16 75%); }
.scene.wall-living::before { background-image: linear-gradient(#080a0b40,#080a0b72), url("https://images.unsplash.com/photo-1672345158827-7f4aa9467b49?q=80&w=764&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=NHwxMjA3fDA%3D"); }
.scene-overlay { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent 25%, #0000003b 100%); pointer-events: none; }
.neon-sign { width: 100%; max-width: 100%; display: flex; justify-content: center; align-items: center; padding: 15px 0; }
.neon-text { --neon: #ff4eb8; max-width: 100%; overflow-wrap: anywhere; text-align: center; color: #fff8fd; font-size: clamp(34px, 5.2vw, 76px); line-height: 1.18; transform: scale(var(--sign-scale, 1)); text-shadow: 0 0 2px #fff, 0 0 6px #fff, 0 0 12px var(--neon), 0 0 24px var(--neon), 0 0 45px var(--neon), 0 0 78px var(--neon); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--neon), transparent 30%)); transition: color .2s, text-shadow .2s, font-family .2s, transform .2s; }
.font-script { font-family: "Pacifico", cursive; }
.font-modern { font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: -.06em; }
.font-bold { font-family: "Anton", sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.font-mono { font-family: "Roboto Mono", monospace; font-weight: 700; letter-spacing: -.06em; }
.font-marker { font-family: "Permanent Marker", cursive; }
.scene-caption { position: absolute; bottom: 15px; left: 17px; right: 17px; display: flex; justify-content: space-between; color: #ffffff9c; font-size: 9px; letter-spacing: .12em; font-weight: 750; }
.preview-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; color: #a1a5b1; font-size: 11px; }
.preview-foot > span { display: flex; align-items: center; gap: 8px; }
.text-button { background: none; border: 0; color: #b5b8c4; cursor: pointer; padding: 5px; }
.text-button:hover { color: white; }
.info-note { padding: 13px 15px; border: 1px solid #282c36; background: #111319; border-radius: 9px; color: #989dab; font-size: 11px; line-height: 1.6; }
.info-note strong { color: #d7d9e0; }
.controls { background: var(--panel); border: 1px solid #252832; border-radius: 16px; padding: clamp(20px, 2.4vw, 32px); }
.panel-heading { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
h1 { font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -.055em; margin: 10px 0 7px; line-height: 1.12; }
.panel-heading p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.step-badge { flex-shrink: 0; font-size: 13px; color: #fff; font-weight: 800; padding-top: 3px; }
.step-badge span { color: #686e7d; font-weight: 500; }
.control-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.label-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 12px; font-weight: 700; }
.control-label, label { color: #ececf1; }
.subtle, #charCount { color: #7f8594; font-size: 10px; font-weight: 500; }
input[type="text"] { width: 100%; border: 1px solid #343845; background: #0d0f14; color: white; border-radius: 8px; padding: 13px 14px; outline: none; font-size: 13px; }
input[type="text"]:focus { border-color: #ff4eb8aa; box-shadow: 0 0 0 3px #ff4eb81b; }
.hint { color: #757b8a; font-size: 10px; margin-top: 9px; }
.font-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.font-option { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 76px; border: 1px solid #303440; border-radius: 8px; background: #171a22; cursor: pointer; color: #aeb2bf; font-size: 10px; transition: .15s; }
.font-option:hover, .font-option.selected { border-color: #ff4eb8; background: #ff4eb80c; color: white; }
.font-sample { font-size: 24px; line-height: 1; color: #f5d7e9; }
.sample-script { font-family: Pacifico, cursive; }
.sample-modern { font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.sample-bold { font-family: Anton, sans-serif; }
.sample-mono { font-family: "Roboto Mono", monospace; }
.sample-marker { font-family: "Permanent Marker", cursive; }
.color-row { display: flex; flex-wrap: wrap; gap: 12px; }
.color-option { width: 29px; height: 29px; border-radius: 50%; background: var(--swatch); border: 3px solid #171922; box-shadow: 0 0 0 1px #505361; cursor: pointer; position: relative; }
.color-option.selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--swatch), 0 0 18px color-mix(in srgb, var(--swatch), transparent 50%); }
.wall-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.wall-option { border: 1px solid #303440; border-radius: 8px; padding: 5px; background: #171a22; color: #aeb2bf; font-size: 10px; cursor: pointer; }
.wall-option.selected { border-color: #ff4eb8; color: white; }
.wall-thumb { display: block; height: 48px; border-radius: 4px; margin-bottom: 7px; background-size: cover; background-position: center; }
.thumb-brick { background-image: url("https://images.unsplash.com/photo-1517581177682-a085bb7ffb15?auto=format&fit=crop&w=250&q=60"); }
.thumb-concrete { background-image: url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=250&q=60"); }
.thumb-dark { background: radial-gradient(ellipse,#303746,#10131a); }
.thumb-living { background-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=250&q=60"); }
input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: #747a89; font-size: 10px; margin-top: 5px; }
.size-value { color: var(--accent); font-size: 12px; font-weight: 800; }
.price-card { display: flex; justify-content: space-between; align-items: center; padding: 19px 0; }
.price-label { font-size: 10px; color: #969baa; }
.price { font-size: 28px; font-weight: 800; letter-spacing: -.04em; margin-top: 4px; }
.price-note { text-align: right; font-size: 10px; line-height: 1.5; color: #767c8a; }
.add-button { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; border-radius: 8px; padding: 15px 17px; background: var(--accent); color: #1a0a14; font-weight: 850; cursor: pointer; transition: filter .15s, transform .15s; }
.add-button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.add-button span { font-size: 20px; }
.cart-note { color: #777d8c; font-size: 10px; line-height: 1.6; margin: 12px 0 0; }
.status-message { display: none; margin-top: 12px; padding: 10px 12px; border: 1px solid #343b49; border-radius: 7px; color: #c5f5d4; font-size: 11px; line-height: 1.5; }
.status-message.visible { display: block; }
footer { border-top: 1px solid #22242d; padding: 22px clamp(20px, 5vw, 72px); display: flex; justify-content: space-between; gap: 20px; font-size: 9px; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; max-width: 720px; }
  .preview-column { position: static; }
  .scene { min-height: 340px; }
  .neon-text { font-size: clamp(35px, 9vw, 70px); }
}
@media (max-width: 480px) {
  .topbar { height: 62px; }
  .top-note { font-size: 8px; }
  .layout { padding-top: 24px; }
  .scene { min-height: 270px; aspect-ratio: 1 / 1; padding: 18px; }
  .controls { padding: 19px 16px; }
  .wall-thumb { height: 38px; }
  .color-row { gap: 11px; }
}
