/* FairWheel Spinner 1.0.0 — tool + homepage section styles */
:root {
	--fw-ink: #0F172A;
	--fw-text: #334155;
	--fw-muted: #64748B;
	--fw-line: #E2E8F0;
	--fw-soft: #F8FAFC;
	--fw-tint: #EEF2FF;
	--fw-primary: #4F46E5;
	--fw-primary-dark: #4338CA;
	--fw-accent: #059669;
	--fw-radius: 18px;
	--fw-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -12px rgba(15, 23, 42, .18);
}

/* ---------------- Tool ---------------- */
.fw-tool {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 28px;
	align-items: start;
	background: #fff;
	border: 1px solid var(--fw-line);
	border-radius: 24px;
	box-shadow: var(--fw-shadow);
	padding: 28px;
	color: var(--fw-text);
	font-size: 16px;
	text-align: left;
}
.fw-tool *, .fw-tool *::before, .fw-tool *::after { box-sizing: border-box; }
.fw-stage { display: flex; flex-direction: column; align-items: center; }
.fw-wheel-wrap { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1; }
.fw-canvas { display: block; width: 100%; height: 100%; border-radius: 50%; cursor: pointer; filter: drop-shadow(0 18px 30px rgba(15, 23, 42, .22)); }
.fw-confetti { position: absolute; inset: -10%; width: 120%; height: 120%; pointer-events: none; }
.fw-pointer {
	position: absolute; top: -6px; left: 50%; z-index: 2; transform: translateX(-50%);
	width: 0; height: 0;
	border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 34px solid var(--fw-ink);
	filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .25));
}
.fw-pointer::after {
	content: ""; position: absolute; left: -11px; top: -30px;
	border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 21px solid #fff;
}
.fw-spin {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 21%; aspect-ratio: 1 / 1; border-radius: 50%;
	border: 5px solid var(--fw-ink); background: #fff; color: var(--fw-ink);
	font: 800 clamp(13px, 2.4vw, 20px)/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
	padding: 0 !important; min-width: 0; white-space: nowrap; display: grid; place-items: center;
	box-shadow: 0 6px 18px rgba(15, 23, 42, .25); transition: transform .15s ease, background .15s ease;
}
.fw-spin:hover { transform: translate(-50%, -50%) scale(1.05); }
.fw-spin:focus-visible { outline: 3px solid var(--fw-primary); outline-offset: 3px; }
.fw-spin:disabled { cursor: default; opacity: .9; }
.fw-tool.is-spinning .fw-spin { transform: translate(-50%, -50%) scale(.96); }
.fw-hint { margin: 16px 0 10px; font-size: 14px; color: var(--fw-muted); min-height: 1.4em; text-align: center; }
.fw-hint.is-flash { color: var(--fw-accent); font-weight: 600; }
.fw-stage-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.fw-panel { min-width: 0; }
.fw-tabs { display: flex; gap: 4px; padding: 4px; background: var(--fw-soft); border: 1px solid var(--fw-line); border-radius: 12px; margin-bottom: 16px; }
.fw-tab {
	flex: 1; border: 0; background: transparent; padding: 9px 12px; border-radius: 9px;
	font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--fw-muted); cursor: pointer;
}
.fw-tab.is-active { background: #fff; color: var(--fw-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.fw-count { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: var(--fw-tint); color: var(--fw-primary-dark); font-size: 12px; }
.fw-label { display: block; font-size: 13px; font-weight: 600; color: var(--fw-ink); margin-bottom: 6px; }
.fw-entries {
	width: 100%; min-height: 220px; resize: vertical; padding: 12px 14px;
	border: 1px solid var(--fw-line); border-radius: 12px; background: #fff;
	font: 15px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--fw-ink);
}
.fw-entries:focus { outline: none; border-color: var(--fw-primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, .15); }
.fw-help { font-size: 13px; color: var(--fw-muted); margin: 8px 0 12px; }
.fw-help code { background: var(--fw-soft); border: 1px solid var(--fw-line); padding: 0 5px; border-radius: 5px; font-size: 12px; }
.fw-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.fw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 8px 14px; border-radius: 10px; border: 1px solid var(--fw-line); background: #fff;
	font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--fw-ink); cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.fw-btn:hover { background: var(--fw-soft); border-color: #CBD5E1; }
.fw-btn:focus-visible { outline: 3px solid var(--fw-primary); outline-offset: 2px; }
.fw-btn-primary { background: var(--fw-primary); border-color: var(--fw-primary); color: #fff; }
.fw-btn-primary:hover { background: var(--fw-primary-dark); border-color: var(--fw-primary-dark); }
.fw-btn-ghost { background: transparent; }

.fw-options { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--fw-line); border-radius: 12px; background: var(--fw-soft); }
.fw-switch, .fw-select { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fw-ink); cursor: pointer; }
.fw-switch input { width: 18px; height: 18px; accent-color: var(--fw-primary); margin: 0; }
.fw-select { justify-content: space-between; }
.fw-select select { padding: 6px 10px; border: 1px solid var(--fw-line); border-radius: 8px; background: #fff; font: inherit; }

.fw-odds, .fw-results { list-style: none; margin: 14px 0 0; padding: 0; max-height: 260px; overflow: auto; border: 1px solid var(--fw-line); border-radius: 12px; }
.fw-odds li, .fw-results li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--fw-line); font-size: 14px; }
.fw-odds li:last-child, .fw-results li:last-child { border-bottom: 0; }
.fw-odds li span, .fw-results li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fw-ink); }
.fw-results { margin: 0 0 12px; max-height: 340px; }
.fw-results small { color: var(--fw-muted); white-space: nowrap; }
.fw-empty { color: var(--fw-muted); font-size: 14px; }

.fw-modal { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(15, 23, 42, .45); border-radius: 24px; padding: 20px; }
.fw-modal[hidden] { display: none; }
.fw-modal-card { width: min(440px, 100%); background: #fff; border-radius: 20px; padding: 28px; text-align: center; box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .5); animation: fw-pop .25s ease-out; }
.fw-modal-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fw-primary); }
.fw-modal-winner { margin: 8px 0 6px; font-size: clamp(28px, 5vw, 42px); font-weight: 800; line-height: 1.15; color: var(--fw-ink); word-break: break-word; }
.fw-modal-meta { margin: 0 0 20px; font-size: 14px; color: var(--fw-muted); }
.fw-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@keyframes fw-pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.fw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fw-exit-fs { display: none; }

/* full screen */
.fw-tool.fw-fs { position: fixed; inset: 0; z-index: 99999; border-radius: 0; border: 0; grid-template-columns: 1fr; place-items: center; padding: 24px; background: #fff; }
.fw-tool.fw-fs .fw-panel, .fw-tool.fw-fs .fw-stage-actions { display: none; }
.fw-tool.fw-fs .fw-wheel-wrap { width: min(86vh, 92vw); max-width: none; }
.fw-tool.fw-fs .fw-exit-fs { display: inline-flex; position: absolute; top: 16px; right: 16px; }
.fw-tool.fw-fs .fw-modal { border-radius: 0; }

@media (max-width: 900px) {
	.fw-tool { grid-template-columns: 1fr; padding: 18px; gap: 20px; border-radius: 20px; }
	.fw-wheel-wrap { max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
	.fw-modal-card { animation: none; }
}

/* ---------------- Homepage sections ---------------- */
.fw-page { color: var(--fw-text); }
.fw-page h1, .fw-page h2, .fw-page h3 { color: var(--fw-ink); letter-spacing: -.02em; }
.fw-section { padding: clamp(56px, 8vw, 96px) 20px !important; margin: 0 !important; }
.fw-section > * { max-width: 1120px; margin-left: auto !important; margin-right: auto !important; }
/* Kadence wraps group children in .wp-block-group__inner-container (classic group markup). */
.fw-section > .wp-block-group__inner-container > * { margin-left: auto; margin-right: auto; }
.fw-grid > .wp-block-group__inner-container,
.fw-split > .wp-block-group__inner-container { display: contents; }
.fw-grid > .wp-block-group__inner-container > *,
.fw-split > .wp-block-group__inner-container > * { margin: 0 !important; max-width: none !important; }
.fw-faq { margin-left: auto !important; margin-right: auto !important; }
.fw-card > .wp-block-group__inner-container > p + p { margin-top: 10px !important; }
.fw-section--soft { background: var(--fw-soft); }
.fw-section--tint { background: linear-gradient(180deg, #EEF2FF 0%, #F8FAFC 100%); }
.fw-hero { padding-top: clamp(40px, 6vw, 72px) !important; padding-bottom: clamp(48px, 7vw, 80px) !important; background: radial-gradient(1200px 500px at 50% -10%, #E0E7FF 0%, rgba(224, 231, 255, 0) 70%), #fff; }
.fw-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.08; font-weight: 800; text-align: center; margin: 0 auto 14px !important; max-width: 860px; }
.fw-hero .fw-lead { text-align: center; font-size: clamp(17px, 2vw, 20px); color: var(--fw-muted); max-width: 640px; margin: 0 auto 28px !important; }
.fw-badges { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none !important; padding: 0 !important; margin: 0 auto 32px !important; }
.fw-badges li { margin: 0 !important; padding: 6px 14px 6px 30px; border-radius: 999px; background: #fff; border: 1px solid var(--fw-line); font-size: 14px; font-weight: 600; color: var(--fw-ink); position: relative; }
.fw-badges li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 6px; border-left: 2px solid var(--fw-accent); border-bottom: 2px solid var(--fw-accent); transform: translateY(-70%) rotate(-45deg); }
.fw-kicker { font-size: 13px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fw-primary) !important; margin-bottom: 8px !important; }
.fw-section h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; font-weight: 800; margin: 0 0 16px !important; }
.fw-section h3 { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 0 8px !important; }
.fw-section p, .fw-section li { font-size: 17px; line-height: 1.7; }
.fw-intro { max-width: 760px !important; }
.fw-center { text-align: center; }
.fw-center.fw-intro { margin-left: auto !important; margin-right: auto !important; }

.fw-grid { display: grid !important; gap: 20px; margin-top: 32px !important; }
.fw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fw-grid > * { margin: 0 !important; max-width: none !important; }
.fw-card { background: #fff; border: 1px solid var(--fw-line); border-radius: var(--fw-radius); padding: 24px !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.fw-card p { font-size: 16px; margin: 0 !important; }
.fw-card h3 { font-size: 18px; }
.fw-card .fw-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--fw-tint); color: var(--fw-primary-dark); font-weight: 800; font-size: 16px; margin-bottom: 14px !important; }

.fw-split { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.fw-split > * { margin: 0 !important; max-width: none !important; }
.fw-qa { border-left: 3px solid var(--fw-primary); padding: 4px 0 4px 18px !important; margin: 0 0 24px !important; }
.fw-qa h3 { font-size: 19px; }
.fw-qa p { margin: 0 !important; }
.fw-stat { background: var(--fw-ink); color: #E2E8F0; border-radius: var(--fw-radius); padding: 28px !important; }
.fw-stat h3, .fw-stat strong { color: #fff; }
.fw-stat p { color: #CBD5E1; font-size: 16px; }

.fw-checks { list-style: none !important; padding: 0 !important; margin: 16px 0 0 !important; }
.fw-checks li { position: relative; padding-left: 30px; margin: 0 0 10px !important; }
.fw-checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--fw-accent); border-bottom: 2.5px solid var(--fw-accent); transform: rotate(-45deg); }

.fw-links { margin-top: 12px !important; font-size: 15px !important; }
.fw-links a { font-weight: 600; color: var(--fw-primary-dark); text-decoration: none; }
.fw-links a:hover { text-decoration: underline; }

.fw-table { margin-top: 28px !important; }
.fw-table table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--fw-line); border-radius: var(--fw-radius); overflow: hidden; }
.fw-table th, .fw-table td { padding: 14px 18px; border-bottom: 1px solid var(--fw-line); font-size: 16px; text-align: left; vertical-align: top; }
.fw-table th { background: var(--fw-soft); color: var(--fw-ink); font-size: 14px; letter-spacing: .02em; }
.fw-table tr:last-child td { border-bottom: 0; }
.fw-table td:first-child { font-weight: 700; color: var(--fw-ink); white-space: nowrap; }

.fw-faq { max-width: 860px !important; }
.fw-faq details { background: #fff; border: 1px solid var(--fw-line); border-radius: 14px; padding: 0 !important; margin: 0 0 12px !important; }
.fw-faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-size: 17px; font-weight: 700; color: var(--fw-ink); position: relative; }
.fw-faq summary::-webkit-details-marker { display: none; }
.fw-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 500; color: var(--fw-primary); }
.fw-faq details[open] summary::after { content: "–"; }
.fw-faq details > :not(summary) { padding: 0 20px 18px !important; margin: 0 !important; font-size: 16px; }

.fw-cta { background: var(--fw-ink); border-radius: 24px; padding: clamp(32px, 5vw, 56px) !important; text-align: center; color: #CBD5E1; }
.fw-cta h2 { color: #fff !important; }
.fw-cta p { color: #CBD5E1; max-width: 620px; margin-left: auto !important; margin-right: auto !important; }
.fw-page .wp-block-button__link { border-radius: 12px; padding: 14px 26px; font-weight: 700; background: var(--fw-primary); color: #fff; text-decoration: none; }
.fw-page .wp-block-button__link:hover { background: var(--fw-primary-dark); }
.fw-page .is-style-outline .wp-block-button__link { background: transparent; color: var(--fw-primary-dark); border: 2px solid currentColor; }
.fw-cta .is-style-outline .wp-block-button__link { color: #fff; }
.fw-buttons { margin-top: 24px !important; }

@media (max-width: 1000px) {
	.fw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fw-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.fw-grid--2, .fw-grid--3, .fw-grid--4, .fw-split { grid-template-columns: 1fr; gap: 16px; }
	.fw-section p, .fw-section li { font-size: 16px; }
	.fw-table td:first-child { white-space: normal; }
	.fw-table th, .fw-table td { padding: 12px; font-size: 15px; }
}

/* Keep page-section and theme styles from leaking into the tool (v1.0.3). */
.fw-tool .fw-hint { font-size: 14px; line-height: 1.4; }
.fw-tool .fw-help { font-size: 14px; line-height: 1.5; }
/* Secret Santa draw */
.fw-tool.fw-santa { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fw-santa .fw-entries.fw-s-names { min-height: 170px; }
.fw-santa .fw-entries.fw-s-rules { min-height: 76px; }
.fw-santa .fw-label { margin-top: 12px; }
.fw-santa .fw-label:first-child { margin-top: 0; }
.fw-s-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.fw-s-input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--fw-line); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: var(--fw-ink); }
.fw-s-input:focus { outline: none; border-color: var(--fw-primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, .15); }
.fw-santa .fw-btn { min-height: 44px; }
.fw-santa .fw-s-draw { width: 100%; font-size: 16px; }
.fw-s-status { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.fw-s-status.is-ok { color: var(--fw-accent); font-weight: 600; }
.fw-s-status.is-bad { color: #B91C1C; font-weight: 600; }
.fw-s-out { min-width: 0; background: var(--fw-soft); border: 1px solid var(--fw-line); border-radius: 16px; padding: 20px; }
.fw-santa p.fw-s-big { font-size: 20px; font-weight: 800; color: var(--fw-ink); line-height: 1.3; margin: 0 0 8px; }
.fw-santa .fw-s-out p { font-size: 15px; line-height: 1.55; }
.fw-s-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.fw-santa .fw-s-person { min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--fw-line); background: #fff; color: var(--fw-ink); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.25; text-align: center; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; overflow-wrap: anywhere; }
.fw-santa .fw-s-person:hover, .fw-santa .fw-s-person:focus { background: var(--fw-tint); border-color: var(--fw-primary); color: var(--fw-ink); }
.fw-santa .fw-s-person.is-seen { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.fw-s-reveal { background: #fff; border: 1px solid var(--fw-line); border-radius: 14px; padding: 18px; margin: 8px 0 12px; }
.fw-santa p.fw-s-match { font-size: clamp(30px, 6vw, 44px); font-weight: 800; color: var(--fw-primary-dark); line-height: 1.15; margin: 4px 0 8px; overflow-wrap: anywhere; }
.fw-s-org { margin: 12px 0; font-size: 14px; }
.fw-s-org summary { cursor: pointer; font-weight: 600; color: var(--fw-muted); min-height: 32px; }
.fw-s-all { margin: 8px 0 12px 20px; font-size: 15px; line-height: 1.6; }
.fw-s-actions { margin: 12px 0 0; }
.fw-s-links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.fw-s-links li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 15px; font-weight: 600; color: var(--fw-ink); }
.fw-s-link .fw-btn { margin-top: 4px; }
.fw-tool.fw-santa.is-link { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
.fw-santa.is-link .fw-s-setup { display: none; }
.fw-s-ownlink { margin-top: 16px; }
/* Giveaway picker */
.fw-g-mode { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.fw-g-mode label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--fw-ink); cursor: pointer; line-height: 1.4; }
.fw-g-mode input, .fw-g-rules input[type=checkbox] { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--fw-primary); }
.fw-give .fw-g-rules { margin: 0 0 4px; }
.fw-give .fw-g-rules .fw-switch { flex-wrap: nowrap; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.fw-give .fw-g-rules [data-g-minwrap] { flex-wrap: wrap; align-items: center; }
.fw-give .fw-s-input.fw-g-num { width: 72px; min-height: 40px; padding: 6px 10px; }
.fw-g-list { margin: 4px 0 14px 22px; padding: 0; font-size: 16px; line-height: 1.6; color: var(--fw-ink); overflow-wrap: anywhere; }
.fw-g-win { font-size: clamp(20px, 3.5vw, 26px); font-weight: 800; color: var(--fw-primary-dark); }
.fw-give .fw-fp { display: block; word-break: break-all; font-size: 13px; background: #fff; border: 1px solid var(--fw-line); border-radius: 10px; padding: 8px 10px; margin: 0 0 8px; }
.fw-give .fw-s-actions { flex-wrap: wrap; }
.fw-give .fw-s-empty, .fw-give [data-g-out] { min-width: 0; }
/* Raffle draw */
.fw-r-tablewrap { overflow-x: auto; margin: 4px 0 12px; }
.fw-r-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--fw-line); border-radius: 12px; overflow: hidden; }
.fw-r-table th, .fw-r-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--fw-line); vertical-align: top; overflow-wrap: anywhere; }
.fw-r-table th { font-size: 13px; color: var(--fw-muted); font-weight: 700; background: var(--fw-soft); }
.fw-r-table tr:last-child td { border-bottom: 0; }
.fw-r-table th:not(:first-child), .fw-r-table td:not(:first-child) { white-space: nowrap; overflow-wrap: normal; width: 1%; }
.fw-r-table td.fw-r-no { font-weight: 800; color: var(--fw-primary-dark); white-space: nowrap; }
.fw-raffle .fw-r-price .fw-g-num { width: 96px; }
.fw-raffle [data-r-names] .fw-s-fields { grid-template-columns: 1fr; max-width: 220px; }
@media (max-width: 480px) { .fw-r-table th, .fw-r-table td { padding: 9px 8px; font-size: 14px; } }
/* Percentages and odds calculator */
.fw-tool .fw-pct-note { color: var(--fw-primary-dark); font-weight: 600; margin-top: -4px; }
.fw-odds-calc, .fw-odds-calc * { box-sizing: border-box; }
.fw-odds-calc .fw-s-fields { margin-bottom: 12px; }
.fw-o-dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; font-size: 15px; }
.fw-o-dl dt { color: var(--fw-text); }
.fw-o-dl dd { margin: 0; font-weight: 800; color: var(--fw-primary-dark); text-align: right; white-space: nowrap; }
@media (max-width: 480px) { .fw-o-dl { font-size: 14px; gap: 8px 10px; } }
@media (max-width: 900px) { .fw-tool.fw-santa { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .fw-s-fields { grid-template-columns: 1fr; } .fw-s-out { padding: 16px; } }
@media (max-width: 700px) {
	.fw-tool .fw-presets { gap: 8px; }
	.fw-tool .fw-chip { min-height: 40px; padding: 8px 14px; font-size: 14px; }
}
.fw-tool .fw-empty { font-size: 14px; line-height: 1.5; }
.fw-tool .fw-odds li, .fw-tool .fw-results li { font-size: 14px; line-height: 1.5; }
.fw-tool .fw-modal-kicker { font-size: 13px; line-height: 1.4; }
.fw-tool .fw-modal-winner { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; }
.fw-tool .fw-modal-meta { font-size: 14px; line-height: 1.5; }
.fw-tool .fw-btn, .fw-tool .fw-tab { text-transform: none; letter-spacing: 0; box-shadow: none; }
.fw-tool .fw-btn:focus { background: #fff; color: var(--fw-ink); }
.fw-tool .fw-btn-primary, .fw-tool .fw-btn-primary:focus { background: var(--fw-primary); border-color: var(--fw-primary); color: #fff; }
.fw-tool .fw-btn-primary:hover { background: var(--fw-primary-dark); }
.fw-tool .fw-tab:focus { background: transparent; color: var(--fw-muted); }
.fw-tool .fw-tab.is-active, .fw-tool .fw-tab.is-active:focus { background: #fff; color: var(--fw-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.fw-tool .fw-spin:focus { background: #fff; color: var(--fw-ink); }
.fw-tool [hidden] { display: none !important; }

/* Fairness test (v1.1.0) */
.fw-tool .fw-test-summary { font-size: 14px; line-height: 1.5; margin: 12px 0; padding: 10px 12px; color: var(--fw-ink); background: var(--fw-soft); border: 1px solid var(--fw-line); border-radius: 10px; }
.fw-tool .fw-test-wrap { max-height: 300px; overflow: auto; border: 1px solid var(--fw-line); border-radius: 12px; }
.fw-tool .fw-test { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
.fw-tool .fw-test th, .fw-tool .fw-test td { padding: 7px 10px; border: 0; border-bottom: 1px solid var(--fw-line); text-align: right; font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.fw-tool .fw-test th:first-child, .fw-tool .fw-test td:first-child { text-align: left; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-tool .fw-test th { position: sticky; top: 0; background: var(--fw-soft); color: var(--fw-ink); font-weight: 700; }
.fw-tool .fw-test tr:last-child td { border-bottom: 0; }
.fw-tool .fw-tab { white-space: nowrap; }
.fw-tool .fw-range { margin: 0 0 12px; align-items: flex-end; }
.fw-tool .fw-presets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 12px; }
.fw-tool .fw-presets > span { font-size: 13px; color: var(--fw-muted); margin-right: 2px; }
.fw-tool .fw-chip { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--fw-line); background: #fff; color: var(--fw-ink); font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.4; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; }
.fw-tool .fw-chip:hover { background: var(--fw-soft); border-color: #CBD5E1; }
.fw-tool .fw-chip:focus { background: #fff; color: var(--fw-ink); }
.fw-tool .fw-fp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 12px 0 4px; font-size: 13px; color: var(--fw-muted); }
.fw-tool .fw-fp code { font-size: 11px; word-break: break-all; background: var(--fw-soft); border: 1px solid var(--fw-line); border-radius: 6px; padding: 3px 6px; color: var(--fw-ink); flex: 1 1 100%; }
.fw-crumbs { font-size: 14px; color: var(--fw-muted); margin: 0 0 14px; text-align: center; }
.fw-crumbs a { color: var(--fw-primary-dark); text-decoration: none; font-weight: 600; }
.fw-crumbs a:hover { text-decoration: underline; }
.fw-crumbs .fw-sep { margin: 0 8px; }
.fw-verify { display: grid; gap: 16px; margin: 8px 0 24px; }
.fw-verify .fw-verify-winner { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--fw-ink); margin: 4px 0 12px; line-height: 1.2; }
.fw-verify-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 12px; font-size: 15px; }
.fw-verify-dl dt { color: var(--fw-muted); }
.fw-verify-dl dd { margin: 0; color: var(--fw-ink); }
.fw-verify-dl code { word-break: break-all; font-size: 13px; }
.fw-verify-list { max-height: 240px; overflow: auto; background: var(--fw-soft); border: 1px solid var(--fw-line); border-radius: 10px; padding: 10px; font-size: 14px; white-space: pre-wrap; }
.fw-verify .fw-entries, .fw-verify .fw-fp-input { width: 100%; box-sizing: border-box; border: 1px solid var(--fw-line); border-radius: 10px; padding: 10px; font: inherit; font-size: 14px; margin: 0 0 10px; }
.fw-check-out { font-size: 14px; margin: 10px 0 0; word-break: break-all; }
.fw-check-out.is-ok { color: #047857; }
.fw-check-out.is-bad { color: #B91C1C; }
@media (max-width: 600px) { .fw-verify-dl { grid-template-columns: 1fr; } }
.fw-tool .fw-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; border: 1px solid rgba(15, 23, 42, .2); }
.fw-tool .fw-range input { width: 96px; padding: 6px 8px; border: 1px solid var(--fw-line); border-radius: 8px; background: #fff; font: inherit; font-size: 14px; }
