/*
 * The Interactive room: Games and Tools, as tabs over a grey board, as the events pages have them. Jamey picked
 * this look, A, "like What's On". Phones first: on a phone the tabs share the width, and each card is a row with
 * its picture on the left. On a computer the cards stand three or four to a row, and the room grows with the
 * screen, up to 1880 wide, its words with it. Jamey, on his 27 inch screen: "it looks small on desktop. it should
 * not be shrunk down to fit things".
 *
 * Each tab opens on its heroes: this week's Vote and GuessWhere on Games, True Size and 'Swich Weather on Tools, big,
 * each a press to its own page, as GuessWhere's is. Jamey: "guesswhere does it perfectly".
 *
 * The room sits in the theme's reading column, so it reaches out to the window's edges, and undoes the column's
 * own rules for headings, paragraphs, lists and links. Each rule here is two classes deep or more for that.
 */
@font-face {
	font-family: "IWS Anton";
	src: url("fonts/anton-latin.woff") format("woff");
	font-weight: 400;
	font-display: swap;
}

body.iig-game-room #content {
	padding-top: 0;
}

.iig-room {
	--room-maroon: #73182c;
	--room-yellow: #ffdd2c;
	--room-cream: #fff4bd;
	--room-blue: #12a7ff;
	--room-blue-edge: #0a84cf;
	--room-link: #0a58a8;
	--room-grey: #eaecf0;
	--room-edge: #c4c8d0;
	--room-ink: #222;
	--room-soft: #525a67;
	--room-anton: Anton, "IWS Anton", Impact, "Arial Narrow", sans-serif;
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin: 0 0 0 calc(50% - 50vw);
	padding: 16px 0 36px;
	color: var(--room-ink);
	font-family: Poppins, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	text-align: left;
}
.iig-room *,
.iig-room *::before,
.iig-room *::after {
	box-sizing: border-box;
}
.iig-room .iig-room__in {
	max-width: 1880px;
	margin: 0 auto;
	padding: 0 12px;
}

/* ---- The tabs: the events tabs, a little bigger, as they are the way round here. */
.iig-room .iig-room__tabs {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	border-bottom: 5px solid var(--room-maroon);
}
.iig-room .iig-room__tab {
	flex: 1 1 0;
	display: block;
	min-height: 50px;
	padding: 13px 8px 11px;
	border-radius: 14px 14px 0 0;
	background: var(--room-grey);
	color: var(--room-maroon);
	font-size: 17px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
	text-decoration: none;
}
.iig-room .iig-room__tab:hover {
	background: #f6e8eb;
	color: var(--room-maroon);
}
.iig-room .iig-room__tab[aria-current="page"] {
	background: var(--room-maroon);
	color: #fff;
}
.iig-room .iig-room__tab:focus-visible {
	outline: 3px solid var(--room-blue);
	outline-offset: 2px;
}

/* ---- The board, joined to the tabs. */
.iig-room .iig-room__board {
	padding: 20px 12px 26px;
	border-radius: 0 0 18px 18px;
	background: var(--room-grey);
}
.iig-room .iig-room__head {
	margin: 0 0 22px;
	padding: 0;
}
.iig-room .iig-room__head h1.iig-room__title {
	margin: 0;
	padding: 0;
	color: var(--room-maroon);
	font-family: var(--room-anton);
	font-size: clamp(30px, 22px + 2.6vw, 48px);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: 0;
	text-align: left;
	text-transform: uppercase;
}
.iig-room .iig-room__head .iig-room__lead {
	margin: 8px 0 0;
	padding: 0;
	color: var(--room-soft);
	font-size: 16px;
	line-height: 1.45;
}
.iig-room .iig-room__shelf {
	margin: 0;
	padding: 0;
}
.iig-room .iig-room__shelf + .iig-room__shelf {
	margin-top: 28px;
}
.iig-room .iig-room__shelf h2.iig-room__shelf-title {
	margin: 0 0 10px;
	padding: 0;
	color: var(--room-maroon);
	font-family: var(--room-anton);
	font-size: 23px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0;
	text-align: left;
	text-transform: uppercase;
}

/* ---- The cards. A list of them; each one is an article in its own cell, and the cell's width decides how the card
 * lies: Chrome's guide to cards has the card answer to its own space, not the window. */
.iig-room .iig-room__cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.iig-room .iig-room__cards .iig-room__cell {
	display: flex;
	min-width: 0;
	margin: 0;
	padding: 0;
	container-type: inline-size;
}
.iig-room .iig-room__cell::before,
.iig-room .iig-room__cell::marker {
	content: none;
}
.iig-room .iig-room__card {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 5px 0 var(--room-edge);
}
.iig-room .iig-room__card .iig-room__art {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--room-maroon);
	object-fit: cover;
	box-shadow: none;
}
/* Headings are Anton in capitals, as the theme's are (Disassembled, from 0.1.6). Jamey: "I love ANTON all CAPS", and
 * "where did the anton heading rule go i thought that was baked into disassembled our theme". */
.iig-room .iig-room__card h3.iig-room__name {
	margin: 14px 16px 0;
	padding: 0;
	color: var(--room-ink);
	font-family: var(--room-anton);
	font-size: 21px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-align: left;
	text-transform: uppercase;
}
/* The heading's link covers the whole card, so a press anywhere on it goes there. */
.iig-room .iig-room__card .iig-room__link {
	color: inherit;
	text-decoration: none;
	box-shadow: none;
}
.iig-room .iig-room__card .iig-room__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: 16px;
}
.iig-room .iig-room__card .iig-room__link:focus-visible {
	outline: none;
}
.iig-room .iig-room__card:has(.iig-room__link:focus-visible) {
	outline: 3px solid var(--room-blue);
	outline-offset: 3px;
}
@supports not selector(:has(*)) {
	.iig-room .iig-room__card .iig-room__link:focus-visible::after {
		outline: 3px solid var(--room-blue);
		outline-offset: 3px;
	}
}
.iig-room .iig-room__card .iig-room__line {
	margin: 6px 16px 0;
	padding: 0;
	color: var(--room-soft);
	font-size: 15px;
	line-height: 1.4;
}
/* What is new this week, on its own pale yellow. */
.iig-room .iig-room__card .iig-room__week {
	margin: 8px 16px 0;
	padding: 9px 11px 10px;
	border-radius: 10px;
	background: var(--room-cream);
	color: var(--room-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.38;
}
.iig-room .iig-room__week .iig-room__when {
	display: block;
	color: var(--room-maroon);
	font-size: 12px;
	font-weight: 700;
}
.iig-room .iig-room__card .iig-room__foot {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: auto 16px 16px;
	padding: 12px 0 0;
}
/* The archive: its own press, above the card's, under the button. Jamey: "these games also have massive archives",
 * and "shouldnt the plus 85 past polls be under the button for all them?" */
.iig-room .iig-room__foot .iig-room__past {
	position: relative;
	z-index: 1;
	align-self: center;
	padding: 5px 0;
	color: var(--room-link);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.iig-room .iig-room__foot .iig-room__past:hover {
	color: #063f7a;
}
.iig-room .iig-room__foot .iig-room__past:focus-visible {
	outline: 3px solid var(--room-blue);
	outline-offset: 2px;
}
/* The button. Dark words on the blue, as the newsletter's own button has them: white on this blue is hard to read. */
.iig-room .iig-room__foot .iig-room__go {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 12px;
	border-radius: 12px;
	background: var(--room-blue);
	box-shadow: 0 3px 0 var(--room-blue-edge);
	color: #0c1a28;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}
@media (prefers-reduced-motion: no-preference) {
	.iig-room .iig-room__card {
		transition: transform 0.12s, box-shadow 0.12s;
	}
	.iig-room .iig-room__card:has(.iig-room__link:hover) {
		transform: translateY(-2px);
		box-shadow: 0 7px 0 var(--room-edge);
	}
	.iig-room .iig-room__card:has(.iig-room__link:active) {
		transform: translateY(3px);
		box-shadow: 0 2px 0 var(--room-edge);
	}
}

/* A card with room for it lies on its side: its picture on the left, the words beside it. On a phone, every card. */
@container (min-width: 300px) {
	.iig-room .iig-room__card {
		display: grid;
		grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
		grid-template-rows: auto auto 1fr;
		column-gap: 12px;
		align-content: start;
		padding: 10px;
	}
	.iig-room .iig-room__card .iig-room__art {
		grid-column: 1;
		grid-row: 1 / span 3;
		align-self: start;
		border-radius: 9px;
	}
	.iig-room .iig-room__card h3.iig-room__name {
		grid-column: 2;
		margin: 0;
		font-size: 19px;
	}
	.iig-room .iig-room__card .iig-room__line,
	.iig-room .iig-room__card .iig-room__week {
		grid-column: 2;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
		margin: 4px 0 0;
		padding: 0;
		background: none;
		font-size: 14px;
		line-height: 1.35;
	}
	.iig-room .iig-room__card .iig-room__week {
		font-weight: 500;
	}
	.iig-room .iig-room__card .iig-room__when {
		display: inline;
		margin-right: 3px;
		font-size: 14px;
	}
	.iig-room .iig-room__card .iig-room__foot {
		grid-column: 2;
		align-items: flex-start;
		margin: 0;
		padding: 6px 0 2px;
	}
	.iig-room .iig-room__card .iig-room__past {
		align-self: flex-start;
	}
	.iig-room .iig-room__card .iig-room__go {
		min-height: 40px;
		padding: 0 16px;
		border-radius: 10px;
		font-size: 15px;
	}
}

/* ---- A tablet. */
@media (min-width: 600px) {
	.iig-room {
		padding: 28px 0 48px;
	}
	.iig-room .iig-room__in {
		padding: 0 24px;
	}
	.iig-room .iig-room__tab {
		flex: 0 0 auto;
		min-width: 150px;
		padding: 13px 30px 11px;
		font-size: 18px;
	}
	.iig-room .iig-room__board {
		padding: 30px 30px 38px;
		border-radius: 0 0 22px 22px;
	}
	.iig-room .iig-room__head {
		margin-bottom: 30px;
	}
	.iig-room .iig-room__head .iig-room__lead {
		font-size: 18px;
	}
	.iig-room .iig-room__shelf + .iig-room__shelf {
		margin-top: 38px;
	}
	.iig-room .iig-room__shelf h2.iig-room__shelf-title {
		margin-bottom: 14px;
		font-size: 27px;
	}
	.iig-room .iig-room__cards {
		gap: 18px;
	}
	/* Games, and the last tools, three to a row. */
	.iig-room .iig-room__cards--games {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.iig-room .iig-room__cards--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---- A computer: games three to a row, the maps four. Here a card always stands, its picture over its words, and
 * the room, its cards and its words grow with the screen. */
@media (min-width: 1100px) {
	.iig-room .iig-room__in {
		padding: 0 clamp(24px, 2.2vw, 56px);
	}
	.iig-room .iig-room__cards .iig-room__cell {
		container-type: normal;
	}
	.iig-room .iig-room__tab {
		min-width: 170px;
		min-height: 56px;
		padding: 14px 36px 12px;
		font-size: clamp(18px, 0.35vw + 14px, 22px);
	}
	.iig-room .iig-room__board {
		padding: clamp(30px, 2.2vw, 52px) clamp(30px, 2.2vw, 52px) clamp(38px, 2.6vw, 60px);
	}
	.iig-room .iig-room__head {
		margin-bottom: clamp(30px, 2vw, 46px);
	}
	.iig-room .iig-room__head h1.iig-room__title {
		font-size: clamp(46px, 2vw + 20px, 70px);
	}
	.iig-room .iig-room__head .iig-room__lead {
		font-size: clamp(18px, 0.35vw + 14px, 22px);
	}
	.iig-room .iig-room__shelf + .iig-room__shelf {
		margin-top: clamp(38px, 2.6vw, 62px);
	}
	.iig-room .iig-room__shelf h2.iig-room__shelf-title {
		margin-bottom: clamp(14px, 1vw, 22px);
		font-size: clamp(27px, 0.9vw + 16px, 38px);
	}
	.iig-room .iig-room__cards--games,
	.iig-room .iig-room__cards--four {
		gap: clamp(20px, 1.5vw, 34px);
	}
	.iig-room .iig-room__cards--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	/* Five maps: three to a row on a laptop, then all five once the screen is wide. */
	.iig-room .iig-room__cards--five {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.iig-room .iig-room__card,
	.iig-room .iig-room__card .iig-room__link::after {
		border-radius: clamp(16px, 1vw, 22px);
	}
	.iig-room .iig-room__card h3.iig-room__name {
		margin: clamp(14px, 1vw, 22px) clamp(16px, 1.1vw, 26px) 0;
		font-size: clamp(22px, 0.6vw + 14px, 30px);
	}
	.iig-room .iig-room__card .iig-room__line {
		margin: 6px clamp(16px, 1.1vw, 26px) 0;
		font-size: clamp(15px, 0.3vw + 11px, 18px);
	}
	.iig-room .iig-room__card .iig-room__week {
		margin: 8px clamp(16px, 1.1vw, 26px) 0;
		padding: clamp(9px, 0.7vw, 15px) clamp(11px, 0.85vw, 18px);
		border-radius: clamp(10px, 0.7vw, 14px);
		font-size: clamp(14px, 0.35vw + 9.5px, 18px);
	}
	.iig-room .iig-room__week .iig-room__when {
		font-size: clamp(12px, 0.25vw + 9px, 15px);
	}
	.iig-room .iig-room__card .iig-room__foot {
		gap: clamp(6px, 0.5vw, 10px);
		margin: auto clamp(16px, 1.1vw, 26px) clamp(16px, 1.1vw, 26px);
	}
	.iig-room .iig-room__foot .iig-room__go {
		min-height: clamp(46px, 0.9vw + 34px, 58px);
		border-radius: clamp(12px, 0.8vw, 16px);
		font-size: clamp(16px, 0.3vw + 12px, 20px);
	}
	.iig-room .iig-room__foot .iig-room__past {
		font-size: clamp(14px, 0.25vw + 11px, 17px);
	}
}

/* ==== The heroes: each tab opens on its games or tools, shown big, as they are this week. Games: this week's Vote,
 * its question and answers, and this week's GuessWhere photo. Tools: True Size, a look at it, and 'Swich Weather. A
 * hero is one big press to its own page, and the size of its words follows its own width, so it grows with the
 * screen. */
.iig-room [hidden] {
	display: none !important;
}
.iig-room .iig-room__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 0 0 30px;
}
.iig-room .iig-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 5px 0 var(--room-edge);
	container-type: inline-size;
}
.iig-room .iig-hero__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding: 18px 16px 20px;
}
.iig-room .iig-hero h2.iig-hero__ask {
	margin: 0;
	padding: 0;
	color: var(--room-ink);
	font-family: var(--room-anton);
	font-size: 30px;
	font-size: clamp(30px, 3.4cqi + 16px, 58px);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: 0.01em;
	text-align: left;
	text-transform: uppercase;
}
/* GuessWhere's own word in its heading, cut from its card picture (class-iig-room.php has the numbers: 1500 by 750, the
 * word 809 by 107, from 348 across and 234 down), as tall as Anton's capitals (1760 of 2048) and sat on the line. */
.iig-room .iig-hero .iig-hero__gw {
	--gw: 0.86em;
	display: inline-block;
	position: relative;
	overflow: hidden;
	width: calc(var(--gw) * 809 / 107);
	height: var(--gw);
	vertical-align: baseline;
}
.iig-room .iig-hero .iig-hero__gw img {
	position: absolute;
	top: calc(var(--gw) * -234 / 107);
	left: calc(var(--gw) * -348 / 107);
	width: calc(var(--gw) * 1500 / 107);
	max-width: none;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.iig-room .iig-hero .iig-hero__line {
	margin: 8px 0 0;
	padding: 0;
	color: var(--room-soft);
	font-size: 16px;
	font-size: clamp(16px, 0.9cqi + 11px, 20px);
	line-height: 1.45;
}
.iig-room .iig-hero .iig-hero__tag {
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--room-cream);
	color: var(--room-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}
.iig-room .iig-hero__tag strong {
	margin-right: 4px;
	color: var(--room-maroon);
	font-weight: 800;
}
.iig-room .iig-hero .iig-hero__foot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: auto 0 0;
	padding: 16px 0 0;
}
.iig-room .iig-hero__foot .iig-room__go {
	align-self: stretch;
	min-height: 52px;
	font-size: 18px;
}
.iig-room .iig-hero__foot:empty {
	display: none;
}
/* A plain button that is a link: True Size full screen. In a hero's footer, the whole width. */
.iig-room .iig-hero__foot .iig-hero__button {
	align-self: stretch;
}
.iig-room .iig-hero .iig-hero__button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 20px;
	border-radius: 12px;
	background: var(--room-blue);
	box-shadow: 0 3px 0 var(--room-blue-edge);
	color: #0c1a28;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}
.iig-room .iig-hero .iig-hero__button:hover {
	background: #3db6ff;
	color: #0c1a28;
}
.iig-room .iig-hero .iig-hero__button:focus-visible {
	outline: 3px solid var(--room-ink);
	outline-offset: 3px;
}

/* ---- Vote: its blue band, with VOTE and its four dots as the poll's own page has them. */
.iig-room .iig-hero__band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 14px;
	padding: 12px 16px;
	background: var(--room-blue);
}
.iig-room .iig-hero__band .iig-hero__mark {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	color: #0c1a28;
	text-decoration: none;
}
.iig-room .iig-hero__letters,
.iig-room .iig-hero__dots {
	display: grid;
	grid-template-columns: repeat(4, 24px);
	justify-items: center;
	column-gap: 5px;
}
.iig-room .iig-hero__letters {
	font-family: Poppins, Arial, sans-serif;
	font-size: 29px;
	font-weight: 800;
	line-height: 1;
}
.iig-room .iig-hero__dots i {
	display: block;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 2px #0c1a28;
}
.iig-room .iig-hero__dots i:first-child {
	background: radial-gradient(circle, #0c1a28 0 3px, #fff 3.5px);
}
/* The poll's answers. Each is its own press, above the card's: it goes to the poll's own page with that answer chosen,
 * ready for Confirm vote. A press anywhere else on the card goes there with nothing chosen. */
.iig-room .iig-hero ul.iig-hero__options {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	min-width: 0;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
.iig-room .iig-hero ul.iig-hero__options li.iig-hero__option {
	margin: 0;
	padding: 0;
	list-style: none;
}
.iig-room .iig-hero ul.iig-hero__options li.iig-hero__option::before {
	content: none;
}
.iig-room .iig-hero__choice {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 58px;
	padding: 10px 14px;
	border: 2px solid var(--room-edge);
	border-radius: 14px;
	background: #fff;
	color: var(--room-ink);
	font-size: 18px;
	font-size: clamp(18px, 1.2cqi + 11px, 24px);
	font-weight: 600;
	line-height: 1.3;
}
.iig-room .iig-hero a.iig-hero__choice {
	position: relative;
	z-index: 2;
	box-shadow: none;
	color: var(--room-ink);
	text-decoration: none;
}
.iig-room .iig-hero a.iig-hero__choice:focus-visible {
	outline: 3px solid var(--room-blue);
	outline-offset: 2px;
}
@media (hover: hover) {
	.iig-room .iig-hero a.iig-hero__choice:hover {
		border-color: var(--room-blue);
		background: #f0faff;
		color: var(--room-ink);
	}
}
.iig-room .iig-hero__letter {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--room-grey);
	color: var(--room-maroon);
	font-size: 17px;
	font-weight: 800;
}
.iig-room .iig-hero__words {
	flex: 1;
	min-width: 0;
}
.iig-room .iig-hero .iig-hero__option-art {
	flex: none;
	width: 56px;
	height: 56px;
	margin: 0;
	border-radius: 8px;
	object-fit: cover;
}
/* ---- GuessWhere: the photo, big, then its words. The whole card is one press, as the cards below are. */
.iig-room .iig-hero__shot {
	flex: none;
	background: #2b3138;
}
/* The photo is the clue, so it is never cut to fit: always whole, at its own shape. */
.iig-room .iig-hero__shot .iig-hero__photo {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
/* A photo whose size could not be read keeps a square's room while it loads, and still shows whole. */
.iig-room .iig-hero__shot .iig-hero__photo:not([width]) {
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
.iig-room .iig-hero--where .iig-hero__tag {
	align-self: flex-start;
	margin: 0 0 12px;
}
.iig-room .iig-hero .iig-room__link {
	color: inherit;
	text-decoration: none;
	box-shadow: none;
}
/* The heading's link covers the whole hero, over everything that comes after it in the card (a map, the weather). An
 * archive link and the weather's own links stay their own press, above it. */
.iig-room .iig-hero .iig-room__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.iig-room .iig-hero .iig-room__foot .iig-room__past {
	z-index: 2;
}
.iig-room .iig-hero .iig-room__link:focus-visible {
	outline: none;
}
.iig-room .iig-hero:has(.iig-room__link:focus-visible) {
	outline: 3px solid var(--room-blue);
	outline-offset: 3px;
}
@supports not selector(:has(*)) {
	.iig-room .iig-hero .iig-room__link:focus-visible::after {
		outline: 3px solid var(--room-blue);
		outline-offset: -3px;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.iig-room .iig-hero {
		transition: transform 0.12s, box-shadow 0.12s;
	}
	.iig-room .iig-hero:has(.iig-room__link:hover) {
		transform: translateY(-2px);
		box-shadow: 0 7px 0 var(--room-edge);
	}
}
/* The weather's own links (its makers' names) stay their own press, above the card's. */
.iig-room .iig-hero--weather #ii-weather-widget a {
	position: relative;
	z-index: 2;
}

/* ---- True Size: a picture of the tool (Ipswich over New York, none of its buttons), then its button. A press anywhere
 * opens the tool. The picture fills its space and is cut to fit, never squashed: upright on a phone, square beyond, with room
 * round the outline to be cut to a wide space on a tablet and a tall one on a computer. */
.iig-room .iig-hero__map {
	position: relative;
	overflow: hidden;
	height: 340px;
	height: clamp(300px, 46svh, 440px);
	background: #aad3df;
}
.iig-room .iig-hero__map .iig-hero__look {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
}
/* The map's credit, in its corner, as the tool has it. Its own press, above the card's. */
.iig-room .iig-hero__map a.iig-hero__credit {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 2px 7px;
	border-radius: 6px 0 0;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: none;
	color: #333;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
}
.iig-room .iig-hero__map a.iig-hero__credit:hover {
	color: #000;
	text-decoration: underline;
}
.iig-room .iig-hero__map a.iig-hero__credit:focus-visible {
	outline: 3px solid var(--room-ink);
	outline-offset: -3px;
}
/* A hero that shows a tool: what it is for first, then the tool, then its button. Vote has its question first too. */
.iig-room .iig-hero__top {
	padding: 18px 16px 14px;
}
.iig-room .iig-hero__under {
	display: flex;
	flex-direction: column;
	padding: 16px 16px 20px;
}

/* ---- 'Swich Weather, as its own page draws it, with its own look, and only what no other weather app has. Jamey:
 * "locals acutally probably dont htink of weather as a handy tool but that comparison part of our tool might be
 * comparing to last year etc that is at least something new". So: today, then today against last year, then the
 * records for this date. Not the reading now, the next three days, or the rain radar ("remove rain radar from this
 * tools doorway screen": hidden, the weather's script never loads it, so no radar calls are made for it). On its own
 * page the weather reaches the window's edges; here it stays in its card. */
.iig-room .iig-hero--weather {
	background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}
.iig-room .iig-hero--weather #ii-weather-widget {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* The weather's card gives its ground to the hero's, and stops keeping its layers to itself (isolation), so its own
 * links can sit above the hero's one press. Its soft clouds still drift behind its words. */
.iig-room .iig-hero--weather #ii-weather-widget .iiw-card {
	border-radius: 0;
	background: none;
	isolation: auto;
}
.iig-room .iig-hero--weather #iiw-content {
	display: flex;
	flex-direction: column;
}
.iig-room .iig-hero--weather #ii-weather-widget .iiw-now-panel,
.iig-room .iig-hero--weather #iiw-rain-section,
.iig-room .iig-hero--weather #ii-weather-widget .iiw-forecast-section {
	display: none !important;
}
.iig-room .iig-hero--weather #ii-weather-widget .iiw-now-today {
	order: 1;
	grid-template-columns: minmax(0, 1fr);
}
.iig-room .iig-hero--weather #ii-weather-widget .iiw-compare-section {
	order: 2;
}
.iig-room .iig-hero--weather #iiw-records-section {
	order: 3;
}
.iig-room .iig-hero--weather #ii-weather-widget .iiw-credit {
	order: 4;
}
/* The records, the first three only, side by side: the hottest, coldest and wettest. The rest are on the weather's own
 * page. Jamey: "the weather app is too long it takes up too much of hte scroll on phone". On a computer, three make
 * one full row, where six left a row of four and a row of two. */
.iig-room .iig-hero--weather #ii-weather-widget .iiw-records-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.iig-room .iig-hero--weather #ii-weather-widget .iiw-records-grid > :nth-child(n + 4) {
	display: none;
}

/* ---- The way across to the other tab: an area of its own at the foot of the tab, maroon as the tabs are, so it never
 * reads as part of the shelf above. Its words and button first (on the left from a tablet up), then every game or tool,
 * each picture a press straight to it. Jamey: "maps and tools is hidden under more games.. should be its own area
 * underneath", "it sitll looks liek it is sitting under more tools", and "firstly there are more than 4 games and
 * secondly i thought we agreed the action should always be on the left side". */
.iig-room .iig-room__door {
	display: grid;
	gap: 20px;
	margin: 40px 0 0;
	padding: 24px 18px;
	border-radius: 18px;
	background: var(--room-maroon);
	color: #fff;
}
.iig-room .iig-room__door h2.iig-room__door-title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: var(--room-anton);
	font-size: clamp(30px, 20px + 2.4vw, 52px);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: 0.01em;
	text-align: left;
	text-transform: uppercase;
}
.iig-room .iig-room__door .iig-room__door-line {
	margin: 8px 0 0;
	padding: 0;
	color: #f6e9ec;
	font-size: 16px;
	font-size: clamp(16px, 0.4vw + 13px, 21px);
	line-height: 1.45;
}
.iig-room .iig-room__door .iig-room__door-go {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin: 18px 0 0;
	padding: 0 22px;
	border-radius: 12px;
	background: var(--room-blue);
	box-shadow: 0 3px 0 var(--room-blue-edge);
	color: #0c1a28;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}
.iig-room .iig-room__door .iig-room__door-go:hover {
	background: #3db6ff;
	color: #0c1a28;
}
.iig-room .iig-room__door .iig-room__door-go:focus-visible,
.iig-room .iig-room__door .iig-room__door-pick:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}
/* Three to a row on a phone, four from a tablet up. A short last row sits in the middle, not left alone at the side. */
.iig-room .iig-room__door ul.iig-room__door-picks {
	--pick-gap: 8px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--pick-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.iig-room .iig-room__door ul.iig-room__door-picks li {
	flex: 0 0 calc((100% - 2 * var(--pick-gap)) / 3);
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.iig-room .iig-room__door ul.iig-room__door-picks li::before {
	content: none;
}
/* A thin white edge, so a maroon picture, as the Giveaway's, still stands out on the maroon. */
.iig-room .iig-room__door .iig-room__door-pick {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 0 0 2px #fff;
	text-decoration: none;
}
.iig-room .iig-room__door .iig-room__door-art {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
}
@media (hover: hover) {
	.iig-room .iig-room__door .iig-room__door-pick:hover {
		transform: translateY(-2px);
	}
}
@media (min-width: 600px) {
	.iig-room .iig-room__door {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
		align-items: center;
		gap: clamp(24px, 3vw, 64px);
		margin-top: 48px;
		padding: clamp(26px, 2.4vw, 52px);
		border-radius: 22px;
	}
	.iig-room .iig-room__door .iig-room__door-go {
		display: inline-flex;
		min-width: 220px;
		min-height: clamp(52px, 0.9vw + 40px, 64px);
		font-size: clamp(17px, 0.3vw + 13px, 21px);
	}
	.iig-room .iig-room__door ul.iig-room__door-picks {
		--pick-gap: clamp(8px, 0.8vw, 16px);
	}
	.iig-room .iig-room__door ul.iig-room__door-picks li {
		flex-basis: calc((100% - 3 * var(--pick-gap)) / 4);
	}
}

/* ---- A tablet: each hero across the board, Vote's answers two by two, GuessWhere's whole photo beside its words. */
@media (min-width: 600px) {
	.iig-room .iig-room__hero {
		gap: 22px;
		margin-bottom: 40px;
	}
	.iig-room .iig-hero,
	.iig-room .iig-hero .iig-room__link::after {
		border-radius: 22px;
	}
	.iig-room .iig-hero__body {
		padding: 24px 24px 26px;
	}
	.iig-room .iig-hero__band {
		padding: 14px 24px;
	}
	.iig-room .iig-hero__top {
		padding: 22px 24px 16px;
	}
	/* The button on the left, under the words, as the way across has it. Jamey: "the action should always be on the
	 * left side". */
	.iig-room .iig-hero__under {
		align-items: flex-start;
		padding: 18px 24px 22px;
	}
	.iig-room .iig-hero__under .iig-hero__button {
		min-width: 240px;
	}
}
@media (min-width: 600px) and (max-width: 1099px) {
	.iig-room .iig-hero ul.iig-hero__options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	/* The map's height follows the window's width here, so the wide picture is never cut into Ipswich's outline. */
	.iig-room .iig-hero__map {
		height: clamp(380px, 50vw, 560px);
	}
}
/* GuessWhere: its words and button on the left, as Vote's are, and the photo on the right, whole, in the middle of a
 * dark column as tall as the card. Jamey: "the action should always be on the left side". The photo still comes first
 * in the page, so a phone and a screen reader meet it first. */
@media (min-width: 600px) {
	.iig-room .iig-hero--where {
		flex-direction: row-reverse;
	}
	.iig-room .iig-hero--where .iig-hero__shot {
		display: flex;
		align-items: center;
		width: 48%;
	}
	.iig-room .iig-hero--where .iig-hero__body {
		justify-content: center;
	}
	/* Its button stays with its words, in the middle of the card beside the photo. */
	.iig-room .iig-hero--where .iig-hero__foot {
		margin-top: 22px;
	}
	.iig-room .iig-hero--where .iig-hero__body > * {
		max-width: 620px;
	}
}

/* ---- A computer: Vote and GuessWhere one over the other, each across the board: Vote's question on the left, its
 * answers on the right. Side by side, Vote and a whole photo could never stand the same height without a gap in
 * one. True Size and the weather side by side. */
@media (min-width: 1100px) {
	.iig-room .iig-room__hero {
		gap: clamp(20px, 1.5vw, 34px);
		margin-bottom: clamp(40px, 2.8vw, 66px);
	}
	.iig-room .iig-hero--vote .iig-hero__body {
		display: grid;
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
		grid-template-rows: auto auto 1fr;
		column-gap: clamp(32px, 3vw, 72px);
		align-items: start;
	}
	.iig-room .iig-hero--vote .iig-hero__ask {
		grid-column: 1;
		grid-row: 1;
	}
	.iig-room .iig-hero--vote .iig-hero__foot {
		grid-column: 1;
		grid-row: 2;
		align-items: flex-start;
		margin: 0;
		padding: 18px 0 0;
	}
	.iig-room .iig-hero--vote .iig-hero__foot .iig-room__past {
		align-self: flex-start;
	}
	.iig-room .iig-hero--vote ul.iig-hero__options {
		grid-column: 2;
		grid-row: 1 / span 3;
		margin: 0;
	}
	.iig-room .iig-hero--where .iig-hero__shot {
		width: min(48%, 720px);
	}
	/* True Size and the weather side by side, not across the whole board. Jamey: "it shouldnt be full screen like that
	 * on desktop for the tools side". True Size's map fills its card down to the weather's height. */
	.iig-room .iig-room__hero--tools {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	}
	.iig-room .iig-hero--size .iig-hero__map {
		flex: 1 1 auto;
		height: auto;
		min-height: 420px;
	}
	.iig-room .iig-hero,
	.iig-room .iig-hero .iig-room__link::after {
		border-radius: clamp(22px, 1.2vw, 28px);
	}
	.iig-room .iig-hero__body {
		padding: clamp(24px, 1.7vw, 40px);
	}
	.iig-room .iig-hero__band {
		padding: clamp(14px, 1vw, 22px) clamp(24px, 1.7vw, 40px);
	}
	.iig-room .iig-hero .iig-hero__tag {
		font-size: clamp(14px, 0.3vw + 10px, 18px);
	}
	.iig-room .iig-hero__letters,
	.iig-room .iig-hero__dots {
		grid-template-columns: repeat(4, clamp(24px, 1vw + 12px, 36px));
	}
	.iig-room .iig-hero__letters {
		font-size: clamp(29px, 1vw + 16px, 42px);
	}
	.iig-room .iig-hero__dots i {
		width: clamp(13px, 0.4vw + 8px, 18px);
		height: clamp(13px, 0.4vw + 8px, 18px);
	}
	.iig-room .iig-hero__choice {
		min-height: clamp(62px, 1.6vw + 40px, 80px);
	}
	.iig-room .iig-hero__foot .iig-room__go,
	.iig-room .iig-hero .iig-hero__button {
		min-height: clamp(52px, 0.9vw + 40px, 64px);
		font-size: clamp(17px, 0.3vw + 13px, 21px);
	}
	.iig-room .iig-hero__map {
		height: clamp(420px, 28vw, 620px);
	}
	.iig-room .iig-hero__top {
		padding: clamp(22px, 1.6vw, 36px) clamp(24px, 1.7vw, 40px) clamp(16px, 1.1vw, 24px);
	}
	.iig-room .iig-hero__under {
		padding: clamp(18px, 1.3vw, 28px) clamp(24px, 1.7vw, 40px) clamp(22px, 1.5vw, 34px);
	}
}

@media (min-width: 1500px) {
	.iig-room .iig-room__cards--five {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}
