.aat-reviews-badge { position: fixed; right: 24px; display: grid; grid-template-columns: 44px auto; column-gap: 8px; row-gap: 1px; align-items: center; border: 1px solid #ddd; border-top: 5px solid #49ce69; border-radius: 2px; background: #fff; color: #222; padding: 12px 10px 10px; box-shadow: 0 2px 4px #0004; text-align: left; cursor: pointer; font-family: Arial, sans-serif; font-weight: 400; }
.aat-reviews-badge__logo { grid-row: 1 / 3; width: 44px; height: 44px; }
.aat-reviews-badge__source { font-size: 14px; line-height: 18px; }
.aat-reviews-badge__rating { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; font-size: 13px; line-height: 22px; }
.aat-reviews-badge__rating strong { color: #ee7114; font-size: 18px; font-weight: 400; }
.aat-reviews-badge__count { grid-column: 1 / -1; font-size: 13px; line-height: 18px; white-space: nowrap; }
.aat-reviews-stars { color: #ee7114; letter-spacing: 1px; font-size: 20px; white-space: nowrap; }
.aat-reviews-stars--aggregate { background: linear-gradient(to right, #ee7114 var(--rating), #ddd var(--rating)); background-clip: text; color: transparent; }
.aat-reviews-dialog { inset: 0 0 0 auto; margin: 0; padding: 0; box-sizing: border-box; width: min(375px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; border: 1px solid #ddd; background: #f9f9fb; color: #444; box-shadow: -4px 0 20px #0002; font-family: Arial, sans-serif; }
.aat-reviews-dialog[open] { display: flex; flex-direction: column; }
.aat-reviews-dialog::backdrop { background: #0003; }
.aat-reviews-header { position: relative; flex-shrink: 0; padding: max(17px, env(safe-area-inset-top)) 45px 16px 20px; background: #fff; border-bottom: 1px solid #ddd; }
.aat-reviews-header h2 { font: inherit; font-size: 16px; font-weight: 400; color: #666; line-height: 24px; margin: 0; }
.aat-reviews-close { position: absolute; right: 3px; top: 0; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #999; font: 30px Arial, sans-serif; cursor: pointer; }
.aat-reviews-total { display: flex; align-items: center; gap: 9px; min-height: 24px; margin: 0; color: #ee7114; font-size: 18px; line-height: 24px; }
.aat-reviews-body { padding: 14px 16px 18px 20px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; scrollbar-width: thin; scrollbar-color: #999 transparent; }
.aat-reviews-status { font-size: 13px; line-height: 1.6; color: #666; margin: 0 0 14px; }
.aat-reviews-status:empty { margin: 0; }
.aat-reviews-list { display: grid; gap: 18px; }
.aat-review { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; overflow-wrap: anywhere; }
.aat-review__avatar { position: relative; display: grid; place-items: center; width: 50px; height: 50px; overflow: hidden; border-radius: 50%; color: #fff; font-size: 28px; line-height: 1; }
.aat-review__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aat-review h3 { font: inherit; font-weight: 700; color: #1454cc; font-size: 14px; line-height: 20px; margin: 1px 0 4px; }
.aat-review__meta { font-size: 13px; line-height: 20px; color: #666; margin-bottom: 2px; }
.aat-review__comment { white-space: pre-wrap; margin: 0; font-size: 14px; line-height: 25px; }
.aat-review__comment .aat-reviews-stars { vertical-align: -1px; line-height: 1; }
.aat-reviews-footer { flex-shrink: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #ddd; font-size: 11px; color: #777; }
.aat-reviews-footer a { color: #555; text-decoration: none; }
.aat-reviews-footer[hidden] { display: none; }
.aat-reviews-footer a:hover { text-decoration: underline; }
.aat-reviews-retry { padding: 8px 14px; border: 1px solid #bbb; border-radius: 4px; background: #fff; color: #444; }
.aat-reviews-badge:focus-visible, .aat-reviews-dialog :focus-visible { outline: 3px solid #1c66cb; outline-offset: 2px; }
.aat-reviews-nojs { position: fixed; bottom: 15px; right: 24px; z-index: 1051; background: #fff; padding: 10px; }
@media (max-width: 767px) { .aat-reviews-badge { right: 12px; } }
