.support-widget { position: fixed; right: 24px; bottom: 24px; z-index: 1040; font-family: inherit; }
.support-version-backdrop { position: fixed; inset: 0; z-index: 2060; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 23, 42, .48); }
.support-widget__panel.support-widget__panel--version { display: flex; flex-direction: column; width: min(760px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: 0; }
.support-widget__panel--version header { flex-shrink: 0; }
.support-widget__panel--version .support-version-body { min-height: 0; max-height: none; padding: 28px; overflow-y: auto; }
.support-version-body h2 { margin: 0 0 18px; color: #17233d; font-size: 20px; line-height: 1.4; }
.support-version-description { white-space: pre-wrap; overflow-wrap: anywhere; color: #283348; font-size: 15px; line-height: 1.7; }
.support-widget__panel--version .support-version-body { background: #f4f7fb; }
.support-version-body .support-version-reply { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.support-version-body .support-widget__avatar { width: 36px; height: 40px; padding: 4px; border: 1px solid #e3eaf4; border-radius: 10px; background: white; }
.support-version-body .support-version-bubble { padding: 18px 20px; border: 1px solid #e3eaf4; border-radius: 0 12px 12px 12px; background: white; box-shadow: 0 3px 10px rgba(23, 35, 61, .04); }
.support-widget__panel--version .support-widget__conversation .support-version-bubble::before { left: -7px; border-top-color: white; }
.support-version-sender { display: block; margin-bottom: 8px; color: #1769ff; font-size: 12px; font-weight: 800; }
.support-version-bubble > h2 { margin-bottom: 14px; font-size: 16px; font-weight: 700; }
@media (max-width: 600px) { .support-version-backdrop { padding: 16px; } .support-widget__panel.support-widget__panel--version { max-height: calc(100dvh - 32px); } .support-widget__panel--version .support-version-body { padding: 20px; } }
.support-widget__toggle { display: grid; place-items: center; margin-left: auto; width: 60px; height: 60px; border: 0; border-radius: 50%; background: #1769ff; color: white; box-shadow: 0 8px 24px #1769ff40; font-size: 28px; }
.support-widget__panel { width: min(400px, calc(100vw - 32px)); margin-bottom: 14px; border: 1px solid #dee6ef; border-radius: 8px; background: white; box-shadow: 0 16px 50px #17233d30; overflow: hidden; }
.support-widget__panel header { display: flex; align-items: center; gap: 10px; padding: 16px; background: #2677ff; color: white; }
.support-widget__panel header img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: white; }
.support-widget__panel header div { flex: 1; }
.support-widget__panel header strong { font-size: 14px; font-weight: 600; }
.support-widget__panel header small { display: block; color: white !important; font-weight: 400; }
.support-widget__panel header button { width: 28px; height: 32px; border: 0; background: transparent; color: white; font-size: 20px; }
.support-widget__body { padding: 20px 16px; max-height: min(520px, calc(100dvh - 230px)); overflow-y: auto; }
.support-widget__message { margin-bottom: 18px; padding: 12px; border-radius: 8px; background: #f3f5f7; color: #283348; font-size: 14px; font-weight: 600; line-height: 1.5; }
.support-widget__reward button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #dbe5f2; border-radius: 6px; background: white; color: #283348; text-align: left; font-size: 13px; font-weight: 600; }
.support-widget__contact { display: flex; gap: 8px; justify-content: center; align-items: center; padding: 12px; background: #e5f8ef; color: #07694c; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 600; }
.support-widget__reward { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; margin-bottom: 20px; }
.support-widget__avatar { width: 28px; height: 32px; object-fit: contain; margin-top: 4px; }
.support-widget__history { margin-bottom: 20px; }
.support-widget__reply { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.support-widget__reply .support-widget__conversation .support-widget__message { margin-bottom: 4px; }
.support-widget__timestamp { display: block; margin: 0 2px 14px; color: #627086; font-size: 11px; font-weight: 500; line-height: 1.4; }
.support-widget__conversation { min-width: 0; }
.support-widget__conversation .support-widget__message { position: relative; margin-bottom: 10px; border-radius: 0 8px 8px 8px; overflow-wrap: anywhere; }
.support-widget__conversation .support-widget__message::before { content: ''; position: absolute; top: 0; left: -6px; border-top: 7px solid #f3f5f7; border-left: 6px solid transparent; }
.support-widget__conversation .support-widget__message--new { background: #eaf2ff; box-shadow: inset 3px 0 #1769ff; }
.support-widget__conversation .support-widget__message--new::before { border-top-color: #eaf2ff; }
.support-widget__new-label { display: block; margin-bottom: 4px; color: #1456c5; font-size: 11px; font-weight: 700; }
.support-widget__coupon strong { display: block; margin: 6px 0; color: #1769ff; font-size: 20px; overflow-wrap: anywhere; }
.support-widget__coupon { box-sizing: border-box; width: 100%; }
.support-widget__coupon > span { font-weight: 600; color: #283348; }
.support-widget__tutorial-toggle { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; font-weight: 600; color: #283348; cursor: pointer; }
.support-widget__tutorial-toggle input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: #1769ff; }
.support-widget__coupon small { display: block; font-weight: 600; }
.support-widget__reward a { display: inline-block; margin-top: 14px; font-weight: 600; color: #1769ff; }
.support-widget__reward .support-widget__checkout { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 6px; background: #1769ff; color: white; text-decoration: none; font-size: 14px; }
.support-widget__reward-actions { margin: 0 0 20px; }
.support-widget__reward-actions button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #dbe5f2; border-radius: 6px; background: white; color: #283348; font-size: 13px; font-weight: 600; }
.support-widget__reward-actions .support-widget__checkout { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; padding: 12px; border-radius: 6px; background: #1769ff; color: white; text-decoration: none; font-size: 14px; font-weight: 600; }
.support-widget button:focus-visible, .support-widget a:focus-visible { outline: 3px solid #70a9ff; outline-offset: 2px; }
.support-widget__panel { animation: support-widget-fade-in 300ms ease-out both; }
@keyframes support-widget-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .support-widget__panel { animation: none; }
}
@media (max-width: 600px) { .support-widget { right: 16px; bottom: 16px; } }
