/* Doc-Rep Review Plugins: frontend.
   One design system: gold stars, soft cards, real platform logos. Everything is scoped under .drr and themed
   through CSS variables, so a widget inherits your site's font and takes its brand colour from "accent". */

.drr {
	--drr-accent: #2f6fed;          /* brand colour: dots, arrows, links, buttons */
	--drr-star: #f6bb06;            /* stars stay gold unless star_color is set */
	--drr-star-off: #dfe3e8;
	--drr-bg: #ffffff;
	--drr-card: #ffffff;
	--drr-text: #0f172a;
	--drr-body: #374151;
	--drr-muted: #6b7280;
	--drr-line: rgba(15, 23, 42, .08);
	--drr-line-strong: rgba(15, 23, 42, .16);
	--drr-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .08);
	--drr-radius: 16px;
	--drr-gap: 24px;
	--drr-cols: 3;
	--drr-min: 270px;               /* narrowest a card may get: columns drop instead of squeezing */
	box-sizing: border-box;
	color: var(--drr-text);
	font-family: inherit;
	--drr-u: 16px;                  /* 1 unit of text. Sizes below are multiples of it, so they do not depend on the site's root font size (e.g. 62.5%) */
	font-size: 16px;
	line-height: 1.5;
	margin: 1.75em 0;
}
.drr *, .drr *::before, .drr *::after { box-sizing: inherit; }

.drr--theme-dark {
	--drr-bg: #0f131a; --drr-card: #181d27; --drr-text: #f1f5f9; --drr-body: #cbd5e1; --drr-muted: #94a3b8;
	--drr-line: rgba(255, 255, 255, .09); --drr-line-strong: rgba(255, 255, 255, .18); --drr-star-off: #3a4152;
	--drr-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
}
@media (prefers-color-scheme: dark) {
	.drr--theme-auto {
		--drr-bg: #0f131a; --drr-card: #181d27; --drr-text: #f1f5f9; --drr-body: #cbd5e1; --drr-muted: #94a3b8;
		--drr-line: rgba(255, 255, 255, .09); --drr-line-strong: rgba(255, 255, 255, .18); --drr-star-off: #3a4152;
		--drr-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
	}
}
.drr--theme-dark, .drr--theme-auto { background: var(--drr-bg); padding: 28px; border-radius: calc(var(--drr-radius) + 4px); }
@media not all and (prefers-color-scheme: dark) { .drr--theme-auto { background: transparent; padding: 0; } }

.drr--cols-1 { --drr-cols: 1; } .drr--cols-2 { --drr-cols: 2; } .drr--cols-3 { --drr-cols: 3; } .drr--cols-4 { --drr-cols: 4; }

/* ---- Stars: one glyph row, coloured to the exact fractional rating with a hard-stop gradient -------- */
.drr-stars { display: inline-block; font-size: 19px; line-height: 1; letter-spacing: 1px; white-space: nowrap; vertical-align: middle; }
.drr-stars > span {
	background: linear-gradient(90deg, var(--drr-star) calc(var(--drr-r, 0) / 5 * 100%), var(--drr-star-off) calc(var(--drr-r, 0) / 5 * 100%));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Rating panel: EXCELLENT / stars / Based on N reviews / logos --------------------------------- */
.drr__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 0 0 30px; }
.drr__rate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.drr__word { font-weight: 800; font-size: calc(1.02 * var(--drr-u)); letter-spacing: .05em; text-transform: uppercase; color: var(--drr-text); }
.drr__summary .drr-stars { font-size: 24px; }
.drr__total { color: var(--drr-body); font-size: calc(.95 * var(--drr-u)); }
.drr__total strong { color: var(--drr-text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--drr-line-strong); text-underline-offset: 3px; }
.drr__sources { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.drr__src { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: calc(.9 * var(--drr-u)); color: var(--drr-body); }
.drr__src .drr-plat { width: 26px; height: 26px; }
.drr__cta {
	margin-left: auto; padding: 10px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: calc(.9 * var(--drr-u));
	background: var(--drr-accent); color: #fff; border: 0; box-shadow: 0 4px 12px rgba(15, 23, 42, .15); transition: transform .15s ease, box-shadow .15s ease;
}
.drr__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15, 23, 42, .2); color: #fff; }

/* side panel (beside a slider): centred column, bigger type */
.drr__summary--side { flex-direction: column; justify-content: center; text-align: center; gap: 14px; margin: 0; }
.drr__summary--side .drr__rate { flex-direction: column; gap: 10px; }
.drr__summary--side .drr__word { font-size: calc(1.45 * var(--drr-u)); }
.drr__summary--side .drr-stars { font-size: 32px; }
.drr__summary--side .drr__cta { margin: 4px 0 0; }

/* compact badge (layout="badge"): a bordered chip like a trust seal */
.drr--badge { display: inline-block; }
.drr--badge .drr__summary {
	margin: 0; padding: 12px 22px; gap: 8px 16px; display: inline-flex; background: var(--drr-card);
	border: 1px solid var(--drr-line-strong); border-radius: 14px;
}
.drr--badge .drr__summary .drr-stars { font-size: 20px; }

/* ---- Card ------------------------------------------------------------------------------------------ */
.drr-card {
	position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; height: 100%; break-inside: avoid;
	padding: 22px 22px 20px; background: var(--drr-card); border: 1px solid var(--drr-line); border-radius: var(--drr-radius);
	transition: box-shadow .2s ease, transform .2s ease;
}
.drr--card-shadow .drr-card { border-color: transparent; box-shadow: var(--drr-shadow); }
.drr--card-shadow .drr-card:hover { transform: translateY(-2px); }
.drr--card-border .drr-card { border-color: var(--drr-line-strong); box-shadow: none; }
.drr--card-minimal .drr-card { background: transparent; border-width: 0 0 1px; border-radius: 0; box-shadow: none; padding: 18px 4px; }

.drr-card__head { display: flex; align-items: center; gap: 12px; }
.drr-card__who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.drr-name { font-size: calc(1.06 * var(--drr-u)); font-weight: 650; color: var(--drr-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drr-date, .drr-loc { font-size: calc(.9 * var(--drr-u)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drr-date { color: var(--drr-muted); margin-top: 2px; }
.drr-loc { color: var(--drr-body); font-weight: 500; }
.drr-card__meta { display: flex; align-items: center; gap: 10px; }
.drr-title { margin: 0; font-size: calc(1.15 * var(--drr-u)); font-weight: 650; line-height: 1.35; color: var(--drr-text); }
.drr-text { font-size: calc(1.06 * var(--drr-u)); line-height: 1.62; color: var(--drr-body); word-wrap: break-word; overflow-wrap: anywhere; }
.drr-text__full[hidden] { display: none; }
.drr-more { background: none; border: 0; padding: 0; margin-left: 2px; color: var(--drr-muted); cursor: pointer; font: inherit; font-size: calc(.95 * var(--drr-u)); }
.drr-more:hover, .drr-more:focus-visible { color: var(--drr-text); text-decoration: underline; text-underline-offset: 3px; }
.drr-reply { margin-top: 2px; padding: 12px 14px; border-radius: 10px; background: rgba(127, 127, 127, .08); font-size: calc(.95 * var(--drr-u)); color: var(--drr-body); }
.drr-reply strong { color: var(--drr-text); font-size: calc(.9 * var(--drr-u)); }
.drr-reply p { margin: 4px 0 0; }

/* Avatar: a coloured initial (colour derived from the name) sits underneath; the photo covers it once loaded. */
.drr-avatar-wrap { position: relative; width: 44px; height: 44px; flex: none; }
.drr-avatar, .drr-avatar-img { position: absolute; inset: 0; width: 44px; height: 44px; border-radius: 50%; }
.drr-avatar { display: flex; align-items: center; justify-content: center; background: hsl(var(--drr-av, 210) 52% 44%); color: #fff; font-weight: 700; font-size: calc(1.05 * var(--drr-u)); }
.drr-avatar-img { object-fit: cover; background: transparent; }

/* Platform mark (logo) */
.drr-plat { display: inline-flex; width: 24px; height: 24px; flex: none; text-decoration: none; }
.drr-plat svg { width: 100%; height: 100%; display: block; }
a.drr-plat { transition: transform .15s ease; }
a.drr-plat:hover { transform: scale(1.12); }
.drr .screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.drr-badge { /* text fallback for platforms without a logo */
	display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: calc(.75 * var(--drr-u)); font-weight: 600;
	color: var(--drr-pc, #555); background: color-mix(in srgb, var(--drr-pc, #555) 12%, transparent); white-space: nowrap;
}

/* ---- Layouts --------------------------------------------------------------------------------------- */
.drr--grid .drr__list {
	display: grid; gap: var(--drr-gap); align-items: stretch;
	grid-template-columns: repeat(auto-fill, minmax(max(var(--drr-min), calc((100% - (var(--drr-cols) - 1) * var(--drr-gap)) / var(--drr-cols))), 1fr));
}
.drr--list .drr__list { display: flex; flex-direction: column; gap: 18px; }
.drr--masonry .drr__list { column-count: var(--drr-cols); column-gap: var(--drr-gap); }
.drr--masonry .drr-card { margin-bottom: var(--drr-gap); height: auto; display: inline-flex; width: 100%; }

/* Slider: round arrows over the edges, pagination dots below */
.drr__viewport { position: relative; }
.drr__track {
	display: flex; gap: var(--drr-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; align-items: stretch;
	padding: 12px 14px 22px; margin: -12px -14px 0; scroll-padding-inline: 14px; scrollbar-width: none; /* padding leaves room for the card shadows, which a scroll container would otherwise clip */
}
.drr--slider .drr-card { box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .09); }
.drr--slider.drr--card-border .drr-card, .drr--slider.drr--card-minimal .drr-card { box-shadow: none; }
.drr__track::-webkit-scrollbar { display: none; }
.drr--slider .drr-card { flex: 0 0 max(var(--drr-min), calc((100% - (var(--drr-cols) - 1) * var(--drr-gap)) / var(--drr-cols))); scroll-snap-align: start; height: auto; }
.drr__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 2px; }
.drr__arrow {
	width: 40px; height: 40px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
	font-size: 24px; line-height: 1; color: var(--drr-text); background: var(--drr-card);
	border: 1px solid var(--drr-line-strong); box-shadow: 0 2px 8px rgba(15, 23, 42, .1);
	transition: background .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
}
.drr__arrow:hover:not(:disabled), .drr__arrow:focus-visible { background: var(--drr-accent); color: #fff; border-color: var(--drr-accent); }
.drr__arrow:focus-visible { outline: 2px solid var(--drr-accent); outline-offset: 3px; }
.drr__arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.drr__dots { display: flex; justify-content: center; align-items: center; gap: 8px; }
.drr__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--drr-line-strong); cursor: pointer; transition: width .25s ease, background .25s ease; }
.drr__dot:hover { background: var(--drr-muted); }
.drr__dot.is-active { width: 26px; background: var(--drr-accent); }
.drr__dot:focus-visible { outline: 2px solid var(--drr-accent); outline-offset: 3px; }
.drr__count { min-width: 56px; text-align: center; font-size: calc(.88 * var(--drr-u)); font-weight: 600; color: var(--drr-body); font-variant-numeric: tabular-nums; }
/* slider with the rating panel beside it */
.drr__split { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: center; }
.drr__stage { min-width: 0; }

@media (max-width: 900px) {
	.drr { --drr-cols: 2; }
	.drr--cols-1 { --drr-cols: 1; }
	.drr__split { grid-template-columns: 1fr; gap: 22px; }
	.drr__summary--side { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; gap: 10px 18px; }
	.drr__summary--side .drr__rate { flex-direction: row; flex-wrap: wrap; gap: 6px 12px; }
	.drr__summary--side .drr__word { font-size: calc(1.05 * var(--drr-u)); }
	.drr__summary--side .drr-stars { font-size: 24px; }
}
@media (max-width: 600px) {
	.drr, .drr--cols-2, .drr--cols-3, .drr--cols-4 { --drr-cols: 1; }
	.drr { --drr-gap: 16px; }
	.drr-card { padding: 18px 18px 16px; }
	.drr__cta { margin-left: 0; }
	.drr__arrow { width: 38px; height: 38px; font-size: 22px; }
}

/* Respond to the space the widget actually has (a narrow column on a wide screen is common). */
.drr--slider { container-type: inline-size; }
@container (max-width: 780px) {
	.drr__split { grid-template-columns: 1fr; gap: 22px; }
	.drr__summary--side { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; gap: 10px 18px; }
	.drr__summary--side .drr__rate { flex-direction: row; flex-wrap: wrap; gap: 6px 12px; }
	.drr__summary--side .drr__word { font-size: calc(1.05 * var(--drr-u)); }
	.drr__summary--side .drr-stars { font-size: 24px; }
}
.drr--empty { padding: 14px 16px; border: 1px dashed var(--drr-line-strong); border-radius: 10px; color: var(--drr-muted); }
.drr--empty p { margin: 0; }

/* ---- Floating corner badge (layout="floating") --------------------------------------------------- */
.drr--floating, .drr--floating.drr--theme-dark, .drr--floating.drr--theme-auto {
	position: fixed; bottom: 20px; z-index: 99990; margin: 0; padding: 0; background: none; border-radius: 0;
	font-size: 15px; max-width: calc(100vw - 32px);
}
.drr--pos-bottom-left { left: 20px; }
.drr--pos-bottom-right { right: 20px; }
.drr--floating[hidden] { display: none; }
.drr--floating.drr--in .drr-float__pill { animation: drr-fade .5s ease-out; }

.drr-float__pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 14px; border-radius: 999px;
	border: 1px solid var(--drr-line-strong); background: var(--drr-card); color: var(--drr-text);
	box-shadow: 0 8px 28px rgba(0, 0, 0, .2); cursor: pointer; font: inherit; font-weight: 600; line-height: 1.2;
	transition: transform .15s ease, box-shadow .15s ease;
}
.drr-float__pill:hover, .drr-float__pill:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, .26); }
.drr-float__pill:focus-visible { outline: 2px solid var(--drr-accent); outline-offset: 2px; }
.drr-float__score { font-size: calc(1.15 * var(--drr-u)); }
.drr-float__pill .drr-stars { font-size: 15px; letter-spacing: 1px; }
.drr-float__count { font-weight: 500; color: var(--drr-muted); font-size: calc(.85 * var(--drr-u)); }

/* small x to hide the badge for this visit; appears on hover / keyboard focus */
.drr-float__hide {
	position: absolute; top: -9px; width: 22px; height: 22px; padding: 0; border-radius: 50%;
	border: 1px solid var(--drr-line-strong); background: var(--drr-card); color: var(--drr-muted);
	font-size: 14px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s ease;
}
.drr--pos-bottom-left .drr-float__hide { left: -9px; }
.drr--pos-bottom-right .drr-float__hide { right: -9px; }
.drr--floating:hover .drr-float__hide, .drr-float__hide:focus-visible { opacity: 1; }
@media (hover: none) { .drr-float__hide { opacity: .9; } }

.drr-float__panel {
	position: absolute; bottom: calc(100% + 12px); width: min(400px, calc(100vw - 32px)); max-height: min(72vh, 600px);
	overflow-y: auto; overscroll-behavior: contain; padding: 16px; border-radius: var(--drr-radius);
	background: var(--drr-card); border: 1px solid var(--drr-line-strong);
	box-shadow: 0 16px 48px rgba(0, 0, 0, .28); animation: drr-pop .18s ease-out;
}
.drr-float__panel[hidden] { display: none; }
.drr--pos-bottom-left .drr-float__panel { left: 0; }
.drr--pos-bottom-right .drr-float__panel { right: 0; }
.drr-float__panel .drr__summary { margin: 0 32px 14px 0; gap: 6px 12px; }
.drr-float__panel .drr__rate { gap: 4px 10px; }
.drr-float__panel .drr__word { font-size: calc(.82 * var(--drr-u)); }
.drr-float__panel .drr__summary .drr-stars { font-size: 20px; }
.drr-float__panel .drr__src .drr-plat { width: 22px; height: 22px; }
.drr-float__panel .drr__cta { margin-left: 0; padding: 7px 14px; }
.drr-float__panel .drr__list { display: flex; flex-direction: column; gap: 12px; }
.drr-float__panel .drr-card { padding: 16px; height: auto; box-shadow: none; border: 1px solid var(--drr-line); }
.drr-float__panel .drr-card:hover { transform: none; }
.drr-float__close {
	position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: var(--drr-muted); font-size: 20px; line-height: 1; cursor: pointer;
}
.drr-float__close:hover { background: rgba(127, 127, 127, .15); color: var(--drr-text); }
@keyframes drr-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.drr-float__panel { animation: none; } .drr-float__pill, .drr-card, .drr__track { transition: none; scroll-behavior: auto; }
}
@media (max-width: 600px) {
	.drr--floating { bottom: 12px; }
	.drr--pos-bottom-left { left: 12px; }
	.drr--pos-bottom-right { right: 12px; }
	.drr-float__count { display: none; } /* keep the pill compact on phones */
}

/* ============================================================================================================
   v0.3: heading, uniform boxes, "More reviews", "Read more" dialog, "Write a review" location picker
   ============================================================================================================ */

.drr__title { margin: 0 0 20px; font-size: calc(1.45 * var(--drr-u)); font-weight: 750; letter-spacing: -.01em; line-height: 1.25; color: var(--drr-text); }

/* Every box in a grid is the same size: all rows share the height of the tallest, and review text is clamped. */
.drr--grid .drr__list { grid-auto-rows: 1fr; }
.drr-text--clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--drr-lines, 5); line-clamp: var(--drr-lines, 5); overflow: hidden; }
.drr-more--modal { align-self: flex-start; font-weight: 600; color: var(--drr-accent); }
.drr-more--modal:hover, .drr-more--modal:focus-visible { color: var(--drr-text); }

/* New cards ease in as they are added by "More reviews" */
.drr-card.is-new { animation: drr-rise .4s ease-out both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes drr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.drr__more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.drr__more {
	position: relative; padding: 13px 34px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 650; font-size: calc(.95 * var(--drr-u));
	color: var(--drr-text); background: var(--drr-card); border: 1.5px solid var(--drr-line-strong); box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
	transition: border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.drr__more:hover:not(:disabled), .drr__more:focus-visible { border-color: var(--drr-accent); color: var(--drr-accent); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 23, 42, .12); }
.drr__more:focus-visible { outline: 2px solid var(--drr-accent); outline-offset: 3px; }
.drr__more[aria-busy="true"] { cursor: progress; padding-right: 54px; opacity: .8; }
.drr__more[aria-busy="true"]::after {
	content: ""; position: absolute; right: 22px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
	border: 2px solid var(--drr-line-strong); border-top-color: var(--drr-accent); animation: drr-spin .7s linear infinite;
}
@keyframes drr-spin { to { transform: rotate(360deg); } }
.drr-float__panel .drr__more-wrap { margin-top: 14px; }
.drr-float__panel .drr__more { padding: 10px 24px; font-size: calc(.9 * var(--drr-u)); }

/* "Write a review": a button, or a picker when several locations are shown */
.drr__ctamenu { position: relative; margin-left: auto; }
.drr__ctamenu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; margin-left: 0; user-select: none; }
.drr__ctamenu > summary::-webkit-details-marker { display: none; }
.drr__caret { width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.drr__ctamenu[open] .drr__caret { transform: rotate(225deg); margin-top: 3px; }
.drr__ctalist {
	position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; min-width: 230px; padding: 8px; display: flex; flex-direction: column;
	background: var(--drr-card); border: 1px solid var(--drr-line-strong); border-radius: 14px; box-shadow: 0 16px 44px rgba(15, 23, 42, .22);
	animation: drr-pop .15s ease-out;
}
.drr__ctahint { padding: 8px 12px 6px; font-size: calc(.72 * var(--drr-u)); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--drr-muted); }
.drr__ctalist a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--drr-text); text-decoration: none; font-size: calc(.93 * var(--drr-u)); font-weight: 500; }
.drr__ctalist a:hover, .drr__ctalist a:focus-visible { background: rgba(127, 127, 127, .13); outline: none; }
.drr__summary--side .drr__ctamenu { margin: 4px 0 0; }
.drr__summary--side .drr__ctalist { right: auto; left: 50%; transform: translateX(-50%); }
.drr-float__panel .drr__ctalist { position: static; margin-top: 8px; box-shadow: none; animation: none; }
.drr--badge .drr__ctamenu { margin-left: 4px; }

/* "Read more" dialog. It sits on <body>, so it carries its own copy of the widget's colours. */
.drr-modal {
	position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px;
	background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); animation: drr-fade .18s ease-out;
}
.drr-modal[hidden] { display: none; }
.drr-modal__box {
	position: relative; width: min(580px, 100%); max-height: min(86vh, 760px); overflow: auto; border-radius: 20px;
	background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: drr-pop .2s ease-out;
}
.drr-modal .drr--modalwrap { margin: 0; background: var(--drr-card); border-radius: 20px; font-size: calc(1 * var(--drr-u)); }
.drr-modal .drr--theme-dark.drr--modalwrap { padding: 0; }
.drr-modal .drr-card { box-shadow: none; border: 0; height: auto; padding: 30px 28px 26px; background: transparent; transform: none; animation: none; }
.drr-modal .drr-text--clamp { display: block; overflow: visible; -webkit-line-clamp: unset; line-clamp: unset; }
.drr-modal .drr-text { font-size: calc(1.12 * var(--drr-u)); }
.drr-modal .drr-more { display: none; }
.drr-modal__close {
	position: absolute; top: 12px; right: 14px; z-index: 2; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(127, 127, 127, .14); color: #334155; font-size: 22px; line-height: 1; cursor: pointer;
}
.drr-modal__close:hover, .drr-modal__close:focus-visible { background: rgba(127, 127, 127, .28); }
html.drr-lock { overflow: hidden; }
@keyframes drr-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.drr-card.is-new, .drr-modal, .drr-modal__box, .drr__ctalist, .drr__more[aria-busy="true"]::after { animation: none; }
}
@media (max-width: 600px) {
	.drr__ctamenu { margin-left: 0; }
	.drr__ctalist { right: auto; left: 0; }
	.drr-modal { padding: 12px; place-items: end center; }
	.drr-modal__box { border-radius: 20px 20px 16px 16px; }
}