/* OZB Fire Check: a charcoal band (the brand's doodle texture when the OZB
   Brand theme is active), white answer cards, official AFDRS rating colours.
   Ban answers are never shown in green. */
.ozb-fc {
	--fc-ink: var(--ozb-ink, #1C1B19);
	--fc-muted: var(--ozb-muted, #6E6B66);
	--fc-line: var(--ozb-line, #E4E2DE);
	--fc-char: var(--ozb-char, #1C1B19);
	--fc-red: var(--ozb-red, #C8202F);
	position: relative;
	padding: clamp(36px, 4.5vw, 60px) 16px clamp(30px, 4vw, 46px);
	/* A warm ember glow across the top, over the charcoal and the doodles. */
	background:
		radial-gradient(90% 60% at 70% 0%, rgba(232, 96, 36, .26), rgba(232, 96, 36, 0) 70%),
		radial-gradient(60% 45% at 15% 100%, rgba(200, 32, 47, .16), rgba(200, 32, 47, 0) 70%),
		var(--fc-char) url("../../../themes/ozb-flatsome-brand/assets/img/pattern-dark.webp") 0 0 / 1000px 1000px repeat;
	color: #fff;
	overflow: hidden;
	/* clip (not hidden) keeps the glow inside without breaking the sticky map. */
	overflow: clip;
}
.ozb-fc::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, rgba(232, 96, 36, 0), #e86024 30%, var(--fc-red) 70%, rgba(200, 32, 47, 0));
}
/* Room above it on the home page. */
.ozb-firecheck { margin-top: clamp(48px, 6vw, 80px); }

/* Two columns with the map: the check on the left, the map on the right. */
/* Desktop: the check beside the map (centred against it), the state cards
   in a full-width row underneath. */
.ozb-fc.has-map .ozb-fc__inner {
	display: grid;
	/* Owner, 7 Oct 2026: a smaller section; the map is a supporting picture. */
	grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr);
	grid-template-areas: "main side" "states states";
	column-gap: clamp(28px, 4vw, 56px);
	row-gap: 22px;
	align-items: center;
	max-width: 1200px;
}
.ozb-fc.has-map .ozb-fc__main { grid-area: main; }
.ozb-fc.has-map .ozb-fc__side { grid-area: side; justify-self: end; width: 100%; max-width: 400px; }
.ozb-fc.has-map .ozb-fc__states { grid-area: states; }
/* With an answer showing, the columns align to the top and the map stays in
   view beside the answer while it is read. */
.ozb-fc.has-map.has-result .ozb-fc__inner { align-items: start; }
@media (min-width: 950px) {
	.ozb-fc.has-map.has-result .ozb-fc__side { position: sticky; top: 96px; }
}
.ozb-fc.has-map .ozb-fc__head,
.ozb-fc.has-map .ozb-fc__main { text-align: left; }
.ozb-fc.has-map .ozb-fc__form { margin-left: 0; }
.ozb-fc__main { min-width: 0; }
.ozb-fc__main > .ozb-fc__eyebrow,
.ozb-fc__main > .ozb-fc__lead { max-width: 560px; }
.ozb-fc__main > .ozb-fc__lead { margin-bottom: 18px; }
.ozb-fc:not(.has-map) .ozb-fc__main { text-align: center; }
.ozb-fc:not(.has-map) .ozb-fc__main > * { margin-left: auto; margin-right: auto; }

/* Live marker. */
.ozb-fc__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 14px; }
.ozb-fc__by { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .72); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.ozb-fc__by:hover { color: #fff; }
.ozb-fc__by:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.ozb-fc__by-logo { display: block; width: auto; height: 22px; }
.ozb-fc__live { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 12px 5px 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(0, 0, 0, .25); color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 600; }
.ozb-fc__live.is-waiting { opacity: .55; }
.ozb-fc__live.is-waiting .ozb-fc__dot::after { animation: none; }
.ozb-fc__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #ff6a3d; }
.ozb-fc__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #ff6a3d; animation: ozb-fc-pulse 2s ease-out infinite; }
@keyframes ozb-fc-pulse { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(2.8); } }
:root .ozb-fc h2.ozb-fc__title { margin: 0 0 12px !important; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; }
:root .ozb-fc .ozb-fc__eyebrow { margin-bottom: 10px; }
.ozb-fc__lead { line-height: 1.55; }
.ozb-fc.has-bans h2.ozb-fc__title { text-shadow: 0 0 28px rgba(232, 96, 36, .35); }

/* The map. */
.ozb-fc__side { min-width: 0; }
.ozb-fc__map { margin: 0; }
.ozb-fc__svg { display: block; width: 100%; height: auto; overflow: visible; }
.ozb-fc__st { fill: #4a4642; stroke: var(--fc-char); stroke-width: 1.6; stroke-linejoin: round; cursor: pointer; transition: filter .15s, opacity .3s; outline: none; }
.ozb-fc__st--moderate { fill: #4f8f2c; }
.ozb-fc__st--high { fill: #c9b21a; }
.ozb-fc__st--extreme { fill: #d9781c; }
.ozb-fc__st--catastrophic { fill: #a10f0f; }
.ozb-fc__st.is-unknown { fill: #4a4642; }
.ozb-fc__st:hover,
.ozb-fc__st:focus-visible,
.ozb-fc__st.is-picked { filter: brightness(1.18); }
.ozb-fc__st:focus-visible,
.ozb-fc__st.is-picked { stroke: #fff; stroke-width: 2.5; }
.ozb-fc__st.is-ban { stroke: #ff4545; stroke-width: 2.5; }
.ozb-fc__badgepin circle { fill: var(--fc-red); stroke: #fff; stroke-width: 2; }
.ozb-fc__badgepin text { fill: #fff; font-size: 12px; font-weight: 800; text-anchor: middle; dominant-baseline: middle; }
.ozb-fc__badgepin { animation: ozb-fc-pop .5s ease-out both; transform-box: fill-box; transform-origin: center; }
@keyframes ozb-fc-pop { from { opacity: 0; transform: scale(.4); } }
.ozb-fc__lbl { fill: #fff; font-size: 17px; font-weight: 700; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: rgba(0, 0, 0, .55); stroke-width: 3px; pointer-events: none; letter-spacing: .02em; }
.ozb-fc__lbl.is-small { font-size: 13px; }
.ozb-fc__leader { stroke: rgba(255, 255, 255, .7); stroke-width: 1; }
.ozb-fc:not(.is-painted) .ozb-fc__svg { opacity: .35; }
.ozb-fc__info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 40px; margin: 8px 0 0; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(0, 0, 0, .28); color: rgba(255, 255, 255, .9); font-size: 13.5px; }
.ozb-fc__info strong { color: #fff; font-size: 15px; }
.ozb-fc__iban.is-ban { color: #ff8a8a; font-weight: 700; }
.ozb-fc__itom,
.ozb-fc__ihint { color: rgba(255, 255, 255, .65); }
.ozb-fc__ilink { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ozb-fc__legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 10px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .7); font-size: 12px; }
.ozb-fc__legend li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.ozb-fc__sw { width: 12px; height: 12px; border-radius: 3px; background: #4a4642; }
.ozb-fc__sw--moderate { background: #4f8f2c; }
.ozb-fc__sw--high { background: #c9b21a; }
.ozb-fc__sw--extreme { background: #d9781c; }
.ozb-fc__sw--catastrophic { background: #a10f0f; }
.ozb-fc__sw--norating { background: #4a4642; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.ozb-fc__sw--ban { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--fc-red); box-shadow: 0 0 0 1.5px #fff; color: #fff; font-size: 9.5px; font-weight: 800; line-height: 1; }
.ozb-fc.has-map .ozb-fc__states { grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: 0; gap: 8px; }
.ozb-fc.has-map .ozb-fc__state { padding: 10px 10px 9px; gap: 4px; }
.ozb-fc.has-map .ozb-fc__scode { font-size: 15px; }
.ozb-fc.has-map .ozb-fc__sban { font-size: 12px; }
.ozb-fc.has-map .ozb-fc__stom { display: none; }
.ozb-fc.has-map .ozb-fc__rating { padding: 3px 8px; font-size: 11px; }
.ozb-fc__inner { max-width: 1080px; margin: 0 auto; }
.ozb-fc__head { max-width: 640px; margin: 0 auto 22px; text-align: center; }
.ozb-fc__eyebrow { margin: 0 0 6px; color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
:root .ozb-fc h2.ozb-fc__title { margin: 0 0 10px; color: #fff !important; }
.ozb-fc__lead { margin: 0; color: rgba(255, 255, 255, .82); }

.ozb-fc__form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto 18px; }
.ozb-fc .ozb-fc__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	min-height: 52px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	color: var(--fc-ink);
	font-size: 16px;
}
.ozb-fc .ozb-fc__input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); outline: none; }
.ozb-fc .ozb-fc__go {
	flex: none;
	height: 52px;
	min-height: 52px;
	margin: 0;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--fc-red);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
.ozb-fc .ozb-fc__go:hover { filter: brightness(1.08); }
.ozb-fc .ozb-fc__go:disabled { opacity: .7; cursor: progress; }
.ozb-fc .ozb-fc__go:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Answer card. */
.ozb-fc__result { max-width: 760px; margin: 0 auto; }
.ozb-fc__result:empty { display: none; }
.ozb-fc__card { margin: 0 0 18px; padding: 20px 22px; border-radius: 16px; background: #fff; color: var(--fc-ink); text-align: left; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.ozb-fc__card--active { box-shadow: inset 4px 0 0 var(--fc-red), 0 10px 30px rgba(0, 0, 0, .25); }
.ozb-fc__card--unavailable { box-shadow: inset 4px 0 0 #d38b00, 0 10px 30px rgba(0, 0, 0, .25); }
.ozb-fc__chead { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 18px; margin: 0 0 12px; }
.ozb-fc__place { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; }
.ozb-fc__dist { margin: 2px 0 0; color: var(--fc-muted); font-size: 13.5px; }
.ozb-fc__rt { display: grid; justify-items: start; gap: 4px; }
.ozb-fc__rtl { color: var(--fc-muted); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.ozb-fc__verdict { margin: 0 0 14px; font-size: 16px; font-weight: 600; line-height: 1.45; }
.ozb-fc__sub { margin: 0 0 8px; color: var(--fc-muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
:root .ozb-fc .ozb-fc__acts { display: grid; gap: 10px; margin: 0 0 14px !important; padding: 0 !important; list-style: none; } /* Theme list indents off: the cards line up with the text above. */
.ozb-fc__act { margin: 0; padding: 12px 14px; border: 1px solid var(--fc-line); border-radius: 12px; }
.ozb-fc__arow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.ozb-fc__arow strong { font-size: 15px; }
.ozb-fc__anote { margin: 6px 0 0; color: var(--fc-muted); font-size: 13.5px; line-height: 1.45; }
/* Activity pills: Fireban's rule-status tones and icons (owner, 7 Oct 2026). */
.ozb-fc__badge { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 9px; border: 1px solid; border-radius: 999px; font-size: 11px; font-weight: 900; line-height: 1.25; letter-spacing: .025em; }
.ozb-fc__bicon { flex: none; width: 14px; height: 14px; }
.ozb-fc__badge--conditions { border-color: #cbd5e1; background: #f1f5f9; color: #0f172a; }
.ozb-fc__badge--conditions .ozb-fc__bicon { color: #334155; }
.ozb-fc__badge--fact { border-color: #cbd5e1; background: #fff; color: #1e293b; }
.ozb-fc__badge--fact .ozb-fc__bicon { color: #475569; }
.ozb-fc__badge--check,
.ozb-fc__badge--action { border-color: #fb923c; background: #ffedd5; color: #431407; }
.ozb-fc__badge--check .ozb-fc__bicon,
.ozb-fc__badge--action .ozb-fc__bicon { color: #9a3412; }
.ozb-fc__badge--prohibited { border-color: #fca5a5; background: #fef2f2; color: #450a0a; }
.ozb-fc__badge--prohibited .ozb-fc__bicon { color: #b91c1c; }
.ozb-fc__badge--pending { border-color: #cbd5e1; background: #fff; color: #334155; }

/* The answer's gauge (Fireban's fire danger dial). */
.ozb-fc__chead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.ozb-fc__rt { justify-items: center; gap: 6px; }
.ozb-fc__gauge { display: block; width: 190px; height: auto; overflow: visible; }
.ozb-fc__glbl { fill: #fff; font-weight: 700; letter-spacing: .02em; }
.ozb-fc__needle { transform-origin: 100px 100px; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.ozb-fc__rtrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; }
.ozb-fc__rtact { margin: 0; max-width: 200px; color: var(--fc-muted); font-size: 12.5px; line-height: 1.35; text-align: center; }
.ozb-fc__fblink { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border: 1px solid var(--fc-line); border-radius: 999px; color: var(--fc-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.ozb-fc__fblink:hover { background: #f6f5f3; color: var(--fc-ink); }
.ozb-fc__fblink:focus-visible { outline: 2px solid var(--fc-ink); outline-offset: 2px; }
.ozb-fc__fblogo { display: block; width: auto; height: 20px; }
.ozb-fc__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 8px; }
.ozb-fc__link { color: var(--fc-ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ozb-fc__meta { margin: 0; color: var(--fc-muted); font-size: 12.5px; line-height: 1.5; }

/* Fire danger ratings: official AFDRS colours. */
.ozb-fc__rating { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: #f0efec; color: var(--fc-ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ozb-fc__rating::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #b9b5ae; }
.ozb-fc__rating--moderate::before { background: #64bf30; }
.ozb-fc__rating--high::before { background: #ffe300; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.ozb-fc__rating--extreme::before { background: #f68b1f; }
.ozb-fc__rating--catastrophic { background: #ad0909; color: #fff; }
.ozb-fc__rating--catastrophic::before { background: #fff; }

/* Today by state. */
.ozb-fc__states { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 26px 0 0; }
.ozb-fc__state {
	display: grid;
	gap: 6px;
	padding: 14px 14px 12px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 14px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	text-decoration: none;
	transition: background .15s, border-color .15s;
}
.ozb-fc__state:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.ozb-fc__state:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ozb-fc__srow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ozb-fc__scode { font-size: 18px; letter-spacing: .02em; }
.ozb-fc__sban { color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 1.3; }
.ozb-fc__state--active { border-color: rgba(200, 32, 47, .8); background: rgba(200, 32, 47, .18); }
.ozb-fc__state--active .ozb-fc__sban { color: #fff; font-weight: 700; }
.ozb-fc__state--unavailable .ozb-fc__sban { color: #ffd27a; }
.ozb-fc__stom { color: rgba(255, 255, 255, .6); font-size: 12px; }
.ozb-fc__loading,
.ozb-fc__warn { grid-column: 1 / -1; margin: 0; color: rgba(255, 255, 255, .85); text-align: center; }
.ozb-fc__result .ozb-fc__warn { margin-bottom: 14px; }
.ozb-fc__foot { position: relative; margin: 22px auto 0; max-width: 820px; color: rgba(255, 255, 255, .6); font-size: 12.5px; line-height: 1.5; text-align: center; }
.ozb-fc__foot:empty { display: none; }

/* Fire season signup. */
.ozb-fc__signup { margin: 0 0 18px; padding: 18px 22px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; background: rgba(255, 255, 255, .06); text-align: left; }
:root .ozb-fc .ozb-fc__stitle { margin: 0 0 6px !important; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.3; }
:root .ozb-fc .ozb-fc__slead { margin: 0 0 14px !important; color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.5; }
.ozb-fc__srow2 { display: flex; gap: 10px; }
:root .ozb-fc .ozb-fc__consent { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 0; color: rgba(255, 255, 255, .85) !important; font-size: 13px; font-weight: 400; line-height: 1.45; cursor: pointer; }
:root .ozb-fc .ozb-fc__consent span { color: inherit !important; }
.ozb-fc__brow { margin-top: 12px; }
.ozb-fc__consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #fff; }
.ozb-fc__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ozb-fc__smsg { margin: 10px 0 0; color: #fff; font-size: 14px; font-weight: 600; }
.ozb-fc__smsg:empty { display: none; }
.ozb-fc__signup.is-done .ozb-fc__srow2,
.ozb-fc__signup.is-done .ozb-fc__consent,
.ozb-fc__signup.is-done .ozb-fc__brow { display: none; }

@media (min-width: 950px) and (max-width: 1180px) {
	.ozb-fc.has-map .ozb-fc__states { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 949px) {
	.ozb-fc.has-map .ozb-fc__inner { grid-template-columns: 1fr; grid-template-areas: "main" "side" "states"; row-gap: 24px; }
	.ozb-fc__states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ozb-fc.has-map .ozb-fc__states { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ozb-fc.has-map .ozb-fc__side { justify-self: start; max-width: 420px; }
}
@media (max-width: 549px) {
	.ozb-fc.has-map .ozb-fc__states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Only the doodle layer shrinks; the glows stay full size (no seams). */
	.ozb-fc { background-size: auto, auto, 640px 640px; }
	.ozb-fc__form,
	.ozb-fc__srow2 { flex-direction: column; }
	.ozb-fc .ozb-fc__go { width: 100%; }
	.ozb-fc__card { padding: 16px; }
	.ozb-fc__chead { grid-template-columns: 1fr; }
	.ozb-fc__rt { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
	.ozb-fc__state, .ozb-fc__st, .ozb-fc__needle { transition: none; }
	.ozb-fc__dot::after, .ozb-fc__badgepin { animation: none; }
}
/* The ban key only on days with a ban; its space is kept so nothing moves. */
.ozb-fc__legend-ban { visibility: hidden; }
.ozb-fc.has-ban .ozb-fc__legend-ban { visibility: visible; }
