
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}


/* Global styles (existing) */
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: linear-gradient(100deg, #3a3a3a 0%, #fdfdfd 100%);
	color: #222;
	margin: 0;
	padding: 0;
}

/* Home layout with left sidebar */
.home-layout {
	display: flex;
	align-items: stretch;
	gap: 1rem;
	padding: 1rem;
	box-sizing: border-box;
}

.home-sidebar {
	flex: 0 0 200px;
	width: 200px;
	align-self: stretch;
}

.home-main {
	flex: 1 1 auto;
	min-width: 0;
}

@media (max-width: 900px) {
	.home-layout {
		flex-direction: column;
	}

	.home-sidebar {
		width: 100%;
		flex-basis: auto;
		align-self: auto;
	}
}

@media (max-width: 750px) {
	.home-sidebar {
		display: none;
	}
}

/* Weather widget */
.weather {
	background: #a5b8dc;
	border: 1px solid #e6e9ef;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(35, 43, 62, 0.12);
	padding: 0.75rem;
	box-sizing: border-box;
	position: sticky;
	top: 20px;
}

/* Gold widget (same card style as weather) */
.gold {
	background: #a5b8dc;
	border: 1px solid #e6e9ef;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(35, 43, 62, 0.12);
	padding: 0.75rem;
	box-sizing: border-box;
	margin-bottom: 0.75rem;
}

.gold__title {
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.gold__current {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 0.5rem;
}

.gold__chart {
	width: 100%;
	min-height: 60px;
}

@media (max-width: 900px) {
	.weather {
		position: static;
		top: auto;
	}
}

.weather__title {
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.weather__location {
	font-size: 0.85rem;
	font-weight: 600;
	color: rgba(34, 34, 34, 0.8);
	margin-bottom: 0.35rem;
}

.weather__status {
	font-size: 0.9rem;
	color: rgba(34, 34, 34, 0.7);
	margin-bottom: 0.5rem;
}

.weather__current {
	margin-bottom: 0.9rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid #f0f1f5;
}

.weather__icon {
	display: block;
	color: rgba(34, 34, 34, 0.85);
}

.weather__ms {
	display: block;
	font-size: 24px;
	line-height: 1;
	color: rgba(34, 34, 34, 0.85);
	font-variation-settings:
		"FILL" 0,
		"wght" 400,
		"GRAD" 0,
		"opsz" 24;
}

.weather__currentRow {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 0.5rem;
	align-items: center;
}

.weather__currentIcon {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.weather__currentTemp {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.1;
}

.weather__currentMeta {
	font-size: 0.85rem;
	color: rgba(34, 34, 34, 0.7);
	line-height: 1.25;
}

.weather__forecast {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.6rem;
}

.weather__day {
	display: grid;
	grid-template-columns: 54px 1fr;
	gap: 0.5rem;
	align-items: center;
	border-top: 1px solid #f0f1f5;
	padding-top: 0.5rem;
}

.weather__day:first-child {
	border-top: 0;
	padding-top: 0;
}

.weather__dayLeft {
	display: grid;
	gap: 0.2rem;
	justify-items: center;
}

.weather__dayName {
	font-size: 0.8rem;
	font-weight: 700;
}

.weather__dayIcon {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.weather__dayRight {
	min-width: 0;
}

.weather__dayTemps {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.1;
}

.weather__dayLabel {
	font-size: 0.8rem;
	color: rgba(34, 34, 34, 0.7);
	line-height: 1.25;
}

.weather__dayPrecip {
	font-size: 0.75rem;
	color: rgba(34, 34, 34, 0.65);
	line-height: 1.25;
}

.weather__retry {
	appearance: none;
	border: 1px solid #e6e9ef;
	background: #ffffff;
	border-radius: 6px;
	padding: 0.35rem 0.5rem;
	font-size: 0.85rem;
	color: #222;
	cursor: pointer;
	margin-top: 0.5rem;
}

.weather__retry:hover {
	text-decoration: underline;
}

.site-header {
	background: #2f2f2f;
	padding: 0.9rem 0;
}

.site-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0 1rem;
}

.site-header-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.site-header-title {
	margin: 0;
	margin-left: 15px;
	color: #ffffff;
	text-shadow:
		0 0 6px #fff200,
		0 0 12px #fff200,
		0 0 18px #fff200;
}

.rss-filter {
	margin-right: 0.5rem;
}

.rss-filter-summary {
	color: #ffffff;
	cursor: pointer;
	user-select: none;
}

.rss-filter-body {
	margin-top: 0.5rem;
	background: #ffffff;
	border: 1px solid #e6e9ef;
	border-radius: 8px;
	padding: 0.6rem 0.75rem;
	min-width: 260px;
	max-height: 55vh;
	overflow: auto;
	box-sizing: border-box;
}

.rss-filter-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
}

.rss-filter-presets--header {
	margin-bottom: 0;
}

.rss-filter-preset {
	appearance: none;
	border: 1px solid #e6e9ef;
	background: #ffffff;
	border-radius: 6px;
	padding: 0.25rem 0.5rem;
	font-size: 0.85rem;
	color: #222;
	cursor: pointer;
}

.rss-filter-preset:hover {
	text-decoration: underline;
}

.rss-filter-hint {
	font-size: 0.9rem;
	color: rgba(34, 34, 34, 0.7);
}

.rss-filter-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.35rem 0;
	font-size: 0.9rem;
	color: #222;
}

.rss-filter-item input[type="checkbox"] {
	flex: 0 0 auto;
}

.login-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70vh;
	padding: 2rem 1rem;
}

.login-form {
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(35, 43, 62, 0.12);
	padding: 1.5rem;
	box-sizing: border-box;
}

.login-form legend {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.login-form label {
	display: block;
	margin: 0.5rem 0 0.25rem;
	font-size: 0.9rem;
}

.login-form input[type="text"],
.login-form input[type="password"] {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid #e6e9ef;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 0.95rem;
}

.pure-button.pure-button-primary {
	display: inline-block;
	margin-top: 1rem;
	background: #007acc;
	color: #fff;
	border: none;
	padding: 0.6rem 1rem;
	border-radius: 6px;
	cursor: pointer;
}

.login-message {
	background: #fff3cd;
	border: 1px solid #ffeeba;
	color: #856404;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	margin-bottom: 0.75rem;
}

@media (max-width: 1000px) {
	.login-form { padding: 1rem; }
}

/* RSS cards on home */
.rss-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, 430px);
	justify-content: center;
	gap: 1.5rem 1rem;
}

.rss-item {
	width: 100%;
	margin: 0;
	background: #fff;
	border: 1px solid #e6e9ef;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(35, 43, 62, 0.12);
	overflow: hidden;
	box-sizing: border-box;
}

.rss-cardlink {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.rss-cardlink:hover .rss-title {
	text-decoration: underline;
}

.rss-image {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
}

.rss-title {
	margin: 0;
	padding: 0.9rem 1rem 0.35rem;
	font-size: 1.25rem;
	line-height: 1.25;
	overflow: hidden;
}

.rss-title a {
	color: inherit;
	text-decoration: none;
}

.rss-title a:hover {
	text-decoration: underline;
}

.rss-summary {
	margin: 0;
	padding: 0 1rem 0.75rem;
	line-height: 1.45;
	overflow: hidden;
}

.rss-meta {
    padding: 0.5rem 1rem 0.5rem;
    color: rgba(34, 34, 34, 0.6);
    font-size: 0.9rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-top: 1px solid #d6d6d6;
}

.rss-source-icon {
	width: 16px;
	height: 16px;
	border-radius: 3px;
	flex: 0 0 16px;
}

.rss-sep {
	opacity: 0.8;
}

@media (max-width: 540px) {
	.rss-list {
		grid-template-columns: 1fr;
	}

	.rss-item {
		width: 100%;
	}
}
