/* Free White Elephant – styles. Colours are variables so the look is easy to change. */
.fwe-app {
	--fwe-night: #0f2a24;
	--fwe-pine: #1c4a3e;
	--fwe-cran: #a3243b;
	--fwe-cran-dark: #7d1a2c;
	--fwe-gold: #e7b655;
	--fwe-gold-dark: #b98a2c;
	--fwe-cream: #fbf6ea;
	--fwe-paper: #fffdf8;
	--fwe-ink: #23302c;
	--fwe-muted: #66756f;
	--fwe-line: #e6dcc6;
	--fwe-head: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Nunito", "Quicksand", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
	--fwe-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	position: relative;
	min-height: 100vh;
	box-sizing: border-box;
	padding: 24px 16px 40px;
	font-family: var(--fwe-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--fwe-ink);
	background: var(--fwe-night);
	overflow: hidden;
	isolation: isolate;
}
body.fwe-body { margin: 0; background: #0f2a24; }
.fwe-app *, .fwe-app *::before, .fwe-app *::after { box-sizing: border-box; }

/* Background: a winter evening with soft lights and snowy hills. */
.fwe-sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 12% 18%, rgba(231, 182, 85, .34) 0 26px, transparent 60px),
		radial-gradient(circle at 82% 12%, rgba(255, 244, 214, .26) 0 34px, transparent 80px),
		radial-gradient(circle at 64% 30%, rgba(163, 36, 59, .30) 0 22px, transparent 58px),
		radial-gradient(circle at 30% 42%, rgba(255, 244, 214, .16) 0 40px, transparent 90px),
		radial-gradient(circle at 92% 46%, rgba(231, 182, 85, .22) 0 18px, transparent 52px),
		radial-gradient(circle at 6% 62%, rgba(163, 36, 59, .22) 0 30px, transparent 74px),
		radial-gradient(circle at 48% 8%, rgba(231, 182, 85, .18) 0 14px, transparent 44px),
		radial-gradient(120% 80% at 50% 0%, #245a4b 0%, #173f35 45%, #0f2a24 100%);
}
.fwe-sky-img { background-size: cover !important; background-position: center !important; }
.fwe-sky-img::before, .fwe-sky-img::after { display: none; }
.fwe-sky::before, .fwe-sky::after {
	content: "";
	position: absolute;
	left: -10%;
	right: -10%;
	bottom: -60px;
	height: 260px;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.fwe-sky::before { background: #2c6a59; transform: translateX(-18%) scaleX(1.1); opacity: .55; height: 300px; }
.fwe-sky::after { background: linear-gradient(#f4efe2, #d9e4dc); opacity: .16; transform: translateX(14%); }

.fwe-wrap { max-width: 1040px; margin: 0 auto; }
.fwe-sec { margin: 0 0 18px; }
.fwe-sec:empty { display: none; margin: 0; }

.fwe-app h1, .fwe-app h2, .fwe-app h3 { font-family: var(--fwe-head); font-weight: 800; margin: 0 0 8px; line-height: 1.2; color: inherit; }
.fwe-app h2 { font-size: 1.25rem; }
.fwe-app h3 { font-size: 1.02rem; }
.fwe-app p { margin: 0 0 10px; }
.fwe-app a { color: inherit; }
.fwe-app small { font-weight: 400; color: var(--fwe-muted); font-size: .82em; }
.fwe-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fwe-center { text-align: center; justify-content: center; }

/* Brand */
.fwe-app .fwe-brand { display: flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; color: var(--fwe-cream); font-family: var(--fwe-head); font-weight: 800; font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.01em; }
.fwe-app .fwe-brand-sm { font-size: 1.05rem; justify-content: flex-start; gap: 8px; }
.fwe-logo { position: relative; width: 1.15em; height: 1em; border-radius: .18em; background: var(--fwe-cran); box-shadow: inset 0 -.12em 0 rgba(0, 0, 0, .18); flex: none; }
.fwe-logo::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: .2em; margin-left: -.1em; background: var(--fwe-gold); }
.fwe-logo i { position: absolute; left: 50%; top: -.3em; width: .5em; height: .34em; margin-left: -.25em; border: .09em solid var(--fwe-gold); border-radius: 50% 50% 0 0; }
.fwe-tag { text-align: center; color: #dfe9e3; font-size: 1.1rem; margin: 6px 0 20px; }

/* Landing */
.fwe-app[data-screen="landing"] .fwe-wrap, .fwe-app[data-screen="join"] .fwe-wrap { max-width: 620px; }
.fwe-app[data-screen="landing"] .fwe-sec-hero, .fwe-app[data-screen="join"] .fwe-sec-brand { padding-top: 4vh; }
.fwe-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; margin: 0; }
.fwe-steps li { counter-increment: s; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 12px; color: #eef4ef; font-size: .9rem; }
.fwe-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--fwe-gold); color: #3a2a05; font-weight: 800; font-family: var(--fwe-head); margin-bottom: 6px; }
.fwe-steps b { display: block; font-family: var(--fwe-head); font-size: 1rem; }
.fwe-steps span { color: #c9d8d1; }
@media (max-width: 560px) { .fwe-steps { grid-template-columns: 1fr; } }

/* Cards and forms */
.fwe-card { background: var(--fwe-paper); border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.fwe-form label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 12px; }
.fwe-app input:not([type="checkbox"]), .fwe-app select, .fwe-app textarea {
	display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--fwe-ink);
	background: #fff; border: 1.5px solid var(--fwe-line); border-radius: 10px; min-height: 44px;
}
.fwe-app input:focus, .fwe-app select:focus, .fwe-app textarea:focus, .fwe-app button:focus-visible, .fwe-app a:focus-visible, .fwe-app summary:focus-visible { outline: 3px solid var(--fwe-gold); outline-offset: 2px; }
.fwe-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .fwe-row { grid-template-columns: 1fr; } }
.fwe-app .fwe-check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.fwe-app .fwe-check input { width: 18px; height: 18px; accent-color: var(--fwe-pine); margin: 0; flex: none; }
.fwe-cats { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: -4px 0 12px 26px; }
.fwe-cats .fwe-check { margin: 0; font-size: .88rem; }
.fwe-more { margin: 0 0 14px; }
.fwe-app summary { cursor: pointer; font-weight: 600; color: var(--fwe-pine); padding: 4px 0; }
.fwe-more[open] summary { margin-bottom: 10px; }
.fwe-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fwe-inline input { flex: 1 1 200px; margin-top: 0 !important; }
.fwe-hint { color: var(--fwe-muted); font-size: .88rem; margin: 8px 0 0 !important; }
.fwe-rules ul { margin: 10px 0 0; padding-left: 20px; }
.fwe-rules li { margin-bottom: 6px; }

/* Buttons */
.fwe-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; border-radius: 999px;
	border: 1.5px solid var(--fwe-line); background: #fff; color: var(--fwe-ink) !important; font: inherit; font-weight: 700;
	font-family: var(--fwe-head); text-decoration: none; cursor: pointer; transition: transform .08s ease, box-shadow .15s ease; white-space: nowrap;
}
.fwe-btn:hover { box-shadow: 0 3px 10px rgba(0, 0, 0, .14); }
.fwe-btn:active { transform: translateY(1px); }
.fwe-btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.fwe-btn-primary { background: var(--fwe-cran); border-color: var(--fwe-cran-dark); color: #fff !important; }
.fwe-btn-steal { background: var(--fwe-pine); border-color: #123229; color: #fff !important; }
.fwe-btn-gold { background: var(--fwe-gold); border-color: var(--fwe-gold-dark); color: #3a2a05 !important; }
.fwe-btn-big { width: 100%; font-size: 1.1rem; min-height: 52px; }
.fwe-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--fwe-pine) !important; text-decoration: underline; cursor: pointer; }

.fwe-error { background: #fdecee; border: 1.5px solid var(--fwe-cran); color: #6d1524; border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.fwe-foot { text-align: center; color: #b9cbc3; font-size: .82rem; margin-top: 26px !important; }
.fwe-waiting { text-align: center; color: #eef4ef; font-family: var(--fwe-head); font-size: 1.1rem; }

/* Top bar */
.fwe-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--fwe-cream); }
.fwe-top-mid { flex: 1 1 200px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.fwe-game-name { font-size: 1.3rem !important; margin: 0 !important; }
.fwe-chip { background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px 10px; font-size: .82rem; letter-spacing: .04em; }

/* Lobby */
.fwe-app[data-screen="lobby"] .fwe-wrap { max-width: 680px; }
.fwe-mygift { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.fwe-mygift img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 1px solid var(--fwe-line); }
.fwe-plist { list-style: none; margin: 0; padding: 0; }
.fwe-plist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--fwe-line); flex-wrap: wrap; }
.fwe-plist li:first-child { border-top: 0; }
.fwe-avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fwe-pine); color: #fff; font-weight: 800; font-family: var(--fwe-head); flex: none; font-size: .9rem; }
.fwe-pname { font-weight: 700; flex: 1 1 auto; }
.fwe-pstatus { font-size: .85rem; color: var(--fwe-muted); }
.fwe-pstatus.ok { color: #1d6b4f; font-weight: 700; }
.fwe-startbox { text-align: center; }
.fwe-startbox .fwe-hint:first-child { margin: 0 0 12px !important; }

/* Turn banner and prompt card */
.fwe-turn { background: var(--fwe-paper); border-radius: 18px; padding: 18px 20px; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); border-top: 6px solid var(--fwe-pine); }
.fwe-turn-me { border-top-color: var(--fwe-gold); }
.fwe-turn h2 { font-size: 1.6rem; }
.fwe-prompt { background: var(--fwe-pine); color: #fff; border-radius: 16px; padding: 18px 20px 20px; margin: 10px auto 14px; max-width: 640px; }
.fwe-prompt span { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--fwe-gold); font-weight: 800; margin-bottom: 6px; }
.fwe-prompt p { font-family: var(--fwe-head); font-size: clamp(1.2rem, 3.2vw, 1.7rem); font-weight: 700; line-height: 1.25; margin: 0; }

/* Gift table */
.fwe-table { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.fwe-gift { background: var(--fwe-paper); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 6px; text-align: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); min-height: 210px; }
.fwe-wrapped { background: rgba(255, 255, 255, .07); border: 1px dashed rgba(255, 255, 255, .25); box-shadow: none; justify-content: flex-end; align-items: center; gap: 12px; padding-bottom: 16px; }
.fwe-stage { display: flex; align-items: flex-end; justify-content: center; height: 150px; }
/* Wrapped gifts: three box sizes and a gift bag, in eight colours. */
.fwe-box { --w: #a3243b; --r: #e7b655; --bw: 96px; --bh: 80px; position: relative; width: var(--bw); height: var(--bh); flex: none; border-radius: 8px; background: linear-gradient(90deg, transparent 42%, var(--r) 42% 58%, transparent 58%), var(--w); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .16), 0 8px 16px rgba(0, 0, 0, .3); }
.fwe-box::before { content: ""; position: absolute; left: -6px; right: -6px; top: -8px; height: 22px; border-radius: 6px; background: linear-gradient(90deg, transparent 43%, var(--r) 43% 57%, transparent 57%), var(--w); filter: brightness(1.12); }
.fwe-bow { position: absolute; left: 50%; top: -30px; width: 46px; height: 24px; margin-left: -23px; }
.fwe-bow::before, .fwe-bow::after { content: ""; position: absolute; top: 0; width: 22px; height: 22px; border: 6px solid var(--r); border-radius: 60% 60% 10% 60%; }
.fwe-bow::before { left: 0; transform: rotate(-20deg); }
.fwe-bow::after { right: 0; transform: scaleX(-1) rotate(-20deg); }
.fwe-shape-box_s { --bw: 64px; --bh: 52px; }
.fwe-shape-box_s .fwe-bow { transform: scale(.75); transform-origin: 50% 100%; }
.fwe-shape-box_l { --bw: 128px; --bh: 104px; }
.fwe-shape-box_l .fwe-bow { transform: scale(1.2); transform-origin: 50% 100%; }
.fwe-shape-bag { --bw: 84px; --bh: 104px; border-radius: 4px 4px 8px 8px; background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0 12px, transparent 12px), var(--w); }
.fwe-shape-bag::before { left: 50%; right: auto; top: 34px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: var(--r); filter: none; opacity: .9; }
.fwe-shape-bag .fwe-bow { top: -26px; width: 44px; height: 30px; margin-left: -22px; border: 5px solid var(--r); border-bottom: 0; border-radius: 22px 22px 0 0; }
.fwe-shape-bag .fwe-bow::before, .fwe-shape-bag .fwe-bow::after { display: none; }
.fwe-color-0 { --w: #a3243b; --r: #e7b655; }
.fwe-color-1 { --w: #1f6f5c; --r: #f4efe2; }
.fwe-color-2 { --w: #e7b655; --r: #a3243b; }
.fwe-color-3 { --w: #f4efe2; --r: #1f6f5c; }
.fwe-color-4 { --w: #35506b; --r: #e7b655; }
.fwe-color-5 { --w: #c8553d; --r: #f4efe2; }
.fwe-color-6 { --w: #6b3a6e; --r: #e7b655; }
.fwe-color-7 { --w: #9bd0d6; --r: #35506b; }

/* Wrapping picker on the gift form */
.fwe-wrapper { border: 1.5px solid var(--fwe-line); border-radius: 14px; padding: 12px 14px 14px; margin: 0 0 14px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; min-width: 0; }
.fwe-wrapper legend { font-weight: 700; font-size: .92rem; padding: 0 6px; }
.fwe-wrap-preview { flex: 0 0 150px; height: 160px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; border-radius: 12px; background: var(--fwe-pine); }
.fwe-wrap-opts { flex: 1 1 240px; min-width: 0; }
.fwe-shapes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.fwe-app .fwe-pickopt { margin: 0; font-weight: 600; cursor: pointer; }
.fwe-pickopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fwe-pickopt span { display: inline-block; padding: 8px 12px; border: 1.5px solid var(--fwe-line); border-radius: 999px; background: #fff; }
.fwe-pickopt input:checked + span { background: var(--fwe-pine); border-color: var(--fwe-pine); color: #fff; }
.fwe-pickopt input:focus-visible + span, .fwe-swatch input:focus-visible ~ i { outline: 3px solid var(--fwe-gold); outline-offset: 2px; }
.fwe-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.fwe-app .fwe-swatch { margin: 0; cursor: pointer; position: relative; }
.fwe-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fwe-swatch i { display: block; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(90deg, transparent 38%, var(--r) 38% 62%, transparent 62%), var(--w); border: 2px solid rgba(0, 0, 0, .15); }
.fwe-swatch input:checked ~ i { box-shadow: 0 0 0 3px var(--fwe-paper), 0 0 0 6px var(--fwe-ink); }
.fwe-mywrap { flex: 0 0 120px; height: 130px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px; border-radius: 12px; background: var(--fwe-pine); }
.fwe-mywrap .fwe-box { transform: scale(.8); transform-origin: 50% 100%; }
.fwe-hint-top { margin: 0 0 10px !important; }

.fwe-pic { height: 110px; border-radius: 10px; overflow: hidden; background: #f1ead9; display: grid; place-items: center; flex: none; }
.fwe-pic img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.fwe-pic:empty::after, .fwe-pic.fwe-nopic::after { content: ""; width: 44px; height: 36px; border-radius: 6px; background: linear-gradient(90deg, transparent 40%, var(--fwe-gold) 40% 60%, transparent 60%), var(--fwe-cran); opacity: .55; }
.fwe-gift h3 { margin: 4px 0 0; overflow-wrap: anywhere; }
.fwe-note { font-style: italic; color: var(--fwe-muted); font-size: .86rem; margin: 0 !important; overflow-wrap: anywhere; }
.fwe-holder { font-size: .9rem; margin: 0 !important; }
.fwe-meta { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 18px; }
.fwe-pips { display: inline-flex; gap: 4px; }
.fwe-pips i { width: 9px; height: 9px; border-radius: 50%; background: var(--fwe-line); }
.fwe-pips i.on { background: var(--fwe-cran); }
.fwe-lock { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--fwe-ink); border-radius: 999px; padding: 2px 8px; }
.fwe-locked { outline: 3px solid var(--fwe-ink); outline-offset: -3px; }
.fwe-gift-actions { margin-top: auto; display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: .86rem; }
.fwe-gift .fwe-btn { min-height: 40px; padding: 6px 14px; white-space: normal; }
.fwe-pop { animation: fwe-pop .6s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes fwe-pop { 0% { transform: scale(.6) rotate(-6deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* Turn order, feed, host bar */
.fwe-app .fwe-h { color: var(--fwe-cream); font-size: 1rem !important; margin: 8px 0 !important; }
.fwe-rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.fwe-rail li { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .09); color: #eef4ef; border-radius: 12px; padding: 8px 10px; border: 2px solid transparent; }
.fwe-rail li.now { background: var(--fwe-paper); color: var(--fwe-ink); border-color: var(--fwe-gold); }
.fwe-rail .fwe-avatar { width: 26px; height: 26px; font-size: .8rem; background: rgba(255, 255, 255, .2); }
.fwe-rail li.now .fwe-avatar { background: var(--fwe-gold); color: #3a2a05; }
.fwe-rail small { color: inherit; opacity: .7; }
.fwe-has { font-size: .82rem; opacity: .85; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; }
.fwe-feed { list-style: none; margin: 0; padding: 0; color: #dbe7e1; font-size: .92rem; }
.fwe-feed li { padding: 5px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.fwe-feed li:first-child { border-top: 0; color: #fff; font-weight: 600; }
.fwe-hostbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: rgba(0, 0, 0, .25); border-radius: 14px; padding: 10px 14px; color: #dbe7e1; font-size: .88rem; }
.fwe-hostbar span { flex: 1 1 auto; font-weight: 700; }

/* Results */
.fwe-results { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.fwe-result { display: flex; gap: 14px; background: var(--fwe-paper); border-radius: 16px; padding: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.fwe-result .fwe-pic { width: 96px; height: 96px; }
.fwe-result .fwe-btn { min-height: 38px; padding: 5px 14px; font-size: .9rem; }
.fwe-from { color: var(--fwe-muted); }

/* Practice game, chaos cards, timer, vote, awards */
.fwe-try { text-align: center; margin: 18px 0 0 !important; color: #c9d8d1; font-size: .9rem; }
.fwe-try span { display: block; margin-top: 6px; }
.fwe-demo { background: var(--fwe-gold); color: #3a2a05; border-radius: 12px; padding: 10px 14px; font-size: .92rem; }
.fwe-chaos { background: var(--fwe-cran); color: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; text-align: center; animation: fwe-pop .6s cubic-bezier(.2, 1.4, .4, 1); }
.fwe-chaos span { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; color: var(--fwe-gold); }
.fwe-chaos b { font-family: var(--fwe-head); font-size: 1.2rem; }
.fwe-timer { font-family: var(--fwe-head); font-weight: 800; font-size: 1.3rem; margin: 10px 0 0 !important; color: var(--fwe-pine); font-variant-numeric: tabular-nums; }
.fwe-timer-low { color: var(--fwe-cran); }
.fwe-timer-btns { margin-top: 8px; }
.fwe-muted { color: var(--fwe-muted); }
.fwe-votebtns { display: flex; gap: 6px; justify-content: center; }
.fwe-badge { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: 2px 9px; margin: 0 4px 6px 0; }
.fwe-badge-best { background: var(--fwe-gold); color: #3a2a05; }
.fwe-badge-worst { background: var(--fwe-ink); color: #fff; }
.fwe-handover { flex: 1 1 100%; margin-top: 8px; text-align: left; }
.fwe-hostbar .fwe-handover summary { color: #dbe7e1; font-weight: 600; }
.fwe-handover form { margin-top: 8px; }
.fwe-handover select { flex: 1 1 160px; margin-top: 0 !important; }

/* Mailing address */
.fwe-addr { white-space: pre-line; background: var(--fwe-cream); border: 1.5px solid var(--fwe-line); border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.fwe-ship { border-top: 6px solid var(--fwe-gold); margin-bottom: 18px; }
.fwe-ship:last-child { margin-bottom: 0; }
.fwe-sec-ship { margin-top: 18px; }

/* Gift ideas and theme */
.fwe-theme { background: var(--fwe-cream); border: 1.5px solid var(--fwe-line); border-left: 6px solid var(--fwe-gold); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.fwe-theme span { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 800; color: var(--fwe-muted); }
.fwe-theme b { font-family: var(--fwe-head); font-size: 1.15rem; }
.fwe-theme p { margin: 2px 0 10px; font-size: .92rem; }
.fwe-ideas ul { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; border: 1.5px solid var(--fwe-line); border-radius: 12px; }
.fwe-ideas li { padding: 8px 12px; border-top: 1px solid var(--fwe-line); font-size: .9rem; }
.fwe-ideas li:first-child { border-top: 0; }
.fwe-ideas li span { color: var(--fwe-muted); }
.fwe-ideas a { color: var(--fwe-pine) !important; }

/* Plain-HTML section under the game on the home page (readable by search engines) */
.fwe-app[data-screen="landing"] { min-height: 0; padding-bottom: 8px; }
.fwe-static { background: #0f2a24; color: #e6efea; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.6; padding: 24px 16px 56px; }
.fwe-static, .fwe-static *, .fwe-static *::before, .fwe-static *::after { box-sizing: border-box; }
.fwe-static-in { max-width: 760px; margin: 0 auto; }
.fwe-static h1, .fwe-static h2 { font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Quicksand", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif; font-weight: 800; color: #fbf6ea; line-height: 1.2; margin: 36px 0 10px; }
.fwe-static h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-top: 8px; }
.fwe-static h2 { font-size: 1.35rem; }
.fwe-static p, .fwe-static li, .fwe-static dd { color: #d5e2dc; }
.fwe-static p { margin: 0 0 12px; }
.fwe-static .fwe-lede { font-size: 1.08rem; }
.fwe-static ol, .fwe-static ul { margin: 0 0 12px; padding-left: 22px; }
.fwe-static li { margin-bottom: 6px; }
.fwe-static strong { color: #fbf6ea; }
.fwe-static a { color: #e7b655; }
.fwe-idea-grid { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.fwe-idea-grid li { margin: 0; }
.fwe-idea-grid a { display: block; height: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); text-decoration: none; }
.fwe-idea-grid a:hover, .fwe-idea-grid a:focus-visible { background: rgba(255, 255, 255, .13); outline: 2px solid #e7b655; }
.fwe-idea-grid strong { display: block; color: #e7b655; }
.fwe-idea-grid span { display: block; color: #c9d8d1; font-size: .88rem; margin-top: 2px; }
.fwe-faq dt { font-weight: 700; color: #fbf6ea; margin-top: 14px; }
.fwe-faq dd { margin: 4px 0 0; }
.fwe-static-foot { margin-top: 32px !important; font-size: .82rem; color: #b9cbc3 !important; }

/* ---------- Event themes ---------- */
/* General: the hills are a holiday touch, so they are hidden by default. */
.fwe-sky::before, .fwe-sky::after { display: none; }

/* Holiday Party: a snowy evening with lights. Seasonal, not tied to any one holiday. */
.fwe-app[data-event="holiday"] .fwe-sky::before, .fwe-app[data-event="holiday"] .fwe-sky::after { display: block; }
.fwe-app[data-event="holiday"] .fwe-sky:not(.fwe-sky-img) {
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='20' cy='30' r='2.2' opacity='.7'/%3E%3Ccircle cx='110' cy='12' r='1.6' opacity='.5'/%3E%3Ccircle cx='180' cy='70' r='2.6' opacity='.6'/%3E%3Ccircle cx='70' cy='110' r='1.8' opacity='.55'/%3E%3Ccircle cx='150' cy='150' r='2.2' opacity='.45'/%3E%3Ccircle cx='30' cy='180' r='2.8' opacity='.5'/%3E%3Ccircle cx='200' cy='200' r='1.6' opacity='.6'/%3E%3Ccircle cx='95' cy='190' r='1.4' opacity='.4'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 220px 220px,
		radial-gradient(circle at 8% 0, #e7b655 0 7px, transparent 8px) 0 0 / 120px 40px repeat-x,
		radial-gradient(circle at 58% 0, #c8553d 0 7px, transparent 8px) 0 0 / 120px 40px repeat-x,
		radial-gradient(circle at 33% 4px, #9bd0d6 0 6px, transparent 7px) 0 0 / 120px 40px repeat-x,
		radial-gradient(circle at 82% 4px, #f4efe2 0 6px, transparent 7px) 0 0 / 120px 40px repeat-x,
		radial-gradient(circle at 12% 18%, rgba(231, 182, 85, .30) 0 26px, transparent 60px),
		radial-gradient(circle at 82% 14%, rgba(255, 244, 214, .24) 0 34px, transparent 80px),
		radial-gradient(circle at 64% 32%, rgba(163, 36, 59, .28) 0 22px, transparent 58px),
		radial-gradient(120% 80% at 50% 0%, #2a6253 0%, #173f35 45%, #0f2a24 100%);
}
.fwe-app[data-event="holiday"] .fwe-sky::after { opacity: .32; }

/* Book Club: a warm library. */
.fwe-app[data-event="book"] { --fwe-night: #1d130d; --fwe-pine: #6b4226; background: #1d130d; }
.fwe-app[data-event="book"] .fwe-sky:not(.fwe-sky-img) {
	background:
		radial-gradient(60% 45% at 50% 0%, rgba(231, 182, 85, .30), transparent 70%),
		linear-gradient(rgba(29, 19, 13, .74), rgba(29, 19, 13, .90)),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='150' viewBox='0 0 360 150'%3E%3Crect width='360' height='150' fill='%231d130d'/%3E%3Crect x='4' y='45' width='16' height='93' rx='2' fill='%23d8c9a8'/%3E%3Crect x='7' y='57' width='10' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='7' y='116' width='10' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='22' y='51' width='24' height='87' rx='2' fill='%232f5d50'/%3E%3Crect x='25' y='63' width='18' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='25' y='116' width='18' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='48' y='20' width='28' height='118' rx='2' fill='%232f5d50'/%3E%3Crect x='51' y='32' width='22' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='51' y='116' width='22' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='78' y='17' width='16' height='121' rx='2' fill='%237a2e2e'/%3E%3Crect x='81' y='29' width='10' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='81' y='116' width='10' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='96' y='41' width='20' height='97' rx='2' fill='%237a2e2e'/%3E%3Crect x='99' y='53' width='14' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='99' y='116' width='14' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='118' y='27' width='12' height='111' rx='2' fill='%23d8c9a8'/%3E%3Crect x='132' y='39' width='12' height='99' rx='2' fill='%232f5d50'/%3E%3Crect x='146' y='27' width='20' height='111' rx='2' fill='%237a2e2e'/%3E%3Crect x='149' y='39' width='14' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='149' y='116' width='14' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='168' y='18' width='28' height='120' rx='2' fill='%232f5d50'/%3E%3Crect x='171' y='30' width='22' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='171' y='116' width='22' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='198' y='14' width='14' height='124' rx='2' fill='%237a2e2e'/%3E%3Crect x='214' y='17' width='20' height='121' rx='2' fill='%23d8c9a8'/%3E%3Crect x='217' y='29' width='14' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='217' y='116' width='14' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='236' y='40' width='12' height='98' rx='2' fill='%237a2e2e'/%3E%3Crect x='250' y='46' width='20' height='92' rx='2' fill='%236b3a6e'/%3E%3Crect x='253' y='58' width='14' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='253' y='116' width='14' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='272' y='45' width='18' height='93' rx='2' fill='%239c4a2f'/%3E%3Crect x='275' y='57' width='12' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='275' y='116' width='12' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='292' y='18' width='12' height='120' rx='2' fill='%236b3a6e'/%3E%3Crect x='306' y='11' width='20' height='127' rx='2' fill='%23b08a3c'/%3E%3Crect x='309' y='23' width='14' height='4' fill='%23000' opacity='.25'/%3E%3Crect x='309' y='116' width='14' height='3' fill='%23fff' opacity='.18'/%3E%3Crect x='328' y='17' width='12' height='121' rx='2' fill='%2335506b'/%3E%3Crect x='342' y='48' width='14' height='90' rx='2' fill='%239c4a2f'/%3E%3Crect y='138' width='360' height='12' fill='%233b2616'/%3E%3Crect y='138' width='360' height='3' fill='%235a3b22'/%3E%3C/svg%3E") 0 0 / 360px 150px;
}
.fwe-app[data-event="book"] .fwe-btn-steal { border-color: #4a2d19; }
.fwe-app[data-event="book"] .fwe-foot, .fwe-app[data-event="book"] .fwe-feed, .fwe-app[data-event="book"] .fwe-tag { color: #e2d6c4; }

/* Links above the title on the home page */
.fwe-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 14px; font-size: .95rem; }
.fwe-app .fwe-nav a { color: #dfe9e3; text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.fwe-app .fwe-nav a:hover { color: var(--fwe-gold); }

/* Trades after the game */
.fwe-trade { border-top: 6px solid var(--fwe-gold); margin-bottom: 12px; }
.fwe-trade:last-child { margin-bottom: 0; }
.fwe-event-note { margin: -4px 0 12px 26px !important; }

/* Information pages */
.fwe-info { min-height: 100vh; padding-top: 20px; }
.fwe-info-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: .95rem; }
.fwe-info-nav a { color: #dfe9e3; }
.fwe-info-nav a[aria-current="page"] { color: #e7b655; text-decoration: none; font-weight: 700; }
.fwe-info-nav .fwe-info-brand { font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Quicksand", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif; font-weight: 800; font-size: 1.15rem; color: #fbf6ea; text-decoration: none; margin-right: auto; }
.fwe-info-body h3 { color: #fbf6ea; font-size: 1.05rem; margin: 20px 0 4px; }
.fwe-info-cta { margin-top: 36px !important; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); }
.fwe-info-btn { display: inline-block; background: #a3243b; color: #fff !important; font-weight: 800; text-decoration: none; padding: 12px 22px; border-radius: 999px; margin-right: 12px; }

@media (prefers-reduced-motion: reduce) {
	.fwe-app *, .fwe-app *::before, .fwe-app *::after { animation: none !important; transition: none !important; }
}
