/**
 * GTC Games: hub (templates/games-hub.php) and game page
 * (templates/single-game.php). Every rule sits under .gtc-games.
 *
 * Breakpoints: 1,024px (game page rail), 761px (phones).
 */

.gtc-games {
	--gtc-ink: #111418;
	--gtc-text: #3D4652;
	--gtc-mute: #4A5360;
	--gtc-soft: #5B6470;
	--gtc-line: #E4E7EB;
	--gtc-line-2: #DCE2EA;
	--gtc-faint: #EEF1F4;
	--gtc-tint: #F3F6FB;
	--gtc-blue: #166DFC;
	--gtc-blue-dark: #0F57D1;
	--gtc-link: #0B57D0;
	--gtc-link-hover: #083F99;
	--gtc-navy: #0F1B2D;
	--gtc-navy-line: #3A4A63;
	--gtc-teal: #1F6F78;
	--gtc-purple: #6A3FB5;
	--gtc-pad: 32px;
	--gtc-serif: "Source Serif Pro", Georgia, "Times New Roman", serif;
	--gtc-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	display: block;
	padding: 40px 0 64px;
	background: #FFFFFF;
	color: var(--gtc-ink);
	font-family: var(--gtc-sans);
	font-size: 16px;
	line-height: 1.5;
	overflow-x: clip;
}

.gtc-games *,
.gtc-games *::before,
.gtc-games *::after { box-sizing: border-box; }

.gtc-games .gtc-games__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--gtc-pad);
	display: flex;
	flex-direction: column;
	gap: 48px;
}

/* Links and buttons: our own colors, never the Hello theme's pink. */
.gtc-games a { color: var(--gtc-link); text-decoration: none; }
.gtc-games a:hover,
.gtc-games a:focus { color: var(--gtc-link-hover); }
.gtc-games a:focus-visible,
.gtc-games button:focus-visible,
.gtc-games summary:focus-visible,
.gtc-games input:focus-visible { outline: 3px solid var(--gtc-blue); outline-offset: 2px; }

.gtc-games h1,
.gtc-games h2,
.gtc-games h3 { margin: 0; color: inherit; text-transform: none; letter-spacing: 0; }

.gtc-games p { margin: 0; }

.gtc-games .gtc-games__h2 { font: 700 32px/1.15 var(--gtc-serif); }

.gtc-games .gtc-games__btn,
.gtc-games button.gtc-games__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 10px;
	font: 700 16px/1.2 var(--gtc-sans);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.gtc-games .gtc-games__btn--blue,
.gtc-games .gtc-games__btn--blue:focus { background: var(--gtc-blue); border-color: var(--gtc-blue); color: #FFFFFF; }
.gtc-games .gtc-games__btn--blue:hover { background: var(--gtc-blue-dark); border-color: var(--gtc-blue-dark); color: #FFFFFF; }
.gtc-games .gtc-games__btn--dark,
.gtc-games .gtc-games__btn--dark:focus { background: var(--gtc-ink); border-color: var(--gtc-ink); color: #FFFFFF; }
.gtc-games .gtc-games__btn--dark:hover { background: #2A3038; border-color: #2A3038; color: #FFFFFF; }
.gtc-games .gtc-games__btn--ghost,
.gtc-games .gtc-games__btn--ghost:focus { background: transparent; border-color: var(--gtc-navy-line); color: #FFFFFF; font-weight: 600; }
.gtc-games .gtc-games__btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #5B6B85; color: #FFFFFF; }

.gtc-games .gtc-games__more { font-size: 15px; font-weight: 600; }

.gtc-games .gtc-games__label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--gtc-ink); }

.gtc-games img { max-width: 100%; height: auto; }

/* Hello caps .wp-post-image heights; photos here fill their boxes. */
.gtc-games .gtc-games__img {
	display: block;
	width: 100%;
	height: 100% !important;
	max-height: none !important;
	object-fit: cover;
}

/* ---------- Sponsor ---------- */

.gtc-games .gtc-games__sponsor {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 12px 18px 12px 12px;
	border-radius: 12px;
	background: var(--gtc-tint);
	color: var(--gtc-ink);
}
.gtc-games a.gtc-games__sponsor,
.gtc-games a.gtc-games__sponsor:hover { color: var(--gtc-ink); }
.gtc-games a.gtc-games__sponsor:hover .gtc-games__sponsor-name { text-decoration: underline; }

.gtc-games .gtc-games__sponsor-logo {
	width: 64px !important;
	height: 64px !important;
	flex: none;
	border-radius: 8px;
	border: 1px solid var(--gtc-line-2);
	background: #FFFFFF;
	object-fit: contain;
	padding: 4px;
}
.gtc-games .gtc-games__sponsor-text { display: flex; flex-direction: column; gap: 2px; }
.gtc-games .gtc-games__sponsor-label { font-size: 13px; color: var(--gtc-soft); }
.gtc-games .gtc-games__sponsor-name { font-size: 16px; font-weight: 700; line-height: 1.3; }

.gtc-games .gtc-games__presented { display: inline-flex; align-items: center; gap: 12px; color: var(--gtc-ink); }
.gtc-games a.gtc-games__presented,
.gtc-games a.gtc-games__presented:hover { color: var(--gtc-ink); }
.gtc-games .gtc-games__presented-label { font-size: 14px; color: var(--gtc-soft); white-space: nowrap; }
.gtc-games .gtc-games__presented-logo { display: block; height: 56px !important; width: auto !important; max-width: 168px !important; object-fit: contain; border-radius: 6px; }
.gtc-games .gtc-games__presented-name { font-size: 16px; font-weight: 700; }

/* ---------- Ads ---------- */

.gtc-games .gtc-games__ad-slot,
.gtc-games .gtc-games__ad-slot > div { height: auto !important; min-height: 0 !important; max-width: 100%; }

.gtc-games .gtc-games__ad.is-empty { display: none; }

.gtc-games .gtc-games__ad .gtc-card-wrap,
.gtc-games .gtc-games__ad .gtc-card { margin: 0 !important; }

/* Native card shaped like the mockup: image, Sponsored tag, headline, name.
 * The card's own heading, description and call to action are hidden; the
 * Sponsored tag carries the disclosure (as on stories and archives). */
.gtc-games .gtc-games__ad .gtc-card-label,
.gtc-games .gtc-games__ad .gtc-card__dek,
.gtc-games .gtc-games__ad .gtc-card__desc,
.gtc-games .gtc-games__ad .gtc-card__cta { display: none !important; }

.gtc-games .gtc-games__ad:has(.gtc-games__ad-slot :is(a, img, iframe)) {
	border: 1px solid var(--gtc-line);
	border-radius: 16px;
	overflow: hidden;
	background: #FFFFFF;
}

.gtc-games .gtc-games__ad .gtc-card {
	display: flex !important;
	flex-direction: column;
	gap: 0;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.gtc-games .gtc-games__ad .gtc-card__media {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9 !important;
	border-radius: 0;
	overflow: hidden;
}
.gtc-games .gtc-games__ad .gtc-card__media img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.gtc-games .gtc-games__ad .gtc-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px 20px !important; }
.gtc-games .gtc-games__ad .gtc-card__title { margin: 0; font: 800 18px/1.3 var(--gtc-sans) !important; color: var(--gtc-ink); }
.gtc-games .gtc-games__ad .gtc-card__meta { margin: 0; font-size: 14px; color: var(--gtc-soft); }
.gtc-games .gtc-games__ad a,
.gtc-games .gtc-games__ad a:hover { color: var(--gtc-ink); }
.gtc-games .gtc-games__ad img { max-width: 100%; height: auto; }

.gtc-games .gtc-games__banner .gtc-ad { margin: 0; }

/* ---------- Newsletter ---------- */

html.gtc-reader-sub .gtc-games__signup { display: none; }

.gtc-games .gtc-games__signup {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	border-radius: 16px;
	background: var(--gtc-tint);
}
.gtc-games .gtc-games__signup-title { font: 700 28px/1.15 var(--gtc-serif); }
.gtc-games .gtc-games__signup-dek { font-size: 16px; line-height: 1.5; color: var(--gtc-mute); }
.gtc-games .gtc-games__signup-form { margin: 0; }
.gtc-games .gtc-games__signup-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gtc-games .gtc-games__signup-input {
	flex: 1 1 180px;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #C9D1DC;
	border-radius: 10px;
	background: #FFFFFF;
	color: var(--gtc-ink);
	font: 400 16px/1.2 var(--gtc-sans);
}

/* Game page: wide band. */
.gtc-games .gtc-games__signup--game { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 20px; }
.gtc-games .gtc-games__signup--game .gtc-games__signup-text { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.gtc-games .gtc-games__signup--game .gtc-games__signup-title { font-size: 26px; }
.gtc-games .gtc-games__signup--game .gtc-games__signup-form { flex: 1 1 320px; }
.gtc-games .gtc-games__signup--game .gtc-games__signup-row { flex-wrap: nowrap; }

/* ===================================================================
 * Hub
 * ================================================================ */

.gtc-games .gtc-games__hubhead {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}
.gtc-games .gtc-games__hubhead-text { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.gtc-games .gtc-games__hubtitle { font: 700 60px/1.02 var(--gtc-serif); }
.gtc-games .gtc-games__hubdek { font-size: 19px; line-height: 1.5; color: var(--gtc-mute); }
.gtc-games .gtc-games__hubdate { white-space: nowrap; }

.gtc-games .gtc-games__today { display: flex; flex-wrap: wrap; gap: 24px; }

/* WordroW feature card */
.gtc-games .gtc-games__feature {
	flex: 7 1 520px;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 40px;
	border-radius: 16px;
	background: var(--gtc-navy);
	color: #FFFFFF;
}
.gtc-games .gtc-games__feature-text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.gtc-games .gtc-games__kicker { font-size: 15px; font-weight: 600; color: #9FC2FF; }
.gtc-games .gtc-games__kicker--teal { color: var(--gtc-teal); }
.gtc-games .gtc-games__feature-title { font: 700 48px/1 var(--gtc-serif); }
.gtc-games .gtc-games__feature-title a,
.gtc-games .gtc-games__feature-title a:hover { color: #FFFFFF; }
.gtc-games .gtc-games__feature-dek { font-size: 18px; line-height: 1.5; color: #D5DCE6; }
.gtc-games .gtc-games__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.gtc-games .gtc-games__tiles { display: flex; flex-direction: column; gap: 8px; }
.gtc-games .gtc-games__tilerow { display: flex; gap: 8px; }
.gtc-games .gtc-games__tile {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font: 800 26px/1 var(--gtc-sans);
	color: #FFFFFF;
}
.gtc-games .gtc-games__tile--hit { background: #2F8F5B; }
.gtc-games .gtc-games__tile--near { background: #C99A2E; }
.gtc-games .gtc-games__tile--miss { background: var(--gtc-navy-line); }
.gtc-games .gtc-games__tile--empty { border: 2px solid var(--gtc-navy-line); }

/* Jigsaw card */
.gtc-games .gtc-games__card {
	flex: 5 1 360px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gtc-line);
	border-radius: 16px;
	overflow: hidden;
	background: #FFFFFF;
}
.gtc-games .gtc-games__card-media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 220px;
	background: var(--gtc-teal);
	color: #BFE3E6;
	overflow: hidden;
}
.gtc-games a.gtc-games__card-media:hover { color: #BFE3E6; }
.gtc-games .gtc-games__card-body { display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.gtc-games .gtc-games__card-title { font: 700 36px/1.05 var(--gtc-serif); }
.gtc-games .gtc-games__card-title a,
.gtc-games .gtc-games__card-title a:hover { color: var(--gtc-ink); }
.gtc-games .gtc-games__card-dek { font-size: 17px; line-height: 1.5; color: var(--gtc-mute); }
.gtc-games .gtc-games__card-body .gtc-games__btn { align-self: flex-start; margin-top: 8px; }

/* Row: Coming soon, native ad, newsletter */
.gtc-games .gtc-games__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 24px;
	align-items: stretch; /* Coast Quiz, ad and signup share the row's height */
}
.gtc-games .gtc-games__soon {
	--gtc-quiz-band: #5B3A9E;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gtc-line);
	border-radius: 16px;
	overflow: hidden;
	background: #FFFFFF;
}
/* Same height as the native ad's 16:9 image beside it, so the row lines up. */
.gtc-games .gtc-games__soon-media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	background: var(--gtc-quiz-band);
	color: #E6DAFA;
}
.gtc-games .gtc-games__quiz-art { width: 60%; max-width: 260px; height: auto; }
.gtc-games .gtc-games__quiz-pick { stroke: var(--gtc-quiz-band); }
.gtc-games .gtc-games__soon-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 28px; }
.gtc-games .gtc-games__soon-tag {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 999px;
	background: #F1EBFB;
	color: var(--gtc-purple);
	font-size: 13px;
	font-weight: 700;
}
.gtc-games .gtc-games__soon-title { font: 700 28px/1.15 var(--gtc-serif); }
.gtc-games .gtc-games__soon-text { font-size: 16px; color: var(--gtc-mute); }

/* Older puzzles */
.gtc-games .gtc-games__past { display: flex; flex-direction: column; gap: 20px; }
.gtc-games .gtc-games__sectionhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; }

/* One row of cards at their usual size. The hub loads more puzzles than fit;
 * cards that would wrap onto a second row are clipped (and gtc-games.js hides
 * them from keyboard and screen readers), so the row is always full. */
.gtc-games .gtc-games__past--days .gtc-games__pastlist,
.gtc-games .gtc-games__past--photos .gtc-games__pastlist {
	display: grid;
	grid-template-rows: auto;
	grid-auto-rows: 0;
	row-gap: 0;
	overflow: hidden;
}
.gtc-games .gtc-games__past--days .gtc-games__pastlist { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 12px; }
.gtc-games .gtc-games__past--photos .gtc-games__pastlist { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 20px; }

.gtc-games .gtc-games__day {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border: 1px solid var(--gtc-line);
	border-radius: 12px;
	color: var(--gtc-ink);
}
.gtc-games a.gtc-games__day { color: var(--gtc-ink); }
.gtc-games a.gtc-games__day:hover { border-color: #B9C2CE; color: var(--gtc-ink); }
.gtc-games .gtc-games__day-name { font-size: 14px; color: var(--gtc-soft); }
.gtc-games .gtc-games__day-date { font-size: 20px; font-weight: 800; }
.gtc-games .gtc-games__day-play { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--gtc-link); }

.gtc-games .gtc-games__photo { display: flex; flex-direction: column; gap: 10px; }
.gtc-games a.gtc-games__photo,
.gtc-games a.gtc-games__photo:hover { color: var(--gtc-ink); }
.gtc-games a.gtc-games__photo:hover .gtc-games__photo-label { text-decoration: underline; }
.gtc-games .gtc-games__photo-media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	border-radius: 12px;
	overflow: hidden;
	background: #D7E6EF;
	color: var(--gtc-teal);
}
.gtc-games .gtc-games__photo-label { font-size: 16px; font-weight: 700; }

/* ===================================================================
 * Game page
 * ================================================================ */

.gtc-games--game { padding-top: 28px; }
.gtc-games--game .gtc-games__inner { gap: 28px; }

.gtc-games .gtc-games__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "titles sponsor" "nav sponsor";
	align-items: center;
	gap: 6px 20px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--gtc-line);
}
.gtc-games .gtc-games__titles { grid-area: titles; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gtc-games .gtc-games__crumb { align-self: flex-start; font-size: 15px; font-weight: 600; }
.gtc-games .gtc-games__title { font: 700 48px/1.05 var(--gtc-serif); }

.gtc-games .gtc-games__nav { grid-area: nav; display: flex; align-items: center; gap: 10px; }
.gtc-games .gtc-games__arrow {
	width: 36px;
	height: 36px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gtc-line-2);
	border-radius: 8px;
}
.gtc-games a.gtc-games__arrow { color: var(--gtc-ink); }
.gtc-games a.gtc-games__arrow:hover { border-color: #B9C2CE; background: var(--gtc-tint); color: var(--gtc-ink); }
.gtc-games .gtc-games__arrow.is-off { border-color: var(--gtc-faint); color: #B9C2CE; }
.gtc-games .gtc-games__date { font-size: 17px; font-weight: 600; color: var(--gtc-ink); }
.gtc-games .gtc-games__date-short { display: none; }

.gtc-games .gtc-games__top .gtc-games__sponsor { grid-area: sponsor; justify-self: end; }

.gtc-games .gtc-games__layout { display: flex; align-items: stretch; gap: 40px; }
.gtc-games .gtc-games__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.gtc-games .gtc-games__rail { flex: 0 0 300px; width: 300px; }
.gtc-games .gtc-games__rail-inner { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 28px; }
.admin-bar .gtc-games__rail-inner { top: 56px; }

/* The game: PuzzleMe's embed in a bordered frame. */
.gtc-games .gtc-games__frame {
	border: 1px solid var(--gtc-line-2);
	border-radius: 14px;
	overflow: hidden;
	background: #FFFFFF;
}
.gtc-games .gtc-games__embed > :first-child { margin-top: 0; }
.gtc-games .gtc-games__embed > :last-child { margin-bottom: 0; }
.gtc-games .gtc-games__embed iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.gtc-games .gtc-games__embed > p { padding: 0 20px; }

/* How to play */
.gtc-games .gtc-games__how { padding-top: 20px; border-top: 1px solid var(--gtc-line); }
.gtc-games .gtc-games__how-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
.gtc-games .gtc-games__how-summary::-webkit-details-marker { display: none; }
.gtc-games .gtc-games__how-summary::after {
	content: "";
	width: 10px;
	height: 10px;
	margin-right: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	transition: transform .15s ease;
}
.gtc-games .gtc-games__how[open] .gtc-games__how-summary::after { transform: rotate(-135deg) translateY(-3px); }
.gtc-games .gtc-games__how-body { display: flex; flex-direction: column; gap: 12px; max-width: 680px; padding-top: 8px; }
.gtc-games .gtc-games__how-body p { font-size: 17px; line-height: 1.6; color: var(--gtc-text); }

/* More games */
.gtc-games .gtc-games__moregames { display: flex; flex-direction: column; gap: 16px; }
.gtc-games .gtc-games__moregames .gtc-games__h2,
.gtc-games .gtc-games__scores .gtc-games__h2 { font-size: 28px; }
.gtc-games .gtc-games__moregrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gtc-games .gtc-games__mini {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	border: 1px solid var(--gtc-line);
	border-radius: 12px;
	color: var(--gtc-ink);
}
.gtc-games a.gtc-games__mini,
.gtc-games a.gtc-games__mini:hover { color: var(--gtc-ink); }
.gtc-games a.gtc-games__mini:hover { border-color: #B9C2CE; }
.gtc-games .gtc-games__mini--soon { border-style: dashed; border-color: #B9C2CE; }
.gtc-games .gtc-games__mini-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gtc-games .gtc-games__mini-title { font-size: 18px; font-weight: 800; }
.gtc-games .gtc-games__mini-dek { font-size: 15px; color: var(--gtc-mute); }

.gtc-games .gtc-games__icon {
	width: 72px;
	height: 72px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
}
.gtc-games .gtc-games__icon--jigsaw { background: var(--gtc-teal); color: #BFE3E6; }
.gtc-games .gtc-games__icon--jigsaw svg { width: 36px; height: 36px; }
.gtc-games .gtc-games__icon--soon { background: #F1EBFB; color: var(--gtc-purple); font: 700 34px/1 var(--gtc-serif); }
.gtc-games .gtc-games__icon--tiles { background: var(--gtc-navy); display: grid; grid-template-columns: repeat(2, 18px); gap: 6px; align-content: center; justify-content: center; }
.gtc-games .gtc-games__icon--tiles i { display: block; width: 18px; height: 18px; border-radius: 50%; background: #2F8F5B; }
.gtc-games .gtc-games__icon--tiles i:nth-child(2) { background: #C99A2E; }
.gtc-games .gtc-games__icon--tiles i:nth-child(3) { background: var(--gtc-navy-line); }

/* Scores (comments) */
.gtc-games .gtc-games__scores { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--gtc-line); }
.gtc-games .gtc-games__scores-prompt { font-size: 16px; color: var(--gtc-mute); }
.gtc-games .gtc-games__scores .comments-area,
.gtc-games .gtc-games__scores #comments { margin: 0; padding: 0; max-width: none; }
.gtc-games .gtc-games__scores .comments-area :is(h2, h3, .title-comments, .comments-title, .comment-reply-title, #reply-title) {
	margin: 8px 0 4px;
	font: 700 18px/1.3 var(--gtc-sans);
	color: var(--gtc-ink);
}
.gtc-games .gtc-games__scores .says { display: none; }
.gtc-games .gtc-games__scores .comment-author .fn { font-weight: 700; font-style: normal; }
.gtc-games .gtc-games__scores .comment-list { margin: 0; padding: 0; list-style: none; }
.gtc-games .gtc-games__scores .comment-list .comment { padding: 14px 0; border-top: 1px solid var(--gtc-faint); }
.gtc-games .gtc-games__scores .comment-list .children { margin: 8px 0 0 28px; padding: 0; list-style: none; }
.gtc-games .gtc-games__scores .comment-author { font-size: 15px; font-weight: 700; }
.gtc-games .gtc-games__scores .comment-author img { border-radius: 50%; }
.gtc-games .gtc-games__scores .comment-metadata,
.gtc-games .gtc-games__scores .comment-meta a { font-size: 13px; font-weight: 400; color: var(--gtc-soft); }
.gtc-games .gtc-games__scores .comment-content { font-size: 16px; line-height: 1.5; }
.gtc-games .gtc-games__scores .comment-respond { margin-top: 8px; }
.gtc-games .gtc-games__scores .comment-reply-title { font: 700 16px/1.3 var(--gtc-sans); }
.gtc-games .gtc-games__scores textarea:not(.jetpack-comments__textarea) {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #C9D1DC;
	border-radius: 10px;
	font: 400 16px/1.5 var(--gtc-sans);
}
.gtc-games .gtc-games__scores .form-submit input[type="submit"],
.gtc-games .gtc-games__scores .form-submit input[type="submit"]:focus {
	min-height: 44px;
	padding: 11px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--gtc-ink);
	color: #FFFFFF;
	font: 700 15px/1.2 var(--gtc-sans);
	cursor: pointer;
}
.gtc-games .gtc-games__scores .form-submit input[type="submit"]:hover { background: #2A3038; color: #FFFFFF; }

/* The Jetpack comment form itself is styled site-wide in gtc-comments.css. */

/* Rail */
.gtc-games .gtc-games__pastpuzzles { display: flex; flex-direction: column; }
.gtc-games .gtc-games__rail-title { margin: 0 0 8px; font: 800 17px/1.3 var(--gtc-sans); }
.gtc-games .gtc-games__pastrows { margin: 0; padding: 0; list-style: none; }
.gtc-games .gtc-games__pastrows a {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid var(--gtc-faint);
	font-size: 15px;
	color: var(--gtc-ink);
}
.gtc-games .gtc-games__pastrows a,
.gtc-games .gtc-games__pastrows a:hover { color: var(--gtc-ink); }
.gtc-games .gtc-games__pastrows a:hover span:first-child { text-decoration: underline; }
.gtc-games .gtc-games__play { font-weight: 600; color: var(--gtc-link); }
.gtc-games .gtc-games__pastpuzzles .gtc-games__more { padding-top: 10px; }

/* ---------- Game page under 1,024px: one column, phone order ---------- */

@media (max-width: 1023px) {
	.gtc-games .gtc-games__layout { flex-direction: column; gap: 28px; }
	.gtc-games .gtc-games__main,
	.gtc-games .gtc-games__rail,
	.gtc-games .gtc-games__rail-inner { display: contents; }

	.gtc-games .gtc-games__frame { order: 1; }
	.gtc-games .gtc-games__ad--rail { order: 2; }
	.gtc-games .gtc-games__moregames { order: 3; }
	.gtc-games .gtc-games__how { order: 4; }
	.gtc-games .gtc-games__scores { order: 5; }
	.gtc-games .gtc-games__signup--game { order: 6; }
	.gtc-games .gtc-games__pastpuzzles { display: none; }

	.gtc-games .gtc-games__ad--rail { width: 100%; max-width: 560px; }
}

/* ---------- Phones ---------- */

@media (max-width: 760px) {
	.gtc-games { --gtc-pad: 18px; padding: 22px 0 40px; }
	.gtc-games .gtc-games__inner { gap: 32px; }
	.gtc-games .gtc-games__h2 { font-size: 26px; }

	/* Hub */
	.gtc-games--hub .gtc-games__inner { gap: 22px; }
	.gtc-games .gtc-games__hubhead { flex-direction: column; align-items: stretch; gap: 16px; }
	.gtc-games .gtc-games__hubtitle { font-size: 40px; line-height: 1.05; }
	.gtc-games .gtc-games__hubdek { font-size: 16px; }
	.gtc-games .gtc-games__hubdate { display: none; }
	.gtc-games .gtc-games__sponsor { padding: 10px 14px 10px 10px; gap: 12px; }
	.gtc-games .gtc-games__sponsor-logo { width: 48px !important; height: 48px !important; }
	.gtc-games .gtc-games__sponsor-label { font-size: 12px; }
	.gtc-games .gtc-games__sponsor-name { font-size: 15px; }

	.gtc-games .gtc-games__today { flex-direction: column; gap: 22px; }
	.gtc-games .gtc-games__feature { flex: none; flex-direction: column-reverse; flex-wrap: nowrap; align-items: stretch; gap: 12px; padding: 24px; }
	.gtc-games .gtc-games__feature-text { flex: none; gap: 12px; }
	.gtc-games .gtc-games__kicker { font-size: 14px; margin-top: 4px; }
	.gtc-games .gtc-games__feature-title { font-size: 36px; }
	.gtc-games .gtc-games__feature-dek { font-size: 16px; }
	.gtc-games .gtc-games__actions { margin-top: 6px; }
	.gtc-games .gtc-games__actions .gtc-games__btn { flex: 1 1 100%; }
	.gtc-games .gtc-games__actions .gtc-games__btn--ghost { display: none; }
	.gtc-games .gtc-games__tilerow:not(.gtc-games__tilerow--solved) { display: none; }
	.gtc-games .gtc-games__tilerow { gap: 6px; }
	.gtc-games .gtc-games__tile { width: 40px; height: 40px; font-size: 20px; }

	.gtc-games .gtc-games__card { flex: none; }
	.gtc-games .gtc-games__card-media { height: 150px; }
	.gtc-games .gtc-games__card-media svg { width: 80px; height: 80px; }
	.gtc-games .gtc-games__card-body { padding: 20px; gap: 8px; }
	.gtc-games .gtc-games__card-title { font-size: 30px; }
	.gtc-games .gtc-games__card-dek { font-size: 16px; }
	.gtc-games .gtc-games__card-body .gtc-games__btn { align-self: stretch; }

	.gtc-games .gtc-games__row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.gtc-games .gtc-games__row .gtc-games__ad { order: -1; }
	.gtc-games .gtc-games__soon-media { aspect-ratio: auto; height: 150px; }
	.gtc-games .gtc-games__quiz-art { width: 200px; }
	.gtc-games .gtc-games__soon-body { padding: 20px; gap: 8px; }
	.gtc-games .gtc-games__soon-title { font-size: 28px; }
	.gtc-games .gtc-games__soon-text { font-size: 15px; }

	.gtc-games .gtc-games__signup { padding: 20px; gap: 10px; }
	.gtc-games .gtc-games__signup-title { font-size: 22px; }
	.gtc-games .gtc-games__signup-row { flex-direction: column; }
	.gtc-games .gtc-games__signup-row .gtc-games__signup-input { flex: none; width: 100%; }
	.gtc-games .gtc-games__signup-row .gtc-games__btn { width: 100%; }
	.gtc-games .gtc-games__signup--game .gtc-games__signup-row { flex-wrap: wrap; }
	.gtc-games .gtc-games__signup--game .gtc-games__signup-title { font-size: 22px; }
	.gtc-games .gtc-games__signup--game .gtc-games__signup-dek { display: none; }

	/* Missed a day: sideways scroll */
	.gtc-games .gtc-games__past { gap: 12px; }
	.gtc-games .gtc-games__past--days .gtc-games__pastlist {
		display: flex;
		gap: 10px;
		margin: 0 calc(-1 * var(--gtc-pad));
		padding: 0 var(--gtc-pad) 4px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scroll-padding-inline: var(--gtc-pad);
		-webkit-overflow-scrolling: touch;
	}
	.gtc-games .gtc-games__day { flex: none; width: 104px; padding: 12px; gap: 2px; scroll-snap-align: start; }
	.gtc-games .gtc-games__day-name { font-size: 13px; }
	.gtc-games .gtc-games__day-date { font-size: 18px; }
	.gtc-games .gtc-games__day-play { font-size: 13px; margin-top: 4px; }
	.gtc-games .gtc-games__past--photos .gtc-games__pastlist { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 14px; overflow: visible; }
	.gtc-games .gtc-games__past--photos .gtc-games__photo:nth-child(n+5) { display: none; }
	.gtc-games .gtc-games__past--days .gtc-games__day:nth-child(n+8) { display: none; }
	.gtc-games .gtc-games__photo-label { font-size: 14px; }

	/* Game page */
	.gtc-games--game { padding-top: 0; }
	.gtc-games--game .gtc-games__inner { gap: 14px; }
	.gtc-games .gtc-games__top {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "titles nav" "sponsor sponsor";
		gap: 12px;
		padding: 16px 0 0;
		border-bottom: 0;
	}
	.gtc-games .gtc-games__titles { gap: 2px; }
	.gtc-games .gtc-games__crumb { font-size: 14px; }
	.gtc-games .gtc-games__title { font-size: 32px; }
	.gtc-games .gtc-games__nav { gap: 4px; }
	.gtc-games .gtc-games__arrow { width: 44px; height: 44px; border-radius: 10px; }
	.gtc-games .gtc-games__date { padding: 0 6px; font-size: 15px; font-weight: 700; }
	.gtc-games .gtc-games__date-long { display: none; }
	.gtc-games .gtc-games__date-short { display: inline; }
	.gtc-games .gtc-games__top .gtc-games__sponsor { justify-self: stretch; }
	.gtc-games .gtc-games__presented-label { font-size: 13px; }
	.gtc-games .gtc-games__presented-logo { height: 40px !important; max-width: 128px !important; }
	.gtc-games .gtc-games__presented-name { font-size: 15px; }

	.gtc-games .gtc-games__layout { gap: 24px; }
	.gtc-games .gtc-games__frame {
		margin: 0 calc(-1 * var(--gtc-pad));
		border-left: 0;
		border-right: 0;
		border-radius: 0;
	}
	.gtc-games .gtc-games__ad--rail { max-width: none; }
	.gtc-games .gtc-games__moregames { gap: 12px; }
	.gtc-games .gtc-games__moregames .gtc-games__h2,
	.gtc-games .gtc-games__scores .gtc-games__h2 { font-size: 24px; }
	.gtc-games .gtc-games__moregrid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.gtc-games .gtc-games__mini { padding: 14px; gap: 14px; }
	.gtc-games .gtc-games__icon { width: 56px; height: 56px; }
	.gtc-games .gtc-games__icon--tiles { grid-template-columns: repeat(2, 14px); gap: 5px; }
	.gtc-games .gtc-games__icon--tiles i { width: 14px; height: 14px; }
	.gtc-games .gtc-games__icon--jigsaw svg { width: 30px; height: 30px; }
	.gtc-games .gtc-games__mini-title { font-size: 17px; }
	.gtc-games .gtc-games__mini-dek { font-size: 14px; }
	.gtc-games .gtc-games__how { padding-top: 16px; }
	.gtc-games .gtc-games__how-summary { font-size: 17px; }
	.gtc-games .gtc-games__how-body p { font-size: 16px; }
	.gtc-games .gtc-games__scores { padding-top: 18px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.gtc-games *,
	.gtc-games *::after { transition: none !important; }
}
