/* ATL Weather — Frontend styles v1.4.0
   Clean, professional design system. Layout 11 unchanged. */

.atl-wx {
	--atl-wx-primary: #5b3df5;
	--atl-wx-secondary: #14b8a6;
	--atl-wx-radius: 14px;
	--atl-wx-font: -apple-system, 'Segoe UI', Roboto, sans-serif;
	--atl-wx-text: #1a1c23;
	--atl-wx-muted: #70768a;
	--atl-wx-surface: #ffffff;
	--atl-wx-surface-2: #f6f7fa;
	--atl-wx-border: rgba(26, 28, 35, .08);
	font-family: var(--atl-wx-font);
	color: var(--atl-wx-text);
	font-size: 15px;
	line-height: 1.45;
	box-sizing: border-box;
	max-width: 100%;
	position: relative;
}
.atl-wx *, .atl-wx *::before, .atl-wx *::after { box-sizing: inherit; }

/* ---- Control hardening: neutralize theme styles on our buttons/inputs ---- */
.atl-wx button,
.atl-wx input[type="text"] {
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
	font-size: inherit;
	line-height: 1.2;
	margin: 0;
	background: none;
	background-image: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	color: inherit;
	min-height: 0;
	min-width: 0;
	width: auto;
	height: auto;
}
.atl-wx button { cursor: pointer; }
.atl-wx button:hover,
.atl-wx button:focus { background-image: none; text-decoration: none; }

/* Dark mode */
.atl-wx--mode-dark,
.atl-wx--mode-auto.atl-wx-is-dark {
	--atl-wx-text: #eceef4;
	--atl-wx-muted: #9aa0b2;
	--atl-wx-surface: #181a24;
	--atl-wx-surface-2: #20232f;
	--atl-wx-border: rgba(236, 238, 244, .09);
}
@media (prefers-color-scheme: dark) {
	.atl-wx--mode-auto {
		--atl-wx-text: #eceef4;
		--atl-wx-muted: #9aa0b2;
		--atl-wx-surface: #181a24;
		--atl-wx-surface-2: #20232f;
		--atl-wx-border: rgba(236, 238, 244, .09);
	}
}

.atl-wx--error {
	padding: 12px 16px;
	border: 1px dashed #e5484d;
	border-radius: 10px;
	color: #e5484d;
	font-size: 14px;
}

/* ---- Card base ---- */
.atl-wx__card {
	position: relative;
	overflow: hidden;
	border-radius: var(--atl-wx-radius);
	background: var(--atl-wx-custom-bg, var(--atl-wx-surface));
	border: 1px solid var(--atl-wx-border);
	box-shadow: 0 1px 2px rgba(26, 28, 35, .04), 0 8px 28px rgba(26, 28, 35, .06);
}
.atl-wx__inner { position: relative; z-index: 2; padding: 24px; }
.atl-wx--compact .atl-wx__inner { padding: 16px; }

/* ---- Hero ---- */
.atl-wx__hero { display: flex; align-items: center; gap: 18px; }
.atl-wx__hero-icon { color: var(--atl-wx-primary); flex-shrink: 0; display: flex; }
.atl-wx__temp { font-size: 46px; font-weight: 700; letter-spacing: -1.8px; line-height: 1; font-variant-numeric: tabular-nums; }
.atl-wx__unit { font-size: 19px; font-weight: 600; color: var(--atl-wx-muted); vertical-align: super; margin-inline-start: 2px; letter-spacing: 0; }
.atl-wx__label { font-size: 15px; font-weight: 600; margin-top: 5px; }
.atl-wx__loc { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--atl-wx-muted); margin-top: 3px; }
.atl-wx__loc svg { flex-shrink: 0; }
.atl-wx__feels { font-size: 12px; color: var(--atl-wx-muted); margin-top: 2px; }

/* ---- Details grid ---- */
.atl-wx__details {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
	gap: 8px;
	margin-top: 20px;
}
.atl-wx__detail {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: 'ico label' 'ico value';
	column-gap: 9px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--atl-wx-surface-2);
}
.atl-wx__detail-ico { grid-area: ico; align-self: center; font-size: 15px; opacity: .9; }
.atl-wx__detail-label { grid-area: label; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--atl-wx-muted); font-weight: 600; }
.atl-wx__detail-value { grid-area: value; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---- Daily strip ---- */
.atl-wx__daily {
	display: flex;
	gap: 6px;
	margin-top: 20px;
	overflow-x: auto;
	scrollbar-width: thin;
	padding-bottom: 4px;
}
.atl-wx__day {
	flex: 1 0 74px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 6px;
	border-radius: 10px;
	background: var(--atl-wx-surface-2);
	color: var(--atl-wx-text);
	transition: background .15s ease;
}
.atl-wx--animated .atl-wx__day:hover { background: rgba(91, 61, 245, .08); }
.atl-wx__day svg { color: var(--atl-wx-primary); }
.atl-wx__day-name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--atl-wx-muted); }
.atl-wx__day-temps { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.atl-wx__day-temps b { font-weight: 700; }
.atl-wx__day-temps i { font-style: normal; color: var(--atl-wx-muted); margin-inline-start: 4px; }
.atl-wx__day-pop { font-size: 10.5px; color: var(--atl-wx-secondary); font-weight: 700; }

/* ---- Hourly strip ---- */
.atl-wx__hourly-wrap { margin-top: 16px; }
.atl-wx__hourly { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.atl-wx__hour {
	flex: 0 0 58px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 10px 4px;
	border-radius: 9px;
	background: var(--atl-wx-surface-2);
}
.atl-wx__hour svg { color: var(--atl-wx-primary); }
.atl-wx__hour-time { font-size: 10.5px; color: var(--atl-wx-muted); font-weight: 600; }
.atl-wx__hour-temp { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---- Alerts ---- */
.atl-wx__alerts { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.atl-wx__alert {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 600;
	padding: 9px 13px;
	border-radius: 9px;
}
.atl-wx__alert--moderate { color: #92400e; background: rgba(245, 158, 11, .12); }
.atl-wx__alert--severe { color: #b91c1c; background: rgba(229, 72, 77, .1); }

/* ---- Search + geolocate (bug-fixed sizing) ---- */
.atl-wx__search { position: relative; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.atl-wx__search input[type="text"] {
	flex: 1 1 auto;
	width: 100%;
	height: 42px;
	padding: 0 16px;
	font-size: 13.5px;
	color: var(--atl-wx-text);
	background: var(--atl-wx-surface-2);
	border: 1px solid var(--atl-wx-border);
	border-radius: 999px;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.atl-wx__search input[type="text"]::placeholder { color: var(--atl-wx-muted); opacity: 1; }
.atl-wx__search input[type="text"]:focus {
	border-color: var(--atl-wx-primary);
	box-shadow: 0 0 0 3px rgba(91, 61, 245, .15);
	background: var(--atl-wx-surface-2);
}
.atl-wx button.atl-wx__geo {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	max-width: 42px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--atl-wx-border);
	background: var(--atl-wx-surface-2);
	color: var(--atl-wx-primary);
	transition: border-color .15s, color .15s;
}
.atl-wx button.atl-wx__geo:hover { border-color: var(--atl-wx-primary); background: var(--atl-wx-surface-2); color: var(--atl-wx-primary); }
.atl-wx button.atl-wx__geo svg { display: block; }
.atl-wx__search-results {
	position: absolute;
	inset-inline: 0;
	top: calc(100% + 6px);
	z-index: 30;
	background: var(--atl-wx-surface);
	border: 1px solid var(--atl-wx-border);
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(26, 28, 35, .16);
	overflow: hidden;
}
.atl-wx__search-results button {
	display: block;
	width: 100%;
	text-align: start;
	padding: 11px 15px;
	font-size: 13px;
	color: var(--atl-wx-text);
	background: var(--atl-wx-surface);
}
.atl-wx__search-results button:hover,
.atl-wx__search-results button:focus-visible { background: rgba(91, 61, 245, .1); }
.atl-wx__search-results small { color: var(--atl-wx-muted); margin-inline-start: 4px; }

/* ---- Units pill ---- */
.atl-wx__units {
	position: absolute;
	top: 16px;
	inset-inline-end: 16px;
	z-index: 6;
	display: inline-flex;
	padding: 3px;
	border-radius: 999px;
	background: rgba(26, 28, 35, .10);
}
.atl-wx button[data-atl-unit] {
	font-size: 12px;
	font-weight: 700;
	padding: 6px 11px;
	border-radius: 999px;
	color: var(--atl-wx-muted);
	background: transparent;
	transition: background .15s, color .15s;
	line-height: 1;
}
.atl-wx button[data-atl-unit].is-on {
	background: var(--atl-wx-surface);
	color: var(--atl-wx-text);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .16);
}
/* On saturated/dark cards, frost the pill */
.atl-wx__card--glass .atl-wx__units,
.atl-wx__card--gradient .atl-wx__units,
.atl-wx__card--darkdash .atl-wx__units,
.atl-wx__card--fullhero .atl-wx__units,
.atl-wx__card--premium .atl-wx__units { background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.atl-wx__card--glass button[data-atl-unit],
.atl-wx__card--gradient button[data-atl-unit],
.atl-wx__card--darkdash button[data-atl-unit],
.atl-wx__card--fullhero button[data-atl-unit],
.atl-wx__card--premium button[data-atl-unit] { color: rgba(255, 255, 255, .85); }
.atl-wx__card--glass button[data-atl-unit].is-on,
.atl-wx__card--gradient button[data-atl-unit].is-on,
.atl-wx__card--darkdash button[data-atl-unit].is-on,
.atl-wx__card--fullhero button[data-atl-unit].is-on,
.atl-wx__card--premium button[data-atl-unit].is-on { background: #fff; color: #1a1c23; }
.atl-wx__card--premium .atl-wx__units { inset-inline-end: 58px; }

/* ---- Map ---- */
.atl-wx__map { position: relative; margin-top: 16px; border-radius: var(--atl-wx-radius); overflow: hidden; border: 1px solid var(--atl-wx-border); }
.atl-wx__map iframe { display: block; width: 100%; height: 340px; border: 0; }
.atl-wx button.atl-wx__map-fs {
	position: absolute; top: 10px; inset-inline-end: 10px;
	width: 34px; height: 34px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 8px;
	background: rgba(26, 28, 35, .65);
	color: #fff;
	font-size: 15px;
}
.atl-wx__map.atl-wx-map-full { position: fixed; inset: 0; z-index: 99999; margin: 0; border-radius: 0; }
.atl-wx__map.atl-wx-map-full iframe { height: 100%; }

/* ==========================================================================
   FREE LAYOUTS (1–5) — clean & simple
   ========================================================================== */

/* 1 · Modern Glassmorphism — single calm gradient, one glass panel */
.atl-wx__card--glass {
	background: var(--atl-wx-custom-bg, linear-gradient(135deg, #5b3df5 0%, #4f46e5 55%, #14b8a6 130%));
	color: #fff;
	--atl-wx-text: #fff;
	--atl-wx-muted: rgba(255, 255, 255, .75);
	--atl-wx-surface-2: rgba(255, 255, 255, .12);
	--atl-wx-border: rgba(255, 255, 255, .18);
	border: 0;
}
.atl-wx__card--glass .atl-wx__inner {
	margin: 12px;
	padding: 22px;
	border-radius: calc(var(--atl-wx-radius) - 4px);
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .2);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}
.atl-wx__card--glass .atl-wx__hero-icon,
.atl-wx__card--glass .atl-wx__day svg,
.atl-wx__card--glass .atl-wx__hour svg { color: #fff; }
.atl-wx__card--glass .atl-wx--animated .atl-wx__day:hover { background: rgba(255,255,255,.2); }

/* 2 · Minimal Card — pure typography, hairline dividers */
.atl-wx__card--minimal { box-shadow: none; }
.atl-wx__card--minimal .atl-wx__temp { font-size: 40px; font-weight: 600; }
.atl-wx__card--minimal .atl-wx__details { gap: 0; margin-top: 16px; border-top: 1px solid var(--atl-wx-border); }
.atl-wx__card--minimal .atl-wx__detail { background: transparent; border-radius: 0; border-bottom: 1px solid var(--atl-wx-border); padding: 11px 4px; }
.atl-wx__card--minimal .atl-wx__daily { margin-top: 16px; }
.atl-wx__card--minimal .atl-wx__day { background: transparent; padding: 8px 4px; }

/* 3 · Gradient Weather Card — smooth duotone, soft chips */
.atl-wx__card--gradient {
	background: var(--atl-wx-custom-bg, linear-gradient(150deg, var(--atl-wx-primary) 0%, #7c5cff 100%));
	color: #fff;
	--atl-wx-text: #fff;
	--atl-wx-muted: rgba(255, 255, 255, .78);
	--atl-wx-surface-2: rgba(255, 255, 255, .12);
	--atl-wx-border: rgba(255, 255, 255, .16);
	border: 0;
}
.atl-wx__card--gradient .atl-wx__hero-icon,
.atl-wx__card--gradient .atl-wx__day svg,
.atl-wx__card--gradient .atl-wx__hour svg { color: #fff; }

/* 4 · Dark Mode Dashboard — quiet slate panel */
.atl-wx__card--darkdash {
	background: var(--atl-wx-custom-bg, #14161f);
	--atl-wx-surface: #1d2029;
	--atl-wx-text: #eceef4;
	--atl-wx-muted: #99a0b2;
	--atl-wx-surface-2: #1d2029;
	--atl-wx-border: rgba(236, 238, 244, .07);
	color: #eceef4;
	border-color: rgba(236, 238, 244, .07);
}
.atl-wx__card--darkdash .atl-wx__hero-icon { color: var(--atl-wx-secondary); }

/* 5 · Material Design — flat app bar, crisp elevation */
.atl-wx__card--material { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 6px 16px rgba(0,0,0,.1); border-radius: var(--atl-wx-radius); }
.atl-wx__card--material .atl-wx__material-head {
	padding: 22px 24px;
	background: var(--atl-wx-custom-bg, var(--atl-wx-primary));
	color: #fff;
	--atl-wx-text: #fff;
	--atl-wx-muted: rgba(255, 255, 255, .78);
}
.atl-wx__card--material .atl-wx__material-head .atl-wx__hero-icon { color: #fff; }
.atl-wx__card--material .atl-wx__units { background: rgba(255,255,255,.2); }
.atl-wx__card--material button[data-atl-unit] { color: rgba(255,255,255,.85); }
.atl-wx__card--material button[data-atl-unit].is-on { background: #fff; color: #1a1c23; }

/* ==========================================================================
   PRO LAYOUTS (6–10) — clean, professional, distinctive
   ========================================================================== */

/* 6 · Elegant Sidebar — editorial column, hairline rhythm */
.atl-wx__card--sidebar { max-width: 340px; border: 0; box-shadow: 0 8px 30px rgba(26, 28, 35, .1); }
.atl-wx__card--sidebar::before {
	content: '';
	position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, var(--atl-wx-primary), var(--atl-wx-secondary));
	z-index: 3;
}
.atl-wx__card--sidebar .atl-wx__inner { padding: 26px 24px; }
.atl-wx__card--sidebar .atl-wx__temp { font-size: 36px; font-weight: 500; letter-spacing: -1.5px; }
.atl-wx__card--sidebar .atl-wx__label { text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; color: var(--atl-wx-muted); font-weight: 700; }
.atl-wx__card--sidebar .atl-wx__details { grid-template-columns: 1fr 1fr; gap: 0; margin-top: 16px; border-top: 1px solid var(--atl-wx-border); }
.atl-wx__card--sidebar .atl-wx__detail { background: transparent; border-radius: 0; border-bottom: 1px solid var(--atl-wx-border); padding: 10px 2px; }
.atl-wx__card--sidebar .atl-wx__day { background: transparent; padding: 8px 4px; }
.atl-wx__card--sidebar .atl-wx__units { top: 18px; }

/* 7 · Horizontal Forecast — split panel, tinted wing */
.atl-wx__card--horizontal { border: 0; box-shadow: 0 8px 30px rgba(26, 28, 35, .1); }
.atl-wx__inner--row { display: flex; gap: 0; align-items: stretch; padding: 0; }
.atl-wx__col-hero {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	padding: 30px 34px;
	background: linear-gradient(165deg, var(--atl-wx-primary), #4f46e5);
	color: #fff;
	--atl-wx-text: #fff;
	--atl-wx-muted: rgba(255, 255, 255, .78);
}
.atl-wx__col-hero .atl-wx__hero-icon { color: #fff; }
.atl-wx__col-rest { flex: 1; min-width: 0; padding: 24px 26px; }
.atl-wx__col-rest .atl-wx__daily { margin-top: 12px; }
.atl-wx__col-rest .atl-wx__hourly-wrap { margin-top: 0; }

/* 8 · Full Width Hero — cinematic, restrained */
.atl-wx__card--fullhero {
	background: var(--atl-wx-custom-bg, radial-gradient(130% 150% at 20% -10%, #4f46e5 0%, #2b2468 50%, #15132b 100%));
	color: #fff;
	--atl-wx-surface: #221d4d;
	--atl-wx-text: #fff;
	--atl-wx-muted: rgba(255, 255, 255, .72);
	--atl-wx-surface-2: rgba(255, 255, 255, .08);
	--atl-wx-border: rgba(255, 255, 255, .12);
	border: 0;
}
.atl-wx__card--fullhero .atl-wx__inner { padding: 44px 38px; }
.atl-wx__card--fullhero .atl-wx__hero { justify-content: center; }
.atl-wx__card--fullhero .atl-wx__temp { font-size: 72px; font-weight: 300; letter-spacing: -3px; }
.atl-wx__card--fullhero .atl-wx__label { font-size: 16px; }
.atl-wx__card--fullhero .atl-wx__hero-icon,
.atl-wx__card--fullhero .atl-wx__day svg,
.atl-wx__card--fullhero .atl-wx__hour svg { color: #fff; }
.atl-wx__card--fullhero .atl-wx__fullhero-bottom { margin-top: 14px; }
.atl-wx__card--fullhero .atl-wx__search { max-width: 420px; margin-inline: auto; }
.atl-wx__card--fullhero .atl-wx__search input[type="text"] { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }
.atl-wx__card--fullhero .atl-wx__search input[type="text"]::placeholder { color: rgba(255,255,255,.55); }
.atl-wx__card--fullhero button.atl-wx__geo { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); color: #fff; }

/* 9 · Compact Mobile — neat pill */
.atl-wx__card--compactmob { max-width: 300px; border: 0; border-radius: var(--atl-wx-radius); box-shadow: 0 10px 26px rgba(26, 28, 35, .12); }
.atl-wx__card--compactmob .atl-wx__inner { padding: 14px 16px; }
.atl-wx__card--compactmob .atl-wx__temp { font-size: 26px; }
.atl-wx__card--compactmob .atl-wx__hero { gap: 12px; }
.atl-wx__card--compactmob .atl-wx__hero-icon {
	background: var(--atl-wx-surface-2);
	border-radius: 10px;
	padding: 8px;
}
.atl-wx__card--compactmob .atl-wx__daily { margin-top: 12px; }
.atl-wx__card--compactmob .atl-wx__day { padding: 8px 4px; flex-basis: 54px; }
.atl-wx__card--compactmob .atl-wx__units { top: 12px; inset-inline-end: 12px; }

/* 10 · Animated Premium Dashboard — deep, refined */
.atl-wx__card--premium {
	background: var(--atl-wx-custom-bg, linear-gradient(160deg, #12142b 0%, #1e1a45 60%, #10283a 100%));
	color: #eceef4;
	--atl-wx-surface: #1c1f38;
	--atl-wx-text: #eceef4;
	--atl-wx-muted: #a4aabf;
	--atl-wx-surface-2: rgba(255, 255, 255, .06);
	--atl-wx-border: rgba(255, 255, 255, .1);
	border: 0;
	box-shadow: 0 16px 50px rgba(16, 18, 43, .4);
}
.atl-wx__card--premium::before {
	content: '';
	position: absolute; inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(130deg, rgba(124, 92, 255, .7), rgba(20, 184, 166, .5) 55%, transparent);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: 4;
}
.atl-wx__card--premium .atl-wx__inner { padding: 28px; }
.atl-wx__card--premium .atl-wx__hero-icon { color: var(--atl-wx-secondary); }
.atl-wx__premium-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.atl-wx__premium-side .atl-wx__details { margin-top: 0; grid-template-columns: 1fr 1fr; }
.atl-wx__card--premium .atl-wx__temp {
	font-size: 58px;
	font-weight: 600;
	background: linear-gradient(90deg, #fff, var(--atl-wx-secondary));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
.atl-wx__card--premium .atl-wx__day-name { color: var(--atl-wx-secondary); }
.atl-wx button.atl-wx__dark-toggle {
	position: absolute; top: 16px; inset-inline-end: 16px; z-index: 5;
	width: 32px; height: 32px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--atl-wx-border);
	background: var(--atl-wx-surface-2);
	font-size: 14px;
}

/* ---- Weather FX (subtle) ---- */
.atl-wx__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.atl-wx:not(.atl-wx--animated) .atl-wx__fx { display: none; }

.atl-fx-drop {
	position: absolute; top: -12%;
	width: 1.5px; height: 12px;
	border-radius: 2px;
	background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.4));
	animation: atl-fx-fall-card linear infinite;
}
@keyframes atl-fx-fall-card { to { transform: translateY(620px); } }

.atl-fx-flake {
	position: absolute; top: -6%;
	width: 5px; height: 5px;
	border-radius: 50%;
	background: rgba(255,255,255,.7);
	animation: atl-fx-snow linear infinite;
}
@keyframes atl-fx-snow {
	50% { transform: translateY(300px) translateX(12px); }
	100% { transform: translateY(620px) translateX(-6px); }
}

.atl-fx-bolt {
	position: absolute; inset: 0;
	background: rgba(255, 255, 220, 0);
	animation: atl-fx-flash 6s ease-in-out infinite;
}
@keyframes atl-fx-flash {
	0%, 90%, 94%, 100% { background: rgba(255,255,220,0); }
	91.5%, 93% { background: rgba(255,255,220,.2); }
}

.atl-fx-cloud {
	position: absolute;
	width: 150px; height: 42px;
	border-radius: 999px;
	background: rgba(255,255,255,.1);
	filter: blur(2px);
	animation: atl-fx-drift 30s linear infinite;
}
.atl-fx-cloud::before {
	content: '';
	position: absolute; top: -18px; left: 32px;
	width: 62px; height: 62px;
	border-radius: 50%;
	background: inherit;
}
.atl-fx-cloud--1 { top: 12%; left: -170px; }
.atl-fx-cloud--2 { top: 48%; left: -300px; animation-duration: 44s; transform: scale(.65); }
@keyframes atl-fx-drift { to { transform: translateX(calc(100vw + 340px)); } }

.atl-fx-sun {
	position: absolute; top: -70px; inset-inline-end: -70px;
	width: 190px; height: 190px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 210, 80, .35) 0%, rgba(255,210,80,0) 68%);
	animation: atl-fx-pulse 6s ease-in-out infinite;
}
@keyframes atl-fx-pulse { 50% { transform: scale(1.08); opacity: .85; } }

.atl-fx-moon {
	position: absolute; top: 18px; inset-inline-end: 24px;
	width: 40px; height: 40px;
	border-radius: 50%;
	box-shadow: -11px 7px 0 0 rgba(255,255,255,.28);
	animation: atl-fx-pulse 8s ease-in-out infinite;
}
.atl-fx-star {
	position: absolute;
	width: 2.5px; height: 2.5px;
	border-radius: 50%;
	background: rgba(255,255,255,.7);
	animation: atl-fx-twinkle 3s ease-in-out infinite;
}
@keyframes atl-fx-twinkle { 50% { opacity: .2; transform: scale(.6); } }

/* Loading */
.atl-wx.atl-wx-loading { opacity: .55; pointer-events: none; transition: opacity .2s; }

/* RTL */
.atl-wx--rtl { direction: rtl; }

/* Responsive */
@media (max-width: 640px) {
	.atl-wx__inner { padding: 18px; }
	.atl-wx__temp { font-size: 38px; }
	.atl-wx__card--fullhero .atl-wx__inner { padding: 28px 20px; }
	.atl-wx__card--fullhero .atl-wx__temp { font-size: 50px; }
	.atl-wx__inner--row { flex-direction: column; }
	.atl-wx__col-hero { padding: 22px; }
	.atl-wx__col-rest { padding: 18px; }
	.atl-wx__premium-grid { grid-template-columns: 1fr; }
	.atl-wx__map iframe { height: 250px; }
}

/* Accessibility */
.atl-wx button:focus-visible,
.atl-wx input:focus-visible { outline: 2px solid var(--atl-wx-primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.atl-wx__fx, .atl-wx__fx * { animation: none !important; display: none; }
	.atl-wx * { transition: none !important; }
}

/* --- Layout 11: Forecast Dashboard (Pro) --- */
.atl-wx__card--dashboard {
	background: var(--atl-wx-custom-bg, #f3ede4);
	--atl-wx-dash-accent: #e8590c;
	--atl-wx-surface: #ffffff;
	--atl-wx-surface-2: #faf6ef;
	--atl-wx-text: #2b2620;
	--atl-wx-muted: #8a8378;
	--atl-wx-border: rgba(43, 38, 32, .08);
	color: var(--atl-wx-text);
	border: 0;
	box-shadow: 0 14px 44px rgba(43, 38, 32, .12);
}
.atl-wx__card--dashboard .atl-wx__inner { padding: 26px; }
.atl-wx__card--dashboard .atl-wx__units { position: static; order: 2; }

/* Head row */
.atl-wx__dash-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.atl-wx__dash-title { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.4px; order: 1; }
.atl-wx__dash-loc { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--atl-wx-muted); order: 3; margin-inline-start: auto; }
.atl-wx__dash-loc svg { color: var(--atl-wx-dash-accent); }
.atl-wx__dash-search { order: 4; min-width: 240px; }
.atl-wx__dash-search .atl-wx__search { margin: 0; }
.atl-wx__dash-search .atl-wx__search input { background: #fff; border-color: var(--atl-wx-border); }

/* Day tabs */
.atl-wx__daytabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; margin-bottom: 18px; }
.atl-wx__daytab {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 15px;
	border-radius: 11px;
	background: #4a443c;
	color: #fff;
	font-size: 13px;
	transition: transform .15s;
}
.atl-wx--animated .atl-wx__daytab:hover { transform: translateY(-2px); }
.atl-wx__daytab svg { color: #ffd9a8; }
.atl-wx__daytab-name { font-weight: 700; }
.atl-wx__daytab-temp { font-weight: 600; opacity: .9; }
.atl-wx__daytab.is-active { background: var(--atl-wx-dash-accent); box-shadow: 0 6px 16px rgba(232, 89, 12, .4); }

/* Two-column grid */
.atl-wx__dash-grid { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.atl-wx__dash-left, .atl-wx__dash-right {
	background: var(--atl-wx-surface);
	border-radius: 18px;
	padding: 16px;
	box-shadow: 0 6px 20px rgba(43, 38, 32, .07);
}
.atl-wx__dash-left .atl-wx__details { margin-top: 12px; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.atl-wx__dash-left .atl-wx__detail { background: var(--atl-wx-surface-2); border: 0; padding: 10px 8px; grid-template-columns: 1fr; grid-template-areas: 'ico' 'label' 'value'; text-align: center; row-gap: 2px; }
.atl-wx__dash-sub { margin: 2px 4px 12px; font-size: 15px; font-weight: 800; }

/* Photo-style current card */
.atl-wx__photo {
	position: relative;
	height: 190px;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 14px;
	color: #fff;
	background: linear-gradient(165deg, #6d7683 0%, #3c434e 60%, #23272f 100%);
}
.atl-wx__photo--sun, .atl-wx__photo--partly { background: linear-gradient(165deg, #ffb347 0%, #e8590c 70%, #b23c02 100%); }
.atl-wx__photo--moon, .atl-wx__photo--partly-night { background: linear-gradient(165deg, #2b3a67 0%, #1a2138 65%, #0d1120 100%); }
.atl-wx__photo--rain, .atl-wx__photo--drizzle { background: linear-gradient(165deg, #5a6d82 0%, #38495c 60%, #222d3a 100%); }
.atl-wx__photo--thunder { background: linear-gradient(165deg, #4b4560 0%, #2c2740 60%, #17141f 100%); }
.atl-wx__photo--snow { background: linear-gradient(165deg, #aebfd0 0%, #7d92a8 60%, #5a6d82 100%); }
.atl-wx__photo--fog { background: linear-gradient(165deg, #9aa3ad 0%, #6c757f 60%, #4a525b 100%); }
.atl-wx__photo .atl-wx__fx { border-radius: inherit; }
.atl-wx__photo-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; }
.atl-wx__photo-alerts {
	background: var(--atl-wx-dash-accent);
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 11.5px;
	box-shadow: 0 4px 12px rgba(232, 89, 12, .45);
}
.atl-wx__photo-time { opacity: .9; }
.atl-wx__photo-bottom { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.atl-wx__photo-temp { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -2px; text-shadow: 0 4px 18px rgba(0,0,0,.35); }
.atl-wx__photo-meta { display: flex; flex-direction: column; align-items: flex-end; text-align: end; }
.atl-wx__photo-meta b { font-size: 14px; font-weight: 700; }
.atl-wx__photo-meta i { font-style: normal; font-size: 12px; opacity: .85; }

/* Precipitation chart */
.atl-wx__precip-chart {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 90px;
	padding: 8px 8px 0;
	border-radius: 12px;
	background: var(--atl-wx-surface-2);
	margin-bottom: 10px;
}
.atl-wx__precip-chart i {
	flex: 1;
	border-radius: 5px 5px 0 0;
	background: linear-gradient(180deg, #7fd8c9, #14b8a6);
	min-height: 5px;
	transition: filter .15s;
}
.atl-wx__precip-chart i:hover { filter: brightness(.85); }

/* Hour chips row */
.atl-wx__dash-hours { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.atl-wx__dash-hour {
	flex: 1 0 62px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 10px 4px;
	border-radius: 12px;
	background: var(--atl-wx-surface-2);
}
.atl-wx__dash-hour svg { color: var(--atl-wx-dash-accent); }
.atl-wx__dash-hour-time { font-size: 11px; font-weight: 700; color: var(--atl-wx-muted); }
.atl-wx__dash-hour-pop { font-size: 11px; font-weight: 800; color: #0b7d70; }
.atl-wx__dash-hour-temp { font-size: 14px; font-weight: 800; }

.atl-wx__card--dashboard .atl-wx__alerts { margin: 12px 0 0; }

@media (max-width: 760px) {
	.atl-wx__dash-grid { grid-template-columns: 1fr; }
	.atl-wx__dash-loc { margin-inline-start: 0; }
	.atl-wx__dash-search { width: 100%; }
}

/* ==========================================================================
   v1.5.0 — Layout 11: integrated location map + precipitation outlook
   ========================================================================== */

.atl-wx__dash-map {
	position: relative;
	margin-top: 20px;
	margin-inline: -26px;
	margin-bottom: -26px;
	border-top: 1px solid var(--atl-wx-border);
	overflow: hidden;
}
.atl-wx__card--dashboard .atl-wx__dash-map .atl-wx__map {
	margin: 0;
	border: 0;
	border-radius: 0;
}
.atl-wx__card--dashboard .atl-wx__dash-map .atl-wx__map iframe { height: 360px; }

/* Location pin overlay — map is centered on the resolved lat/lon */
.atl-wx__map-pin {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -100%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
	filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
}
.atl-wx__map-pin-dot {
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--atl-wx-dash-accent, #e8590c);
	border: 3px solid #fff;
	box-shadow: 0 0 0 6px rgba(232, 89, 12, .22);
	position: relative;
}
.atl-wx__map-pin-dot::after {
	content: '';
	position: absolute; top: 100%; left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #fff;
	margin-top: -2px;
}
.atl-wx__map-pin-label {
	margin-top: 4px;
	padding: 4px 11px;
	border-radius: 8px;
	background: #fff;
	color: #1a1c23;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

/* Precipitation outlook strip — real hourly probabilities, not fabricated minute data */
.atl-wx__map-outlook {
	position: relative;
	z-index: 2;
	background: var(--atl-wx-surface, #fff);
	padding: 16px 22px 20px;
	border-top: 1px solid var(--atl-wx-border);
}
.atl-wx__map-outlook-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--atl-wx-text);
}
.atl-wx__map-outlook-legend { display: flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 600; color: var(--atl-wx-muted); }
.atl-wx__map-outlook-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-inline-end: 4px; vertical-align: middle; }
.atl-wx__map-outlook-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.atl-wx__map-outlook-slot {
	flex: 1 0 76px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px 6px;
	border-radius: 10px;
	background: var(--atl-wx-surface-2);
}
.atl-wx__map-outlook-time { font-size: 11px; font-weight: 700; color: var(--atl-wx-muted); }
.atl-wx__map-outlook-slot i { width: 100%; height: 6px; border-radius: 3px; }
.atl-wx__map-outlook-pct { font-size: 12.5px; font-weight: 800; }

@media (max-width: 640px) {
	.atl-wx__dash-map { margin-inline: -18px; margin-bottom: -18px; }
	.atl-wx__card--dashboard .atl-wx__dash-map .atl-wx__map iframe { height: 260px; }
	.atl-wx__map-outlook { padding: 14px 16px 18px; }
}
