/* Rangers Easy Oche. Fonts come from the site theme. */
.reo {
	--reo-red: #e0263f;
	--reo-bg: #0a1224;
	--reo-panel: #111c36;
	--reo-panel2: #172545;
	--reo-fg: #eef2fb;
	--reo-muted: #93a1c4;
	--reo-line: #263760;
	--reo-blue: #2a5bd7;
	--reo-cream: #f1e6c8;
	--reo-bust: #3a1520;
	--reo-winbg: #14275a;
	--reo-head: #10224d;
	box-sizing: border-box;
	max-width: 680px;
	margin: 0 auto;
	padding: 0 0 28px;
	background: var(--reo-bg);
	color: var(--reo-fg);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.45;
	border-radius: 12px;
	overflow: hidden;
}
.reo.reo-light {
	--reo-bg: #fff;
	--reo-panel: #f4f6fb;
	--reo-panel2: #fff;
	--reo-fg: #121a2e;
	--reo-muted: #56627f;
	--reo-line: #cfd6e6;
	--reo-cream: #121a2e; /* the cream is unreadable on white, so the countdown and challenge name go dark */
	--reo-bust: #fde8eb;
	--reo-winbg: #e3ebff;
	--reo-head: #eaf0ff;
}
.reo *, .reo *::before, .reo *::after { box-sizing: border-box; }
.reo [hidden] { display: none !important; }
.reo > * { margin-left: 16px; margin-right: 16px; }
.reo > .reo-head { margin: 0; }

.reo-head { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 16px 22px; border-bottom: 3px solid var(--reo-red); background: linear-gradient(180deg, var(--reo-head) 0%, var(--reo-bg) 100%); }
.reo-headtext { min-width: 0; }
.reo-logo { display: block; max-height: 44px; max-width: 160px; width: auto; margin: 0 0 12px; }
.reo-eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--reo-muted); font-weight: 700; }
.reo .reo-title { font-size: 42px; line-height: 1; margin: 6px 0 0; text-transform: uppercase; font-weight: 800; color: var(--reo-fg); text-wrap: balance; }
.reo .reo-title span { color: var(--reo-red); }
.reo-sub { margin: 10px 0 0; max-width: 40ch; color: var(--reo-muted); }
.reo-board { width: 116px; height: 116px; flex: none; }

.reo-loading, .reo-closed, .reo-note { margin-top: 18px; color: var(--reo-muted); }

.reo-today { margin-top: 18px; }
.reo-todaylab { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: #fff; }
.reo-light .reo-todaylab { color: var(--reo-fg); }
.reo-todaylab span { color: var(--reo-muted); letter-spacing: .06em; margin-left: 4px; }
.reo-chname { font-size: 30px; line-height: 1.05; text-transform: uppercase; font-weight: 800; color: var(--reo-cream); margin-top: 6px; text-wrap: balance; }
.reo-theme { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--reo-red); color: var(--reo-red); font-size: 14px; font-weight: 700; }

.reo-score { margin-top: 16px; padding: 16px; border-radius: 10px; background: var(--reo-panel); border: 2px solid var(--reo-line); display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end; }
.reo-lab { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--reo-muted); font-weight: 700; }
.reo-remain { font-size: 92px; line-height: .95; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--reo-cream); }
.reo-visits { text-align: right; }
.reo-visits b { display: block; font-size: 42px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.reo-hint { grid-column: 1 / -1; color: var(--reo-muted); font-size: 15px; min-height: 1.4em; }

.reo-form { display: flex; gap: 8px; margin-top: 14px; }
.reo input[type="text"] { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 12px 14px; border: 2px solid var(--reo-line); border-radius: 8px; background: var(--reo-panel2); color: var(--reo-fg); }
.reo input[type="text"]::placeholder { color: var(--reo-muted); }
.reo :focus-visible { outline: 3px solid var(--reo-cream); outline-offset: 2px; }
.reo-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.reo-throw { font: inherit; font-weight: 800; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; padding: 0 20px; border: 0; border-radius: 8px; background: var(--reo-red); color: #fff; cursor: pointer; }
.reo-throw:disabled { opacity: .45; cursor: default; }
.reo-sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; min-height: 40px; }
.reo-sugg button { font: inherit; font-size: 15px; padding: 7px 12px; border: 1.5px solid var(--reo-line); border-radius: 999px; background: var(--reo-panel); color: var(--reo-fg); cursor: pointer; }
.reo-msg { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--reo-panel2); border: 1px solid var(--reo-line); min-height: 44px; }
.reo-msg.reo-bust { background: var(--reo-bust); border-color: var(--reo-red); }
.reo-msg.reo-winmsg { background: var(--reo-winbg); }

.reo .reo-h { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin: 26px 0 10px; color: var(--reo-cream); font-weight: 800; }
.reo-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.reo-log li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 9px 12px; border-radius: 8px; background: var(--reo-panel); border: 1px solid var(--reo-line); }
.reo-log .nm { min-width: 0; overflow-wrap: anywhere; }
.reo-log .why { font-size: 13px; color: var(--reo-muted); }
.reo-log .val { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.reo-log li.bust { border-color: var(--reo-red); }
.reo-log li.bust .val { color: var(--reo-red); text-decoration: line-through; }
.reo-log li.win { border-color: var(--reo-cream); }
.reo-empty { color: var(--reo-muted); }

.reo-card { margin: 0; padding: 16px 18px; border-radius: 12px; border: 2px solid var(--reo-line); background: var(--reo-panel); font-family: inherit; font-size: 18px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.reo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.reo-bottom { margin-top: 22px; }
.reo-bottom .reo-btn { flex: 1; }
.reo-btn { font: inherit; font-weight: 700; padding: 10px 16px; border-radius: 8px; border: 2px solid var(--reo-line); background: transparent; color: var(--reo-fg); cursor: pointer; }
.reo-btn.reo-solid { background: var(--reo-red); border-color: var(--reo-red); color: #fff; }
.reo-btn.reo-danger { border-color: var(--reo-red); color: var(--reo-red); }
.reo-btn:disabled { opacity: .5; cursor: default; }

.reo-report { margin-top: 28px; padding-top: 6px; border-top: 1px solid var(--reo-line); }
.reo-report form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.reo-report .reo-btn { align-self: flex-start; }
.reo-rtype { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.reo-rtype label { display: flex; align-items: center; gap: 6px; font-size: 15px; cursor: pointer; }
.reo-rtype input { width: 18px; height: 18px; accent-color: var(--reo-red); }
.reo-small { margin: 12px 0 0; font-size: 12px; line-height: 1.4; color: var(--reo-muted); max-width: 62ch; }

.reo-rules { margin-top: 20px; border-top: 1px solid var(--reo-line); padding-top: 12px; }
.reo-rules summary { cursor: pointer; font-weight: 700; }
.reo-rules ul { padding-left: 20px; color: var(--reo-muted); max-width: 62ch; }

@media (max-width: 420px) {
	.reo-remain { font-size: 76px; }
	.reo .reo-title { font-size: 34px; }
	.reo-board { width: 80px; height: 80px; }
	.reo-chname { font-size: 26px; }
}
