/* Anovite Associate Dashboard (ByDesign Bridge). Everything is scoped under
   .abb-dash. Buttons are defended with !important because the Flexora theme
   styles every button globally; per-state looks use classes, not inline
   styles, so these rules can win. */

.abb-dash {
	container-type: inline-size;
	container-name: abbdash;
	font-family: 'Noto Sans', system-ui, sans-serif;
	color: #202120;
	background: #FFFFFF;
	-webkit-font-smoothing: antialiased;
}
.abb-dash *, .abb-dash *::before, .abb-dash *::after { box-sizing: border-box; }
.abb-dash p, .abb-dash span, .abb-dash h1, .abb-dash h2, .abb-dash h3, .abb-dash a { text-wrap-style: pretty; }
.abb-dash a { color: #3F5774; }
.abb-dash a:hover { color: #5E7C9F; }
.abb-dash .abd-nw { white-space: nowrap; }

.abb-dash .abd-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 32px 32px 64px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.abb-dash .abd-eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.abb-dash .abd-eyebrow2 { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }

/* Sections */
.abb-dash .abd-acct { background: #3F5774; color: #FFFFFF; border-radius: 24px; padding: 32px 36px; display: flex; flex-direction: column; gap: 28px; }
.abb-dash .abd-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.abb-dash .abd-celeb { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 26px 30px; border-radius: 24px; background: #FBF3E2; border: 1px solid #E2C998; }
.abb-dash .abd-earncard { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 40px; padding: 26px 30px; border-radius: 24px; border: 1px solid #A7CFB6; background: #DDEFE3; }
.abb-dash .abd-rtr { background: #EDF3F6; border-radius: 24px; padding: 32px 36px; display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 120px; }
.abb-dash .abd-wbw { border: 1px solid rgba(7, 8, 7, 0.12); border-radius: 24px; padding: 28px 32px; display: flex; flex-direction: column; gap: 18px; }
.abb-dash .abd-ringcard { flex: 1 1 260px; max-width: 300px; display: flex; flex-direction: column; align-items: center; gap: 14px; background: #FFFFFF; border-radius: 20px; padding: 28px 24px; }
.abb-dash .abd-move { background: #3F5774; border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; color: #FFFFFF; }
.abb-dash .abd-unlocks { border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; background: #FBF3E2; border: 1px solid #E2C998; }
.abb-dash .abd-foot { border-top: 1px solid rgba(7, 8, 7, 0.12); padding-top: 20px; font-size: 12px; color: rgba(7, 8, 7, 0.68); line-height: 1.6; }
.abb-dash .abd-notice { max-width: 640px; margin: 40px auto; padding: 32px; border-radius: 24px; background: #EDF3F6; display: flex; flex-direction: column; gap: 14px; }
.abb-dash .abd-stale { font-size: 13px; padding: 10px 14px; border-radius: 12px; background: #FBF3E2; border: 1px solid #E2C998; color: #6E4E14; }

/* Admin preview bar */
.abb-dash .abd-admin { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 13px; color: #3F5774; background: #EDF3F6; border: 1px dashed #5E7C9F; border-radius: 12px; padding: 8px 14px; }
.abb-dash .abd-admin label { font-weight: 600; }
.abb-dash .abd-sel { position: relative; display: inline-flex; max-width: 100%; }
.abb-dash .abd-sel select { font: inherit; font-size: 13px; padding: 6px 40px 6px 12px !important; border: 1px solid rgba(0, 0, 0, 0.15) !important; border-radius: 8px !important; background: #FFFFFF !important; color: #202120 !important; min-height: 36px; max-width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer; }
.abb-dash .abd-sel svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }

/* Tiles */
.abb-dash .abd-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.abb-dash .abd-tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid rgba(7, 8, 7, 0.12); border-radius: 18px; text-decoration: none !important; color: #202120 !important; background: #FFFFFF; min-height: 44px; }
.abb-dash .abd-tile:hover { border-color: #5E7C9F; }
.abb-dash .abd-tile.is-green { border-color: #A7CFB6; background: #DDEFE3; }
.abb-dash .abd-tile.is-green:hover { border-color: #28734E; }
.abb-dash .abd-tile-ic { width: 44px; height: 44px; border-radius: 12px; background: #EDF3F6; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.abb-dash .abd-tile.is-green .abd-tile-ic { background: #C3E2CF; }
.abb-dash .abd-tile-tx { display: flex; flex-direction: column; gap: 2px; }
.abb-dash .abd-tile-t { font-weight: 600; font-size: 15px; }
.abb-dash .abd-tile-s { font-size: 13px; color: rgba(7, 8, 7, 0.68); }
.abb-dash .abd-tile.is-green .abd-tile-s { color: #28734E; font-weight: 600; }

/* Pills and chips */
.abb-dash .abd-pill,
.abb-dash button.abd-pill {
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	min-height: 48px !important; padding: 0 24px !important; border-radius: 999px !important;
	background: #FFFFFF !important; background-image: none !important; color: #202120 !important;
	border: 1px solid rgba(7, 8, 7, 0.12) !important; box-shadow: none !important;
	text-decoration: none !important; font-family: 'Noto Sans', system-ui, sans-serif !important;
	font-size: 15px !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: 0 !important;
	text-transform: none !important; white-space: nowrap; cursor: pointer;
}
.abb-dash .abd-notice .abd-pill { background: #3F5774 !important; color: #FFFFFF !important; border-color: #3F5774 !important; }
.abb-dash .abd-chip { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #202120; padding: 4px 10px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.abb-dash .abd-chip.is-met { background: #DCE8D6; padding-left: 6px; }
.abb-dash .abd-chip.is-miss { background: #EED7CF; }
.abb-dash .abd-leg { display: flex; align-items: center; gap: 6px; background: #FFFFFF; color: #202120; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.abb-dash .abd-leg.is-ok { border: 1px solid #C9DFBB; }
.abb-dash .abd-leg.is-no { border: 1px solid #E0BCAF; }

/* Ring */
.abb-dash .abd-ring-arc { transition: stroke-dasharray 900ms cubic-bezier(.2, .8, .2, 1); }

/* Scroll areas */
.abb-dash .abd-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }

/* ---- Buttons: reset first (beats Flexora), then each kind ---- */
.abb-dash button.abd-btn {
	-webkit-appearance: none !important; appearance: none !important;
	margin: 0 !important; border: none !important; border-radius: 0 !important;
	background: none !important; background-color: transparent !important; background-image: none !important;
	box-shadow: none !important; color: #202120 !important;
	font-family: 'Noto Sans', system-ui, sans-serif !important; font-size: inherit !important; font-weight: inherit !important;
	line-height: inherit !important; letter-spacing: normal !important; text-transform: none !important;
	text-decoration: none !important; text-shadow: none !important; min-width: 0 !important; width: auto;
	height: auto; padding: 0 !important; cursor: pointer !important; transition: none !important;
}
.abb-dash button.abd-btn:focus-visible { outline: 2px solid #5E7C9F !important; outline-offset: 2px !important; }

.abb-dash button.abd-rank { padding: 0 2px !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: 6px !important; min-height: 64px !important; }

.abb-dash button.abd-linkbtn { padding: 12px 0 !important; min-height: 44px !important; color: #3F5774 !important; text-decoration: underline !important; font-size: 13px !important; }

.abb-dash button.abd-arrow { width: 44px !important; height: 44px !important; border-radius: 50% !important; border: 1px solid rgba(0, 0, 0, 0.15) !important; background: #FFFFFF !important; display: flex !important; align-items: center !important; justify-content: center !important; }

.abb-dash .abd-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.abb-dash button.abd-tab { text-align: left !important; background: #FFFFFF !important; border-radius: 16px !important; padding: 14px 16px !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 4px !important; min-width: 0 !important; border: 1px solid rgba(7, 8, 7, 0.12) !important; }
.abb-dash button.abd-tab.is-on { border: 2px solid #3F5774 !important; box-shadow: 0 8px 20px rgba(63, 87, 116, 0.12) !important; }

.abb-dash button.abd-handle { margin: 0 6px 6px !important; height: 30px !important; border-radius: 999px !important; background: #3F5774 !important; color: #FFFFFF !important; font-size: 12px !important; font-weight: 600 !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; cursor: grab !important; touch-action: none; user-select: none; }
.abb-dash button.abd-handle:active { cursor: grabbing !important; }

.abb-dash button.abd-week { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 6px !important; padding: 10px 0 12px !important; }
.abb-dash button.abd-week.is-in { background: #EDF3F6 !important; }
.abb-dash button.abd-week.is-first { border-radius: 14px 0 0 14px !important; }
.abb-dash button.abd-week.is-last { border-radius: 0 14px 14px 0 !important; }
.abb-dash button.abd-week.is-first.is-last { border-radius: 14px !important; }
.abb-dash button.abd-week.is-focus { box-shadow: inset 0 0 0 2px #5E7C9F !important; }

.abb-dash .abd-m-only { display: none; }

/* Loading skeleton (printed by PHP, replaced on first render) */
.abb-dash .abd-skel { display: block; border-radius: 24px; background: linear-gradient(90deg, #EDF3F6 0%, #F6F9FA 50%, #EDF3F6 100%); background-size: 200% 100%; animation: abd-shimmer 1.4s ease-in-out infinite; }
.abb-dash .abd-skel-hero { height: 300px; background: #3F5774; opacity: 0.92; animation: none; }
.abb-dash .abd-skel-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.abb-dash .abd-skel-tile { height: 82px; border-radius: 18px; }
.abb-dash .abd-skel-card { height: 160px; }
.abb-dash .abd-skel-big { height: 520px; }
.abb-dash .abd-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes abd-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

@media (prefers-reduced-motion: reduce) {
	.abb-dash .abd-ring-arc { transition: none; }
	.abb-dash .abd-skel { animation: none; }
}

/* Mobile (container width, so it also works inside narrow Elementor columns) */
@container abbdash (max-width: 760px) {
	.abb-dash .abd-m-only { display: block !important; }
	.abb-dash .abd-wrap { padding: 16px 16px 48px; gap: 16px; }
	.abb-dash .abd-acct { padding: 24px 20px; border-radius: 20px; }
	.abb-dash .abd-acct-h { font-size: 28px !important; }
	.abb-dash .abd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	/* Five tiles (with Prospector): the last one takes the full row. */
	.abb-dash .abd-tiles > .abd-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.abb-dash .abd-tile { gap: 10px; padding: 12px; }
	.abb-dash .abd-tile-ic { width: 36px; height: 36px; border-radius: 10px; }
	.abb-dash .abd-tile-t { font-size: 14px; line-height: 1.3; }
	.abb-dash .abd-tile-s { display: none; }
	.abb-dash .abd-rtr, .abb-dash .abd-wbw { padding: 20px 16px; border-radius: 20px; }
	.abb-dash .abd-ringcard { max-width: none; }
	.abb-dash .abd-earn { align-items: flex-start !important; text-align: left !important; }
	.abb-dash .abd-acct .abd-acct-right { flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; gap: 18px; }
	.abb-dash .abd-acct .abd-acct-right .abd-wk-cd { align-items: stretch; }
	.abb-dash .abd-wk-cd .abd-pts-cd-row { width: 100%; }
	.abb-dash .abd-wk-cd .abd-pts-cd-u { flex: 1 1 0; }
	.abb-dash .abd-earn-n { font-size: 48px !important; }
	/* Long translations: buttons wrap inside their box instead of running past it. */
	.abb-dash .abd-pill, .abb-dash button.abd-pill { white-space: normal; max-width: 100% !important; text-align: center !important; padding: 10px 20px !important; }
	.abb-dash .abd-status .abd-pill { width: 100% !important; }
	.abb-dash .abd-celeb, .abb-dash .abd-earncard { padding: 22px 20px; border-radius: 20px; }
}

/* Theme heading styles (font, spacing, case) must not leak in. */
.abb-dash h1, .abb-dash h2, .abb-dash h3 { font-family: 'IBM Plex Sans', sans-serif !important; letter-spacing: normal; text-transform: none; padding: 0; }
.abb-dash h2.abd-eyebrow { font-family: 'Noto Sans', system-ui, sans-serif !important; letter-spacing: 2px !important; text-transform: uppercase !important; font-size: 12px !important; line-height: 1.4 !important; }

/* Referral links side panel. Lives on <body>, outside .abb-dash, and matches
   the cart drawer (420px, slides in from the right). */
.abd-drawer-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 999998; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.abd-drawer-overlay.is-open { opacity: 1; visibility: visible; }
.abd-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 420px; background: #FFFFFF; z-index: 999999; transform: translateX(100%); transition: transform .35s cubic-bezier(.16, 1, .3, 1); display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1); font-family: 'Noto Sans', system-ui, sans-serif; color: #202120; }
.abd-drawer.is-open { transform: translateX(0); }
.abd-drawer *, .abd-drawer *::before, .abd-drawer *::after { box-sizing: border-box; }
.abd-drawer .abd-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 16px; flex-shrink: 0; }
.abd-drawer .abd-drawer-head h2 { margin: 0 !important; font-family: 'IBM Plex Sans', sans-serif !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.3 !important; color: #202120 !important; letter-spacing: normal !important; text-transform: none !important; }
.abd-drawer button.abd-drawer-close { width: 32px !important; height: 32px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 50% !important; background: transparent !important; background-image: none !important; box-shadow: none !important; color: #202120 !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; }
.abd-drawer button.abd-drawer-close:hover { background: rgba(0, 0, 0, 0.04) !important; }
.abd-drawer .abd-drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px 24px; border-top: 1px solid #F0F0F0; }
.abd-drawer .abd-drawer-intro { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: rgba(7, 8, 7, 0.8); }
.abd-drawer .abd-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.abd-drawer .abd-link { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 14px; background: #EDF3F6; margin: 0; }
.abd-drawer .abd-link-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.abd-drawer .abd-link-label { font-size: 13px; font-weight: 600; color: #202120; }
.abd-drawer .abd-link-url { font-size: 14px; color: #3F5774 !important; text-decoration: none !important; overflow-wrap: anywhere; }
.abd-drawer .abd-link-url:hover { text-decoration: underline !important; }
.abd-drawer button.abd-copy { flex-shrink: 0; min-width: 76px !important; height: 36px !important; padding: 0 14px !important; margin: 0 !important; border-radius: 999px !important; border: 1px solid rgba(7, 8, 7, 0.12) !important; background: #FFFFFF !important; background-image: none !important; box-shadow: none !important; color: #202120 !important; font-family: 'Noto Sans', system-ui, sans-serif !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1 !important; text-transform: none !important; letter-spacing: normal !important; cursor: pointer !important; }
.abd-drawer button.abd-copy.is-done { background: #3F5774 !important; border-color: #3F5774 !important; color: #FFFFFF !important; }
.abd-drawer button:focus-visible, .abd-drawer a:focus-visible { outline: 2px solid #5E7C9F !important; outline-offset: 2px !important; }
@media (prefers-reduced-motion: reduce) { .abd-drawer, .abd-drawer-overlay { transition: none; } }

/* Admin "View as associate ID" */
.abb-dash .abd-as { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.abb-dash .abd-as label { font-weight: 600; }
.abb-dash .abd-as input { width: 110px; min-height: 36px; padding: 6px 10px !important; border: 1px solid rgba(0, 0, 0, 0.15) !important; border-radius: 8px !important; background: #FFFFFF !important; color: #202120 !important; font: inherit; font-size: 13px; box-shadow: none !important; }
.abb-dash button.abd-as-go, .abb-dash button.abd-as-clear { min-height: 36px !important; padding: 0 14px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 600 !important; }
.abb-dash button.abd-as-go { background: #3F5774 !important; color: #FFFFFF !important; }
.abb-dash button.abd-as-clear { background: #FFFFFF !important; border: 1px solid rgba(0, 0, 0, 0.15) !important; color: #3F5774 !important; }
.abb-dash .abd-as-note { font-weight: 700; color: #6E4E14; }

/* Loading state while switching account / retrying */
.abb-dash.abd-loading .abd-wrap > .abd-part > *:not(.abd-admin), .abb-dash.abd-loading .abd-wrap > .abd-video,
.abb-dash.abd-loading .abd-wrap > *:not(.abd-admin):not(.abd-part) { opacity: 0.45; pointer-events: none; transition: opacity 150ms ease; }
.abb-dash.abd-loading .abd-admin::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #C3D2E4; border-top-color: #3F5774; animation: abd-spin 0.8s linear infinite; }
@keyframes abd-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .abb-dash.abd-loading .abd-admin::after { animation: none; } }

/* Page builders (Elementor containers) that centre or shrink-wrap their
   children: the dashboard is a size container, so without a set width the
   wrapper measures it at zero width and reserves a very tall empty area
   below it on mobile. Pin every wrapper to full width. */
.elementor-widget:has(.abb-dash),
.elementor-widget:has(.abb-dash) > .elementor-widget-container,
.elementor-shortcode:has(.abb-dash),
.abb-dash { width: 100% !important; max-width: 100% !important; align-self: stretch !important; }

/* Contest points (0.12.25): navy and gold, like the account hero's earnings */
.abb-dash .abd-pts { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; padding: 28px 32px; border-radius: 24px; background: linear-gradient(135deg, #3F5774 0%, #2F445E 100%); color: #FFFFFF; border: 1px solid #C0924C; }
.abb-dash .abd-pts::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 205, 149, 0.22) 0%, rgba(233, 205, 149, 0) 70%); pointer-events: none; }
.abb-dash .abd-pts-top { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.abb-dash .abd-pts-id { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; flex: 1 1 420px; min-width: 0; }
.abb-dash img.abd-pts-logo { display: block; width: 200px; max-width: 100%; height: auto; flex-shrink: 0; margin: 0; }
.abb-dash h2.abd-pts-h { margin: 0; font-family: 'IBM Plex Sans', sans-serif !important; font-weight: 500; font-size: 26px; line-height: 1.2; color: #FFFFFF; }
.abb-dash .abd-pts-right { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 32px; }
.abb-dash .abd-pts-cd { display: flex; flex-direction: column; gap: 8px; }
/* Welcome card: week countdown to the left of Earned this week (desktop), own row above it (mobile) */
.abb-dash .abd-acct-right { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 20px 32px; }
.abb-dash .abd-wk-cd { align-items: flex-start; }
.abb-dash .abd-pts-cd-row { display: flex; gap: 6px; }
.abb-dash .abd-pts-cd-u { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 52px; padding: 8px 6px 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(233, 205, 149, 0.45); }
.abb-dash .abd-pts-cd-n { font-family: 'IBM Plex Sans', sans-serif; font-weight: 500; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; color: #FFFFFF; }
.abb-dash .abd-pts-cd-l { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.abb-dash .abd-pts-score { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.abb-dash .abd-pts-big { font-family: 'IBM Plex Sans', sans-serif; font-weight: 500; font-size: 60px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #E9CD95; }
.abb-dash .abd-pts-pill { align-self: center; padding: 6px 12px; border-radius: 999px; background: #FBF3E2; font-size: 12px; font-weight: 700; color: #8A6420; white-space: nowrap; }
.abb-dash .abd-pts-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.abb-dash .abd-pts-box { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); min-width: 0; }
.abb-dash .abd-pts-n { font-family: 'IBM Plex Sans', sans-serif; font-weight: 500; font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; color: #FFFFFF; }
.abb-dash .abd-pts-l { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, 0.82); overflow-wrap: anywhere; }
.abb-dash .abd-pts-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.abb-dash .abd-pts-rules { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); flex: 1 1 320px; }
.abb-dash a.abd-pts-rulesbtn { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px; background: #FFFFFF; color: #202120 !important; font-size: 14px; font-weight: 600; text-decoration: none !important; white-space: nowrap; margin-left: auto; }
.abb-dash a.abd-pts-rulesbtn:hover { background: #FBF3E2; }
.abd-drawer .abd-rules-title { margin: 0 0 12px !important; font-family: 'IBM Plex Sans', sans-serif !important; font-size: 16px !important; font-weight: 600 !important; color: #202120 !important; text-transform: none !important; letter-spacing: normal !important; }
.abd-drawer .abd-rules-text { font-size: 14px; line-height: 1.6; color: rgba(7, 8, 7, 0.85); }
.abd-drawer .abd-rules-text p { margin: 0 0 12px !important; }
.abd-drawer .abd-rules-text h3 { margin: 22px 0 8px !important; font-family: 'IBM Plex Sans', sans-serif !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.3 !important; color: #3F5774 !important; text-transform: none !important; letter-spacing: normal !important; }
.abd-drawer .abd-rules-text h4 { margin: 14px 0 4px !important; font-family: 'IBM Plex Sans', sans-serif !important; font-size: 14px !important; font-weight: 600 !important; color: #202120 !important; text-transform: none !important; letter-spacing: normal !important; }
.abd-drawer .abd-rules-text ul, .abd-drawer .abd-rules-text ol { margin: 0 0 12px !important; padding-left: 20px !important; }
.abd-drawer .abd-rules-text li { margin: 0 0 6px !important; }
.abd-drawer .abd-rules-text a { color: #3F5774 !important; }
.abd-drawer a.abd-rules-pdf { display: inline-flex; margin-top: 20px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(7, 8, 7, 0.15); color: #3F5774 !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.abd-drawer a.abd-rules-pdf:hover { border-color: #3F5774; }
@container abbdash (max-width: 760px) {
	.abb-dash .abd-pts { padding: 22px 18px; border-radius: 20px; gap: 18px; }
	.abb-dash img.abd-pts-logo { width: 170px; }
	.abb-dash h2.abd-pts-h { font-size: 22px; }
	.abb-dash .abd-pts-right { width: 100%; justify-content: space-between; align-items: flex-end; }
	.abb-dash .abd-pts-cd-u { min-width: 44px; padding: 6px 4px 5px; }
	.abb-dash .abd-pts-cd-n { font-size: 20px; }
	.abb-dash .abd-pts-big { font-size: 44px; }
	.abb-dash .abd-pts-grid { gap: 8px; }
	.abb-dash .abd-pts-box { padding: 12px 10px; }
	.abb-dash .abd-pts-n { font-size: 26px; }
	.abb-dash .abd-pts-l { font-size: 12px; }
	.abb-dash a.abd-pts-rulesbtn { width: 100%; justify-content: center; margin-left: 0; }
}

/* Video card (0.12.27): text beside the player on desktop, stacked on narrow screens */
.abb-dash .abd-video { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 1.9fr); align-items: center; gap: 24px 32px; padding: 26px 30px; border-radius: 24px; border: 1px solid rgba(7, 8, 7, 0.12); background: #FFFFFF; }
.abb-dash .abd-video-tx { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.abb-dash .abd-video-slot { min-width: 0; }
.abb-dash .abd-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000000; }
.abb-dash .abd-video-frame > wistia-player { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
/* The two re-rendered parts around the video card act as one column. */
.abb-dash .abd-part { display: flex; flex-direction: column; gap: inherit; min-width: 0; }
.abb-dash .abd-part:empty { display: none; }
.abb-dash .abd-video[hidden] { display: none !important; }
@container abbdash (max-width: 860px) {
	.abb-dash .abd-video { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; border-radius: 20px; gap: 14px; }
	.abb-dash .abd-video-frame { border-radius: 12px; }
}

.abd-drawer .abd-rules-text > :first-child { margin-top: 0 !important; }

/* Small phones (iPhone 16 and narrower): contest countdown gets a full-width row,
   total points sits on one line under it (label left, number right). */
@container abbdash (max-width: 400px) {
	.abb-dash .abd-pts .abd-pts-right { flex-direction: column; align-items: stretch; gap: 14px; }
	.abb-dash .abd-pts .abd-pts-cd-row { width: 100%; }
	.abb-dash .abd-pts .abd-pts-cd-u { flex: 1 1 0; min-width: 0; }
	.abb-dash .abd-pts .abd-pts-score { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}
