:root {
	font-family: Arial, "Segoe UI", sans-serif;
	color: #ececec;
	background: #202124;
	color-scheme: dark;
	font-synthesis: none;
	--muted: #aaa;
	--green: #a4c69d;
	--tile: 58px;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
}
button,
input,
textarea {
	font: inherit;
}
button,
a {
	touch-action: manipulation;
}
button {
	cursor: pointer;
	color: inherit;
}
button:disabled {
	cursor: default;
	opacity: 0.4;
}
a {
	color: inherit;
	text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 3px;
}
h1,
h2,
p {
	margin: 0;
}
svg {
	flex-shrink: 0;
}
p {
	line-height: 1.7;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	top: -80px;
	left: 12px;
	background: var(--green);
	color: #172115;
	padding: 12px;
	z-index: 20;
}
.skip-link:focus {
	top: 12px;
}
.page-header {
	max-width: 900px;
	margin: auto;
	padding: 26px 20px 17px;
	text-align: center;
	position: relative;
}
.page-header h1 {
	font-size: 40px;
	letter-spacing: -1px;
	font-weight: 800;
}
.step-symbol {
	color: var(--green);
	margin-left: 9px;
	font-size: 48px;
	line-height: 1;
}
.h1-description {
	display: block;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	margin-top: 5px;
	color: #c8d6c4;
}
.page-header p {
	font-size: 13px;
	color: #b4b4b4;
	margin-top: 9px;
}
.preview-tag {
	position: absolute;
	top: 16px;
	right: 20px;
	font-size: 10px;
	letter-spacing: 0.5px;
	color: #999;
}
main {
	padding: 0 20px;
}
.game-stage {
	max-width: 500px;
	margin: auto;
	min-height: min(810px, calc(100svh - 140px));
	display: flex;
	flex-direction: column;
	padding: 14px 0 18px;
}
.game-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 28px;
}
.puzzle-date {
	font-size: 11px;
	color: #a2a2a2;
}
.mode-switch {
	display: flex;
	gap: 4px;
}
.mode-switch button {
	border: 0;
	border-radius: 4px;
	background: none;
	font-size: 11px;
	color: #bbb;
	padding: 7px 10px;
}
.mode-switch button[aria-pressed="true"] {
	background: #363739;
	color: #eee;
}
.word-goal {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 16px;
	margin-bottom: 24px;
}
.word-goal strong {
	letter-spacing: 3px;
}
.word-goal strong:last-of-type {
	color: var(--green);
}
.word-goal svg {
	color: #888;
}
.word-goal > span {
	flex-basis: 100%;
	text-align: center;
	color: #b0b0b0;
	font-size: 12px;
	letter-spacing: 0;
}
.board-scroll {
	height: clamp(185px, 35svh, 330px);
	max-width: 310px;
	align-self: center;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #555 transparent;
	width: 100%;
	padding: 4px 8px;
}
.word-board {
	list-style: none;
	margin: 0;
	padding: 0;
}
.word-board li,
.draft-row {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-bottom: 6px;
}
.word-board li > span,
.draft-row > span {
	width: var(--tile);
	height: var(--tile);
	display: grid;
	place-items: center;
	border: 2px solid #67686a;
	font-size: 30px;
	font-weight: 700;
}
.word-board .changed {
	border-color: #8eaa88;
	background: #3c4939;
}
.word-board .won-row > span {
	background: #52734c;
	border-color: #779d6e;
}
.draft-row > span {
	border-color: #444547;
}
.draft-row > .filled {
	border-color: #929395;
}
.input-area {
	margin: 14px 0 12px;
	text-align: center;
}
.input-area form {
	display: flex;
	justify-content: center;
	gap: 8px;
	max-width: 290px;
	margin: auto;
}
.input-area input {
	width: 174px;
	min-width: 0;
	background: #292a2d;
	border: 1px solid #555;
	border-radius: 4px;
	padding: 10px 12px;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #eee;
}
.input-area input::placeholder {
	text-transform: none;
	letter-spacing: 0;
	color: #999;
}
.input-area form button {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #404143;
	border: 0;
	border-radius: 4px;
	padding: 9px 14px;
	font-size: 13px;
}
.game-message {
	min-height: 36px;
	font-size: 12px;
	color: #bcbcbc;
	margin-top: 10px;
	line-height: 1.5;
}
.result-message {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 44px;
}
.result-message strong {
	color: #b6d6ae;
	font-size: 19px;
}
.result-message span {
	font-size: 12px;
	color: #bbb;
}
.keyboard {
	margin-top: auto;
	max-width: 500px;
	width: 100%;
	padding-top: 18px;
}
.keyboard-row {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin-bottom: 5px;
}
.keyboard button {
	background: #555658;
	border: 0;
	border-radius: 3px;
	min-width: 0;
	flex: 1;
	max-width: 42px;
	height: 46px;
	font-size: 14px;
	font-weight: 600;
	display: grid;
	place-items: center;
	padding: 0;
}
.keyboard-row:nth-child(2) {
	padding: 0 21px;
}
.keyboard button.key-wide {
	flex: 1.5;
	max-width: 62px;
	font-size: 12px;
}
.keyboard button:hover:not(:disabled) {
	background: #727375;
}
.game-actions {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 17px 0 18px;
}
.game-actions button {
	border: 0;
	background: none;
	display: flex;
	align-items: center;
	gap: 5px;
	color: #b0b0b0;
	font-size: 11px;
	padding: 5px 0;
}
.game-links {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	color: #949494;
	font-size: 11px;
}
.game-links a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.storage-notice,
.solution {
	font-size: 12px;
	text-align: center;
	line-height: 1.7;
	margin: 14px 0;
	color: #bacab6;
}
.solution {
	padding: 12px;
	border-radius: 4px;
	background: #2b3229;
}
.share-region {
	max-width: 660px;
	margin: 32px auto 0;
	text-align: center;
}
.share-bar h2 {
	font-size: 17px;
	margin-bottom: 17px;
	font-weight: 600;
}
.share-buttons {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}
.share-buttons > button,
.share-buttons > a {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 40px;
	font-size: 12px;
	padding: 9px 13px;
	border: 1px solid #454649;
	border-radius: 4px;
	background: #303134;
	color: #dadada;
}
.share-buttons > button:first-child {
	background: #bdd4b7;
	border-color: #bdd4b7;
	color: #20331d;
}
.share-notice {
	min-height: 20px;
	font-size: 11px;
	color: #b9cdb4;
	margin-top: 10px;
}
.share-fallback {
	width: 100%;
	min-height: 100px;
	border: 1px solid #666;
	background: #292a2d;
	color: #eee;
	padding: 12px;
}
.share-note {
	font-size: 11px;
	color: #888;
	margin-top: 5px;
}
.ad-slot {
	max-width: 728px;
	margin: 58px auto;
	text-align: center;
}
.ad-slot-label {
	font-size: 9px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #747577;
}
.ad-slot-space {
	height: 90px;
	display: grid;
	place-items: center;
	margin-top: 10px;
	background: #222326;
	border: 1px dashed #38393b;
}
.ad-slot-space small {
	font-size: 10px;
	color: #747577;
}
.ad-slot-rectangle .ad-slot-space {
	height: 250px;
}
.reading-area {
	max-width: 680px;
	margin: 0 auto;
}
.content-nav {
	display: flex;
	gap: 12px 22px;
	flex-wrap: wrap;
	margin-bottom: 35px;
	font-size: 13px;
	color: #c4d8be;
}
.content-nav a, .return-to-game {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.return-to-game {
	display: inline-block;
	font-size: 13px;
	color: #c4d8be;
}
.reading-area section {
	margin: 0 0 45px;
	scroll-margin-top: 25px;
}
.reading-area h2 {
	font-size: 23px;
	line-height: 1.4;
	font-weight: 650;
	margin-bottom: 17px;
	letter-spacing: -0.3px;
}
.reading-area p,
.rules {
	font-size: 14px;
	color: #b6b6b6;
	line-height: 1.85;
}
.reading-area p + p {
	margin-top: 14px;
}
.rules {
	padding-left: 21px;
	margin: 17px 0 22px;
}
.rules li {
	padding-left: 4px;
	margin-bottom: 9px;
}
.example-route {
	color: #d9e2d6;
	text-align: center;
	padding: 20px 0;
	font-size: 17px;
	letter-spacing: 0.5px;
	line-height: 1.7;
}
.example-route span {
	color: #777;
	margin: 0 5px;
}
.reading-area .example-caption {
	font-size: 12px;
	text-align: center;
	color: #898989;
}
.reading-area details {
	padding: 16px 0;
	border-bottom: 1px solid #353638;
}
.reading-area summary {
	font-size: 14px;
	cursor: pointer;
	line-height: 1.5;
}
.reading-area details p {
	margin-top: 13px;
	font-size: 13px;
}
footer {
	max-width: 900px;
	margin: 65px auto 0;
	display: flex;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 22px 20px 28px;
	font-size: 10px;
	color: #777;
}
footer a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (max-width: 620px) {
	.page-header {
		padding: 22px 16px 15px;
	}
	.page-header h1 {
		font-size: 34px;
	}
	.page-header p {
		font-size: 12px;
	}
	main {
		padding: 0 14px;
	}
	.game-stage {
		min-height: calc(100svh - 145px);
		padding-top: 9px;
	}
	.game-toolbar {
		margin-bottom: 21px;
	}
	.puzzle-date {
		font-size: 10px;
	}
	.word-goal {
		margin-bottom: 18px;
	}
	.board-scroll {
		height: clamp(165px, 29svh, 260px);
	}
	.keyboard {
		padding-top: 8px;
	}
	.keyboard button {
		height: 43px;
		font-size: 13px;
	}
	.keyboard-row {
		gap: 4px;
	}
	.keyboard-row:nth-child(2) {
		padding: 0 17px;
	}
	.keyboard button.key-wide {
		font-size: 10px;
	}
	.share-region {
		margin-top: 35px;
	}
	.reading-area h2 {
		font-size: 21px;
	}
	.reading-area p,
	.rules {
		font-size: 13px;
	}
	.example-route {
		font-size: 14px;
	}
	.example-route span {
		margin: 0 1px;
	}
	.game-actions {
		gap: 17px;
	}
	footer {
		margin-top: 45px;
	}
	.preview-tag {
		right: 14px;
		top: 12px;
	}
	.ad-slot {
		margin: 45px auto;
	}
}
@media (max-height: 650px) {
	.game-stage {
		min-height: 600px;
	}
	.board-scroll {
		height: 180px;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		animation: none !important;
		transition: none !important;
	}
}
/* Keep the board and all keyboard rows in the first usable viewport. */
@media (max-height: 850px) {
	.page-header {
		padding-top: 16px;
		padding-bottom: 12px;
	}
	.page-header h1 {
		font-size: 34px;
	}
	.page-header p {
		margin-top: 5px;
	}
	.game-stage {
		padding-top: 8px;
		min-height: calc(100svh - 122px);
	}
	.game-toolbar {
		margin-bottom: 15px;
	}
	.word-goal {
		gap: 10px;
		margin-bottom: 12px;
	}
	.board-scroll {
		height: 142px;
		flex-shrink: 0;
	}
	.input-area {
		margin: 10px 0 6px;
	}
	.game-message {
		min-height: 25px;
		margin-top: 8px;
	}
	.keyboard {
		padding-top: 8px;
	}
	.keyboard button {
		height: 39px;
	}
	.game-actions {
		margin: 10px 0 12px;
	}
}
/* Vanilla adaptation of the private word-game-template at 0634fc1.
   Compact stage and accessible hit heights; original ladder engine retained. */
[hidden]{display:none!important}
.peele{--green:#e6ce78;--match:#51472c;--changed:#e6ce78}
.shitle{--green:#e5b59d;--match:#513b32;--changed:#e5b59d}
.h1-description{color:var(--green)}
.page-header{padding:24px 20px 12px}
.page-header .hero-copy{max-width:440px;margin:10px auto 0;color:#d3d3d3;line-height:1.55;font-size:13px}
.page-header .opening-description{margin-top:3px;font-size:11px;color:#aaa}
.game-stage{min-height:0;padding-top:12px;max-width:500px}
.game-toolbar{margin-bottom:20px}
.mode-switch button{min-height:44px;font-size:12px;padding:9px 13px}
.word-goal{gap:12px;margin-bottom:12px}.word-goal i{font-style:normal;color:#aaa;font-size:12px}
.score{display:flex;justify-content:center;gap:22px;font-size:12px;color:#bbb;margin-bottom:12px}.score b{color:#eee}
.board-scroll{height:200px;max-width:340px;padding:4px 0}
.word-row{display:flex;justify-content:center;align-items:center;gap:8px;margin-bottom:6px;position:relative}
.tiles{display:flex;gap:6px}.tile{width:var(--tile);height:var(--tile);display:grid;place-items:center;border:2px solid #67686a;font-size:30px;font-weight:700}
.tile.match{background:var(--match);border-color:var(--green)}.tile.changed{box-shadow:inset 0 -3px var(--changed)}
.step-label{width:32px;text-align:right;font-size:9px;color:#aaa}.current-tag{width:40px;font-size:8px;color:var(--green)}
.entry-line{display:flex;gap:8px;width:100%;justify-content:center}.input-area form{max-width:290px}.input-area input{height:44px}
.submit-button{min-height:44px}.message.error{color:#ffb6aa}.error input{border-color:#ffb6aa}
.game-message{min-height:36px;margin-top:8px}.keyboard{margin-top:0;padding-top:6px}.key-row{display:flex;justify-content:center;gap:5px;margin-bottom:5px}.key-row:nth-child(2){padding:0 21px}.keyboard .key.wide{flex:1.5;max-width:62px;font-size:10px}.keyboard button{height:46px}
.game-actions{margin:8px 0 3px;gap:17px;flex-wrap:wrap}.game-actions button{min-height:44px;font-size:12px;padding:8px 0}.game-links{gap:18px;color:#aaa}
.reset-clock{text-align:center;font-size:11px;color:#aaa;margin-top:8px}.share-region{margin-top:34px}.share-buttons>button,.share-buttons>a{min-height:44px}.share-buttons>button:first-child{background:var(--green);border-color:var(--green);color:#26231a}.share-note{color:#aaa}
.result{text-align:center;padding:16px 10px}.result h2{font-size:21px;color:var(--green)}.result p{font-size:13px;color:#ccc;margin:8px auto;max-width:360px}.result-buttons{display:flex;justify-content:center;gap:8px;margin:14px 0}.primary-button,.outline-button{min-height:44px;border:1px solid #666;border-radius:4px;padding:9px 13px;background:#303134;color:#eee}.primary-button{background:var(--green);border-color:var(--green);color:#26231a}#solution{font-size:12px;padding:8px}#solution summary{cursor:pointer;min-height:44px;padding:12px}
.ad-slot-label,.ad-slot-space small{color:#aaa}.content-nav,.return-to-game{color:var(--green)}.example-word{display:inline-block;margin:0 5px;color:var(--green);font-weight:bold}.reading-area summary{min-height:44px;padding:9px 0}.reading-area details{padding:7px 0}
footer{color:#aaa}footer button{background:none;border:0;color:#aaa;font-size:11px;min-height:44px}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-top h2{font-size:22px}.icon-button{background:none;border:0;font-size:28px;min-width:44px;min-height:44px}dialog{max-width:500px;width:calc(100% - 32px);max-height:85svh;border:1px solid #666;border-radius:8px;padding:22px;background:#292a2d;color:#eee}dialog::backdrop{background:#0009}#dialog-body{font-size:14px;line-height:1.7}#dialog-body p{margin:14px 0}#dialog-body a{text-decoration:underline}.share-text{width:100%;height:200px;background:#202124;color:#eee;padding:12px}.stat-grid{display:flex;justify-content:space-around;margin:22px 0}.stat-grid div{display:flex;flex-direction:column;text-align:center}.stat-grid b{font-size:30px;color:var(--green)}.stat-grid span,.small{font-size:12px;color:#aaa}
@media(max-width:620px){.page-header{padding:22px 16px 8px}.page-header h1{font-size:34px}.page-header .hero-copy{font-size:12px;max-width:330px}.h1-description{font-size:13px}.game-stage{min-height:0;padding-top:4px}.game-toolbar{margin-bottom:12px}.word-goal{margin-bottom:8px}.board-scroll{height:164px}.key-row{gap:4px}.key-row:nth-child(2){padding:0 17px}.keyboard button{height:44px}.game-actions{gap:15px}.share-region{margin-top:28px}.tile{width:52px;height:52px;font-size:28px}.step-label{width:27px}.current-tag{width:34px}.word-row{gap:6px}.reading-area h2{font-size:21px}.share-buttons>button,.share-buttons>a{padding:9px 11px}.ad-slot{margin:40px auto}}
@media(max-height:850px){.game-stage{min-height:0}.page-header{padding-top:20px}.board-scroll{height:150px}.keyboard button{height:44px}.game-message{min-height:34px}.input-area{margin:10px 0 6px}.game-actions{margin:4px 0 3px}}
@media(max-width:340px){.tile{width:47px;height:47px;font-size:25px}.tiles{gap:5px}.step-label{width:25px}.current-tag{width:31px}.game-links{font-size:10px;gap:10px}.page-header .hero-copy{max-width:285px}}

/* A compact brand lockup and two deliberate lines of introduction. */
.page-header { padding: 26px 20px 14px; }
.page-header h1 { font-size: 38px; line-height: 1.08; letter-spacing: -1.2px; }
.brand-lockup { display: flex; align-items: center; justify-content: center; gap: 9px; }
.brand-icon { display: block; width: 36px; height: 36px; }
.page-header .h1-description {
  margin-top: 9px; font-size: 12px; font-weight: 500;
  line-height: 1.4; letter-spacing: .35px;
}
.page-header .hero-copy { max-width: 420px; margin-top: 14px; }
.hero-lead { display: block; color: #e1e1e1; font-size: 14px; line-height: 1.5; text-wrap: balance; }
.hero-detail { display: block; margin-top: 4px; color: #aaa; font-size: 12px; line-height: 1.5; text-wrap: balance; }
@media (max-width: 620px) {
  .page-header { padding: 28px 16px 12px; }
  .page-header h1 { font-size: 34px; letter-spacing: -1px; }
  .brand-icon { width: 32px; height: 32px; }
  .page-header .h1-description { margin-top: 8px; font-size: 11px; letter-spacing: .25px; }
  .page-header .hero-copy { max-width: 340px; margin-top: 12px; }
  .hero-lead { font-size: 13px; }
  .hero-detail { font-size: 11px; }
}

.related-game { max-width: 500px; margin: 10px auto 0; text-align: center; }
.related-game a { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px 10px; min-height: 44px; padding: 8px 12px; font-size: 12px; line-height: 1.5; }
.related-game a > span:first-child { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.related-description { color: #aaa; }
.related-game + .share-region { margin-top: 20px; }

/* Four letter-cell rows make the reserved board space explicit, without a move cap. */
.board-scroll { height: 266px; padding: 4px 0; }
.empty-row .tile { border-color: #44464a; }
.empty-row .step-label { color: #777; }
.next-word-row .tile { border-color: #919297; background: #27282b; }
.next-word-row .step-label { color: #bbb; }
@media (max-width: 620px) { .board-scroll { height: 242px; } }
@media (max-width: 340px) { .board-scroll { height: 222px; } }

.analytics-consent { max-width: 640px; margin: 18px auto; padding: 16px; border: 1px solid #555; border-radius: 8px; font-size: 13px; line-height: 1.6; }
.analytics-consent[hidden] { display: none; }
.analytics-consent p { margin: 0 0 12px; }
.analytics-consent div { display: flex; gap: 12px; flex-wrap: wrap; }
.analytics-consent button { padding: 10px 14px; border: 1px solid #888; border-radius: 6px; background: #303134; color: #f1f3f4; min-height: 44px; cursor: pointer; }
@media(max-width:680px) { .analytics-consent { margin: 16px; } }
