/* The home page supplies the section title. The widget supplies the live rating. */
#avis:has(.rgr-ticker) { background: #f3f4fc; }
#avis:has(.rgr-ticker) .ri-review-head { display: block; text-align: center; margin: 0 auto; }
#avis:has(.rgr-ticker) .ri-review-head p { margin-inline: auto; }
#avis:has(.rgr-ticker) .ri-review-score { display: none; }
.rgr-ticker {
  --ink: #1c283b; --muted: #566478; --gold: #f6a91b; --gap: 16px;
  --card: clamp(294px, 30vw, 398px);
  width: 100%; max-width: 100%; min-width: 0; margin: 0 auto;
  padding: clamp(20px, 3vw, 36px) 0 16px; border-radius: 20px;
  background: #f3f4fc; color: var(--ink); font: 400 16px/1.5 Outfit, system-ui, sans-serif;
  text-align: left; color-scheme: light; isolation: isolate;
}
.rgr-ticker *, .rgr-ticker { box-sizing: border-box; }
.rgr-ticker [hidden] { display: none !important; }
.rgr-ticker .rgr-intro { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 12px clamp(22px,3vw,42px); background: transparent; }
.rgr-ticker .rgr-rating { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 10px 17px; border-radius: 12px; background: white; font-size: 15px; color: var(--muted); text-decoration: none; }
.rgr-ticker .rgr-rating strong { color: var(--ink); font-weight: 650; }
.rgr-ticker .rgr-rating b { font-weight: 400; }
.rgr-ticker .rgr-stars { color: var(--gold); letter-spacing: 2px; font: 17px/1.2 system-ui,sans-serif; }
.rgr-ticker .rgr-rating .rgr-stars { margin-right: 4px; }
.rgr-ticker .rgr-stars i { color: #d3d9e3; font-style: normal; }
.rgr-ticker .rgr-write { display: inline-flex; gap: 9px; align-items: center; padding: 10px 19px; background: #225dbc; border-radius: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.rgr-ticker .rgr-write:hover { background: #164996; }
.rgr-lane { display: flex; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.rgr-live .rgr-lane { scrollbar-width: none; }
.rgr-live .rgr-lane::-webkit-scrollbar { display: none; }
.rgr-lane + .rgr-lane { margin-top: var(--gap); }
.rgr-group { display: flex; flex: none; gap: var(--gap); padding-right: var(--gap); }
.rgr-ticker .rgr-tile {
  position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr); align-content: start; gap: 14px;
  width: var(--card); flex: 0 0 var(--card); min-height: 164px; padding: 19px 21px 20px;
  background: #fff; border: 1px solid #e3e7ef; border-radius: 13px;
  color: var(--ink); text-align: left; margin: 0; box-shadow: none;
}
.rgr-live .rgr-lane .rgr-tile { height: 174px; }
.rgr-ticker .rgr-portrait { position: relative; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; background: #e6ecf5; color: #324c71; display: grid; place-items: center; font-weight: 650; }
.rgr-ticker .rgr-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rgr-ticker .rgr-copy { min-width: 0; }
.rgr-ticker .rgr-quote { margin: 6px 0 9px; font: 500 16px/1.37 Outfit,system-ui,sans-serif; color: #34445a; overflow-wrap: anywhere; white-space: pre-line; }
.rgr-live .rgr-lane .rgr-quote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rgr-ticker .rgr-name, .rgr-ticker time { display: block; padding-right: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rgr-ticker .rgr-name { color: var(--ink); font-size: 14px; line-height: 1.45; }
.rgr-ticker time { color: var(--muted); font-size: 12.5px; }
.rgr-ticker .rgr-google { position: absolute; right: 12px; bottom: 12px; width: 18px; height: 18px; }
.rgr-ticker button { font: inherit; cursor: pointer; }
.rgr-ticker .rgr-open { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; padding: 0; border-radius: inherit; }
.rgr-ticker .rgr-open:hover { box-shadow: inset 0 0 0 1px #b5c5df; background: transparent; }
.rgr-ticker :focus-visible { outline: 2px solid #225dbc; outline-offset: -3px; }
.rgr-ticker .rgr-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; padding: 16px 12px 0; background: transparent; }
.rgr-bottom a, .rgr-ticker .rgr-pause { color: #485974; font-size: 13px; font-weight: 500; text-underline-offset: 3px; }
.rgr-ticker .rgr-pause { border: 1px solid #cdd5e3; border-radius: 20px; padding: 5px 13px; background: transparent; }
.rgr-ticker .rgr-dialog { box-sizing: border-box; inset: 0; position: fixed; margin: auto; width: min(490px, calc(100% - 32px)); max-height: 80vh; overflow: auto; height: fit-content; padding: 48px 6px 16px; background: white; color: var(--ink); border: none; border-radius: 18px; }
.rgr-ticker .rgr-dialog::backdrop { background: rgba(15,26,47,.55); }
.rgr-dialog .rgr-tile { width: 100%; min-height: 120px; border: 0; }
.rgr-dialog .rgr-quote { margin-bottom: 16px; line-height: 1.55; }
.rgr-ticker .rgr-close { position: absolute; top: 10px; right: 12px; border: 0; border-radius: 50%; width: 36px; height: 36px; padding: 0; background: #edf0f6; color: var(--ink); font: 24px/1 system-ui; }
@media(max-width:600px) {
  .rgr-ticker { --gap: 10px; --card: min(78vw, 330px); border-radius: 14px; }
  .rgr-ticker .rgr-tile { grid-template-columns: 33px minmax(0,1fr); gap: 10px; padding: 15px; }
  .rgr-live .rgr-lane .rgr-tile { height: 163px; min-height: 0; }
  .rgr-ticker .rgr-portrait { width: 33px; height: 33px; border-radius: 8px; }
  .rgr-ticker .rgr-quote { font-size: 15px; }
  .rgr-ticker .rgr-rating { font-size: 13px; gap: 4px; }
}

.rgr-ticker .rgr-selection { margin: -4px 0 10px; text-align: center; color: var(--muted); font: 500 13px/1.5 Outfit,system-ui,sans-serif; }
