/* Scrap Pulse — fullscreen chronological price map */

html.sday-scrap-pulse-html {
	height: 100%;
	overflow: hidden;
}

body.sday-scrap-pulse-page {
	margin: 0;
	height: 100%;
	max-height: 100dvh;
	overflow: hidden;
	background: #0b0f14;
	color: #e8eef5;
}

.sday-scrap-pulse-page .sday-pulse {
	--pulse-bg: #0b0f14;
	--pulse-panel: #121821;
	--pulse-border: rgba(255, 255, 255, 0.08);
	--pulse-text: #e8eef5;
	--pulse-muted: #8b9bb0;
	--pulse-up: #2ecc71;
	--pulse-down: #e74c3c;
	--pulse-mixed: #f39c12;
	--pulse-same: #dfe6ee;
	--pulse-active: #9aa8b8;
	--pulse-accent: #3d8bfd;
	--pulse-cover: #3d3478;
	box-sizing: border-box;
	height: 100%;
	max-height: 100dvh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--pulse-bg);
	color: var(--pulse-text);
	font-family: "Segoe UI", system-ui, sans-serif;
}

.sday-scrap-pulse-page .sday-pulse *,
.sday-scrap-pulse-page .sday-pulse *::before,
.sday-scrap-pulse-page .sday-pulse *::after {
	box-sizing: border-box;
}

.sday-pulse__top {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 14px;
	background: rgba(10, 14, 20, 0.92);
	border-bottom: 1px solid var(--pulse-border);
	z-index: 30;
	flex: 0 0 auto;
	flex-wrap: wrap;
}

.sday-pulse__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.sday-pulse__logo {
	border-radius: 8px;
	flex-shrink: 0;
}

.sday-pulse__brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	min-width: 0;
}

.sday-pulse__brand-name {
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.01em;
}

.sday-pulse__brand-sub {
	font-size: 0.72rem;
	color: var(--pulse-muted);
}

.sday-pulse__intro {
	flex: 0 0 auto;
	padding: 8px 14px 10px;
	border-bottom: 1px solid var(--pulse-border);
	background: rgba(10, 14, 20, 0.88);
}

.sday-pulse__h1 {
	margin: 0 0 4px;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
}

.sday-pulse__lead {
	margin: 0;
	max-width: 62rem;
	font-size: 0.88rem;
	line-height: 1.4;
	color: var(--pulse-muted);
}

.sday-pulse__top-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	flex-wrap: wrap;
	justify-content: center;
}

.sday-pulse__toggle,
.sday-pulse__region,
.sday-pulse__metal,
.sday-pulse__range,
.sday-pulse__speed {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	color: var(--pulse-muted);
}

.sday-pulse__toggle input {
	accent-color: var(--pulse-accent);
}

.sday-pulse__region select,
.sday-pulse__metal select,
.sday-pulse__range select,
.sday-pulse__speed select {
	background: #1a222d;
	color: var(--pulse-text);
	border: 1px solid var(--pulse-border);
	border-radius: 6px;
	padding: 5px 8px;
	font-size: 0.82rem;
	max-width: 180px;
}

.sday-pulse__back {
	color: var(--pulse-text);
	text-decoration: none;
	font-size: 0.85rem;
	padding: 6px 12px;
	border: 1px solid var(--pulse-border);
	border-radius: 999px;
	white-space: nowrap;
}

.sday-pulse__back:hover {
	border-color: rgba(255, 255, 255, 0.25);
}

.sday-pulse__main {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: 1fr minmax(260px, 320px);
	grid-template-rows: minmax(0, 1fr);
	min-height: 0;
	position: relative;
	overflow: hidden;
}

.sday-pulse__map-wrap {
	position: relative;
	min-height: 0;
	height: 100%;
	overflow: hidden;
}

.sday-pulse__focus-filters {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	flex: 0 1 auto;
	min-width: 0;
}

.sday-pulse__focus-field {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.sday-pulse__focus-label {
	font-size: 0.65rem;
	font-weight: 600;
	color: var(--pulse-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1;
}

.sday-pulse__focus-filters select {
	background: #1a222d;
	color: var(--pulse-text);
	border: 1px solid var(--pulse-border);
	border-radius: 8px;
	min-height: 36px;
	padding: 6px 10px;
	font-size: 0.88rem;
	min-width: 140px;
	max-width: 200px;
}

.sday-pulse__onboard {
	position: absolute;
	left: 50%;
	top: 16px;
	transform: translateX(-50%);
	z-index: 560;
	width: min(420px, calc(100% - 24px));
	padding: 16px 18px;
	background: rgba(14, 20, 28, 0.94);
	border: 1px solid rgba(61, 139, 253, 0.35);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
	text-align: center;
}

.sday-pulse__onboard[hidden] {
	display: none !important;
}

.sday-pulse__onboard-text {
	margin: 0 0 12px;
	font-size: 0.95rem;
	line-height: 1.4;
	color: var(--pulse-text);
}

.sday-pulse__onboard-btn {
	border: 0;
	border-radius: 8px;
	background: var(--pulse-accent);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 8px 16px;
	cursor: pointer;
}

.sday-pulse__map {
	position: absolute;
	inset: 0;
	background: #0a0e13;
}

.sday-pulse__status {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 500;
	background: rgba(12, 16, 22, 0.9);
	border: 1px solid var(--pulse-border);
	padding: 12px 18px;
	border-radius: 10px;
	font-size: 0.9rem;
	pointer-events: none;
}

.sday-pulse__status[hidden] {
	display: none;
}

.sday-pulse__map-meta {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 500;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: min(380px, calc(100% - 24px));
	pointer-events: none;
}

.sday-pulse__hud,
.sday-pulse__legend,
.sday-pulse__info {
	pointer-events: auto;
}

.sday-pulse__hud {
	margin: 0;
	padding: 8px 10px;
	background: rgba(12, 16, 22, 0.88);
	border: 1px solid var(--pulse-border);
	border-radius: 10px;
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--pulse-text);
}

.sday-pulse__hud-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.sday-pulse__hud-updates,
.sday-pulse__hud-trend {
	margin: 0;
}

.sday-pulse__hud-trend {
	margin-top: 4px;
	color: var(--pulse-muted);
	font-size: 0.74rem;
}

.sday-pulse__info {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(20, 28, 40, 0.85);
	color: var(--pulse-text);
	font: 700 0.72rem/1 Georgia, "Times New Roman", serif;
	cursor: pointer;
	padding: 0;
}

.sday-pulse__info:hover,
.sday-pulse__info[aria-expanded="true"] {
	border-color: var(--pulse-accent);
	color: #fff;
}

.sday-pulse__legend {
	position: static;
	margin: 0;
	padding: 10px 12px;
	list-style: none;
	background: rgba(12, 16, 22, 0.88);
	border: 1px solid var(--pulse-border);
	border-radius: 10px;
	font-size: 0.72rem;
	color: var(--pulse-muted);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px 14px;
}

.sday-pulse__legend li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sday-pulse__swatch {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

.sday-pulse__swatch--up { background: var(--pulse-up); box-shadow: 0 0 8px var(--pulse-up); }
.sday-pulse__swatch--down { background: var(--pulse-down); box-shadow: 0 0 8px var(--pulse-down); }
.sday-pulse__swatch--mixed { background: var(--pulse-mixed); box-shadow: 0 0 8px var(--pulse-mixed); }
.sday-pulse__swatch--same { background: var(--pulse-same); opacity: 0.7; }
.sday-pulse__swatch--cover { background: var(--pulse-cover); opacity: 0.7; }
.sday-pulse__swatch--active { background: var(--pulse-active); }

.sday-pulse__sidebar {
	background: var(--pulse-panel);
	border-left: 1px solid var(--pulse-border);
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	z-index: 15;
}

.sday-pulse__sidebar-head {
	padding: 14px 14px 8px;
	border-bottom: 1px solid var(--pulse-border);
	flex: 0 0 auto;
}

.sday-pulse__sidebar-title {
	margin: 0;
	font-size: 0.95rem;
}

.sday-pulse__sidebar-date {
	margin: 4px 0 0;
	font-size: 0.8rem;
	color: var(--pulse-muted);
}

.sday-pulse__sidebar-count {
	margin: 2px 0 8px;
	font-size: 0.75rem;
	color: var(--pulse-accent);
}

.sday-pulse__tabs {
	display: flex;
	gap: 6px;
}

.sday-pulse__tab {
	flex: 1;
	border: 1px solid var(--pulse-border);
	background: transparent;
	color: var(--pulse-muted);
	border-radius: 8px;
	padding: 7px 8px;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
}

.sday-pulse__tab.is-active[data-tab="up"] {
	border-color: rgba(46, 204, 113, 0.45);
	background: rgba(46, 204, 113, 0.12);
	color: var(--pulse-up);
}

.sday-pulse__tab.is-active[data-tab="down"] {
	border-color: rgba(231, 76, 60, 0.45);
	background: rgba(231, 76, 60, 0.12);
	color: var(--pulse-down);
}

.sday-pulse__feed {
	list-style: none;
	margin: 0;
	padding: 8px;
	overflow: auto;
	flex: 1;
	min-height: 0;
}

.sday-pulse__feed-item {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2px 8px;
	padding: 8px 10px;
	border-radius: 8px;
	margin-bottom: 4px;
	background: rgba(255, 255, 255, 0.03);
	font-size: 0.8rem;
}

.sday-pulse__feed-item:hover {
	background: rgba(255, 255, 255, 0.06);
}

.sday-pulse__feed-co {
	font-weight: 600;
	color: var(--pulse-text);
	text-decoration: none;
	grid-column: 1 / -1;
}

.sday-pulse__feed-co:hover {
	color: var(--pulse-accent);
}

.sday-pulse__feed-metal {
	color: var(--pulse-muted);
}

.sday-pulse__feed-delta {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.sday-pulse__feed-delta--up { color: var(--pulse-up); }
.sday-pulse__feed-delta--down { color: var(--pulse-down); }

.sday-pulse__feed-empty {
	padding: 18px 12px;
	color: var(--pulse-muted);
	font-size: 0.85rem;
	text-align: center;
	list-style: none;
}

.sday-pulse__feed-empty-title {
	margin: 0 0 10px;
	color: var(--pulse-text);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
}

.sday-pulse__feed-empty-hint {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--pulse-muted);
}

.sday-pulse__sidebar-toggle {
	display: none;
}

.sday-pulse__market {
	flex: 0 0 auto;
	padding: 4px 14px 6px;
	background: rgba(10, 14, 20, 0.98);
	border-top: 1px solid var(--pulse-border);
	z-index: 35;
}

.sday-pulse__market-label {
	margin: 0 0 4px;
	font-size: 0.7rem;
	color: var(--pulse-muted);
}

.sday-pulse__market-groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
	gap: 6px;
}

.sday-pulse__market-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-width: 0;
	padding: 8px 6px;
	border: 1px solid var(--pulse-border);
	border-radius: 10px;
	background: #121821;
	text-align: center;
}

.sday-pulse__market-card--up {
	border-color: rgba(46, 204, 113, 0.28);
}

.sday-pulse__market-card--down {
	border-color: rgba(231, 76, 60, 0.28);
}

.sday-pulse__market-card--mixed,
.sday-pulse__market-card--flat {
	border-color: rgba(139, 155, 176, 0.28);
}

.sday-pulse__market-group,
.sday-pulse__market-meta,
.sday-pulse__market-pct {
	margin: 0;
}

.sday-pulse__market-group {
	max-width: 100%;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--pulse-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sday-pulse__market-pct {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	color: var(--pulse-text);
}

.sday-pulse__market-pct--up {
	color: var(--pulse-up);
}

.sday-pulse__market-pct--down {
	color: var(--pulse-down);
}

.sday-pulse__market-pct--flat {
	color: var(--pulse-muted);
}

.sday-pulse__market-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	font-variant-numeric: tabular-nums;
}

.sday-pulse__market-now {
	font-size: 0.7rem;
	line-height: 1.2;
	font-weight: 600;
	color: var(--pulse-text);
}

.sday-pulse__market-was {
	font-size: 0.62rem;
	line-height: 1.2;
	color: var(--pulse-muted);
}

.sday-pulse__market-pill {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-size: 1.1rem;
	font-weight: 700;
	background: #1a222d;
	color: var(--pulse-text);
}

.sday-pulse__market-pill--up {
	background: rgba(46, 204, 113, 0.18);
	color: var(--pulse-up);
}

.sday-pulse__market-pill--down {
	background: rgba(231, 76, 60, 0.18);
	color: var(--pulse-down);
}

.sday-pulse__market-pill--mixed,
.sday-pulse__market-pill--flat {
	background: rgba(139, 155, 176, 0.16);
	color: var(--pulse-muted);
}

.sday-pulse__market-empty {
	padding: 8px 10px;
	border: 1px dashed var(--pulse-border);
	border-radius: 10px;
	color: var(--pulse-muted);
	font-size: 0.75rem;
}

.sday-pulse__timeline {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 14px 10px;
	background: rgba(10, 14, 20, 0.98);
	border-top: 1px solid var(--pulse-border);
	z-index: 40;
	flex: 0 0 auto;
}

.sday-pulse__play {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--pulse-border);
	background: #1a2430;
	color: var(--pulse-text);
	cursor: pointer;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.sday-pulse__play:hover {
	border-color: var(--pulse-accent);
}

.sday-pulse__play-icon {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent currentColor;
	margin-left: 3px;
}

.sday-pulse__play[aria-pressed="true"] .sday-pulse__play-icon {
	width: 12px;
	height: 12px;
	border: 0;
	margin: 0;
	background: linear-gradient(to right, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}

.sday-pulse__track {
	flex: 1;
	min-width: 0;
	position: relative;
	padding-top: 28px;
}

.sday-pulse__bars {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 26px;
	display: flex;
	align-items: flex-end;
	gap: 2px;
	pointer-events: none;
}

.sday-pulse__bar {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 0;
	background: rgba(61, 139, 253, 0.35);
	border-radius: 2px 2px 0 0;
	pointer-events: auto;
	cursor: pointer;
	transition: background 0.15s ease;
}

.sday-pulse__bar:hover,
.sday-pulse__bar.is-active {
	background: rgba(61, 139, 253, 0.85);
}

.sday-pulse__scrubber {
	width: 100%;
	accent-color: var(--pulse-accent);
	margin: 0;
}

.sday-pulse__day-label {
	margin-top: 4px;
	font-size: 0.8rem;
	color: var(--pulse-muted);
	font-variant-numeric: tabular-nums;
}

.sday-pulse__method {
	padding: 0 14px;
	background: var(--pulse-bg);
	border-top: 1px solid var(--pulse-border);
	font-size: 0.8rem;
	color: var(--pulse-muted);
	flex: 0 0 auto;
	max-height: 28vh;
	overflow: auto;
}

.sday-pulse__method details {
	max-width: 720px;
}

.sday-pulse__method summary {
	cursor: pointer;
	color: var(--pulse-text);
	padding: 6px 0;
}

.sday-pulse__method p {
	margin: 0 0 8px;
	line-height: 1.5;
}

.sday-pulse__info-sheet {
	position: fixed;
	inset: 0;
	z-index: 800;
}

.sday-pulse__info-sheet[hidden] {
	display: none !important;
}

.sday-pulse__info-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.sday-pulse__info-panel {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	width: min(480px, calc(100% - 32px));
	max-height: 80vh;
	overflow: auto;
	padding: 20px 22px 18px;
	background: var(--pulse-panel);
	border: 1px solid var(--pulse-border);
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.sday-pulse__info-panel h2 {
	margin: 0 28px 10px 0;
	font-size: 1.05rem;
}

.sday-pulse__info-panel h3 {
	margin: 16px 0 8px;
	font-size: 0.88rem;
}

.sday-pulse__info-panel p {
	margin: 0 0 8px;
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--pulse-muted);
}

.sday-pulse__info-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--pulse-text);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

/* Markers */
.sday-pulse-marker {
	width: 14px;
	height: 14px;
	margin-left: -7px !important;
	margin-top: -7px !important;
	background: transparent;
	border: 0;
}

.sday-pulse-dot {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: var(--pulse-active);
	opacity: 0.08;
	transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.sday-pulse-marker.is-idle .sday-pulse-dot,
.sday-pulse-marker.is-quiet .sday-pulse-dot {
	opacity: 0.4;
	background: var(--pulse-cover);
}

.sday-pulse-marker.is-active .sday-pulse-dot {
	opacity: 0.55;
	background: var(--pulse-active);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.sday-pulse-marker.is-hidden {
	display: none !important;
}

/* Heat trail */
.sday-pulse-marker.is-heat-up .sday-pulse-dot {
	background: var(--pulse-up);
}
.sday-pulse-marker.is-heat-down .sday-pulse-dot {
	background: var(--pulse-down);
}
.sday-pulse-marker.is-heat-mixed .sday-pulse-dot {
	background: var(--pulse-mixed);
}
.sday-pulse-marker.is-heat-age-0 .sday-pulse-dot { opacity: 1; }
.sday-pulse-marker.is-heat-age-1 .sday-pulse-dot { opacity: 0.7; }
.sday-pulse-marker.is-heat-age-2 .sday-pulse-dot { opacity: 0.42; }
.sday-pulse-marker.is-heat-age-3 .sday-pulse-dot { opacity: 0.22; }

.sday-pulse-ring {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
}

.sday-pulse-marker.is-pulse-up .sday-pulse-dot {
	background: var(--pulse-up);
	opacity: 1;
}

.sday-pulse-marker.is-pulse-up .sday-pulse-ring {
	border: 2px solid var(--pulse-up);
	animation: sday-pulse-expand 0.9s ease-out;
}

.sday-pulse-marker.is-pulse-down .sday-pulse-dot {
	background: var(--pulse-down);
	opacity: 1;
}

.sday-pulse-marker.is-pulse-down .sday-pulse-ring {
	border: 2px solid var(--pulse-down);
	animation: sday-pulse-collapse 0.9s ease-out;
}

.sday-pulse-marker.is-pulse-mixed .sday-pulse-dot {
	background: var(--pulse-mixed);
	opacity: 1;
}

.sday-pulse-marker.is-pulse-mixed .sday-pulse-ring {
	border: 2px solid var(--pulse-mixed);
	animation: sday-pulse-blink 0.9s ease-out;
}

.sday-pulse-marker.is-pulse-same .sday-pulse-dot {
	background: var(--pulse-same);
	opacity: 0.9;
	animation: sday-pulse-fade 1s ease-in-out;
}

/* Floating damage-style labels */
.sday-pulse-float {
	background: transparent !important;
	border: 0 !important;
	pointer-events: none !important;
}

.sday-pulse-float__text {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
	animation: sday-pulse-float-up 1.6s ease-out forwards;
}

.sday-pulse-float--up .sday-pulse-float__text {
	color: #3dde7a;
}

.sday-pulse-float--down .sday-pulse-float__text {
	color: #ff6b5a;
}

@keyframes sday-pulse-float-up {
	0% {
		transform: translateY(0);
		opacity: 1;
	}
	70% {
		opacity: 0.85;
	}
	100% {
		transform: translateY(-16px);
		opacity: 0;
	}
}

@keyframes sday-pulse-expand {
	0% { transform: scale(1); opacity: 0.9; }
	100% { transform: scale(4.2); opacity: 0; }
}

@keyframes sday-pulse-collapse {
	0% { transform: scale(3.2); opacity: 0.85; }
	100% { transform: scale(0.4); opacity: 0; }
}

@keyframes sday-pulse-blink {
	0%, 100% { transform: scale(1); opacity: 0; }
	20% { transform: scale(2.6); opacity: 0.9; }
	40% { transform: scale(1.2); opacity: 0.2; }
	60% { transform: scale(3); opacity: 0.85; }
	80% { transform: scale(1.4); opacity: 0.15; }
}

@keyframes sday-pulse-fade {
	0%, 100% { opacity: 0.35; }
	50% { opacity: 1; }
}

.leaflet-container {
	background: #0a0e13;
	font: inherit;
}

.leaflet-control-attribution {
	background: transparent !important;
	color: rgba(139, 155, 176, 0.45) !important;
	font-size: 9px !important;
	line-height: 1.2 !important;
	padding: 0 4px !important;
	box-shadow: none !important;
}

.leaflet-control-attribution a {
	color: rgba(139, 155, 176, 0.5) !important;
	text-decoration: none !important;
}

.leaflet-control-attribution a:hover {
	color: rgba(232, 238, 245, 0.65) !important;
}

.sday-pulse-popup {
	font-size: 0.85rem;
	line-height: 1.35;
	min-width: 160px;
}

.sday-pulse-popup a {
	color: #2b6cb0;
}

.sday-pulse-popup__list {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.sday-pulse-popup__list li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 900px) {
	.sday-pulse__main {
		grid-template-columns: 1fr;
		grid-template-rows: minmax(0, 1fr);
	}

	.sday-pulse__onboard {
		top: 12px;
		padding: 12px 14px;
	}

	.sday-pulse__onboard-text {
		font-size: 0.85rem;
	}

	.sday-pulse__brand {
		order: 1;
	}

	.sday-pulse__focus-filters {
		order: 2;
		flex: 1 1 auto;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}

	.sday-pulse__back {
		order: 3;
	}

	.sday-pulse__top-controls {
		order: 4;
		justify-content: flex-start;
		flex-basis: 100%;
	}

	.sday-pulse__sidebar {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: auto;
		max-height: 42%;
		border-left: 0;
		border-top: 1px solid var(--pulse-border);
		border-radius: 14px 14px 0 0;
		transform: translateY(calc(100% - 44px));
		transition: transform 0.25s ease;
		z-index: 25;
	}

	.sday-pulse__sidebar.is-open {
		transform: translateY(0);
	}

	.sday-pulse__sidebar-toggle {
		display: block;
		width: 100%;
		border: 0;
		background: #1a222d;
		color: var(--pulse-text);
		padding: 12px;
		font-size: 0.85rem;
		cursor: pointer;
		order: -1;
		flex: 0 0 auto;
	}

	.sday-pulse__sidebar-head,
	.sday-pulse__feed {
		display: none;
	}

	.sday-pulse__sidebar.is-open .sday-pulse__sidebar-head,
	.sday-pulse__sidebar.is-open .sday-pulse__feed {
		display: block;
	}

	.sday-pulse__sidebar.is-open .sday-pulse__feed {
		display: block;
		max-height: 28vh;
		overflow: auto;
	}

	.sday-pulse__map-wrap {
		display: flex;
		flex-direction: column;
		padding-bottom: 44px;
	}

	.sday-pulse__map {
		position: relative;
		inset: auto;
		flex: 1 1 auto;
		min-height: 0;
		height: auto;
	}

	.sday-pulse__map-meta {
		position: static;
		left: auto;
		bottom: auto;
		max-width: none;
		padding: 6px 12px 4px;
		gap: 2px;
		flex: 0 0 auto;
	}

	.sday-pulse__hud {
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		font-size: 0.78rem;
	}

	.sday-pulse__hud-trend {
		font-size: 0.72rem;
	}

	.sday-pulse__legend {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
		padding: 2px 0 4px;
		background: transparent;
		border: 0;
		font-size: 0;
	}

	.sday-pulse__legend-text,
	.sday-pulse__legend-cover {
		display: none;
	}

	.sday-pulse__legend li {
		gap: 0;
	}

	.sday-pulse__info-panel {
		left: 0;
		right: 0;
		top: auto;
		bottom: 0;
		transform: none;
		width: 100%;
		max-height: 72vh;
		border-radius: 16px 16px 0 0;
	}

	.sday-pulse__method {
		display: none;
	}
}

@media (max-width: 768px) {
	.sday-pulse__focus-filters {
		align-items: center;
		gap: 8px;
		height: 42px;
	}

	.sday-pulse__focus-field {
		flex-direction: row;
		align-items: center;
		gap: 6px;
		flex: 0 0 auto;
	}

	.sday-pulse__focus-label {
		font-size: 0.62rem;
		white-space: nowrap;
	}

	.sday-pulse__focus-filters select {
		min-height: 34px;
		min-width: 110px;
		max-width: 150px;
		padding: 4px 8px;
		font-size: 0.8rem;
	}

	.sday-pulse__market-groups {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(96px, 1fr);
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
