/* forecast.dad-look.com - Today's reading forecast */
body { margin: 0; background: var(--sky, #2f6fb8); transition: background-color 0.8s ease; }
a { color: #ffffff; }
a:hover { color: #ffd84d; }
button:focus-visible, a:focus-visible { outline: 3px solid #ffd84d; outline-offset: 2px; }

.fc-page { box-sizing: border-box; min-height: 100vh; color: #ffffff; font-family: Helvetica, Arial, sans-serif; padding: 20px 24px 64px; }
.fc-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.fc-page h2 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
.fc-panel { background: rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.fc-small { margin: 0; font-size: 12px; color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; gap: 6px; }
.fc-icon { display: block; width: 100%; height: 100%; overflow: visible; }
.fc-book { width: 14px; height: 14px; flex: 0 0 auto; }

/* Severe book warning */
.fc-warning { display: flex; align-items: center; gap: 10px; background: #ffd84d; color: #1c1c1c; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.fc-warning strong { margin-right: 6px; }
.fc-warning-icon { font-size: 20px; font-weight: 800; }

/* Location */
.fc-location { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.fc-place { font-size: 26px; font-weight: 800; }
.fc-place-note { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.fc-updated { margin-left: auto; font-size: 13px; color: rgba(255, 255, 255, 0.85); }

/* Today */
.fc-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px 0 12px; }
.fc-hero-icon { width: 150px; height: 150px; }
.fc-hero-temp { font-size: 112px; font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.fc-unit { font-size: 0.5em; vertical-align: 0.8em; letter-spacing: 0; }
.fc-hero-label { font-size: 20px; font-weight: 700; color: rgba(255, 255, 255, 0.92); }
.fc-hero-title { margin: 14px 0 0; display: flex; flex-direction: column; gap: 4px; }
.fc-chance { font-size: 18px; font-weight: 800; color: #ffd84d; text-transform: uppercase; letter-spacing: 0.06em; }
.fc-book-title { font-size: 38px; line-height: 1.05; font-weight: 800; }
.fc-hero-reason { margin: 6px 0 0; font-size: 18px; line-height: 1.4; max-width: 520px; color: rgba(255, 255, 255, 0.92); }
.fc-late { margin: 0; font-size: 14px; font-style: italic; color: #ffd84d; }
.fc-late[hidden] { display: none; }
.fc-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.fc-button { background: #ffffff; color: #1c1c1c; border: 0; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 800; padding: 14px 24px; min-height: 50px; cursor: pointer; }
.fc-button:hover { background: #ffd84d; }
.fc-button-ghost { background: transparent; color: #ffffff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8); }
.fc-button-ghost:hover { background: rgba(255, 255, 255, 0.15); }
.fc-status { margin: 0; min-height: 1.3em; font-size: 14px; font-weight: 700; color: #ffd84d; }

/* Hourly */
.fc-hours { margin: 0; padding: 0 0 4px; list-style: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
.fc-hours li { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0; }
.fc-hour-time { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.9); }
.fc-hour-icon { width: 34px; height: 34px; }
.fc-hour-temp { font-size: 18px; font-weight: 800; }
.fc-hour-chance { display: flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: #ffd84d; }

/* 7 days */
.fc-days { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.fc-days li { display: grid; grid-template-columns: minmax(80px, 1fr) 36px minmax(110px, 1.4fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.fc-days li:first-child { border-top: 0; }
.fc-day-name { font-size: 16px; font-weight: 700; }
.fc-day-icon { width: 30px; height: 30px; }
.fc-day-read { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: #ffd84d; }
.fc-day-temps { font-size: 15px; font-weight: 700; white-space: nowrap; }
.fc-low { color: rgba(255, 255, 255, 0.75); margin-right: 8px; }

/* Gauges */
.fc-gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.fc-gauge { background: rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.fc-gauge-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.85); }
.fc-gauge-value { font-size: 26px; font-weight: 800; }
.fc-gauge-note { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, 0.9); }
.fc-gauge-book { grid-column: 1 / -1; background: rgba(0, 0, 0, 0.22); }
.fc-gauge-book .fc-gauge-value { color: #ffd84d; font-size: 34px; }
.fc-meter { height: 12px; border-radius: 999px; background: linear-gradient(to right, #6bd36b, #ffd84d 50%, #ec6e6a); position: relative; }
.fc-meter div { position: absolute; top: -5px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.25); }

/* Call to action */
.fc-cta { background: #ffffff; color: #1c1c1c; border-radius: 20px; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.fc-page .fc-cta h2 { font-size: 30px; line-height: 1.1; letter-spacing: 0; text-transform: none; color: #1c1c1c; }
.fc-cta p { margin: 0; font-size: 17px; font-weight: 700; color: #3a3a3a; }
.fc-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 80px; padding: 20px 28px; border-radius: 999px; background: #1c1c1c; color: #ffffff; font-size: 24px; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.fc-cta-button:hover { background: #000000; color: #ffd84d; }
.fc-cta-button:focus-visible { outline-color: #1c1c1c; outline-offset: 4px; }
.fc-cta-arrow { display: inline-block; }

/* Footer */
.fc-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.9); }

@media (max-width: 600px) {
	.fc-page { padding: 16px 16px 48px; }
	.fc-hero-temp { font-size: 88px; }
	.fc-book-title { font-size: 30px; }
	.fc-days li { grid-template-columns: 1fr 30px auto; }
	.fc-day-read { display: none; }
	.fc-updated { margin-left: 0; width: 100%; }
	.fc-page .fc-cta h2 { font-size: 24px; }
	.fc-cta-button { font-size: 19px; min-height: 70px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.fc-rays { transform-origin: 32px 32px; animation: fc-spin 18s linear infinite; }
	.fc-heat .fc-rays { animation-duration: 6s; }
	.fc-heat { animation: fc-shimmer 1.6s ease-in-out infinite; }
	.fc-cloud { animation: fc-float 4s ease-in-out infinite; }
	.fc-cloud-back { animation: fc-float 5s 0.5s ease-in-out infinite; }
	.fc-drop { animation: fc-fall 1s linear infinite; }
	.fc-flake { animation: fc-snow 2.4s ease-in-out infinite; }
	.fc-d2 { animation-delay: 0.33s; }
	.fc-d3 { animation-delay: 0.66s; }
	.fc-bolt { animation: fc-flash 3s steps(1) infinite; }
	.fc-fog { animation: fc-drift 5s ease-in-out infinite alternate; }
	.fc-gust { stroke-dasharray: 60; animation: fc-gust 2.2s ease-in-out infinite; }

	.fc-warning { animation: fc-drop-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.3) both; }
	.fc-warning-icon { animation: fc-blink 1.2s steps(2, start) infinite; }
	.js .fc-hero > * { animation: fc-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .fc-hero > *:nth-child(2) { animation-delay: 0.08s; }
	.js .fc-hero > *:nth-child(3) { animation-delay: 0.16s; }
	.js .fc-hero > *:nth-child(4) { animation-delay: 0.3s; }
	.js .fc-hero > *:nth-child(5) { animation-delay: 0.42s; }
	.js .fc-hero > *:nth-child(n+6) { animation-delay: 0.5s; }
	.fc-hero.is-changing .fc-hero-icon, .fc-hero.is-changing .fc-hero-temp, .fc-hero.is-changing .fc-hero-label, .fc-hero.is-changing .fc-hero-reason { animation: fc-swap 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.fc-hero.is-changing .fc-book-title { animation: fc-stamp 0.5s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1.5) both; }

	.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.js .fc-hours li, .js .fc-days li { opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: calc(0.1s + var(--d, 0) * 60ms); }
	.js .is-in .fc-hours li, .js .is-in .fc-days li { opacity: 1; transform: none; }
	.js .fc-meter div { right: calc(100% - 18px); transition: right 1.4s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1.1); }
	.js .is-in .fc-meter div { right: -4px; animation: fc-peg 0.25s 1.7s ease-in-out 6 alternate; }

	.fc-button { transition: transform 0.12s ease, background-color 0.2s ease; }
	.fc-button:active { transform: scale(0.96); }
	.fc-cta-button { animation: fc-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.fc-cta-button:hover { transform: scale(1.03); }
	.fc-cta-arrow { animation: fc-nudge 1.1s ease-in-out infinite; }
}

@keyframes fc-spin { to { transform: rotate(360deg); } }
@keyframes fc-shimmer { 0%, 100% { opacity: 1; } 50% { opacity: 0.75; } }
@keyframes fc-float { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes fc-fall { 0% { transform: translateY(-4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
@keyframes fc-snow { 0% { transform: translate(0, -4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(3px, 8px); opacity: 0; } }
@keyframes fc-flash { 0%, 88%, 94% { opacity: 1; } 90%, 96% { opacity: 0.1; } }
@keyframes fc-drift { from { transform: translateX(-3px); } to { transform: translateX(3px); } }
@keyframes fc-gust { 0% { stroke-dashoffset: 60; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes fc-drop-in { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes fc-blink { to { visibility: hidden; } }
@keyframes fc-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fc-swap { from { opacity: 0; transform: translateY(-14px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes fc-stamp { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes fc-peg { from { transform: translateX(0); } to { transform: translateX(-4px); } }
@keyframes fc-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(28, 28, 28, 0.4); } 50% { box-shadow: 0 0 0 12px rgba(28, 28, 28, 0); } }
@keyframes fc-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
