/* Floating chat button, built by site.js on every page. Loaded without blocking the page. */
.yc { position: fixed; z-index: 45; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(var(--yc-bottom, 16px) + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: inherit; }
.yc[hidden] { display: none; }
.yc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 56px; height: 52px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--signal, #FFC233); color: var(--ink, #0F0D2A); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(5, 3, 40, 0.55), 0 0 0 1px rgba(26, 22, 64, 0.08); transition: transform .15s ease, background-color .15s ease; }
.yc-btn:hover { background: var(--signal-2, #FFD467); }
.yc-btn:active { transform: translateY(1px); }
.yc-btn svg { width: 24px; height: 24px; flex: none; pointer-events: none; }
.yc-btn .yc-x, .yc-btn[aria-expanded="true"] .yc-c { display: none; }
.yc-btn[aria-expanded="true"] .yc-x { display: block; }
.yc-btn:focus-visible, .yc-menu a:focus-visible { outline: 3px solid var(--indigo, #231D85); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.yc-menu { width: min(300px, calc(100vw - 32px)); margin: 0; padding: 8px; list-style: none; border-radius: 20px; background: #fff; color: var(--ink, #0F0D2A); box-shadow: 0 24px 50px -16px rgba(5, 3, 40, 0.6), 0 0 0 1px rgba(26, 22, 64, 0.08); transform-origin: bottom right; animation: yc-in .18s ease; }
.yc-menu[hidden] { display: none; }
.yc-menu p { margin: 6px 10px 8px; font-size: 0.85rem; font-weight: 700; color: var(--muted, #65638A); }
.yc-menu a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px; border-radius: 14px; color: inherit; text-decoration: none; line-height: 1.25; }
.yc-menu a:hover { background: var(--tint, #F6F6FB); }
.yc-menu i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--indigo, #231D85); color: #fff; }
.yc-menu i svg { width: 22px; height: 22px; }
.yc-menu b { display: block; font-weight: 700; font-size: 1rem; }
.yc-menu small { display: block; font-weight: 600; font-size: 0.85rem; color: var(--muted, #65638A); }
@keyframes yc-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@media (max-width: 680px) { .yc-btn { padding: 0; width: 52px; } .yc-btn .yc-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .yc-menu { animation: none; } .yc-btn { transition: none; } }
@media print { .yc { display: none; } }
.foot { padding-bottom: calc(28px + 72px + env(safe-area-inset-bottom, 0px)); }
