:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --panel: #121317;
  --line: rgba(255,255,255,.12);
  --muted: #85868c;
  --text: #eeeef0;
  --accent: #d6b782;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; overflow-x: hidden; }
.grain { position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E"); }
.topbar { height: 78px; padding: 0 7.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.07); position: relative; z-index: 6; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border: 1px solid rgba(214,183,130,.8); display: grid; place-items: center; font-family: Manrope,sans-serif; font-size: 12px; color: var(--accent); letter-spacing: -2px; }
.brand-mark span { color: #f0eee9; }
.brand-name { font-size: 9px; letter-spacing: 1.5px; color: #c3c3c5; }
.brand-name b { font-weight: 600; color: #fff; }
.top-note { font-size: 8px; color: #777981; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; }
.top-note { display: flex; align-items: center; gap: 12px; font-size: 8px; color: #777981; }
.top-note i { width: 20px; height: 1px; background: #55565c; }
.hero { min-height: 350px; height: min(410px,42vw); padding: 0 7.2%; display: flex; align-items: center; position: relative; overflow: hidden; background: radial-gradient(ellipse at 77% 45%,rgba(49,53,67,.24),transparent 38%),linear-gradient(115deg,#090a0c 8%,#111216 58%,#0b0c10); }
.hero:after { content: ""; position: absolute; right: 7%; top: 10%; width: 40%; height: 77%; border: 1px solid rgba(255,255,255,.035); transform: skewY(-28deg); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 650px; margin-top: -10px; }
.eyebrow { font-size: 8px; letter-spacing: 2.2px; color: #92939a; margin: 0 0 23px; display: flex; align-items: center; gap: 12px; text-transform: uppercase; }
.eyebrow-line { height: 1px; width: 30px; background: var(--accent); }
h1,h2 { font-family: Manrope,sans-serif; font-weight: 500; letter-spacing: -2.8px; }
h1 { font-size: clamp(52px,6.4vw,82px); line-height: 1; margin: 0 0 22px; }
h1 em,h2 em { font-family: Georgia,serif; font-weight: 400; color: #d2b589; }
.hero-description { max-width: 420px; color: #a2a3aa; font-size: 12px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 26px; color: #e5d3b6; text-decoration: none; text-transform: uppercase; font-size: 8px; letter-spacing: 1.5px; }
.text-link span { font-size: 15px; }
.hero-index { position: absolute; bottom: 28px; left: 7.2%; font-size: 8px; letter-spacing: 1.4px; color: #85858c; display: flex; align-items: center; gap: 12px; }
.hero-index span { color: var(--accent); }
.hero-index i { height: 1px; width: 26px; background: #5a5a60; }
.configurator { padding: 48px 7.2% 26px; background: #0d0e11; }
.config-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 26px; }
.config-heading .eyebrow { margin-bottom: 12px; color: #8f9097; }
.config-heading h2 { font-size: clamp(30px,3.8vw,45px); letter-spacing: -1.8px; margin: 0; }
.config-index { font-size: 8px; letter-spacing: 1.6px; color: #8b8c93; }
.config-index span { color: var(--accent); padding: 0 5px; }
.config-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 18px; }
.stage { height: clamp(400px,49vw,630px); min-height: 390px; background: radial-gradient(ellipse at 50% 54%,#22242a 0%,#15161b 42%,#111216 78%); position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.09); display: grid; place-items: center; }
.stage-glow { position: absolute; width: 60%; height: 38%; left: 20%; bottom: 14%; background: rgba(91,101,127,.12); filter: blur(70px); border-radius: 50%; }
.stage-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom,transparent,black 40%,transparent); }
.render-layer { position: absolute; width: 90%; height: 84%; object-fit: contain; filter: drop-shadow(0 30px 38px rgba(0,0,0,.4)); pointer-events: none; }
.layer-1 { z-index: 1; }.layer-2 { z-index: 2; }.layer-3 { z-index: 3; }.layer-4 { z-index: 4; }.layer-5 { z-index: 5; }.layer-6 { z-index: 6; }.layer-7 { z-index: 7; }.layer-8 { z-index: 8; }.layer-9 { z-index: 9; }.layer-10 { z-index: 10; }
.view-2 { display: none; }
.stage.show-view-2 .view-2 { display: block; }
.stage.show-view-2>.render-layer:not(.view-2) { display: none; }
.view-2.layer-1 { z-index: 20; }.view-2.layer-2 { z-index: 19; }.view-2.layer-3 { z-index: 18; }.view-2.layer-4 { z-index: 14; }.view-2.layer-5 { z-index: 15; }.view-2.layer-6 { z-index: 16; }.view-2.layer-7 { z-index: 13; }.view-2.layer-8 { z-index: 12; }.view-2.layer-9 { z-index: 11; }.view-2.layer-10 { z-index: 10; }
.view-switcher { display: flex; align-items: center; gap: 4px; padding: 5px; background: rgba(8,9,11,.94); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.view-switcher>span { padding: 0 10px 0 7px; color: #a5a6ac; font-size: 8px; font-weight: 600; letter-spacing: 1.4px; }
.view-button { min-width: 112px; padding: 11px 14px; border: 1px solid transparent; background: transparent; color: #b7b8bf; font: inherit; font-size: 9px; letter-spacing: .5px; cursor: pointer; transition: background .2s,color .2s,border-color .2s; }
.view-button b { margin-left: 5px; font-weight: 500; }
.view-button:hover { color: #fff; }
.view-button.is-selected { color: #111216; border-color: #e1c79b; background: #d6b782; font-weight: 700; }
.frame-render,.decal-render,.build-render { opacity: 0; }
.frame-render { transition: opacity .35s ease; }.decal-render,.build-render { transition: opacity .25s ease; }
.frame-render.is-active,.decal-render.is-active,.build-render.is-active { opacity: 1; }
.stage-empty { position: absolute; z-index: 1; display: grid; gap: 10px; text-align: center; color: #aaa; transition: opacity .2s; }
.stage-empty strong { font-size: 13px; font-weight: 500; }.stage-empty>span:last-child { font-size: 10px; color: #777; }.stage-empty code { color: #d1b487; }
.empty-icon { font-size: 25px; color: var(--accent); }.stage.has-render .stage-empty { opacity: 0; pointer-events: none; }
.stage-caption,.stage-coordinate { position: absolute; z-index: 30; bottom: 17px; font-size: 7px; letter-spacing: 1.2px; color: #a5a6ad; }
.stage-caption { left: 18px; }.live-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #c6a873; margin-right: 8px; vertical-align: 1px; }.caption-divider { margin: 0 7px; color: #55565c; }.stage-coordinate { right: 18px; color: #75767d; }
.controls { padding: 20px 20px 18px; background: #141519; border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; }
.control-topline { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: #85868d; font-size: 7px; letter-spacing: 1.4px; }.control-topline span:first-child { color: var(--accent); }
.control-block { padding: 20px 0 18px; border-bottom: 1px solid rgba(255,255,255,.06); }.control-block:last-child { border-bottom: 0; padding-bottom: 4px; }
.control-label { display: flex; flex-direction: column; gap: 7px; font-size: 11px; }.selected-name { font-size: 9px; color: #a5a6ac; }
.swatches { display: flex; gap: 11px; margin-top: 15px; }.swatch { padding: 0; background: none; border: 0; color: #85868d; cursor: pointer; display: grid; gap: 7px; text-align: center; font-size: 7px; letter-spacing: .5px; }
.swatch-color { height: 38px; width: 38px; border-radius: 50%; display: block; border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 0 10px rgba(0,0,0,.25); transition: box-shadow .2s,border .2s,transform .2s; }
.swatch:hover .swatch-color { transform: scale(1.07); }.swatch.is-selected .swatch-color { border: 1px solid #e0c698; box-shadow: 0 0 0 3px #141519,0 0 0 4px #cbb184; }
.swatch-color.blue { background: linear-gradient(140deg,#526b9a,#102348 60%,#080e1b); }.swatch-color.red { background: linear-gradient(140deg,#c97668,#752b2c 58%,#351216); }.swatch-color.white { background: linear-gradient(140deg,#fff,#d8d8d8 62%,#888); }.swatch-color.black { background: linear-gradient(140deg,#555,#181818 62%,#050505); }.swatch-color.yellow { background: linear-gradient(140deg,#ffe887,#e4b93d 62%,#966b0b); }.swatch-color.chrome { background: linear-gradient(140deg,#fff,#aeb4bc 30%,#f5f7fa 48%,#777f89 70%,#e4e7eb); }
.project-note { max-width: 760px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: #73747b; font-size: 8px; line-height: 1.7; letter-spacing: .2px; }
footer { padding: 21px 7.2%; display: flex; align-items: center; justify-content: space-between; background: #090a0c; border-top: 1px solid rgba(255,255,255,.05); }footer>span { font-size: 7px; letter-spacing: 1.3px; color: #686970; }
@media (max-width: 900px) { .config-layout { grid-template-columns: minmax(0,1fr) 245px; gap: 12px; }.controls { padding: 18px 16px; }.swatches { gap: 8px; }.swatch-color { width: 34px; height: 34px; } }
@media (max-width: 700px) { .topbar { height: 68px; padding: 0 5%; }.top-note { display: none; }.hero { height: 340px; min-height: 0; padding: 0 7%; }.hero:after { right: -20%; width: 70%; }.hero-index { left: 7%; }.configurator { padding: 42px 5% 25px; }.config-layout { grid-template-columns: 1fr; }.stage { height: 65vw; min-height: 320px; max-height: 540px; }.controls { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }.control-topline { grid-column: 1/-1; }.control-block { padding: 18px 0 15px; }.control-block:last-child { border-bottom: 1px solid rgba(255,255,255,.06); }.config-heading h2 { font-size: 34px; }.stage-coordinate { display: none; }footer { padding: 18px 5%; } }
@media (max-width: 460px) { .brand-name { font-size: 7px; letter-spacing: 1px; }.brand { gap: 8px; }.brand-mark { width: 28px; height: 28px; }.hero { height: 320px; }.hero-description { font-size: 11px; }.config-heading { align-items: start; gap: 16px; flex-wrap: wrap; }.view-switcher { gap: 2px; padding: 4px; }.view-switcher>span { padding: 0 5px 0 3px; font-size: 7px; }.view-button { min-width: 88px; padding: 9px 7px; font-size: 7px; }.view-button b { margin-left: 3px; }.controls { padding: 16px 13px; column-gap: 12px; }.swatches { gap: 8px; }.swatch-color { width: 32px; height: 32px; }.swatch { font-size: 6px; }.stage-caption { font-size: 6px; left: 11px; bottom: 12px; }footer>span { max-width: 115px; text-align: right; line-height: 1.6; } }

html.embed-mode { scroll-behavior: auto; --accent: #d8ff3e; }
html.embed-mode .grain, html.embed-mode .topbar, html.embed-mode .hero, html.embed-mode footer { display: none !important; }
html.embed-mode body { overflow: hidden; background: #0b0b0c; }
html.embed-mode .configurator { padding: 14px 0 0; background: transparent; }
html.embed-mode .config-heading { justify-content: flex-end; margin-bottom: 12px; }
html.embed-mode .config-heading > div:first-child { display: none; }
html.embed-mode .config-layout { grid-template-columns: minmax(0,1fr) 270px; gap: 14px; }
html.embed-mode .stage { height: clamp(360px,49vw,620px); min-height: 360px; }
html.embed-mode .project-note { display: none; }
@media (max-width: 700px) {
  html.embed-mode .configurator { padding-top: 8px; }
  html.embed-mode .config-layout { grid-template-columns: 1fr; }
  html.embed-mode .stage { height: 62vw; min-height: 300px; max-height: 500px; }
  html.embed-mode .controls { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  html.embed-mode .control-topline { grid-column: 1/-1; }
}
