/* Art Story – איך זה ייראה אצלכם (הדמיית החדר) */
.rs { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.rs-stage { position: relative; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 4px; background: #1d1611; }
.rs-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rs-art { opacity: 0; position: absolute; transform: translate(-50%, -50%); background: #1d140e; padding: .45%; box-sizing: border-box; box-shadow: 0 .9cqw 1.6cqw -.5cqw rgba(0,0,0,.45), 0 .2cqw .5cqw rgba(0,0,0,.3); transition: width .5s cubic-bezier(.2,.8,.2,1), height .5s cubic-bezier(.2,.8,.2,1), top .5s cubic-bezier(.2,.8,.2,1), left .5s; }
.rs-stage { container-type: inline-size; }
.rs-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rs-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,250,240,.10), rgba(255,250,240,0) 40%), linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,.08)); pointer-events: none; }
.rs-load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--soft); font-size: 14px; transition: opacity .4s; }
.rs-scale { position: absolute; inset-inline-start: 14px; bottom: 12px; font: 400 12px Heebo, Arial, sans-serif; color: #fff; background: rgba(20,14,10,.5); padding: 6px 12px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rs-ctrl { display: grid; gap: 28px; }
.rs-ctrl h3 { margin: 0 0 12px; font: 400 14px Heebo, Arial, sans-serif; color: var(--gold); }
.rs-sw { display: flex; flex-wrap: wrap; gap: 10px; }
.rs-sw button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(243,235,221,.25); cursor: pointer; padding: 0; transition: transform .2s, box-shadow .2s; }
.rs-sw button[aria-pressed=true] { box-shadow: 0 0 0 2px #2e231b, 0 0 0 3px var(--gold); }
.rs-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-seg button { font: 400 14px Heebo, Arial, sans-serif; color: var(--cream); background: none; border: 1px solid rgba(243,235,221,.25); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: all .2s; }
.rs-seg button:hover { border-color: var(--gold); }
.rs-seg button[aria-pressed=true] { color: var(--ink-btn); background: var(--gold); border-color: var(--gold); }
.rs-seg small { font-size: 12px; opacity: .75; margin-inline-start: 6px; direction: ltr; unicode-bidi: isolate; }
.rs-note { font-size: 13px; color: #a99b88; line-height: 1.7; margin: 0; }
@media (max-width: 900px) { .rs { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .rs-stage { aspect-ratio: 4 / 3; } }
.rs-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.rs-code input[type=color] { width: 34px; height: 34px; border: 1px solid rgba(243,235,221,.25); border-radius: 50%; padding: 0; background: none; cursor: pointer; overflow: hidden; }
.rs-code input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.rs-code input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.rs-code input[type=text] { width: 110px; background: transparent; border: 1px solid rgba(243,235,221,.25); border-radius: 999px; color: var(--cream); font: 400 14px ui-monospace, Menlo, monospace; padding: 8px 14px; text-transform: uppercase; outline: none; }
.rs-code input[type=text]:focus { border-color: var(--gold); }
.rs-code input.bad { border-color: #c96a5a; }
.rs-code span { flex-basis: 100%; font-size: 12.5px; color: #a99b88; }
.rs-ctrl h3 { color: var(--blue-deep) !important; }
.rs-note { color: rgba(58,34,22,.74) !important; }
.rs-stage { box-shadow: 0 30px 60px -30px rgba(58,34,22,.45); }
.rs-seg button { color: var(--brown) !important; border-color: rgba(58,34,22,.28) !important; }
.rs-seg button:hover { border-color: var(--brown) !important; }
.rs-seg button[aria-pressed=true] { background: var(--blue) !important; border-color: var(--blue) !important; color: var(--brown) !important; }
.rs-sw button { border-color: rgba(58,34,22,.2) !important; }
.rs-sw button[aria-pressed=true] { box-shadow: 0 0 0 2px var(--cream-bg), 0 0 0 4px var(--blue-deep) !important; }
.rs-code input[type=text] { color: var(--brown) !important; border-color: rgba(58,34,22,.28) !important; background: rgba(255,255,255,.4) !important; }
.rs-code input[type=color] { border-color: rgba(58,34,22,.25) !important; }
.rs-code span { color: rgba(58,34,22,.6) !important; }
.rs-load { color: #e9dfcf !important; }
.rs-ctrl h3 { color: rgba(58,34,22,.6) !important; }
.rs-seg button[aria-pressed=true] { background: var(--blue) !important; color: var(--brown) !important; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--brown) !important; }
/* נגישות: ניגודיות כותרות הבקרים */
.rs-ctrl h3 { color: rgba(58,34,22,.8) !important; }
.rs-code span { color: rgba(58,34,22,.8) !important; }
