@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url('/fonts/manrope-cyrillic.woff2') format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url('/fonts/manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Rubik';font-style:normal;font-weight:400 800;font-display:swap;src:url('/fonts/rubik-cyrillic.woff2') format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Rubik';font-style:normal;font-weight:400 800;font-display:swap;src:url('/fonts/rubik-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Сцена — «мир» с двумя телефонами, камера (transform мира) наезжает на важные детали.
   Все состояния считаются из одного времени t — поэтому работают пауза, перемотка и шаги назад. */
.fl-demo {
  --fl-ink: #160e28;
  --fl-ink-2: #4a3870;
  --fl-muted: #7868a0;
  --fl-accent: #6040a0;
  --fl-accent-soft: #e8defc;
  --fl-panel: #ffffff;
  --fl-line: rgba(120, 104, 160, .22);
  --fl-stage: #ebe5fa;
  --fl-stage-2: #f6f1ff;
  --fl-mark: 255, 168, 46;
  --fl-display: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --fl-body: 'Rubik', 'Segoe UI', system-ui, sans-serif;
  --fl-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--fl-body);
  color: var(--fl-ink);
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-font-smoothing: antialiased;
}
.fl-demo *, .fl-demo *::before, .fl-demo *::after { box-sizing: border-box; }
.fl-demo button { font: inherit; }

/* ---------- Сцена ---------- */
.fl-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 68vh;
  min-height: 340px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(60% 70% at 18% 20%, #f8f3ff 0%, rgba(248,243,255,0) 70%),
    radial-gradient(50% 60% at 85% 85%, #e2d6fb 0%, rgba(226,214,251,0) 70%),
    linear-gradient(160deg, var(--fl-stage-2), var(--fl-stage));
  isolation: isolate;
  transition: opacity .2s ease;
}
.fl-viewport.is-fading { opacity: .35; }
.fl-viewport.is-looping { opacity: 0; transition-duration: .25s; }
.fl-world {
  position: absolute;
  left: 0; top: 0;
  width: 1560px;
  height: 900px;
  transform-origin: 0 0;
}
.fl-switch {
  position: absolute;
  left: 50%; top: 18px;
  z-index: 20;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: var(--fl-ink);
  color: #fff;
  font: 700 15px/1.2 var(--fl-display);
  box-shadow: 0 12px 30px -10px rgba(22,14,40,.55);
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
}
.fl-switch-ava { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #ffd9a0; color: #4a2a00; font-size: 14px; }

/* Подписи ролей над телефонами */
.fl-role {
  position: absolute;
  top: 6px;
  width: 380px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 17px/1.2 var(--fl-display);
  color: var(--fl-ink);
  transition: none;
}
.fl-role small { display: block; font: 400 14px/1.3 var(--fl-body); color: var(--fl-ink-2); }
.fl-role-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 16px/1 var(--fl-display); flex: none; }
.fl-role--owner { left: 60px; }
.fl-role--owner .fl-role-ava { background: var(--fl-accent); color: #fff; }
.fl-role--friend { left: 960px; }
.fl-role--friend .fl-role-ava { background: #ffd9a0; color: #4a2a00; }

/* ---------- Телефон ---------- */
.fl-phone {
  position: absolute;
  top: 60px;
  width: 380px; height: 780px;
  padding: 10px;
  border-radius: 54px;
  background: linear-gradient(145deg, #2a2240, #120c22);
  box-shadow:
    0 60px 90px -40px rgba(40, 20, 90, .55),
    0 24px 40px -24px rgba(40, 20, 90, .45),
    inset 0 0 0 1.5px rgba(255,255,255,.10);
}
.fl-phone--owner { left: 60px; }
.fl-phone--friend { left: 960px; }
.fl-screen {
  position: relative;
  width: 360px; height: 760px;
  border-radius: 44px;
  overflow: hidden;
  background: #fff;
}
.fl-dim {
  position: absolute; inset: 0;
  z-index: 30;
  border-radius: 44px;
  background: rgba(236, 230, 250, .62);
  pointer-events: none;
  opacity: 0;
}
.fl-status {
  position: relative;
  z-index: 4;
  height: 28px;
  padding: 0 30px;
  display: flex; align-items: center; justify-content: space-between;
  font: 600 13px/1 var(--fl-ui);
  color: #1b1530;
}
.fl-status::after {
  content: "";
  position: absolute; left: 50%; top: 6px;
  width: 86px; height: 20px; margin-left: -43px;
  border-radius: 12px; background: #120c22;
}
.fl-status-icons { display: flex; align-items: center; gap: 5px; }
.fl-status-icons i { display: block; width: 3px; background: #1b1530; border-radius: 1px; }
.fl-status-icons i:nth-child(1) { height: 4px; } .fl-status-icons i:nth-child(2) { height: 6px; }
.fl-status-icons i:nth-child(3) { height: 8px; } .fl-status-icons i:nth-child(4) { height: 10px; }
.fl-status-icons b { display: block; width: 22px; height: 11px; margin-left: 4px; border: 1.5px solid #1b1530; border-radius: 3px; position: relative; }
.fl-status-icons b::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #1b1530; border-radius: 1px; }

/* ---------- Чат с ботом: стиль Telegram для iOS (зелёная тема) по скриншотам ---------- */
.fl-tg {
  display: flex; flex-direction: column;
  font-family: var(--fl-ui);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' fill='none' stroke='%23234d1f' stroke-opacity='.11' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='14' y='22' width='26' height='20' rx='3'/%3E%3Cpath d='M14 30h26M27 22v20M27 22c-4-7-11-4-7 0M27 22c4-7 11-4 7 0'/%3E%3Cpath d='M120 18l3.5 7 7.7 1.1-5.6 5.4 1.3 7.6-6.9-3.6-6.9 3.6 1.3-7.6-5.6-5.4 7.7-1.1z'/%3E%3Cpath d='M70 92c-6-6-15 1-9 8l9 8 9-8c6-7-3-14-9-8z'/%3E%3Ccircle cx='150' cy='110' r='10'/%3E%3Cpath d='M145 110h10'/%3E%3Cpath d='M30 130c6-8 14 8 20 0s14 8 20 0'/%3E%3Cpath d='M110 150h18v12a6 6 0 01-6 6h-6a6 6 0 01-6-6zM128 154h4a3 3 0 010 6h-4'/%3E%3Ccircle cx='90' cy='40' r='3'/%3E%3Ccircle cx='160' cy='60' r='2.5'/%3E%3Ccircle cx='40' cy='170' r='2.5'/%3E%3C/svg%3E") 0 0 / 180px 180px,
    radial-gradient(70% 45% at 8% 4%, #dfe08e 0%, rgba(223,224,142,0) 70%),
    radial-gradient(55% 45% at 100% 40%, #c3e2b0 0%, rgba(195,226,176,0) 70%),
    radial-gradient(70% 55% at 35% 72%, #58a862 0%, rgba(88,168,98,0) 70%),
    linear-gradient(165deg, #c6d87f 0%, #8cc271 38%, #6cb46b 64%, #b3d9a3 100%);
}
.fl-tg .fl-status { color: #000; }
.fl-tg-head {
  position: relative; z-index: 3;
  height: 56px; flex: none;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 10px;
}
.fl-glass {
  background: rgba(241, 250, 230, .74);
  box-shadow: 0 1px 3px rgba(30, 60, 20, .14), inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.fl-tg-backpill { height: 40px; padding: 0 8px 0 6px; border-radius: 20px; display: flex; align-items: center; gap: 3px; flex: none; }
.fl-tg-backpill svg { width: 22px; height: 22px; color: #000; }
.fl-tg-backpill b { min-width: 26px; height: 20px; padding: 0 6px; border-radius: 10px; background: #000; color: #fff; font: 600 12.5px/20px var(--fl-ui); text-align: center; }
.fl-tg-title { height: 40px; padding: 0 16px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.fl-tg-name { font-size: 15px; font-weight: 600; color: #000; line-height: 18px; white-space: nowrap; }
.fl-tg-sub { font-size: 11.5px; color: #7c8877; line-height: 14px; }
.fl-tg-ava { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 3px rgba(30,60,20,.18), 0 0 0 2.5px rgba(241,250,230,.8); }
.fl-tg-ava svg { width: 30px; height: 30px; }
.fl-tg-chat { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.fl-tg-feed {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  padding: 0 6px 6px;
}
.fl-date { align-self: center; margin: 4px 0 2px; padding: 3px 10px; border-radius: 999px; background: rgba(46, 112, 40, .42); color: #fff; font: 500 13px/17px var(--fl-ui); }
.fl-msg { display: grid; grid-template-rows: 1fr; }
.fl-msg-in { min-height: 0; overflow: hidden; padding: 5px 5px 2px; }
.fl-msg-body { transform-origin: 0 100%; }
.fl-msg--me .fl-msg-in { display: flex; justify-content: flex-end; }
.fl-msg--me .fl-msg-body { transform-origin: 100% 100%; }
.fl-bubble {
  position: relative;
  padding: 7px 11px 7px 12px;
  border-radius: 18px;
  font-size: 15.5px; line-height: 20.5px;
  color: #000;
  overflow-wrap: anywhere;
}
.fl-bubble--bot { background: #fff; border-bottom-left-radius: 6px; }
.fl-bubble--me { background: #e1f8cb; border-bottom-right-radius: 6px; max-width: 80%; }
.fl-bubble .fl-gap { display: block; height: 10px; }
.fl-bubble a, .fl-tg-link { color: #2a64c4; text-decoration: none; }
.fl-tm { float: right; position: relative; top: 7px; margin-left: 10px; font-size: 11px; line-height: 14px; color: #a1a8a0; }
.fl-bubble--me .fl-tm { color: #58a85a; }
.fl-botgroup { width: 312px; max-width: 100%; }
.fl-ikb { display: grid; gap: 3px; margin-top: 3px; }
.fl-ikb span {
  display: block;
  height: 38px;
  padding: 0 10px;
  border-radius: 11px;
  background: rgba(46, 112, 40, .40);
  color: #fff;
  font-size: 15px; font-weight: 500; line-height: 38px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fl-ikb span.is-pressed { background: rgba(28, 78, 24, .62); transform: scale(.98); }
.fl-tg-input {
  position: relative; z-index: 3;
  height: 54px; flex: none;
  display: flex; align-items: center; gap: 7px;
  padding: 0 8px;
}
.fl-tg-menu { height: 36px; border-radius: 18px; flex: none; display: flex; align-items: center; justify-content: center; padding: 0 10px; background: #3478f6; color: #fff; font: 500 15px/1 var(--fl-ui); box-shadow: 0 1px 3px rgba(20,60,140,.3), inset 0 0 0 1.5px rgba(255,255,255,.35); overflow: hidden; }
.fl-tg-menu svg { width: 18px; height: 18px; flex: none; }
.fl-tg-menu-label { display: inline-block; overflow: hidden; white-space: nowrap; }
.fl-tg-round { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #3c4a38; }
.fl-tg-round svg { width: 20px; height: 20px; }
.fl-tg-field {
  flex: 1; min-width: 0;
  height: 36px; border-radius: 18px;
  display: flex; align-items: center;
  padding: 0 10px 0 14px;
  font-size: 15.5px; color: #000;
  white-space: nowrap; overflow: hidden;
}
.fl-tg-field.is-focus { background: rgba(255,255,255,.92); }
.fl-tg-ph { color: #8b9687; }
.fl-tg-field svg { width: 22px; height: 22px; margin-left: auto; flex: none; color: #5d6a58; }
.fl-tg .fl-caret { background: #3478f6; }
.fl-tg-act { position: relative; width: 36px; height: 36px; flex: none; }
.fl-tg-act > span { position: absolute; inset: 0; }
.fl-tg-send { border-radius: 50%; display: grid; place-items: center; background: #3478f6; color: #fff; opacity: 0; }
.fl-tg-send svg { width: 20px; height: 20px; }
.fl-tg-send.is-pressed { filter: brightness(.85); }
.fl-tg-kbwrap, .fl-ios-wrap { display: grid; grid-template-rows: 1fr; flex: none; }
.fl-tg-kbwrap > div, .fl-ios-wrap > div { min-height: 0; overflow: hidden; }
.fl-tg-kb {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px;
  padding: 10px 10px 20px;
  border-radius: 22px 22px 0 0;
  background: rgba(238, 246, 231, .8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.fl-tg-kb span {
  min-height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .66);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 3px 6px;
  font-size: 15.5px; line-height: 18px; color: #000;
}
.fl-tg-kb span.is-pressed { background: rgba(196, 214, 186, .95); transform: scale(.97); }
/* Системная клавиатура iOS (ЙЦУКЕН) — появляется при наборе названия */
.fl-ios {
  padding: 0 3px 8px;
  border-radius: 24px 24px 0 0;
  background: rgba(222, 231, 216, .95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  font-family: var(--fl-ui);
}
.fl-ios-sug { height: 38px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; text-align: center; font-size: 16px; color: #1c2219; }
.fl-ios-sug span + span { border-left: 1px solid rgba(0,0,0,.12); }
.fl-ios-row { display: flex; gap: 5px; margin-top: 10px; padding: 0 1px; }
.fl-ios-row:first-of-type { margin-top: 2px; }
.fl-ios-row span {
  flex: 1 1 0; min-width: 0;
  height: 40px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.88);
  box-shadow: 0 1px 0 rgba(0,0,0,.18);
  font-size: 20px; color: #000;
}
.fl-ios-row .w2 { flex-grow: 1.4; font-size: 16px; background: rgba(255,255,255,.55); }
.fl-ios-row .w5 { flex-grow: 5; }
.fl-ios-row span.is-pressed { background: #fff; transform: translateY(-6px) scale(1.25); box-shadow: 0 6px 14px rgba(0,0,0,.22); position: relative; z-index: 2; }
.fl-ios-bottom { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 6px 22px 0; color: #3b4637; }
.fl-ios-bottom svg { width: 26px; height: 26px; }

/* ---------- Браузер + веб-вишлист (по компонентам wishlist-web) ---------- */
.fl-web { background: #f8f6fe; font-family: 'Rubik', sans-serif; }
.fl-bbar {
  position: relative; z-index: 4;
  height: 56px;
  padding: 8px 12px 10px;
  background: #fcfbff;
  border-bottom: 1px solid #ece8f8;
}
.fl-url {
  height: 38px; border-radius: 12px;
  background: #ece8f8;
  display: flex; align-items: center; gap: 7px;
  padding: 0 12px;
  font: 400 14.5px/1 var(--fl-ui);
  color: #1b1530;
  white-space: nowrap; overflow: hidden;
}
.fl-url svg { width: 15px; height: 15px; color: #4a3870; flex: none; }
.fl-url-ph { color: #9890b8; }
.fl-url-text b { font-weight: 400; color: #8a80a6; }
.fl-load { position: absolute; left: 0; bottom: -1px; height: 2.5px; width: 0; background: #6040a0; border-radius: 0 2px 2px 0; }
.fl-page { position: absolute; top: 84px; left: 0; right: 0; bottom: 0; overflow: hidden; background: #f8f6fe; }
.fl-layer { position: absolute; inset: 0; padding: 48px 24px 96px; opacity: 0; }
.w-eyebrow { font: 700 12px/16px var(--fl-display); letter-spacing: .2em; text-transform: uppercase; color: #6040a0; opacity: .7; margin: 0; }
.w-title { font: 800 36px/1.25 var(--fl-display); letter-spacing: -.025em; color: #160e28; margin: 8px 0 0; text-wrap: balance; }
.w-lead { margin: 16px 0 0; font: 400 16px/1.625 var(--fl-body); color: #4a3870; }
.w-hero { margin-bottom: 32px; }
.w-list { display: flex; flex-direction: column; gap: 12px; }
.w-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(184, 172, 216, .3);
  background: #fff;
  padding: 20px;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.08), 0 1px 2px 0 rgba(0,0,0,.04);
}
.w-card--open { border-color: rgba(96, 64, 160, .25); box-shadow: 0 4px 16px 0 rgba(96,64,160,.10), 0 1px 4px 0 rgba(0,0,0,.07); }
.w-card--reserved { background: rgba(242, 240, 250, .7); border-color: rgba(184,172,216,.2); box-shadow: 0 1px 2px 0 rgba(0,0,0,.04); }
.w-card--reserved.w-card--open { background: #f2f0fa; border-color: rgba(184,172,216,.3); }
.w-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.w-card--open > .w-row { margin: -20px -20px 0; padding: 20px 20px 12px; }
.w-name { font: 400 20px/28px var(--fl-body); color: #160e28; min-width: 0; }
.w-card--reserved .w-name { color: #4a3870; text-decoration: line-through; text-decoration-color: rgba(96,64,160,.9); text-decoration-thickness: 1px; }
.w-chev { width: 24px; height: 24px; flex: none; color: #b8acd8; }
.w-card--open .w-chev { color: #6040a0; transform: rotate(90deg); }
.w-card--reserved.w-card--open .w-chev { color: rgba(96,64,160,.4); }
.w-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  margin-top: 36px;
  padding: 15px 0;
  border-radius: 16px;
  background: #6040a0; color: #fdf8ff;
  font: 600 14px/17px var(--fl-body); letter-spacing: .025em; text-transform: uppercase;
}
.w-btn.is-pressed { transform: scale(.95); }
.w-h3 { margin: 0 0 8px; padding: 0 8px; font: 600 12px/16px var(--fl-display); letter-spacing: .2em; text-transform: uppercase; color: #7868a0; }
.w-h3--primary { color: #6040a0; }
.w-reserved-head { margin-top: 56px; }
.w-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font: 500 12px/16px var(--fl-body); letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; padding: 4px 10px;
}
.w-badge svg { width: 15px; height: 15px; }
.w-badge--claimed { background: rgba(232,216,255,.6); color: #402870; }
.w-badge--gifting { background: #d8f0e8; color: #2a5044; }
.w-mine { padding: 20px; border-color: rgba(184,172,216,.4); box-shadow: 0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04); }
.w-mine .w-name { padding-right: 56px; }
.w-pencil { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; display: grid; place-items: center; color: #4a3870; }
.w-pencil svg { width: 20px; height: 20px; }
.w-badge-row { position: relative; margin-top: 32px; display: flex; }
.w-particle { position: absolute; font-size: 45px; line-height: 1; opacity: 0; pointer-events: none; }
.w-toggle { margin-top: 24px; padding: 0 8px; display: inline-flex; align-items: center; gap: 4px; font: 400 16px/1.5 var(--fl-body); color: #4a3870; }
.w-toggle span { text-decoration: underline; }
.w-toggle svg { width: 22px; height: 22px; }
.w-footer { margin: 48px -24px 0; padding: 32px 16px; border-top: 1px solid rgba(184,172,216,.3); text-align: center; font: 500 12px/1.4 var(--fl-body); color: rgba(74,56,112,.7); }
.w-footer b { color: #6040a0; font-weight: 600; }

/* Шторка брони (BookingDialog, мобильный вид) */
.fl-scrim { position: absolute; left: 0; right: 0; top: 84px; bottom: 0; z-index: 5; background: rgba(22,14,40,.6); opacity: 0; }
.fl-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  background: #f8f6fe;
  border-radius: 20px 20px 0 0;
  padding: 28px 24px 40px;
  display: flex; flex-direction: column; gap: 16px;
  transform: translateY(105%);
}
.fl-sheet-x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; display: grid; place-items: center; color: #4a3870; }
.fl-sheet-x svg { width: 20px; height: 20px; }
.fl-sheet h4 { margin: 0; padding-right: 32px; font: 800 20px/28px var(--fl-display); color: #160e28; }
.fl-sheet p { margin: 0; font: 400 16px/1.625 var(--fl-body); color: #4a3870; }
.fl-input {
  height: 50px; border-radius: 16px;
  background: #e5e0f4;
  padding: 0 18px;
  display: flex; align-items: center;
  font: 400 16px/1 var(--fl-body); color: #160e28;
}
.fl-input.is-focus { box-shadow: 0 0 0 2px rgba(96,64,160,.4); }
.fl-input-ph { color: rgba(74,56,112,.6); }
.fl-confirm {
  position: relative;
  min-height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #6040a0; color: #fdf8ff;
  font: 600 14px/17px var(--fl-body); letter-spacing: .025em; text-transform: uppercase;
}
.fl-confirm.is-pressed { transform: scale(.95); }
.fl-confirm.is-success { background: #3a6858; }
.fl-confirm-label, .fl-confirm-done, .fl-spinner { display: none; }
.fl-confirm[data-state="idle"] .fl-confirm-label { display: inline; }
.fl-confirm[data-state="busy"] .fl-spinner { display: block; }
.fl-confirm[data-state="done"] .fl-confirm-done { display: inline-flex; }
.fl-confirm-done { align-items: center; gap: 8px; }
.fl-confirm-done svg { width: 20px; height: 20px; position: relative; top: -1px; }
.fl-check { fill: none; stroke: #e0f4ec; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; }
.fl-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(253,248,255,.3); border-top-color: #fdf8ff; }

/* ---------- Аннотации поверх сцены ---------- */
[data-mark] { position: relative; }
[data-mark]::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: inherit;
  box-shadow: 0 0 0 2.5px rgba(var(--fl-mark), .95), 0 0 18px 2px rgba(var(--fl-mark), .55);
  opacity: var(--mark, 0);
  pointer-events: none;
}
.fl-tg-link[data-mark] { border-radius: 4px; background: rgba(var(--fl-mark), calc(.28 * var(--mark, 0))); }
.fl-tg-link[data-mark]::after { display: none; }
/* у инлайн-кнопок overflow: hidden (многоточие), поэтому подсветка — своей тенью */
.fl-ikb span[data-mark] { box-shadow: 0 0 0 calc(2.5px * var(--mark, 0)) rgba(var(--fl-mark), calc(.95 * var(--mark, 0))), 0 0 calc(16px * var(--mark, 0)) rgba(var(--fl-mark), calc(.5 * var(--mark, 0))); }
.fl-ikb span[data-mark]::after { display: none; }

.fl-chip {
  position: absolute; left: 0; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px;
  border-radius: 14px;
  background: #fff;
  color: #2b1d58;
  font: 500 15px/1 var(--fl-ui);
  white-space: nowrap;
  box-shadow: 0 18px 36px -12px rgba(40,20,90,.45), 0 0 0 1.5px rgba(var(--fl-mark), .9);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}
.fl-chip svg { width: 18px; height: 18px; color: var(--fl-accent); }

.fl-guests {
  position: absolute; z-index: 35;
  left: 1230px; top: 470px; width: 290px;
  padding: 16px 14px 14px;
  border-radius: 22px;
  background: #f8f6fe;
  box-shadow: 0 30px 60px -20px rgba(40,20,90,.45), 0 0 0 1px rgba(120,104,160,.18);
  opacity: 0;
}
.fl-guests-note { margin: 0 4px 12px; font: 600 14px/1.35 var(--fl-display); color: #160e28; }
.fl-guests .w-h3 { margin-bottom: 8px; }
.fl-guests .w-card { padding: 16px; }
.fl-guests .w-card--open > .w-row { margin: -16px -16px 0; padding: 16px 16px 10px; }
.fl-guests .w-badge-row { margin-top: 12px; }

.fl-touch {
  position: absolute; left: 0; top: 0; z-index: 50;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 2px solid rgba(22,14,40,.45);
  box-shadow: 0 8px 18px -4px rgba(22,14,40,.35);
  opacity: 0;
  pointer-events: none;
}
.fl-touch::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(96,64,160,.8);
  transform: scale(var(--ring-s, 1));
  opacity: var(--ring-o, 0);
}

.fl-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 640px) {
  .fl-viewport { aspect-ratio: 4 / 5; border-radius: 22px; }
}

/* Spacing belongs to the website; the animation itself keeps its source design. */
.demo-section{padding:0 var(--gutter) var(--section)}
.fl-demo h2,.fl-demo h3,.fl-demo h4,.fl-demo p,.fl-demo ol{letter-spacing:normal}
.fl-demo .fl-sr{list-style:none}
@media(prefers-reduced-motion:reduce){.fl-demo *,.fl-demo *::before,.fl-demo *::after{animation:none!important;transition:none!important}}
