/* 날씨 위젯 · 상세 */
.tr-wx {
	box-sizing: border-box;
	margin: 10px 0 12px;
	padding: 10px 12px 8px;
	background: var(--bg-primary, #fff);
	border: 1px solid var(--border-color, #e5e7ea);
	border-radius: 6px;
}
.tr-wx *,
.tr-wx *::before,
.tr-wx *::after { box-sizing: border-box; }

.tr-wx__head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0 0 8px;
}
.tr-wx__title {
	margin: 0;
	font-size: 1em;
	font-weight: 700;
}
.tr-wx__region {
	font-size: 0.82em;
	color: var(--text-secondary, #6c757d);
}
.tr-wx__more {
	margin-left: auto;
	font-size: 0.82em;
	font-weight: 700;
	color: var(--color-accent, #b91c1c);
	text-decoration: none;
}
.tr-wx__more:hover { text-decoration: underline; }

.tr-wx__body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}
@media (min-width: 420px) {
	.tr-wx:not(.tr-wx--compact) .tr-wx__body {
		grid-template-columns: 1.1fr 1fr;
		align-items: center;
	}
}

.tr-wx__now {
	display: flex;
	gap: 10px;
	align-items: center;
}
.tr-wx__icon { font-size: 2rem; line-height: 1; }
.tr-wx__now-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.tr-wx__temp {
	font-size: 1.6rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}
.tr-wx__sky { font-size: 0.9em; font-weight: 600; }
.tr-wx__range {
	font-size: 0.82em;
	color: var(--text-secondary, #6c757d);
}
.tr-wx__air {
	font-size: 0.78em;
	color: #2563eb;
	font-weight: 600;
}

.tr-wx__hourly {
	display: flex;
	justify-content: space-between;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.tr-wx__hourly li {
	flex: 1;
	text-align: center;
	font-size: 0.72em;
	color: var(--text-secondary, #6c757d);
}
.tr-wx__h-ico { display: block; font-size: 1.1rem; margin: 2px 0; }
.tr-wx__h-temp {
	display: block;
	font-weight: 700;
	color: var(--text-primary, #18191a);
}

.tr-wx__meta,
.tr-wx__empty {
	margin: 8px 0 0;
	font-size: 0.75em;
	color: var(--text-secondary, #6c757d);
}

/* 상세 페이지 */
.tr-wx-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 24px 16px 48px;
}
.tr-wx-page__hero h1 {
	margin: 0 0 8px;
	font-size: 1.55rem;
	font-weight: 800;
}
.tr-wx-page__lead {
	margin: 0 0 16px;
	color: var(--text-secondary, #6c757d);
	font-size: 0.92em;
	line-height: 1.45;
}
.tr-wx-page__panel {
	margin: 0 0 20px;
}
.tr-wx-page__note {
	margin: 16px 0 0;
	font-size: 0.82em;
	color: var(--text-secondary, #6c757d);
	line-height: 1.45;
}
.tr-wx-page__locate {
	margin: 12px 0 20px;
}
.tr-wx-page__locate button {
	padding: 8px 14px;
	border: 1px solid var(--color-accent, #b91c1c);
	border-radius: 6px;
	background: #fff;
	color: var(--color-accent, #b91c1c);
	font-weight: 700;
	cursor: pointer;
}
.tr-wx-page__locate button:hover {
	background: var(--color-accent, #b91c1c);
	color: #fff;
}
.tr-wx-page__locate-msg {
	margin: 8px 0 0;
	font-size: 0.85em;
	color: var(--text-secondary, #6c757d);
}
