.dgr {
    --dgr-ink: #172338;
    --dgr-muted: #526174;
    --dgr-line: #dde3ea;
    --dgr-accent: #1d4ed8;
    --dgr-paper: #fff;
    --dgr-star: #9a6700;
    box-sizing: border-box;
    color: var(--dgr-ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    margin-block: 32px;
    max-width: 100%;
    text-align: start;
}
.dgr *, .dgr *::before, .dgr *::after { box-sizing: border-box; }
.dgr a { color: var(--dgr-accent); text-underline-offset: .2em; }
.dgr a:hover { text-decoration-thickness: 2px; }
.dgr :is(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--dgr-accent); outline-offset: 4px; }
.dgr .dgr__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.dgr .dgr__eyebrow { display: block; color: var(--dgr-muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.dgr .dgr__title { color: var(--dgr-ink); font-family: inherit; font-size: clamp(20px, 3vw, 28px); font-weight: 650; line-height: 1.25; margin: 5.6px 0 0; overflow-wrap: anywhere; }
.dgr .dgr__summary { display: grid; grid-template-columns: auto auto; gap: 0 13.6px; align-items: center; flex: 0 0 auto; color: var(--dgr-ink); background: var(--dgr-paper); border: 1px solid var(--dgr-line); border-radius: 12px; padding: 12px 16px; text-decoration: none; }
.dgr .dgr__score { grid-row: span 2; font-size: 26.4px; font-weight: 700; line-height: 1.25; }
.dgr .dgr__score-total { color: var(--dgr-muted); font-size: 13.6px; font-weight: 400; }
.dgr .dgr__count { font-size: 13px; color: var(--dgr-muted); }
.dgr .dgr__attribution { color: #5e5e5e; font-family: Arial, sans-serif; font-size: 14px; font-style: normal; font-weight: 400; letter-spacing: normal; white-space: nowrap; }
.dgr .dgr__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.dgr .dgr__card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--dgr-line); border-radius: 12px; background: var(--dgr-paper); box-shadow: 0 3px 12px #17233805; }
.dgr .dgr__author { display: flex; align-items: center; gap: 12px; min-width: 0; margin-bottom: 14px; }
.dgr .dgr__avatar { display: block; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.dgr .dgr__name { font-family: inherit; font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--dgr-ink); margin: 0; overflow-wrap: anywhere; }
.dgr .dgr__name a { color: inherit; }
.dgr .dgr__date { display: block; font-size: 13px; color: var(--dgr-muted); margin-top: 3.2px; }
.dgr .dgr__stars { color: var(--dgr-star); font-size: 18px; line-height: 1.5; letter-spacing: .12em; margin-bottom: 10px; }
.dgr .dgr__stars-empty { color: var(--dgr-muted); }
.dgr .dgr__text, .dgr .dgr__excerpt { color: var(--dgr-ink); font-size: 15px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; margin: 0 0 16px; }
.dgr .dgr__details { margin-bottom: 16px; }
.dgr .dgr__details summary { cursor: pointer; }
.dgr .dgr__excerpt { display: inline; }
.dgr .dgr__read-more { display: block; color: var(--dgr-accent); text-decoration: underline; text-underline-offset: .2em; padding-block: 10px; font-size: 14px; }
.dgr .dgr__details[open] .dgr__excerpt { display: none; }
.dgr .dgr__details[open] .dgr__text { margin-bottom: 0; }
.dgr .dgr__card-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--dgr-line); font-size: 13px; }
.dgr .dgr__card-footer a { display: inline-flex; align-items: center; min-height: 28px; }
.dgr .dgr__notice { margin: 16px 0; color: var(--dgr-muted); font-size: 13px; line-height: 1.5; }
.dgr .dgr__empty { color: var(--dgr-muted); }
.dgr .dgr__footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.dgr .dgr__source { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.dgr .dgr__button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--dgr-accent); border-radius: 8px; background: var(--dgr-accent); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; text-align: center; transition: background-color 160ms ease; }
.dgr .dgr__button:hover { background: #183eab; color: #fff; }
.dgr .dgr__providers { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; padding: 0; margin: 12px 0 0; font-size: 12px; }
.dgr--slider .dgr__list { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px 4px 16px; scrollbar-width: thin; }
.dgr--slider .dgr__card { flex: 0 0 min(85%, 340px); scroll-snap-align: start; }
.dgr .dgr__controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.dgr .dgr__controls[hidden] { display: none; }
.dgr .dgr__control { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--dgr-line); border-radius: 50%; background: var(--dgr-paper); color: var(--dgr-ink); font-size: 20px; cursor: pointer; }
.dgr .dgr__control:hover { background: #f1f5f9; }
.dgr--badge { display: inline-block; border: 1px solid var(--dgr-line); border-radius: 14px; background: var(--dgr-paper); padding: 20px; }
.dgr--badge .dgr__header { margin-bottom: 0; }
.dgr--badge .dgr__title { font-size: 18px; }
.dgr--badge .dgr__footer { margin-top: 16px; }
.dgr__editor { padding: 24px; border: 1px dashed var(--dgr-line); border-radius: 12px; background: #f8fafc; }
.dgr .dgr__language { color: var(--dgr-muted); font-size: 12px; margin: 8px 0 16px; }
.dgr .dgr__reply { background: #f4f7fa; border-inline-start: 3px solid var(--dgr-line); border-radius: 0 8px 8px 0; padding: 16px; margin: 4px 0 16px; }
.dgr .dgr__reply h4 { font-size: 14px; font-weight: 650; margin: 0 0 4px; }
.dgr .dgr__reply .dgr__text { font-size: 14px; margin: 8px 0 0; }
.dgr .dgr__breakdown { border-top: 1px solid var(--dgr-line); margin-top: 20px; padding-top: 16px; }
.dgr .dgr__breakdown h3 { color: var(--dgr-ink); font-family: inherit; font-size: 16px; margin: 0; }
.dgr .dgr__distribution { list-style: none; padding: 0; margin: 16px 0; max-width: 540px; }
.dgr .dgr__distribution li { display: grid; grid-template-columns: 40px minmax(40px, 1fr) 120px; gap: 12px; align-items: center; font-size: 14px; padding-block: 4px; }
.dgr .dgr__distribution li > span:last-child { text-align: end; }
.dgr .dgr__distribution meter { width: 100%; height: 16px; accent-color: var(--dgr-accent); }
.dgr .dgr__distribution meter::-webkit-meter-bar { background: #e2e8f0; border: 0; }
.dgr .dgr__distribution meter::-webkit-meter-optimum-value { background: var(--dgr-accent); }
.dgr .dgr__distribution meter::-moz-meter-bar { background: var(--dgr-accent); }
.dgr.dgr__dialog { position: fixed; width: min(900px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 48px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--dgr-line); border-radius: 16px; background: var(--dgr-paper); color: var(--dgr-ink); box-shadow: 0 24px 80px #0f172a40; }
.dgr.dgr__dialog:not([open]) { display: none; }
.dgr.dgr__dialog::backdrop { background: #0f172aa6; }
.dgr .dgr__dialog-heading { position: sticky; top: 0; z-index: 1; background: var(--dgr-paper); display: flex; gap: 16px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--dgr-line); padding: 12px 20px; }
.dgr .dgr__dialog-heading h2 { color: var(--dgr-ink); font-family: inherit; font-size: 18px; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.dgr .dgr__dialog-close { flex: 0 0 44px; width: 44px; height: 44px; display: inline-grid; place-items: center; font-size: 28px; font-family: inherit; line-height: 1; border: 1px solid var(--dgr-line); border-radius: 8px; color: var(--dgr-ink); background: var(--dgr-paper); cursor: pointer; }
.dgr .dgr__dialog-close:hover { background: #f1f5f9; }
.dgr .dgr__dialog-body { padding: 20px; }
.dgr .dgr__dialog-body > .dgr { margin: 0; }
html.dgr-dialog-open { overflow: hidden; }
.dgr.dgr__floating { position: fixed; z-index: 1000; bottom: max(16px, env(safe-area-inset-bottom)); margin: 0; display: flex; align-items: center; width: max-content; max-width: calc(100vw - 32px); border: 1px solid var(--dgr-line); border-radius: 12px; background: var(--dgr-paper); box-shadow: 0 4px 24px #17233820; padding: 8px; }
.dgr.dgr__floating--right { right: max(16px, env(safe-area-inset-right)); }
.dgr.dgr__floating--left { left: max(16px, env(safe-area-inset-left)); }
.dgr .dgr__floating-link { display: flex; gap: 10.4px; align-items: center; color: var(--dgr-ink); text-decoration: none; min-height: 44px; padding-inline: 8px; }
.dgr .dgr__review-logo { display: block; width: 160px; max-width: 100%; height: auto; margin: 0; border: 0; box-shadow: none; }
.dgr .dgr__image-link { display: inline-block; max-width: 100%; border-radius: 8px; background: var(--dgr-paper); padding: 8px; }
.dgr.dgr__floating--illustrated .dgr__floating-link { padding: 0; }
.dgr .dgr__image-link:focus-visible, .dgr .dgr__floating-link:focus-visible { outline: 3px solid var(--dgr-accent); outline-offset: 3px; }
.dgr .dgr__floating-score { font-size: 18px; font-weight: 700; white-space: nowrap; }
.dgr .dgr__floating-score > span { color: var(--dgr-star); }
.dgr .dgr__floating-dismiss { width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--dgr-paper); color: var(--dgr-muted); font-size: 24px; line-height: 1; cursor: pointer; }
.dgr .dgr__floating-dismiss:hover { background: #f1f5f9; }
.dgr .dgr__floating-dismiss[hidden] { display: none; }

/* Explicit pixels isolate every review surface from the host theme's root size. */
.dgr.dgr,
.dgr.dgr :where(*) {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-style: normal;
}
.dgr.dgr__floating[class*="dgr__floating--template-"] {
    display: block;
    padding: 0;
    width: 332px;
    max-width: calc(100vw - 32px);
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e3e5e8;
    color: #202124;
    box-shadow: 0 5px 24px #2021241f;
}
.dgr.dgr__floating[class*="dgr__floating--template-"] .dgr__floating-link {
    display: grid;
    grid-template-columns: 36px max-content minmax(0, 1fr);
    grid-template-areas: "logo brand brand" "logo score stars" "logo count count";
    gap: 4px 10px;
    align-items: center;
    min-width: 0;
    min-height: 80px;
    margin: 0;
    padding: 18px 40px 18px 18px;
    border: 0;
    border-radius: inherit;
    background: transparent;
    color: #202124;
    text-align: start;
    text-decoration: none;
    box-shadow: none;
}
.dgr .dgr__floating-link:hover { text-decoration: none; background: #fafbfc; }
.dgr .dgr__bubble-logo { grid-area: logo; display: block; width: 36px; height: 36px; max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; background: #fff; object-fit: contain; }
.dgr .dgr__bubble-brand { grid-area: brand; color: #42464d; font-weight: 600; }
.dgr .dgr__bubble-score { grid-area: score; color: #202124; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dgr .dgr__bubble-count { grid-area: count; color: #4b5563; overflow-wrap: anywhere; }
.dgr .dgr__bubble-name { grid-area: name; display: none; min-width: 0; color: #42464d; overflow-wrap: anywhere; }
.dgr .dgr__bubble-stars { grid-area: stars; position: relative; display: inline-block; justify-self: start; white-space: nowrap; color: #d3d6da; direction: ltr; }
.dgr .dgr__bubble-stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #e6a000; }
.dgr.dgr__floating[class*="dgr__floating--template-"] .dgr__floating-dismiss {
    position: absolute;
    top: 2px;
    right: 2px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #4b5563;
    font-weight: 700;
    box-shadow: none;
}
.dgr.dgr__floating[class*="dgr__floating--template-"] .dgr__floating-dismiss[hidden] { display: none; }
.dgr.dgr__floating[class*="dgr__floating--template-"] .dgr__floating-dismiss:hover { background: #e8eaed; }
.dgr.dgr__floating.dgr__floating--template-bubble { width: 360px; border-radius: 24px; }
.dgr.dgr__floating.dgr__floating--template-bubble .dgr__floating-link {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-areas: "score stars" "name name" "count count" "brand brand";
    gap: 6px 10px;
    padding: 20px 44px 20px 20px;
}
.dgr.dgr__floating.dgr__floating--template-bubble .dgr__bubble-logo { display: none; }
.dgr.dgr__floating.dgr__floating--template-bubble .dgr__bubble-name { display: block; }
.dgr.dgr__floating.dgr__floating--template-bubble .dgr__bubble-stars-fill { color: #202124; }
.dgr.dgr__floating.dgr__floating--template-card { width: 208px; border-radius: 16px; }
.dgr.dgr__floating.dgr__floating--template-card .dgr__floating-link {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "logo" "score" "stars" "count" "brand";
    justify-items: center;
    gap: 8px;
    padding: 26px 20px 20px;
    text-align: center;
}
.dgr.dgr__floating.dgr__floating--template-card .dgr__bubble-stars { justify-self: center; }
.dgr.dgr__floating.dgr__floating--template-pill { width: 320px; border-radius: 48px; }
.dgr.dgr__floating.dgr__floating--template-pill .dgr__floating-link {
    grid-template-areas: "logo score stars" "logo count count" "logo brand brand";
    padding: 16px 40px 16px 20px;
    gap: 2px 10px;
}
.dgr.dgr__floating.dgr__floating--template-stripe { border-top: 0; overflow: hidden; }
.dgr.dgr__floating.dgr__floating--template-stripe::before {
    content: ""; display: block; height: 4px;
    background: linear-gradient(to right, #4285f4 0 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75% 100%);
}
.dgr.dgr__floating.dgr__floating--template-stripe .dgr__floating-link {
    grid-template-columns: 28px max-content minmax(0, 1fr);
    grid-template-areas: "logo brand brand" "score stars stars" "count count count";
    gap: 8px 10px;
}
.dgr.dgr__floating.dgr__floating--template-stripe .dgr__bubble-logo { width: 28px; height: 28px; }
.dgr.dgr__floating.dgr__floating--template-banner { border-top: 9px solid #4285f4; border-radius: 12px; }
.dgr.dgr__floating.dgr__floating--template-banner .dgr__bubble-stars-fill { color: #ec9400; }
.dgr.dgr__floating.dgr__floating--template-compact { width: 254px; border-radius: 8px; }
.dgr.dgr__floating.dgr__floating--template-compact .dgr__floating-link {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-areas: "score brand" "count count";
    gap: 2px 10px;
    min-height: 64px;
    padding: 12px 40px 12px 16px;
}
.dgr.dgr__floating.dgr__floating--template-compact .dgr__bubble-logo,
.dgr.dgr__floating.dgr__floating--template-compact .dgr__bubble-stars { display: none; }
/* Minimized state overrides every badge template, including decorative borders. */
.dgr.dgr__floating.dgr__floating--collapsed {
    width: 112px;
    padding: 0;
    border: 1px solid #e3e5e8;
    border-radius: 8px;
    overflow: visible;
}
.dgr.dgr__floating.dgr__floating--collapsed::before { display: none; }
.dgr.dgr__floating .dgr__floating-link[hidden],
.dgr.dgr__floating .dgr__floating-dismiss[hidden],
.dgr.dgr__floating .dgr__floating-restore[hidden] { display: none !important; }
.dgr.dgr__floating .dgr__floating-restore {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 70px;
    margin: 0;
    padding: 7px;
    border: 0;
    border-radius: inherit;
    background: #fff;
    cursor: pointer;
    box-shadow: none;
}
.dgr.dgr__floating .dgr__floating-restore:hover { background: #fafbfc; }
.dgr.dgr__floating .dgr__floating-restore .dgr__review-logo { width: 96px; height: 54px; object-fit: contain; }
/* Source-specific marks and totals stay separate even in a shared bubble. */
.dgr .dgr__tripadvisor-logo { display: block; width: 196px; height: 30px; max-width: 100%; object-fit: contain; margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
.dgr.dgr--tripadvisor { --dgr-accent: #006b45; margin-top: 28px; }
.dgr.dgr--tripadvisor:first-child { margin-top: 0; }
.dgr.dgr--tripadvisor .dgr__button { background: #006b45; color: #fff; }
.dgr.dgr--tripadvisor .dgr__button:hover { background: #002b11; }
.dgr.dgr--tripadvisor .dgr__button[hidden] { display: none !important; }
.dgr.dgr--tripadvisor .dgr__button:disabled { cursor: wait; opacity: .7; }
.dgr .dgr__tripadvisor-rating { display: block; width: 100px; height: 20px; object-fit: contain; margin: 8px 0; padding: 0; border: 0; box-shadow: none; }
.dgr .dgr__tripadvisor-aggregate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dgr.dgr--tripadvisor .dgr__text { white-space: pre-line; overflow-wrap: anywhere; }
.dgr.dgr--tripadvisor .dgr__card > .dgr__name { margin: 12px 0; }
.dgr.dgr__floating.dgr__floating--sources .dgr__floating-link { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 40px 18px 18px; }
.dgr .dgr__source-badge { display: grid; min-width: 0; gap: 4px 10px; grid-template-columns: 36px max-content minmax(0, 1fr); grid-template-areas: "logo brand brand" "logo score stars" "logo count count"; }
.dgr .dgr__source-badge--google { grid-template-areas: "logo brand brand" "logo score stars" "logo count count" "name name name"; }
.dgr.dgr__floating--sources .dgr__source-badge .dgr__bubble-logo { display: block; }
.dgr.dgr__floating--sources .dgr__source-badge .dgr__bubble-stars { display: inline-block; }
.dgr.dgr__floating--sources .dgr__source-badge .dgr__bubble-stars-fill { color: #a86e00; }
.dgr .dgr__source-badge--tripadvisor { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #002b11; }
.dgr.dgr__floating--combined .dgr__source-badge--tripadvisor { border-top: 1px solid #e3e5e8; padding-top: 16px; }
.dgr .dgr__tripadvisor-label { color: #33473a; overflow-wrap: anywhere; }
.dgr.dgr__floating--sources.dgr__floating--template-card { width: 248px; }
.dgr.dgr__floating--sources.dgr__floating--template-card .dgr__floating-link { padding: 36px 20px 20px; }
.dgr.dgr__floating--sources.dgr__floating--template-card .dgr__source-badge { grid-template-columns: minmax(0,1fr); grid-template-areas: "logo" "brand" "score" "stars" "count"; justify-items: center; text-align: center; }
.dgr.dgr__floating--sources.dgr__floating--template-card .dgr__source-badge--tripadvisor { align-items: center; }
.dgr.dgr__floating--sources.dgr__floating--template-pill { border-radius: 24px; }
.dgr.dgr__floating--tripadvisor.dgr__floating--template-stripe::before { background: #00aa6c; }
.dgr.dgr__floating--tripadvisor.dgr__floating--template-banner { border-top-color: #00aa6c; }
.dgr.dgr__floating--sources.dgr__floating--collapsed { width: 168px; border: 1px solid #e3e5e8; }
.dgr.dgr__floating--sources .dgr__floating-restore { gap: 6px; padding: 12px; }
.dgr.dgr__floating--sources .dgr__floating-restore .dgr__tripadvisor-logo { width: 140px; height: 22px; }
.dgr.dgr__floating--sources .dgr__floating-restore .dgr__review-logo { width: 96px; height: 54px; }
.dgr .dgr__source-tabs { display: flex; gap: 8px; border-bottom: 1px solid #d9dfe3; margin-bottom: 20px; }
.dgr .dgr__source-tabs button { min-height: 44px; padding: 10px 16px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #384448; cursor: pointer; box-shadow: none; border-radius: 0; }
.dgr .dgr__source-tabs button[aria-selected="true"] { border-bottom-color: #006b45; font-weight: 700; color: #17251c; }
.dgr [role="tabpanel"][hidden] { display: none !important; }
@media (max-width: 480px) {
    .dgr .dgr__summary { flex: 1 1 auto; grid-template-columns: auto 1fr; }
    .dgr .dgr__card { padding: 16px; }
    .dgr .dgr__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .dgr *, .dgr *::before, .dgr *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
