/* Dreamweave Live Room (v1.105). Uses the brand tokens from dreamweave.css. Readable typing on Divi: v1.116. */

.dwlr {
	--lr-night: var(--dw-night, #010F2A);
	--lr-deep: var(--dw-deep, #0A1A3A);
	--lr-line: var(--dw-line, #24345C);
	--lr-line-strong: var(--dw-line-strong, #3B4B78);
	--lr-cream: var(--dw-cream, #F0E0C8);
	--lr-text: var(--dw-text, #CEC7BC);
	--lr-muted: var(--dw-muted, #A6A0A4);
	--lr-gold: var(--dw-gold, #D9B98A);
	--lr-gold-light: var(--dw-gold-light, #EBD3A8);
	--lr-lav: var(--dw-lavender, #B6A4CE);
	--lr-serif: var(--dw-serif, 'Cormorant', Georgia, serif);
	--lr-sans: var(--dw-sans, 'Karla', system-ui, sans-serif);
	--lr-chat-w: 360px;
	position: relative;
	color: var(--lr-text);
	font: 400 16px/1.5 var(--lr-sans);
	margin: 0 auto;
	max-width: 1400px;
}
.dwlr *, .dwlr *::before, .dwlr *::after { box-sizing: border-box; }
.dwlr [hidden] { display: none !important; }
.dwlr-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dwlr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dwlr-noscript { padding: 20px; border: 1px solid var(--lr-line); border-radius: 12px; }
.dwlr[data-view="loading"] { min-height: 60vh; }

/* ---------- Buttons and fields ---------- */
.dwlr button, .dwlr input, .dwlr select, .dwlr textarea { font-family: var(--lr-sans); }
.dwlr :focus-visible { outline: 2px solid var(--lr-gold); outline-offset: 2px; }

.dwlr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px; border-radius: 999px; cursor: pointer;
	font: 700 15px/1.2 var(--lr-sans); letter-spacing: .01em;
	color: var(--lr-cream); background: transparent; border: 1px solid var(--lr-line-strong);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.dwlr-btn:hover { border-color: var(--lr-gold); color: var(--lr-gold-light); }
.dwlr-btn--gold { background: var(--lr-gold); border-color: var(--lr-gold); color: var(--lr-night); }
.dwlr-btn--gold:hover { background: var(--lr-gold-light); border-color: var(--lr-gold-light); color: var(--lr-night); }
.dwlr-btn--stop { background: #7A2E2E; border-color: #A84848; color: #FBEDE6; }
.dwlr-btn--stop:hover { background: #8E3636; border-color: #C25B5B; color: #fff; }
.dwlr-btn--quiet { border-color: transparent; color: var(--lr-muted); }
.dwlr-btn[disabled], .dwlr-btn[disabled]:hover { opacity: .5; cursor: not-allowed; }

.dwlr-chip {
	min-height: 36px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
	font: 500 14px/1.2 var(--lr-sans); color: var(--lr-text);
	background: rgba(255, 255, 255, .03); border: 1px solid var(--lr-line);
}
.dwlr-chip:hover { border-color: var(--lr-line-strong); color: var(--lr-cream); }
.dwlr-chip[aria-pressed="true"] { border-color: var(--lr-gold); color: var(--lr-gold-light); }

.dwlr-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dwlr-field > span { font: 500 14px/1.3 var(--lr-sans); color: var(--lr-cream); }
.dwlr-field input, .dwlr-field select, .dwlr-compose textarea {
	width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px;
	font-size: 16px; color: var(--lr-cream); background: var(--lr-night);
	border: 1px solid var(--lr-line-strong); box-shadow: none;
}
.dwlr-field select { padding-right: 32px; }
.dwlr-field input:focus, .dwlr-field select:focus, .dwlr-compose textarea:focus { border-color: var(--lr-gold); outline: none; box-shadow: 0 0 0 3px rgba(217, 185, 138, .18); }
.dwlr-field input[aria-invalid="true"] { border-color: #D98A8A; }

/* v1.116: Divi (and some browsers) paint form text dark, which vanished on the night-blue fields.
   These win over Divi's own field styles so typing is always light on dark. */
.dwlr .dwlr-field input:not([type="checkbox"]):not([type="radio"]),
.dwlr .dwlr-field select,
.dwlr .dwlr-compose textarea {
	color: var(--lr-cream) !important;
	-webkit-text-fill-color: var(--lr-cream) !important;
	background-color: var(--lr-night) !important;
	border: 1px solid var(--lr-line-strong) !important;
	caret-color: var(--lr-gold);
	opacity: 1;
}
.dwlr .dwlr-field input:focus,
.dwlr .dwlr-field select:focus,
.dwlr .dwlr-compose textarea:focus { border-color: var(--lr-gold) !important; }
.dwlr .dwlr-field input[aria-invalid="true"] { border-color: #D98A8A !important; }
.dwlr .dwlr-field input::placeholder,
.dwlr .dwlr-compose textarea::placeholder {
	color: var(--lr-muted) !important;
	-webkit-text-fill-color: var(--lr-muted) !important;
	opacity: 1;
}
.dwlr .dwlr-field select option { color: var(--lr-cream); background: var(--lr-deep); }
/* A name or password the browser fills in keeps the dark field and light text. */
.dwlr .dwlr-field input:-webkit-autofill,
.dwlr .dwlr-field input:-webkit-autofill:hover,
.dwlr .dwlr-field input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--lr-cream) !important;
	-webkit-box-shadow: 0 0 0 1000px var(--lr-night) inset !important;
	box-shadow: 0 0 0 1000px var(--lr-night) inset !important;
	caret-color: var(--lr-gold);
	transition: background-color 9999s ease-out 0s;
}

.dwlr-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--lr-text); cursor: pointer; }
.dwlr-check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lr-gold); }
.dwlr-check--small { font-size: 14px; color: var(--lr-muted); }
.dwlr-error { min-height: 1.4em; margin: 0; color: #F0B4A8; font-size: 15px; }

/* ---------- Entry ---------- */
.dwlr-gate { display: flex; justify-content: center; padding: clamp(24px, 6vw, 72px) 0; }
.dwlr-gate__card {
	width: min(100%, 560px); padding: clamp(24px, 5vw, 48px);
	text-align: center; border-radius: 24px; border: 1px solid var(--lr-line);
	background: radial-gradient(ellipse at 50% -10%, rgba(217, 185, 138, .14), transparent 60%), var(--lr-deep);
}
.dwlr-gate__moon, .dwlr-idle__moon {
	width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
	box-shadow: inset -16px 6px 0 0 var(--lr-gold), 0 0 40px -6px rgba(217, 185, 138, .45);
	transform: rotate(-18deg);
}
.dwlr-gate__title { margin: 0 0 8px; font: 600 clamp(32px, 5vw, 42px)/1.1 var(--lr-serif); color: var(--lr-cream); }
.dwlr-gate__state { margin: 0 0 18px; font-size: 15px; color: var(--lr-muted); }
.dwlr-gate__state.is-open { color: var(--lr-gold-light); }
.dwlr-gate__state.is-open::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--lr-gold); vertical-align: 1px; }
.dwlr-gate__about { margin: 0 auto 22px; max-width: 44ch; font: 500 20px/1.5 var(--lr-serif); color: var(--lr-text); }
.dwlr-gate__welcome { margin: 0; font-size: 15px; line-height: 1.45; color: var(--lr-muted); }

/* Room rules: a quiet panel, numbered in gold. */
.dwlr-rules { margin: 0 0 20px; padding: 16px 18px 6px; text-align: left; border: 1px solid var(--lr-line); border-radius: 14px; background: rgba(255, 255, 255, .025); }
.dwlr-rules__title { margin: 0 0 10px; padding: 0; font: 700 15px/1.3 var(--lr-sans); color: var(--lr-cream); letter-spacing: .01em; }
.dwlr-rules__list { margin: 0; padding: 0; list-style: none; counter-reset: dwlr-rule; }
.dwlr-rules__list li { position: relative; margin: 0 0 10px; padding: 0 0 0 30px; font-size: 15px; line-height: 1.45; color: var(--lr-text); counter-increment: dwlr-rule; }
.dwlr-rules__list li::before {
	content: counter(dwlr-rule); position: absolute; left: 0; top: 1px;
	width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
	font: 700 12px/1 var(--lr-sans); color: var(--lr-night); background: var(--lr-gold);
}
.dwlr-check--rules { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lr-line-strong); background: rgba(217, 185, 138, .06); color: var(--lr-cream); font-weight: 500; }
.dwlr-check--rules:has(input:checked) { border-color: var(--lr-gold); }
.dwlr-check--rules input[aria-invalid="true"] { outline: 2px solid #D98A8A; outline-offset: 2px; }

/* Name and password stay locked until the rules are accepted. */
.dwlr-gate__step { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; transition: opacity .2s ease; }
.dwlr-gate__step[disabled] { opacity: .45; }
.dwlr-gate__step[disabled] input, .dwlr-gate__step[disabled] .dwlr-check, .dwlr-gate__step[disabled] button { cursor: not-allowed; }
.dwlr-gate__lock { margin: 0; font-size: 14px; color: var(--lr-muted); font-style: italic; }
.dwlr-gate__form { display: grid; gap: 16px; text-align: left; }
.dwlr-gate__form .dwlr-btn { width: 100%; margin-top: 4px; }
.dwlr-gate__fine { margin: 18px 0 0; font-size: 14px; color: var(--lr-muted); }

/* ---------- Room ---------- */
.dwlr-room { position: relative; padding: 8px 0 24px; }

.dwlr-bar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
	padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--lr-line);
}
.dwlr-bar__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dwlr-bar__title strong { font: 600 26px/1.15 var(--lr-serif); color: var(--lr-cream); }
.dwlr-bar__count { margin: 0; font-size: 14px; color: var(--lr-muted); }
.dwlr-bar__count [data-count] { color: var(--lr-cream); font-weight: 700; }
.dwlr-bar__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }

.dwlr-badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px;
	font: 700 13px/1.4 var(--lr-sans); color: var(--lr-muted); border: 1px solid var(--lr-line);
}
.dwlr-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lr-line-strong); }
.dwlr-badge.is-live { color: var(--lr-night); background: var(--lr-gold); border-color: var(--lr-gold); }
.dwlr-badge.is-live::before { background: var(--lr-night); animation: dwlr-beat 2.4s ease-in-out infinite; }

.dwlr-main { display: grid; grid-template-columns: minmax(0, 1fr) var(--lr-chat-w); gap: 20px; align-items: start; }
.dwlr.no-chat .dwlr-main { grid-template-columns: minmax(0, 1fr); }
.dwlr.no-chat .dwlr-chat { display: none; }

/* The stage */
.dwlr-stage { min-width: 0; }
.dwlr-screen {
	position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px;
	background: radial-gradient(ellipse at 50% 120%, rgba(182, 164, 206, .12), transparent 60%), #000814;
	border: 1px solid var(--lr-line);
}
.dwlr.is-live .dwlr-screen { border-color: rgba(217, 185, 138, .55); box-shadow: 0 0 0 1px rgba(217, 185, 138, .12), 0 18px 60px -24px rgba(217, 185, 138, .35); }
.dwlr-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.dwlr.is-audio .dwlr-video { opacity: 0; }
.dwlr-screen:fullscreen { border-radius: 0; border: 0; aspect-ratio: auto; width: 100vw; height: 100vh; }
.dwlr-screen:-webkit-full-screen { border-radius: 0; border: 0; width: 100vw; height: 100vh; }

.dwlr-idle, .dwlr-listen {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 24px; text-align: center;
}
.dwlr-idle__moon { width: clamp(64px, 11vw, 120px); height: clamp(64px, 11vw, 120px); box-shadow: inset calc(-.22 * clamp(64px, 11vw, 120px)) 8px 0 0 var(--lr-gold), 0 0 80px -10px rgba(217, 185, 138, .35); }
.dwlr-idle__line { margin: 0; font: 500 clamp(22px, 3.2vw, 34px)/1.2 var(--lr-serif); color: var(--lr-cream); }
.dwlr-idle__sub { margin: 8px 0 0; max-width: 46ch; font-size: 15px; color: var(--lr-muted); }

.dwlr-listen p { margin: 28px 0 0; font: 500 clamp(22px, 3vw, 30px)/1.2 var(--lr-serif); color: var(--lr-cream); position: relative; }
.dwlr-listen__glow {
	width: clamp(110px, 18vw, 190px); aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle, rgba(235, 211, 168, .9) 0%, rgba(217, 185, 138, .45) 35%, rgba(182, 164, 206, .12) 65%, transparent 72%);
	animation: dwlr-breathe 10s ease-in-out infinite;
}

.dwlr-tap {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	min-height: 56px; padding: 14px 30px; border-radius: 999px; cursor: pointer;
	font: 700 18px/1 var(--lr-sans); color: var(--lr-night); background: var(--lr-gold); border: 0;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

.dwlr-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 2px 0; }
.dwlr-controls__note { flex: 1 1 auto; font-size: 14px; color: var(--lr-muted); }
.dwlr-vol input { width: 120px; accent-color: var(--lr-gold); vertical-align: middle; }
.dwlr.is-host .dwlr-controls { display: none; }

/* Chat */
.dwlr-chat {
	position: sticky; top: 20px; display: flex; flex-direction: column; min-height: 0;
	height: min(78vh, 760px); border-radius: 18px; border: 1px solid var(--lr-line); background: var(--lr-deep); overflow: hidden;
}
.dwlr-pin {
	margin: 0; padding: 12px 16px; font: 500 17px/1.4 var(--lr-serif); color: var(--lr-cream);
	border-bottom: 1px solid var(--lr-line); background: rgba(217, 185, 138, .08);
	border-left: 3px solid var(--lr-gold); white-space: pre-line;
}
.dwlr-msgs { flex: 1 1 auto; min-height: 0; margin: 0; padding: 14px 16px 6px; list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--lr-line-strong) transparent; }
.dwlr-msg { margin: 0 0 12px; padding: 0; }
.dwlr-msg__head { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 13px; }
.dwlr-msg__name { font-weight: 700; color: var(--lr-lav); overflow-wrap: anywhere; }
.dwlr-msg__time { color: var(--lr-muted); font-size: 12px; }
.dwlr-msg__text { margin: 2px 0 0; font-size: 15px; line-height: 1.45; color: var(--lr-text); white-space: pre-wrap; overflow-wrap: anywhere; }
.dwlr-msg.is-me .dwlr-msg__name { color: var(--lr-cream); }
.dwlr-msg.is-host { padding: 10px 12px; border-radius: 12px; background: rgba(217, 185, 138, .08); border: 1px solid rgba(217, 185, 138, .25); }
.dwlr-msg.is-host .dwlr-msg__name { color: var(--lr-gold-light); }
.dwlr-msg.is-host .dwlr-msg__name::after { content: " · host"; font-weight: 400; color: var(--lr-gold); }
.dwlr-msg.is-host .dwlr-msg__text { font: 500 18px/1.4 var(--lr-serif); color: var(--lr-cream); }

.dwlr-msg__tools { margin-left: auto; display: inline-flex; gap: 4px; opacity: 0; transition: opacity .12s ease; }
.dwlr-msg:hover .dwlr-msg__tools, .dwlr-msg:focus-within .dwlr-msg__tools { opacity: 1; }
@media (hover: none) { .dwlr-msg__tools { opacity: 1; } }
.dwlr-msg__tools button, .dwlr-people button {
	padding: 2px 8px; border-radius: 6px; cursor: pointer; font: 500 12px/1.4 var(--lr-sans);
	color: var(--lr-muted); background: transparent; border: 1px solid var(--lr-line);
}
.dwlr-msg__tools button:hover, .dwlr-people button:hover { color: #F0B4A8; border-color: #8E4A4A; }

.dwlr-newer {
	align-self: center; margin: -42px 0 10px; position: relative; z-index: 1;
	padding: 6px 14px; border-radius: 999px; cursor: pointer; font: 700 13px/1.2 var(--lr-sans);
	color: var(--lr-night); background: var(--lr-lav); border: 0;
}
.dwlr-chat__note { margin: 0; padding: 8px 16px; font-size: 14px; color: var(--lr-gold-light); border-top: 1px solid var(--lr-line); }
.dwlr-compose { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--lr-line); background: rgba(1, 15, 42, .55); }
.dwlr-compose textarea { flex: 1 1 auto; resize: none; max-height: 140px; line-height: 1.4; }
.dwlr-compose textarea:disabled { opacity: .55; }
.dwlr-compose .dwlr-btn { padding: 10px 18px; }

/* Closed and dimmed */
.dwlr-closed {
	position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 24px;
	background: rgba(1, 15, 42, .9); backdrop-filter: blur(4px);
}
.dwlr-closed__card { max-width: 460px; text-align: center; }
.dwlr-closed h2 { margin: 0 0 8px; font: 600 34px/1.15 var(--lr-serif); color: var(--lr-cream); }
.dwlr-closed p { margin: 0; font: 500 20px/1.5 var(--lr-serif); }

.dwlr-dim { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 calc(32px + env(safe-area-inset-bottom, 0px)); background: rgba(0, 0, 0, .94); cursor: pointer; }
.dwlr-dim button { padding: 10px 18px; border: 0; background: none; cursor: pointer; font: 400 14px/1.3 var(--lr-sans); color: rgba(206, 199, 188, .35); }

/* ---------- Presenter panel ---------- */
.dwlr-host { margin-top: 20px; padding: 20px; border-radius: 18px; border: 1px solid var(--lr-line-strong); background: var(--lr-deep); }
.dwlr-host__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
.dwlr-host__head h3 { margin: 0; padding: 0; font: 600 24px/1.2 var(--lr-serif); color: var(--lr-cream); }
.dwlr-host__head p { margin: 0; padding: 0; font-size: 14px; color: var(--lr-muted); }
.dwlr-host__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 12px; }
.dwlr-host__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.dwlr-host__status { min-height: 1.4em; margin: 10px 0 0; padding: 0; font-size: 15px; color: var(--lr-gold-light); }
.dwlr-host__status.is-bad { color: #F0B4A8; }
.dwlr-meter { position: relative; width: 120px; height: 8px; margin-left: 4px; border-radius: 4px; overflow: hidden; background: var(--lr-night); border: 1px solid var(--lr-line); }
.dwlr-meter i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--lr-lav), var(--lr-gold)); }
.dwlr-host__room { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--lr-line); }
.dwlr-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.dwlr-switch input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; position: relative; width: 42px; height: 24px; margin: 0; border-radius: 999px; background: var(--lr-night); border: 1px solid var(--lr-line-strong); cursor: pointer; transition: background-color .15s ease; }
.dwlr-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--lr-muted); transition: transform .15s ease, background-color .15s ease; }
.dwlr-switch input:checked { background: rgba(217, 185, 138, .25); border-color: var(--lr-gold); }
.dwlr-switch input:checked::after { transform: translateX(18px); background: var(--lr-gold); }
.dwlr-host__pin { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 18px; }
.dwlr-host__pin .dwlr-field { flex: 1 1 280px; }
.dwlr-people { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--lr-line); }
.dwlr-people summary { cursor: pointer; font-weight: 700; color: var(--lr-cream); }
.dwlr-people ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 16px; }
.dwlr-people li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: 15px; }
.dwlr-people li.is-empty { color: var(--lr-muted); }

/* ---------- On-screen effects ---------- */
.dwlr-fx { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.dwlr-tap { z-index: 5; }
.dwlr-countdown {
	position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	padding: 24px; text-align: center; background: radial-gradient(ellipse at 50% 45%, #0B1C40, #010F2A 70%);
}
.dwlr-countdown__n {
	margin: 0; font: 600 clamp(64px, 12vw, 120px)/1 var(--lr-serif); color: var(--lr-cream);
	font-variant-numeric: tabular-nums; text-shadow: 0 0 40px rgba(217, 185, 138, .35);
}
.dwlr-countdown__note { margin: 0; max-width: 44ch; font-size: 15px; line-height: 1.45; color: var(--lr-text); }
.dwlr-countdown .dwlr-chip { margin-top: 6px; background: rgba(1, 15, 42, .7); }
/* v1.117: the warning comes first on its own, a little larger; then the numbers. Kept clear of Divi's paragraph styles. */
.dwlr .dwlr-countdown__n { padding: 0 !important; color: var(--lr-cream) !important; -webkit-text-fill-color: var(--lr-cream); }
.dwlr .dwlr-countdown__note { padding: 0 !important; color: var(--lr-text) !important; }
.dwlr .dwlr-countdown.is-warn .dwlr-countdown__note { max-width: 34ch; font: 500 clamp(18px, 2.4vw, 24px)/1.4 var(--lr-serif); color: var(--lr-cream) !important; }
.dwlr-countdown.is-warn::before { content: ""; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--lr-gold-light), var(--lr-gold) 60%, transparent 72%); box-shadow: 0 0 30px rgba(217, 185, 138, .35); }
.dwlr-fxnote {
	position: absolute; left: 12px; bottom: 12px; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
	max-width: calc(100% - 24px); padding: 8px 10px 8px 14px; border-radius: 12px;
	font-size: 14px; color: var(--lr-text); background: rgba(1, 15, 42, .82); border: 1px solid var(--lr-line);
}

.dwlr-host__fx { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--lr-line); }
.dwlr-host__fx h4, .dwlr-people h4 { margin: 0 0 6px; padding: 0; font: 600 20px/1.2 var(--lr-serif); color: var(--lr-cream); }
.dwlr-host__hint { margin: 0 0 12px; padding: 0; max-width: 70ch; font-size: 14px; line-height: 1.45; color: var(--lr-muted); }
.dwlr-host__fxstate { font-size: 14px; color: var(--lr-gold-light); }
.dwlr-field select optgroup { font-style: normal; font-weight: 700; color: var(--lr-muted); }

/* ---------- Moderation ---------- */
.dwlr-people .dwlr-host__hint { margin-top: 10px; }
.dwlr-people__name { min-width: 0; overflow-wrap: anywhere; }
.dwlr-people__name em { font-style: normal; font-size: 12px; color: var(--lr-gold-light); }
.dwlr-people__acts { display: inline-flex; gap: 4px; flex: 0 0 auto; }
.dwlr-people ul[data-people] { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.dwlr-modal {
	position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 20px;
	background: rgba(0, 4, 14, .7);
}
.dwlr-modal__box {
	width: min(100%, 440px); padding: 24px; border-radius: 18px; color: var(--lr-text);
	background: var(--lr-deep); border: 1px solid var(--lr-line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.dwlr-modal__box h3 { margin: 0 0 8px; padding: 0; font: 600 26px/1.15 var(--lr-serif); color: var(--lr-cream); }
.dwlr-modal__box p { margin: 0 0 14px; padding: 0; font-size: 15px; line-height: 1.5; }
.dwlr-modal__choices { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--lr-line); border-radius: 12px; }
.dwlr-modal__choices legend { padding: 0 6px; font-size: 13px; color: var(--lr-muted); }
.dwlr-modal__choices label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 15px; }
.dwlr-modal__choices input { accent-color: var(--lr-gold); width: 18px; height: 18px; margin: 0; }
.dwlr-modal__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Small screens ---------- */
@media (max-width: 980px) {
	.dwlr { --lr-chat-w: 300px; }
}
@media (max-width: 820px) {
	.dwlr-main { grid-template-columns: minmax(0, 1fr); }
	.dwlr-chat { position: relative; top: 0; height: 62vh; min-height: 360px; }
	.dwlr-bar__tools { margin-left: 0; width: 100%; }
	.dwlr-bar__title strong { font-size: 22px; }
	.dwlr-screen { border-radius: 14px; }
	.dwlr-vol { display: none; }
}

/* ---------- Motion ---------- */
@keyframes dwlr-beat { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* Ten seconds a breath: in for five, out for five. */
@keyframes dwlr-breathe { 0%, 100% { transform: scale(.82); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	.dwlr *, .dwlr *::before, .dwlr *::after { animation: none !important; transition: none !important; }
}
.dw-calm .dwlr *, .dw-calm .dwlr *::before { animation: none !important; }

/* ---------- Camera and microphone on/off (v1.108) ---------- */
.dwlr-host__av { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 16px; }
.dwlr-host__av .dwlr-host__hint { flex: 1 1 260px; margin: 0; font-size: 13px; color: var(--lr-muted); }
.dwlr-toggle {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px 8px 12px;
	border-radius: 999px; cursor: pointer; font: 700 15px/1.2 var(--lr-sans);
	color: var(--lr-cream); background: rgba(217, 185, 138, .08); border: 1px solid var(--lr-gold);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.dwlr-toggle__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lr-gold); box-shadow: 0 0 0 3px rgba(217, 185, 138, .2); }
.dwlr-toggle:hover { background: rgba(217, 185, 138, .14); }
.dwlr-toggle.is-off { color: #F3C9C0; background: rgba(168, 72, 72, .14); border-color: #A84848; }
.dwlr-toggle.is-off .dwlr-toggle__dot { background: transparent; box-shadow: inset 0 0 0 2px #D98A8A; }
.dwlr-toggle.is-off:hover { background: rgba(168, 72, 72, .22); }

/* Shown on the stage while the presenter's microphone is off. */
.dwlr-micoff {
	position: absolute; left: 12px; top: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
	max-width: calc(100% - 24px); margin: 0; padding: 8px 14px 8px 10px; border-radius: 999px;
	font: 600 14px/1.3 var(--lr-sans); color: #FBEDE6; background: rgba(1, 15, 42, .82); border: 1px solid #A84848;
}
.dwlr-micoff svg { flex: 0 0 auto; color: #F0B4A8; }
