/* ===== Stories — public styles ===== */

.uccstories-section {
	--uccs-accent: #6C5CE7;
	background: #fefefe;
	border: 1px solid rgba(0,0,0,.07);
	border-radius: 18px;
	box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 12px 28px rgba(0,0,0,.07);
	padding: 18px 18px 10px;
	margin: 20px 0;
}
.uccstories-section-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
	padding: 0 2px;
}
.uccstories-section-title {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	letter-spacing: -.01em;
}
.uccstories-section-title::before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 16px;
	background: var(--uccs-accent, #6C5CE7);
	border-radius: 3px;
	margin-right: 8px;
	vertical-align: -2px;
}

.uccstories-feed {
	--uccs-accent: #6C5CE7;
	width: 100%;
	margin: 0;
}

.uccstories-row {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding: 6px 4px 18px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	scroll-snap-type: x mandatory;
}
.uccstories-row::-webkit-scrollbar { height: 6px; }
.uccstories-row::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

/* Card sized so ~3.5 are visible on a typical phone viewport, the rest
   reachable by swiping — matches the current WhatsApp Status layout. */
.uccstories-group,
.uccstories-group:hover,
.uccstories-group:focus,
.uccstories-group:active,
.uccstories-group:focus-visible {
	position: relative;
	flex: 0 0 26%;
	min-width: 96px;
	max-width: 132px;
	aspect-ratio: 0.66;
	scroll-snap-align: start;
	cursor: pointer;
	background: none !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-tap-highlight-color: transparent;
	font: inherit;
	padding: 0;
	overflow: visible;
}

.uccstories-card-bg {
	position: absolute;
	inset: 0;
	border-radius: 16px;
	overflow: hidden;
	background-color: #6C5CE7;
	background-size: cover;
	background-position: center;
	/* Give a subtle saturation boost so images pop more */
	filter: saturate(1.08) brightness(1.04);
}
.uccstories-card-bg .uccstories-card-scrim {
	position: absolute;
	inset: 0;
	/* Only darken the bottom 40% where the label needs contrast —
	   the top 60% is now completely clear so photos stay vivid */
	background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,.58) 100%);
}
.uccstories-card-bg .uccstories-card-initial {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
	font-weight: 700;
	color: rgba(255,255,255,.5);
}
.uccstories-card-bg .uccstories-card-snippet {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px 12px 30px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: rgba(255,255,255,.92);
	text-align: center;
	overflow: hidden;
}

.uccstories-card-avatar-wrap {
	position: absolute;
	top: -12px;
	left: 12px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	padding: 2.5px;
	background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
	z-index: 2;
	transition: transform .15s ease;
}
.ring-style-brand .uccstories-card-avatar-wrap { background: var(--uccs-accent, #6C5CE7); }
.uccstories-card-avatar-wrap.seen { background: #c7c7c7; }
.uccstories-group:hover .uccstories-card-avatar-wrap { transform: scale(1.06); }

.uccstories-card-avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #ddd;
	background-size: cover;
	background-position: center;
	border: 2px solid #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	color: #fff;
	font-weight: 600;
}

.uccstories-card-label {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 9px;
	z-index: 2;
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	text-shadow: 0 1px 3px rgba(0,0,0,.5);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}

.uccstories-skeleton { display: flex; gap: 12px; }
.uccstories-skeleton-circle {
	flex: 0 0 26%;
	min-width: 96px;
	max-width: 132px;
	aspect-ratio: 0.66;
	border-radius: 16px;
	background: linear-gradient(90deg, #eee 25%, #f6f6f6 37%, #eee 63%);
	background-size: 400% 100%;
	animation: uccs-shimmer 1.4s ease infinite;
}
@keyframes uccs-shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ===== Pinned group ring ===== */
.uccstories-card-avatar-wrap.pinned {
	background: linear-gradient(45deg, #f9ca24, #f0932b, #e55039);
	animation: uccs-pin-pulse 2.2s ease-in-out infinite;
}
@keyframes uccs-pin-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(240,147,43,.45); }
	50% { box-shadow: 0 0 0 7px rgba(240,147,43,0); }
}
.uccstories-pin-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	font-size: 14px;
	z-index: 3;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}

/* ===== Empty state ===== */
.uccstories-empty-state {
	width: 100%;
	padding: 32px 16px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.uccstories-empty-illustration {
	color: var(--uccs-accent, #6C5CE7);
	margin-bottom: 12px;
	opacity: .55;
}
.uccstories-empty-title {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 6px;
}
.uccstories-empty-subtitle {
	font-size: 14px;
	color: #888;
	margin: 0;
}

/* ===== Video bg ===== */
.uccstories-bg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.uccstories-video-mute {
	position: absolute;
	bottom: 90px;
	right: 14px;
	z-index: 4;
	background: rgba(0,0,0,.4);
	border: none;
	border-radius: 50%;
	color: #fff;
	width: 32px; height: 32px;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}

/* ===== Carousel dots ===== */
.uccstories-carousel-dots {
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 5px;
	z-index: 4;
}
.uccstories-carousel-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: rgba(255,255,255,.5);
	transition: background .15s ease, transform .15s ease;
}
.uccstories-carousel-dot.active {
	background: #fff;
	transform: scale(1.25);
}

/* ===== CTA button ===== */
.uccstories-cta-wrap {
	position: absolute;
	bottom: 56px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	white-space: nowrap;
}
.uccstories-cta-btn {
	display: inline-block;
	padding: 10px 26px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	letter-spacing: .02em;
	transition: transform .12s ease, opacity .12s ease;
	cursor: pointer;
}
.uccstories-cta-btn:hover { transform: scale(1.03); opacity: .92; }
.uccstories-cta-solid {
	background: #fff;
	color: var(--uccs-accent, #6C5CE7);
	box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.uccstories-cta-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255,255,255,.85);
}

/* ===== Mentions row ===== */
.uccstories-mentions-row {
	position: absolute;
	bottom: 110px;
	left: 16px;
	right: 16px;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.uccstories-mention-pill {
	background: rgba(255,255,255,.18);
	color: #fff;
	border: 1px solid rgba(255,255,255,.5);
	border-radius: 20px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	backdrop-filter: blur(4px);
	transition: background .12s ease;
}
.uccstories-mention-pill:hover { background: rgba(255,255,255,.3); }

/* ===== Reaction avatar stack ===== */
.uccstories-reaction-stack {
	position: absolute;
	bottom: 56px;
	right: 16px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 4px;
}
.uccstories-reaction-stack img {
	width: 22px; height: 22px;
	border-radius: 50%;
	border: 1.5px solid rgba(255,255,255,.7);
	margin-left: -6px;
}
.uccstories-reaction-stack img:first-child { margin-left: 0; }
.uccstories-reaction-stack-count {
	font-size: 12px;
	color: rgba(255,255,255,.9);
	font-weight: 600;
	text-shadow: 0 1px 2px rgba(0,0,0,.4);
	margin-left: 4px;
	white-space: nowrap;
}

/* ===== Carousel admin preview grid ===== */
.uccstories-carousel-preview { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.uccstories-carousel-preview img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; }

/* ===== Fullscreen viewer ===== */

.uccstories-viewer-root[hidden] { display: none; }

.uccstories-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: uccs-fadein .15s ease;
}
@keyframes uccs-fadein { from { opacity: 0; } to { opacity: 1; } }

.uccstories-slide {
	position: relative;
	width: 100%;
	max-width: 420px;
	height: 100%;
	max-height: 760px;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	color: #fff;
	background: #111;
}

.uccstories-progress-row {
	position: absolute;
	top: 8px;
	left: 8px;
	right: 8px;
	display: flex;
	gap: 4px;
	z-index: 5;
}
.uccstories-progress-track {
	flex: 1;
	height: 3px;
	background: rgba(255,255,255,.35);
	border-radius: 4px;
	overflow: hidden;
}
.uccstories-progress-fill {
	height: 100%;
	width: 0%;
	background: #fff;
	border-radius: 4px;
}
.uccstories-progress-fill.active { transition: width linear; }
.uccstories-progress-fill.complete { width: 100% !important; }

.uccstories-header {
	position: absolute;
	top: 18px;
	left: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 5;
}
.uccstories-header-avatar {
	width: 32px; height: 32px; border-radius: 50%;
	background-size: cover; background-position: center; background-color: #555;
	border: 1px solid rgba(255,255,255,.6);
}
.uccstories-header-name { font-size: 14px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.uccstories-header-time { font-size: 12px; opacity: .75; }
.uccstories-header-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}
.uccstories-close, .uccstories-mute, .uccstories-autoplay-toggle {
	background: rgba(0,0,0,.35);
	border: none;
	color: #fff;
	width: 32px; height: 32px;
	border-radius: 50%;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.uccstories-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.uccstories-icon svg { display: block; }
.uccstories-emoji-glyph { font-size: 18px; line-height: 1; }

.uccstories-tap-zone {
	position: absolute;
	top: 0; bottom: 0;
	width: 30%;
	z-index: 4;
	cursor: pointer;
}
.uccstories-tap-zone.left { left: 0; }
.uccstories-tap-zone.right { right: 0; }

.uccstories-slide-content {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 32px 24px;
	position: relative;
}

.uccstories-slide-content img.uccstories-bg-image,
.uccstories-slide-content video.uccstories-bg-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.uccstories-slide-content .uccstories-overlay-scrim {
	position: absolute; inset: 0;
	/* Lighter at the top (near-zero) so the image fills the frame
	   vividly — only the bottom gets a gradient for text readability */
	background: linear-gradient(to bottom, rgba(0,0,0,.0) 40%, rgba(0,0,0,.42) 100%);
	z-index: 1;
}
.uccstories-text-body, .uccstories-link-card, .uccstories-poll {
	position: relative;
	z-index: 2;
	width: 100%;
}
.uccstories-text-body {
	font-size: 26px; /* JS overrides this immediately via fitTextBody() */
	font-weight: 700;
	line-height: 1.35;
	word-wrap: break-word;
	overflow-wrap: break-word;
	overflow: hidden;
	padding: 0 8px;
	transition: font-size .1s ease;
}
.uccstories-caption {
	position: absolute;
	z-index: 2;
	bottom: 90px; left: 20px; right: 20px;
	text-align: left;
	font-size: 15px;
	line-height: 1.4;
	text-shadow: 0 1px 3px rgba(0,0,0,.6);
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.uccstories-audio-play {
	width: 64px; height: 64px;
	border-radius: 50%;
	background: rgba(255,255,255,.9);
	color: #111;
	border: none;
	font-size: 24px;
	cursor: pointer;
	position: relative; z-index: 2;
}

.uccstories-link-card {
	background: rgba(255,255,255,.95);
	color: #111;
	border-radius: 10px;
	overflow: hidden;
	text-align: left;
	max-width: 320px;
	margin: 0 auto;
	text-decoration: none;
	display: block;
}
.uccstories-link-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.uccstories-link-card .uccstories-link-body { padding: 12px 14px; }
.uccstories-link-card .uccstories-link-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.uccstories-link-card .uccstories-link-desc { font-size: 12px; color: #555; }
.uccstories-link-card .uccstories-link-domain { font-size: 11px; color: #888; margin-top: 6px; text-transform: uppercase; }

.uccstories-poll-option {
	display: block;
	width: 100%;
	text-align: left;
	background: rgba(255,255,255,.15);
	border: 1px solid rgba(255,255,255,.5);
	color: #fff;
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 8px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	font-size: 14px;
}
.uccstories-poll-option .uccstories-poll-fill {
	position: absolute; inset: 0;
	background: rgba(255,255,255,.25);
	width: 0%;
	z-index: 0;
	transition: width .4s ease;
}
.uccstories-poll-option span { position: relative; z-index: 1; }
.uccstories-poll-option.voted { pointer-events: none; }

.uccstories-actions {
	position: absolute;
	bottom: 14px;
	left: 16px;
	right: 16px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 14px;
}
.uccstories-action-btn {
	background: none;
	border: none;
	color: #fff;
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 4px;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}
.uccstories-action-btn.liked { color: var(--uccs-accent, #ff5a6e); }
.uccstories-action-count { font-size: 12px; }
.uccstories-view-count { margin-left: auto; font-size: 12px; opacity: .85; display: flex; gap: 4px; align-items: center; }

.uccstories-holding .uccstories-header,
.uccstories-holding .uccstories-actions {
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s ease;
}
.uccstories-header, .uccstories-actions { transition: opacity .15s ease; }

.uccstories-floating-reaction {
	position: absolute;
	bottom: 70px;
	font-size: 30px;
	z-index: 8;
	pointer-events: none;
	animation: uccs-float-up 2.2s ease-out forwards;
	will-change: transform, opacity;
}
@keyframes uccs-float-up {
	0% { transform: translate(0, 0) scale(.4) rotate(0deg); opacity: 0; }
	12% { transform: translate(0, -10px) scale(1.15) rotate(-4deg); opacity: 1; }
	28% { transform: translate(calc(var(--uccs-drift) * .3), -70px) scale(1) rotate(4deg); opacity: 1; }
	100% { transform: translate(var(--uccs-drift), -280px) scale(.85) rotate(-6deg); opacity: 0; }
}

.uccstories-toast {
	position: absolute;
	bottom: 70px;
	left: 50%;
	transform: translate(-50%, 8px);
	background: rgba(0,0,0,.8);
	color: #fff;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	z-index: 9;
	opacity: 0;
	transition: opacity .2s ease, transform .2s ease;
	white-space: nowrap;
}
.uccstories-toast.visible { opacity: 1; transform: translate(-50%, 0); }

.uccstories-reaction-picker {
	position: absolute;
	bottom: 56px;
	left: 16px;
	display: flex;
	gap: 8px;
	background: rgba(0,0,0,.6);
	border-radius: 30px;
	padding: 8px 12px;
	z-index: 6;
	animation: uccs-fadein .12s ease;
}
.uccstories-reaction-picker button {
	background: none; border: none; font-size: 22px; cursor: pointer;
	transition: transform .1s ease;
}
.uccstories-reaction-picker button:hover { transform: scale(1.3); }

.uccstories-comments-panel {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	max-height: 65%;
	background: #fff;
	color: #111;
	border-radius: 16px 16px 0 0;
	z-index: 7;
	display: flex;
	flex-direction: column;
	transform: translateY(100%);
	transition: transform .25s ease;
}
.uccstories-comments-panel.open { transform: translateY(0); }
.uccstories-comments-header { padding: 12px 16px; border-bottom: 1px solid #eee; font-weight: 600; display:flex; justify-content: space-between; }
.uccstories-comments-list { overflow-y: auto; padding: 8px 16px; flex: 1; }
.uccstories-comment {
	display: flex;
	gap: 8px;
	padding: 6px 0;
	animation: uccs-bubble-in .28s ease backwards;
}
@keyframes uccs-bubble-in {
	from { opacity: 0; transform: scale(.85) translateY(8px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}
.uccstories-comment img { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.uccstories-comment-bubble {
	background: #f1f1f3;
	border-radius: 16px;
	padding: 8px 13px;
	max-width: 80%;
}
.uccstories-comment-author { font-weight: 600; font-size: 12.5px; margin-bottom: 1px; color: #444; }
.uccstories-comment-text { font-size: 13.5px; line-height: 1.35; }
.uccstories-comments-input-row { display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid #eee; }
.uccstories-comments-input-row input { flex: 1; border: 1px solid #ddd; border-radius: 20px; padding: 8px 14px; font-size: 14px; }
.uccstories-comment-send {
	background: var(--uccs-accent); color: #fff; border: none; border-radius: 50%;
	width: 36px; height: 36px; cursor: pointer; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	transition: transform .15s ease;
}
.uccstories-comment-send.sending { transform: scale(.8); }
.uccstories-comment-send:active { transform: scale(.9); }

/* ===== Share sheet ===== */

.uccstories-share-panel { max-height: 58%; }

.uccstories-share-grid {
	display: flex;
	gap: 18px;
	padding: 18px 16px 6px;
	overflow-x: auto;
}
.uccstories-share-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	width: 64px;
	text-decoration: none;
	color: #333;
	background: none;
	border: none;
	cursor: pointer;
	font: inherit;
}
.uccstories-share-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .12s ease;
}
.uccstories-share-item:hover .uccstories-share-icon { transform: scale(1.06); }
.uccstories-share-icon.whatsapp { background: #25D366; }
.uccstories-share-icon.telegram { background: #29A9EA; }
.uccstories-share-icon.facebook { background: #1877F2; }
.uccstories-share-icon.twitter { background: #111; }
.uccstories-share-icon.email { background: #777; }
.uccstories-share-icon.more { background: #6C5CE7; color: #fff; }
.uccstories-share-label { font-size: 11.5px; color: #555; white-space: nowrap; }

.uccstories-share-copy-row {
	display: flex;
	gap: 8px;
	padding: 12px 16px 16px;
	border-top: 1px solid #eee;
	margin-top: 6px;
}
.uccstories-share-copy-row input {
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 8px 14px;
	font-size: 13px;
	color: #666;
	background: #f7f7f8;
}
.uccstories-share-copy-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--uccs-accent, #6C5CE7);
	color: #fff;
	border: none;
	border-radius: 20px;
	padding: 0 16px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.uccstories-slide { max-width: 92vw; max-height: 88vh; }
}

@media (max-width: 480px) {
	.uccstories-section { border-radius: 14px; padding: 14px 12px 4px; margin: 14px 0; }
	.uccstories-section-title { font-size: 15px; }
	.uccstories-slide { max-width: 100%; max-height: 100%; border-radius: 0; }
	.uccstories-row { gap: 10px; padding: 6px 4px 16px; }
	.uccstories-group, .uccstories-group:hover, .uccstories-group:focus, .uccstories-group:active {
		flex-basis: 27%;
		min-width: 88px;
	}
	.uccstories-card-avatar-wrap { width: 38px; height: 38px; top: -10px; left: 10px; }
	.uccstories-card-label { font-size: 11.5px; left: 10px; right: 10px; bottom: 8px; }
	.uccstories-caption { left: 16px; right: 16px; bottom: 78px; font-size: 14px; }
	.uccstories-actions { gap: 10px; }
	.uccstories-action-btn { font-size: 19px; }
	.uccstories-link-card { max-width: 100%; }
	.uccstories-comments-panel { max-height: 75%; }
}

@media (max-width: 360px) {
	.uccstories-group, .uccstories-group:hover, .uccstories-group:focus, .uccstories-group:active {
		flex-basis: 30%;
		min-width: 80px;
	}
	.uccstories-card-avatar-wrap { width: 34px; height: 34px; }
	.uccstories-actions { flex-wrap: wrap; }
}

/* Cards stay a horizontal, swipeable carousel at every screen size (matching
   the current WhatsApp Status layout) — they get larger on bigger screens
   rather than wrapping into a grid. */
@media (min-width: 768px) {
	.uccstories-row { gap: 16px; padding: 8px 4px 20px; justify-content: center; }
	.uccstories-group, .uccstories-group:hover, .uccstories-group:focus, .uccstories-group:active {
		flex-basis: 18%;
		min-width: 130px;
		max-width: 160px;
	}
	.uccstories-card-avatar-wrap { width: 50px; height: 50px; }
	.uccstories-card-label { font-size: 13.5px; }
}

@media (min-width: 1024px) {
	.uccstories-slide { max-width: 460px; max-height: 820px; }

	.uccstories-row { gap: 18px; }
	.uccstories-group, .uccstories-group:hover, .uccstories-group:focus, .uccstories-group:active {
		flex-basis: 15%;
		min-width: 150px;
		max-width: 180px;
	}
	.uccstories-card-avatar-wrap { width: 56px; height: 56px; top: -14px; left: 14px; }
	.uccstories-card-label { font-size: 14px; }
	.uccstories-card-bg .uccstories-card-initial { font-size: 40px; }
}

@media (min-width: 1440px) {
	.uccstories-row { gap: 20px; }
	.uccstories-group, .uccstories-group:hover, .uccstories-group:focus, .uccstories-group:active {
		min-width: 170px;
		max-width: 200px;
	}
	.uccstories-card-avatar-wrap { width: 60px; height: 60px; }
	.uccstories-card-label { font-size: 15px; }
}

/* Respect users who've asked the OS to reduce motion */
@media (prefers-reduced-motion: reduce) {
	.uccstories-overlay, .uccstories-skeleton-circle, .uccstories-reaction-picker, .uccstories-group .uccstories-card-avatar-wrap {
		animation: none !important;
		transition: none !important;
	}
	.uccstories-floating-reaction {
		display: none;
	}
}
