/* WebsceptBoty chat widget. Webscepts blue by default; red, green and gold
   (with a Santa hat) while the Christmas Offer runs. */
.botyRoot {
  --boty-a: #0b5cff;
  --boty-b: #3b2cc9;
  --boty-c: #071a4a;
  --boty-accent: #22d3ee;
  --boty-ink: #0f172a;
  --boty-muted: #64748b;
  --boty-line: #e2e8f0;
  --boty-soft: #f4f7ff;
  --boty-radius: 22px;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147482000;
  font-family: var(--font-sans, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif);
  color: var(--boty-ink);
  -webkit-font-smoothing: antialiased;
}
.botyRoot.isChristmas { --boty-a: #c8102e; --boty-b: #8f0f22; --boty-c: #0d5c3a; --boty-accent: #ffd86b; --boty-soft: #fff7f4; }
.botyRoot *, .botyRoot *::before, .botyRoot *::after { box-sizing: border-box; }
.botyRoot [hidden] { display: none !important; }
.botyRoot button, .botyRoot input, .botyRoot select, .botyRoot textarea { font: inherit; color: inherit; }

/* The Paid2Marketing button only appears when a visitor asks for a person. */
#p2m-chat-launcher { display: none !important; }

/* ---- launcher ---------------------------------------------------------------- */
.botyLauncher {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-left: auto;
  padding: 3px;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--boty-a), var(--boty-accent), var(--boty-b), var(--boty-a));
  box-shadow: 0 14px 34px -10px rgba(11, 92, 255, 0.6);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.botyRoot.isChristmas .botyLauncher { box-shadow: 0 14px 34px -10px rgba(200, 16, 46, 0.65); }
.botyLauncher:hover { transform: translateY(-2px) scale(1.04); }
.botyLauncher:focus-visible { outline: 3px solid var(--boty-accent); outline-offset: 3px; }
.botyLauncher::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--boty-a);
  opacity: 0;
  animation: botyRing 2.8s ease-out infinite;
}
.botyRoot.isOpen .botyLauncher::before { animation: none; }
.botyLauncherAvatar { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fff; overflow: hidden; }
.botyOnlineDot { position: absolute; right: 4px; bottom: 4px; width: 14px; height: 14px; border-radius: 50%; background: #22c55e; border: 2.5px solid #fff; }
@keyframes botyRing { 0% { transform: scale(0.9); opacity: 0.55; } 100% { transform: scale(1.35); opacity: 0; } }

/* Robot details. */
.botyAvatarSvg .botyHat { display: none; }
.botyRoot.isChristmas .botyAvatarSvg .botyHat { display: inline; }
.botyAvatarSvg .botyAntenna { animation: botyBlink 2.4s ease-in-out infinite; }
.botyAvatarSvg .botyEyes { transform-origin: 32px 30px; animation: botyEyes 5s infinite; }
@keyframes botyBlink { 50% { fill: #a5f3fc; } }
@keyframes botyEyes { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }

/* ---- nudge bubble ---------------------------------------------------------- */
.botyNudge {
  position: absolute;
  right: 4px;
  bottom: 78px;
  width: 260px;
  padding: 14px 34px 14px 16px;
  border-radius: 18px 18px 6px 18px;
  background: #fff;
  box-shadow: 0 18px 44px -12px rgba(15, 23, 42, 0.35);
  cursor: pointer;
  animation: botyPop 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.botyNudge strong { display: block; margin-bottom: 3px; font-size: 14px; }
.botyNudgeText { display: block; color: var(--boty-muted); font-size: 13px; line-height: 1.45; }
.botyNudgeClose { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--boty-soft); color: var(--boty-muted); cursor: pointer; font-size: 11px; }

/* ---- panel ------------------------------------------------------------------- */
.botyPanel {
  position: absolute;
  right: 0;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  width: min(400px, calc(100vw - 32px));
  height: min(640px, calc(100vh - 120px));
  border-radius: var(--boty-radius);
  background: linear-gradient(180deg, #fff 0%, var(--boty-soft) 100%);
  box-shadow: 0 30px 80px -20px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transform-origin: bottom right;
  animation: botyPop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes botyPop { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }

.botyHead {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px 16px 16px;
  color: #fff;
  background: linear-gradient(120deg, var(--boty-c) 0%, var(--boty-b) 45%, var(--boty-a) 100%);
  overflow: hidden;
}
.botySky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 18% 30%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1px 1px at 42% 70%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(2px 2px at 70% 22%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 64%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%);
  animation: botyStars 6s ease-in-out infinite alternate;
}
.botyRoot.isChristmas .botySky { animation: botySnowfall 8s linear infinite; }
@keyframes botyStars { to { opacity: 0.55; } }
@keyframes botySnowfall { from { background-position: 0 -30px, 0 -50px, 0 -20px, 0 -40px, 0 0; } to { background-position: 0 80px, 0 60px, 0 90px, 0 70px, 0 0; } }
.botyHeadAvatar { position: relative; display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
.botyHeadText { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.botyName { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.botySubtitle { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255, 255, 255, 0.85); }
.botySubtitleText { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.botyLive { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); animation: botyLive 2s infinite; }
@keyframes botyLive { 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.botyHeadActions { position: relative; display: flex; gap: 6px; }
.botyHeadBtn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.botyHeadBtn:hover { background: rgba(255, 255, 255, 0.24); }
.botyCollapse:hover { transform: translateY(2px); }
.botyHeadBtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.botyMenu {
  position: absolute;
  top: 74px;
  right: 14px;
  z-index: 3;
  display: grid;
  min-width: 210px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.35);
}
.botyMenu button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; text-align: left; cursor: pointer; font-size: 14px; }
.botyMenu button:hover, .botyMenu button:focus-visible { background: var(--boty-soft); outline: none; }

/* ---- conversation ------------------------------------------------------------ */
.botyLog { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 14px 8px; scroll-behavior: smooth; overscroll-behavior: contain; }
.botyRow { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 14px; animation: botyIn 0.3s ease both; }
@keyframes botyIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.botyRow.isMine { justify-content: flex-end; }
.botyRowAvatar { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12); }
.botyBubbleWrap { display: flex; flex-direction: column; gap: 8px; max-width: 86%; min-width: 0; }
.botyRow.isMine .botyBubbleWrap { align-items: flex-end; }
.botyBubble { padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 0 0 1px var(--boty-line); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.botyRow.isMine .botyBubble { border-radius: 18px 18px 6px 18px; background: linear-gradient(135deg, var(--boty-a), var(--boty-b)); color: #fff; box-shadow: 0 8px 20px -10px var(--boty-a); }
.botyBubble p { margin: 0; }
.botyRich p + p, .botyRich p + ul, .botyRich ul + p { margin-top: 8px; }
.botyRich ul { margin: 6px 0 0; padding-left: 18px; }
.botyRich li + li { margin-top: 3px; }
.botyRich a { color: var(--boty-a); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.botyTime { font-size: 11px; color: var(--boty-muted); padding: 0 4px; }
.botyDots { display: inline-flex; gap: 4px; padding: 3px 0; }
.botyDots i { width: 7px; height: 7px; border-radius: 50%; background: var(--boty-a); opacity: 0.35; animation: botyDot 1.1s infinite; }
.botyDots i:nth-child(2) { animation-delay: 0.15s; }
.botyDots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes botyDot { 30% { opacity: 1; transform: translateY(-3px); } }

.botyChips { display: flex; gap: 8px; padding: 4px 14px 10px; overflow-x: auto; scrollbar-width: none; }
.botyChips::-webkit-scrollbar { display: none; }
.botyChip {
  flex: none;
  padding: 8px 14px;
  border: 1.5px solid color-mix(in srgb, var(--boty-a) 35%, transparent);
  border-radius: 999px;
  background: #fff;
  color: var(--boty-a);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.botyChip:hover, .botyChip:focus-visible { background: var(--boty-a); color: #fff; transform: translateY(-1px); outline: none; }

.botyComposer { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 6px 6px 6px 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1.5px var(--boty-line), 0 8px 20px -14px rgba(15, 23, 42, 0.4); transition: box-shadow 0.2s ease; }
.botyComposer:focus-within { box-shadow: 0 0 0 2px var(--boty-a), 0 8px 20px -14px rgba(15, 23, 42, 0.4); }
.botyInput { flex: 1; min-height: 24px; max-height: 120px; margin: 8px 0; padding: 0; border: 0; outline: none; resize: none; background: none; font-size: 14.5px; line-height: 1.45; }
.botySend { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--boty-a), var(--boty-b)); color: #fff; cursor: pointer; transition: transform 0.15s ease, opacity 0.15s ease; }
.botySend:hover { transform: scale(1.05); }
.botySend:disabled { opacity: 0.5; cursor: progress; }
.botySend:focus-visible { outline: 2px solid var(--boty-a); outline-offset: 2px; }
.botyFoot { margin: 8px 16px 12px; color: var(--boty-muted); font-size: 11px; text-align: center; }
.botyFoot a { color: inherit; font-weight: 700; }

/* ---- cards --------------------------------------------------------------------- */
.botyCard { padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--boty-line), 0 10px 24px -18px rgba(15, 23, 42, 0.5); font-size: 13.5px; }
.botyCardHead { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.botyCardHead .fa-solid { color: var(--boty-a); }
.botyCardHead.isOk, .botyCardHead.isOk .fa-solid, .botyNote.isOk { color: #15803d; }
.botyNote { margin: 6px 0 0; color: var(--boty-muted); font-size: 12.5px; line-height: 1.45; }
.botyError { margin: 8px 0 0; color: #dc2626; font-size: 12.5px; font-weight: 600; }
.botyPill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; text-transform: capitalize; white-space: nowrap; }
.botyPill.is-answered, .is-available > .botyPill, .botyPill.is-active, .botyPill.is-registered { background: #dcfce7; color: #15803d; }
.botyPill.is-open, .botyPill.is-in_progress { background: #dbeafe; color: #1d4ed8; }
.is-taken > .botyPill, .botyPill.is-suspended, .botyPill.is-overdue { background: #fee2e2; color: #b91c1c; }
.botyMiniBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--boty-a), var(--boty-b));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.botyMiniBtn:hover, .botyMiniBtn:focus-visible { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -8px var(--boty-a); outline: none; }
.botyMiniBtn:disabled { opacity: 0.6; cursor: progress; }
.botyMiniBtn.isWide { width: 100%; margin-top: 10px; }
.botyMiniBtn.isGold { background: linear-gradient(90deg, #ffd86b, #ffbf47); color: #4a0a14; }
.botyLink, .botyLinkBtn { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--boty-a); font-size: 12.5px; font-weight: 800; text-decoration: none; cursor: pointer; }

.botyDomain { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 8px; padding: 9px 0; border-top: 1px solid var(--boty-line); }
.botyDomainName { font-weight: 800; overflow-wrap: anywhere; }
.botyDomainPrice { color: var(--boty-muted); font-size: 12.5px; }
.botyDomain .botyMiniBtn { justify-self: end; padding: 6px 12px; }

.botyPlans { display: flex; gap: 10px; margin: 0 -4px; padding: 2px 4px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.botyPlan { position: relative; display: flex; flex-direction: column; gap: 4px; flex: 0 0 200px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--boty-line), 0 10px 24px -18px rgba(15, 23, 42, 0.5); scroll-snap-align: start; }
.botyPlan.isOnSale { background: linear-gradient(160deg, #fff 40%, color-mix(in srgb, var(--boty-a) 7%, #fff)); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--boty-a) 45%, transparent), 0 14px 28px -18px var(--boty-a); }
.botySaleTag, .botyBadge { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: linear-gradient(90deg, var(--boty-a), var(--boty-b)); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.03em; }
.botyRoot.isChristmas .botySaleTag { background: linear-gradient(90deg, #ffd86b, #ff8fa0); color: #4a0a14; }
.botyBadge { background: #eef2ff; color: #4338ca; }
.botyPlanName { margin-top: 4px; font-size: 15px; }
.botyPlanCat { color: var(--boty-muted); font-size: 12px; }
.botyWas { margin-top: 6px; color: #94a3b8; font-size: 12.5px; text-decoration: line-through; }
.botyPrice { display: flex; align-items: baseline; gap: 4px; }
.botyPrice b { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.botyPrice small { color: var(--boty-muted); }
.botyPlanAlt { color: var(--boty-muted); font-size: 11.5px; }
.botyPlan ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: #334155; }
.botyPlan li { display: flex; gap: 6px; margin-top: 3px; }
.botyPlan li .fa-check { margin-top: 3px; color: #16a34a; font-size: 10px; }
.botyPlan .botyMiniBtn { margin-top: auto; }

.botyStatus.isGood .botyCardHead .fa-solid { color: #16a34a; }
.botyStatus.isWarn .botyCardHead .fa-solid { color: #d97706; }
.botyStatus .botyCardHead .botyPill { margin-left: auto; }
.botyServer { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--boty-line); font-size: 13px; }
.botyDot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #94a3b8; }
.botyServer.is-online .botyDot { background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }
.botyServer.is-offline .botyDot { background: #ef4444; box-shadow: 0 0 0 3px #fee2e2; }
.botyServerName { font-weight: 700; }
.botyServerLoc { color: var(--boty-muted); font-size: 12px; }
.botyServerMs { margin-left: auto; color: var(--boty-muted); font-size: 12px; font-variant-numeric: tabular-nums; }

.botyPromo { position: relative; display: flex; flex-direction: column; gap: 4px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #071a4a, #0b5cff 60%, #22d3ee); box-shadow: 0 16px 34px -18px #0b5cff; }
.botyPromo.isChristmas { background: linear-gradient(135deg, #6e0b1b, #b3132b 50%, #0d5c3a); box-shadow: 0 16px 34px -18px #b3132b; }
.botyPromoGlow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(1.5px 1.5px at 15% 25%, #fff, transparent 60%), radial-gradient(2px 2px at 60% 15%, #fff, transparent 60%), radial-gradient(1.5px 1.5px at 85% 60%, #fff, transparent 60%), radial-gradient(80% 90% at 100% 0%, rgba(255, 255, 255, 0.2), transparent 60%); animation: botySnowfall 7s linear infinite; }
.botyPromoBadge { position: relative; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #ffd86b; color: #4a0a14; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.botyPromoBig { position: relative; margin-top: 6px; font-size: 34px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(180deg, #fff6d8, #ffd86b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.botyPromoSub { position: relative; color: rgba(255, 255, 255, 0.85); font-size: 12.5px; }
.botyCountdown { position: relative; margin-top: 4px; color: #ffd86b; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.botyPromo .botyMiniBtn { position: relative; align-self: flex-start; margin-top: 10px; }

.botyAuthForm { display: grid; gap: 8px; }
.botyField { width: 100%; padding: 10px 12px; border: 1.5px solid var(--boty-line); border-radius: 12px; background: #fff; font-size: 14px; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.botyField:focus { border-color: var(--boty-a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--boty-a) 18%, transparent); }
textarea.botyField { resize: vertical; min-height: 70px; }
.botyCodeRow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 12px; }
.botyCodeBox { width: 100%; height: 46px; padding: 0; border: 1.5px solid var(--boty-line); border-radius: 12px; background: #fff; font-size: 20px; font-weight: 800; text-align: center; outline: none; }
.botyCodeBox:focus { border-color: var(--boty-a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--boty-a) 18%, transparent); }

.botyTicket { display: grid; gap: 3px; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--boty-line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; }
.botyTicket:hover, .botyTicket:focus-visible { border-color: var(--boty-a); transform: translateX(2px); outline: none; }
.botyTicket.isNew { border-color: #86efac; background: #f0fdf4; }
.botyTicketTop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.botyTicketSubject { font-weight: 700; }
.botyTicketLast { color: var(--boty-muted); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.botyTicketView > .botyPill { margin-bottom: 8px; }
.botyThread { display: grid; gap: 8px; max-height: 260px; margin: 6px 0 10px; padding-right: 4px; overflow-y: auto; }
.botyMsg { padding: 9px 11px; border-radius: 12px; background: var(--boty-soft); }
.botyMsg.isStaff { background: #f0fdf4; box-shadow: inset 3px 0 0 #22c55e; }
.botyMsg.isYou { background: #eff6ff; box-shadow: inset 3px 0 0 var(--boty-a); }
.botyMsgMeta { display: block; margin-bottom: 3px; color: var(--boty-muted); font-size: 11px; font-weight: 700; }
.botyMsg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.botyOverviewSection + .botyOverviewSection { margin-top: 12px; }
.botyOverviewTitle { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--boty-muted); }
.botyLine { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 6px 0; border-top: 1px solid var(--boty-line); }
.botyLine small { width: 100%; color: var(--boty-muted); font-size: 11.5px; }

@media (prefers-reduced-motion: reduce) {
  .botyRoot *, .botyRoot *::before, .botyRoot *::after { animation: none !important; transition: none !important; }
}

/* ============================================================================
   PEEK-style card look: deep gradient header with soft arcs and sparkles,
   ringed avatar and collapse button, underlined assistant subtitle, soft
   lavender body and bordered info cards.
   ========================================================================== */
.botyRoot {
  --boty-a: #4b3fb0;
  --boty-b: #3a2d86;
  --boty-c: #22195a;
  --boty-deep: #4a2f9e;
  --boty-ink: #1d1630;
  --boty-muted: #625b75;
  --boty-line: #e2dcf0;
  --boty-soft: #f1eef9;
}
.botyRoot.isChristmas { --boty-a: #b3132b; --boty-b: #8f0f22; --boty-c: #4a0812; --boty-deep: #a3112a; --boty-line: #efdcdc; --boty-soft: #fbf1ef; }

.botyPanel {
  width: min(380px, calc(100vw - 32px));
  border-radius: 26px;
  background: linear-gradient(180deg, #fcfbff 0%, var(--boty-soft) 100%);
  box-shadow: 0 30px 70px -24px rgba(29, 22, 48, 0.5), 0 0 0 1px var(--boty-line);
}

.botyHead {
  gap: 14px;
  min-height: 98px;
  padding: 18px 16px 18px 18px;
  background: linear-gradient(118deg, var(--boty-c) 0%, var(--boty-b) 52%, var(--boty-a) 100%);
}
.botyRoot.isChristmas .botyHead { background: linear-gradient(118deg, #0d4d33 0%, #6e0b1b 45%, #b3132b 100%); }
/* Soft arcs sweeping across the header. */
.botyHead::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(140% 120% at 115% 130%, transparent 55%, rgba(255, 255, 255, 0.12) 55.4%, transparent 56.4%),
    radial-gradient(130% 120% at 120% 145%, transparent 60%, rgba(255, 255, 255, 0.09) 60.4%, transparent 61.4%),
    radial-gradient(150% 130% at 110% 160%, transparent 66%, rgba(255, 255, 255, 0.07) 66.4%, transparent 67.4%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px);
}
.botySky {
  background:
    radial-gradient(1.6px 1.6px at 44% 18%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 63% 78%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(2.2px 2.2px at 78% 30%, #fff, transparent 60%),
    radial-gradient(1.4px 1.4px at 92% 82%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, 0.14), transparent 60%);
}
.botyHeadAvatar {
  width: 62px;
  height: 62px;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #f1eefb 100%);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55), 0 0 0 7px rgba(255, 255, 255, 0.12), 0 10px 24px -8px rgba(0, 0, 0, 0.45);
}
.botyName { font-size: 23px; font-weight: 800; letter-spacing: -0.015em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.botySubtitle { gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.9); }
.botyLive { width: 7px; height: 7px; background: #c9c3dd; box-shadow: none; animation: none; }
.botySubtitleText { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.6); }

.botyHeadActions { align-items: center; gap: 8px; }
.botyHeadBtn:not(.botyCollapse) { width: 32px; height: 32px; border-color: rgba(255, 255, 255, 0.3); background: transparent; font-size: 12px; }
.botyCollapse {
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.1), inset 0 0 0 6.5px rgba(255, 255, 255, 0.35);
  font-size: 15px;
}
.botyCollapse:hover { background: rgba(255, 255, 255, 0.16); }

/* Intro card: bold heading, bordered info box with a big coloured value. */
.botyIntro { margin: 2px 4px 18px; animation: botyIn 0.35s ease both; }
.botyIntroTitle { margin: 4px 0 14px; color: var(--boty-ink); font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.botyInfo {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--boty-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fdfcff);
  box-shadow: 0 6px 18px -14px rgba(29, 22, 48, 0.45);
}
.botyInfoLabel { color: var(--boty-muted); font-size: 13.5px; }
.botyInfoValue { color: var(--boty-deep); font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.botyInfoCaption { color: #6f6884; font-size: 12px; }
.botyIntroText { margin: 16px 2px 0; color: var(--boty-muted); font-size: 14.5px; line-height: 1.75; }

/* Messages and controls in the same soft palette. */
.botyBubble { border-radius: 18px 18px 18px 6px; box-shadow: 0 0 0 1px var(--boty-line), 0 6px 16px -14px rgba(29, 22, 48, 0.5); color: var(--boty-ink); }
.botyRowAvatar { box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(29, 22, 48, 0.18); }
.botyCard, .botyPlan { box-shadow: 0 0 0 1px var(--boty-line), 0 8px 20px -16px rgba(29, 22, 48, 0.5); }
.botyChip { border-color: var(--boty-line); background: #fff; color: var(--boty-deep); }
.botyComposer { border-radius: 16px; box-shadow: 0 0 0 1px var(--boty-line), 0 10px 22px -16px rgba(29, 22, 48, 0.45); }
.botyLauncher { background: conic-gradient(from 200deg, var(--boty-c), var(--boty-a), #c9c3ff, var(--boty-b), var(--boty-c)); box-shadow: 0 14px 34px -10px rgba(58, 45, 134, 0.65); }
.botyRoot.isChristmas .botyLauncher { background: conic-gradient(from 200deg, #0d4d33, #b3132b, #ffd86b, #8f0f22, #0d4d33); }

/* Footer chat options (New chat · Talk to a person · Sign out). */
.botyActions { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; margin: 10px 16px 0; }
.botyAction { display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; border: 0; background: none; color: var(--boty-deep); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.botyAction:hover, .botyAction:focus-visible { text-decoration: underline; text-underline-offset: 3px; outline: none; }
.botyAction .fa-solid { font-size: 11px; opacity: 0.8; }
.botyFoot { margin-top: 4px; }

.botyPanel { container-type: inline-size; }
.botyRoot .botyName { color: #fff; font-size: clamp(1rem, 5cqi, 1.1875rem); }
.botyRoot .botyIntro { margin-bottom: 12px; }
.botyRoot .botyIntroTitle { margin: 2px 0 9px; font-size: clamp(.9375rem, 4.5cqi, 1.0625rem); line-height: 1.3; }
.botyRoot .botyInfo { gap: 4px; padding: 10px 12px; }
.botyRoot .botyInfoLabel, .botyRoot .botyIntroText, .botyRoot .botyBubble {
  font-size: clamp(.8125rem, 3.6cqi, .875rem);
  line-height: 1.45;
}
.botyRoot .botyInfoValue { font-size: clamp(.9375rem, 4.5cqi, 1.0625rem); line-height: 1.25; }
.botyRoot .botyInfoCaption { font-size: .6875rem; }
.botyRoot .botyIntroText { margin-top: 9px; }
.botyRoot .botyBubble { padding: 9px 11px; }
.botyRoot .botyPromoBig { font-size: clamp(1.5rem, 7cqi, 1.75rem); color: #ffecb5; }
.botyRoot .botyChip, .botyRoot .botyAction { font-size: .8125rem; }
.botySubtitle, .botySubtitleText, .botyRoot .botyInput { min-width: 0; }
.botySubtitleText { white-space: normal; overflow-wrap: anywhere; }
.botyLive, .botyHeadActions, .botyHead, .botyChips, .botyComposer, .botyActions, .botyFoot { flex-shrink: 0; }
.botyPanel { height: min(640px, calc(100dvh - 120px)); }
.botyPlanCarousel { min-width: 0; }
.botyPlans { touch-action: pan-x pan-y; overscroll-behavior-inline: contain; scroll-padding-inline: 4px; }
.botyPlan { flex-basis: min(200px, 92%); }
.botyPlanControls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.botyRoot .botyPlanArrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--boty-line);
  border-radius: 50%;
  background: #fff;
  color: var(--boty-deep);
  font-size: 14px;
  cursor: pointer;
}
.botyPlanArrow:focus-visible { outline: 2px solid var(--boty-deep); outline-offset: 2px; }
.botyPlanArrow:disabled { opacity: .4; cursor: default; }
.botyRoot .botySend { color: #fff; }

@media (max-width: 520px), (max-height: 520px) {
  .botyRoot { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .botyRoot.isOpen .botyLauncher, .botyRoot.isOpen .botyNudge { display: none; }
  .botyRoot.isOpen .botyPanel {
    position: fixed;
    inset: var(--boty-viewport-top, 0px) 0 auto;
    width: 100%;
    height: var(--boty-viewport-height, 100dvh);
    border-radius: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    animation: none;
  }
  .botyHead { min-height: 0; gap: 10px; padding: 10px 12px; }
  .botyHeadAvatar { width: 42px; height: 42px; }
  .botyHeadAvatar svg { width: 34px; height: 34px; }
  .botySubtitle { gap: 5px; font-size: 11px; line-height: 1.35; }
  .botyCollapse { width: 44px; height: 44px; }
  .botyLog { padding: 12px 10px 6px; }
  .botyChips { padding: 4px 10px 8px; }
  .botyRoot .botyInput { font-size: 16px; }
  .botyActions { margin: 4px 10px 0; }
  .botyFoot { margin: 2px 12px 6px; }
}
