/* Original Creation Unified Forecast Archive styles (layout retained). */
#cu-forecast-browser {
		max-width: 1200px;
		margin: 0 auto;
		padding: 24px 16px;
		font-family: Arial, Helvetica, sans-serif;
		color: #111;
	}

	#cu-forecast-browser * {
		box-sizing: border-box;
	}

	.cu-fb-header {
		text-align: center;
		margin-bottom: 20px;
	}

	.cu-fb-kicker {
		margin: 0 0 6px;
		font-size: 11px;
		line-height: 1.4;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: #666;
	}

	.cu-fb-header h2 {
		margin: 0 0 8px;
		font-size: clamp(22px, 3vw, 31px);
		line-height: 1.15;
		font-weight: 800;
	}

	.cu-fb-subtitle {
		max-width: 760px;
		margin: 0 auto;
		font-size: 15px;
		line-height: 1.55;
		color: #444;
	}

	.cu-fb-controls {
		max-width: 520px;
		margin: 24px auto 8px;
	}

	.cu-fb-select-label {
		display: block;
		margin-bottom: 7px;
		font-size: 13px;
		font-weight: 800;
		color: #333;
	}

	.cu-fb-select {
		width: 100%;
		min-height: 48px;
		padding: 10px 14px;
		border: 1px solid #bdbdbd;
		border-radius: 10px;
		background: #fff;
		color: #111;
		font-size: 16px;
		font-weight: 700;
		cursor: pointer;
	}

	.cu-fb-filters {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
		margin: 20px 0 12px;
	}

	.cu-fb-filters button {
		appearance: none;
		border: 1px solid #111;
		background: #fff;
		color: #111;
		border-radius: 999px;
		padding: 10px 16px;
		font-size: 14px;
		font-weight: 700;
		cursor: pointer;
		transition: all 0.2s ease;
	}

	.cu-fb-filters button:hover,
	.cu-fb-filters button.active {
		background: #111;
		color: #fff;
	}

	.cu-fb-summary {
		text-align: center;
		font-size: 14px;
		color: #555;
		margin-bottom: 18px;
	}

	.cu-fb-slider-shell {
		display: grid;
		grid-template-columns: 54px minmax(0, 1fr) 54px;
		align-items: center;
		gap: 14px;
	}

	.cu-fb-nav {
		appearance: none;
		border: 1px solid #d8d8d8;
		background: #fff;
		color: #111;
		width: 54px;
		height: 54px;
		border-radius: 999px;
		font-size: 26px;
		font-weight: 700;
		cursor: pointer;
		box-shadow: 0 4px 16px rgba(0,0,0,0.06);
		transition: all 0.2s ease;
	}

	.cu-fb-nav:hover:not(:disabled) {
		background: #111;
		color: #fff;
		border-color: #111;
	}

	.cu-fb-nav:disabled {
		opacity: 0.35;
		cursor: not-allowed;
	}

	.cu-fb-slider-stage {
		min-width: 0;
	}

	.cu-fb-card {
		border: 1px solid #ddd;
		border-radius: 18px;
		overflow: hidden;
		box-shadow: 0 8px 24px rgba(0,0,0,0.07);
	}

	.cu-fb-card.card-open {
		background: #fff;
	}

	.cu-fb-card.card-confirmed {
		background: #dcecff;
		border-color: #9fc2ef;
	}

	.cu-fb-card.card-partial {
		background: #e7e7e7;
		border-color: #c4c4c4;
	}

	.cu-fb-card.card-rejected {
		background: #ffdede;
		border-color: #efabab;
	}

	.cu-fb-media {
		position: relative;
		background: #111;
		aspect-ratio: 16 / 9;
		overflow: hidden;
	}

	.cu-fb-media iframe {
		width: 100%;
		height: 100%;
		border: 0;
		display: block;
	}

	.cu-fb-thumb-button {
		appearance: none;
		border: 0;
		background: transparent;
		padding: 0;
		cursor: pointer;
		position: relative;
		width: 100%;
		height: 100%;
		display: block;
	}

	.cu-fb-thumb-button img {
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
	}

	.cu-fb-thumb-overlay {
		position: absolute;
		inset: 0;
		display: grid;
		place-items: center;
		background: linear-gradient(to top, rgba(0,0,0,0.34), rgba(0,0,0,0.08));
	}

	.cu-fb-play-circle {
		width: 78px;
		height: 78px;
		border-radius: 999px;
		background: rgba(0,0,0,0.75);
		color: #fff;
		display: grid;
		place-items: center;
		font-size: 32px;
		padding-left: 4px;
		box-shadow: 0 10px 24px rgba(0,0,0,0.25);
	}

	.cu-fb-content {
		padding: 18px 18px 20px;
	}

	.cu-fb-topline {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		margin-bottom: 12px;
		flex-wrap: wrap;
	}

	.cu-fb-counter {
		font-size: 13px;
		font-weight: 700;
		color: #555;
	}

	.cu-fb-status {
		display: inline-block;
		border-radius: 999px;
		padding: 6px 10px;
		font-size: 12px;
		font-weight: 800;
		text-transform: uppercase;
		white-space: nowrap;
		border: 1px solid rgba(0,0,0,0.15);
	}

	.status-open {
		background: #fff;
		color: #222;
	}

	.status-confirmed {
		background: #1e73be;
		color: #fff;
	}

	.status-partial {
		background: #777;
		color: #fff;
	}

	.status-rejected {
		background: #b42318;
		color: #fff;
	}

	.cu-fb-title {
		margin: 0 0 8px;
		font-size: 22px;
		line-height: 1.3;
		font-weight: 800;
	}

	.cu-fb-meta {
		margin: 0;
		font-size: 14px;
		color: #555;
	}

	.cu-fb-status-text {
		margin-top: 16px;
		padding: 14px 16px;
		border: 1px solid rgba(0,0,0,0.12);
		border-radius: 12px;
		background: rgba(255,255,255,0.78);
	}

	.cu-fb-status-text-label {
		margin: 0 0 6px;
		font-size: 12px;
		font-weight: 800;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: #444;
	}

	.cu-fb-status-text-body {
		margin: 0;
		font-size: 15px;
		line-height: 1.6;
		white-space: pre-line;
		color: #222;
	}

	.cu-fb-status-text-body a {
		color: #1e73be;
		text-decoration: underline;
		text-underline-offset: 2px;
		overflow-wrap: anywhere;
	}

	.cu-fb-status-text-body a:hover,
	.cu-fb-status-text-body a:focus {
		text-decoration-thickness: 2px;
	}

	.cu-fb-no-status-text {
		color: #666;
		font-style: italic;
	}

	.cu-fb-loading,
	.cu-fb-empty,
	.cu-fb-error {
		border: 1px solid #ddd;
		border-radius: 16px;
		background: #fff;
		padding: 28px;
		text-align: center;
		font-size: 16px;
		line-height: 1.5;
	}

	.cu-fb-error {
		color: #9b1111;
		background: #fff5f5;
		border-color: #f0caca;
	}

	.cu-fb-legend {
		margin-top: 34px;
		padding-top: 26px;
		border-top: 1px solid #d8d8d8;
	}

	.cu-fb-legend h3 {
		margin: 0 0 16px;
		text-align: center;
		font-size: 22px;
		font-weight: 800;
	}

	.cu-fb-type-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		margin-bottom: 28px;
	}

	.cu-fb-type-item {
		border: 1px solid #d8d8d8;
		border-radius: 12px;
		padding: 14px 15px;
		background: #fff;
	}

	.cu-fb-type-item p {
		margin: 6px 0 0;
		font-size: 14px;
		line-height: 1.55;
		color: #333;
	}

	.cu-fb-status-guide-heading {
		margin-top: 4px !important;
	}

	.cu-fb-legend-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.cu-fb-legend-item {
		border: 1px solid #d8d8d8;
		border-radius: 12px;
		padding: 14px 15px;
	}

	.cu-fb-legend-item p {
		margin: 6px 0 0;
		font-size: 14px;
		line-height: 1.55;
		color: #333;
	}

	.cu-fb-legend-name {
		font-size: 15px;
		font-weight: 800;
	}

	.legend-open {
		background: #fff;
	}

	.legend-confirmed {
		background: #dcecff;
		border-color: #9fc2ef;
	}

	.legend-partial {
		background: #e7e7e7;
		border-color: #c4c4c4;
	}

	.legend-rejected {
		background: #ffdede;
		border-color: #efabab;
	}


	.cu-fb-data-disclaimer {
		margin-top: 28px;
		padding-top: 16px;
		border-top: 1px solid #e2e2e2;
		font-size: 10px;
		line-height: 1.5;
		color: #777;
		text-align: center;
	}

	@media (max-width: 800px) {
		.cu-fb-slider-shell {
			grid-template-columns: 1fr;
			gap: 12px;
		}

		.cu-fb-slider-stage {
			order: 1;
		}

		#cu-fb-prev {
			order: 2;
		}

		#cu-fb-next {
			order: 3;
		}

		.cu-fb-nav {
			width: 100%;
			height: 46px;
			border-radius: 12px;
			font-size: 22px;
		}

		.cu-fb-title {
			font-size: 20px;
		}
	}

	@media (max-width: 600px) {
		#cu-forecast-browser {
			padding: 20px 12px;
		}

		.cu-fb-filters {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}

		.cu-fb-filters button {
			width: 100%;
			padding: 11px 10px;
		}

		.cu-fb-content {
			padding: 16px;
		}

		.cu-fb-title {
			font-size: 18px;
		}

		.cu-fb-subtitle {
			font-size: 14px;
		}

		.cu-fb-play-circle {
			width: 68px;
			height: 68px;
			font-size: 28px;
		}

		.cu-fb-type-grid,
		.cu-fb-legend-grid {
			grid-template-columns: 1fr;
		}
	}
	/* Minimal support for status API errors; existing layout remains unchanged. */
	#cu-forecast-browser .card-unknown { background: #fff; }
	#cu-forecast-browser .status-unknown { background: #f1f1f1; color: #555; }
	#cu-forecast-browser .cu-fb-filters button:disabled { opacity: .55; cursor: not-allowed; }
