/* ═══════════════════════════════════════════════════
   ЗАНАВЕС — demos.css
   CSS-устройства и интерактивные демо в оверлее
   ═══════════════════════════════════════════════════ */

/* ─── Секция демо внутри оверлея ──────────────────── */
.demo-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--sepia-faint);
}

.demo-section-title {
  font-family: var(--ff-display);
  font-size: 0.70rem;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  text-transform: uppercase;
  color: var(--sepia-light);
  margin-bottom: 32px;
}

/* ══════════════════════════════════════════════════
   CSS ТЕЛЕФОН
   ══════════════════════════════════════════════════ */
.device-phone {
  width: 180px;
  flex-shrink: 0;
  background: #1c1c1e;
  border-radius: 36px;
  padding: 14px 10px 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 12px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Динамик / notch */
.device-phone::before {
  content: "";
  display: block;
  width: 52px;
  height: 6px;
  background: #2c2c2e;
  border-radius: 4px;
  margin: 0 auto 10px;
}

/* Кнопки сбоку */
.device-phone::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 80px;
  width: 3px;
  height: 28px;
  background: #2c2c2e;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 36px 0 #2c2c2e, 0 72px 0 #2c2c2e;
}

.phone-screen {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  height: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Хом-индикатор */
.device-phone-footer {
  margin: 8px auto 0;
  width: 44px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
}

/* Статус-бар телефона */
.phone-statusbar {
  background: #f2f2f7;
  padding: 5px 12px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Jost", sans-serif;
  font-size: 0.48rem;
  font-weight: 400;
  color: #1c1c1e;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.phone-app-name {
  font-family: "Jost", sans-serif;
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #1c1c1e;
  text-align: center;
  flex: 1;
}

/* ══════════════════════════════════════════════════
   CSS НОУТБУК
   ══════════════════════════════════════════════════ */
.device-laptop {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.laptop-lid {
  background: linear-gradient(180deg, #2c2c2e 0%, #1c1c1e 100%);
  border-radius: 10px 10px 0 0;
  padding: 12px 12px 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.20);
}

.laptop-screen {
  background: #f2f2f7;
  border-radius: 5px 5px 0 0;
  height: 300px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
}

.laptop-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2c2c2e;
}

.laptop-base {
  background: linear-gradient(180deg, #3a3a3c 0%, #2c2c2e 100%);
  height: 16px;
  border-radius: 0 0 5px 5px;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.laptop-trackpad {
  width: 60px;
  height: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
}

.laptop-shadow {
  height: 6px;
  background: radial-gradient(ellipse at 50% 0, rgba(0,0,0,0.25) 0%, transparent 70%);
  margin: 0 20px;
}

/* ══════════════════════════════════════════════════
   FONZ ДЕМО (в оверлее)
   ══════════════════════════════════════════════════ */
.fonz-demo-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.fonz-phone-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fonz-instructions {
  flex: 1;
  min-width: 200px;
}

.fonz-instructions h4 {
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 400;
}

.fonz-pin-hint {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pin-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(107,83,68,0.25);
  font-family: "Jost", sans-serif;
  font-size: 0.60rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--sepia);
  border-radius: 3px;
  background: rgba(107,83,68,0.04);
}

.pin-badge code {
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 500;
}

/* Экран телефона — PIN-пад */
.fp-screen {
  background: linear-gradient(180deg, #f2f2f7 0%, #fff 100%);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fp-label {
  font-family: "Jost", sans-serif;
  font-size: 0.56rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-align: center;
  color: #1c1c1e;
  padding: 12px 8px 6px;
}

.fp-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 6px 0 10px;
}

.fp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #8e8e93;
  background: transparent;
  transition: background 0.18s, border-color 0.18s;
}

.fp-dot.filled { background: #1c1c1e; border-color: #1c1c1e; }

.fp-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  flex: 1;
}

.fp-key {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: transparent;
  cursor: pointer;
  transition: background 0.12s;
  font-family: "Jost", sans-serif;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.fp-key:nth-child(3n+1) { border-right: 1px solid rgba(0,0,0,0.06); }
.fp-key:nth-child(3n+2) { border-right: 1px solid rgba(0,0,0,0.06); }
.fp-key:active, .fp-key:hover { background: rgba(0,0,0,0.06); }

.fp-key-num {
  font-size: 1.2rem;
  font-weight: 300;
  color: #1c1c1e;
  line-height: 1;
}

.fp-key-sub {
  font-size: 0.32rem;
  letter-spacing: 0.12em;
  color: #8e8e93;
  margin-top: 1px;
}

.fp-key-del, .fp-key-ok {
  font-size: 0.68rem;
  font-weight: 300;
  color: #8e8e93;
  letter-spacing: 0.06em;
}

/* Разблокированный экран */
.fp-unlocked {
  background: linear-gradient(180deg, #f2f2f7 0%, #fff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 16px 10px 10px;
}

.fp-space-label {
  font-family: "Jost", sans-serif;
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8e8e93;
  margin-bottom: 8px;
}

.fp-space-title {
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: #1c1c1e;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.fp-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}

.fp-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.fp-app-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.fp-app-name {
  font-size: 0.36rem;
  color: #3c3c3e;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
}

.fp-reset-btn {
  margin-top: auto;
  font-family: "Jost", sans-serif;
  font-size: 0.48rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #636366;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 8px;
}

@keyframes fp-shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.fp-shake { animation: fp-shake 0.35s ease; }

/* ══════════════════════════════════════════════════
   NODZ ДЕМО (в оверлее)
   ══════════════════════════════════════════════════ */
.nodz-demo-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.nodz-laptop-side {
  flex-shrink: 0;
  width: 100%;
  max-width: 520px;
}

.nodz-instructions {
  flex: 1;
  min-width: 200px;
}

/* ─── PIN-экран ноутбука ─────────────────── */
.nd-pin-screen {
  width: 100%;
  height: 100%;
  background: #f2f2f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.nd-pin-topbar {
  width: 100%;
  background: #e5e5ea;
  padding: 5px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Jost", sans-serif;
  font-size: 0.52rem;
  font-weight: 400;
  color: #1c1c1e;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.nd-pin-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d1d1d6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 14px 0 6px;
  flex-shrink: 0;
}

.nd-pin-hint {
  font-family: "Jost", sans-serif;
  font-size: 0.62rem;
  font-weight: 300;
  color: #1c1c1e;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.nd-pin-dots {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.nd-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #8e8e93;
  background: transparent;
  transition: background 0.18s, border-color 0.18s;
}

.nd-dot--filled { background: #1c1c1e; border-color: #1c1c1e; }

/* PIN-пад ноутбука */
.nd-pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  flex: 1;
  gap: 0;
}

.nd-key {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.07);
  background: transparent;
  cursor: pointer;
  transition: background 0.12s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.nd-key:nth-child(3n+1) { border-right: 1px solid rgba(0,0,0,0.07); }
.nd-key:nth-child(3n+2) { border-right: 1px solid rgba(0,0,0,0.07); }
.nd-key:hover, .nd-key:active { background: rgba(0,0,0,0.06); }
.nd-key--empty { cursor: default; border: none; border-top: 1px solid rgba(0,0,0,0.07); }
.nd-key--del { color: #636366; font-size: 1rem; }
.nd-key--del:nth-child(3n+2) { border-right: 1px solid rgba(0,0,0,0.07); }

.nd-key-num {
  font-family: "Jost", sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: #1c1c1e;
  line-height: 1;
}

.nd-key-sub {
  font-family: "Jost", sans-serif;
  font-size: 0.36rem;
  letter-spacing: 0.10em;
  color: #8e8e93;
  margin-top: 1px;
}

/* Бут-лог */
.nd-boot-log {
  width: 100%;
  height: 100%;
  background: #0d0d0d;
  padding: 12px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nd-boot-line {
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.nd-boot-ok   { color: #b0f090; }
.nd-boot-dim  { color: rgba(176,240,144,0.45); }
.nd-boot-done { color: #f0d080; font-weight: bold; }

/* Рабочий стол */
.nd-desktop {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nd-taskbar {
  width: 100%;
  padding: 4px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Jost", sans-serif;
  font-size: 0.52rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.nd-taskbar-bottom {
  width: 100%;
  padding: 4px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-top: auto;
}

.nd-reset-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.75);
  font-family: "Jost", sans-serif;
  font-size: 0.50rem;
  font-weight: 300;
  letter-spacing: 0.10em;
  cursor: pointer;
}

.nd-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
  flex: 1;
  align-content: start;
}

.nd-desk-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  font-size: 1.2rem;
  cursor: default;
}

.nd-desk-label {
  font-family: "Jost", sans-serif;
  font-size: 0.44rem;
  color: #1c1c1e;
  text-align: center;
  line-height: 1.2;
}

/* ══════════════════════════════════════════════════
   SUFLER ДЕМО (в оверлее)
   ══════════════════════════════════════════════════ */

/* Калькулятор-маскировка */
.calc-section {
  margin-bottom: 40px;
}

.calc-instruction {
  background: rgba(107,83,68,0.05);
  border: 1px solid rgba(107,83,68,0.14);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--sepia);
  line-height: 1.7;
}

.calc-instruction strong { font-weight: 400; color: var(--ink); }
.calc-instruction code {
  font-family: monospace;
  font-size: 0.88rem;
  background: rgba(107,83,68,0.08);
  padding: 1px 5px;
  border-radius: 2px;
  color: var(--ink);
}

.calc-wrap {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Калькулятор */
.calc-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.calc-screen {
  background: #1c1c1e;
  border-radius: 36px;
  padding: 14px 10px 10px;
  width: 170px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.30), 0 0 0 1px rgba(255,255,255,0.06);
}

.calc-screen::before {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  background: #2c2c2e;
  border-radius: 3px;
  margin: 0 auto 10px;
}

.calc-display {
  background: #000;
  border-radius: 22px;
  height: 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.calc-display-num {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px 16px 6px;
  font-family: "Jost", sans-serif;
  font-size: 2.4rem;
  font-weight: 200;
  color: #fff;
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
}

.calc-display-sub {
  padding: 0 16px 8px;
  font-family: "Jost", sans-serif;
  font-size: 0.52rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-align: right;
}

.calc-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 6px;
  background: #000;
  border-radius: 0 0 22px 22px;
}

.calc-btn {
  padding: 10px 4px;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-family: "Jost", sans-serif;
  font-size: 0.70rem;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.calc-btn:active { opacity: 0.7; }

.calc-btn--fn   { background: #a5a5a5; color: #1c1c1c; font-size: 0.60rem; }
.calc-btn--op   { background: #ff9500; color: #fff; font-size: 0.90rem; }
.calc-btn--num  { background: #333333; color: #fff; }
.calc-btn--zero { background: #333333; color: #fff; width: 72px; border-radius: 18px; justify-content: flex-start; padding-left: 12px; }

.calc-screen-footer {
  margin: 6px auto 0;
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.20);
  border-radius: 3px;
}

/* Инструкция к калькулятору */
.calc-steps {
  flex: 1;
  min-width: 200px;
}

.calc-steps h4 {
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 400;
}

.calc-step {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--sepia);
  line-height: 1.6;
}

.calc-step-num {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(107,83,68,0.30);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.54rem;
  color: var(--sepia-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.panic-block {
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid rgba(180,60,60,0.20);
  background: rgba(180,60,60,0.04);
}

.panic-block h4 {
  font-family: "Jost", sans-serif;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b3a3a;
  margin-bottom: 8px;
}

.panic-block p {
  font-family: "Jost", sans-serif;
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--sepia);
  line-height: 1.6;
}

.panic-block code {
  font-family: monospace;
  font-size: 0.82rem;
  background: rgba(180,60,60,0.08);
  padding: 1px 5px;
  border-radius: 2px;
  color: #8b3a3a;
}

/* Два телефона — мессенджер */
.sufler-phones-section { margin-top: 40px; }

.sufler-phones-section h4 {
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
  font-weight: 400;
}

.sufler-two-phones {
  display: flex;
  gap: 0;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Телефон с чатом */
.sp-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sp-phone-label {
  font-family: "Jost", sans-serif;
  font-size: 0.54rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sepia-light);
}

.sp-chat {
  background: #f2f2f7;
  flex: 1;
  overflow-y: auto;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  scrollbar-width: none;
}

.sp-chat::-webkit-scrollbar { display: none; }

.sp-bubble {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  max-width: 88%;
}

.sp-bubble--out { align-self: flex-end; flex-direction: row-reverse; }
.sp-bubble--in  { align-self: flex-start; }

.sp-bubble-body {
  background: #e5e5ea;
  border-radius: 14px 14px 14px 4px;
  padding: 6px 10px;
  font-family: "Jost", sans-serif;
  font-size: 0.58rem;
  font-weight: 300;
  color: #1c1c1e;
  line-height: 1.4;
}

.sp-bubble--out .sp-bubble-body {
  background: #007aff;
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}

.sp-ch-badge {
  font-size: 0.38rem;
  background: rgba(0,0,0,0.08);
  color: #636366;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
}

/* Центральная панель между телефонами */
.sp-channel-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 100px;
}

.sp-ch-title {
  font-family: "Jost", sans-serif;
  font-size: 0.50rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sepia-light);
  text-align: center;
}

.sp-channels {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sp-ch-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(107,83,68,0.20);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-family: "Jost", sans-serif;
  font-size: 0.52rem;
  font-weight: 300;
  color: var(--sepia);
  transition: all 0.2s;
  white-space: nowrap;
}

.sp-ch-btn::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(107,83,68,0.25);
  flex-shrink: 0;
  transition: background 0.2s;
}

.sp-ch-btn.sp-ch-active {
  border-color: rgba(0,122,255,0.35);
  background: rgba(0,122,255,0.06);
  color: #0055c8;
}

.sp-ch-btn.sp-ch-active::before { background: #007aff; }

.sp-arrow {
  font-size: 1rem;
  color: rgba(107,83,68,0.25);
  text-align: center;
}

.sp-arrow.sp-arrow-live {
  color: #007aff;
  animation: sp-pulse 1s ease infinite;
}

@keyframes sp-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

/* Поле ввода чата */
.sp-compose {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.10);
  padding: 6px 8px;
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
}

.sp-input {
  flex: 1;
  border: 1px solid #e5e5ea;
  border-radius: 14px;
  background: #f2f2f7;
  padding: 5px 10px;
  font-family: "Jost", sans-serif;
  font-size: 0.58rem;
  font-weight: 300;
  color: #1c1c1e;
  outline: none;
}

.sp-input::placeholder { color: #aeaeb2; }
.sp-input:focus { border-color: #007aff; }

.sp-send-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #007aff;
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.sp-send-btn:hover { opacity: 0.85; }

/* ══════════════════════════════════════════════════
   СЦЕНА — iframe планера
   ══════════════════════════════════════════════════ */
.scena-iframe-wrap {
  width: 100%;
  border: 1px solid var(--sepia-faint);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.scena-iframe {
  width: 100%;
  height: 680px;
  border: none;
  display: block;
}

.scena-open-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: "Jost", sans-serif;
  font-size: 0.60rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sepia);
  text-decoration: none;
  border: 1px solid rgba(107,83,68,0.28);
  padding: 10px 22px;
  transition: background 0.2s, color 0.2s;
}

.scena-open-link:hover { background: var(--sepia); color: #fff; }
