:root {
	--color-black: #111111;
	--color-grey-dark: #232321;
	--color-grey: #5c5b57;
	--color-brown: #655f54;
	--color-brown-light: #726b61;
	--color-stone: #a29c93;
	--color-stone-light: #a6a096;
	--color-taupe: #ada69c;
	--color-sand: #cfcbc5;
	--color-sand-light: #d5cec8;
	--color-green: #86a736;
	--color-green-light: #b8d17d;
	--color-green-dark: #00721B;
	--color-red: #950505;
	--color-red-light: #a61113;
	--color-pink: #d87070;
	/* red text on the black box of narrow screens, where red and --color-pink do not read */
	--color-pink-light: #f3c9c9;
	--color-overlay: rgb(90 85 73 / 85%);
	/* the line between two items (as images/layout/hr.png was): a dark 1px line on a light 1px line. As a background it
	   goes with background-size: 100% 2px, so it is a tile of 2px that lands on whole pixels as an image does */
	--hr-line: linear-gradient(#c7c2bc 1px, #dad5cf 1px);
	--color-stats-bar: #685f56;
	/* the black box on narrow screens, darker than #80796f so the text colours of the fixed layout read on a phone (3.2 to 4.3:1) */
	--color-black-box-narrow: #5f5951;
	/* white text on green or red (the menu, buttons, an error) and white panels (a quote, a poll bar, a notification, the dice of yahtzee) */
	--color-white: #fff;
	/* the yellow of the cases of takeit/play (its own style says yellow) */
	--color-yellow: #ff0;
	/* the bar of a poster above a post in the forum (topic-user-bg.png): its picture at the left, the rest */
	--color-poster-light: #c7c1b9;
	--color-poster: #bcb7b0;
	/* a hovered link in the stats bar, and the rank of a poster on the lighter bar of narrow screens (--color-poster-light, 5:1) */
	--color-brown-dark: #4d4842;
	/* the silver highlight of a scratch card on narrow screens (daily/scratch), in its frame over --color-taupe */
	--color-scratch-light: #eceae5;
	/* the black box: its colour and the curve of its glare (--background-black-box) */
	--color-black-box: #80796f;
	/* the glare of the white box, in the top left (--background-white-box) */
	--color-sand-glare: #d6d3cd;
	/* the text in a black box */
	--color-taupe-light: #b5afa5;
	/* the shadow of white text on the red menu */
	--color-menu-shadow: rgb(60 0 0 / 70%);
	/* the corners of a box: the white and black box, the content, the menu, the stats bar, a tab, a.btn, a notification */
	--radius-box: 5px;
	/* the corners of a control or a chip: an input, a link in the stats bar, #info, a green button, the th div */
	--radius-control: 4px;
	/* small corners: page links, a poll bar, an error, the clock, an input of the fixed layout */
	--radius-small: 3px;

	/*
	 * The glare in the top left of the black and white boxes: lighter above
	 * the curve of a wide ellipse, fading out to the right.
	 */
	--background-black-box:
		radial-gradient(320px 83px at 300px 114px, var(--color-black-box) 99%, transparent) 0 0 / 470px 100px no-repeat,
		linear-gradient(to right, #8a8478 200px, transparent 470px) 0 0 / 470px 100px no-repeat,
		var(--color-black-box);
	--background-white-box:
		radial-gradient(320px 83px at 300px 114px, var(--color-sand) 99%, transparent) 0 0 / 470px 100px no-repeat,
		linear-gradient(to right, var(--color-sand-glare) 200px, transparent 470px) 0 0 / 470px 100px no-repeat,
		var(--color-sand);
}

body {
	/* a warm light above the middle of the page, black 640px away, a little lighter behind the header */
	background:
		linear-gradient(rgb(255 255 255 / 2%), rgb(255 255 255 / 2%)) top center / 960px 216px no-repeat,
		radial-gradient(circle 640px at 50% 440px, #393633, #2b2a27 240px, #191918 480px, var(--color-black)) no-repeat,
		var(--color-black);
	margin: 0px;
}
body, div, span, a, textarea {
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 11pt;
}
small, .small, small a {
	font-size: 8pt;
}
a {
	color: var(--color-grey);
}
a:hover {
}

#main {
	margin: auto;
	width: 960px;
	position: relative
}
#header {
	height: 122px;
	width: 960px;
	background-image: url('../images/layout/nl/header.jpg');
	background-repeat: no-repeat;
}

#menu {
	display: flex;
	box-sizing: border-box;
	width: 960px;
	height: 40px;
	margin-bottom: 15px;
	padding-left: 26px; /* the left of the first column of #menu_overlay */
	border-radius: var(--radius-box);
	background-color: var(--color-red);
	position: relative;
}
/*
 * The worn top of the bar: darker patches above the first and fourth
 * heading, and thin streaks of uneven width that fade out downwards.
 */
#menu::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background:
		radial-gradient(170px 34px at 50px 0, rgb(0 0 0 / 16%), transparent),
		radial-gradient(130px 30px at 630px 0, rgb(0 0 0 / 16%), transparent),
		radial-gradient(90px 22px at 270px 4px, rgb(0 0 0 / 7%), transparent),
		radial-gradient(80px 20px at 480px 0, rgb(0 0 0 / 9%), transparent),
		repeating-linear-gradient(to right, transparent 0 7px, rgb(0 0 0 / 6%) 7px 9px, transparent 9px 23px) 0 0 / 340px 100% no-repeat,
		repeating-linear-gradient(to right, transparent 0 12px, rgb(0 0 0 / 5%) 12px 13px, transparent 13px 31px) 420px 0 / 290px 100% no-repeat,
		repeating-linear-gradient(to right, transparent 0 4px, rgb(0 0 0 / 4%) 4px 5px, transparent 5px 17px) 0 0 / 720px 100% no-repeat,
		repeating-linear-gradient(to right, transparent 0 20px, rgb(255 255 255 / 3%) 20px 22px, transparent 22px 43px) 0 0 / 720px 100% no-repeat;
	-webkit-mask-image: linear-gradient(#000, transparent 32px);
	mask-image: linear-gradient(#000, transparent 32px);
}
/* a heading above each column of #menu_overlay, with a line halfway to the next heading */
#menu > span {
	position: relative; /* above the texture of #menu::before */
	display: flex;
	flex: none;
	align-items: center;
	width: 192px;
	color: var(--color-white);
	font: bold 18px 'Delicious', sans-serif; /* greenbutton.css loads Delicious */
	text-transform: uppercase;
	text-shadow: 1px 1px 1px var(--color-menu-shadow);
	white-space: nowrap;
	cursor: default;
}
#menu > span::after {
	content: '';
	flex: 1;
	height: 23px;
	background: linear-gradient(var(--color-red-light), var(--color-red-light)) center / 1px 100% no-repeat;
}
#menu > span:last-child::after {
	content: none;
}
#footer {
	width: 928px;
	margin: auto;
	margin-bottom: 15px;
	text-align: right;
}
#footer a, #footer {
	text-decoration:none;
	color: var(--color-grey);
	font-size: 10px;
}
#footer a:hover {
	color: #a6a29f;
}
#footer small {
	color: var(--color-grey-dark);
	font-size: 9px;
}
#footer b {
	color: var(--color-grey-dark);
	margin-left: 3px;
	margin-right: 3px;
}
#footer small a, #footer small a:hover {
	color: var(--color-grey-dark);
	font-size: 9px;
	text-decoration: none;
}

.chattab {
	cursor: pointer;
}

.chatmessages {
	list-style: none;
	margin: 0;
	padding: 0;
}
/* the chat's input field fills the row next to its button, as high as the button */
.chat_form {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}
.chat_form input {
	flex: 1;
	min-width: 0;
	box-sizing: border-box;
	height: 29px;
	padding: 2px 8px;
	border-radius: var(--radius-control);
}
.chat_form .greenbutton {
	margin: 0;
}

#content_container, .chatbox_container {
	width: 928px;
	margin: auto;
	background-color: var(--color-brown);
	padding:0px;
	margin-bottom: 15px;
	position:relative;

	padding: 15px 15px;
	width:898px;

	-moz-border-radius: 5px;
	border-radius: var(--radius-box);
}
#cc_top_left {

	background: url('../images/layout/border-cc-tl.jpg') 0 0 no-repeat;
	float:left;
}
#cc_top_right {
	background: url('../images/layout/border-cc-tr.jpg') 100% 0 no-repeat;
	float:left;


}
#cc_bottom_left {
	background: url('../images/layout/border-cc-bl.jpg') 0 100% no-repeat;
	background-color: var(--color-brown);

	float:left;
}
#cc_bottom_right {
	background: url('../images/layout/border-cc-br.jpg') 100% 100% no-repeat;
	float:left;
}

#timers {
	margin-left: 430px;
	position: absolute;
	top: 10px;
	font-size: 14px;
	color: var(--color-brown);
}

span.timer, span.timer span {
	font-size:12pt;
}

#top3 ol {
	padding: 0px;
	margin:0px;
	padding-left:20px;
	padding-top:3px;
}
#timers div {
	padding-top: 3px;
}

/* BB = black box with borders and glare background	*/
.black_box {
	background: var(--background-black-box);
	padding: 15px;
	color: var(--color-taupe-light);

	-moz-border-radius: 5px;
	border-radius: var(--radius-box);
}
.black_box a.small {
	background-color: var(--color-brown);
	padding: 4px 7px;
	color: var(--color-stone);
	font-size:8pt;
	text-decoration:none;
}
.black_box b, .black_box span.b, .black_box div.b  {
	color: var(--color-sand);
	font-weight:bold;
}

/* WB = white box with borders and glare background	*/
.white_box {
	background: var(--background-white-box);
	color: var(--color-brown);
	padding: 15px;

	-moz-border-radius: 5px;
	border-radius: var(--radius-box);
}

.white_box, .black_box {
	width: 250px;
	display: block;
	float: left;
	margin-right: 13px;
	margin-bottom: 10px;
}

/*
 * {infoBox}: a box of explanation or help (div.info_box, a black box or with color=white a white one) whose heading is a
 * button that opens and closes its content (div.info_box_body), with a chevron at the right that points up while it is
 * open. It starts open, but on a phone in the responsive layout (below); a tap gives it expanded or collapsed
 * (ingame_base.js), which beats that at any width.
 */
.info_box_toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.info_box_toggle::after {
	content: '';
	flex: none;
	width: 8px;
	height: 8px;
	margin: -4px 4px 0 auto;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.info_box_toggle[aria-expanded="true"]::after {
	margin-top: 6px;
	transform: rotate(-135deg);
}
.info_box_toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: var(--radius-control);
}
/* a heading of a fixed height (head_style="height:35px"), as the block of a fixed height it was: no margin of its own */
.info_box_head[style*="height"] {
	margin-bottom: 0;
}
@media (max-width: 959px) {
	/* it grows when the heading wraps, as such a block does */
	.responsive .info_box_head[style*="height"] {
		height: auto !important;
	}
	/* the heading is a tap area of 40px, which takes no more room than the heading */
	.responsive .info_box_toggle {
		min-height: 40px;
		margin: -8px 0;
	}
	/* the text below the heading: the room of the heading, as below the heading of any box */
	.responsive .info_box_body > :is(p, ul, ol):first-child {
		margin-top: 0;
	}
}
/* closed, the box ends at its heading (beats the margin of the heading of a box below 960px) */
:is(.white_box, .black_box).info_box.collapsed > .info_box_body {
	display: none;
}
:is(.white_box, .black_box).info_box.collapsed > .info_box_head {
	margin-bottom: 0;
}
@media (max-width: 719px) {
	.responsive :is(.white_box, .black_box).info_box:not(.expanded) > .info_box_body {
		display: none;
	}
	.responsive :is(.white_box, .black_box).info_box:not(.expanded) > .info_box_head {
		margin-bottom: 0;
	}
}

/*
 * The responsive layout, the default for every player who did not opt out
 * (class="responsive" on <html>, see docs/css.md).
 *
 * {whiteBox cols=4}: a box spanning 4 of the 6 columns of its parent, with
 * 13px between the columns. In the content of a page the boxes are 139, 291,
 * 442, 594, 746 or 898px wide. Boxes that sit next to each other go in a
 * <div class="boxes">. Narrow screens show every box over the full width.
 * !important beats the inline width, margin and float of the fixed layout
 * (width=, margin=), which the box still has for the other players. Without
 * its float a box needs flow-root to keep holding the floats inside it.
 */
.responsive .cols1 { --cols: 1; }
.responsive .cols2 { --cols: 2; }
.responsive .cols3 { --cols: 3; }
.responsive .cols4 { --cols: 4; }
.responsive .cols5 { --cols: 5; }
.responsive .cols6 { --cols: 6; }
.responsive .cols1, .responsive .cols2, .responsive .cols3,
.responsive .cols4, .responsive .cols5, .responsive .cols6 {
	display: flow-root;
	box-sizing: border-box;
	width: 100% !important;
	float: none !important;
	margin-right: 0 !important;
}
@media (min-width: 960px) {
	.responsive .cols1, .responsive .cols2, .responsive .cols3,
	.responsive .cols4, .responsive .cols5, .responsive .cols6 {
		width: calc((100% - 5 * 13px) / 6 * var(--cols) + (var(--cols) - 1) * 13px) !important;
	}
}
.responsive .boxes {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: 13px;
}
/* a box that floats right in the fixed layout: last in its row */
.responsive .boxes > .right {
	order: 1;
	margin-left: auto;
}
/*
 * What is inside a box gives way to the width of the box: images, form fields
 * and blocks with a fixed width shrink to it (max-width beats an inline width),
 * and on narrow screens table cells drop the widths of their width attribute.
 * What still does not fit, like a table with many columns, scrolls sideways in a
 * div.scroll_narrow around it; a box never scrolls.
 */
.responsive .white_box :is(img, input, select, textarea, div[style*="width"]),
.responsive .black_box :is(img, input, select, textarea, div[style*="width"]) {
	max-width: 100%;
}
.responsive .white_box img, .responsive .black_box img {
	height: auto;
}
.responsive .white_box :is(input, select, textarea), .responsive .black_box :is(input, select, textarea) {
	box-sizing: border-box;
}
@media (max-width: 959px) {
	.responsive :is(.white_box, .black_box) :is(th, td) {
		width: auto;
	}
	/* what is wider than its box (a table of many columns) scrolls sideways on its own, in a div.scroll_narrow; never the box */
	.responsive .scroll_narrow {
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
	}
	/* a picture whose style caps its width (the stolen car of vehicles/steal.tpl): no wider than its box either */
	.responsive :is(.white_box, .black_box) img[style*="max-width: 300px"] {
		max-width: min(300px, 100%) !important;
	}
	/* a table that lays out boxes or blocks side by side: its cells stack */
	.responsive table.stack, .responsive table.stack > tbody, .responsive table.stack > tbody > tr,
	.responsive table.stack > tbody > tr > td {
		display: block;
		width: auto;
	}
	/*
	 * The text in boxes: headings that fit the box (smaller, narrower, a long word breaks), text that
	 * reads well (a slightly darker black box, so its text in the colours of the fixed layout reads; a darker
	 * grey on a white box) and a little more space between the lines.
	 */
	/* the glare of the boxes scales with the box (the 470px of the fixed layout narrower or wider), so it reaches over the whole box */
	.responsive {
		--background-black-box:
			radial-gradient(68% 83px at 64% 114px, var(--color-black-box-narrow) 99%, transparent) 0 0 / 100% 100px no-repeat,
			linear-gradient(to right, #696459 43%, transparent) 0 0 / 100% 100px no-repeat,
			var(--color-black-box-narrow);
		--background-white-box:
			radial-gradient(68% 83px at 64% 114px, var(--color-sand) 99%, transparent) 0 0 / 100% 100px no-repeat,
			linear-gradient(to right, var(--color-sand-glare) 43%, transparent) 0 0 / 100% 100px no-repeat,
			var(--color-sand);
	}
	.responsive :is(.white_box, .black_box) {
		line-height: 1.4;
	}
	.responsive :is(.white_box, .black_box) :is(h1, h2) {
		font-family: 'Ubuntu Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;
		font-size: 22px;
		line-height: 1.15;
		margin-bottom: 8px;
		overflow-wrap: anywhere;
		text-wrap: balance;
	}
	@media (min-width: 720px) {
		.responsive :is(.white_box, .black_box) :is(h1, h2) {
			font-size: 24px;
		}
	}
	/* a heading in capitals (case_narrow, NIEUWE AANGIFTE) in sentence case below 960px: Nieuwe aangifte */
	.responsive :is(h1, h2).case_narrow {
		text-transform: lowercase;
	}
	.responsive :is(h1, h2).case_narrow::first-letter {
		text-transform: uppercase;
	}
	/* a name in it (span.upper_fixed, in capitals in the fixed layout) in its own case: Casino: Rotterdam */
	.responsive .upper_fixed {
		text-transform: none;
	}
	/* a heading h1 (newyears/index) as an h2: a block, no room above it */
	.responsive :is(.white_box, .black_box) h1 {
		display: block;
		margin-top: 0;
	}
	/*
	 * below a heading (or its block of a fixed height) the room of the heading (8px) whatever follows: text, a paragraph,
	 * a list or a line that says a list is empty (empty_narrow), which is the text of the box here: at the left, without room
	 * around it
	 */
	.responsive :is(.white_box, .black_box) :is(:is(h1, h2), div:has(> h2:only-child)) + :is(p, ul, ol) {
		margin-top: 0;
	}
	.responsive :is(.white_box, .black_box) :is(h1, h2) + :is(p, div:not(.row), li).empty_narrow {
		padding: 0;
		text-align: left;
	}
	/* so is the line below a subheading of bold text (a div of 12pt, vehicles/steal: Nog niemand deze week) */
	.responsive :is(.white_box, .black_box) div[style*="font-weight:bold"] + :is(p, div:not(.row), li).empty_narrow {
		margin-top: 0;
		padding: 0;
		text-align: left;
	}
	/*
	 * a heading after a block of its box (the chat and then Archief in chat/archive, a form and then the next part):
	 * 24px above it, so it starts a part of its own (not after a line that the fixed layout positions in a corner of
	 * the box, like Voeg toe aan favorieten in forum/topic)
	 */
	.responsive :is(.white_box, .black_box, .info_box_body) > :is(div, form, table, ul, ol, p, center):not(.clear, :empty, [style*="display:none"], [style*="display: none"], [style*="position:absolute"], [style*="position: absolute"]) + :is(h1, h2, div:has(> h2:only-child)),
	.responsive :is(.white_box, .black_box, .info_box_body) > :is(div, form, table, ul, ol, p, center):not(.clear, :empty, [style*="display:none"], [style*="display: none"], [style*="position:absolute"], [style*="position: absolute"]) + script + :is(h1, h2, div:has(> h2:only-child)) {
		margin-top: 24px;
	}
	/* so is one after a message in a box of its own (div.errordiv, notice_narrow, tip_narrow; Scores in shopping/run), with <br>s between them */
	.responsive :is(.white_box, .black_box, .info_box_body) > :is(.errordiv, .notice_narrow, .tip_narrow) + :is(h1, h2, div:has(> h2:only-child)),
	.responsive :is(.white_box, .black_box, .info_box_body) > :is(.errordiv, .notice_narrow, .tip_narrow) + br + :is(h1, h2, div:has(> h2:only-child)),
	.responsive :is(.white_box, .black_box, .info_box_body) > :is(.errordiv, .notice_narrow, .tip_narrow) + br + br + :is(h1, h2, div:has(> h2:only-child)) {
		margin-top: 24px;
	}
	/* a centred line between lines of text (home/rank: the formula) a block with an empty line above it, as below it (<br><br>) */
	.responsive :is(.white_box, .black_box, .info_box_body) > center:has(+ br + br) {
		margin-top: 1.4em;
	}
	.responsive :is(.white_box, .black_box, .info_box_body) > center + br:has(+ br) {
		display: none;
	}
	.responsive .white_box .grey {
		color: var(--color-brown-light) !important;
	}
	.responsive .black_box, .responsive .black_box :is(h1, h2) {
		color: var(--color-taupe-light);
	}
	.responsive .black_box a:not(.greenbutton, .small) {
		color: var(--color-sand);
	}
	.responsive .black_box :is(b, strong, span.b, div.b) {
		color: var(--color-sand);
	}
	.responsive .black_box .grey {
		color: var(--color-taupe) !important;
	}
	/*
	 * A table of data in a box (a row of labels th > div, or rows with a line below them, tr.row) fills
	 * the width of the box, so its lines go from side to side. A player stays on one line with their
	 * picture; on a tablet, which has the room, so does a date or an amount at the right of its cell.
	 */
	.responsive :is(.white_box, .black_box) table:is(:has(> tbody > tr > th > div), :has(> tbody > tr.row)):not(.stack, .fit_buttons_narrow) {
		width: 100%;
	}
	.responsive :is(.white_box, .black_box) a.usr {
		white-space: nowrap;
	}
	/* (its small picture keeps its size: with max-width: 100% a cell does not count it and the name runs into the next one) */
	.responsive :is(.white_box, .black_box) a.usr > img {
		max-width: none;
	}
	/* so does an icon in a cell of a table or a list (an envelope, a delete icon): max-width: 100% would shrink it to a dot */
	.responsive :is(.white_box, .black_box) :is(td, .list_narrow > div.row > div) img:is([src*="images/icons/"], [src*="images/layout/delete-"], [src*="images/forum/icons/"]) {
		flex: none;
		max-width: none;
	}
	/*
	 * an icon in a cell of a table (the icon of a topic before its title: forum/mentions) in the middle of the line, so it
	 * does not push the text of its cell below that of the other cells of its row
	 */
	.responsive :is(.white_box, .black_box) td > img:is([src*="images/icons/"], [src*="images/forum/icons/"], .topic_icon) {
		vertical-align: middle;
	}
	.responsive :is(.white_box, .black_box) td > img.topic_icon {
		top: 0;
	}
	/* a superscript (m<sup>2</sup>) does not push its line away from the one above it */
	.responsive :is(.white_box, .black_box) td sup {
		line-height: 0;
	}
	@media (min-width: 720px) {
		.responsive :is(.white_box, .black_box) :is(td.r, td.money) {
			white-space: nowrap;
		}
	}
	/* on a phone a date at the right of its cell (5 mrt 2001) breaks before the year, not after the day */
	.responsive :is(.white_box, .black_box) td.r {
		min-width: 3.1em;
	}
	/*
	 * The edges of a table of data (a row of th > div): no space between the cells, 2px at the sides of a header cell
	 * (4px between the labels), so the first label starts and the last one ends where the box's padding does, in line
	 * with the heading, the row lines and the fields. The text of the first and the last column keeps 8px from the edge,
	 * as the labels keep 8px around their text (--cell-edge; :where keeps these rules below the pages' own tables).
	 */
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) {
		border-spacing: 0;
	}
	/*
	 * the room at the sides of a header label (--label-pad): 8px, 6px in a wrap_th_narrow table on a phone. A tighter_narrow
	 * table keeps 2px at its edges; in a tight_narrow or wrap_th_narrow table the first and the last column start and end
	 * where their labels' text does
	 */
	@media (max-width: 719px) {
		.responsive table.wrap_th_narrow {
			--label-pad: 6px;
		}
	}
	.responsive :is(.white_box, .black_box) table.tighter_narrow {
		--cell-edge: 2px;
	}
	.responsive :is(.white_box, .black_box) table:is(.tight_narrow, .wrap_th_narrow) {
		--cell-edge: var(--label-pad, 8px);
	}
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > th {
		padding-left: 2px;
		padding-right: 2px;
	}
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > th:where(:nth-child(1 of :not(.hide_narrow))) {
		padding-left: 0;
	}
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > th:where(:nth-last-child(1 of :not(.hide_narrow))) {
		padding-right: 0;
	}
	/*
	 * in a tight_narrow or wrap_th_narrow table each column has one left edge: the text of a cell starts where the text of
	 * its label does (the 2px of the header cell and --label-pad); a centred cell has that room at both sides, so it stays
	 * below the middle of its label
	 */
	.responsive :is(.white_box, .black_box) :where(table:is(.tight_narrow, .wrap_th_narrow):has(> tbody > tr > th > div)) > tbody > tr > td:where(:not(.r, .money, .r_narrow)) {
		padding-left: calc(2px + var(--label-pad, 8px));
	}
	.responsive :is(.white_box, .black_box) :where(table:is(.tight_narrow, .wrap_th_narrow):has(> tbody > tr > th > div)) > tbody > tr > td:where(.c) {
		padding-right: calc(2px + var(--label-pad, 8px));
	}
	/*
	 * so does any other table of data (not tighter_narrow) whose cellpadding is less than that, like the Rang of the members
	 * in crew/profile (cellpadding 6); the first column keeps --cell-edge, and a page's own rules for its cells win
	 */
	.responsive :where(.white_box, .black_box) :where(table:not(.tighter_narrow):has(> tbody > tr > th > div)) > tbody > tr > td:where(:not(.r, .money, .r_narrow, .c, [colspan])) {
		padding-left: calc(2px + var(--label-pad, 8px));
	}
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > td:where(:nth-child(1 of :not(.hide_narrow))) {
		padding-left: var(--cell-edge, 8px);
	}
	/*
	 * an amount or a date (td.money, td.r, td.r_narrow) as far from the right of its cell as the text of any cell (td.money
	 * had 20px); followed by a column that is not of amounts, 16px (12px in a tight_narrow table, 8px in a tighter_narrow
	 * one and in a wrap_th_narrow one on a phone, as its labels), so it does not run into the text of the next one
	 */
	.responsive :where(.white_box, .black_box) td.money {
		padding-right: 8px;
	}
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > td:where(.r, .money, .r_narrow):where(:not(:has(+ td:is(.r, .money, .r_narrow)))) {
		padding-right: 16px;
	}
	.responsive :is(.white_box, .black_box) :where(table.tight_narrow) > tbody > tr > td:where(.r, .money, .r_narrow):where(:not(:has(+ td:is(.r, .money, .r_narrow)))) {
		padding-right: 12px;
	}
	.responsive :is(.white_box, .black_box) :where(table.tighter_narrow) > tbody > tr > td:where(.r, .money, .r_narrow):where(:not(:has(+ td:is(.r, .money, .r_narrow)))) {
		padding-right: 8px;
	}
	/* in a tight_narrow or tighter_narrow table two columns of amounts side by side keep 8px at the right of the first, as its label */
	.responsive :is(.white_box, .black_box) :where(table:is(.tight_narrow, .tighter_narrow)) > tbody > tr > td:where(.r, .money, .r_narrow):where(:has(+ td:is(.r, .money, .r_narrow))) {
		padding-right: 8px;
	}
	@media (max-width: 719px) {
		.responsive :is(.white_box, .black_box) :where(table.wrap_th_narrow) > tbody > tr > td:where(.r, .money, .r_narrow):where(:not(:has(+ td:is(.r, .money, .r_narrow)))) {
			padding-right: 8px;
		}
	}
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > td:where(:nth-last-child(1 of :not(.hide_narrow))) {
		padding-right: var(--cell-edge, 8px);
	}
	@media (max-width: 719px) {
		.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > th:where(:nth-child(1 of :not(.hide_narrow, .hide_phone))) {
			padding-left: 0;
		}
		.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > th:where(:nth-last-child(1 of :not(.hide_narrow, .hide_phone))) {
			padding-right: 0;
		}
		.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > td:where(:nth-child(1 of :not(.hide_narrow, .hide_phone))) {
			padding-left: var(--cell-edge, 8px);
		}
		.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > td:where(:nth-last-child(1 of :not(.hide_narrow, .hide_phone))) {
			padding-right: var(--cell-edge, 8px);
		}
	}
	/* r_narrow on a cell (a number in a plain td): at the right, as td.r */
	.responsive :is(td, div).r_narrow {
		text-align: right;
	}
	/*
	 * a narrow column (th.fit_narrow, like a button, a player or a number next to a long text; or an empty td in the
	 * header row: crew/index): as wide as what is in it, on one line, so the other columns get the room
	 */
	.responsive :is(.white_box, .black_box) :is(th, td).fit_narrow {
		width: 1%;
	}
	.responsive th.fit_narrow > div {
		white-space: nowrap;
	}
	/* that empty td in the header row (no element in it) an empty green label, so the header runs over the column (of buttons) as well */
	.responsive :is(.white_box, .black_box) tr:has(> th > div) > td.fit_narrow:not(:has(*)) {
		height: 1px;
		padding: 0 2px !important;
	}
	.responsive :is(.white_box, .black_box) tr:has(> th > div) > td.fit_narrow:not(:has(*)):last-child {
		padding-right: 0 !important;
	}
	.responsive :is(.white_box, .black_box) tr:has(> th > div) > td.fit_narrow:not(:has(*))::before {
		content: "";
		display: block;
		box-sizing: border-box;
		height: 100%;
		min-height: 24px;
		border-radius: var(--radius-control);
		background-color: var(--color-green);
	}
	/* nowrap_narrow on a cell or a span: on one line (a short value in a fit_narrow column, like 1.250 XP or a date) */
	.responsive .nowrap_narrow, .responsive .list_narrow > div.row > div.nowrap_narrow {
		white-space: nowrap;
	}
	/* an amount stays on one line, its column no wider than it */
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr > td.money {
		width: 1%;
		white-space: nowrap;
	}
	/*
	 * the own row in a toplist: on a white box its white background of the fixed layout, or a light green for tr.row.own_narrow
	 * where the fixed layout has no colour for it (like the own level); on a black box a light green for both, as sand text
	 * on white would not read. A green line at its left, over the width of the header labels
	 */
	.responsive :is(.white_box, .black_box) tr.row.own_narrow {
		background-color: rgb(134 167 54 / 16%) !important;
	}
	.responsive .black_box tr.row:is([style*="background-color:white"], [style*="background-color: white"], .own_narrow) {
		background-color: rgb(184 209 125 / 18%) !important;
	}
	.responsive :is(.white_box, .black_box) tr.row:is([style*="background-color:white"], [style*="background-color: white"], .own_narrow) > td:first-child {
		box-shadow: inset 3px 0 0 var(--color-green);
	}
	/*
	 * a row of a table of data with a cell of more lines (a small line below its text: a <small> or a <br>, on a phone a
	 * line_phone; the own row tr.own_narrow; every row of a table.top_narrow, whose cells wrap: marketplace/myads): its
	 * cells at the top, so a value lines up with the first line of that cell; a cell with a button, a field or an icon to
	 * tap stays in the middle of the row
	 */
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr.row:where(:has(> td > :is(small, br)), .own_narrow, table.top_narrow > tbody > tr) > td:where(:not(:has(input:not([type="checkbox"], [type="radio"]), select, textarea, button, .btn, .btn_narrow, .greenbutton, img[onclick], .tap_narrow))) {
		vertical-align: top;
	}
	@media (max-width: 719px) {
		.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) > tbody > tr.row:where(:has(> td > .line_phone)) > td:where(:not(:has(input:not([type="checkbox"], [type="radio"]), select, textarea, button, .btn, .btn_narrow, .greenbutton, img[onclick], .tap_narrow))) {
			vertical-align: top;
		}
	}
	/* a row of a table of data without a line below it in the fixed layout (tr.row_narrow): the line of a tr.row */
	.responsive .white_box tr.row_narrow {
		background: var(--hr-line) left bottom / 100% 2px repeat-x;
	}
	/* on a black box the line of a row (tr.row, tr.row_narrow) is thin and muted, as between rows of a label and a value (kv_rows_narrow) */
	.responsive .black_box tr:is(.row, .row_narrow) {
		background-image: linear-gradient(var(--color-stone), var(--color-stone));
		background-position: left bottom;
		background-size: 100% 1px;
		background-repeat: no-repeat;
	}
	/*
	 * a table or a list that says it is empty (a row tr.empty_narrow with one cell over all columns, or div.row.empty_narrow
	 * in a list): one line below the header, centred, in the grey of the box, without the line below a row. A table of
	 * data whose only row below the header is one cell over all columns (tr.row > td[colspan], the {foreachelse} of a
	 * list: 'Er zijn geen logs gevonden') is one too.
	 */
	.responsive :is(.white_box, .black_box) :is(tr.empty_narrow > td, div.row.empty_narrow > div),
	.responsive :is(.white_box, .black_box) table:has(> tbody > tr:first-child > th > div) > tbody > tr.row:nth-child(2):last-child > td[colspan]:only-child {
		padding: 12px 8px !important;
		text-align: center;
	}
	.responsive .white_box :is(tr.empty_narrow > td, div.row.empty_narrow > div),
	.responsive .white_box table:has(> tbody > tr:first-child > th > div) > tbody > tr.row:nth-child(2):last-child > td[colspan]:only-child {
		color: var(--color-brown-light);
	}
	.responsive .black_box :is(tr.empty_narrow > td, div.row.empty_narrow > div),
	.responsive .black_box table:has(> tbody > tr:first-child > th > div) > tbody > tr.row:nth-child(2):last-child > td[colspan]:only-child {
		color: var(--color-taupe);
	}
	.responsive :is(tr, div.row).empty_narrow,
	.responsive table:has(> tbody > tr:first-child > th > div) > tbody > tr.row:nth-child(2):last-child:has(> td[colspan]:only-child) {
		background-image: none;
	}
	/* the last row of its table or list: it ends at its text, so the box ends at its padding (no room below it either) */
	.responsive :is(.white_box, .black_box) :is(tr.empty_narrow:last-child > td, div.row.empty_narrow:last-child > div),
	.responsive :is(.white_box, .black_box) table:has(> tbody > tr:first-child > th > div) > tbody > tr.row:nth-child(2):last-child > td[colspan]:only-child {
		padding-bottom: 0 !important;
	}
	.responsive :is(.white_box, .black_box) div.row.empty_narrow:last-child {
		min-height: 0;
		border-bottom: 0;
	}
	/* a line of its own (p, div or li.empty_narrow, like the {else} of a list that is not a table) as well */
	.responsive :is(.white_box, .black_box) :is(p, div:not(.row), li).empty_narrow {
		padding: 12px 8px;
		text-align: center;
	}
	.responsive .white_box :is(p, div:not(.row), li).empty_narrow {
		color: var(--color-brown-light);
	}
	.responsive .black_box :is(p, div:not(.row), li).empty_narrow {
		color: var(--color-taupe);
	}
	/* the last of its box (Geen speeltafels after the list of casino/admin) ends at its text, so the box ends at its padding */
	.responsive :is(.white_box, .black_box, .info_box_body) > :is(p, div:not(.row)).empty_narrow:nth-last-child(1 of :not(script, style, br, .clear)) {
		margin-bottom: 0;
		padding-bottom: 0;
	}
	/*
	 * room between a heading and the table below it (14px, the margin of the h2 collapses with it; with an empty table between
	 * them as well: Daily achievements, achievements/index) and above a table after
	 * a line of text; a heading in a block of a fixed height (<div style="height:40px">) already has it, the <br> after
	 * that block leaves no more; a div.scroll_narrow around such a table counts as the table
	 */
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div), .scroll_narrow:has(> table:first-child > tbody > tr > th > div)):not(:first-child) {
		margin-top: 8px;
	}
	.responsive :is(.white_box, .black_box) h2 + :where(table:has(> tbody > tr > th > div), .scroll_narrow:has(> table:first-child > tbody > tr > th > div)):not(:first-child),
	.responsive :is(.white_box, .black_box) h2 + table:not(:has(tr)) + :where(table:has(> tbody > tr > th > div)):not(:first-child) {
		margin-top: 14px;
	}
	.responsive :is(.white_box, .black_box) div:has(> h2:only-child) + :where(br) + :where(table:has(> tbody > tr > th > div), .scroll_narrow:has(> table:first-child > tbody > tr > th > div)),
	.responsive :is(.white_box, .black_box) div:has(> h2:only-child) + :where(table:has(> tbody > tr > th > div), .scroll_narrow:has(> table:first-child > tbody > tr > th > div)) {
		margin-top: 0;
	}
	.responsive :is(.white_box, .black_box) div[style*="height:"]:has(> h2:only-child) + br:has(+ :is(table, .scroll_narrow:has(> table))) {
		display: none;
	}
	/* an empty line (<br><br>) above a table leaves no room either: the table is 14px below the text, as below a heading */
	.responsive :is(.white_box, .black_box) br:is(:has(+ br + table > tbody > tr > th > div), :has(+ table > tbody > tr > th > div),
		:has(+ br + .scroll_narrow > table:first-child > tbody > tr > th > div), :has(+ .scroll_narrow > table:first-child > tbody > tr > th > div)) {
		display: none;
	}
	.responsive :is(.white_box, .black_box) br + br + :where(table:has(> tbody > tr > th > div), .scroll_narrow:has(> table:first-child > tbody > tr > th > div)):not(:first-child) {
		margin-top: 14px;
	}
	/* a line (div.hr_line) over the width of the box; a chart (canvas) shrinks with its box */
	.responsive :is(.white_box, .black_box) div.hr_line {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.responsive :is(.white_box, .black_box) canvas {
		max-width: 100%;
		height: auto;
	}
	/*
	 * The helpers for narrow screens (docs/css.md), on the markup of the fixed layout:
	 * a class on a block, table or cell, or a rule on markup that many pages share.
	 */
	/* what a narrow screen can do without, like a column of a long table (on its th and td); hide_phone: only on a phone, a tablet has room for it */
	.responsive .hide_narrow {
		display: none;
	}
	@media (max-width: 719px) {
		.responsive .hide_phone {
			display: none;
		}
	}
	/*
	 * what only a narrow screen shows, with style="display:none" so that the fixed layout leaves it out (like a line
	 * that says a list is empty, or a cell that takes the place of two hidden ones); show_phone: only on a phone
	 */
	.responsive .show_narrow {
		display: revert !important;
	}
	@media (max-width: 719px) {
		.responsive .show_phone {
			display: revert !important;
		}
		/* show_narrow with hide_phone: only on a tablet (a cell that takes the place of two hidden ones a phone has no room for) */
		.responsive .show_narrow.hide_phone {
			display: none !important;
		}
	}
	/* a tablet shows the label of a field in a span.hide_phone: no placeholder (data-placeholder-narrow) next to it */
	@media (min-width: 720px) {
		.responsive .hide_phone + :is(input, textarea)[data-placeholder-narrow]::placeholder {
			color: transparent;
		}
	}
	/*
	 * line_phone, with style="display:none": a column that a phone hides (hide_phone) as a small grey line of 13px below
	 * the main text of the row (like the seller below an item), so the main column takes the room
	 */
	@media (max-width: 719px) {
		.responsive .line_phone {
			display: block !important;
			margin-top: 2px;
			font-size: 13px;
			font-weight: normal;
			line-height: 1.4;
		}
		.responsive :where(.white_box) .line_phone {
			color: var(--color-brown-light);
		}
		.responsive :where(.black_box) .line_phone {
			color: var(--color-taupe);
		}
		.responsive :is(.white_box, .black_box) .line_phone a {
			font-size: inherit;
			color: inherit;
		}
		/* (a span in it, like a date that stays on one line, in its size too) */
		.responsive :is(.white_box, .black_box) .line_phone span {
			font-size: inherit;
		}
		/* a player in it (a.usr) in the style of the line: 13px, grey, not bold or underlined (an admin as well) */
		.responsive :is(.white_box, .black_box) .line_phone a.usr, .responsive :is(.white_box, .black_box) .line_phone a.usr :is(b, strong, u) {
			font-weight: normal;
			text-decoration: none;
		}
		/*
		 * line_row_phone as well, on the line of the first cell of a row whose other cells hold one line (casino/takeovers):
		 * the line runs below the whole row, over the empty room below those cells, so it breaks only when the row has no
		 * room for it (the width of the box, its container, less the 8px of the cells at its edges)
		 */
		.responsive :is(.white_box, .black_box):has(.line_row_phone) {
			container-type: inline-size;
		}
		.responsive .line_row_phone {
			max-width: calc(100cqw - 16px);
			margin-right: -100cqw;
		}
	}
	/* a box (without cols=) in a cell of a stacked table takes the width of the cell */
	.responsive table.stack > tbody > tr > td > :is(.white_box, .black_box) {
		box-sizing: border-box;
		width: auto !important;
		float: none !important;
		margin-right: 0 !important;
		display: flow-root;
	}
	/* a tablet: with pair_tablet the boxes of a cell (a form and its log: crew/credits) side by side, as halves of the row */
	@media (min-width: 720px) {
		.responsive table.stack.pair_tablet > tbody > tr > td {
			display: flex;
			align-items: flex-start;
			column-gap: 13px;
		}
		.responsive table.stack.pair_tablet > tbody > tr > td > :is(.white_box, .black_box) {
			flex: 1 1 0;
			min-width: 0;
		}
	}
	/* a box that a phone shows first in its row (the explanation before a long table: home/level); a tablet keeps it beside the table */
	@media (max-width: 719px) {
		.responsive .boxes > .first_phone {
			order: -1;
		}
	}
	/* a block or a field of a fixed width, or a block that floats (like div.statsdiv): over the full width, a table in it as well */
	.responsive .full_narrow {
		box-sizing: border-box;
		width: 100% !important;
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.responsive div.full_narrow {
		display: flow-root;
	}
	.responsive .full_narrow > table {
		width: 100%;
	}
	/* a block of a fixed height (like the frame of an image): it grows with what is in it */
	.responsive .grow_narrow {
		height: auto !important;
	}
	/*
	 * a box of a heading, a picture that floats (align="right") and a table of its figures (media_narrow, vehicles/car):
	 * on a phone the picture over the width of the box above the table; on a tablet the picture at its own size at the
	 * left and the table next to it, at most 420px wide (below the picture when the box has no room for both)
	 */
	.responsive .media_narrow {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		column-gap: 16px;
	}
	.responsive .media_narrow > :not(img, table) {
		flex: 1 1 100%;
	}
	.responsive .media_narrow > img {
		flex: 0 1 auto;
		float: none;
		padding: 0 !important;
		margin-bottom: 12px;
		border-radius: 4px;
	}
	.responsive .media_narrow > table {
		flex: 1 1 280px;
	}
	@media (max-width: 719px) {
		.responsive .media_narrow > img {
			flex-basis: 100%;
			width: 100%;
		}
		/* a small picture (small_img_narrow, 200px: vehicles/gasstation) at most 300px, in the middle, so it stays sharp */
		.responsive .media_narrow > img.small_img_narrow {
			max-width: min(100%, 300px);
			margin-inline: auto;
		}
	}
	@media (min-width: 720px) {
		.responsive .media_narrow > table {
			max-width: 420px;
		}
	}
	/* a block of a fixed width with padding or a border: the padding and the border fit in the width */
	.responsive .border_box_narrow {
		box-sizing: border-box;
	}
	/* an absolutely positioned line (like a link next to a heading): in the flow */
	.responsive .static_narrow {
		position: static !important;
		text-align: left !important;
		margin-bottom: 10px;
	}
	/* a block positioned at a fixed left (like a line in the corner of a box): at the right */
	.responsive .right_narrow {
		left: auto !important;
		right: 15px;
		width: auto !important;
	}
	/*
	 * such a line right after a heading (Casinotafelbank, yahtzee/index): on the baseline of the heading, at the top and
	 * the right of the content of the box, with a line as high as the heading's
	 */
	.responsive div:has(> h2:only-child) + .right_narrow {
		top: 0 !important;
		right: 0;
		display: flex;
		align-items: baseline;
		padding-top: inherit;
		padding-right: inherit;
	}
	.responsive div:has(> h2:only-child) + .right_narrow::before {
		content: '\200b';
		font: 22px/1.15 'Ubuntu Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;
	}
	@media (min-width: 720px) {
		.responsive div:has(> h2:only-child) + .right_narrow::before {
			font-size: 24px;
		}
	}
	/* a block centred with float, left:50% and left:-50% inside it: centred with flex */
	.responsive .center_narrow {
		float: none !important;
		left: auto !important;
		display: flex;
		justify-content: center;
	}
	.responsive .center_narrow > * {
		left: auto !important;
	}
	/* a row of floats of a fixed width (dice, cards): side by side, they shrink */
	.responsive .share_narrow {
		display: flex;
		column-gap: 4px;
		height: auto !important;
	}
	.responsive .share_narrow > * {
		flex: 0 1 auto;
		min-width: 0;
	}
	/*
	 * a list of div.th and div.row with floats of a fixed width, in a <div class="list_narrow">
	 * with the div.th in a <div class="list_head">: the cells of the head and of each row
	 * share out the width, and their text wraps
	 */
	.responsive .list_head {
		display: flex;
	}
	.responsive .list_head > div {
		flex: 0 1 auto;
		min-width: 0;
	}
	.responsive .list_narrow > div.row {
		display: flex;
		height: auto;
		min-height: 34px;
	}
	.responsive .list_narrow > div.row > div {
		flex: 0 1 auto;
		white-space: normal;
		padding-left: 4px;
		padding-right: 4px;
	}
	.responsive .list_narrow > div.row > div:last-child:not(:only-child) {
		flex: none;
	}
	/*
	 * .list_narrow.list_grid (with --cols, the number of columns it shows): the head and the
	 * rows share the columns of a grid, so the header labels stay above their cells
	 */
	.responsive .list_narrow.list_grid {
		display: grid;
		grid-template-columns: var(--grid, repeat(var(--cols), auto));
	}
	.responsive .list_narrow.list_grid > :is(.list_head, div.row) {
		display: grid;
		grid-column: 1 / -1;
		grid-template-columns: subgrid;
	}
	/* a row that a script shows (jQuery: display: block, logs/money) stays a row of the grid */
	.responsive .list_narrow.list_grid > div.row:not([style*="display:none"], [style*="display: none"]) {
		display: grid !important;
	}
	.responsive .list_narrow.list_grid > :is(.list_head, div.row) > div {
		width: auto !important;
	}
	/* (a block between the rows, like the details a tap on a row opens: casino/alltables, over the row as well) */
	.responsive .list_narrow.list_grid > div.row > div:only-child,
	.responsive .list_narrow.list_grid > :not(.list_head, div.row) {
		grid-column: 1 / -1;
	}
	/*
	 * as a table of data: the labels 4px apart, the first and the last at the edges of the box, 8px at their sides; the
	 * text of a cell where the text of its label is (10px), of the first and the last column 8px from the edge; the cells
	 * in the middle of their row, a column at least as wide as its longest word
	 */
	.responsive .list_narrow.list_grid > .list_head > div.th {
		padding: 0 2px;
	}
	.responsive .list_narrow.list_grid > .list_head > div.th:nth-child(1 of :not(.hide_narrow)) {
		padding-left: 0;
	}
	.responsive .list_narrow.list_grid > .list_head > div.th:nth-last-child(1 of :not(.hide_narrow)) {
		padding-right: 0;
	}
	.responsive .list_narrow.list_grid > .list_head > div.th > div {
		padding-left: 8px;
		padding-right: 8px;
	}
	/*
	 * a list of only the line that says it is empty: no empty label (show_narrow) above the column of its buttons, the
	 * other labels share the row (the line over all columns would leave room in the grid)
	 */
	.responsive .list_narrow.list_grid:not(:has(> div.row:not(.empty_narrow))) > .list_head {
		display: flex;
	}
	.responsive .list_narrow.list_grid:not(:has(> div.row:not(.empty_narrow))) > .list_head > div.th {
		flex: 1 1 auto;
	}
	.responsive .list_narrow.list_grid:not(:has(> div.row:not(.empty_narrow))) > .list_head > div.th.show_narrow:has(> div:empty) {
		display: none !important;
	}
	.responsive .list_narrow.list_grid:not(:has(> div.row:not(.empty_narrow))) > .list_head > div.th:has(+ div.th.show_narrow:last-child > div:empty) {
		padding-right: 0;
	}
	/*
	 * on a phone a list without rows, followed by the line that says it is empty (Geen speeltafels, casino/admin): no labels
	 * above the line, which would take up lines of their own for columns without values
	 */
	@media (max-width: 719px) {
		.responsive .list_narrow.list_grid:not(:has(> div.row)):has(+ .empty_narrow) > .list_head {
			display: none;
		}
	}
	.responsive .list_narrow.list_grid > div.row {
		align-items: center;
	}
	/*
	 * the rows of a list with top_narrow, whose cells wrap (oc/list, logs/money): at the top, as a tr.row with a cell of
	 * more lines (a cell with a button, a field or an icon to tap in the middle)
	 */
	.responsive .list_narrow.list_grid.top_narrow > div.row {
		align-items: start;
	}
	.responsive .list_narrow.list_grid.top_narrow > div.row > div:has(input:not([type="checkbox"], [type="radio"]), select, textarea, button, .btn, .btn_narrow, .greenbutton, img[onclick], .tap_narrow) {
		align-self: center;
	}
	/* on a phone a row with a line_phone at the top, as a tr.row (a cell with a button, a field or an icon to tap in the middle) */
	@media (max-width: 719px) {
		.responsive .list_narrow.list_grid > div.row:has(> div > .line_phone) {
			align-items: start;
		}
		.responsive .list_narrow.list_grid > div.row:has(> div > .line_phone) > div:has(input:not([type="checkbox"], [type="radio"]), select, textarea, button, .btn, .btn_narrow, .greenbutton, img[onclick], .tap_narrow) {
			align-self: center;
		}
	}
	.responsive .list_narrow.list_grid > div.row > div {
		margin-right: 0;
		padding-left: 10px;
		padding-right: 10px;
		overflow: visible;
		overflow-wrap: break-word;
	}
	.responsive .list_narrow.list_grid > div.row > div:nth-child(1 of :not(.hide_narrow)) {
		padding-left: 8px;
	}
	.responsive .list_narrow.list_grid > div.row > div:nth-last-child(1 of :not(.hide_narrow)) {
		padding-right: 8px;
	}
	@media (max-width: 719px) {
		.responsive .list_narrow.list_grid > .list_head > div.th:nth-child(1 of :not(.hide_narrow, .hide_phone)) {
			padding-left: 0;
		}
		.responsive .list_narrow.list_grid > .list_head > div.th:nth-last-child(1 of :not(.hide_narrow, .hide_phone)) {
			padding-right: 0;
		}
		.responsive .list_narrow.list_grid > div.row > div:nth-child(1 of :not(.hide_narrow, .hide_phone)) {
			padding-left: 8px;
		}
		.responsive .list_narrow.list_grid > div.row > div:nth-last-child(1 of :not(.hide_narrow, .hide_phone)) {
			padding-right: 8px;
		}
	}
	/* an amount (div.money, r_narrow) stays on one line, on a tablet a date at the right (div.r) as well */
	.responsive .list_narrow.list_grid > div.row > div:is(.money, .r_narrow) {
		white-space: nowrap;
	}
	@media (min-width: 720px) {
		.responsive .list_narrow.list_grid > div.row > div.r {
			white-space: nowrap;
		}
	}
	/*
	 * the labels of the header of a table or a list (th div, div.th > div): white on the green, with room
	 * at their sides; a label wraps when its column is narrow and grows with its text, and the other labels
	 * of the row grow with it (a cell 1px high is as high as its row, and its label fills it)
	 */
	.responsive th:has(> div) {
		height: 1px;
	}
	.responsive :is(th div, div.th > div) {
		box-sizing: border-box;
		height: 100%;
		min-height: 24px;
		line-height: 16px;
		padding: 4px var(--label-pad, 8px);
		text-align: left;
		/* a label wraps between its words, a word stays whole (Opbrengst, Casinowinst) */
		hyphens: none;
	}
	/*
	 * a label of only text is centred in its height too (flex would drop the spaces around a link or an image in it),
	 * as is a label of only a checkbox (select all), which stays in the middle
	 */
	.responsive :is(th div, div.th > div):where(:not(:has(*)), :has(> input[type="checkbox"]:only-child)) {
		display: flex;
		align-items: center;
		justify-content: flex-start;
	}
	.responsive :is(th div, div.th > div):has(> input[type="checkbox"]:only-child) {
		justify-content: center;
	}
	.responsive :is(th div, div.th > div) > input[type="checkbox"]:only-child {
		margin: 0 !important;
	}
	/* over a column of checkboxes and the one next to it (messages/archived) at the left, above the checkboxes */
	.responsive th[colspan] > div:has(> input[type="checkbox"]:only-child) {
		justify-content: flex-start;
	}
	/* a label with a shorter text in data-label-narrow (marketplace/marketprices): that text below 960px */
	.responsive :is(th div, div.th > div)[data-label-narrow] {
		font-size: 0;
	}
	.responsive :is(th div, div.th > div)[data-label-narrow]::before {
		content: attr(data-label-narrow);
		font-size: 9pt;
	}
	/* one with a shorter text in data-label-phone (Winst, casino/tablelogs): that text below 720px, so the table fits a phone */
	@media (max-width: 719px) {
		.responsive :is(th div, div.th > div)[data-label-phone] {
			font-size: 0;
		}
		.responsive :is(th div, div.th > div)[data-label-phone]::before {
			content: attr(data-label-phone);
			font-size: 9pt;
		}
	}
	/* a small line in a label (Tijd <small>3 laps</small>) in its white, a little lighter */
	.responsive :is(th div, div.th > div) small {
		color: inherit;
		opacity: .8;
	}
	/*
	 * a label follows the text of its column: at the left, in the middle above a column of td.c (like # or a button),
	 * at the right above amounts and dates (td.money, td.r, td.r_narrow: th.r on the header cell, or found in the first
	 * row of the table, of a header without colspan)
	 */
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(1).c:not([colspan], .r_narrow)) > tbody > tr:first-child > th:nth-child(1) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(2).c:not([colspan], .r_narrow)) > tbody > tr:first-child > th:nth-child(2) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(3).c:not([colspan], .r_narrow)) > tbody > tr:first-child > th:nth-child(3) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(4).c:not([colspan], .r_narrow)) > tbody > tr:first-child > th:nth-child(4) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(5).c:not([colspan], .r_narrow)) > tbody > tr:first-child > th:nth-child(5) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(6).c:not([colspan], .r_narrow)) > tbody > tr:first-child > th:nth-child(6) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(7).c:not([colspan], .r_narrow)) > tbody > tr:first-child > th:nth-child(7) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(8).c:not([colspan], .r_narrow)) > tbody > tr:first-child > th:nth-child(8) > div,
	.responsive th.c > div {
		justify-content: center;
		text-align: center;
	}
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(1):is(.r, .money, .r_narrow):not([colspan])) > tbody > tr:first-child > th:nth-child(1) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(2):is(.r, .money, .r_narrow):not([colspan])) > tbody > tr:first-child > th:nth-child(2) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(3):is(.r, .money, .r_narrow):not([colspan])) > tbody > tr:first-child > th:nth-child(3) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(4):is(.r, .money, .r_narrow):not([colspan])) > tbody > tr:first-child > th:nth-child(4) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(5):is(.r, .money, .r_narrow):not([colspan])) > tbody > tr:first-child > th:nth-child(5) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(6):is(.r, .money, .r_narrow):not([colspan])) > tbody > tr:first-child > th:nth-child(6) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(7):is(.r, .money, .r_narrow):not([colspan])) > tbody > tr:first-child > th:nth-child(7) > div,
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(8):is(.r, .money, .r_narrow):not([colspan])) > tbody > tr:first-child > th:nth-child(8) > div,
	.responsive :is(th.r, div.th.r_narrow) > div {
		justify-content: flex-end;
		padding-right: var(--th-right, 14px);
		text-align: right;
	}
	/*
	 * a right label ends where the amounts below it do: 16px from the next column (14px and the 2px of the cell; 12px
	 * in a tight_narrow table, 8px in a tighter_narrow one), the last one 8px from the edge (in a wrap_th_narrow table on
	 * a phone, which has no room for more, 6px, 8px from the next column); a label keeps at least 6px at its sides
	 */
	.responsive :is(.white_box, .black_box) table.tight_narrow {
		--th-right: 10px;
	}
	.responsive :is(.white_box, .black_box) table.tighter_narrow {
		--th-right: 6px;
	}
	@media (max-width: 719px) {
		.responsive :is(.white_box, .black_box) table.wrap_th_narrow {
			--th-right: 6px;
			--th-right-last: 6px;
		}
	}
	.responsive :is(.white_box, .black_box) table > tbody > tr:first-child > th:nth-last-child(1 of :not(.hide_narrow)) {
		--th-right: var(--th-right-last, 8px);
	}
	@media (max-width: 719px) {
		.responsive :is(.white_box, .black_box) table > tbody > tr:first-child > th:nth-last-child(1 of :not(.hide_narrow, .hide_phone)) {
			--th-right: var(--th-right-last, 8px);
		}
	}
	/* followed by another column of amounts, a right label ends where the padding of its cell does (6px and the 2px of the cell) */
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(1):is(.r, .money, .r_narrow):not([colspan]) + td:is(.r, .money, .r_narrow)) > tbody > tr:first-child > th:nth-child(1),
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(2):is(.r, .money, .r_narrow):not([colspan]) + td:is(.r, .money, .r_narrow)) > tbody > tr:first-child > th:nth-child(2),
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(3):is(.r, .money, .r_narrow):not([colspan]) + td:is(.r, .money, .r_narrow)) > tbody > tr:first-child > th:nth-child(3),
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(4):is(.r, .money, .r_narrow):not([colspan]) + td:is(.r, .money, .r_narrow)) > tbody > tr:first-child > th:nth-child(4),
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(5):is(.r, .money, .r_narrow):not([colspan]) + td:is(.r, .money, .r_narrow)) > tbody > tr:first-child > th:nth-child(5),
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(6):is(.r, .money, .r_narrow):not([colspan]) + td:is(.r, .money, .r_narrow)) > tbody > tr:first-child > th:nth-child(6),
	.responsive :is(.white_box, .black_box) table:not(:has(> tbody > tr:first-child > th[colspan])):has(> tbody > tr:nth-child(2) > td:nth-child(7):is(.r, .money, .r_narrow):not([colspan]) + td:is(.r, .money, .r_narrow)) > tbody > tr:first-child > th:nth-child(7),
	.responsive :is(.white_box, .black_box) table > tbody > tr:first-child > th:has(+ th.r) {
		--th-right: var(--th-right-pair, 6px);
	}
	/* a list (.list_head): less room at the sides of the labels (table.wrap_th_narrow: --label-pad) */
	.responsive .list_narrow > .list_head > div.th > div {
		padding-left: 2px;
		padding-right: 2px;
	}
	/* a table whose cells need less space between them (4px at each side), or even less (2px) */
	.responsive table.tight_narrow :is(th, td) {
		padding-left: 4px;
		padding-right: 4px;
	}
	.responsive table.tighter_narrow :is(th, td) {
		padding-left: 2px;
		padding-right: 2px;
	}
	/* a table that just does not fit: a smaller text; an amount stays on one line (a '-' in front of it does not break off) */
	.responsive table.small_narrow, .responsive table.small_narrow :is(a, span, div:not(th div)) {
		font-size: 10pt;
	}
	.responsive table.small_narrow td.money {
		white-space: nowrap;
	}
	/* a table of many narrow columns (like checkboxes): on a phone the header labels go up */
	@media (max-width: 719px) {
		.responsive table.vertical_th_narrow th div {
			display: block;
			writing-mode: vertical-rl;
			transform: rotate(180deg);
			height: auto;
			line-height: 20px;
			padding: 6px 0;
			margin: 0 auto;
			white-space: nowrap;
		}
		.responsive table.vertical_th_narrow th {
			vertical-align: bottom;
		}
		.responsive table.vertical_th_narrow input[type="checkbox"] {
			margin: 3px 1px;
		}
	}
	/*
	 * a row of a text and a button in the last of its cells: the button goes below
	 * the text, so that it does not widen the column of that cell
	 */
	.responsive tr.button_below_narrow > td:first-child {
		padding-bottom: 48px;
	}
	.responsive tr.button_below_narrow > td:last-child {
		position: relative;
		padding: 0;
	}
	.responsive tr.button_below_narrow > td:last-child > button {
		position: absolute;
		right: 0;
		bottom: 8px;
	}
	/*
	 * a row of only a lone button (a buttons_narrow in its last cell, its other cells empty) that ends a table (Koop,
	 * crew/credits): over the width of the table, below its rows, as the lone button below a form
	 */
	.responsive table:has(> tbody > tr.button_below_narrow:last-child > td:last-child > .buttons_narrow) {
		position: relative;
	}
	.responsive tr.button_below_narrow > td:last-child:has(> .buttons_narrow) {
		position: static;
		height: 52px;
	}
	.responsive tr.button_below_narrow:has(> td:last-child > .buttons_narrow) > td:first-child {
		padding-bottom: 0;
	}
	.responsive tr.button_below_narrow > td:last-child > .buttons_narrow {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
	}
	/*
	 * a form of a field and its buttons in that cell (form.field_row_narrow, items/catalog): over the width of the row,
	 * below its other cells (their header label hide_narrow)
	 */
	.responsive tr.button_below_narrow:has(> td:last-child > form.field_row_narrow) {
		position: relative;
	}
	.responsive tr.button_below_narrow:has(> td:last-child > form.field_row_narrow) > td:not(:last-child) {
		padding-bottom: 64px;
	}
	.responsive tr.button_below_narrow > td:last-child:has(> form.field_row_narrow) {
		position: static;
		width: 0;
	}
	.responsive tr.button_below_narrow > td:last-child > form.field_row_narrow {
		position: absolute;
		left: var(--cell-edge, 8px);
		right: var(--cell-edge, 8px);
		bottom: 12px;
		margin: 0;
	}
	/* a cell with a picture (like the icon of a house in a list): a smaller picture, the cell as narrow as it, at its left */
	.responsive .thumb_narrow img {
		width: 40px;
		/* max-width: 100% would let a squeezed cell shrink the picture to nothing */
		min-width: 40px;
	}
	.responsive :is(.white_box, .black_box) td.thumb_narrow {
		width: 1%;
		text-align: left;
	}
	/* a form.cssform (labels in a column at the left) in a <div class="cssform_narrow">: a narrower column of labels */
	.responsive .cssform_narrow form.cssform p {
		width: auto;
		padding-left: 95px;
	}
	.responsive .cssform_narrow form.cssform label {
		margin-left: -95px;
		width: 90px;
		line-height: 40px;
	}
	/* its fields over the width of their column; fields one below the other (separated by <br><br>) 8px apart */
	.responsive .cssform_narrow form.cssform :is(input:not([type="checkbox"], [type="radio"]), select) {
		width: 100%;
	}
	.responsive .cssform_narrow form.cssform span:not(.amount_narrow) > input:not([type="checkbox"], [type="radio"]) {
		display: block;
		margin-bottom: 8px;
	}
	.responsive .cssform_narrow form.cssform span > br {
		display: none;
	}
	/* a small phone: each label above its field */
	@media (max-width: 479px) {
		.responsive .cssform_narrow form.cssform p {
			padding-left: 0;
		}
		.responsive .cssform_narrow form.cssform label {
			display: block;
			float: none;
			width: auto;
			margin: 0 0 4px;
			line-height: 1.4;
		}
	}
	/*
	 * a field and its button (and the text around them, like "Koop [field] loten."), in a span, a form or a table
	 * of one row: in one row, the field takes the room that is left
	 */
	.responsive .field_row_narrow {
		display: flex;
		align-items: center;
		gap: 8px;
		margin-bottom: 10px;
	}
	.responsive .field_row_narrow :is(tbody, tr, td, div),
	.responsive .field_row_narrow > span:has(> :is(input, select)) {
		display: contents;
	}
	.responsive .field_row_narrow :is(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"]), select) {
		flex: 1 1 0;
		width: auto !important;
		min-width: 0;
	}
	.responsive .field_row_narrow :is(.greenbutton, a.btn, .btn_narrow) {
		flex: none;
		margin: 0 !important;
	}
	.responsive .field_row_narrow br:not(small br) {
		display: none;
	}
	/*
	 * its label (a <label>, or the text in a span.label_narrow) on a line of its own above the field, in bold as the
	 * labels of form_narrow; a small line about the field (<small>, like what it costs, or a span.amount_hint, like the
	 * maximum) below the row, and a link after it (span.end_narrow, like Alles tonen) on a line of its own below that
	 */
	.responsive .field_row_narrow:has(label, .label_narrow, small, .amount_hint, .end_narrow) {
		flex-wrap: wrap;
	}
	.responsive .field_row_narrow :is(label, .label_narrow) {
		flex: 0 0 100%;
		width: auto !important;
		margin: 0 0 -4px !important;
		font-weight: bold;
	}
	.responsive .field_row_narrow :is(small, .amount_hint) {
		flex: 0 0 100%;
		order: 1;
	}
	.responsive .field_row_narrow .amount_hint {
		margin-top: -4px;
		font-size: 13px;
		line-height: 1.4;
	}
	/*
	 * a hint and a small line after it (the maximum, then what the form does: Olie Omzetten, vehicles/gasstation): one
	 * block of small lines, as a <small> of two lines (Olie Kopen)
	 */
	.responsive .field_row_narrow .amount_hint:has(~ small) {
		margin-top: 0;
	}
	.responsive .field_row_narrow .amount_hint ~ small {
		margin-top: -8px;
	}
	.responsive .white_box .field_row_narrow .amount_hint {
		color: var(--color-brown-light);
	}
	.responsive .black_box .field_row_narrow .amount_hint {
		color: var(--color-taupe);
	}
	.responsive .field_row_narrow > .end_narrow {
		flex: 0 0 100%;
		order: 2;
		margin-top: 0 !important;
		padding-left: 0 !important;
	}
	/* (a small link to tap there, a.tap_narrow: the form ends at its text, which its line of 20px reaches 3px below) */
	.responsive .field_row_narrow:has(> .end_narrow > a.tap_narrow:first-child) {
		margin-bottom: -3px;
	}
	/*
	 * a tablet: a field for a name or an amount in a form (field_row_narrow, form_narrow, cssform_narrow) no wider than
	 * 360px, so its button and its ',-' stay next to it (and a select in these forms as wide: marketplace/new); not the
	 * message of the chat in a box (chat/archive), which is as wide as the chat at the bottom of the page
	 */
	@media (min-width: 720px) {
		.responsive :is(.field_row_narrow, table.form_narrow, .cssform_narrow form.cssform) input:is(:not([type]), [type="text"], [type="number"], [type="password"], [type="email"], [type="search"]),
		.responsive :is(.field_row_narrow, table.form_narrow, .cssform_narrow form.cssform) select {
			max-width: min(100%, 360px);
		}
		.responsive #chatcontainer .field_row_narrow input {
			max-width: none;
		}
	}
	/*
	 * a label of a field (span.label_narrow, or a <label> or <small> with the class) on a line of its own above it, in bold
	 * in the size and colour of the text, as the labels of field_row_narrow and form_narrow
	 */
	.responsive .label_narrow {
		font-weight: bold;
	}
	.responsive :is(.white_box, .black_box) small.label_narrow {
		font-size: inherit;
		line-height: inherit;
		color: inherit;
	}
	/*
	 * the label of the next field of a form after an empty line (<br><br>, tickets/new2: Toegevoegd bewijs): on a line of its
	 * own 16px below the field above it, instead of the empty line
	 */
	.responsive :is(.white_box, .black_box) br + br:has(+ .label_narrow) {
		display: none;
	}
	.responsive :is(.white_box, .black_box) br + br + .label_narrow {
		display: block;
		margin-top: 16px;
	}
	.responsive :is(.white_box, .black_box) br + br + .label_narrow + br {
		display: none;
	}
	/* the label of an amount (span.label_narrow in an amount_narrow, Inzet in blackjack/index) above € [field] ,- */
	.responsive .amount_narrow > .label_narrow {
		flex: 0 0 100%;
	}
	/* a button next to it in a field_buttons_narrow next to the field, not next to the label */
	.responsive .field_buttons_narrow:has(> .amount_narrow > .label_narrow) {
		align-items: flex-end;
	}
	/*
	 * an amount (span.amount_narrow around "€ [field] ,-", or around a select of amounts): in one row, the field takes
	 * the room; a hint after it (span.amount_hint, like the maximum) on a line of its own in small grey text
	 */
	.responsive .amount_narrow {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		column-gap: 6px;
		margin-bottom: 10px;
	}
	.responsive .amount_narrow > :is(input, select) {
		flex: 1 1 0;
		width: auto !important;
		min-width: 0;
	}
	.responsive .amount_narrow > .amount_hint {
		flex: 0 0 100%;
		margin-top: 2px;
	}
	.responsive .amount_narrow > .amount_hint, .responsive .amount_narrow > .amount_hint * {
		font-size: 13px;
	}
	.responsive .white_box .amount_narrow > .amount_hint {
		color: var(--color-brown-light);
	}
	.responsive .black_box .amount_narrow > .amount_hint {
		color: var(--color-taupe);
	}
	/*
	 * a form of a field (or an amount_narrow) and its buttons in a span after it: one button next to the field, which
	 * takes the room that is left (at least 120px), or below it over the width of the form when the row has no room for
	 * both (the field grows a thousand times faster, so the button only grows on a line of its own); two buttons below
	 * it (see below)
	 */
	.responsive .field_buttons_narrow {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 12px 8px;
		margin-bottom: 10px;
	}
	.responsive .field_buttons_narrow > :is(.amount_narrow, input:not([type="checkbox"], [type="radio"], [type="hidden"])) {
		flex: 1000 1 120px;
		min-width: 0;
		margin-bottom: 0;
	}
	.responsive .field_buttons_narrow > span:has(> :is(.greenbutton, a.btn)) {
		display: flex;
		flex: 1 0 auto;
		gap: 8px;
	}
	.responsive .field_buttons_narrow :is(.greenbutton, a.btn) {
		flex: 1 0 auto;
		margin: 0 !important;
	}
	/*
	 * two buttons (Storten, Opnemen) go below the field, as equal halves of its width (as buttons_narrow on a phone); a
	 * word between them (of) in a span.hide_narrow
	 */
	.responsive .field_buttons_narrow:has(> span > :is(.greenbutton, a.btn) ~ :is(.greenbutton, a.btn)) > :is(.amount_narrow, input:not([type="checkbox"], [type="radio"], [type="hidden"])) {
		flex-basis: 100%;
	}
	.responsive .field_buttons_narrow > span:has(> :is(.greenbutton, a.btn) ~ :is(.greenbutton, a.btn)) {
		display: grid;
		flex: 1 1 100%;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
	}
	.responsive .field_buttons_narrow > span > :is(.greenbutton, a.btn):is(:has(~ :is(.greenbutton, a.btn)), :is(.greenbutton, a.btn) ~ *) {
		min-width: 0;
	}
	/*
	 * a tablet: no wider than 360px, so the field (and the ',-' after it) and one button next to it, or the halves of two
	 * buttons below it, end where the rows of a kv_rows_narrow above it do
	 */
	@media (min-width: 720px) {
		.responsive .field_buttons_narrow {
			max-width: 360px;
		}
	}
	.responsive .field_buttons_narrow > br {
		display: none;
	}
	/* a small line about the field (<small>, like what the maximum depends on) goes below the row */
	.responsive .field_buttons_narrow > small {
		flex: 1 1 100%;
		order: 1;
	}
	/* the <br>s after the form leave no room: a small line after it (what it costs) is 10px below the buttons */
	.responsive :is(.field_buttons_narrow, .field_row_narrow) + br, .responsive :is(.field_buttons_narrow, .field_row_narrow) + br + br {
		display: none;
	}
	/*
	 * a row of a label and its field (div.field_block_narrow with two floats, the label (a div or a <label>) of a fixed width; or a span
	 * around two spans in a line of text, with a <br> after it): the label above the field, the field over the width of
	 * the box; selects side by side (a date, or two with a word between them) share the row
	 */
	.responsive .field_block_narrow {
		height: auto !important;
		margin-left: 0 !important;
		padding: 8px 0 12px;
	}
	.responsive :is(.white_box, .black_box) .field_block_narrow > :is(div, span, label) {
		float: none !important;
		width: auto !important;
		margin-right: 0;
		padding: 0;
		overflow: visible;
		white-space: normal;
	}
	.responsive .field_block_narrow > :is(div, span, label):first-child:not(:only-child) {
		margin-bottom: 4px;
		font-weight: bold;
	}
	/* the label above its field keeps no margin of its float (margin-top:7px: marketplace/new2) */
	.responsive .field_block_narrow > :is(div, label):first-child:not(:only-child) {
		margin-top: 0 !important;
	}
	/* the first row of a box starts at its padding */
	.responsive :is(.white_box, .black_box, .info_box_body) > .field_block_narrow:first-child {
		padding-top: 0;
	}
	.responsive span.field_block_narrow, .responsive span.field_block_narrow > span {
		display: block;
	}
	.responsive span.field_block_narrow + br {
		display: none;
	}
	.responsive .field_block_narrow :is(input:not([type="checkbox"], [type="radio"]), select) {
		width: 100% !important;
	}
	/*
	 * a tablet: an amount (amount_narrow), a select or a text field of its own no wider than 360px, as the fields of the
	 * other forms; a lone button (buttons_narrow) right after the rows as wide as them, so the form has one right edge
	 */
	@media (min-width: 720px) {
		.responsive .field_block_narrow :is(.amount_narrow, div > select:only-child),
		.responsive .field_block_narrow > :is(select, input:is(:not([type]), [type="text"], [type="number"], [type="search"])) {
			max-width: 360px;
		}
		.responsive .field_block_narrow + .buttons_narrow > :only-child {
			width: 360px;
		}
	}
	.responsive .field_block_narrow :is(div, span):has(> select + select) {
		display: flex;
		gap: 6px;
	}
	.responsive .field_block_narrow span:has(> select + select) {
		align-items: center;
	}
	.responsive .field_block_narrow :is(div, span):has(> select + select) > select {
		flex: 1 1 auto;
		width: auto !important;
		min-width: 0;
	}
	/*
	 * form.fields_row_tablet, a short form of field_block_narrow rows and a lone button (forum/search): 16px between the
	 * rows and the button 12px below them; on a tablet the rows side by side as columns of the same width, the button
	 * at the end of the row, on the line of the fields
	 */
	.responsive form.fields_row_tablet > .field_block_narrow {
		padding: 0;
	}
	.responsive form.fields_row_tablet > .field_block_narrow + .field_block_narrow {
		margin-top: 16px;
	}
	@media (min-width: 720px) {
		.responsive form.fields_row_tablet {
			display: flex;
			align-items: flex-end;
			column-gap: 16px;
		}
		.responsive form.fields_row_tablet > .field_block_narrow {
			flex: 1 1 0;
			min-width: 0;
		}
		.responsive form.fields_row_tablet > .field_block_narrow + .field_block_narrow {
			margin-top: 0;
		}
		.responsive form.fields_row_tablet > .buttons_narrow {
			flex: none;
			margin-top: 0 !important;
		}
		.responsive form.fields_row_tablet > .field_block_narrow + .buttons_narrow > :only-child {
			width: auto;
		}
	}
	/*
	 * table.form_narrow, a form in rows of a label and a field: the fields over the full width; on a phone each
	 * label above its field, on a tablet the labels in a column of 100px; <br>s after a label and empty cells drop out
	 */
	.responsive table.form_narrow {
		width: 100%;
		border-collapse: collapse;
	}
	.responsive table.form_narrow td {
		padding: 0 0 12px;
	}
	.responsive table.form_narrow td:first-child br,
	.responsive table.form_narrow td:empty {
		display: none;
	}
	.responsive table.form_narrow :is(input:not([type="checkbox"], [type="radio"]), select, textarea) {
		width: 100% !important;
	}
	/* fields one below the other in a cell (separated by a <br>, like the options of a poll) 8px apart */
	.responsive table.form_narrow input:not([type="checkbox"], [type="radio"], [type="hidden"]):has(+ br + input) {
		margin-bottom: 8px;
	}
	/* the button in a row of its own 12px below the field above it (the room below that row); the box ends at its padding */
	.responsive table.form_narrow td > .buttons_narrow:first-child {
		margin-top: 0 !important;
	}
	.responsive table.form_narrow > tbody > tr:last-child > td:last-child {
		padding-bottom: 0;
	}
	@media (max-width: 719px) {
		.responsive table.form_narrow, .responsive table.form_narrow > tbody,
		.responsive table.form_narrow > tbody > tr:not(.hide_narrow), .responsive table.form_narrow > tbody > tr > td {
			display: block;
		}
		.responsive table.form_narrow td:first-child:not(:only-child) {
			padding-bottom: 4px;
			font-weight: bold;
		}
	}
	/*
	 * a tablet: a label on the first line of its value (the baseline: next to a field of 40px in its middle, next to a
	 * value of more lines at its first line); next to a text field at its top
	 */
	@media (min-width: 720px) {
		.responsive table.form_narrow td {
			vertical-align: baseline;
		}
		.responsive table.form_narrow td:first-child:not(:only-child) {
			width: 100px;
			padding-right: 10px;
		}
		.responsive table.form_narrow tr:has(> td > textarea) > td:first-child:not(:only-child),
		.responsive table.form_narrow td:first-child[valign="top"] {
			padding-top: 8px;
			vertical-align: top;
		}
		/* an empty label cell (the row of the submit button) keeps the column, so the button lines up with the fields */
		.responsive table.form_narrow td:first-child:empty:not(:only-child) {
			display: table-cell;
		}
		/* so does the button in a cell over both columns (colspan=2) */
		.responsive table.form_narrow td[colspan]:only-child:has(> .buttons_narrow:only-child) {
			padding-left: 110px;
		}
	}
	/*
	 * filters (form.filters_narrow: a label and a select, a label and a select, ...): a grid with each label next to
	 * its select, on a tablet --pairs (3) pairs side by side
	 */
	.responsive .filters_narrow {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 8px 10px;
		margin-bottom: 12px;
	}
	.responsive .filters_narrow select {
		width: 100%;
	}
	/* the <br>s after the form leave no room (it is a block, 12px above what follows) */
	.responsive .filters_narrow + br, .responsive .filters_narrow + br + br {
		display: none;
	}
	@media (min-width: 720px) {
		.responsive .filters_narrow {
			grid-template-columns: repeat(var(--pairs, 3), auto minmax(0, 1fr));
		}
	}
	/*
	 * a progress bar between its label and its percentage (div.progress_narrow around three floats: the label, the
	 * frame of the bar with the bar (an <img> whose style has --progress, how full it is in %) and the percentage):
	 * in one row, the bar takes the room up to 240px (below 480px all of it); the label at least 96px and the percentage
	 * 48px at the right, so the bars of boxes one below the other (Level and the rank of home/index) start and end at the same x
	 */
	.responsive .progress_narrow {
		display: flex;
		align-items: center;
		gap: 8px;
		width: auto !important;
		height: auto !important;
		margin: 12px 0 !important;
	}
	.responsive .progress_narrow > div {
		flex: none;
		float: none !important;
		margin: 0 !important;
		white-space: nowrap;
	}
	.responsive .progress_narrow > div:first-child {
		min-width: 96px;
	}
	.responsive .progress_narrow > div:nth-child(2) {
		flex: 1 1 auto;
		max-width: 240px;
	}
	.responsive .progress_narrow > div:nth-child(3) {
		min-width: 48px;
		text-align: right;
	}
	/* a phone: the bar takes all the room, so the percentage ends at the padding, as the values below it */
	@media (max-width: 479px) {
		.responsive .progress_narrow > div:nth-child(2) {
			max-width: none;
		}
	}
	.responsive .progress_narrow > div:nth-child(2) > div {
		display: flow-root;
		width: auto !important;
	}
	.responsive .progress_narrow img {
		display: block;
		width: max(0px, min(var(--progress, 0%), 100%) - 4px) !important;
	}
	/* in a block centred with .center_narrow it takes the row as well, so it starts at the left as the others do */
	.responsive .center_narrow > .progress_narrow {
		flex: 1 1 auto;
	}
	/* a row of a label and its value (floats of a fixed width, like Power: 5.000): the label at the left, the value at the right */
	.responsive .kv_narrow {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}
	.responsive .kv_narrow > * {
		float: none !important;
		width: auto !important;
	}
	.responsive .kv_narrow > .clear {
		display: none;
	}
	/*
	 * a row of a label and a select (admin/ticket: a player and the punishment): 8px below each row, as the fields of
	 * form_narrow; the select takes the room next to the label up to 240px (360px on a tablet), so the selects of the
	 * rows line up and its text (Selecteer straf...) fits, or goes below it over the row when that is too little
	 */
	.responsive .kv_narrow:has(> * > select) {
		flex-wrap: wrap;
		margin-bottom: 8px;
	}
	.responsive .kv_narrow > :has(> select) {
		display: flex;
		flex: 1 1 210px;
		justify-content: flex-end;
		min-width: 0;
	}
	.responsive :is(.white_box, .black_box) .kv_narrow > * > select {
		flex: 1 1 auto;
		width: auto !important;
		min-width: 0;
		max-width: 240px;
	}
	/* a small phone: the select below its label, over the row */
	@media (max-width: 359px) {
		.responsive .kv_narrow > :has(> select) {
			flex-basis: 100%;
		}
		.responsive :is(.white_box, .black_box) .kv_narrow > * > select {
			max-width: none;
		}
	}
	/*
	 * a tablet: the select takes a fixed share of the row (at most 360px) at its right, so the selects of the rows share one
	 * left edge and one width whatever the length of their label
	 */
	@media (min-width: 720px) {
		.responsive .kv_narrow > :has(> select) {
			flex: 0 0 min(62%, 360px);
		}
		.responsive :is(.white_box, .black_box) .kv_narrow > * > select {
			max-width: none;
		}
	}
	/* in a row with a line below it (div.row, its cells floats with padding) the label and the value at the edges, as in the others */
	.responsive :is(.white_box, .black_box) div.row.kv_narrow {
		padding-left: 0;
		padding-right: 0;
	}
	.responsive :is(.white_box, .black_box) div.row.kv_narrow > div {
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
	/*
	 * rows of a label and its value (table.kv_rows_narrow of rows of two cells, or a span.kv_rows_narrow around rows
	 * span.kv_narrow with the value in an element of its own): over the width of the box, the label at the left and
	 * the value at the right in bold, both at the padding of the box, a line between the rows
	 */
	.responsive table.kv_rows_narrow {
		width: 100% !important;
		margin: 0 0 16px !important;
		border-spacing: 0;
	}
	.responsive table.kv_rows_narrow > tbody > tr > td {
		padding: 8px 0;
	}
	/* a value of more lines (Verbruik, vehicles/car): its label on its first line (not next to a field or a picture) */
	.responsive table.kv_rows_narrow > tbody > tr:not(:has(input, select, textarea, button, img, .btn_narrow, .greenbutton)) > td {
		vertical-align: baseline;
	}
	.responsive table.kv_rows_narrow > tbody > tr > td + td {
		padding-left: 12px;
		text-align: right;
		font-weight: bold;
	}
	/* a small line in a value (what it is or when it comes): a line of its own below it, not bold */
	.responsive table.kv_rows_narrow > tbody > tr > td + td small:not(.hide_narrow) {
		display: block;
		font-weight: normal;
	}
	.responsive span.kv_rows_narrow {
		display: block;
		margin-bottom: 16px;
	}
	/* the last block of its box: the box ends at its padding */
	.responsive .kv_rows_narrow:last-child {
		margin-bottom: 0 !important;
	}
	/* (as does a link in a row of one cell at the end of such rows: Bekijk uitgebreide logs, casino/tableadmin) */
	.responsive :is(.white_box, .black_box, .info_box_body) > table.kv_rows_narrow:nth-last-child(1 of :not(script, style, br, .clear)) > tbody > tr:last-child > td[colspan]:only-child {
		padding-bottom: 0;
	}
	.responsive span.kv_rows_narrow > .kv_narrow {
		padding: 8px 0;
	}
	.responsive span.kv_rows_narrow > .kv_narrow:not(:has(input, select, textarea, button, img, .btn_narrow, .greenbutton)) {
		align-items: first baseline;
	}
	.responsive span.kv_rows_narrow > .kv_narrow > :last-child {
		font-weight: bold;
		text-align: right;
	}
	/* a label in bold in its cell (<td><b>PK</b></td>, vehicles/car) plain, as the other labels */
	.responsive table.kv_rows_narrow > tbody > tr > td:first-child > b {
		font-weight: normal;
	}
	/* a label in bold above its value (<b>Full house</b><br>), as the other labels: plain, next to its value */
	.responsive span.kv_rows_narrow > .kv_narrow > b:first-child {
		font-weight: normal;
	}
	.responsive span.kv_rows_narrow > .kv_narrow > br {
		display: none;
	}
	.responsive :is(table.kv_rows_narrow > tbody > tr, span.kv_rows_narrow > .kv_narrow):not(:last-child) {
		background: var(--hr-line) left bottom / 100% 2px repeat-x;
	}
	/* on a black box a thin line in a muted colour, not the bright bar of a table of data */
	.responsive .black_box :is(table.kv_rows_narrow > tbody > tr, span.kv_rows_narrow > .kv_narrow):not(:last-child) {
		background: linear-gradient(var(--color-stone), var(--color-stone)) left bottom / 100% 1px no-repeat;
	}
	/*
	 * tables of rows in the cells of a table.stack (crew/profile) read as one list: the last row of a table that is not
	 * the last one keeps its line (also as a tr.last, which the fixed layout gives none), the cells add no room
	 */
	.responsive table.stack > tbody > tr > td:has(> table.kv_rows_narrow:last-child) {
		padding: 0;
	}
	.responsive table.stack > tbody > tr > td:not(:last-child) > table.kv_rows_narrow:last-child > tbody > tr:last-child {
		background: var(--hr-line) left bottom / 100% 2px repeat-x !important;
	}
	/* a tablet: the tables side by side, two columns of rows 24px apart, each ending at its last row */
	@media (min-width: 720px) {
		.responsive table.stack:has(> tbody > tr > td > table.kv_rows_narrow:last-child) > tbody > tr {
			display: grid;
			grid-auto-columns: minmax(0, 1fr);
			grid-auto-flow: column;
			column-gap: 24px;
		}
		.responsive table.stack > tbody > tr > td:not(:last-child) > table.kv_rows_narrow:last-child > tbody > tr:last-child {
			background: none !important;
		}
	}
	/* a part of a value in a span.nowrap_narrow ((max.: 100), 100 km) stays whole; a link in it (pagina 2) is underlined */
	.responsive .kv_rows_narrow :is(td + td, .kv_narrow) .nowrap_narrow a {
		text-decoration: underline;
	}
	.responsive .kv_rows_narrow :is(td + td, .kv_narrow) a {
		color: inherit;
		text-decoration: none;
	}
	/* a grey part of a value ((in bezit: 3, max.: 10), marketplace/ad) not bold, in the grey of the box */
	.responsive .kv_rows_narrow :is(td + td, .kv_narrow) .grey {
		font-weight: normal;
	}
	.responsive .white_box .kv_rows_narrow :is(td + td, .kv_narrow) .grey {
		color: var(--color-brown-light);
	}
	.responsive .black_box .kv_rows_narrow :is(td + td, .kv_narrow) .grey {
		color: var(--color-taupe);
	}
	/*
	 * a small link to tap after a value (a.tap_narrow, bewerk in vehicles/gasstation): a link of its own, grey, 13px and
	 * underlined, its tap area reaching into the row without making it higher
	 */
	.responsive .kv_rows_narrow :is(td + td, .kv_narrow) a.tap_narrow {
		margin: -10px 0 -10px 6px;
		font-size: 13px !important;
		font-weight: normal;
		text-decoration: underline;
	}
	.responsive .white_box .kv_rows_narrow :is(td + td, .kv_narrow) a.tap_narrow {
		color: var(--color-brown-light);
	}
	.responsive .black_box .kv_rows_narrow :is(td + td, .kv_narrow) a.tap_narrow {
		color: var(--color-taupe);
	}
	/* a small line right after the rows (like the maximum of a safe) 4px below them, 12px above what follows */
	.responsive .kv_rows_narrow:has(+ small) {
		margin-bottom: 4px !important;
	}
	.responsive .kv_rows_narrow + small {
		display: block;
		margin-bottom: 12px;
	}
	/* a long note that the fixed layout has in a value (casino/admin): a small line of its own after the rows (show_narrow) */
	.responsive .kv_rows_narrow + small.show_narrow {
		display: block !important;
	}
	.responsive .kv_rows_narrow + small.show_narrow + br {
		display: none;
	}
	/* the <br>s between the rows and after them leave no room (the rows are blocks, 16px above what follows) */
	.responsive span.kv_rows_narrow > br, .responsive .kv_rows_narrow + br, .responsive .kv_rows_narrow + br + br {
		display: none;
	}
	/* a tablet: no wider than 360px, so a label stays near its value, and the rows end where a form of 360px below them does */
	@media (min-width: 720px) {
		.responsive .kv_rows_narrow {
			max-width: 360px;
		}
	}
	/*
	 * kv_wide_tablet, on rows with no form below them in their box, and a table of rows below a header label
	 * (shopping/stats): over the width of the box on a tablet as well
	 */
	@media (min-width: 720px) {
		.responsive table.kv_rows_narrow:has(th), .responsive .kv_rows_narrow.kv_wide_tablet {
			max-width: none;
		}
	}
	/* below a header label the label and the value 8px from the edges, as the cells of a table of data */
	.responsive table.kv_rows_narrow:has(th) > tbody > tr > td {
		padding-left: 8px;
		padding-right: 8px;
	}
	/*
	 * a small icon to tap (an <img> with an onClick, like delete or edit): a tap area of 40px around it that does
	 * not move it or what is next to it, darker while it is pressed; two icons side by side keep their areas apart
	 */
	.responsive img.tap_narrow {
		box-sizing: content-box;
		padding: 13px;
		margin: -13px;
		border-radius: 6px;
		vertical-align: middle;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive img.tap_narrow + img.tap_narrow {
		margin-left: 10px;
	}
	.responsive img.tap_narrow:active {
		background-color: rgb(0 0 0 / 12%);
	}
	/* a small text link (a.tap_narrow, like a link in 8pt): 40px high, its text 12px */
	.responsive a.tap_narrow {
		display: inline-block;
		padding: 10px 0;
		font-size: 12px !important;
		line-height: 20px;
	}
	/*
	 * a link that opens and closes the rows below its row (a.toggle_narrow, Marktplaats in logs/money): its whole row a
	 * tap area, a small chevron after it that points down, and up while the rows below are open
	 */
	.responsive :is(div.row, tr):has(> * > a.toggle_narrow) {
		position: relative;
		cursor: pointer;
	}
	.responsive a.toggle_narrow {
		-webkit-tap-highlight-color: transparent;
	}
	.responsive a.toggle_narrow::before {
		content: '';
		position: absolute;
		inset: 0;
	}
	.responsive a.toggle_narrow:active::before {
		background-color: rgb(0 0 0 / 6%);
	}
	.responsive a.toggle_narrow::after {
		content: '';
		display: inline-block;
		width: 6px;
		height: 6px;
		margin: 0 4px 4px 8px;
		border: solid currentColor;
		border-width: 0 2px 2px 0;
		transform: rotate(45deg);
		vertical-align: middle;
	}
	.responsive :is(div.row, tr):not(:has(+ [style*="display:none"], + [style*="display: none"])) > * > a.toggle_narrow::after {
		margin-bottom: 0;
		transform: rotate(-135deg);
	}
	/* a note after the link in a span ((alleen via geld), logs/money): a small grey line below it, so the chevron ends the link */
	.responsive a.toggle_narrow ~ span {
		display: block;
		font-size: 13px;
		line-height: 1.4;
	}
	.responsive .white_box a.toggle_narrow ~ span {
		color: var(--color-brown-light);
	}
	.responsive .black_box a.toggle_narrow ~ span {
		color: var(--color-taupe);
	}
	/* a notice (like a wait notice) or an error (div.errordiv): as wide as its box, in the look of the fixed layout */
	.responsive :is(.errordiv, .notice_narrow) {
		box-sizing: border-box;
		width: auto !important;
		margin: 0 0 10px !important;
		text-align: left !important;
	}
	.responsive .errordiv li {
		padding-left: 0;
	}
	/* a tip or an offer (like the green bar about a membership): as wide as its box, in the look of the fixed layout */
	.responsive .tip_narrow {
		box-sizing: border-box;
		width: auto !important;
		margin: 0 0 12px !important;
	}
	/*
	 * a result in a line of text (span.notice_narrow or span.tip_narrow: Helaas, je bent je inzet verloren): a block,
	 * 12px below what is above it; the <br>s around it leave no room
	 */
	.responsive span:is(.notice_narrow, .tip_narrow) {
		display: block;
		margin-top: 12px !important;
	}
	.responsive span:is(.notice_narrow, .tip_narrow):last-child {
		margin-bottom: 0 !important;
	}
	/* (the first line of its box, as the outcome above the scores of shopping/run: at the top of the box) */
	.responsive :is(.white_box, .black_box, .info_box_body) > span:is(.notice_narrow, .tip_narrow):first-child {
		margin-top: 0 !important;
	}
	.responsive br:has(+ span:is(.notice_narrow, .tip_narrow)),
	.responsive span:is(.notice_narrow, .tip_narrow) + br, .responsive span:is(.notice_narrow, .tip_narrow) + br + br {
		display: none;
	}
	/*
	 * an image whose clicked coordinates count (an <input type="image"> in a
	 * .image_map_box, like the 550x100 one of vehicles/steal, where the server checks
	 * which button was clicked): it shrinks to the width of its box like any image,
	 * and a script on the page converts the click to coordinates in the full-size
	 * image (browsers do not agree on the coordinates of a shrunk or transformed
	 * <input type="image">). No tap highlight, which on a phone lit up the whole image.
	 */
	.responsive :is(.white_box, .black_box) .image_map_box .image_map {
		display: block;
		width: 100% !important;
		max-width: 550px;
		height: auto !important;
		aspect-ratio: 550 / 100;
		-webkit-tap-highlight-color: transparent;
	}
	/*
	 * a row of 1 to 4 buttons (.buttons_narrow on the block or span around them, a button may be in a form of its own):
	 * on a phone a grid of two equal columns over the width of the box (an odd last button takes the row), on a tablet a
	 * row of buttons 8px apart
	 */
	.responsive .buttons_narrow {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 12px !important;
		margin-left: 0 !important;
	}
	/* a row that only a narrow screen shows (show_narrow, which reverts the display:none) is a row all the same */
	.responsive .buttons_narrow.show_narrow {
		display: flex !important;
	}
	/* a row of buttons a player cannot use (hide_narrow, the form of edituser/widgets without an Ultimate membership): left out */
	.responsive .buttons_narrow.hide_narrow {
		display: none;
	}
	/* (so is a row whose buttons are all hidden until the field above them is tapped: Reageer, messages/read) */
	.responsive .buttons_narrow:not(:has(> :not(br, [style*="display:none"], [style*="display: none"]))) {
		display: none;
	}
	.responsive .buttons_narrow > :is(.greenbutton, a.btn, .btn_narrow), .responsive .buttons_narrow > form > .greenbutton {
		margin: 0 !important;
	}
	/* the <br>s before the row and in it leave no room (the row is a block of its own) */
	.responsive .buttons_narrow > br, .responsive br:is(:has(+ .buttons_narrow), :has(+ br + .buttons_narrow)) {
		display: none;
	}
	/* a tablet: each button as wide as its text, at least 140px (as the buttons of profile/view) */
	@media (min-width: 720px) {
		.responsive .buttons_narrow > :is(.greenbutton, a.btn, .btn_narrow), .responsive .buttons_narrow > form > .greenbutton {
			min-width: 140px;
		}
		/* center_tablet as well: in the middle, below a game that is (the reels of fruit/play, the dice of yahtzee/play) */
		.responsive .buttons_narrow.center_tablet {
			justify-content: center;
		}
	}
	@media (max-width: 719px) {
		.responsive .buttons_narrow {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
		.responsive .buttons_narrow.show_narrow {
			display: grid !important;
		}
		.responsive .buttons_narrow > :is(.greenbutton, a.btn, .btn_narrow, form), .responsive .buttons_narrow > form > .greenbutton {
			min-width: 0;
			width: 100%;
		}
		.responsive .buttons_narrow > :nth-last-child(1 of :is(.greenbutton, a.btn, .btn_narrow, form):not([style*="display: none"], [style*="display:none"])):nth-child(odd of :is(.greenbutton, a.btn, .btn_narrow, form):not([style*="display: none"], [style*="display:none"])) {
			grid-column: 1 / -1;
		}
	}

	/* the markup that many pages share */
	/*
	 * small text in boxes (<small>, div.small, a span or div of 7pt to 9pt): 13px in a block of its own height with its
	 * lines close together, in the grey of the box; a link in it keeps its colour
	 */
	.responsive :where(.white_box, .black_box) :is(small, .small, small a) {
		font-size: 13px;
	}
	.responsive :where(.white_box, .black_box) :is(small, div.small) {
		line-height: 1.4;
	}
	.responsive :where(.white_box, .black_box) small {
		display: inline-block;
	}
	.responsive :where(.white_box, .black_box) small small {
		display: inline;
	}
	.responsive :where(.white_box) :is(small, div.small):not(a *) {
		color: var(--color-brown-light);
	}
	.responsive :where(.black_box) :is(small, div.small):not(a *) {
		color: var(--color-taupe);
	}
	.responsive :where(.white_box, .black_box) :is(span, div):is([style*="font-size:7pt"], [style*="font-size: 7pt"], [style*="font-size:8pt"], [style*="font-size: 8pt"], [style*="font-size:9pt"], [style*="font-size: 9pt"]) {
		font-size: 13px !important;
		line-height: 1.4;
	}
	/* a list in a box: on a phone less room at its left */
	@media (max-width: 719px) {
		.responsive :where(.white_box, .black_box) ul {
			padding-left: 20px;
		}
	}
	/*
	 * a box ends at its padding: its last block (a paragraph, a form, an item, the row of a field and its button in the
	 * last form) leaves no margin below it, nor does a <br> after its last block. A heading keeps its margin: what
	 * follows it may be text, or a line that only a narrow screen shows (show_narrow)
	 */
	.responsive :is(.white_box, .black_box, .info_box_body) > :nth-last-child(1 of :not(script, style, br, .clear, [style*="display:none"], [style*="display: none"])):not(h1, h2),
	.responsive :is(.white_box, .black_box, .info_box_body) > form:nth-last-child(1 of :not(script, style, br, .clear, [style*="display:none"], [style*="display: none"])) > :nth-last-child(1 of :not(script, style, br, .clear, [type="hidden"], [hidden])),
	.responsive :is(.white_box, .black_box) div.item_box:nth-last-child(1 of div.item_box) {
		margin-bottom: 0;
	}
	.responsive :is(.white_box, .black_box, .info_box_body) > :is(div, p, table, form, ul, ol, center) + br:nth-last-child(1 of :not(script, style, .clear, [style*="display:none"], [style*="display: none"])) {
		display: none;
	}
	/* nor do the <br>s after its last text (br.end_br, marked by ingame_base.js: takeit/index) */
	.responsive :is(.white_box, .black_box, .info_box_body) > br.end_br {
		display: none;
	}
	/* nor does a tip or a notice (tip_narrow, notice_narrow) that ends it (the offer of edituser/profile) */
	.responsive :is(.white_box, .black_box, .info_box_body) > :is(.tip_narrow, .notice_narrow):nth-last-child(1 of :not(script, style, br, .clear, [style*="display:none"], [style*="display: none"])) {
		margin-bottom: 0 !important;
	}
	/*
	 * nor do those at the end of a block with end_brs_narrow, whose content ajax loads again (the evidence of
	 * tickets/new2, each piece with <br><br> after it), so what follows it is as far below its text as below any block
	 */
	.responsive .end_brs_narrow > br:not(:has(~ :not(br))) {
		display: none;
	}
	/* an empty small line in a cell (<br><small></small>, tickets) leaves no room, so the rows line up */
	.responsive :is(.white_box, .black_box) td > :is(br:has(+ small:empty), small:empty) {
		display: none;
	}
	/*
	 * a table of one cell around a list or the line that says it is empty (messages/notes): no room around the cell, so the
	 * text lines up with the heading; a button after it 12px below it
	 */
	.responsive :is(.white_box, .black_box, .info_box_body) > table:not(:has(th)):has(> tbody > tr:only-child > td:only-child) {
		border-spacing: 0;
	}
	.responsive :is(.white_box, .black_box, .info_box_body) > table:not(:has(th)):has(> tbody > tr:only-child > td:only-child) > tbody > tr > td {
		padding: 0;
	}
	.responsive :is(.white_box, .black_box, .info_box_body) > table:not(:has(th)):has(> tbody > tr:only-child > td:only-child) + :is(.greenbutton, a.btn) {
		margin-top: 12px;
	}
	/*
	 * (an empty paragraph, like the end of a <p> that a table in it closed early, leaves no room either, nor does a table
	 * without rows, whose rows a right of the player leaves out)
	 */
	.responsive :is(.white_box, .black_box, .info_box_body) > p:empty,
	.responsive :is(.white_box, .black_box) table:not(:has(tr)) {
		display: none;
	}
	/*
	 * the link or button that ends a box (end_narrow, like Bekijk opties below a text): 12px below the text, the <br>s
	 * before it leave no room
	 */
	.responsive br:is(:has(+ .end_narrow), :has(+ br + .end_narrow)) {
		display: none;
	}
	.responsive .end_narrow {
		display: block;
		width: fit-content;
		margin-top: 12px !important;
	}
	/* (one that the fixed layout puts at the right, like Meer logs... in crew/credits, stays there, without the padding above it) */
	.responsive .end_narrow:is([style*="text-align:right"], [style*="text-align: right"]),
	.responsive .end_narrow:is([style*="text-align:right"], [style*="text-align: right"]) > a.tap_narrow:first-child {
		margin-left: auto;
	}
	.responsive .end_narrow[style*="padding-top"] {
		padding-top: 0 !important;
	}
	/* (a lone button that ends a box, in a block with buttons_narrow as well: a row of buttons all the same) */
	.responsive .end_narrow.buttons_narrow {
		display: flex;
		width: auto;
	}
	@media (max-width: 719px) {
		.responsive .end_narrow.buttons_narrow {
			display: grid;
		}
	}
	/*
	 * a small text link (a.tap_narrow) that ends a box, or first in an end_narrow block: its text 12px below what is above
	 * it, its tap area reaches into the room around it, so the box ends at the text
	 */
	.responsive :is(a.tap_narrow.end_narrow, .end_narrow > a.tap_narrow:first-child) {
		display: block;
		position: relative;
		top: -10px;
		width: fit-content;
		margin-bottom: -20px;
	}
	/*
	 * red text (.red, an inline color:red, like a negative percentage): in the red of the palette and bold, on a black box
	 * the light red of an error there
	 */
	.responsive :is(.white_box, .black_box) :is(.red, [style*="color:red"], [style*="color: red"]):not([style*="background-color:red"], [style*="background-color: red"]) {
		color: var(--color-red) !important;
		font-weight: bold;
	}
	.responsive .black_box :is(.red, [style*="color:red"], [style*="color: red"]):not([style*="background-color:red"], [style*="background-color: red"]) {
		color: var(--color-pink-light) !important;
	}
	/* a button below the fields it sends (after a <br>): some room above it */
	.responsive :is(.white_box, .black_box) :is(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea) + br + .greenbutton {
		margin-top: 12px;
	}
	/* the heading of a box in a block of a fixed height (<div style="height:40px;"><h2>): it grows when the heading wraps */
	.responsive :is(.white_box, .black_box) div:is([style^="height:45px"], [style^="height: 45px"],
	[style^="height:40px"], [style^="height: 40px"], [style^="height:35px"], [style^="height: 35px"],
	[style^="height:32px"], [style^="height: 32px"], [style^="height:30px"], [style^="height: 30px"],
	[style^="height:20px"], [style^="height: 20px"]):has(> h2) {
		height: auto !important;
	}
	.responsive :is(.white_box, .black_box) div:is([style^="height:45px"], [style^="height: 45px"]):has(> h2) {
		min-height: 45px;
	}
	.responsive :is(.white_box, .black_box) div:is([style^="height:40px"], [style^="height: 40px"]):has(> h2) {
		min-height: 40px;
	}
	.responsive :is(.white_box, .black_box) div:is([style^="height:35px"], [style^="height: 35px"]):has(> h2) {
		min-height: 35px;
	}
	.responsive :is(.white_box, .black_box) div:is([style^="height:30px"], [style^="height: 30px"]):has(> h2) {
		min-height: 30px;
	}
	.responsive :is(.white_box, .black_box) div:is([style^="height:32px"], [style^="height: 32px"]):has(> h2) {
		min-height: 32px;
	}
	/* a row of a fixed height of 25px or 22px (a line in a list) that holds a field, a select or a button: it grows with it */
	.responsive :is(.white_box, .black_box) div:is([style^="height:25px"], [style^="height: 25px"], [style^="height:22px"],
	[style^="height: 22px"]):has(input:not([type="hidden"]), select, button, .greenbutton, a.btn) {
		height: auto !important;
		min-height: 25px;
	}
	/* div.item_box, a block of 400px that floats: over the full width */
	.responsive div.item_box {
		display: flow-root;
		box-sizing: border-box;
		width: auto;
		float: none;
		margin-right: 0;
	}
	.responsive div.item_box > .right_narrow {
		right: 8px;
	}
	/*
	 * the wait timer with the clock at its left (padding-left, a fixed height): its padding fits in its width, it grows
	 * with its text; at the left of the box, as its text (centred in the fixed layout)
	 */
	.responsive :is(.white_box, .black_box) div[style*="clock_64.png"] {
		box-sizing: border-box;
		height: auto !important;
		min-height: 74px;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
	/* the page links in a <div> of their own before a <br>: with only one page both leave no room */
	.responsive :is(.white_box, .black_box) div:not([class], [id], [style]):empty + br {
		display: none;
	}
	/* an embedded frame (like a game) shrinks with its box */
	.responsive :is(.white_box, .black_box) iframe {
		max-width: 100%;
	}
	/*
	 * the form fields in boxes: 40px high, as high as the buttons next to them (greenbutton.css), with a 16px text
	 * (a smaller text makes phones zoom in on a field), white with a border (sand on a black box, below; the
	 * picture of span.textfield around a field on a black box drops out); a text field at least 120px high
	 */
	.responsive :is(.white_box, .black_box) :is(input:is(:not([type]), [type="text"], [type="number"], [type="password"], [type="email"], [type="search"], [type="tel"], [type="url"]), select, textarea) {
		box-sizing: border-box;
		padding: 6px 8px;
		border: 1px solid var(--color-stone);
		border-radius: var(--radius-control);
		background: var(--color-white);
		color: var(--color-grey-dark);
		font-family: 'Roboto', Arial, sans-serif;
		font-size: 16px;
		line-height: 20px;
		vertical-align: middle;
	}
	/* on a black box sand, as .black_box input of the fixed layout */
	.responsive .black_box :is(input:is(:not([type]), [type="text"], [type="number"], [type="password"], [type="email"], [type="search"], [type="tel"], [type="url"]), select, textarea) {
		background: var(--color-sand);
	}
	.responsive :is(.white_box, .black_box) :is(input:is(:not([type]), [type="text"], [type="number"], [type="password"], [type="email"], [type="search"], [type="tel"], [type="url"]), select) {
		min-height: 40px;
	}
	.responsive :is(.white_box, .black_box) textarea {
		min-height: 120px;
	}
	/* a field with a font size of its own (15pt, 12pt in the fixed layout) in the 16px of the other fields */
	.responsive :is(.white_box, .black_box) :is(input, select)[style*="font-size"] {
		font-size: 16px !important;
	}
	/* a text field over the width of the box (in line with the bar of BB codes above it), as in a message loaded into a box */
	.responsive :is(.white_box, .black_box, #content_container) textarea {
		box-sizing: border-box;
		width: 100% !important;
		max-width: 100%;
	}
	.responsive :is(.white_box, .black_box) :is(input, select, textarea):focus {
		border-color: var(--color-green);
		outline: 2px solid var(--color-green);
		outline-offset: -2px;
	}
	.responsive .black_box span.textfield {
		display: contents;
	}
	.responsive .black_box span.textfield input {
		height: auto;
		margin: 0;
	}
	/*
	 * checkboxes and radio buttons of 20px in green; a label next to one (or around it) is a tap area of 40px high,
	 * and the next one keeps some room from it
	 */
	.responsive :is(.white_box, .black_box) input:is([type="checkbox"], [type="radio"]) {
		width: 20px !important;
		height: 20px !important;
		margin: 0 2px;
		accent-color: var(--color-green);
		vertical-align: middle;
	}
	/* a checkbox that is disabled and off (edituser/widgets without an Ultimate membership): a greyed box with a visible edge */
	.responsive :is(.white_box, .black_box) input[type="checkbox"]:disabled:not(:checked) {
		appearance: none;
		box-sizing: border-box;
		border: 2px solid var(--color-stone);
		border-radius: var(--radius-small);
		background-color: var(--color-sand-light);
		cursor: not-allowed;
	}
	.responsive :is(.white_box, .black_box) input:is([type="checkbox"], [type="radio"]):has(+ label) {
		margin: 0 6px 0 0;
	}
	.responsive :is(.white_box, .black_box) label + input:is([type="checkbox"], [type="radio"]) {
		margin-left: 16px;
	}
	/* a paragraph of only a checkbox and its label (members/online: Val spelers direct aan): its 40px are its room */
	.responsive :is(.white_box, .black_box) p:has(> label:only-child > input[type="checkbox"]) {
		margin: 0;
	}
	.responsive :is(.white_box, .black_box) :is(input[type="checkbox"], input[type="radio"]) + label,
	.responsive :is(.white_box, .black_box) label:has(> input:is([type="checkbox"], [type="radio"])) {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		min-height: 40px;
		vertical-align: middle;
	}
	/*
	 * a label of more lines next to its checkbox (input + label): the checkbox next to its first line, at the top of the
	 * row of 40px as a label of one line has it
	 */
	.responsive :is(.white_box, .black_box) input[type="checkbox"]:has(+ label) {
		align-self: start;
		vertical-align: top;
		margin-top: 10px;
	}
	.responsive :is(.white_box, .black_box) input[type="checkbox"] + label {
		align-items: flex-start;
		box-sizing: border-box;
		padding: calc((40px - 1lh) / 2) 0;
		vertical-align: top;
	}
	/*
	 * a label around its checkbox or radio button (members/online: Val spelers direct aan): the same, the checkbox in the
	 * middle of the first line (it takes the line height of the label, so 1lh is that of the label)
	 */
	.responsive :is(.white_box, .black_box) label:has(> input:is([type="checkbox"], [type="radio"])) {
		align-items: flex-start;
		box-sizing: border-box;
		padding: calc((40px - 1lh) / 2) 0;
	}
	.responsive :is(.white_box, .black_box) label > input:is([type="checkbox"], [type="radio"]) {
		flex: none;
		font-size: inherit;
		line-height: inherit;
		margin-top: calc((1lh - 20px) / 2);
		margin-bottom: 0;
	}
	/*
	 * the bar of smileys and BB codes above a text field (layout/smileys.tpl, 14 buttons): on a phone two rows of 7
	 * equal buttons of 36px high over the width of the field, so each row ends at its edge; the white block it is in on
	 * some pages drops out, as does the <br> after it
	 */
	.responsive .bbcode_bar {
		display: grid;
		grid-template-columns: repeat(7, minmax(0, 1fr));
		gap: 4px;
		margin-bottom: 6px;
	}
	.responsive .bbcode_bar > * {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-width: 0;
		height: 36px;
		padding: 0 6px;
		border-radius: var(--radius-control);
		background-color: rgb(255 255 255 / 55%);
		font-size: 14px;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive .bbcode_bar > img {
		width: 100%;
		height: 36px;
		padding: 0;
		object-fit: none;
	}
	.responsive .bbcode_bar > :active {
		background-color: var(--color-white);
	}
	/* a tablet: square buttons of 44px in a row at the left, 6px apart, that wraps when the field is narrow */
	@media (min-width: 720px) {
		.responsive .bbcode_bar {
			display: flex;
			flex-wrap: wrap;
			gap: 6px;
		}
		.responsive .bbcode_bar > *, .responsive .bbcode_bar > img {
			flex: none;
			width: 44px;
			height: 44px;
			padding: 0;
		}
	}
	.responsive .bbcode_bar + br {
		display: none;
	}
	.responsive div:has(> .bbcode_bar:only-child) {
		width: auto !important;
		padding: 0 !important;
		background: none !important;
	}
	/*
	 * the page links right after a table (after a <br>): 12px below it, the <br> leaves no room; a button after them (or
	 * after the table and a <br>, with one page) 12px below them (casino/tablelogs)
	 */
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) + br:is(:has(+ center > .smallpages), :has(+ :is(.greenbutton, a.btn))) {
		display: none;
	}
	.responsive :is(.white_box, .black_box) :where(table:has(> tbody > tr > th > div)) + br + center > .smallpages {
		margin-top: 12px !important;
	}
	.responsive :is(.white_box, .black_box) :is(:where(table:has(> tbody > tr > th > div)) + br, center:has(> .smallpages)) + :is(.greenbutton, a.btn) {
		margin-top: 12px;
	}
	/* the page links (layout/paginator.tpl, layout/nanopaginator.tpl): buttons of 36px that wrap, the current page green */
	.responsive .smallpages {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 4px;
	}
	.responsive .smallpages :is(.pagelinks, b) {
		display: contents;
	}
	.responsive .smallpages a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		min-width: 36px;
		height: 36px;
		padding: 0 6px;
		border-radius: var(--radius-control);
		background-color: rgb(0 0 0 / 6%);
		color: var(--color-brown-light);
		font-size: 14px;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive .black_box .smallpages a {
		background-color: rgb(255 255 255 / 10%);
		color: var(--color-sand);
	}
	.responsive .smallpages a:active {
		background-color: rgb(0 0 0 / 15%);
	}
	/* the current page, on a black box too */
	.responsive .smallpages a:has(> u), .responsive .black_box .smallpages a:has(> u) {
		background-color: var(--color-green);
		color: var(--color-white);
		font-weight: bold;
	}
	.responsive .smallpages u {
		text-decoration: none;
	}
	/* the '..' between the pages of layout/nanopaginator.tpl: as high as the buttons, in the gap between them */
	.responsive .smallpages .pages_gap {
		display: inline-flex;
		align-items: center;
		height: 36px;
		padding: 0 2px;
		color: var(--color-brown-light);
		font-size: 14px;
	}
	.responsive .black_box .smallpages .pages_gap {
		color: var(--color-taupe);
	}
	/* a small phone: Vorige and Volgende as buttons of 36px with only their arrow, closer together, so the links fit in a row */
	@media (max-width: 359px) {
		.responsive .smallpages {
			gap: 2px;
		}
		.responsive .smallpages > b > a {
			width: 36px;
			padding: 0;
			font-size: 0;
		}
		.responsive .smallpages > b:has(~ .pagelinks) > a::before {
			content: '\00ab';
			font-size: 18px;
		}
		.responsive .smallpages > .pagelinks ~ b > a::after {
			content: '\00bb';
			font-size: 18px;
		}
	}
	/*
	 * the gun to attack a player or a crew (members, crew/list): a green button of 40x40 (as .greenbutton), the gun
	 * (15x10) twice as large; a gun that cannot attack (attack-disabled.gif) the same button, faded
	 */
	.responsive :is(.white_box, .black_box) img:is([src$="images/icons/attack.gif"], [src$="images/icons/attack-disabled.gif"]) {
		box-sizing: border-box;
		width: 40px;
		max-width: none;
		height: 40px;
		padding: 9px 4px;
		border: 1px solid;
		border-color: var(--greenbutton-border);
		border-radius: var(--radius-control);
		box-shadow: var(--greenbutton-shadow);
		background:
			radial-gradient(172% 155% at 100% 200%, #85a636, #83a534 99%, transparent 100%),
			linear-gradient(#93b146, #91b146);
		object-fit: contain;
		image-rendering: pixelated;
		vertical-align: middle;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive :is(.white_box, .black_box) img[src$="images/icons/attack.gif"]:active {
		filter: brightness(1.1);
	}
	.responsive :is(.white_box, .black_box) img[src$="images/icons/attack-disabled.gif"] {
		opacity: 0.4;
	}

	/* admin/ticket: the report and the evidence (14pt) in the size of the other text */
	.responsive .admin_ticket_text {
		font-size: inherit !important;
	}

	/*
	 * airport/index: the wait notice first; then the choice of transport, as tiles to tap (two in a row, on a tablet
	 * all in one row), the checked one green, dimmed while they are disabled; then the cities, without the distance on
	 * a phone, the time and the price on one line; the ticket and the bribe as rows of a checkbox and its label; the
	 * map over the width of its box (at most 560px on a phone, 600px on a tablet)
	 */
	.responsive .white_box:has(> .airport_wait) {
		display: flex !important;
		flex-direction: column;
	}
	.responsive .white_box > .airport_wait {
		order: -1;
		margin: 0 0 12px !important;
	}
	.responsive .white_box > div:has(> h2):has(~ .airport_wait) {
		order: -2;
	}
	.responsive .white_box > br:has(+ .airport_wait) {
		display: none;
	}
	.responsive #fly_form {
		display: flex;
		flex-direction: column;
	}
	.responsive div.airport_transport {
		order: -1;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		padding-top: 0 !important;
		margin-bottom: 16px;
	}
	.responsive .airport_transport > .travelOption {
		position: relative;
		flex: 1 1 calc(50% - 4px);
		display: flex;
		align-items: center;
		gap: 8px;
		box-sizing: border-box;
		height: auto !important;
		min-height: 52px;
		padding: 4px 10px;
		border: 1px solid rgb(0 0 0 / 12%);
		border-radius: var(--radius-box);
		background-color: rgb(255 255 255 / 45%);
		-webkit-tap-highlight-color: transparent;
	}
	@media (min-width: 720px) {
		.responsive .airport_transport > .travelOption {
			flex-basis: 0;
		}
	}
	.responsive .airport_transport > .travelOption:has(input:checked) {
		border-color: var(--color-green);
		background-color: rgb(134 167 54 / 18%);
		box-shadow: inset 0 0 0 1px var(--color-green);
	}
	.responsive .airport_transport > .travelOption:has(input:disabled) {
		opacity: 0.5;
	}
	.responsive .airport_transport > .travelOption > div {
		display: flex;
		align-items: center;
		float: none !important;
		margin: 0 !important;
	}
	/* the radio button is there for screen readers and the keyboard: the green border of the tile shows the choice */
	.responsive .airport_transport > .travelOption input[type="radio"] {
		position: absolute;
		opacity: 0;
		pointer-events: none;
	}
	.responsive .airport_transport > .travelOption:has(input:focus-visible) {
		outline: 2px solid var(--color-green);
	}
	/* the icon keeps its 32x32 when the label needs the room */
	.responsive .airport_transport > .travelOption > div:first-child {
		flex: none;
	}
	.responsive .airport_transport > .travelOption img {
		flex: none;
		width: 32px;
		height: 32px;
	}
	/* the label covers the tile, so a tap anywhere on it checks the radio button */
	.responsive .airport_transport > .travelOption label::after {
		content: '';
		position: absolute;
		inset: 0;
	}
	/* the note about the boat a small grey hint, shortened on a phone */
	.responsive .airport_transport > .airport_note {
		flex: 0 0 100%;
		margin-top: -2px;
		color: var(--color-brown-light);
		font-size: 13px !important;
		line-height: 1.4;
	}
	/* the column of the radio buttons as narrow as they are, the name of the city 10px after them */
	.responsive table.airport_cities td:first-child {
		width: 1%;
		padding-right: 0;
	}
	.responsive table.airport_cities :is(td.time, td.money) {
		white-space: nowrap;
	}
	.responsive table.airport_cities label.h {
		display: block;
		padding: 6px 0;
		white-space: nowrap;
	}
	/* where the player is: right below the heading, above the transport */
	.responsive #fly_form > div:has(> .airport_here) {
		display: contents;
	}
	.responsive .airport_here {
		order: -2;
		margin: 0 0 12px !important;
	}
	.responsive .airport_extras {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		column-gap: 8px;
	}
	.responsive .airport_extras > br {
		display: none;
	}
	.responsive .airport_extras > input {
		margin: 8px 0 0 !important;
	}
	.responsive :is(.white_box, .black_box) .airport_extras > label[for] {
		display: block;
		min-height: 0;
		padding: 8px 0;
		font-size: 14px !important;
		line-height: 20px;
	}
	.responsive .airport_map {
		width: 100% !important;
		max-width: 560px !important;
		height: auto !important;
		aspect-ratio: 2 / 1;
		margin: 0 auto;
		background-size: 100% 100%;
		border-radius: var(--radius-small);
	}
	/* the city: a white dot with a ring, at its place in the map in % (--x, --y) */
	.responsive .airport_map > #bling {
		top: var(--y) !important;
		left: var(--x) !important;
		width: 8px !important;
		height: 8px !important;
		margin: -4px 0 0 -4px;
		border-radius: 50%;
		box-shadow: 0 0 0 3px rgb(255 255 255 / 45%);
	}
	/* a tablet: the map at most 1.5 times its size (600px), centred in its box */
	@media (min-width: 720px) {
		.responsive .airport_map {
			max-width: 600px !important;
		}
	}

	/*
	 * achievements/index: both tables with the same columns, so they line up; the reward at the right on one line
	 * (an amount with cash or bank too), Innen a green button at the right, on a phone below the row
	 */
	.responsive table.achievements_table {
		table-layout: fixed;
	}
	.responsive table.achievements_table th:nth-child(2) {
		width: 80px;
	}
	.responsive table.achievements_table th:last-child {
		width: 38%;
	}
	.responsive table.achievements_table td:last-child:not(:only-child) {
		text-align: right;
	}
	.responsive table.achievements_table :is(td.money, .reward_amount) {
		white-space: nowrap;
	}
	.responsive table.achievements_table td[colspan] {
		color: var(--color-taupe);
		font-size: 14px;
	}
	.responsive :is(.white_box, .black_box) table.achievements_table td > a.btn_narrow {
		padding: 0 20px;
	}
	/*
	 * a phone: each goal a card without the header, the goal over the width, below it the progress at the left and the
	 * reward at the right (its kind, cash, bank or XP, a small grey word after the amount, on its line), Innen below the
	 * reward; the text in line with the heading and the lines between the goals
	 */
	@media (max-width: 719px) {
		.responsive table.achievements_table, .responsive table.achievements_table > tbody {
			display: block;
		}
		.responsive table.achievements_table > tbody > tr:first-child:not(.row) {
			display: none;
		}
		/* without the header the first goal as far below the heading in every box (8px: a heading in a block of 40px too) */
		.responsive :is(.white_box, .black_box) div:has(> h2:only-child):has(+ table.achievements_table) {
			min-height: 0;
		}
		.responsive :is(.white_box, .black_box) table.achievements_table:not(:first-child) {
			margin-top: 0;
		}
		.responsive table.achievements_table > tbody > tr.row {
			display: grid;
			grid-template-columns: auto minmax(0, 1fr);
			align-items: start;
			column-gap: 12px;
			row-gap: 4px;
			padding: 10px 0 12px;
		}
		.responsive table.achievements_table > tbody > tr.row > td {
			padding: 0;
		}
		.responsive table.achievements_table > tbody > tr.row > td:first-child {
			grid-column: 1 / -1;
		}
		.responsive table.achievements_table > tbody > tr.row > td:nth-child(2) {
			text-align: left;
			font-size: 14px;
			color: var(--color-taupe);
		}
		.responsive table.achievements_table > tbody > tr.row > td:nth-child(2):not(:has(b))::before {
			content: "Voortgang ";
		}
		.responsive table.achievements_table > tbody > tr.row > td:nth-child(2) > b {
			color: var(--color-sand-light);
		}
		.responsive table.achievements_table > tbody > tr.row > td:last-child:not(:only-child) {
			display: flex;
			flex-direction: column;
			align-items: flex-end;
			gap: 8px;
			width: auto;
			font-weight: bold;
		}
		.responsive table.achievements_table .reward_kind {
			font-size: 13px;
			font-weight: normal;
			line-height: 1.3;
			color: var(--color-taupe);
		}
		.responsive table.achievements_table .reward_amount {
			text-align: right;
		}
		.responsive table.achievements_table > tbody > tr.row > td[colspan] {
			grid-column: 1 / -1;
		}
	}
	@media (min-width: 720px) {
		.responsive table.achievements_table th:first-child {
			width: 50%;
		}
		.responsive table.achievements_table th:nth-child(2) {
			width: 15%;
		}
		.responsive table.achievements_table th:last-child {
			width: 35%;
		}
		/* Innen in the cell, after the reward (below it when the cell has no room for both) */
		.responsive :is(.white_box, .black_box) table.achievements_table td > a.btn_narrow {
			margin: 4px 0 4px 12px;
			vertical-align: middle;
		}
	}

	/* the casino games (blackjack, poker): the line of a player above their cards; the cards on the table share 80px each */
	.responsive .poker_head {
		height: auto !important;
		display: flow-root;
	}
	.responsive div[style*="images/cards/felt.svg"] .share_narrow > * {
		flex-basis: 80px;
	}
	/* the felt over the width of the box (on a tablet too) */
	.responsive :is(.white_box, .black_box) div[style*="images/cards/felt.svg"] {
		width: auto !important;
	}
	/*
	 * below the cards of a player a wrapping row, 8px apart: what a hand is (dealer, score 16) as a white badge,
	 * the actions (.table_link > a: Nieuwe kaart, Stoppen, ...) green buttons (greenbutton.css)
	 */
	.responsive .poker_head:has(> .table_link) {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
	}
	.responsive .poker_head > .share_narrow {
		flex: 0 0 100%;
	}
	.responsive .poker_head > .table_link {
		float: none;
		margin: 0;
		padding: 4px 10px;
		border-radius: var(--radius-control);
		line-height: 20px;
	}
	.responsive .poker_head > .table_link:empty {
		display: none;
	}
	/* an action (a link in a .table_link, here or in a span of actions in it): no white around its button */
	.responsive .poker_head .table_link:has(> a) {
		padding: 0;
		background: none;
	}
	.responsive :is(.white_box, .black_box) .poker_head > .table_link > a {
		padding: 8px 14px;
	}
	/* on a phone the actions of a hand in two equal columns below its badge (an odd last one over the row) */
	@media (max-width: 719px) {
		.responsive .poker_head:has(> .table_link > a) {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
		.responsive .poker_head:has(> .table_link > a) > :not(.table_link) {
			grid-column: 1 / -1;
		}
		.responsive .poker_head:has(> .table_link > a) > .table_link:not(:has(> a)) {
			grid-column: 1 / -1;
			justify-self: start;
		}
		.responsive .poker_head > .table_link:has(> a):last-child:nth-child(odd) {
			grid-column: 1 / -1;
		}
		.responsive :is(.white_box, .black_box) .poker_head > .table_link > a {
			width: 100%;
			padding-left: 4px;
			padding-right: 4px;
		}
	}
	/*
	 * the felt of a card game (casino_felt: blackjack/play and finish, poker/bet and raise, updown/play): on a tablet the
	 * dealer and the hands in the middle of the felt, the hands of a split side by side; in a hand the cards, what it is
	 * below them and the actions in a row below that
	 */
	@media (min-width: 720px) {
		.responsive .casino_felt {
			display: flex;
			flex-wrap: wrap;
			gap: 24px 16px;
		}
		.responsive .casino_felt > br {
			display: none;
		}
		.responsive .casino_felt > .poker_head {
			flex: 1 1 0;
			min-width: 0;
			align-content: flex-start;
			justify-content: center;
		}
		.responsive .casino_felt > .poker_head:has(> .table_link > a)::after {
			content: '';
			flex-basis: 100%;
			order: 1;
		}
		.responsive .casino_felt > .poker_head > .table_link:has(> a) {
			order: 2;
		}
		.responsive .casino_felt > #dealerhand {
			flex-basis: 100%;
		}
		.responsive .casino_felt .share_narrow {
			justify-content: center;
		}
		/* the cards 1.4 times as large (105px instead of 75px); the actions of a single hand at least 140px wide */
		.responsive div.casino_felt .share_narrow > * {
			flex-basis: 108px;
		}
		.responsive .casino_felt .share_narrow > img {
			width: 105px;
		}
		.responsive :is(.white_box, .black_box) .casino_felt:not(:has(> .poker_head:not(#dealerhand) ~ .poker_head)) .table_link > a {
			min-width: 140px;
		}
		/* the bet for the next game below the felt (blackjack/finish, poker/raise) in the middle, as the hands above it */
		.responsive .casino_felt ~ form.field_buttons_narrow {
			margin-left: auto;
			margin-right: auto;
		}
		/* the result above that bet (a tip_narrow or notice_narrow: Gefeliciteerd!) as wide as it, so they share one edge */
		.responsive .casino_felt ~ :is(.tip_narrow, .notice_narrow):has(~ form.field_buttons_narrow) {
			box-sizing: border-box;
			max-width: 360px;
			margin-left: auto !important;
			margin-right: auto !important;
		}
	}
	/* updown/play: the cards right on the felt, without a hand around them: a row in the middle, they shrink to fit */
	.responsive .casino_felt:not(:has(> .poker_head)) {
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
		gap: 4px;
	}
	.responsive .casino_felt:not(:has(> .poker_head)) > img {
		flex: 0 1 75px;
		min-width: 0;
	}
	@media (min-width: 720px) {
		.responsive .casino_felt:not(:has(> .poker_head)) > img {
			flex-basis: 105px;
			width: 105px;
		}
	}

	/*
	 * what a hand is (dealer, score 16, eigen hand: Full House) as a
	 * dark translucent pill on the felt, all in bold; the result of a hand (felt_won, felt_lost: 100 gewonnen, verloren,
	 * WON) tinted green or red; after a split each hand says which it is (Hand 1, Hand 2)
	 */
	.responsive .casino_felt {
		counter-reset: hand;
	}
	.responsive .casino_felt > .poker_head:not(#dealerhand) {
		counter-increment: hand;
	}
	.responsive .casino_felt > .poker_head > .table_link:not(:has(> a)) {
		padding: 4px 14px;
		border-radius: 999px;
		background: rgb(0 0 0 / 35%);
		color: var(--color-sand-light);
		font-weight: bold;
	}
	.responsive .casino_felt > .poker_head > .table_link.felt_won {
		background: color-mix(in srgb, var(--color-green-dark) 85%, transparent);
		color: var(--color-sand-light) !important;
	}
	.responsive .casino_felt > .poker_head > .table_link.felt_lost {
		background: color-mix(in srgb, var(--color-red) 85%, transparent);
		color: var(--color-sand-light) !important;
	}
	.responsive .casino_felt:has(> .poker_head:not(#dealerhand) ~ .poker_head) > .poker_head:not(#dealerhand) > .table_link:not(:has(> a))::before {
		content: 'Hand ' counter(hand) ' \00b7';
	}
	/*
	 * a phone: the cards, the pills and the actions in the middle of the felt, as on a tablet; the hands of a split
	 * one below the other, a thin line between them
	 */
	@media (max-width: 719px) {
		.responsive .casino_felt > br {
			display: none;
		}
		.responsive .casino_felt > .poker_head {
			justify-content: center;
		}
		.responsive .casino_felt > .poker_head:not(#dealerhand) {
			margin-top: 20px;
		}
		.responsive .casino_felt > .poker_head:not(#dealerhand) ~ .poker_head {
			margin-top: 24px;
			padding-top: 24px;
			border-top: 1px solid rgb(255 255 255 / 15%);
		}
		.responsive .casino_felt .share_narrow {
			justify-content: center;
		}
		.responsive .casino_felt > .poker_head:has(> .table_link > a) > .table_link:not(:has(> a)) {
			justify-self: center;
		}
	}

	/* bank/index: the balance as rows of a label and its amount (kv_rows_narrow), the parts of the box 16px apart */
	.responsive .bank_note {
		display: block;
		margin-bottom: 16px;
	}
	.responsive form.bank_form {
		margin-top: 16px;
	}
	/* only Opnemen (nothing can be stored today): no maximum to store below the field */
	.responsive form.bank_form:not(:has(button[name="store"])) .amount_hint {
		display: none;
	}

	/* casino/index: on a phone the maximum bet below the name of the game, in a small line */
	.responsive .casino_maxbet {
		white-space: nowrap;
	}
	.responsive table.casino_tables td:first-child {
		overflow-wrap: anywhere;
	}
	/*
	 * the name of a game a bold link without a line; the whole row is that link, with a chevron at its right (the owner
	 * keeps the link to his profile), and the amounts and their label end before the chevron
	 */
	.responsive table.casino_tables {
		--th-right-last: 26px;
	}
	.responsive table.casino_tables > tbody > tr.row:has(> td:first-child > a) {
		position: relative;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive table.casino_tables > tbody > tr.row > td:first-child > a {
		font-weight: bold;
		text-decoration: none;
	}
	.responsive table.casino_tables > tbody > tr.row > td:first-child > a::after {
		content: '';
		position: absolute;
		inset: 0;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='14' viewBox='0 0 8 14'%3E%3Cpath d='M1.5 1.5 6.5 7l-5 5.5' fill='none' stroke='%235c5b57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center no-repeat;
	}
	.responsive table.casino_tables > tbody > tr.row:has(> td:first-child > a):active {
		background-color: rgb(0 0 0 / 6%);
	}
	.responsive table.casino_tables a.usr {
		position: relative;
		z-index: 1;
	}
	.responsive :is(.white_box, .black_box) table.casino_tables > tbody > tr.row > td:last-child {
		padding-right: 26px;
	}
	/* a small phone: the chevron closer to the edge, so the amounts fit */
	@media (max-width: 359px) {
		.responsive table.casino_tables {
			--th-right-last: 22px;
		}
		.responsive table.casino_tables > tbody > tr.row > td:first-child > a::after {
			background-position: right 6px center;
		}
		.responsive :is(.white_box, .black_box) table.casino_tables > tbody > tr.row > td:last-child {
			padding-right: 22px;
		}
	}
	/* a tablet: the game no wider than 40%, the owner and the amounts share the rest, so the amounts are well apart */
	@media (min-width: 720px) {
		.responsive :is(.white_box, .black_box) table.casino_tables > tbody > tr > th:first-child {
			width: 40%;
		}
		.responsive :is(.white_box, .black_box) table.casino_tables > tbody > tr > th:not(:first-child) {
			width: 20%;
		}
	}

	/* casino/alltables: the city and the link to the bank logs show their whole text */
	.responsive .casino_all > div.row > :is(div.h, div:last-child) {
		flex: none;
		width: auto !important;
	}

	/*
	 * chat/index and chat/archive (chat/chat.tpl): the messages at the left of the box, as in the chat below the page; the
	 * archive a part of its own below the field
	 */
	.responsive :is(.white_box, .black_box) ul.chatmessages, .responsive #chatcontainer ~ ul {
		padding-left: 0;
	}
	.responsive :is(.white_box, .black_box) #chatcontainer + h2 {
		margin-top: 20px;
	}

	/* court/index: the search (the link to the rules and two floats in a block 40px high): the link above, the field and its button in a row */
	.responsive .court_search {
		height: auto !important;
		margin-bottom: 12px;
	}
	.responsive .court_search form {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
	}
	.responsive .court_search form > a {
		flex: 0 0 100%;
	}
	.responsive .court_search form > div {
		display: flex;
		align-items: center;
		gap: 8px;
		float: none !important;
		width: auto !important;
		margin: 0 !important;
	}
	.responsive .court_search form > div:first-of-type {
		flex: 1 1 0;
		min-width: 0;
	}
	.responsive .court_search input {
		flex: 1 1 0;
		width: auto !important;
		min-width: 0;
	}
	/* a tablet: the field no wider than 360px, Zoeken next to it */
	@media (min-width: 720px) {
		.responsive .court_search form > div:first-of-type {
			flex: 0 1 auto;
		}
		.responsive .court_search input {
			flex-basis: 360px;
		}
	}

	/*
	 * court/index: on a phone a punishment is a card without the header: the player with the date at the right (small),
	 * below them the reason and the punishment as a small label
	 */
	@media (max-width: 719px) {
		.responsive table.court_list, .responsive table.court_list > tbody {
			display: block;
		}
		.responsive table.court_list > tbody > tr:first-child:not(.row) {
			display: none;
		}
		.responsive table.court_list > tbody > tr.row {
			display: grid;
			grid-template-columns: minmax(0, 1fr) auto;
			align-items: baseline;
			column-gap: 12px;
			row-gap: 2px;
			padding: 10px 4px 12px;
		}
		.responsive table.court_list > tbody > tr.row > td {
			padding: 0;
		}
		.responsive table.court_list > tbody > tr.row > td:nth-child(2) {
			grid-column: 1 / -1;
			overflow-wrap: anywhere;
		}
		.responsive table.court_list > tbody > tr.row > td:nth-child(3) {
			grid-column: 1 / -1;
			justify-self: start;
			margin-top: 4px;
			padding: 1px 8px;
			border-radius: 10px;
			background-color: rgb(0 0 0 / 7%);
			font-size: 13px;
			font-weight: bold;
		}
		.responsive table.court_list > tbody > tr.row > td:nth-child(4) {
			grid-column: 2;
			grid-row: 1;
			font-size: 13px;
			white-space: nowrap;
		}
		.responsive table.court_list > tbody > tr.row > td[colspan] {
			grid-column: 1 / -1;
		}
	}

	/* crew/profile: when the crew was founded, below its figures at the left, as their labels */
	.responsive .crew_founded {
		margin-top: 12px !important;
		text-align: left !important;
	}

	/*
	 * crew/home: the tables of a value per line over the width of the box; what the crew needs for its next rank as
	 * chips over the width, their icon at the right (what it still misses light red, with what is missing below it);
	 * the notes below a box in a small text of their own
	 */
	.responsive .crew_home table[width] {
		width: 100%;
	}
	.responsive .crew_home div:is(.complete, .incomplete) {
		box-sizing: border-box;
		width: auto;
		height: auto;
		min-height: 40px;
		margin: 6px 0 0;
		padding: 10px 36px 10px 12px;
		background-position: right 10px center;
		border-radius: var(--radius-box);
	}
	/* what the crew still misses: what is missing (the tooltip) a small line below it */
	.responsive .crew_home div.incomplete > small {
		display: block !important;
		margin-top: 2px;
		color: inherit;
		font-weight: normal;
	}
	.responsive .crew_home :is(.white_box, .black_box) > br:has(+ small) {
		display: none;
	}
	.responsive .crew_home :is(.white_box, .black_box) > small {
		display: block;
		margin-top: 10px;
		font-size: 12px;
		line-height: 1.4;
	}
	/* the activity below its heading as far as a table below a heading (14px) */
	.responsive .crew_home h2 + div[style^="margin-top:7px"] {
		margin-top: 14px !important;
	}
	/*
	 * the crew forum: a topic its title, the small line below it, the line (div.hr_line) 8px above and below it and its text,
	 * without the empty lines of the <br>s; 16px between the topics
	 */
	.responsive .crew_home :is(.white_box, .black_box) > :is(small, div.hr_line) + br,
	.responsive .crew_home :is(.white_box, .black_box) > br:is(:has(+ a > h3), :has(+ br + a > h3)) {
		display: none;
	}
	.responsive .crew_home :is(.white_box, .black_box) > div.hr_line {
		display: block;
		margin: 8px 0 !important;
	}
	.responsive .crew_home :is(.white_box, .black_box) > a:has(> h3) {
		display: block;
	}
	.responsive .crew_home :is(.white_box, .black_box) > br + br + a:has(> h3) {
		margin-top: 16px;
	}
	/*
	 * on a tablet the first column (three boxes) is much taller than the second (one or two short ones): the boxes of both
	 * go in two balanced columns, in their order, so no empty area is left next to the first; the crew forum below them
	 */
	@media (min-width: 720px) {
		.responsive .boxes.crew_home {
			display: block;
			columns: 2;
			column-gap: 13px;
		}
		.responsive .boxes.crew_home > :not(.white_box, .black_box) {
			display: contents !important;
		}
		.responsive .boxes.crew_home :is(.white_box, .black_box) {
			break-inside: avoid;
		}
		/* the columns drop the margin after their last box: the 10px go above a box (dropped at the top of a column) and below the columns */
		.responsive .boxes.crew_home > :not(.white_box, .black_box) > :is(.white_box, .black_box) {
			margin-top: 10px;
			margin-bottom: 0;
		}
		.responsive .boxes.crew_home > :first-child > :nth-child(1 of :is(.white_box, .black_box)) {
			margin-top: 0;
		}
		.responsive .boxes.crew_home:not(:has(> :is(.white_box, .black_box))) {
			padding-bottom: 10px;
		}
		/* (the crew forum below them, over both columns) */
		.responsive .boxes.crew_home > :is(.white_box, .black_box) {
			column-span: all;
			margin-top: 10px;
		}
		/*
		 * the activity may go on in the next column, so the columns end at about the same height (a box that scrolls
		 * cannot be split: it does not, its entries wrap); each part of the box has its padding and corners, an entry
		 * (its text, its time and the line after it) stays in one column
		 */
		.responsive .boxes.crew_home .crew_activity {
			overflow: visible;
			break-inside: auto;
			-webkit-box-decoration-break: clone;
			box-decoration-break: clone;
		}
		.responsive .crew_activity > :is(h2, div:not(.grey)) {
			break-after: avoid;
		}
		.responsive .crew_activity > :is(div, img) {
			break-inside: avoid;
		}
		.responsive .crew_activity > img {
			break-before: avoid;
		}
	}

	/*
	 * crew/members: on a phone a member is a line with their name and below it when they were last online, their rank
	 * (a select) at the right of both
	 */
	@media (max-width: 719px) {
		.responsive table.crew_members, .responsive table.crew_members > tbody {
			display: block;
		}
		.responsive table.crew_members > tbody > tr {
			display: grid;
			grid-template-columns: minmax(0, 1fr) 150px;
			align-items: center;
			column-gap: 10px;
		}
		.responsive table.crew_members > tbody > tr.row {
			padding: 8px 0 8px 8px;
		}
		.responsive table.crew_members > tbody > tr > :is(th, td) {
			height: auto;
			padding: 0;
		}
		.responsive table.crew_members > tbody > tr > th:nth-child(4) {
			display: none;
		}
		.responsive table.crew_members > tbody > tr.row > td:first-child {
			grid-row: 1;
		}
		.responsive table.crew_members > tbody > tr.row > td:nth-child(4) {
			grid-row: 2;
			font-size: 13px;
			text-align: left;
		}
		.responsive table.crew_members > tbody > tr.row > td:last-child {
			grid-column: 2;
			grid-row: 1 / span 2;
		}
	}
	/* the ranks (selects) over the width of their column */
	.responsive table.crew_members select {
		width: 100%;
	}
	/* the two checkboxes of Geld opnemen side by side; the space between the disabled pair takes no room, as the others have none */
	.responsive table.crew_rights td.c {
		font-size: 0;
		white-space: nowrap;
	}
	/*
	 * a phone: the labels of the rights (up) one even band, each as high as the highest with its text at the bottom and
	 * over the width of its column (Geld opnemen over both checkboxes); Crewrang across, as high as any label, at the left
	 * over the names; a name of a rank on one line in 14px (PR-manager, Aspirant-lid), below 360px in 13px where it may
	 * break at its hyphen
	 */
	@media (max-width: 719px) {
		.responsive table.crew_rights > tbody > tr:first-child > th:not(:first-child) > div {
			box-sizing: border-box;
			width: 100%;
			height: 100%;
			min-height: max-content;
		}
		.responsive table.crew_rights > tbody > tr:first-child > th:first-child > div {
			writing-mode: horizontal-tb;
			transform: none;
			margin: 0;
			padding: 4px 8px;
			line-height: 16px;
		}
		.responsive :is(.white_box, .black_box) table.crew_rights > tbody > tr.row > td:first-child {
			font-size: 14px;
			white-space: nowrap;
		}
	}
	/*
	 * a phone: each checkbox that can be changed in a label (the fixed layout ignores it), a tap area of 40px high over the
	 * width of its column (each of the two of Geld opnemen over half of it, those two 6px apart); a column at least 24px
	 * wide, so the checkboxes are 6 to 8px apart (on a small phone the names of the ranks give way)
	 */
	@media (max-width: 719px) {
		.responsive :is(.white_box, .black_box) table.crew_rights > tbody > tr.row > td.c:has(> label) {
			width: 24px;
			padding-top: 0;
			padding-bottom: 0;
		}
		.responsive :is(.white_box, .black_box) table.crew_rights > tbody > tr.row > td.c:has(> label + label) {
			width: 48px;
		}
		.responsive :is(.white_box, .black_box) table.crew_rights td.c > label {
			display: inline-flex;
			justify-content: center;
			align-items: center;
			box-sizing: border-box;
			width: 100%;
			min-height: 40px;
			padding: 0;
			vertical-align: middle;
		}
		.responsive :is(.white_box, .black_box) table.crew_rights td.c > label:has(+ label) {
			width: 50%;
			justify-content: flex-end;
			padding-right: 3px;
		}
		.responsive :is(.white_box, .black_box) table.crew_rights td.c > label + label {
			width: 50%;
			justify-content: flex-start;
			padding-left: 3px;
		}
		.responsive :is(.white_box, .black_box) table.crew_rights td.c > label > input {
			margin: 0;
		}
	}
	/*
	 * a small phone: the names of the ranks smaller, a name of two parts on two lines (Mede-/eigenaar), so the checkboxes
	 * (18px) and the labels above them (18px) have room between them
	 */
	@media (max-width: 359px) {
		.responsive :is(.white_box, .black_box) table.crew_rights > tbody > tr.row > td:first-child {
			padding-right: 8px;
			font-size: 13px;
			white-space: normal;
		}
		.responsive :is(.white_box, .black_box) table.crew_rights > tbody > tr > :is(th, td.c) {
			padding-left: 1px;
			padding-right: 1px;
		}
		.responsive table.crew_rights > tbody > tr:first-child > th:not(:first-child) > div {
			line-height: 18px;
		}
		.responsive :is(.white_box, .black_box) table.crew_rights input[type="checkbox"] {
			width: 18px !important;
			height: 18px !important;
			margin: 3px 0;
		}
		.responsive :is(.white_box, .black_box) table.crew_rights input[type="checkbox"] + input[type="checkbox"] {
			margin-left: 2px;
		}
	}
	/* the note below the rights over the width of the table, the button below it at the right */
	.responsive :is(.white_box, .black_box) table.crew_rights > tbody > tr.crew_rights_save > td {
		padding: 12px 0 8px var(--cell-edge, 8px);
	}
	.responsive table.crew_rights tr.crew_rights_save small {
		display: block;
		line-height: 1.4;
	}
	.responsive table.crew_rights tr.crew_rights_save div {
		margin-top: 12px;
		text-align: right;
	}
	.responsive table.crew_rights tr.crew_rights_save .greenbutton {
		margin: 0;
	}
	/*
	 * a tablet: the labels of the rights across in a smaller text, with the room of any label at their sides; each column as
	 * wide as its label; a name of a rank on one line (Mede-eigenaar)
	 */
	@media (min-width: 720px) {
		.responsive table.crew_rights th div {
			font-size: 12px;
		}
		.responsive :is(.white_box, .black_box) table.crew_rights > tbody > tr.row > td:first-child {
			white-space: nowrap;
		}
	}

	/*
	 * crew/credits: the columns of the radio buttons and of the number of credits (r_narrow, below its label Credits, a
	 * th.fit_narrow over both) as narrow as they are, so a number is next to its radio button
	 */
	.responsive table.crew_spend > tbody > tr.row > td:is(:first-child, :nth-child(2)) {
		width: 1%;
	}
	.responsive table.crew_spend > tbody > tr.row > td:first-child {
		padding-right: 0;
	}

	/*
	 * crew/registrations: Toelaten and Afkeuren side by side below the player (as button_below_narrow does with a form),
	 * the label of their column left out, so the rank and the level keep the room for a line each (nowrap_narrow): on a
	 * phone as halves of the row, on a tablet each as wide as its text and at least 140px, as a row of buttons_narrow
	 */
	.responsive table.crew_registrations > tbody > tr.row {
		position: relative;
	}
	.responsive table.crew_registrations > tbody > tr:first-child > th:last-child {
		display: none;
	}
	.responsive :is(.white_box, .black_box) table.crew_registrations > tbody > tr.row > td:not(:last-child) {
		padding-bottom: 64px;
	}
	.responsive :is(.white_box, .black_box) table.crew_registrations > tbody > tr.row > td:last-child {
		position: absolute;
		left: var(--cell-edge, 8px);
		right: var(--cell-edge, 8px);
		bottom: 12px;
		display: flex;
		gap: 8px;
		padding: 0;
	}
	.responsive :is(.white_box, .black_box) table.crew_registrations a.btn_narrow {
		flex: 1 1 0;
		min-width: 0;
	}
	@media (min-width: 720px) {
		.responsive :is(.white_box, .black_box) table.crew_registrations a.btn_narrow {
			flex: none;
			min-width: 140px;
		}
	}

	/* crew/bank: on a phone the amount of a transfer in one column (a cell of its own, show_phone), with a sign and a colour (taken out pink, put in green) */
	@media (max-width: 719px) {
		.responsive table.transfer_list > tbody > tr > :is(:nth-child(2), :nth-child(3)) {
			display: none;
		}
	}
	.responsive td.transfer_amount {
		white-space: nowrap;
		text-align: right;
	}
	/* the amount in bold sand, as bold text of the black box; the sign in a dot of green (put in) or red (taken out) */
	.responsive .black_box td.transfer_amount, .responsive .crew_bank .black_box td.money {
		color: var(--color-sand);
		font-weight: bold;
	}
	.responsive td.transfer_amount .transfer_sign {
		display: inline-block;
		width: 18px;
		height: 18px;
		margin-right: 6px;
		border-radius: 50%;
		background-color: var(--color-green-dark);
		color: var(--color-white);
		font-size: 14px;
		line-height: 17px;
		text-align: center;
		vertical-align: 1px;
	}
	.responsive td.transfer_amount.transfer_out .transfer_sign {
		background-color: var(--color-red);
	}

	/*
	 * crew/bank: the two rows of a form and its log in one block (.crew_bank), which ends at its last box as a row does.
	 * On a tablet the forms are one below the other at the left and the logs at the right, so the short logs stack:
	 * a grid of three rows, the transfers in the first and the crew bank over the first two, the donations over the
	 * last two and the donation form in the third; the middle row (1fr) is as high as the taller of each pair needs.
	 * Without logs the two forms side by side
	 */
	.responsive .crew_bank {
		margin-bottom: -10px;
	}
	@media (min-width: 720px) {
		.responsive .crew_bank:has(.black_box) {
			display: grid;
			grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
			grid-template-rows: auto 1fr auto;
			column-gap: 13px;
			align-items: start;
		}
		.responsive .crew_bank:has(.black_box) > .boxes {
			display: contents;
		}
		.responsive .crew_bank > .boxes > .right {
			margin-left: 0;
		}
		.responsive .crew_bank:not(:has(.black_box)) {
			display: grid;
			grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
			column-gap: 13px;
			align-items: start;
		}
		.responsive .crew_bank:not(:has(.black_box)) > .boxes {
			display: contents;
		}
		.responsive .crew_bank > .boxes:first-child > .white_box {
			grid-column: 1;
			grid-row: 1 / 3;
		}
		.responsive .crew_bank > .boxes:first-child > .black_box {
			grid-column: 2;
			grid-row: 1;
		}
		.responsive .crew_bank > .boxes:last-child > .white_box {
			grid-column: 1;
			grid-row: 3;
		}
		.responsive .crew_bank > .boxes:last-child > .black_box {
			grid-column: 2;
			grid-row: 2 / 4;
		}
		.responsive .crew_bank:not(:has(.black_box)) > .boxes > .white_box {
			grid-column: auto;
			grid-row: auto;
		}
	}

	/*
	 * crew/shop: the categories (Aanval, Verdediging, Verdien) a row of three buttons of 40px as wide as each other over
	 * the width of the box, the current one green; the first item 12px below them (no line); on a tablet the picture, the price, the power and
	 * the form of an item side by side (only a phone stacks them)
	 */
	.responsive center:has(> div.cattabs) {
		display: block;
	}
	.responsive div.cattabs {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin: 0 0 12px;
	}
	.responsive div.cattabs a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 40px;
		margin: 0;
		padding: 0 6px;
		border: 1px solid var(--color-stone);
		border-radius: 0;
		background: var(--color-sand-light);
		color: var(--color-brown-light);
		font-size: 16px;
		font-weight: bold;
		line-height: 1.1;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive div.cattabs a + a {
		border-left-width: 0;
	}
	/* crew/shop.tpl rounds a:hover and a.current (as specific as the rule above, and later): only the ends of the row are round */
	.responsive div.cattabs a:hover, .responsive div.cattabs a.current {
		border-radius: 0;
	}
	.responsive div.cattabs a:first-child {
		border-radius: var(--radius-control) 0 0 var(--radius-control);
	}
	.responsive div.cattabs a:last-child {
		border-radius: 0 var(--radius-control) var(--radius-control) 0;
	}
	.responsive div.cattabs a:hover {
		background-color: var(--color-sand-light);
	}
	.responsive div.cattabs a.current {
		border-color: var(--color-green);
		background: var(--color-green);
		color: var(--color-white);
	}
	.responsive center:has(> div.cattabs) + br, .responsive center:has(> div.cattabs) + br + center:has(> div.hr_line), .responsive center:has(> div.cattabs) + br + center:has(> div.hr_line) + br {
		display: none;
	}
	/* the cells of an item end at their text: no empty cell, no line for a message that is not there (the <br> before it) */
	.responsive table.stack.crew_shop_item > tbody > tr > td:not(:has(*)),
	.responsive table.stack.crew_shop_item td > br:has(+ span[id^="m_"]:empty) {
		display: none;
	}
	/*
	 * a tablet: the cells of an item side by side in columns of the same width in every item, so they line up from one
	 * item to the next: the picture (at the top), the price, the power and the form (or what it needs)
	 */
	@media (min-width: 720px) {
		.responsive table.stack.crew_shop_item > tbody {
			display: grid;
			grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 240px);
			column-gap: 12px;
		}
		.responsive table.stack.crew_shop_item > tbody > tr {
			display: contents;
		}
		.responsive table.stack.crew_shop_item > tbody > tr > td[rowspan] {
			grid-row: span 2;
		}
		.responsive table.stack.crew_shop_item > tbody > tr > td[colspan] {
			grid-column: 2 / -1;
		}
		.responsive td > table.crew_shop_buy {
			max-width: 360px;
			margin-top: 0;
		}
	}
	/* the form to buy an item: the field over the width, Koop and Autokoop below it as equal halves */
	.responsive table.crew_shop_buy {
		display: block;
		margin-top: 8px;
	}
	.responsive table.crew_shop_buy > tbody {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 8px;
	}
	.responsive table.crew_shop_buy tr {
		display: contents;
	}
	.responsive table.crew_shop_buy td {
		display: block;
		width: auto;
		padding: 0;
	}
	.responsive table.crew_shop_buy td:empty {
		display: none;
	}
	.responsive table.crew_shop_buy td:has(input) {
		grid-column: 1 / -1;
	}
	.responsive table.crew_shop_buy :is(.textfield, input) {
		display: block;
		width: 100%;
	}
	.responsive table.crew_shop_buy .greenbutton {
		width: 100%;
		min-width: 0;
		margin: 0;
		padding-left: 4px;
		padding-right: 4px;
	}

	/* a small phone: the labels of the categories 15px, 8px at their sides, a column as wide as its label (Verdediging) at least */
	@media (max-width: 359px) {
		.responsive div.cattabs {
			grid-template-columns: repeat(3, minmax(min-content, 1fr));
		}
		.responsive div.cattabs a {
			padding: 0 8px;
			font-size: 15px;
		}
	}

	/*
	 * credits/spend: each option a row over the width of the box: the credits it costs, its text (which wraps in a column
	 * of its own) and Koop as a green button (btn_narrow instead of the picture), what is left of it this week below them
	 */
	.responsive .spend_narrow div.option {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 4px 12px;
		width: auto;
		margin-top: 0;
		padding: 10px 0;
		border-bottom: 1px solid rgb(0 0 0 / 8%);
		border-radius: 0 !important;
		background: none !important;
	}
	.responsive .spend_narrow div.option:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}
	.responsive .spend_narrow div.option > div:first-child {
		display: flex;
		flex: 1 1 0;
		align-items: baseline;
		gap: 8px;
		min-width: 0;
		width: auto !important;
		padding: 0 !important;
	}
	.responsive .spend_narrow div.option > div:nth-child(2) {
		flex: none;
	}
	.responsive .spend_narrow div.credits {
		flex: none;
		margin: 0;
		font-size: 12px;
		line-height: 1.3;
		white-space: nowrap;
	}
	.responsive .spend_narrow .option_text {
		flex: 1 1 0;
		min-width: 0;
	}
	.responsive .spend_narrow div.option > div.clear {
		display: none;
	}
	.responsive .spend_narrow div.option > div.grey {
		flex: 0 0 100%;
		margin: 0;
		font-size: 13px;
		line-height: 1.4;
	}
	.responsive .spend_narrow a.buy.button.btn_narrow {
		float: none;
		width: auto;
		height: auto;
		margin: 0;
		text-indent: 0;
	}
	.responsive .white_box .spend_narrow a.buy.button.btn_narrow:is(:hover, :active) {
		margin: 0;
		background-image: var(--btn-narrow-images);
	}

	/* crimes/index: the crimes, their titles and the toplist grow with their text */
	.responsive :is(.crime_option, .crime_title, .crime_toplist) {
		height: auto !important;
	}
	.responsive .crime_option {
		min-height: 115px;
		margin-bottom: 12px;
	}
	.responsive .crime_option > div:first-child {
		margin-bottom: 2px;
	}
	/* each option a row to tap: the radio button, its label over the room that is left, the chance at the right; a line between the options */
	.responsive .crime_option > div:not(:first-child) {
		display: flex;
		align-items: center;
		gap: 8px;
		min-height: 40px;
		margin: 0 !important;
		border-top: 1px solid rgb(0 0 0 / 8%);
	}
	.responsive .crime_option > div:not(:first-child) > input {
		flex: none;
		margin: 0;
	}
	.responsive .white_box .crime_option > div:not(:first-child) > label {
		flex: 1 1 auto;
		align-self: stretch;
		min-width: 0;
	}
	.responsive .crime_option > div:not(:first-child) > span {
		flex: none;
		white-space: nowrap;
	}
	/* the rewards: the icon (the background of the row), the number of crimes and the reward in columns */
	.responsive div.stats.reward {
		display: flex;
		gap: 8px;
		margin-top: 2px;
	}
	.responsive div.stats.reward > div {
		float: none !important;
	}
	.responsive div.stats.reward > div:first-child {
		flex: none;
		width: auto !important;
		min-width: 3.5em;
	}
	.responsive div.stats.reward > div:nth-child(2) {
		flex: 1 1 auto;
		min-width: 0;
	}
	.responsive div.stats.reward > .clear {
		display: none;
	}
	/* a phone: the picture of a crime (120x100, the background) as a small one next to its title, the options below them over the width; the button over the width */
	@media (max-width: 479px) {
		.responsive .crime_option {
			min-height: 0;
			padding-left: 0 !important;
			background-size: 64px auto;
			background-position: 0 0;
		}
		.responsive .crime_option > div:first-child {
			display: flex;
			align-items: center;
			box-sizing: border-box;
			min-height: 53px;
			padding: 0 0 4px 76px;
		}
		.responsive .crime_go {
			width: 100%;
		}
	}
	/* where the pictures are at the left of the options, the button lines up with the radio buttons */
	@media (min-width: 480px) {
		.responsive .crime_go {
			margin-left: 130px;
		}
	}

	/*
	 * daily/index: the two offers (floats of 250px) one below the other, 16px apart, on a tablet two columns of the same
	 * width
	 */
	.responsive .daily_block {
		margin-top: 16px !important;
	}
	@media (min-width: 720px) {
		.responsive .daily_block {
			float: left !important;
			width: calc(50% - 8px) !important;
		}
		.responsive .daily_block + .daily_block {
			margin-left: 16px !important;
		}
	}

	/*
	 * daily/scratch: the four cards (100px, scratch.js lays out its squares of 10px in px) centred in a row 8px apart,
	 * each a scratch card: a frame of silver and sand over its edge, a flat silver layer to scratch off and a gloss over
	 * both; on a phone two by two
	 */
	.responsive .scratch_cards {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px 8px;
		margin: 8px auto 12px;
	}
	.responsive .scratch_cards > div.scratch {
		flex: none;
		float: none;
		width: 100px;
		height: 100px;
		margin: 0;
		border-radius: var(--radius-control);
		box-shadow: 0 1px 3px rgb(0 0 0 / 25%);
		/* the prize from 2px in, under the frame, so it does not show as a line along the rounded edge */
		box-sizing: border-box;
		padding: 2px;
		background-size: cover !important;
		background-origin: border-box !important;
		background-clip: content-box !important;
		overflow: hidden;
		touch-action: none;
	}
	/* the frame over the edge of the card, above the squares; a tap goes through it to the square below */
	.responsive .scratch_cards > div.scratch::after {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 1;
		border: 4px solid transparent;
		border-radius: var(--radius-control);
		background: linear-gradient(135deg, var(--color-scratch-light), var(--color-sand) 35%, var(--color-taupe) 65%, var(--color-scratch-light)) border-box;
		mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0) border-box;
		pointer-events: none;
	}
	/*
	 * the gloss of the card over it, above the squares: a light band across the silver (and later over the prize, as on
	 * a laminated card). The squares themselves are flat: a gradient in each of them shows a grid of seams on a screen
	 * of 2.625 pixels to the px, where their edges fall on part of a pixel
	 */
	.responsive .scratch_cards > div.scratch::before {
		content: '';
		position: absolute;
		inset: 4px;
		z-index: 1;
		box-shadow: inset 0 1px 3px rgb(0 0 0 / 35%);
		background: linear-gradient(135deg, rgb(255 255 255 / 30%), transparent 30%, transparent 40%, rgb(255 255 255 / 45%) 50%, transparent 60%, transparent 80%, rgb(0 0 0 / 6%));
		pointer-events: none;
	}
	.responsive .scratch_cards div.hider {
		background-color: var(--color-taupe) !important;
	}
	@media (max-width: 719px) {
		.responsive .scratch_cards {
			max-width: 208px;
		}
	}
	.responsive #priceresult {
		text-align: center;
	}
	.responsive .scratch_note {
		text-align: center;
	}

	/*
	 * edituser/profile: the lines next to the checkboxes of Profielgegevens (9pt) as large as the other small text; the
	 * option of a field (a checkbox in a row of 40px to tap) right below the field, so about 10px from it, a label 8px
	 * below what is above it (about 18px below an option), the button about 14px
	 */
	.responsive #profileinfo > .full_narrow {
		font-size: 14px !important;
	}
	.responsive #profileinfo > .field_block_narrow {
		margin-top: 8px !important;
		padding: 0;
	}
	/* the radio buttons (20px in a row of 40px to tap) as close below their label as the selects below theirs */
	.responsive #profileinfo > .field_block_narrow > div:has(> input[type="radio"]) {
		margin-top: -10px;
	}
	.responsive #profileinfo > .full_narrow:has(> .greenbutton) {
		margin-top: 4px !important;
	}
	/* the counter below the profile text: 4px below the field, the buttons (Opslaan, Bekijken) 8px below it */
	.responsive .profile_counter {
		margin: 4px 0 8px !important;
	}
	.responsive .profile_counter + .buttons_narrow {
		margin-top: 0 !important;
	}
	/* the offer of the Ultimate membership (tip_narrow) 16px below the buttons, its text as large as the other text */
	.responsive .tip_narrow.profile_offer {
		margin-top: 16px !important;
		font-size: 14px;
	}

	/* edituser/settings: the headings above the tables of settings on a line of their own, the tables as wide as the box, the checkboxes in a column of 64px */
	.responsive form:has(> table.usersettings) {
		display: block;
		margin-bottom: 16px;
	}
	.responsive form:has(> table.usersettings) > h3, .responsive form:has(> table.usersettings) + h3 {
		display: block;
		margin: 16px 0 4px;
	}
	/* without the space between the cells (cellspacing) the tables line up with the headings and their lines run through */
	.responsive table.usersettings {
		width: 100%;
		table-layout: fixed;
		border-spacing: 0;
	}
	.responsive table.usersettings :is(th, td) {
		padding: 0 4px;
	}
	.responsive table.usersettings :is(th, td):first-child {
		padding-left: 0;
	}
	.responsive table.usersettings :is(th, td):last-child {
		width: 64px;
		padding-right: 0;
		text-align: center;
	}
	.responsive table.usersettings th {
		padding-bottom: 4px;
	}
	/* a setting's label is a line of 44px to tap */
	.responsive table.usersettings label {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 2px 0;
	}
	.responsive table.usersettings td:first-child {
		padding-left: 4px;
	}
	.responsive table.usersettings + .greenbutton {
		margin-top: 12px;
	}
	/* the layout a part of its own below the settings, after a line */
	.responsive :is(.white_box, .black_box) h3.settings_layout {
		margin: 24px 0 4px;
		padding-top: 20px;
		border-top: 1px solid rgb(0 0 0 / 12%);
	}

	/*
	 * edituser/widgets: each widget (a pill as in the stats bar) from the edge of its label, the checkbox in the middle of
	 * its column, its label a tap area of 40px over the cell
	 */
	.responsive table.statswidgets {
		width: 100%;
	}
	.responsive table.statswidgets td {
		vertical-align: middle;
	}
	.responsive :is(.white_box, .black_box) table.statswidgets > tbody > tr > td:first-child {
		padding-left: 2px;
	}
	/*
	 * a chip as a link of the stats bar (sand on --color-brown-light, 3.4:1); the one that is active (in bold) in the
	 * lightest sand
	 */
	.responsive table.statswidgets a {
		margin: 2px 0;
		background-color: var(--color-brown-light);
		color: var(--color-sand) !important;
	}
	.responsive table.statswidgets b {
		color: var(--color-sand-light);
	}
	.responsive table.statswidgets td:last-child {
		width: 1%;
		padding: 0 2px;
	}
	.responsive :is(.white_box, .black_box) table.statswidgets label:has(> input) {
		display: flex;
		justify-content: center;
		min-width: 72px;
	}
	.responsive :is(.white_box, .black_box) table.statswidgets input[type="checkbox"] {
		margin: 0;
	}
	/* the icon of a widget in the middle of its line; the widgets that show only an icon and a number with their name */
	.responsive :is(.white_box, .black_box) table.statswidgets td > a {
		display: flex;
		align-items: center;
		gap: 6px;
	}
	.responsive table.statswidgets td > a > img {
		order: -1;
		position: static;
	}
	.responsive table.statswidgets td > a[href="messages/inbox/"]::before {
		content: "Berichten";
	}
	.responsive table.statswidgets td > a[href="storm/"]::before {
		content: "Storm";
	}

	/* forum (and storm/read): a post below its poster, over the width of the box */
	/*
	 * the bar of the poster over the width of the post below it, in the lighter colour of its picture (topic-user-bg.png,
	 * 253px, with an arrow at the right) without the arrow; the picture of the poster (an icon of 14px) twice as
	 * large on a tile of 40px, lighter still, its name (in bold, dark) and rank (5:1) next to it, all centred in the height
	 */
	.responsive div.topic_user_box {
		display: flow-root;
		box-sizing: border-box;
		float: none;
		width: auto;
		max-width: 100%;
		height: auto;
		min-height: 52px;
		padding: 6px;
		border-radius: var(--radius-control) var(--radius-control) 0 0;
		background: var(--color-poster-light);
		color: var(--color-grey-dark);
		line-height: 1.3;
	}
	/* (!important beats the grey of a .grey in a box) */
	.responsive :is(.white_box, .black_box) div.topic_user_box small {
		color: var(--color-brown-dark) !important;
		font-weight: normal;
	}
	.responsive div.topic_user_box > div:first-child {
		display: flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 40px;
		height: 40px;
		margin: 0 10px 0 0;
		padding: 0;
		border-radius: var(--radius-control);
		background: var(--color-sand-light);
	}
	.responsive div.topic_user_box > div:first-child img {
		display: block;
		width: 28px;
		height: 28px;
		image-rendering: pixelated;
	}
	/* a post: the name and rank (a block of a fixed size) take the room, the icons to edit and delete and the likes (positioned in the fixed layout) at the right */
	.responsive div.topic_user_box:has(> span) {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.responsive div.topic_user_box:has(> span) > div:first-child {
		flex: none;
		margin: 0;
	}
	.responsive div.topic_user_box > span:not([style*="position:absolute"]) {
		flex: 1 1 auto;
		min-width: 0;
		width: auto !important;
		height: auto !important;
		float: none !important;
		font-weight: bold;
	}
	.responsive div.topic_user_box > span[style*="position:absolute"] {
		position: static !important;
		flex: none;
		display: flex;
		align-items: center;
	}
	.responsive div.topic_user_box > span[style*="position:absolute"]:not(:has(> a)) {
		order: 1;
	}
	.responsive div.topic_user_box > span:has(> a) {
		order: 2;
	}
	/* the icons to edit and delete: each a tap area of 40px in the row (not around the icon), 8px apart */
	.responsive div.topic_user_box > span:has(> img.tap_narrow) {
		gap: 8px;
	}
	.responsive div.topic_user_box img.tap_narrow {
		padding: 12px;
		margin: 0;
	}
	/* the likes: a chip of 40px to tap, a green plus drawn in CSS (instead of bullet_add_1.svg) and the number in 16px */
	.responsive div.topic_user_box :is(a.like, a.topiclike) {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		box-sizing: border-box;
		min-width: 56px;
		min-height: 40px;
		padding: 0 12px 0 10px;
		border-radius: 20px;
		background: var(--color-sand-light);
		font-size: 16px;
		line-height: 1;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive div.topic_user_box :is(a.like, a.topiclike)::before {
		content: '';
		flex: none;
		width: 18px;
		height: 18px;
		border-radius: 50%;
		background:
			linear-gradient(var(--color-white), var(--color-white)) center / 10px 2px no-repeat,
			linear-gradient(var(--color-white), var(--color-white)) center / 2px 10px no-repeat,
			var(--color-green);
	}
	.responsive div.topic_user_box :is(a.like, a.topiclike):active {
		background-color: var(--color-sand);
	}
	/* the icons to edit and delete (drawn pale on the colour of the bar) in their full colours */
	.responsive div.topic_user_box img[src$="images/forum/icons/edit.svg"] {
		content: url('../images/icons/pencil.png');
		width: 16px;
		height: 16px;
	}
	.responsive div.topic_user_box img[src$="images/forum/icons/delete.svg"] {
		content: url('../images/icons/bin_closed.png');
		width: 16px;
		height: 16px;
	}
	.responsive div.topic_message_box {
		float: none;
		width: auto !important;
		margin-left: 0 !important;
	}
	/* the text of a post 16px, which reads well on a phone and a tablet */
	.responsive div.topic_message_box :is(#topic_body, span[id$="_body"]),
	.responsive div.topic_message_box :is(#topic_body, span[id$="_body"]) :is(span, div, a, font, b, i, u, li) {
		font-size: 16px;
	}
	/*
	 * the text a block of its own lines, the empty span for its edit form left out and no minimum height (50px), so the
	 * post ends as far below its text as it starts above the date (the 10px of the post)
	 */
	.responsive div.topic_message_box :is(#topic_body, span[id$="_body"]) {
		display: block;
	}
	.responsive div.topic_message_box span[id$="_edit"]:empty {
		display: none;
	}
	.responsive div.topic_message_box div div div {
		min-height: 0;
	}
	/* the date above a post a line in the grey of the box, at the left; when it was edited, that on a lighter line below it */
	.responsive span.topic_date {
		padding-bottom: 6px;
		font-size: 13px;
		font-weight: normal;
		text-align: left;
		color: var(--color-brown-light);
		line-height: 1.4;
	}
	.responsive span.topic_date > span {
		display: block;
		font-size: 12px;
		color: var(--color-stone);
	}
	/* a phone: the function of the poster in the crew (in a crew forum) on a line of its own below the rank, without the | */
	@media (max-width: 719px) {
		.responsive div.topic_user_box small.post_function {
			display: block;
		}
	}
	/* the divs in a post (the poll) without the corners of the post (topic-borders.gif), which left a mark of a few px */
	.responsive div.topic_message_box div div div div {
		background-image: none;
	}
	/* that the topic is locked or a sticky: below the title and the forum, above the posts (not below the buttons) */
	.responsive .topic_state {
		margin: 12px 0 0 !important;
	}
	.responsive .forum_indent {
		margin-left: 0 !important;
	}
	/* forum/new: Forum above its select (field_row_narrow), on a tablet a select of at most 360px as the other fields */
	@media (min-width: 720px) {
		.responsive .forum_indent.field_row_narrow select {
			max-width: 360px;
		}
	}
	.responsive .forum_fav {
		position: static !important;
		width: auto !important;
		margin-bottom: 8px;
	}
	/* no line between the posts (div.forum_hr), which are cards of their own: 14px between them */
	.responsive div.forum_hr {
		display: none;
	}
	.responsive div.forum_hr ~ div.topic_user_box {
		margin-top: 14px;
	}
	/*
	 * flipacoin/index: the two coins as two tiles of the same width side by side, the radio button below each; the
	 * tile of the chosen side has a green edge
	 */
	.responsive .flipacoin_choice {
		display: grid;
		flex: 1 1 100%;
		grid-auto-flow: column;
		grid-template-rows: auto 40px;
		grid-auto-columns: minmax(0, 1fr);
		column-gap: 12px;
		justify-items: center;
		align-items: center;
	}
	.responsive .flipacoin_choice > label {
		display: flex;
		justify-content: center;
		box-sizing: border-box;
		width: 100%;
		padding: 12px;
		border: 2px solid transparent;
		border-radius: 8px;
		background: rgb(255 255 255 / 8%);
		cursor: pointer;
	}
	.responsive .flipacoin_choice > label:has(+ input:checked) {
		border-color: var(--color-green);
		background: rgb(255 255 255 / 14%);
	}
	.responsive .flipacoin_choice > label > img {
		width: 120px;
	}
	.responsive :is(.white_box, .black_box) .flipacoin_choice > input {
		margin: 0;
	}
	.responsive .flipacoin_choice ~ br {
		display: none;
	}
	/* a tablet: as wide as the field below it */
	@media (min-width: 720px) {
		.responsive .flipacoin_choice {
			max-width: 360px;
		}
	}

	/*
	 * forum/active: Nieuw topic below the heading, 12px above the topics; on a tablet at the right of the heading, in the
	 * middle of its line (as high as the button), the topics 14px below it
	 */
	.responsive .forum_new_topic {
		margin-bottom: 12px;
	}
	.responsive .forum_new_topic > .greenbutton {
		margin: 0 !important;
	}
	@media (min-width: 720px) {
		.responsive .forum_new_topic.static_narrow {
			position: absolute !important;
			top: 15px !important;
			right: 15px !important;
			margin: 0;
		}
		.responsive .white_box:has(> .forum_new_topic) > h2 {
			display: flex !important;
			align-items: center;
			box-sizing: border-box;
			min-height: 40px;
			margin-bottom: 14px;
			padding-right: 160px;
		}
	}

	/*
	 * forum/index: a forum (div.forum_row) as a panel to tap: its picture and next to it the name and the
	 * description, centred in their height; the panels 12px apart instead of the lines between them, the
	 * picture in line with the heading (the panel of the name, bg.jpg, is the panel of the row instead)
	 */
	.responsive .forum_row {
		position: relative;
		display: flex;
		align-items: center;
		gap: 12px;
		margin-bottom: 12px;
		padding: 0 12px 0 0;
		border-radius: var(--radius-control);
		background-color: rgb(255 255 255 / 30%);
		-webkit-tap-highlight-color: transparent;
	}
	.responsive .forum_row:nth-last-child(1 of .forum_row) {
		margin-bottom: 0;
	}
	/* the heading above the forums (in a block of 30px) as far above the first panel as the panels are apart */
	.responsive div:has(> h2):has(+ .forum_row) {
		margin-bottom: 12px;
	}
	.responsive .forum_row:has(a:active) {
		background-color: rgb(255 255 255 / 55%);
	}
	.responsive .forum_row > div:first-child {
		flex: none;
		float: none !important;
		width: auto !important;
		height: auto !important;
		padding: 0 !important;
	}
	.responsive .forum_row > div:first-child img {
		display: block;
		width: 64px;
		height: 64px;
		object-fit: cover;
		border-radius: 4px 0 0 4px;
	}
	.responsive .forum_category {
		flex: 1 1 auto;
		min-width: 0;
		float: none !important;
		width: auto !important;
		height: auto !important;
		padding: 8px 0 !important;
		background: none !important;
	}
	.responsive .forum_category > br, .responsive .forum_row > .clear, .responsive .forum_row + center {
		display: none;
	}
	.responsive .forum_category h3 {
		display: block;
		margin: 0 0 2px;
	}
	/* the link of the name covers the panel */
	.responsive .forum_category > a::after {
		content: '';
		position: absolute;
		inset: 0;
	}
	/* the search in the sidebar: on a tablet, where the sidebar is narrow, the button as wide as its text and the field the rest */
	@media (min-width: 720px) {
		.responsive .forum_search .greenbutton {
			min-width: 0;
			padding: 0 16px;
		}
	}
	/* the active topics: their whole title (the link after the one that the server cuts short), on two lines at most */
	.responsive table.active_topics {
		table-layout: fixed;
	}
	.responsive table.active_topics td > a:not(.show_narrow) {
		display: none;
	}
	.responsive table.active_topics td > a.show_narrow {
		display: -webkit-box !important;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		overflow-wrap: anywhere;
	}
	/*
	 * the lists of topics (table.topic_list: forum/category, forum/topictable): the links to the pages of a topic as
	 * small buttons that stay together; on a phone a topic is a line with its title, below it a smaller line with the
	 * player, a speech bubble with the number of replies and (at the right) the date of the last one
	 */
	.responsive table.topic_list .topic_pages {
		display: inline-flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 2px 4px;
		padding: 0 4px !important;
		border-radius: var(--radius-small);
		font-size: 13px;
		vertical-align: middle;
	}
	.responsive table.topic_list .topic_pages a {
		display: inline-block;
		min-width: 16px;
		padding: 2px;
		text-align: center;
	}
	/* a cell of a topic's icon and title in another table (forum/mentions): the lines of a long title start where its first one does */
	.responsive :is(.white_box, .black_box) table:not(.topic_list) > tbody > tr > td:has(> img.topic_icon:first-child) {
		padding-left: calc(var(--cell-edge, 8px) + 21px);
		text-indent: -21px;
	}
	.responsive :is(.white_box, .black_box) table:not(.topic_list) > tbody > tr > td:has(> img.topic_icon:first-child) > .line_phone {
		text-indent: 0;
	}
	/* the title of every topic in 17px and medium weight, a sticky one too (not bold and underlined: its icon says it) */
	.responsive table.topic_list > tbody > tr.row > td > img.topic_icon ~ a {
		font-size: 17px;
		font-weight: 500;
		text-decoration: none;
	}
	/* the icon of a topic on the middle of the capitals of its title (the cap of 17px: the font size of the title) */
	.responsive table.topic_list > tbody > tr.row > td > img.topic_icon {
		font-size: 17px;
		vertical-align: calc((1cap - 16px) / 2);
	}
	.responsive table.topic_list > tbody > tr.row > td > img.topic_icon ~ a :is(b, u) {
		font-weight: inherit;
		text-decoration: none;
	}
	@media (max-width: 719px) {
		.responsive table.topic_list, .responsive table.topic_list > tbody {
			display: block;
		}
		.responsive table.topic_list > tbody > tr:first-child {
			display: flex;
		}
		.responsive table.topic_list > tbody > tr:first-child > th:not(.hide_narrow, .hide_phone) {
			display: block;
			flex: 1 1 auto;
			height: auto;
		}
		.responsive table.topic_list > tbody > tr.row {
			display: grid;
			grid-template-columns: auto auto 1fr;
			align-items: center;
			column-gap: 14px;
			padding: 8px 4px 10px;
		}
		.responsive table.topic_list > tbody > tr.row > td {
			padding: 0;
			font-size: 14px;
			color: var(--color-brown-light);
		}
		/* the line below the title: the player in 14px in the grey of the box, as the replies and the date */
		.responsive table.topic_list > tbody > tr.row > td a.usr {
			font-size: 14px;
			color: inherit;
		}
		.responsive table.topic_list > tbody > tr.row > :is(td:has(> img.topic_icon), td[colspan]) {
			grid-column: 1 / -1;
			padding-bottom: 4px;
			font-size: 16px;
		}
		.responsive table.topic_list > tbody > tr.row > td.c::before {
			content: '';
			display: inline-block;
			width: 11px;
			height: 9px;
			margin-right: 5px;
			border: 1.5px solid currentColor;
			border-radius: 50% 50% 50% 0;
			vertical-align: -1px;
		}
		.responsive table.topic_list > tbody > tr.row > td.r {
			text-align: right;
		}
	}
	/*
	 * forum/poll: in line with the text of the post (#forum_poll is a div in the post, which has padding), the
	 * question a heading with no empty line below it; the vote: a row of 40px to tap per option, Stemmen and
	 * Resultaten side by side below them over the width of the post
	 */
	.responsive #forum_poll {
		padding-left: 0;
		padding-right: 0;
		/* the padding of the post below it, as below the text of a post without a poll */
		padding-bottom: 0;
	}
	.responsive #forum_poll > span:first-child {
		margin-bottom: 8px;
		font-size: 18px !important;
		line-height: 1.3;
	}
	.responsive #forum_poll > span:first-child + br {
		display: none;
	}
	.responsive table.poll_table {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		width: 100%;
	}
	.responsive table.poll_table > tbody, .responsive table.poll_table > tbody > tr {
		display: contents;
	}
	.responsive table.poll_table td {
		padding: 0;
	}
	.responsive table.poll_table td:empty {
		display: none;
	}
	.responsive table.poll_table label {
		display: flex;
		align-items: center;
		min-height: 40px;
		padding-left: 6px;
	}
	.responsive table.poll_table td:has(> .buttons_narrow) {
		grid-column: 1 / -1;
	}
	/*
	 * the results: per option its label, a bar (a green fill of --progress on a dark track) that takes the free
	 * width (as progress_narrow) and the percentage at the right; the option the player voted for in bold with a check mark (instead of the disabled
	 * radio buttons); the total on a line of its own
	 */
	.responsive table.poll_table:has(.poll_bar) {
		grid-template-columns: fit-content(50%) minmax(0, 1fr);
		gap: 10px 12px;
	}
	.responsive table.poll_table:has(.poll_bar) td:first-child {
		display: none;
	}
	.responsive tr.poll_voted > td:nth-child(2) {
		font-weight: bold;
	}
	.responsive tr.poll_voted > td:nth-child(2)::after {
		content: '';
		display: inline-block;
		width: 10px;
		height: 5px;
		margin: 0 0 4px 8px;
		border: solid var(--color-green);
		border-width: 0 0 2px 2px;
		transform: rotate(-45deg);
	}
	/* the span is the whole cell: the track (with the fill in it) in its ::before, the percentage at its right */
	.responsive table.poll_table .poll_bar {
		position: relative;
		display: block;
		box-sizing: border-box;
		width: auto !important;
		height: 20px;
		padding: 0;
		background: none;
		line-height: 20px;
		text-align: right;
		white-space: nowrap;
	}
	.responsive table.poll_table .poll_bar::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: calc(3em + 10px);
		height: 20px;
		border-radius: var(--radius-control);
		background:
			linear-gradient(var(--color-green-light) 50%, var(--color-green) 50%) 2px 2px / max(0px, min(var(--progress, 0%), 100%) - 4px) 16px no-repeat,
			var(--color-brown-light);
	}
	.responsive table.poll_table td.greycolor {
		grid-column: 1 / -1;
		font-size: 13px;
		color: var(--color-brown-light);
	}

	/*
	 * fruit/play: the round in the middle above the reels, the reels in a row in the middle, 12px apart, each a column
	 * of its picture (40px, 56px and from 400px 80px: at most twice its size, so it stays sharp; a tablet has the room
	 * between the reels instead) and below it the checkbox hold with its label (a row of 40px to tap); the room of 90px
	 * and 50px around them drops out
	 */
	.responsive .fruit_reels {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px 12px;
		margin: 0 0 12px !important;
		padding: 12px !important;
		border-radius: var(--radius-box);
	}
	.responsive .fruit_reels > b {
		flex: 1 1 100%;
		text-align: center;
	}
	.responsive .fruit_reels > br, .responsive .fruit_reels > .clear {
		display: none;
	}
	/* (the room of a picture wider than the checkbox and its label goes to the sides, so hold stays next to its checkbox) */
	.responsive .fruit_reels > div {
		display: grid;
		grid-template-columns: 1fr auto auto 1fr;
		justify-content: center;
		align-items: center;
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		float: none;
	}
	.responsive .fruit_reels > div > img {
		grid-column: 1 / -1;
		justify-self: center;
		width: 56px;
		height: auto;
	}
	@media (min-width: 400px) {
		.responsive .fruit_reels {
			column-gap: 16px;
		}
		.responsive .fruit_reels > div > img {
			width: 80px;
		}
	}
	@media (min-width: 720px) {
		.responsive .fruit_reels {
			column-gap: 48px;
		}
	}
	.responsive .fruit_reels > div > input {
		grid-column: 2;
	}
	.responsive .fruit_reels > div > label {
		grid-column: 3;
	}
	.responsive .fruit_reels > div > br {
		display: none;
	}
	/* fruit/index and play: a payout as a row of its three icons and the payout at the right, a line between the rows */
	.responsive .fruit_payouts > div {
		display: flex;
		align-items: center;
		gap: 4px;
		height: auto !important;
		padding: 6px 0;
		font-weight: bold;
	}
	.responsive .fruit_payouts > div:not(:last-child) {
		background: url('../images/layout/hr-black.png') repeat-x left bottom;
	}
	.responsive .fruit_payouts > div > img:last-of-type {
		margin-right: auto;
	}

	/*
	 * games/index: the games as tiles in a grid, as many in a row as fit (at least 120px), each tile at most 160px wide
	 * in the middle of its column; the picture (100px) over the tile, so at most 160px, the name centred below it
	 */
	.responsive .games_grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		justify-items: center;
		gap: 16px 14px;
	}
	.responsive .games_grid > a {
		display: block;
		width: 100%;
		max-width: 160px;
		text-decoration: none;
	}
	.responsive .games_grid > a > div {
		float: none !important;
		width: auto !important;
		height: auto !important;
	}
	.responsive .games_grid img {
		display: block;
		width: 100%;
		aspect-ratio: 1;
		object-fit: cover;
		border-radius: 4px;
		background: var(--color-sand-light);
	}
	.responsive .games_grid > a > div > div {
		margin-top: 6px;
		font-size: 16px !important;
		line-height: 1.3;
		overflow-wrap: anywhere;
		text-align: center;
	}
	/* a tablet: tiles of 160px, 24px apart, the row in the middle of the box */
	@media (min-width: 720px) {
		.responsive .games_grid {
			grid-template-columns: repeat(auto-fit, 160px);
			justify-content: center;
			column-gap: 24px;
		}
	}
	.responsive .games_grid + .clear {
		display: none;
	}
	.responsive .games_grid + .clear + div {
		margin-top: 16px !important;
	}

	/* helpdesk/new and edit: the title over the width of the box below Titel, as the text below Inhoud, 16px above it */
	.responsive form.helpdesk_form input.full_narrow {
		display: block;
		margin-bottom: 16px;
	}
	.responsive form.helpdesk_form input.full_narrow ~ br:not(textarea ~ br) {
		display: none;
	}

	/* helpdesk/index: the topics as rows of 44px to tap, with a line between them and an arrow at the right */
	.responsive ul.helptopics {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.responsive ul.helptopics > li {
		padding: 0;
		border-bottom: 1px solid rgb(0 0 0 / 8%);
	}
	.responsive ul.helptopics > li:last-child {
		border-bottom: 0;
	}
	.responsive ul.helptopics a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 44px;
		padding: 0 4px 0 0;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive ul.helptopics a:active {
		background-color: rgb(0 0 0 / 6%);
	}
	.responsive ul.helptopics a::after {
		content: '';
		flex: none;
		width: 7px;
		height: 7px;
		margin-right: 4px;
		border-top: 2px solid currentColor;
		border-right: 2px solid currentColor;
		transform: rotate(45deg);
		opacity: 0.6;
	}
	/* without topics no line that asks to pick one */
	.responsive .boxes:has(ul.helptopics > li.empty_narrow) .helpdesk_pick {
		display: none;
	}
	/* the box of the topic, scrolled to on a phone, keeps a little room above it */
	.responsive :is(.white_box, .black_box):has(> #helptopicviewer) {
		scroll-margin-top: 8px;
	}

	/* home/index: the dash before the topic of a mention in the grey of the box (not the colour of the topic), the topic a link as any other */
	.responsive .white_box .mention_dash {
		color: var(--color-brown-light) !important;
	}
	.responsive .white_box a.mention_topic {
		color: var(--color-grey) !important;
	}
	/* home/index: the first mention right below the heading, as the text of the other boxes (not 8px further) */
	.responsive .white_box h2 + div.hr:has(.mention_dash) {
		padding-top: 0 !important;
	}
	/* home/index: the news ends at its last line (each item ends with two <br>s) */
	.responsive .home_news > br:nth-last-child(1 of :not(script, .clear)) {
		display: none;
	}
	/* home/index: an empty note leaves out the empty lines above its button, the line that says so is the text of the box */
	.responsive #notes.notes_empty > br {
		display: none;
	}
	.responsive :is(.white_box, .black_box) #notes > .empty_narrow {
		padding: 0;
		text-align: left;
	}
	/*
	 * the friends: the player at the left edge, the date at the right in 14px and grey (as is the label above it),
	 * the button to remove a friend at the right edge
	 */
	.responsive :is(.white_box, .black_box) table.home_friends > tbody > tr > td:first-child {
		padding-left: 0;
	}
	.responsive :is(.white_box, .black_box) table.home_friends > tbody > tr > td:last-child {
		width: 1%;
		padding-left: 0;
		padding-right: 0;
		text-align: right;
	}
	.responsive :is(.white_box, .black_box) table.home_friends img.tap_narrow {
		max-width: none;
	}
	.responsive :is(.white_box, .black_box) table.home_friends td.r small {
		font-size: 14px;
		white-space: nowrap;
	}
	.responsive :is(.white_box, .black_box) table.home_friends th[colspan] > div {
		justify-content: flex-end;
		/* the button (14px) and the 16px between the date and it */
		padding-right: 30px;
		text-align: right;
	}

	/*
	 * jobs/index: on a phone the long explanation cut to 3 lines, with Meer... (a label of a hidden checkbox, no
	 * JavaScript) below it to read all of it, so the wait timer and the bosses show on the first screen
	 */
	@media (max-width: 719px) {
		.responsive .jobs_intro {
			display: -webkit-box;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: 3;
			overflow: hidden;
		}
		.responsive #jobs_intro_more:checked ~ .jobs_intro {
			display: block;
			-webkit-line-clamp: none;
		}
		.responsive label.jobs_intro_toggle {
			display: inline-block !important;
			min-height: 40px;
			line-height: 40px;
			text-decoration: underline;
			cursor: pointer;
			-webkit-tap-highlight-color: transparent;
		}
		.responsive #jobs_intro_more:checked ~ label.jobs_intro_toggle {
			display: none !important;
		}
	}
	/* jobs/current: the time that is left (50 min. 0 sec.) on one line */
	.responsive td.jobs_timer {
		white-space: nowrap;
	}
	/* jobs/index: the line about the NPCs (grow_narrow) in the text of the box, with some space above their table */
	.responsive .npc_intro {
		margin-bottom: 4px;
	}
	.responsive :is(.white_box, .black_box) .npc_intro small {
		display: inline;
		font-size: inherit;
		line-height: inherit;
		color: inherit;
	}

	/* houses/show: the photo of the house (350x250) over the width of the box */
	.responsive :is(.white_box, .black_box) .house_photo > img {
		display: block;
		width: 100%;
		height: auto;
		margin-top: 4px;
	}

	/*
	 * houses/building: the date and the period after it together (the date ends with a space); the bar as the bar of a
	 * progress_narrow, on a dark frame with rounded corners
	 */
	.responsive .build_ready {
		display: inline-block;
	}
	.responsive .build_bar {
		box-sizing: border-box;
		height: 20px !important;
		margin: 16px 0 !important;
		padding: 2px;
		border: 0 !important;
		border-radius: var(--radius-control);
		background-color: var(--color-brown) !important;
	}
	.responsive .build_bar > #progressbar {
		position: static !important;
		max-width: 100%;
		height: 16px !important;
		border-radius: 2px;
	}

	/*
	 * houses/new: each house a row of its picture and next to it its name, price and figures (no bullets) with Start bouw
	 * below them, always shown (a touch screen has no hover); a line between the houses
	 */
	.responsive .houses_new > br {
		display: none;
	}
	.responsive .houses_new > div.houserow {
		display: flex;
		align-items: flex-start;
		gap: 12px;
		height: auto;
		padding: 12px 0;
	}
	.responsive .houses_new > div.houserow:not(:last-child) {
		background: var(--hr-line) left bottom / 100% 2px repeat-x;
	}
	.responsive .houses_new > div.houserow:last-child {
		padding-bottom: 0;
	}
	.responsive .houserow > img {
		flex: none;
		float: none;
		margin: 0 !important;
		border-radius: 4px;
	}
	.responsive .houserow > div {
		flex: 1 1 auto;
		min-width: 0;
	}
	.responsive .houserow ul {
		list-style: none;
		font-size: 13px !important;
		line-height: 1.4;
	}
	.responsive .houserow > div > div {
		margin: 12px 0 0 !important;
	}
	.responsive .houserow form[id^="build_"] {
		display: block !important;
	}

	/*
	 * houses/basement: the size of the plantation in a field of 64px (4 digits) with its unit and maximum on one line next to it,
	 * the button at the left; the text of Meer Info a little further apart
	 */
	.responsive table.basement_form input#size {
		width: 64px !important;
	}
	.responsive .basement_size {
		white-space: nowrap;
	}
	.responsive .basement_go {
		text-align: left !important;
	}
	/* the heading Plantage bouwen as far from the form as Kelder (in its block of 40px) from its text */
	.responsive h2.basement_head {
		min-height: 32px;
	}
	.responsive .basement_info {
		line-height: 1.45;
	}
	/* a tablet: Meer Info (the long text) the wider of the two columns, so they end at about the same height */
	@media (min-width: 720px) {
		.responsive .boxes > .basement_info.right {
			flex-grow: 7;
		}
		.responsive .boxes:has(> .basement_info) > .cols3:not(.white_box, .black_box) {
			flex-grow: 6;
		}
	}

	/*
	 * items/index: the picture of an item at the left, its name (and what is used of it) and its total value a small
	 * line next to it; below both over the width of the item its actions (Gebruik, Gooi weg) and the form to sell it in
	 * two columns; on a tablet the items in two columns
	 */
	.responsive div.item_box:has(> .item_text) {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		align-items: start;
		column-gap: 12px;
		padding: 10px;
		margin-bottom: 10px;
	}
	.responsive div.item_box > span:first-child {
		grid-row: 1 / span 2;
		float: none !important;
		margin: 0 !important;
	}
	.responsive div.item_box:not(:has(.item_value)) > span:first-child {
		grid-row: 1;
	}
	.responsive .item_text {
		display: contents;
	}
	.responsive .item_text > * {
		grid-column: 2;
	}
	.responsive .item_text > div:first-child {
		margin-bottom: 0 !important;
	}
	.responsive .item_text > .item_value, .responsive .item_text > .item_value * {
		position: static !important;
		width: auto !important;
		text-align: left !important;
		font-size: 13px !important;
		color: var(--color-brown-light);
	}
	.responsive .item_text > .item_value {
		margin: 2px 0 0;
	}
	/* the small grey lines in a grey that reads well on the light grey of an item (4.5:1) */
	.responsive div.item_box .item_text small {
		font-size: 13px;
		white-space: nowrap;
		color: var(--color-brown-light);
	}
	.responsive .item_text > :is(.item_actions, div:has(> form.item_sell)) {
		grid-column: 1 / -1;
	}
	/*
	 * the actions of an item as buttons_narrow on a phone: two equal columns over the width of the item, a single
	 * button (or a line of text, like the one about building a car part in) over the row, the same in every item; a
	 * long label (Gooi alle items weg) on two lines in the button
	 */
	.responsive .item_actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: 12px;
	}
	.responsive .item_actions:not(:has(*)) {
		display: none;
	}
	.responsive .item_actions > :not(a.btn_narrow),
	.responsive .item_actions > a.btn_narrow:only-of-type {
		grid-column: 1 / -1;
	}
	.responsive :is(.white_box, .black_box) .item_actions > a.btn_narrow {
		min-width: 0;
		padding: 2px 8px;
		line-height: 16px;
		white-space: normal;
	}
	/* a small phone: a smaller text and less padding, so a long label (Gooi alle items weg) stays on one line */
	@media (max-width: 359px) {
		.responsive :is(.white_box, .black_box) .item_actions > a.btn_narrow {
			padding: 2px 4px;
			font-size: 13px;
		}
	}
	/*
	 * the sell form (field_row_narrow) in the same two columns: the number and its unit in the first, Verkoop over the
	 * second; Verkoop alone (one item left to sell) over the row. The price per piece a small line below
	 */
	.responsive .item_text > div:has(> form.item_sell) {
		margin-top: 8px !important;
	}
	.responsive form.item_sell {
		margin-bottom: 0;
	}
	.responsive form.item_sell input {
		background-color: var(--color-white) !important;
	}
	.responsive :is(.white_box, .black_box) form.item_sell .btn {
		flex: 0 0 calc(50% - 4px);
		min-width: 0;
		padding: 0 6px;
	}
	.responsive :is(.white_box, .black_box) form.item_sell .btn:only-child {
		flex-basis: 100%;
	}
	.responsive div.item_box small.item_price {
		display: block;
		margin-top: 4px;
		font-size: 13px;
		white-space: nowrap;
		color: var(--color-brown-light);
	}
	@media (max-width: 479px) {
		.responsive div.item_box > span:first-child {
			width: 64px !important;
			height: 64px !important;
		}
	}
	@media (min-width: 720px) {
		.responsive .allitems {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			gap: 13px;
		}
		.responsive .allitems > div.item_box {
			margin: 0;
		}
	}

	/*
	 * items/catalog: the number (a field that takes the room, at least 56px), its unit (gram), Max (stone) and Koop (green)
	 * right after it in a row below the item (button_below_narrow), the field without the room below it of the fixed layout
	 */
	/*
	 * the name of an item bold in the colour of the text, the description below it in grey, as is the note that it goes
	 * in a car (a small line of 13px)
	 */
	.responsive #itemcatalog .item_name {
		font-weight: bold;
	}
	.responsive .white_box #itemcatalog .item_name {
		color: var(--color-brown);
	}
	.responsive #itemcatalog .item_note {
		display: block;
		margin-top: 2px;
		color: var(--color-brown-light);
		font-size: 13px;
		line-height: 1.3;
	}
	.responsive #itemcatalog br:has(+ .item_note) {
		display: none;
	}
	.responsive #itemcatalog input.buynumber {
		flex: 1 1 auto;
		min-width: 56px;
		margin-bottom: 0;
	}
	/*
	 * the result of buying (#ajax_message) a bar at the bottom of the screen, over the page and next to the button the
	 * player tapped: the stats bar with the cash is scrolled away, the top left corner of the fixed layout too
	 */
	.responsive #ajax_message {
		top: auto;
		right: 16px;
		bottom: 16px;
		left: 16px;
		width: auto;
		padding: 10px 12px;
		box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
	}
	/*
	 * a tablet: the form in a column of its own next to the price, below its label Kopen, at the top of the row as the
	 * other cells (not below the item)
	 */
	@media (min-width: 720px) {
		.responsive #itemcatalog tr.button_below_narrow > td {
			vertical-align: top;
		}
		.responsive #itemcatalog tr.button_below_narrow > td:not(:last-child) {
			padding-bottom: 8px;
		}
		.responsive #itemcatalog tr.button_below_narrow > td.buyitem {
			position: static;
			width: 1%;
			padding: 4px var(--cell-edge, 8px) 8px 12px;
		}
		.responsive #itemcatalog tr.button_below_narrow > td.buyitem > form.field_row_narrow {
			position: static;
			width: 280px;
		}
	}

	/*
	 * lottery/index: the number of tickets to buy in a field between its words that takes the room, the button next to it; the
	 * tables in colours that read well (their rows have a grey of their own), the column # narrow and centred, the
	 * link to a past lottery 40px high; the tickets 12px below the line above them, no table of tickets without tickets
	 */
	.responsive .lottery_buy {
		margin-top: 8px;
	}
	.responsive :is(.lottery_tickets, .lottery_history) > tbody > tr.row {
		color: inherit !important;
	}
	.responsive table.lottery_prizes {
		margin-bottom: 10px;
	}
	.responsive table.lottery_prizes :is(th, td):first-child {
		width: 1%;
		min-width: 32px;
		text-align: center;
	}
	.responsive table.lottery_history td {
		white-space: nowrap;
	}
	.responsive table.lottery_history td:last-child {
		text-align: right;
	}
	.responsive table.lottery_history td:last-child > a {
		display: inline-block;
		padding: 10px 4px;
		margin: -7px 0;
		line-height: 20px;
	}
	.responsive .black_box table.lottery_tickets {
		margin-top: 12px;
	}
	.responsive table.lottery_tickets:not(:has(tr.row)) {
		display: none;
	}
	/*
	 * a tablet: the past lotteries in the column at the right, below the tickets (a grid: the lottery and the tickets in
	 * the first row, the past lotteries and the form to buy in the rows below, each column as close as its boxes allow);
	 * that column at least 300px wide, the date of a past lottery on two lines, so its three columns fit
	 */
	@media (min-width: 720px) {
		.responsive .boxes.lottery_row {
			display: grid;
			grid-template-columns: minmax(0, 4fr) minmax(300px, 2fr);
			grid-template-rows: auto 1fr auto;
			align-items: start;
		}
		.responsive .boxes.lottery_row > .cols4 {
			display: contents;
		}
		.responsive .boxes.lottery_row > .cols4 > :first-child {
			grid-area: 1 / 1 / 3;
		}
		.responsive .boxes.lottery_row > .cols4 > :nth-child(2) {
			grid-area: 3 / 1;
		}
		.responsive .boxes.lottery_row > .right {
			grid-area: 1 / 2;
			margin-left: 0;
		}
		.responsive .boxes.lottery_row > .cols4 > .lottery_past {
			grid-area: 2 / 2 / 4;
		}
		.responsive .lottery_past table.lottery_history td:first-child {
			white-space: normal;
		}
	}

	/*
	 * marketplace/ad: Opslaan (a picture in the fixed layout) a button with its text; the link to put the ad on top
	 * again at the left, as the buttons above it
	 */
	.responsive :is(.white_box, .black_box) a.save.button.btn_narrow {
		float: none;
		width: auto;
		text-indent: 0;
	}
	.responsive :is(.white_box, .black_box) a.save.button.btn_narrow:is(:hover, :active) {
		margin: 0;
		background-image: var(--btn-narrow-images);
	}
	.responsive div:has(> a.save.button) {
		height: auto !important;
	}
	.responsive .ad_reactivate {
		margin-left: 0 !important;
	}
	/*
	 * the buttons and the link to put the ad on top (a green button, Weer bovenaan) read as one block: the link 8px below
	 * them over their width; on a tablet the buttons share one row and all of it is as wide as the rows above it
	 * (kv_wide_tablet)
	 */
	.responsive .ad_buttons + .ad_reactivate {
		width: auto;
		margin-top: 8px !important;
	}
	.responsive :is(.white_box, .black_box) .ad_reactivate > a.btn_narrow {
		display: flex;
		width: 100%;
	}
	@media (min-width: 720px) {
		.responsive .ad_buttons > :is(form, .greenbutton) {
			flex: 1 1 0;
		}
		.responsive .ad_buttons > :is(form, .greenbutton), .responsive .ad_buttons > form > .greenbutton {
			min-width: 0;
			width: 100%;
		}
	}
	/* marketplace/ad: the picture of what is offered (a power item, a car) above its figures, at its own size */
	.responsive img.ad_picture {
		display: block;
		float: none;
		margin: 0 0 12px;
		border-radius: 4px;
	}
	/*
	 * marketplace/new: when what is offered needs a second select (the poweritem, the item or the car), the first one
	 * takes the row and the second one goes next to Verder
	 */
	.responsive form.market_new > div[id^="selectbox_"]:not([style*="none"]) {
		display: contents !important;
	}
	.responsive form.market_new:has(> div[id^="selectbox_"]:not([style*="none"])) > div:first-of-type > select {
		flex-basis: 100%;
	}
	/*
	 * marketplace/new2: the parts of the form (a field, a field and its note) 16px apart; Klik hier (to place more ads) a
	 * small line right below the field of the number, as the note below Marktprijs and Startbod below theirs
	 */
	.responsive #adform .white_box > :is(div, .field_block_narrow):not(.clear, .buttons_narrow) {
		margin-top: 0 !important;
		margin-bottom: 16px !important;
		padding-top: 0;
		padding-bottom: 0;
	}
	.responsive #adform .white_box > .field_block_narrow:has(+ .clear + div > #show_number_of_ads) {
		margin-bottom: 4px !important;
	}
	.responsive #adform .white_box > div > .field_block_narrow {
		margin-bottom: 4px !important;
		padding: 0;
	}
	.responsive #adform .white_box .amount_narrow {
		margin-bottom: 0;
	}
	/*
	 * a tablet: its fields (the number, the price after a €) end on one line with its selects, 360px from the edge of the
	 * box, what follows a field (stuks, ,-) right after it (the € is about as wide as 1ch, the field after it has 2px at
	 * its sides)
	 */
	@media (min-width: 720px) {
		.responsive #adform .field_block_narrow .amount_narrow {
			max-width: none;
		}
		.responsive #adform .field_block_narrow .amount_narrow > input {
			flex: 0 1 360px;
		}
		.responsive #adform .field_block_narrow .pricetype_bank > input {
			flex-basis: calc(360px - 1ch - 10px);
		}
	}

	/*
	 * marketplace/index and group: the item takes the room that the player and the price leave (--grid); the labels on
	 * one line; the price at the right, on one line, with "Opbieden vanaf" as a small line above it
	 */
	.responsive .list_narrow.market_ads > .list_head > div.th > div {
		white-space: nowrap;
	}
	.responsive .market_ads > div.row > div:nth-child(3):not(:last-child) {
		text-align: right;
	}
	.responsive .market_ads .ad_price {
		white-space: nowrap;
	}
	.responsive .market_ads .bid_from {
		display: block;
		font-size: 12px;
		color: var(--color-brown-light);
	}
	/* marketplace/myads: the highest bid on one line, when it was made (op 5 mrt 2020) a small grey line below it */
	.responsive table.my_ads td > span.grey {
		display: block;
		font-size: 13px;
	}
	/* a tablet: two filters side by side, the third (Sorteren) its select over the rest of the row below them */
	@media (min-width: 720px) {
		.responsive .market_filters > select:last-of-type {
			grid-column: span 3;
		}
	}

	/* membership/index: each way to extend a membership its text with Verleng at its right, 12px apart */
	.responsive .membership_prolong {
		margin-top: 12px !important;
	}
	.responsive .membership_prolong > div {
		flex: none;
		margin-top: 0 !important;
	}
	/* membership/index: the benefits of a membership at the left edge of the box, as its text */
	.responsive ul.benefits > li {
		margin-left: 0;
	}
	/* members/index: on a phone the rank a small line below the name, in line with the name (after the picture and the online dot) */
	@media (max-width: 719px) {
		.responsive span.member_rank {
			display: block !important;
			margin-top: 2px;
			padding-left: 36px;
			color: var(--color-brown-light);
			font-size: 13px;
		}
	}

	/* members/index: the field to go to a page at the left, as the table, and not wider than a page number needs */
	.responsive .members_goto {
		width: auto !important;
		margin: 16px 0 0 !important;
		text-align: left !important;
		white-space: nowrap;
	}
	.responsive .members_goto input {
		flex: 0 1 120px !important;
	}

	/* members (index, online, search): the overlay next to a player over the width of the box, the arrow at the right */
	.responsive .overlay_narrow {
		left: 0 !important;
		right: 60px !important;
		width: auto;
		height: auto;
	}
	.responsive .overlay_narrow div.overlay {
		padding-right: 20px;
	}
	.responsive .overlay_narrow a.button {
		height: auto;
		max-width: 100%;
		box-sizing: border-box;
		margin-bottom: 6px;
	}

	/*
	 * messages/read: a message on a page of its own (the inbox opens it in its own box) in a white box (the div.message_page
	 * the fixed layout ignores; greenbutton.css draws its buttons as in a box); Bewaar, Dit is niet OK and Blokkeer small
	 * stone buttons (btn_narrow btn_alt_narrow) in a row, 8px apart, 16px above the subject
	 */
	.responsive .message_page {
		margin-bottom: 10px;
		padding: 15px;
		border-radius: var(--radius-box);
		background: var(--background-white-box);
		color: var(--color-brown);
	}
	.responsive .message_page > div.buttons {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-bottom: 16px;
	}
	.responsive .message_page > div.buttons > a.btn_narrow {
		min-height: 36px;
		padding: 0 12px;
		font-size: 13px;
	}
	/*
	 * the subject of a message (a div of 22pt: messages/read, messages/read_from_outbox, alerts/read) as a heading, Van
	 * and Verstuurd below it at the left edge, in line with it
	 */
	.responsive :is(.message_page, .white_box) div[style^="font-size:22pt"] {
		height: auto !important;
		margin-bottom: 4px;
		color: var(--color-brown-light);
		font-family: 'Ubuntu Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;
		font-size: 22px !important;
		font-weight: bold;
		line-height: 1.15;
		overflow-wrap: anywhere;
		text-wrap: balance;
	}
	@media (min-width: 720px) {
		.responsive :is(.message_page, .white_box) div[style^="font-size:22pt"] {
			font-size: 24px !important;
		}
	}
	.responsive :is(.message_page, .white_box) div[style^="font-size:22pt"] + table td:first-child {
		padding-left: 0;
	}
	/* the reply below it: one line of 40px (the 120px of a text field once it is tapped, js grows it to 100px) */
	.responsive textarea#reply_body {
		min-height: 40px;
		padding: 8px 10px !important;
	}
	.responsive textarea#reply_body:is(:focus, [style*="height: 100px"]) {
		min-height: 120px;
	}
	/*
	 * messages (inbox, archived): the line with the tools for the selected messages (.inbox_tools) leaves no room while
	 * they are hidden and it has no other link
	 */
	.responsive div.inbox_tools:has(> #tools:is([style*="display:none"], [style*="display: none"])):not(:has(> a)) {
		display: none;
	}
	/*
	 * messages/inbox: Verwijder geselecteerde berichten (in #tools, shown once a message is selected) and Verwijder alle
	 * AutoMessages as buttons in a row (buttons_narrow) at the top of the box, the one for the selection first; one alone takes
	 * the row (messages/archived has only the first)
	 */
	.responsive .inbox_tools {
		margin-top: 0 !important;
		margin-bottom: 10px;
	}
	.responsive .inbox_tools > #tools:not([style*="none"]) {
		display: contents !important;
	}
	.responsive .inbox_tools > #tools > a.btn_narrow {
		margin: 0;
	}
	/* their long labels wrap on a phone: room above and below the lines */
	.responsive .inbox_tools a.btn_narrow {
		padding: 6px 10px;
	}
	@media (max-width: 719px) {
		.responsive .inbox_tools > #tools > a.btn_narrow {
			min-width: 0;
			width: 100%;
		}
		.responsive .inbox_tools:not(:has(> a)) > #tools > a.btn_narrow {
			grid-column: 1 / -1;
		}
		.responsive .inbox_tools:has(> #tools:not([style*="none"])) > a.btn_narrow {
			grid-column: auto;
		}
	}
	/* the message, scrolled to on a phone once it is loaded (js/messages/fullinbox.js), keeps a little room above it */
	.responsive :is(.white_box, .black_box)#message {
		scroll-margin-top: 8px;
	}
	/*
	 * the messages (table.mail_list): the column of the checkboxes as narrow as they are, the one of the header at
	 * the left above them, as far from the edge
	 */
	@media (min-width: 720px) {
		.responsive :is(.white_box, .black_box) table.mail_list > tbody > tr > th:first-child {
			width: 1%;
		}
	}
	.responsive table.mail_list td.select {
		white-space: nowrap;
	}
	/* an empty list: no empty label above the column of the icons */
	.responsive table.mail_list:not(:has(> tbody > tr.row > td:not([colspan]))) > tbody > tr > th:first-child {
		display: none;
	}
	/* the icon of a message keeps its size in that narrow column (max-width: 100% would shrink it to a dot) */
	.responsive :is(.white_box, .black_box) table.mail_list td > img {
		max-width: none;
	}
	.responsive table.mail_list th:first-child > div:has(> input[type="checkbox"]) {
		justify-content: flex-start;
	}
	.responsive :is(.white_box, .black_box) table.mail_list th:first-child > div > input {
		margin: 0 2px !important;
	}
	@media (max-width: 719px) {
		.responsive table.mail_list th:first-child > div {
			padding-left: 4px;
		}
	}
	/*
	 * the messages (table.mail_list: messages/inbox, messages/archived, messages/outbox, messages/search): on a phone a message is the subject with the date at
	 * the right, below it the player in a smaller text, the checkbox and the icon at the left of both
	 */
	@media (max-width: 719px) {
		.responsive table.mail_list, .responsive table.mail_list > tbody {
			display: block;
		}
		.responsive table.mail_list > tbody > tr {
			display: grid;
			grid-template-columns: 48px minmax(0, 1fr) auto;
			align-items: center;
			column-gap: 8px;
		}
		.responsive table.mail_list > tbody > tr.row {
			padding: 8px 0;
		}
		/* the labels of the head (the checkbox and Onderwerp) as high as each other */
		.responsive table.mail_list > tbody > tr:first-child {
			align-items: stretch;
		}
		.responsive table.mail_list > tbody > tr > :is(th, td) {
			width: auto;
			height: auto;
			padding: 0;
		}
		.responsive table.mail_list > tbody > tr > th:nth-child(2) {
			display: none;
		}
		.responsive table.mail_list > tbody > tr > th:nth-child(3) {
			grid-column: 2 / -1;
		}
		/*
		 * messages/outbox: the column of the icons (td.fit_narrow) as narrow as an icon; the head as on a tablet: an empty
		 * label above the icons, Onderwerp above the subjects and Datum above the dates, 8px from the edge as its text
		 */
		.responsive table.mail_list:has(> tbody > tr.row > td.fit_narrow:first-child) > tbody > tr {
			grid-template-columns: 18px minmax(0, 1fr) auto;
		}
		.responsive table.mail_list:has(> tbody > tr.row > td.fit_narrow:first-child) > tbody > tr > th:is(:first-child, :nth-child(4)) {
			display: block;
			width: auto;
		}
		.responsive table.mail_list:has(> tbody > tr.row > td.fit_narrow:first-child) > tbody > tr > th:nth-child(3) {
			grid-column: 2;
		}
		.responsive table.mail_list:has(> tbody > tr.row > td.fit_narrow:first-child) > tbody > tr > th:nth-child(4) {
			grid-column: 3;
		}
		.responsive table.mail_list:has(> tbody > tr.row > td.fit_narrow:first-child) > tbody > tr.row > td:nth-child(4) {
			padding-right: 8px;
		}
		/* without a checkbox to select all (messages/search) no empty label: Onderwerp over the row */
		.responsive table.mail_list > tbody > tr > th:first-child:not(:has(input)) {
			display: none;
		}
		.responsive table.mail_list > tbody > tr > th:first-child:not(:has(input)) ~ th:nth-child(3) {
			grid-column: 1 / -1;
		}
		.responsive table.mail_list > tbody > tr > th:nth-child(4) {
			display: none;
		}
		.responsive table.mail_list > tbody > tr.row > td:first-child:not(:only-child) {
			grid-row: 1 / span 2;
			padding-left: 4px;
		}
		.responsive table.mail_list > tbody > tr.row > td:nth-child(2) {
			grid-column: 2 / -1;
			grid-row: 2;
			font-size: 13px;
		}
		.responsive table.mail_list > tbody > tr.row > td:nth-child(3) {
			grid-column: 2;
			grid-row: 1;
			overflow-wrap: anywhere;
		}
		.responsive table.mail_list > tbody > tr.row > td:nth-child(4) {
			grid-column: 3;
			grid-row: 1;
			padding-right: 4px;
			font-size: 13px;
			white-space: nowrap;
		}
		.responsive table.mail_list > tbody > tr.row > td:only-child {
			grid-column: 1 / -1;
		}
		/* messages/archived: the checkbox and the icon in cells of their own, side by side in the room of the first column */
		.responsive table.mail_list > tbody > tr.row:has(> td:nth-child(5)) {
			grid-template-columns: 24px 16px minmax(0, 1fr) auto;
		}
		.responsive table.mail_list > tbody > tr.row:has(> td:nth-child(5)) > td:nth-child(2) {
			grid-column: 2;
			grid-row: 1 / span 2;
			font-size: inherit;
		}
		.responsive table.mail_list > tbody > tr.row:has(> td:nth-child(5)) > td:nth-child(3) {
			grid-column: 3 / -1;
			grid-row: 2;
			font-size: 13px;
		}
		.responsive table.mail_list > tbody > tr.row:has(> td:nth-child(5)) > td:nth-child(4) {
			grid-column: 3;
			grid-row: 1;
			padding-right: 0;
			font-size: inherit;
			white-space: normal;
			overflow-wrap: anywhere;
		}
		.responsive table.mail_list > tbody > tr.row > td:nth-child(5) {
			grid-column: 4;
			grid-row: 1;
			padding-right: 4px;
			font-size: 13px;
			white-space: nowrap;
		}
	}
	/*
	 * messages/search: each choice (a radio button and its label) a row of 40px, its field over the width of the box
	 * below it; Zoeken after the last field
	 */
	.responsive form.message_search > div {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		height: auto !important;
		margin-bottom: 2px !important;
	}
	.responsive :is(.white_box, .black_box) form.message_search > div > label {
		display: contents;
	}
	.responsive :is(.white_box, .black_box) form.message_search input[type="radio"] {
		margin: 10px 8px 10px 0;
	}
	.responsive form.message_search input[type="text"] {
		flex: 0 0 100%;
		width: 100% !important;
	}
	.responsive form.message_search > .buttons_narrow {
		margin-top: 10px !important;
	}
	/* a tablet: the fields and Zoeken no wider than 360px, so the form has one right edge */
	@media (min-width: 720px) {
		.responsive form.message_search input[type="text"] {
			flex-basis: 360px;
			margin-right: calc(100% - 360px) !important;
		}
		.responsive form.message_search > .buttons_narrow > .greenbutton {
			width: 360px;
		}
	}
	/* messages/new: 14px between the heading and the form (an inline form, after a <style> of layout/formerrors.tpl) */
	.responsive :is(.white_box, .black_box) h2:has(+ style + form > table.form_narrow) {
		margin-bottom: 14px;
	}
	/* messages/new: the text of a message at least 200px high */
	.responsive textarea.message_body {
		min-height: 200px;
	}

	/* messages/notes: a note shows a long word on more lines, and grows with them */
	.responsive .note_narrow {
		overflow-wrap: anywhere;
		height: auto !important;
		min-height: 140px;
	}
	.responsive .note_narrow > table {
		width: 100%;
		table-layout: fixed;
	}

	/*
	 * oc/index and oc/new: how many oc's were accepted or started today a small grey line below the heading; on a tablet
	 * at the right of the heading, on its baseline (oc/index, whose box is positioned)
	 */
	.responsive .white_box .oc_counter {
		margin: -2px 0 12px;
		color: var(--color-brown-light);
		font-size: 13px;
		line-height: 1.4;
	}
	@media (min-width: 720px) {
		.responsive :is(.white_box, .black_box)[style*="position:relative"] > .oc_counter {
			position: absolute !important;
			top: 22px !important;
			left: auto !important;
			right: 15px;
			width: auto !important;
			margin: 0;
		}
	}
	/* oc/new2: on a phone the picture of the oc above its text, at its own size */
	@media (max-width: 719px) {
		.responsive img.oc_type_image {
			display: block;
			float: none;
			margin: 0 0 12px !important;
		}
	}
	/* a tablet: the fields to start the oc (form_narrow) up to 480px wide, as the box over the row has the room */
	@media (min-width: 720px) {
		.responsive :is(.white_box, .black_box) table.form_narrow.oc_start input:not([type="checkbox"], [type="radio"], [type="hidden"]) {
			max-width: 480px;
		}
	}
	/* oc/show: the shoutbox's field over the width of the box */
	.responsive textarea[name="oc_message"] {
		display: block;
		width: 100% !important;
		margin-bottom: 10px;
	}
	/* below the field no empty line (the <br> after it), the note about the updates 8px below the button */
	.responsive textarea[name="oc_message"] + br {
		display: none;
	}
	.responsive form:has(> textarea[name="oc_message"]) > small:last-of-type {
		margin-top: 8px;
	}
	/* the field 12px below the messages; the checkbox to send it as a message too on a line of its own, the button below */
	.responsive textarea[name="oc_message"] {
		margin-top: 12px;
	}
	.responsive .oc_message_send {
		display: flex;
		align-items: center;
		margin: -4px 0 6px;
	}
	/* the payout: on a phone the two to exclude (Niemand uitsluiten) one below the other, a tablet has room for them side by side */
	@media (max-width: 719px) {
		.responsive form.oc_payout .field_block_narrow span:has(> select + select) {
			flex-direction: column;
			align-items: stretch;
			gap: 8px;
		}
		.responsive form.oc_payout .field_block_narrow span:has(> select + select) > select {
			width: 100% !important;
		}
	}
	/* the car of a driver below its label, 12px below the text; the buttons to accept or refuse 12px below it */
	.responsive .field_block_narrow.oc_car {
		padding: 12px 0 0;
	}
	/*
	 * the row to bring an item (tr.oc_add_item without a line below it, a cell over the columns with a field_row_narrow):
	 * the number 80px wide; on a phone the select on a line of its own above them, the number takes the rest of the row
	 * and the button is as wide as its text (at least 140px), as in any field_row_narrow
	 */
	.responsive :is(.white_box, .black_box) tr.oc_add_item > td {
		padding: 12px 0 0;
	}
	.responsive tr.oc_add_item .field_row_narrow {
		margin-bottom: 0;
	}
	.responsive tr.oc_add_item .field_row_narrow > input {
		flex: none;
		width: 80px !important;
		text-align: center;
	}
	@media (max-width: 719px) {
		.responsive tr.oc_add_item .field_row_narrow {
			flex-wrap: wrap;
		}
		.responsive tr.oc_add_item .field_row_narrow > select {
			flex-basis: 100%;
		}
		.responsive tr.oc_add_item .field_row_narrow > input {
			flex: 1 1 0;
			width: auto !important;
		}
		.responsive tr.oc_add_item .field_row_narrow > .greenbutton {
			min-width: 140px;
		}
	}
	/* the shoutbox: Toevoegen right below the field, as any lone button (buttons_narrow) */
	.responsive .buttons_narrow.oc_shout_send {
		margin-top: 0 !important;
	}
	.responsive .buttons_narrow.oc_shout_send + br {
		display: none;
	}
	/*
	 * the row of the two columns of boxes (the members; the result, the payout, the answer, the items and the cars) and
	 * the shoutbox: on a phone the shoutbox last, so the boxes to act on follow the members; on a tablet both columns
	 * one below the other at the left and the shoutbox next to them (a grid: the members in the first row, the rest in
	 * the second, which takes what the shoutbox needs beyond the first)
	 */
	.responsive .boxes.oc_show > .oc_shoutbox {
		order: 1;
	}
	@media (min-width: 720px) {
		.responsive .boxes.oc_show {
			display: grid;
			grid-template-columns: minmax(0, 4fr) minmax(0, 2fr);
			grid-template-rows: auto 1fr;
		}
		.responsive .boxes.oc_show > .cols4 {
			grid-column: 1;
		}
		.responsive .boxes.oc_show > .oc_shoutbox {
			grid-column: 2;
			grid-row: 1 / 3;
		}
	}

	/*
	 * paasactie/index: a table with a button in each cell, columns of the same width, the buttons fill their cell with a
	 * smaller text that wraps; the lines of the rows unbroken, none below the row of pictures (the eggs), 24px between
	 * two of these tables
	 */
	.responsive table.fit_buttons_narrow {
		table-layout: fixed;
		border-collapse: collapse;
	}
	.responsive table.fit_buttons_narrow tr.row:has(img) {
		background: none;
	}
	.responsive table.fit_buttons_narrow + table.fit_buttons_narrow {
		margin-top: 24px;
	}
	.responsive :is(.white_box, .black_box) table.fit_buttons_narrow tr:has(.greenbutton) > td {
		padding-top: 8px;
	}
	/*
	 * a few px between the cells, 6px above and below their text, a word that does not fit its column (vliegtickets) breaks;
	 * on a phone the text 14px and the column of the labels (Per 10) narrower, so the eggs get the room
	 */
	.responsive :is(.white_box, .black_box) table.fit_buttons_narrow td {
		padding: 6px 3px;
	}
	/* a tablet: the column of the labels as narrow as its longest label (Beloning per 10), the others share the rest */
	@media (min-width: 720px) {
		.responsive table.fit_buttons_narrow {
			table-layout: auto;
		}
		.responsive table.fit_buttons_narrow td:first-child {
			width: 1%;
			white-space: nowrap;
		}
		.responsive table.fit_buttons_narrow tr:first-child > td:not(:first-child) {
			width: 33%;
		}
	}
	@media (max-width: 719px) {
		.responsive table.fit_buttons_narrow td {
			font-size: 14px;
		}
		.responsive table.fit_buttons_narrow tr:first-child > td:first-child {
			width: 22%;
		}
	}
	/*
	 * a small phone: the labels of the rows (Aantal, Beloning per 10) a caption above the row, so the eggs get the width
	 * (the column of the labels has none, its label runs over the row)
	 */
	@media (max-width: 359px) {
		.responsive table.fit_buttons_narrow tr:first-child > td:first-child {
			width: 0;
		}
		.responsive :is(.white_box, .black_box) table.fit_buttons_narrow td:first-child {
			padding: 0;
			white-space: nowrap;
			vertical-align: top;
		}
		.responsive :is(.white_box, .black_box) table.fit_buttons_narrow td:first-child:not(:empty) {
			padding-top: 6px;
			font-size: 13px;
			line-height: 1.4;
			text-indent: 5px;
		}
		.responsive .black_box table.fit_buttons_narrow td:first-child:not(:empty) {
			color: var(--color-taupe);
		}
		.responsive :is(.white_box, .black_box) table.fit_buttons_narrow tr:has(> td:first-child:not(:empty)) > td:not(:first-child) {
			padding-top: 26px;
		}
	}
	/* a tablet: the eggs, their numbers and rewards in the middle of their columns, the buttons as wide as the eggs */
	@media (min-width: 720px) {
		.responsive :is(.white_box, .black_box) table.fit_buttons_narrow td:not(:first-child) {
			text-align: center;
		}
		.responsive table.fit_buttons_narrow .greenbutton {
			max-width: 80px;
		}
	}
	.responsive table.fit_buttons_narrow .greenbutton {
		min-width: 0;
		width: 100%;
		height: auto;
		min-height: 40px;
		padding: 4px 2px;
		font-size: 12px;
		line-height: 16px;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	/*
	 * profile/view: the three blocks of figures (div.box) with room at their sides, a label and its value at the two
	 * ends of a line, the labels pale enough to read; on a tablet the blocks side by side, as high as each other
	 */
	/*
	 * the name first, the picture of the player (an icon of 14px, the background) twice as large and centred with it;
	 * below it Laatst online (positioned at the top right in the fixed layout) as a small grey line, in line with the name
	 */
	.responsive .profile_head {
		display: flex;
		flex-direction: column;
	}
	.responsive .profile_name {
		display: flex;
		align-items: center;
		min-height: 32px;
		padding-left: 38px !important;
		background-position: 0 50% !important;
		background-size: 28px 28px;
		image-rendering: pixelated;
	}
	.responsive .profile_name > h2 {
		margin: 0;
	}
	/* an icon with a hat is 14x18 (Usericon): scaled like the 14x14 one, without squashing it */
	.responsive .profile_name_hat {
		min-height: 36px;
		background-size: 28px 36px;
	}
	.responsive .profile_online {
		order: 1;
		margin: 0 0 4px 38px;
		color: var(--color-brown-light);
		font-size: 13px;
	}
	.responsive .profile_online > img {
		vertical-align: 1px;
		margin-right: 2px;
	}
	/* a block: its icon at the left of its title (which the fixed layout leaves out), then the rows */
	.responsive .profile_stats > div.box {
		box-sizing: border-box;
		margin-top: 10px;
		padding: 10px 12px;
		color: var(--color-taupe);
	}
	.responsive .profile_stats > div.box > img.icon {
		position: static;
		width: 16px !important;
		height: 16px !important;
		margin-right: 8px;
		object-fit: none;
		vertical-align: -2px;
	}
	.responsive .profile_stats > div.box > img.icon[src*="/hat/"] {
		height: 20px !important;
	}
	.responsive .profile_stats_title {
		color: var(--color-sand);
		font-weight: bold;
	}
	.responsive .profile_stats > div.box > .profile_stats_title + div.clear {
		margin-top: 6px;
		padding-top: 6px !important;
		border-top: 1px solid rgb(255 255 255 / 10%);
	}
	.responsive .profile_stats > div.box > div.clear {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 10px;
		height: auto !important;
		padding: 2px 0;
	}
	.responsive .profile_stats > div.box > div.clear > div {
		float: none !important;
	}
	.responsive .profile_stats > div.box > div.clear::after {
		content: none;
	}
	.responsive .profile_stats div.box div.v, .responsive .profile_stats div.box div.v a {
		color: var(--color-sand);
		text-align: right;
	}
	@media (min-width: 720px) {
		.responsive .profile_stats {
			display: flex;
			gap: 13px;
		}
		.responsive .profile_stats > div.box {
			flex: 1 1 0;
			min-width: 0;
			width: auto !important;
		}
	}
	/* the badges: one line each, the date small at the right; the line about the badges that are left readable */
	.responsive .profile_badge {
		grid-template-columns: max-content minmax(0, 1fr) auto !important;
		align-items: baseline;
		column-gap: 8px;
		padding: 6px 0;
		margin-bottom: 0 !important;
		border-bottom: 1px solid rgb(255 255 255 / 10%);
	}
	.responsive .profile_badge > img {
		align-self: center;
		margin: 0 !important;
	}
	.responsive .profile_badge > div:empty {
		display: none;
	}
	.responsive .profile_badge_date {
		color: var(--color-taupe);
		font-size: 13px;
		white-space: nowrap;
	}
	.responsive .profile_badges_more {
		padding: 8px 0 0 !important;
		color: var(--color-taupe) !important;
		font-size: 13px !important;
	}
	/* a tablet: the badges in two columns (as specific as the box in a stacked cell, which is display: flow-root) */
	@media (min-width: 720px) {
		.responsive table.stack > tbody > tr > td > .black_box:has(> .profile_badge),
		.responsive .black_box:has(> .profile_badge) {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			column-gap: 26px;
			align-content: start;
		}
		.responsive .black_box:has(> .profile_badge) > :not(.profile_badge) {
			grid-column: 1 / -1;
		}
	}
	/*
	 * the buttons (green buttons with an icon before their text, as in the fixed layout: profile/view.css): 40px high,
	 * on a phone in two equal columns (an odd last one over the row), on a tablet a row of buttons 8px apart, each as
	 * wide as its text and at least 140px (as buttons_narrow)
	 */
	.responsive .profile_buttons ul {
		display: grid;
		flex: 1 1 auto;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin: 0;
		padding: 0;
	}
	.responsive .profile_buttons li {
		min-width: 0;
		margin: 0;
	}
	.responsive .profile_buttons li:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
	@media (min-width: 720px) {
		.responsive .profile_buttons ul {
			display: flex;
			flex-wrap: wrap;
		}
		.responsive .profile_buttons li {
			min-width: 140px;
		}
		/* the buttons of an admin after a break over the row (an empty item of the full width), 12px below the others */
		.responsive .profile_buttons ul:has(> li.profile_admin)::after {
			content: '';
			flex-basis: 100%;
			order: 1;
		}
		.responsive .profile_buttons ul > li.profile_admin {
			order: 2;
			margin-top: -4px;
		}
	}
	/*
	 * as wide as its column (a.btn_narrow is inline-flex); 8px at the sides, so Stuur bericht with its icon stays on
	 * one line in a column of a phone of 320px
	 */
	.responsive :is(.white_box, .black_box) .profile_buttons a.button {
		display: flex;
		height: auto;
		padding: 0 8px;
	}
	/* the buttons of an admin (Backend, Leeg maken: stone, btn_alt_narrow) in a row of their own, 12px below the others */
	.responsive .profile_buttons li.profile_admin {
		margin-top: 4px;
	}
	.responsive .profile_buttons li:not(.profile_admin) + li.profile_admin {
		grid-column-start: 1;
	}
	.responsive .profile_buttons li.profile_admin + li.profile_admin:last-child {
		grid-column: auto;
	}
	@media (max-width: 719px) {
		.responsive .profile_buttons li:not(.profile_admin):nth-child(odd):has(+ li.profile_admin) {
			grid-column: 1 / -1;
		}
	}

	/*
	 * prison/index and airport/wait, the screens to wait on: on a phone the picture (the handcuffs, the globe) of 88px
	 * at the left, the title and the time to wait next to it, the buttons below them over the width of the box; from
	 * 720px the picture (160px) in a row with the text; the title a heading as the h2 of a box, the time to wait in body
	 * text with the time in bold; skipping the wait and breaking out as green buttons (on a tablet as wide as each
	 * other); what you can do as two columns of rows of 40px to tap (no underline, a chevron at the right, a line
	 * between the rows), each column in its order, 16px below the text (on a tablet over the width of the box, below
	 * the picture and the text), its heading at the left as the title
	 */
	.responsive .wait_head {
		display: flow-root;
	}
	.responsive .wait_picture {
		float: none !important;
		width: 120px !important;
		height: auto !important;
		margin: 0 auto 8px;
	}
	.responsive .wait_picture > img {
		display: block;
		width: 100%;
	}
	.responsive .wait_text {
		float: none !important;
		margin-top: 0 !important;
	}
	.responsive .wait_title {
		margin: 4px 0 8px;
		color: var(--color-brown-light);
		font-family: 'Ubuntu Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;
		font-size: 22px !important;
		font-weight: bold;
		line-height: 1.15;
		overflow-wrap: anywhere;
	}
	.responsive .white_box .wait_text > div.grey {
		color: inherit !important;
		font-size: 16px !important;
	}
	.responsive .wait_text #waittime {
		font-size: inherit !important;
		font-weight: bold;
	}
	.responsive .wait_action {
		clear: both;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px;
		margin-top: 10px !important;
	}
	.responsive .wait_action > div {
		margin: 0 !important;
	}
	/* a block, not flex, so the spaces around the number of credits (a span) stay */
	.responsive :is(.white_box, .black_box) .wait_action > a.btn_narrow {
		display: inline-block;
		line-height: 38px;
		text-align: center;
	}
	@media (max-width: 719px) {
		.responsive .wait_head {
			display: grid;
			grid-template-columns: 88px minmax(0, 1fr);
			align-items: center;
			column-gap: 16px;
		}
		.responsive .wait_picture {
			grid-row: 1 / span 2;
			width: 88px !important;
			margin: 0;
		}
		.responsive .wait_text {
			display: contents;
		}
		.responsive .wait_head > .clear {
			display: none;
		}
		.responsive .wait_title {
			align-self: end;
			margin: 0 0 4px;
		}
		.responsive .white_box .wait_text > div.grey {
			align-self: start;
		}
		.responsive .wait_action {
			grid-column: 1 / -1;
			margin-top: 12px !important;
		}
		.responsive .wait_action > a.btn_narrow {
			flex: 1 1 100%;
		}
	}
	@media (min-width: 720px) {
		.responsive .wait_head {
			display: flex;
			align-items: center;
			gap: 24px;
		}
		.responsive .wait_picture {
			flex: none;
			width: 160px !important;
			margin: 0;
		}
		.responsive .wait_text {
			flex: 1 1 auto;
			min-width: 0;
		}
		.responsive .wait_head > .clear {
			display: none;
		}
		.responsive .wait_title {
			font-size: 24px !important;
		}
		.responsive .white_box .wait_text > div.grey {
			font-size: 17px !important;
		}
		.responsive :is(.white_box, .black_box) .wait_action > a.btn_narrow {
			width: 320px;
			max-width: 100%;
		}
	}
	.responsive .wait_links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 13px;
		max-width: 520px;
		margin-top: 16px;
	}
	.responsive .wait_links > div {
		float: none !important;
		width: auto !important;
	}
	.responsive .wait_links > div:first-child {
		grid-column: 1 / -1;
		margin-bottom: 4px;
		font-size: 16px !important;
		font-weight: bold;
	}
	.responsive .wait_links > div > br {
		display: none;
	}
	.responsive .wait_links > div > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		min-height: 40px;
		border-bottom: 1px solid rgb(0 0 0 / 8%);
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive .wait_links > div > a::after {
		content: '';
		flex: none;
		width: 8px;
		height: 14px;
		margin-right: 4px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='14' viewBox='0 0 8 14'%3E%3Cpath d='M1.5 1.5 6.5 7l-5 5.5' fill='none' stroke='%235c5b57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
	}
	.responsive .wait_links > div > a:active {
		background-color: rgb(0 0 0 / 6%);
	}
	.responsive .wait_links > div > a:last-of-type {
		border-bottom: none;
	}
	/* a tablet: the links over the width of the box below the picture and the text, 24px below them, as far as they are apart */
	@media (min-width: 720px) {
		.responsive .wait_links {
			max-width: none;
			margin-top: 24px;
		}
	}

	/*
	 * protection/index: the picture (200x133, the background) above the text, 12px apart: on a phone over the width of
	 * the box, on a tablet 360px wide in the middle
	 */
	.responsive .protection {
		height: auto;
		padding: calc(100% * 133 / 200 + 12px) 0 0;
		background-position: 50% 0;
		background-size: 100% auto;
	}
	@media (min-width: 720px) {
		.responsive .protection {
			padding-top: calc(360px * 133 / 200 + 12px);
			background-size: 360px auto;
		}
	}
	.responsive .protection table {
		border-spacing: 0 4px;
	}
	.responsive .protection td {
		padding: 0 8px 0 0;
	}

	/*
	 * roulette/index: the board (at most its own size, the width of the box on a phone) in the middle, what to do and the bet
	 * below it; on a tablet what to do and the bet next to it, the two in the middle of the box; the quick stakes on a row
	 * of their own over the width of the form, as high as the other buttons
	 */
	.responsive .roulette_table {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.responsive .roulette_table > div {
		float: none !important;
		flex: none;
	}
	.responsive .roulette_table > #roulette_play {
		box-sizing: border-box;
		width: 100% !important;
		margin: 12px 0 0 !important;
	}
	@media (min-width: 720px) {
		.responsive .roulette_table {
			flex-direction: row;
			justify-content: center;
			align-items: flex-start;
		}
		.responsive .roulette_table > #roulette_play {
			flex: 0 1 420px;
			min-width: 0;
			margin: 0 0 0 24px !important;
		}
	}
	.responsive .field_buttons_narrow > .roulette_stakes {
		flex: 1 1 100%;
		margin: 0;
	}
	.responsive .roulette_stakes button {
		flex: 1 0 auto;
		height: 40px;
	}

	/*
	 * route66/index: the text of the intro a little further apart; on a phone the wait timer at the top of the intro
	 * with a clock of 40px, the sign of 60px next to the heading; the open heists without the column of the role on a
	 * phone (a small line below the partner instead, line_phone), the time on one line; the requirements with icons of
	 * 16px, as in the other lists
	 */
	.responsive .route66_intro {
		line-height: 1.45;
	}
	@media (max-width: 719px) {
		/* the parts of the box in a row that wraps: the timer first, the heading and the sign, then the text (div.route66_text) over the row */
		.responsive .white_box.route66_intro {
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			column-gap: 12px;
		}
		.responsive .route66_intro > h2 {
			flex: 1 1 0;
		}
		.responsive .route66_intro img.route66_sign {
			order: 1;
			width: 60px;
			margin: 0;
		}
		.responsive .route66_intro > h2 ~ :not(img) {
			flex: 1 1 100%;
			order: 2;
		}
		.responsive :is(.white_box, .black_box).route66_intro > div[style*="clock_64.png"] {
			order: -1;
			min-height: 40px;
			margin: 0 0 12px !important;
			padding: 0 0 0 52px !important;
			background-size: 40px 40px;
			background-position: left top;
		}
	}
	.responsive table.route66_heists td.r {
		white-space: nowrap;
	}
	/* a small phone: the time on two lines, so the partner and the status keep their room */
	@media (max-width: 359px) {
		.responsive table.route66_heists td.r {
			white-space: normal;
		}
	}
	/* the pictures of the partner keep their size, so his column has room for his name (max-width: 100% does not count them) */
	.responsive table.route66_heists a.usr > img {
		max-width: none;
	}
	.responsive .route66_req :is(div.accept, div.cross) {
		background-position: 0 4px;
		padding-left: 24px;
	}
	.responsive .route66_req div.accept {
		background-image: url('../images/icons/accept.png');
	}
	.responsive .route66_req div.cross {
		background-image: url('../images/icons/cross.png');
	}
	/* the line above the toplist (12pt) a bold label of 16px */
	.responsive .route66_caption {
		font-size: 16px !important;
		line-height: 1.3;
	}
	/* Accepteer a button, what it costs a small line below it */
	.responsive small.route66_price {
		display: block;
		margin-top: 4px;
	}
	/* the requirements in line with the text, the box ends below them as below any text */
	.responsive .route66_req {
		padding-left: 0 !important;
		margin: 16px 0 0 !important;
	}
	/* a phone: what the player can do (start a heist, or the open heists) above the explanation */
	@media (max-width: 719px) {
		.responsive .route66 > .cols4 {
			display: flex;
			flex-direction: column;
		}
		.responsive .route66 > .cols4 > .route66_intro ~ * {
			order: -1;
		}
	}
	/* the notes in small text with lines as close as their text needs (the line height of a block is that of its larger text) */
	.responsive .route66 small {
		display: inline-block;
		line-height: 1.35;
	}

	/*
	 * stats (index, week, month, totals): the lists (div.statsdiv.full_narrow.grow_narrow) one below the other, on a tablet in a grid
	 * of columns of at least 220px; the header of a list as wide as the lines of its rows
	 */
	.responsive div.statsdiv.grow_narrow {
		margin-bottom: 16px;
	}
	.responsive div.statsdiv.grow_narrow th {
		padding-left: 0;
		padding-right: 0;
	}
	/* the line below the lists follows the last one at the same distance (no <br> before it) */
	.responsive div.statsdiv.grow_narrow ~ br {
		display: none;
	}
	/*
	 * a tablet: 16px between the rows of the grid instead of below each list, so the box ends at its padding; what is not
	 * a list takes the row (the clearing <div>s and <br>s are left out, they would add a row gap)
	 */
	@media (min-width: 720px) {
		.responsive :is(.white_box, .black_box):has(> div.statsdiv.grow_narrow) {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
			gap: 16px 13px;
			align-items: start;
		}
		.responsive :is(.white_box, .black_box):has(> div.statsdiv.grow_narrow) > :not(div.statsdiv.grow_narrow) {
			grid-column: 1 / -1;
		}
		.responsive :is(.white_box, .black_box):has(> div.statsdiv.grow_narrow) > :is(div.clear, br) {
			display: none;
		}
		.responsive :is(.white_box, .black_box):has(> div.statsdiv.grow_narrow) > div.statsdiv {
			margin-bottom: 0;
		}
		/*
		 * two_tablet on the box: two columns, for lists whose rows need the room (stats/totals, shopping/stats); a list with
		 * third_tablet as well a third of the row (the toplists of shopping/stats)
		 */
		.responsive :is(.white_box, .black_box).two_tablet:has(> div.statsdiv.grow_narrow) {
			grid-template-columns: repeat(6, minmax(0, 1fr));
		}
		.responsive :is(.white_box, .black_box).two_tablet > div.statsdiv.grow_narrow {
			grid-column: span 3;
		}
		.responsive :is(.white_box, .black_box).two_tablet > div.statsdiv.grow_narrow.third_tablet {
			grid-column: span 2;
		}
	}

	/*
	 * route66/play: each transport a card, its photo above Overval (a button over its width), the two side by side,
	 * 12px below the text above them
	 */
	.responsive .route66_transports {
		gap: 12px;
		margin-top: 12px;
	}
	.responsive .route66_transports > div {
		display: flex;
		flex: 1 1 0;
		flex-direction: column;
		gap: 8px;
		width: auto !important;
	}
	.responsive .route66_transports img {
		order: -1;
		display: block;
		width: 100%;
		height: auto;
		border-radius: 4px;
	}
	.responsive :is(.white_box, .black_box) .route66_transports a.btn_narrow {
		width: 100%;
		padding: 0 8px;
	}

	/*
	 * shop/items: the two selects to sort one below the other (on a tablet side by side), the checkbox and its label in
	 * a row of 40px below them, Aanpassen below that
	 */
	.responsive form.shop_sort {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: 8px;
		margin-top: 8px;
	}
	.responsive form.shop_sort > select {
		grid-column: 1 / -1;
		width: 100%;
		min-width: 0;
	}
	/* a tablet: the selects side by side, 280px each, the checkbox (26px with its margin) and Aanpassen below them at their left edge */
	@media (min-width: 720px) {
		.responsive form.shop_sort {
			grid-template-columns: 26px minmax(0, 246px) minmax(0, 280px);
			justify-content: start;
		}
		.responsive form.shop_sort > select:first-of-type {
			grid-column: 1 / 3;
		}
		.responsive form.shop_sort > select:last-of-type {
			grid-column: 3;
		}
	}
	.responsive form.shop_sort > br {
		display: none;
	}
	.responsive form.shop_sort > label {
		grid-column: 2 / -1;
	}
	.responsive form.shop_sort > .buttons_narrow {
		grid-column: 1 / -1;
		margin-top: 4px !important;
	}

	/*
	 * shop/items and shop/kboh: an item (blocks of a fixed size, floats) as a grid that ends at the padding of the box:
	 * the name and price over the row, the picture at the left and next to it the figures (and what the player has of
	 * it) as rows of a label and its value, below them the number to buy as wide as the picture and Koop (a green button
	 * instead of the picture) in line with the figures, so in every item they are in the same place
	 */
	.responsive :is(.kboh_offer, .shop_item) {
		display: grid !important;
		grid-template-columns: min(130px, 36%) minmax(0, 1fr);
		align-items: start;
		column-gap: 12px;
	}
	.responsive :is(.kboh_offer, .shop_item) > div {
		float: none !important;
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
	}
	.responsive :is(.kboh_offer, .shop_item) > div:not([id]):first-of-type, .responsive :is(.kboh_offer, .shop_item) > div[id] + div {
		grid-column: 1 / -1;
		margin-bottom: 8px !important;
	}
	.responsive :is(.kboh_offer, .shop_item) > div:has(> img) {
		grid-column: 1;
		grid-row: span 2;
	}
	.responsive :is(.kboh_offer, .shop_item) > div:has(> img) > img {
		display: block;
		width: 100%;
		border-radius: 4px;
	}
	.responsive :is(.kboh_offer, .shop_item) > div:has(> img) ~ div {
		grid-column: 2;
	}
	/* the block of In bezit and the form (shop/kboh) or the field and Koop (shop/items): its parts in the grid */
	.responsive :is(.kboh_offer, .shop_item) > div:last-child:has(> form, > input.buynumber), .responsive .kboh_offer form#kbodbuy {
		display: contents !important;
	}
	.responsive :is(.kboh_offer, .shop_item) .kv_narrow {
		margin: 0 !important;
		padding: 2px 0;
	}
	.responsive :is(.kboh_offer, .shop_item) .kv_narrow > :last-child {
		font-weight: bold;
	}
	.responsive :is(.kboh_offer, .shop_item) > div:last-child > .kv_narrow {
		grid-column: 2;
	}
	.responsive :is(.kboh_offer, .shop_item) input.buynumber {
		grid-column: 1;
		float: none;
		width: 100%;
		min-width: 0;
		margin: 12px 0 0;
	}
	.responsive :is(.kboh_offer, .shop_item) a.buy.button.btn_narrow {
		grid-column: 2;
		justify-self: start;
		float: none;
		width: auto;
		height: auto;
		margin: 12px 0 0;
		text-indent: 0;
	}
	.responsive .black_box:is(.kboh_offer, .shop_item) a.buy.button.btn_narrow:is(:hover, :active) {
		margin: 12px 0 0;
		background-image: var(--btn-narrow-images);
	}
	/*
	 * shop/items: an item as compact as in the fixed layout: the figures as lines of 20px next to the picture, In bezit
	 * with the maximum (In bezit 3 / 50, Max. is hidden) the last of them, the number to buy (never more than 100) below
	 * the picture and Koop next to it
	 */
	.responsive .shop_item {
		grid-template-columns: min(104px, 34%) minmax(0, 1fr);
		row-gap: 6px;
	}
	.responsive .shop_item > div:not([id]):first-of-type, .responsive .shop_item > div[id] + div {
		margin-bottom: 0 !important;
	}
	.responsive .shop_item > div:has(> img) {
		grid-row: 2 / span 2;
	}
	.responsive .shop_item > div:has(> img) ~ div {
		grid-column: 2;
		grid-row: 2;
	}
	.responsive .shop_item .kv_narrow {
		padding: 0;
		font-size: 14px;
		line-height: 20px;
	}
	.responsive .shop_item .kv_narrow.hide_narrow {
		display: none;
	}
	/* the block of In bezit (and the field and Koop): its parts in the grid, also when the item is sold out (no field) */
	.responsive .shop_item > div:last-child:has(> .kv_narrow) {
		display: contents !important;
	}
	.responsive .shop_item > div:last-child > .kv_narrow {
		grid-column: 2;
		grid-row: 3;
		margin-top: -6px !important;
	}
	.responsive .shop_item input.buynumber {
		grid-column: 1;
		grid-row: 4;
		margin: 0;
	}
	.responsive .shop_item a.buy.button.btn_narrow, .responsive .black_box.shop_item a.buy.button.btn_narrow:is(:hover, :active) {
		grid-column: 2;
		grid-row: 4;
		justify-self: stretch;
		margin: 0;
		text-align: center;
	}
	/* shop/items on a tablet: the items (a loop of boxes of cols=3 in one .boxes) three in a row */
	@media (min-width: 720px) and (max-width: 959px) {
		.responsive .boxes.shop_items > .cols3 {
			flex: 0 0 calc((100% - 26px) / 3);
		}
		.responsive .shop_item {
			grid-template-columns: min(96px, 34%) minmax(0, 1fr);
		}
	}

	/* shopping/new: the players and their roles as a list of two columns, a name in the middle next to its select, which fills its column */
	.responsive .list_narrow.list_grid.shopping_roles {
		grid-template-columns: minmax(0, 1fr) minmax(0, 200px);
	}
	.responsive .shopping_roles > div[style*="clear"] {
		display: none;
	}
	.responsive .shopping_roles > div.row {
		align-items: center;
	}
	.responsive .shopping_roles select {
		width: 100%;
	}
	/* a tablet: a name column as wide as the longest name, 24px from a select of at most 240px, so a name stays near its select; Aanmaken below it */
	@media (min-width: 720px) {
		.responsive .list_narrow.list_grid.shopping_roles {
			grid-template-columns: auto minmax(0, 240px);
			column-gap: 24px;
			justify-content: start;
		}
	}
	/* the select over its column, from the left of the label Taak to its right */
	.responsive :is(.white_box, .black_box) .list_narrow.shopping_roles > div.row > div.roleColumn {
		padding-left: 2px;
		padding-right: 0;
	}

	/*
	 * shopping/index: the description of a shop on a line of its own below its name; the heists without the column
	 * Actie when no heist has one (the wait for the next heist); Bekijk a small green button at the right edge, as
	 * the header label above it ends there. On a phone a heist is a card without the header: the team in bold with
	 * the shop in grey, below them the role and Klaar 1/4 in a small grey line, Bekijk at the right in the middle.
	 * The roles of the explanation in bold, their description on the next line, without the empty lines between them
	 */
	.responsive .shopping_shops small {
		display: block;
	}
	.responsive .shopping_role {
		display: inline-block;
		margin-top: 10px;
		font-weight: bold;
	}
	.responsive table.shopping_heists:not(:has(a[href^="shopping/details/"])) > tbody > tr > :nth-child(5) {
		display: none;
	}
	.responsive :is(.white_box, .black_box) table.shopping_heists td:last-child {
		padding-right: 0;
		text-align: right;
	}
	.responsive :is(.white_box, .black_box) table.shopping_heists a[href^="shopping/details/"] {
		display: inline-block;
		padding: 0 10px;
		border-radius: var(--radius-control);
		background-color: var(--color-green);
		box-shadow: inset 0 -2px 3px -1px rgb(40 70 0 / 30%);
		color: var(--color-white);
		font-size: 14px;
		font-weight: bold;
		line-height: 36px;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}
	@media (max-width: 719px) {
		.responsive table.shopping_heists, .responsive table.shopping_heists > tbody {
			display: block;
		}
		.responsive table.shopping_heists > tbody > tr:first-child:not(.row) {
			display: none;
		}
		.responsive table.shopping_heists > tbody > tr.row {
			display: block;
			position: relative;
			padding: 10px 0 12px 8px;
		}
		.responsive table.shopping_heists:has(a[href^="shopping/details/"]) > tbody > tr.row {
			padding-right: 88px;
		}
		/* without the header row the first heist is the text below the heading: no room above it */
		.responsive :is(.white_box, .black_box) table.shopping_heists {
			margin-top: 0;
		}
		.responsive table.shopping_heists > tbody > tr:first-child + tr.row {
			padding-top: 0;
		}
		.responsive :is(.white_box, .black_box) table.shopping_heists > tbody > tr:first-child + tr.row > td:last-child:has(a) {
			top: calc(50% - 6px);
		}
		/* the team and the shop on the first line, the role and Klaar on the second */
		.responsive :is(.white_box, .black_box) table.shopping_heists > tbody > tr.row > td {
			display: inline;
			padding: 0;
		}
		.responsive table.shopping_heists > tbody > tr.row > td:first-child {
			font-weight: bold;
		}
		.responsive table.shopping_heists > tbody > tr.row > td:nth-child(2) {
			color: var(--color-brown-light);
		}
		.responsive table.shopping_heists > tbody > tr.row > td:nth-child(2)::after {
			content: "\A";
			white-space: pre;
		}
		.responsive table.shopping_heists > tbody > tr.row > td:is(:nth-child(3), :nth-child(4)) {
			color: var(--color-brown-light);
			font-size: 13px;
			line-height: 1.4;
		}
		.responsive table.shopping_heists > tbody > tr.row > td:nth-child(4)::before {
			content: "\00b7  Klaar ";
		}
		.responsive :is(.white_box, .black_box) table.shopping_heists > tbody > tr.row > td:last-child:has(a) {
			position: absolute;
			top: 50%;
			right: 0;
			transform: translateY(-50%);
		}
	}

	/* shopping/run: the scores and the items, numbers in their last column, at the right */
	.responsive .shopping_run table > tbody > tr > td:last-child:not(:first-child),
	.responsive .shopping_run table > tbody > tr > th:last-child:not(:first-child) > div {
		text-align: right;
	}

	/*
	 * shopping/details: the power item its picture (130x90, on a small phone 96px wide) with its figures next to it,
	 * the box ends below them (no fixed heights)
	 */
	.responsive .shopping_poweritem > div[style*="float:left"]:has(> img) {
		width: auto !important;
		height: auto !important;
		margin-right: 12px;
	}
	.responsive .shopping_poweritem > div[style*="float:left"] > img {
		display: block;
		width: 130px;
	}
	.responsive .shopping_poweritem > div[style*="float:left"]:not(:has(> img)) {
		float: none !important;
		width: auto !important;
		height: auto !important;
		overflow: hidden;
	}
	.responsive .shopping_poweritem > div[style*="height:20px"] {
		height: auto !important;
		margin-bottom: 6px;
	}
	@media (max-width: 479px) {
		.responsive .shopping_poweritem > div[style*="float:left"] > img {
			width: 96px;
		}
	}
	/* its figures rows of a label and its value at the right in bold, a thin line between them, as kv_rows_narrow */
	.responsive .shopping_poweritem > div[style*="float:left"]:not(:has(> img)) > div {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		margin: 0 !important;
		padding: 6px 0;
	}
	.responsive .shopping_poweritem > div[style*="float:left"]:not(:has(> img)) > div:first-child {
		padding-top: 0;
	}
	.responsive .shopping_poweritem > div[style*="float:left"]:not(:has(> img)) > div:not(:last-child) {
		background: linear-gradient(var(--color-stone), var(--color-stone)) left bottom / 100% 1px no-repeat;
	}
	.responsive .shopping_poweritem > div[style*="float:left"]:not(:has(> img)) > div > div {
		float: none !important;
		width: auto !important;
	}
	.responsive .shopping_poweritem > div[style*="float:left"]:not(:has(> img)) > div > div:last-child {
		font-weight: bold;
	}

	/* sinterklaas/index: the prizes a medal and its credits on a line, the medal in the middle of the line, 8px before the text */
	.responsive img.prize_medal {
		margin: 0 8px 0 0 !important;
		vertical-align: middle;
	}

	/*
	 * stocks/index: the fields to buy and sell 48px wide, the change of a price in one piece; the button to trade on a
	 * row of its own below the table, over the width on a phone; the line below Statistieken a small grey caption
	 */
	.responsive .white_box .stocks_caption {
		margin-top: -4px;
		color: var(--color-brown-light);
		font-size: 14px !important;
		font-weight: normal !important;
		line-height: 1.4;
	}
	.responsive table.stocks_market input.txt {
		width: 48px !important;
		padding-left: 4px;
		padding-right: 4px;
		text-align: center;
	}
	.responsive table.stocks_market td.r > font {
		display: inline-block;
		white-space: nowrap;
	}
	.responsive .stocks_submit {
		margin-top: 12px;
		text-align: right;
	}
	/* the note about the transaction costs over the whole row, at the edge of the text of the table, 12px below it */
	.responsive table.stocks_market td.stocks_note {
		padding-top: 12px;
		padding-bottom: 0;
	}
	/*
	 * a stock with a long name of one word (MarketplaceFund) breaks it rather than make the table wider than its box; on
	 * the smallest phones (below 360px) anywhere it has to, so the table fits
	 */
	.responsive table.stocks_market td[data-owned-narrow] {
		overflow-wrap: break-word;
	}
	@media (max-width: 359px) {
		.responsive table.stocks_market td[data-owned-narrow] {
			overflow-wrap: anywhere;
		}
	}
	/* a phone: what the player has of a stock a small line below its name instead of a column of its own, so the fields fit */
	@media (max-width: 479px) {
		.responsive table.stocks_market .stocks_owned_col {
			display: none;
		}
		.responsive table.stocks_market td[data-owned-narrow]::after {
			content: attr(data-owned-narrow);
			display: block;
			white-space: nowrap;
			color: var(--color-brown-light);
			font-size: 13px;
		}
	}
	/* no labels above an empty market, the line that says so the text of the box (at its left), the note 12px below it */
	.responsive table.stocks_market:has(tr.empty_narrow) > tbody > tr:first-child {
		display: none;
	}
	.responsive :is(.white_box, .black_box) table.stocks_market tr.empty_narrow > td {
		padding: 0 !important;
		text-align: left;
	}
	.responsive table.stocks_market:has(tr.empty_narrow) td.stocks_note {
		padding-left: 0;
	}
	/* no button to trade and no (empty) chart while there are no stocks */
	.responsive form:has(tr.empty_narrow) > .stocks_submit, .responsive form:has(tr.empty_narrow) + canvas {
		display: none !important;
	}
	@media (max-width: 719px) {
		.responsive .stocks_submit .greenbutton {
			width: 100%;
		}
	}

	/* training/index: Start training at the right edge of the table, 12px below the skills, the box ends below it */
	.responsive tr.training_submit > td {
		padding: 12px 0 0 !important;
	}

	/* vehicles/racetrack: the map of the track in the middle of its box */
	.responsive img.racetrack_map {
		display: block;
		float: none;
		margin: 0 auto;
		border-radius: 4px;
	}
	/*
	 * vehicles/car: the buttons to move the car on a phone one below the other (their labels are long) over the width of
	 * the box, on a tablet side by side as a row of buttons_narrow
	 */
	.responsive .car_move > div {
		display: contents;
	}
	@media (max-width: 719px) {
		.responsive .buttons_narrow.car_move {
			grid-template-columns: minmax(0, 1fr);
		}
		.responsive .buttons_narrow.car_move a.btn {
			width: 100%;
			margin: 0 !important;
		}
	}
	@media (min-width: 720px) {
		.responsive .buttons_narrow.car_move a.btn {
			margin: 0 !important;
		}
	}
	/*
	 * vehicles/gasstation: while the price is edited (bewerk), its row the label above the form (a field_row_narrow): the
	 * amount over the row, Opslaan and Terug below it as halves (on a tablet 360px wide), the limits below them; the
	 * other rows stay a label at the left and its value at the right
	 */
	.responsive table.kv_rows_narrow:has(#gasoline_price_edit:not([style*="none"])),
	.responsive table.kv_rows_narrow:has(#gasoline_price_edit:not([style*="none"])) > tbody {
		display: block;
	}
	.responsive table.kv_rows_narrow:has(#gasoline_price_edit:not([style*="none"])) > tbody > tr {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.responsive table.kv_rows_narrow > tbody > tr:has(> td > #gasoline_price_edit:not([style*="none"])) {
		flex-wrap: wrap;
	}
	.responsive table.kv_rows_narrow > tbody > tr:has(> td > #gasoline_price_edit:not([style*="none"])) > td {
		flex: 0 0 100%;
		padding-left: 0;
		text-align: left;
	}
	.responsive table.kv_rows_narrow > tbody > tr:has(> td > #gasoline_price_edit:not([style*="none"])) > td:first-child {
		padding-bottom: 0;
	}
	.responsive #gasoline_price_edit {
		flex-wrap: wrap;
		margin: 4px 0 0;
		font-weight: normal;
	}
	.responsive #gasoline_price_edit > .amount_narrow {
		display: flex;
		flex: 0 0 100%;
		margin: 0;
	}
	.responsive #gasoline_price_edit > a.btn_narrow {
		flex: 1 1 0;
		min-width: 0;
	}
	@media (min-width: 720px) {
		.responsive #gasoline_price_edit {
			max-width: 360px;
		}
	}
	/*
	 * vehicles/races: the status of each race at the left (Aangemeld is a centred block, Aanmelden a button), the link to
	 * a new race a button; the cells of a race at the top of their row, so the name, the stake and the status line up
	 */
	.responsive table.races_open td > div.c {
		text-align: left;
	}
	.responsive table.races_open > tbody > tr.row > td {
		vertical-align: top;
	}
	.responsive .white_box a.btn_narrow.grey {
		color: var(--color-white) !important;
	}

	/*
	 * vehicles/index: the pictures of the cars all of the same size (3:2, 75px wide, 60px on a phone), their cell no
	 * wider than they are, in line with the edge of the header; on a phone the location and the damage a small line
	 * below the name (Buiten · 20% schade, line_phone) instead of their columns, so the names keep their line
	 */
	.responsive table.vehicles_list td.vehicle_thumb {
		width: 1px;
		padding-left: 0;
		padding-right: 4px;
	}
	.responsive table.vehicles_list td.vehicle_thumb > img {
		display: block;
		width: 75px;
		min-width: 75px;
		height: auto;
		aspect-ratio: 3 / 2;
		object-fit: cover;
		border-radius: 3px;
	}
	@media (max-width: 719px) {
		.responsive table.vehicles_list td.vehicle_thumb > img {
			width: 60px;
			min-width: 60px;
		}
		.responsive table.vehicles_list > tbody > tr > :is(th:nth-child(2), td:nth-child(3)) {
			display: none;
		}
	}

	/*
	 * storm/read: the players of the topic (a white strip) with room inside it, the corners of the posts; each player a
	 * chip, as in storm/new, the 'x' to remove them a tap area right after their name
	 */
	.responsive .storm_players {
		padding: 8px 12px !important;
		border-radius: var(--radius-control) !important;
		line-height: 40px;
	}
	.responsive .storm_players > b {
		margin-right: 4px;
	}
	.responsive .storm_players > .storm_player {
		display: inline-flex;
		align-items: center;
		height: 32px;
		margin-right: 4px;
		padding: 0 12px;
		border-radius: 16px;
		background: var(--color-sand-light);
		color: var(--color-grey-dark);
		line-height: 1.4;
		white-space: nowrap;
		vertical-align: middle;
	}
	.responsive .storm_players > .storm_player:has(> a) {
		padding-right: 0;
	}
	.responsive .storm_player > a[href^="storm/deleteuser/"] {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 40px;
		margin: -4px 0 -4px 2px;
		-webkit-tap-highlight-color: transparent;
	}

	/*
	 * storm/new: each label above its field, the fields over the width of the box; the players as chips in a field (the
	 * name to add after them), their 'x' a tap area of 40px
	 */
	.responsive .storm_label {
		margin-bottom: 4px;
		font-weight: bold;
	}
	.responsive .storm_field {
		margin-bottom: 12px !important;
	}
	.responsive .storm_field input[name="topic[title]"] {
		width: 100% !important;
		font-size: 16px !important;
	}
	.responsive .storm_field > div[style*="height:25px"] {
		margin-top: 8px !important;
	}
	.responsive div#tousersbox {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px;
		box-sizing: border-box;
		min-height: 40px;
		margin-bottom: 4px;
		padding: 3px;
		border: 1px solid var(--color-stone);
		border-radius: var(--radius-control);
	}
	.responsive div#tousersbox:focus-within {
		border-color: var(--color-green);
		outline: 2px solid var(--color-green);
		outline-offset: -2px;
	}
	.responsive div#tousersbox > .clear {
		display: none;
	}
	.responsive div#tousersbox > div.touser {
		display: inline-flex;
		align-items: center;
		float: none;
		height: 32px;
		margin: 0;
		padding: 0 0 0 10px;
		border: 0;
		border-radius: 16px;
		background: var(--color-sand-light);
		color: var(--color-grey-dark);
		white-space: nowrap;
	}
	.responsive div#tousersbox > div.touser > span {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 36px;
		height: 40px;
		margin: -4px 0;
		color: var(--color-brown-light);
		font-size: 16px;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive div#tousersbox > div.touser > span:active {
		color: var(--color-red);
	}
	.responsive div#tousersbox > form {
		display: flex;
		flex: 1 1 100px;
		min-width: 0;
	}
	.responsive div#tousersbox > form > div.touser {
		display: flex;
		flex: 1 1 auto;
		float: none;
		margin: 0;
		border: 0;
	}
	.responsive :is(.white_box, .black_box) div#tousersbox input {
		width: 100%;
		min-height: 32px;
		padding: 4px 6px;
		border: 0;
		outline: none;
		font-size: 16px;
	}

	/*
	 * storm/index: the title of a topic takes the room that is left, the other columns as wide as they need (on a phone
	 * the date a small grey line below the title); the labels of the head as high as each other with their text centred, the rows at least 44px high; without topics
	 * a line that says so instead of the head
	 */
	.responsive .list_narrow.storm_topics {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	@media (min-width: 720px) {
		.responsive .list_narrow.storm_topics {
			grid-template-columns: minmax(0, 1fr) auto auto auto;
		}
	}
	/*
	 * the labels as those of a table: 4px apart, the first and the last at the edges, 8px at their sides; the text of
	 * a cell where the text of its label is. The labels follow their cells: Aantal reacties in the middle, Laatste
	 * reactie (r_narrow) at the right
	 */
	.responsive .storm_topics > .list_head > div.th {
		padding: 0 2px;
	}
	.responsive .storm_topics > .list_head > div.th:first-child {
		padding-left: 0;
	}
	.responsive .storm_topics > .list_head > div.th:last-child {
		padding-right: 0;
	}
	.responsive .storm_topics > .list_head > div.th > div {
		padding-left: 8px;
		padding-right: 8px;
	}
	.responsive .storm_topics > div.row > div {
		padding-left: 10px;
		padding-right: 10px;
	}
	.responsive .storm_topics > div.row > div:first-child {
		padding-left: 8px;
	}
	.responsive .storm_topics > div.row > div:last-child {
		padding-right: 8px;
	}
	.responsive .storm_topics > .list_head > div.th:nth-child(3) > div {
		justify-content: center;
		text-align: center;
	}
	.responsive .storm_topics > div.row {
		align-items: center;
		min-height: 44px;
		padding: 4px 0;
	}
	.responsive .storm_topics > div.row a[href^="storm/read/"] {
		overflow-wrap: anywhere;
	}
	@media (min-width: 720px) {
		.responsive .storm_topics > div.row > div.r {
			white-space: nowrap;
		}
	}
	/* a phone: the date a small grey line below the title, so the rows keep the title and the player on one line */
	@media (max-width: 719px) {
		.responsive .storm_topics > .list_head > div.th:last-child {
			display: none;
		}
		.responsive .storm_topics > .list_head > div.th:nth-child(2) {
			padding-right: 0;
		}
		.responsive .storm_topics > div.row > div:nth-child(2) {
			padding-right: 8px;
		}
		.responsive .storm_topics > div.row > div:first-child {
			grid-row: 1;
			padding-bottom: 0;
		}
		.responsive .storm_topics > div.row > div:nth-child(2) {
			grid-column: 2;
			grid-row: 1 / span 2;
		}
		.responsive .storm_topics > div.row > div.r {
			grid-column: 1;
			grid-row: 2;
			padding-top: 0;
			padding-left: 8px;
			font-size: 13px;
			line-height: 1.4;
			text-align: left;
			color: var(--color-taupe);
		}
	}
	.responsive .storm_topics:not(:has(> div.row)) {
		display: none;
	}
	.responsive .storm_empty {
		padding: 4px 0 8px;
	}

	/*
	 * takeit/play: the game first, below it the amounts that are left as one box of two columns (the low amounts
	 * at the left, the high ones at the right; on a tablet each half in two columns, so four equal ones in all); the
	 * cases share the width of their box, as many in a row as fit; Take it and Leave it fill the row, a small 'or'
	 * between them
	 */
	.responsive table.takeit_board > tbody > tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.responsive table.takeit_board > tbody > tr > td {
		min-width: 0;
	}
	.responsive table.takeit_board > tbody > tr > td:nth-child(2) {
		grid-column: 1 / -1;
		order: -1;
	}
	.responsive table.takeit_board > tbody > tr > td:nth-child(2) > br {
		display: none;
	}
	.responsive table.takeit_board > tbody > tr > td:nth-child(2) > .white_box {
		margin-bottom: 10px;
	}
	/*
	 * the own case (Jouw koffer) and the game as one box (without the last bids between them): no corners and no glare
	 * where they meet, the game 12px below the case
	 */
	.responsive table.takeit_board > tbody > tr > td:nth-child(2):not(:has(> .white_box ~ .white_box ~ .white_box)) > .white_box:first-child:not(:last-child) {
		margin-bottom: 0;
		padding-bottom: 0 !important;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
	.responsive table.takeit_board > tbody > tr > td:nth-child(2):not(:has(> .white_box ~ .white_box ~ .white_box)) > .white_box:last-child:not(:first-child) {
		padding-top: 12px !important;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		background: var(--color-sand);
	}
	/* a tablet: with the last bids the case and the bids side by side, as high as each other, the game below them */
	@media (min-width: 720px) {
		.responsive table.takeit_board > tbody > tr > td:nth-child(2):has(> .white_box ~ .white_box ~ .white_box) {
			display: flex;
			flex-wrap: wrap;
			column-gap: 13px;
		}
		.responsive table.takeit_board > tbody > tr > td:nth-child(2) > .white_box {
			flex: 1 1 0;
			min-width: 0;
		}
		.responsive table.takeit_board > tbody > tr > td:nth-child(2) > .white_box:last-child {
			flex-basis: 100%;
		}
	}
	/* the two halves of the amounts as one box: no corners and no glare where they meet, 8px between them as between the columns */
	.responsive table.takeit_board > tbody > tr > td:is(:first-child, :last-child) > .black_box {
		box-sizing: border-box;
		height: 100%;
		margin: 0;
		background: var(--color-black-box-narrow);
	}
	.responsive table.takeit_board > tbody > tr > td:first-child > .black_box {
		padding-right: 4px !important;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}
	.responsive table.takeit_board > tbody > tr > td:last-child > .black_box {
		padding-left: 4px !important;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
	}
	.responsive table.takeit_board center {
		display: grid;
		gap: 4px 8px;
	}
	.responsive table.takeit_board .takeit_money {
		box-sizing: border-box;
		width: auto;
		margin: 0;
		padding: 5px 8px;
		border-radius: var(--radius-small);
		font-size: 14px;
		white-space: nowrap;
	}
	@media (min-width: 720px) {
		.responsive table.takeit_board center {
			grid-template-columns: repeat(2, minmax(0, 1fr));
			grid-template-rows: repeat(5, auto);
			grid-auto-flow: column;
		}
	}
	.responsive table.takeit_cases {
		width: 100%;
		border-spacing: 0;
	}
	.responsive table.takeit_cases td {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
		gap: 4px;
		padding: 0;
		margin-top: 6px;
	}
	.responsive table.takeit_cases .takeit_box {
		width: auto;
		height: auto;
		min-height: 52px;
		margin: 0;
		padding: 0 2px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: var(--radius-control);
		box-sizing: border-box;
	}
	/* an opened case looks used: a stone tile, pressed in, its amount bold and dark in the condensed font so it fits */
	.responsive .takeit_boxopen {
		background-color: var(--color-stone);
		box-shadow: inset 0 1px 3px rgb(0 0 0 / 30%);
		color: var(--color-grey-dark);
		font: bold 15px/1.1 'Ubuntu Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;
		cursor: default;
	}
	.responsive table.takeit_cases .takeit_boxopen {
		overflow-wrap: anywhere;
	}
	/* the own case in the row (takeit_mine, a ? on it): not opened, a yellow frame around it */
	.responsive table.takeit_cases .takeit_boxopen.takeit_mine {
		background-color: var(--color-white);
		box-shadow: inset 0 0 0 3px var(--color-yellow);
		color: var(--color-grey-dark);
		font: bold 20px/1 'Roboto', Arial, sans-serif;
	}
	.responsive .takeit_ownbox {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 64px;
		height: 52px;
		margin: 0 0 0 8px;
		padding: 0 4px;
		border-radius: var(--radius-control);
		vertical-align: middle;
	}
	/* the own case, opened at the end: it grows around the amount */
	.responsive .takeit_boxopen.takeit_ownbox {
		width: auto;
		min-width: 64px;
		padding: 0 10px;
		white-space: nowrap;
	}
	.responsive .buttons_narrow.takeit_choice {
		display: flex;
		align-items: center;
	}
	.responsive .takeit_choice > .greenbutton {
		flex: 1 1 0;
		min-width: 0;
	}
	/* the last bids: a small caption, the amounts in bold */
	.responsive .takeit_bids_head {
		color: var(--color-brown-light);
		font-size: 13px;
	}
	.responsive .takeit_bid {
		font-weight: bold;
	}
	.responsive .takeit_choice > .takeit_or {
		flex: none;
		color: var(--color-brown-light);
		font-size: 13px;
	}

	/* tickets/view: the replies and the evidence (white cards) with room inside them, 8px apart */
	.responsive .ticket_card {
		box-sizing: border-box;
		width: auto !important;
		margin: 0 0 8px !important;
		padding: 10px 12px !important;
		border-radius: var(--radius-box) !important;
	}
	.responsive .ticket_card:not(:has(~ .ticket_card)) {
		margin-bottom: 0 !important;
	}
	/* Gespreksgeschiedenis (a tap_narrow link) 12px below the message, the card ends at its text */
	.responsive .ticket_card > div:has(> a.tap_narrow) {
		margin-top: 12px !important;
	}
	.responsive .ticket_card > div > a.tap_narrow {
		margin: -10px 0;
	}
	/* a tablet: Reageer, Terug and (Niet) opgelost share one row of the half box, as wide as each other */
	@media (min-width: 720px) {
		.responsive .buttons_narrow.ticket_actions > .greenbutton {
			flex: 1 1 0;
			min-width: 96px;
		}
	}

	/*
	 * yahtzee/play (and finish): the dice on a white panel (their pictures have a white background), as the reels of
	 * fruit/play, 12px apart; below each die in its column the checkbox with hold below it, one label to tap (without the
	 * room of a label of 40px: the panel ends at hold); 12px above Dobbelen
	 */
	.responsive .yahtzee_dice {
		justify-content: center;
		gap: 12px;
		margin-bottom: 12px;
		padding: 12px;
		border-radius: var(--radius-box);
		background: var(--color-white);
		box-shadow: inset 0 1px 3px rgb(0 0 0 / 25%);
	}
	.responsive .yahtzee_dice > div {
		display: flex;
		flex: 0 1 48px;
		flex-direction: column;
		align-items: center;
		gap: 4px;
		float: none !important;
		width: auto !important;
	}
	.responsive .yahtzee_dice > div > img {
		cursor: pointer;
	}
	.responsive .yahtzee_dice > div > br {
		display: none;
	}
	.responsive :is(.white_box, .black_box) .yahtzee_dice label.yahtzee_hold {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		min-height: 0;
		padding: 0;
		color: var(--color-brown-light);
		font-size: 13px;
		line-height: 1.2;
	}
	.responsive :is(.white_box, .black_box) .yahtzee_dice input[type="checkbox"] {
		width: 24px !important;
		height: 24px !important;
		margin: 0;
	}
	/* a tablet: the dice (43px) 72px wide, 16px apart, so they fill the panel (they shrink when the box is narrower) */
	@media (min-width: 720px) {
		.responsive .yahtzee_dice {
			gap: 16px;
		}
		.responsive .yahtzee_dice > div {
			flex-basis: 72px;
		}
		.responsive .yahtzee_dice > div > img {
			width: 100%;
			height: auto;
		}
	}

	/* step 6: the page is as wide as the screen; from 960px on it stays 960px wide */
	.responsive #main, .responsive #content_container {
		width: auto;
	}
	/* the background of the page (on body, html has its own color) reaches the bottom of the screen on a short page */
	.responsive body {
		min-height: 100vh;
	}
	/* the bars over the width of the screen have square corners (html: after this, the menu rounds #menu.menu_open) */
	html.responsive :is(#stats, #menu, #menu.menu_open, #menu_overlay, #content_container, .chatbox_container) {
		border-radius: 0;
	}
	/*
	 * the content has the gutter of 8px of the stats bar, the tabs, the chat and the footer, so their edges line up,
	 * and as much room below it as above: the last box (or row of boxes) drops its margin of 10px
	 */
	.responsive #content_container {
		padding: 8px;
	}
	.responsive #content_container > :nth-last-child(1 of :not(script, .clear)):is(.white_box, .black_box, .boxes) ~ .clear:last-child {
		margin-top: -10px;
	}
	/* a small phone: less padding in the boxes, so tables and forms get the width */
	@media (max-width: 479px) {
		.responsive #content_container :is(.white_box, .black_box) {
			padding: 12px;
		}
	}
}
/*
 * On a tablet the boxes of a row stay side by side and share it in proportion
 * to their columns, as on a desktop; on a phone they are one below the other.
 */
@media (min-width: 720px) and (max-width: 959px) {
	.responsive .boxes > :is(.cols1, .cols2, .cols3, .cols4, .cols5, .cols6) {
		flex: var(--cols) 1 0;
		width: auto !important;
		min-width: 0;
	}
	/* a box (or a column of boxes) alone in its row takes the row, so it leaves no empty column next to it */
	.responsive .boxes > :is(.cols1, .cols2, .cols3, .cols4, .cols5):only-child {
		flex: 1 1 100%;
	}
	/*
	 * each box ends at its content (.boxes aligns its boxes to the top). .boxes.equal_tablet, a row whose columns are
	 * close in height (home): the boxes end at the same height, a box grows to the height of the row, and in a column
	 * of boxes (<div class="cols4"> with boxes of cols=6) the last box grows to the bottom of the row
	 * (in a column of boxes in two columns, three_tablet or below_tablet, ingame_base.js grows the last box of the
	 * shorter column)
	 */
	.responsive .boxes.equal_tablet {
		align-items: stretch;
	}
	.responsive .boxes.equal_tablet > :is(.cols1, .cols2, .cols3, .cols4, .cols5, .cols6):not(.white_box, .black_box):has(> :is(.white_box, .black_box)):not(:has(> :is(.white_box, .black_box):not(.cols6))) {
		display: flex;
		flex-direction: column;
	}
	.responsive .boxes.equal_tablet > :not(.white_box, .black_box) > :nth-last-child(1 of :is(.white_box, .black_box):not([style*="display:none"], [style*="display: none"])):not(:has(.empty_narrow)) {
		flex-grow: 1;
	}
	/* a box that only says it is empty (an empty_narrow line: Er is geen nieuws) does not grow into an empty area */
	.responsive .boxes.equal_tablet > :is(.white_box, .black_box):has(.empty_narrow) {
		align-self: flex-start;
	}
	/* .boxes.half_tablet, a row of two columns that hold forms (crew/bank; a .boxes_tablet too, flipacoin/index): the columns are as wide as each other */
	.responsive :is(.boxes, .boxes_tablet).half_tablet > :is(.cols1, .cols2, .cols3, .cols4, .cols5, .cols6) {
		flex: 1 1 0;
	}
	/*
	 * .boxes.three_tablet, a row of three columns of cols=2 (home, crew/home), which would be too narrow on a tablet:
	 * the first two side by side, the third (the one at the right, class right, when the row has one) below them over
	 * the row, the boxes of a column in two columns
	 */
	.responsive .boxes.three_tablet:not(:has(> .right)) > :nth-child(3), .responsive .boxes.three_tablet > .right {
		flex: 1 1 100%;
	}
	.responsive .boxes.three_tablet:not(:has(> .right)) > :nth-child(3):not(.white_box, .black_box),
	.responsive .boxes.three_tablet > .right:not(.white_box, .black_box) {
		display: block !important;
		columns: 2;
		column-gap: 13px;
	}
	.responsive .boxes.three_tablet:not(:has(> .right)) > :nth-child(3) > :is(.white_box, .black_box),
	.responsive .boxes.three_tablet > .right > :is(.white_box, .black_box) {
		break-inside: avoid;
	}
	/*
	 * .boxes.below_tablet, a row of a column of boxes and a column of cols=2 at the right (class right, or the last one)
	 * that holds more than the other (route66, admin/ticket): the column at the left over the row, the one at the right
	 * below it, its boxes in two columns
	 */
	.responsive .boxes.below_tablet > * {
		flex: 1 1 100%;
	}
	.responsive .boxes.below_tablet > .right:not(.white_box, .black_box),
	.responsive .boxes.below_tablet:not(:has(> .right)) > :last-child:not(.white_box, .black_box) {
		display: block !important;
		columns: 2;
		column-gap: 13px;
	}
	.responsive .boxes.below_tablet > .right > :is(.white_box, .black_box),
	.responsive .boxes.below_tablet:not(:has(> .right)) > :last-child > :is(.white_box, .black_box) {
		break-inside: avoid;
	}
	/*
	 * the boxes in two columns (three_tablet, below_tablet): the columns drop the margin after their last box, so the
	 * 10px go above a box instead (dropped at the top of a column) and below the columns, which then hold their boxes and
	 * keep the room below the row (admin/ticket)
	 */
	.responsive .boxes.three_tablet:not(:has(> .right)) > :nth-child(3):not(.white_box, .black_box),
	.responsive .boxes.three_tablet > .right:not(.white_box, .black_box),
	.responsive .boxes.below_tablet > .right:not(.white_box, .black_box),
	.responsive .boxes.below_tablet:not(:has(> .right)) > :last-child:not(.white_box, .black_box) {
		padding-bottom: 10px;
	}
	.responsive .boxes.three_tablet:not(:has(> .right)) > :nth-child(3) > :is(.white_box, .black_box),
	.responsive .boxes.three_tablet > .right > :is(.white_box, .black_box),
	.responsive .boxes.below_tablet > .right > :is(.white_box, .black_box),
	.responsive .boxes.below_tablet:not(:has(> .right)) > :last-child > :is(.white_box, .black_box) {
		margin-bottom: 0;
	}
	.responsive .boxes.three_tablet:not(:has(> .right)) > :nth-child(3) > :is(.white_box, .black_box) ~ :is(.white_box, .black_box),
	.responsive .boxes.three_tablet > .right > :is(.white_box, .black_box) ~ :is(.white_box, .black_box),
	.responsive .boxes.below_tablet > .right > :is(.white_box, .black_box) ~ :is(.white_box, .black_box),
	.responsive .boxes.below_tablet:not(:has(> .right)) > :last-child > :is(.white_box, .black_box) ~ :is(.white_box, .black_box) {
		margin-top: 10px;
	}
	/* with equal_tablet as well, a column at the right of two boxes (jobs/index): the two side by side, as high as each other */
	.responsive .boxes.below_tablet.equal_tablet > .right:not(.white_box, .black_box):not(:has(> :is(.white_box, .black_box) ~ :is(.white_box, .black_box) ~ :is(.white_box, .black_box))) {
		display: flex !important;
		flex-direction: row;
		align-items: stretch;
		gap: 13px;
	}
	.responsive .boxes.below_tablet.equal_tablet > .right > :is(.white_box, .black_box) {
		flex: 1 1 0;
		min-width: 0;
		margin-top: 0;
	}
	/*
	 * .boxes_tablet, a row of boxes on a tablet only (the intro of a casino game and the box with its bet, flipacoin/index):
	 * shared as by .boxes; from 960px a plain <div>, so the boxes stay one below the other as in the fixed layout
	 */
	.responsive .boxes_tablet {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
		column-gap: 13px;
	}
	.responsive .boxes_tablet > :is(.cols1, .cols2, .cols3, .cols4, .cols5, .cols6) {
		flex: var(--cols) 1 0;
		width: auto !important;
		min-width: 0;
	}
	.responsive .boxes_tablet > :only-child {
		flex: 1 1 100%;
	}
	/* a .list_grid that shows more columns on a tablet (hide_phone): --cols-tablet */
	.responsive .list_narrow.list_grid {
		grid-template-columns: var(--grid-tablet, var(--grid, repeat(var(--cols-tablet, var(--cols)), auto)));
	}
	/* a column of boxes that are all hidden (like the message next to the inbox, until one is opened) leaves the row to the others */
	.responsive .boxes > :is(.cols1, .cols2, .cols3, .cols4, .cols5, .cols6):not(.white_box, .black_box):has(> :is(.white_box, .black_box)):not(:has(> :is(.white_box, .black_box):not([style*="display:none"], [style*="display: none"]))) {
		display: none;
	}
}
@media (max-width: 959px) {

	/*
	 * step 5: the header
	 * The left of header.jpg (the gunman and the logo, 460 of its 960px) scaled down to the height of the header,
	 * the home link over it. The clock, the rank, position and level, the timers and the backend link are small
	 * status chips of 24px (#header_status holds the clock and #header_chips, the row of the others): flat pills,
	 * so they do not look like the buttons of the stats bar, the icon of each (the background of its div in the
	 * fixed layout, on its link's ::before here) 4px before its text.
	 * A phone: the picture is 56px high with the clock at its right, over the empty part after the logo; below it
	 * the chips at their own width in a row at the right, under the clock (it scrolls sideways when they do not
	 * fit, fading out at the side that scrolls, as the tabs do; the backend link of an admin the last). Below 360px
	 * the picture is 52px high and the chips are the last chips of the stats bar (the timers its first):
	 * ingame_base.js moves #info and #infoleft there and marks the header chips_in_stats, so the content starts
	 * higher on a small screen; the backend link stays in the header, a chip at the right below the clock.
	 * A tablet: the picture 121px high; the clock and the chips in a column of equal width at its right, over its
	 * empty part after the logo, the backend link the last of them (a column of five chips of 20px), the timers in a
	 * second column to the left of it; 14px text.
	 * A message or an error goes to the top of the content (#notification_container, moved by ingame_base.js).
	 */
	.responsive #header {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		row-gap: 4px;
		width: auto;
		height: auto;
		padding: 0 8px 6px;
		background-image: none;
	}
	.responsive #header-home {
		position: relative;
		flex: 0 0 calc(100% + 16px);
		align-self: flex-start;
		width: auto;
		height: auto;
		aspect-ratio: 460 / 121;
		max-height: 121px;
		margin: 0 -8px;
		background: url('../images/layout/nl/header.jpg') 0 0 / auto 100% no-repeat;
	}
	.responsive #header-home-ref {
		inset: 0;
		width: auto;
		max-width: 480px;
		height: auto;
	}
	.responsive #header_status {
		display: contents;
	}
	.responsive #header_chips {
		display: flex;
		flex: 0 0 100%;
		gap: 4px;
		min-width: 0;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.responsive #header_chips::-webkit-scrollbar {
		display: none;
	}
	.responsive :is(#info, #infoleft) {
		display: contents;
	}
	.responsive #header :is(#info, #infoleft) > div, .responsive #header_chips > div.backend, .responsive #clock {
		display: flex;
		flex: none;
		align-items: center;
		box-sizing: border-box;
		width: auto;
		height: 24px;
		margin: 0;
		padding: 0;
		border: 1px solid rgb(255 255 255 / 7%);
		border-radius: 12px;
		background-color: rgb(255 255 255 / 5%);
		background-size: 0 0;
	}
	.responsive #infoleft > div {
		order: 1;
	}
	.responsive #header :is(#info, #infoleft, #header_chips) > div > a {
		display: flex;
		flex: 1;
		align-items: center;
		gap: 4px;
		padding: 0 9px 0 6px;
		font-size: 13px;
		line-height: 22px;
		white-space: nowrap;
	}
	/* the icon (in the header and in the stats bar) */
	.responsive :is(#info, #infoleft, #header_chips) > div > a {
		background-image: inherit;
		background-size: 0 0;
	}
	.responsive :is(#info, #infoleft, #header_chips) > div > a::before {
		content: '';
		flex: none;
		width: 16px;
		height: 16px;
		background-image: inherit;
		background-position: center;
		background-repeat: no-repeat;
	}
	.responsive #clock {
		gap: 4px;
		padding: 0 9px 0 6px;
		color: var(--color-sand);
		font-size: 14px;
		line-height: 22px;
		text-align: left;
	}
	/* the icon of the clock: its circle and two hands, as the timers of the stats bar */
	.responsive #clock::before {
		content: '';
		flex: none;
		width: 10px;
		height: 10px;
		margin: 1px;
		border: 2px solid var(--color-taupe);
		border-radius: 50%;
		background:
			linear-gradient(var(--color-taupe), var(--color-taupe)) 4px 1px / 2px 5px no-repeat,
			linear-gradient(var(--color-taupe), var(--color-taupe)) 5px 4px / 3px 2px no-repeat;
	}
	/* a phone: the bottom of the picture fades out, so it has no edge above the chips */
	@media (max-width: 719px) {
		.responsive #header-home {
			max-height: 56px;
			-webkit-mask-image: linear-gradient(#000 70%, transparent);
			mask-image: linear-gradient(#000 70%, transparent);
		}
		.responsive #clock {
			position: absolute;
			top: 16px;
			right: 8px;
		}
		/* the chips at the right, below the clock (a margin, so that a row that does not fit still scrolls to its start) */
		.responsive #header #info > div:first-child {
			margin-left: auto;
		}
	}
	@media (max-width: 359px) {
		.responsive #header-home {
			max-height: 52px;
		}
		.responsive #clock {
			top: 14px;
		}
		.responsive #header.chips_in_stats:not(:has(#header_chips > div.backend)) {
			padding-bottom: 0;
		}
		.responsive #header.chips_in_stats #header_chips:not(:has(> div.backend)) {
			display: none;
		}
		/* the backend link of an admin, which ingame_base.js leaves in the header: a chip at the right below the clock */
		.responsive #header_chips > div.backend {
			margin-left: auto;
			background-image: url('../images/icons/layers.svg');
		}
		.responsive #header_chips > div.backend > a {
			color: var(--color-taupe);
			text-decoration: none;
		}
	}
	@media (min-width: 720px) {
		.responsive #header_status {
			position: absolute;
			top: 6px;
			right: 8px;
			display: grid;
			grid-auto-flow: column;
			grid-template-rows: repeat(4, 24px);
			gap: 4px;
			direction: rtl; /* the first column at the right */
		}
		.responsive #header_chips {
			display: contents;
		}
		.responsive #header :is(#info, #infoleft) > div, .responsive #clock {
			direction: ltr;
		}
		.responsive #clock {
			order: -1;
		}
		.responsive #header :is(#info, #infoleft) > div > a, .responsive #clock {
			padding: 0 10px 0 6px;
			font-size: 14px;
		}
		/* the backend link of an admin the last chip of the column, below the level (XP); the timers in the next column */
		.responsive #info > div {
			order: 1;
		}
		.responsive #infoleft > div.backend {
			order: 2;
		}
		.responsive #infoleft > div:not(.backend) {
			order: 3;
		}
		.responsive #header_status:has(div.backend) {
			grid-template-rows: repeat(5, 20px);
		}
		.responsive #header_status:has(div.backend) :is(#info > div, #infoleft > div, #clock) {
			height: 20px;
		}
		.responsive #header_status:has(div.backend) :is(#info > div > a, #infoleft > div > a, #clock) {
			line-height: 18px;
		}
	}
	.responsive #notification_container {
		position: static;
		width: auto;
		text-align: left;
	}
	/*
	 * a message or an error that is shown (jQuery leaves display: none on the one that is not): a block at the top of the
	 * content in the colours of the fixed layout (#notification: dark text on green, span.error: white on dark red)
	 */
	.responsive #notification_container > span:not([style*="display:none"], [style*="display: none"]) {
		display: block;
		margin-bottom: 10px;
		padding: 8px 12px;
		font-size: 15px;
		line-height: 20px;
	}

	/*
	 * step 5: the stats bar
	 * The widgets (messages, storm, the airport or its timer, credits, bank, cash, the crime timers, ...; in the
	 * crew the crew credits, bank and cash) as chips of 36px in rows that share out the width, in the order of
	 * the page instead of floating from the right. The <div> around a timer (#crimewidgettimer, ...) and what
	 * its ajax refresh puts in it drop out, so its link is a chip too. The title of the page is in the menu
	 * bar instead (.menu_title). A chip of money shows its icon and amount: its label (span.stat_label) is
	 * only there for screen readers. The chips of messages and storm (an icon and a count) do not grow. A
	 * timer (a.crimetimer) is a chip as in the fixed layout: its time while it counts, its name in bold when it is ready.
	 * A tablet has one row that the chips fill; the timers are in a <div> (#stats_timers) that drops out there too.
	 * A phone has two rows. The first: messages, storm, cash, bank and credits (in the crew the crew credits, bank
	 * and cash), whose amounts are short (b.amount_short, €1,2M: the full amount is for screen readers only). The
	 * second (#stats_timers): the timers (and the airport, which the template puts there), smaller chips at
	 * their own width, sorted on the time until they are ready (the ready ones first, in the order of the page;
	 * then the one that is ready soonest, by --wait, its seconds left, which Widgets.php sets; then the links that
	 * are not a timer), in a row that scrolls sideways, fading out at the side that scrolls (ingame_base.js marks
	 * it as it does the tabs). A timer that counts is sunk into
	 * the bar (the colour of a chip under the mouse in the fixed layout) with its name in grey before its time
	 * (span.timer_name, only shown here); a ready one is the chip of the fixed layout with its name in bold. The
	 * links to the forum, the shop and the stocks are left out, the menu has them.
	 */
	.responsive #stats {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: stretch;
		gap: 4px;
		width: auto;
		height: auto;
		margin-bottom: 8px;
		padding: 8px;
	}
	.responsive #title {
		display: none;
	}
	.responsive #stats > div:not(#title),
	.responsive #stats > div:not(#title) div {
		display: contents;
	}
	.responsive #stats a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		box-sizing: border-box;
		flex: 1 1 auto;
		float: none;
		min-width: 44px;
		max-width: 100%;
		height: auto;
		min-height: 36px;
		margin: 0;
		padding: 0 8px;
		color: var(--color-sand) !important;
		font-size: 14px;
		line-height: 18px;
		text-align: center;
		white-space: nowrap;
	}
	.responsive #stats a.newmessages {
		flex-grow: 0;
	}
	.responsive #stats :is(b, span) {
		font-size: inherit;
	}
	.responsive #stats img {
		position: static;
		flex: none;
	}
	.responsive #stats .stat_label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
	/* the digits of a counting timer have one width, so the chips around it do not shift every second */
	.responsive #stats a.crimetimer[id] {
		font-variant-numeric: tabular-nums;
	}
	/* a phone: two rows right below the header and above the menu, the second (the timers) scrolls sideways */
	@media (max-width: 719px) {
		.responsive #stats {
			position: relative; /* holds the hidden labels (span.stat_label) and amounts */
			padding: 6px 8px;
			margin-bottom: 0;
		}
		.responsive #stats > a {
			min-width: 36px;
			min-height: 32px;
			padding: 0 6px;
			gap: 4px;
		}
		/* the first row: messages and storm, then cash, bank and credits, tighter than on a tablet so they fit in one row (below 360px also smaller) */
		.responsive #stats > a.newmessages {
			order: -3;
		}
		.responsive #stats > a:has(> #cash) {
			order: -2;
		}
		.responsive #stats > a:has(> #bank) {
			order: -1;
		}
		.responsive #stats b.amount_short {
			display: inline;
		}
		.responsive #stats b:has(+ b.amount_short) {
			position: absolute;
			width: 1px;
			height: 1px;
			overflow: hidden;
			clip-path: inset(50%);
			white-space: nowrap;
		}
		/* the second row: the timers */
		.responsive #stats > div#stats_timers {
			display: flex;
			flex: 1 1 100%;
			gap: 4px;
			min-width: 0;
			overflow-x: auto;
			overflow-y: hidden;
			overscroll-behavior-x: contain;
			scrollbar-width: none;
		}
		.responsive #stats_timers::-webkit-scrollbar {
			display: none;
		}
		/* no timers (the crew has none): no row, unless the chips of the header are there (below 360px) */
		.responsive #stats > div#stats_timers:not(:has(a)) {
			display: none;
		}
		.responsive #stats_timers.tabs_more {
			--fade-right: 32px;
		}
		.responsive #stats_timers.tabs_back {
			--fade-left: 32px;
		}
		.responsive #stats_timers:is(.tabs_more, .tabs_back) {
			-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade-left, 0px), #000 calc(100% - var(--fade-right, 0px)), transparent);
			mask-image: linear-gradient(to right, transparent, #000 var(--fade-left, 0px), #000 calc(100% - var(--fade-right, 0px)), transparent);
		}
		/* the links that are not a timer (the city, R66 when there is no heist to do, jobs when there are none left today) at the end */
		.responsive #stats_timers a {
			flex: 0 0 auto;
			order: 999999999;
			min-width: 0;
			min-height: 28px;
			padding: 0 7px;
			gap: 4px;
			font-size: 13px;
		}
		.responsive #stats_timers a.timer_ready {
			order: 0;
		}
		.responsive #stats_timers a.timer_wait {
			order: var(--wait);
			background-color: var(--color-brown-dark);
			color: #a8a39d !important;
		}
		.responsive #stats_timers a.timer_wait b {
			color: inherit;
		}
		.responsive #stats_timers .timer_name {
			display: inline;
			opacity: .75;
		}
		.responsive #stats_timers a.timer_ready b {
			color: var(--color-sand-light);
		}
		.responsive #stats_timers a:is([href="forum/active"], [href="shop/"], [href="stocks/"]) {
			display: none;
		}
		/* below 360px the chips of the header are here too (see the header): the timers (#infoleft) with the
		   ready ones, the rank, position and level at the end */
		.responsive #stats_timers #infoleft a {
			order: 0;
		}
		.responsive #stats_timers #info a {
			order: 1000000000;
		}
	}
	@media (max-width: 359px) {
		.responsive #stats > a {
			padding: 0 5px;
			font-size: 13px;
		}
	}

	/*
	 * step 5: the menu
	 * The red bar of 36px holds one button, "Menu" (#menu_toggle, hidden outside this layout) with the title of
	 * the page after it (on a tablet at the right), instead of the five headings; a tap opens #menu_overlay below it, in the flow: each list
	 * under its heading (its data-heading, the text of the matching #menu span), its links in rows of 40px,
	 * two side by side below 480px, more where they fit; on a tablet the five lists side by side, each a column.
	 * A line between the rows, none below the last row (the list clips the line of its last row); the link to
	 * the part of the game the page is in (aria-current, set by ingame_base.js) is white on a lighter row. A
	 * second tap closes it, on a phone so does the button "Sluiten" at its end (button.menu_close, hidden outside
	 * this layout). ingame_base.js keeps hover from opening or closing it here, and on a phone scrolls the menu to
	 * the top of the screen when it opens, and back to it when it closes. On a phone the bars above and below it touch,
	 * only the content tabs keep 8px from it, as on a tablet.
	 */
	.responsive #menu {
		width: auto;
		height: auto;
		margin-bottom: 8px;
		padding: 0;
	}
	.responsive #menu > span {
		display: none;
	}
	.responsive #menu.menu_open {
		border-radius: var(--radius-box) var(--radius-box) 0 0;
	}
	.responsive #menu_toggle {
		position: relative; /* above the texture of #menu::before */
		display: flex;
		flex: 1;
		align-items: center;
		gap: 12px;
		height: 36px;
		margin: 0;
		padding: 0 16px;
		border: 0;
		background: none;
		color: var(--color-white);
		font: bold 18px 'Delicious', sans-serif;
		text-transform: uppercase;
		text-shadow: 1px 1px 1px var(--color-menu-shadow);
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	/* the title of the page, after the label */
	.responsive #menu_toggle .menu_title {
		flex: 0 1 auto;
		min-width: 0;
		padding-left: 12px;
		border-left: 1px solid rgb(255 255 255 / 25%);
		color: var(--color-pink);
		font: 14px/20px 'Roboto', Arial, sans-serif;
		text-transform: none;
		text-shadow: none;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.responsive #menu_toggle .menu_title:empty {
		display: none;
	}
	/* three bars in front of the label */
	.responsive #menu_toggle::before {
		content: '';
		flex: none;
		width: 20px;
		height: 14px;
		background:
			linear-gradient(var(--color-white), var(--color-white)) 0 0 / 100% 2px no-repeat,
			linear-gradient(var(--color-white), var(--color-white)) 0 50% / 100% 2px no-repeat,
			linear-gradient(var(--color-white), var(--color-white)) 0 100% / 100% 2px no-repeat;
		filter: drop-shadow(1px 1px 1px var(--color-menu-shadow));
	}
	/* a chevron at the right, pointing up while the menu is open */
	.responsive #menu_toggle::after {
		content: '';
		width: 8px;
		height: 8px;
		margin: -4px 4px 0 auto;
		border: solid var(--color-white);
		border-width: 0 2px 2px 0;
		transform: rotate(45deg);
	}
	.responsive #menu_toggle[aria-expanded="true"]::after {
		margin-top: 6px;
		transform: rotate(-135deg);
	}
	.responsive #menu_toggle:focus-visible {
		outline: 2px solid var(--color-pink);
		outline-offset: -4px;
		border-radius: var(--radius-box);
	}
	.responsive #menu_overlay {
		position: static;
		box-sizing: border-box;
		width: auto;
		margin: -8px 0 8px;
		padding: 0 12px 10px;
		border-top: 1px solid var(--color-red-light);
	}
	.responsive #menu_overlay ul {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
		column-gap: 12px;
		float: none;
		margin: 0;
		padding: 0;
		overflow: hidden;
	}
	.responsive #menu_overlay ul::before {
		content: attr(data-heading);
		grid-column: 1 / -1;
		padding: 14px 0 4px;
		color: var(--color-white);
		font: bold 16px 'Delicious', sans-serif;
		text-transform: uppercase;
		text-shadow: 1px 1px 1px var(--color-menu-shadow);
	}
	.responsive #menu_overlay li {
		width: auto;
		margin-bottom: -1px;
		padding: 0;
	}
	.responsive #menu_overlay li.last {
		border-bottom-color: var(--color-red-light);
	}
	.responsive #menu_overlay a {
		--button-top: calc(50% - 6px);
		display: flex;
		align-items: center;
		box-sizing: border-box;
		min-height: 40px;
		padding: 2px 0 2px 20px;
		color: var(--color-pink);
		font-size: 14px;
		line-height: 17px;
		text-box: normal;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive #menu_overlay a:is(:active, [aria-current="page"]) {
		color: var(--color-white);
	}
	.responsive #menu_overlay a:active::before {
		border-color: var(--color-white);
		background-color: var(--color-white);
	}
	.responsive #menu_overlay a[aria-current="page"] {
		margin: 0 -6px;
		padding-left: 26px;
		border-radius: var(--radius-control);
		background-color: rgb(255 255 255 / 8%);
	}
	.responsive #menu_overlay a[aria-current="page"]::before {
		left: 6px;
	}
	.responsive #menu_overlay a[aria-current="page"]::after {
		left: 9px;
	}
	@media (max-width: 479px) {
		.responsive #menu_overlay ul {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
	}
	/* the button at the end that closes the menu: a row of 40px with a chevron pointing up, on a phone only */
	.responsive #menu_overlay .menu_close {
		display: none;
	}
	@media (max-width: 719px) {
		.responsive #menu {
			margin-bottom: 0;
		}
		.responsive #menu_overlay {
			margin: 0;
		}
		/* the content tabs keep the gap of 8px of a tablet from the menu bar (and from the opened menu) */
		.responsive #menu_overlay + .tabs {
			margin-top: 8px;
		}
		.responsive #menu_overlay .menu_close {
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 10px;
			box-sizing: border-box;
			width: calc(100% + 24px);
			height: 40px;
			margin: 10px -12px -10px;
			padding: 0;
			border: 0;
			border-top: 1px solid var(--color-red-light);
			background: rgb(0 0 0 / 12%);
			color: var(--color-white);
			font: bold 16px 'Delicious', sans-serif;
			text-transform: uppercase;
			text-shadow: 1px 1px 1px var(--color-menu-shadow);
			cursor: pointer;
			-webkit-tap-highlight-color: transparent;
		}
		.responsive #menu_overlay .menu_close::after {
			content: '';
			width: 8px;
			height: 8px;
			margin-top: 5px;
			border: solid var(--color-white);
			border-width: 0 2px 2px 0;
			transform: rotate(-135deg);
		}
		.responsive #menu_overlay .menu_close:focus-visible {
			outline: 2px solid var(--color-pink);
			outline-offset: -4px;
		}
	}
	/* a tablet: the title of the page at the right, next to the chevron, so the bar is balanced */
	@media (min-width: 720px) {
		.responsive #menu_toggle .menu_title {
			margin-left: auto;
			padding-left: 0;
			border-left: 0;
		}
		.responsive #menu_toggle::after {
			margin-left: 0;
		}
		/* a page without a title: the chevron at the right all the same */
		.responsive #menu_toggle:has(.menu_title:empty)::after {
			margin-left: auto;
		}
	}
	/* a tablet: the five lists side by side, each its heading above a column of links */
	@media (min-width: 720px) {
		.responsive #menu_overlay {
			display: flow-root;
			padding: 0 8px 10px;
		}
		.responsive #menu_overlay ul {
			float: left;
			box-sizing: border-box;
			width: 20%;
			grid-template-columns: minmax(0, 1fr);
			padding: 0 8px;
		}
	}

	/*
	 * step 5: the tabs
	 * The tabs above the content and the chat tabs: one row of tabs of 36px (as high as the menu bar) that
	 * scrolls sideways (without a scrollbar) instead of wrapping, so a long row (crew) does not wrap one tab onto
	 * a row of its own; ingame_base.js scrolls the current tab into view, and marks a row that can scroll further
	 * to the right (tabs_more) or back to the left (tabs_back): that side fades out.
	 */
	.responsive .tabs {
		width: auto;
		height: auto;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.responsive .tabs::-webkit-scrollbar {
		display: none;
	}
	.responsive :is(.tabs, #header_chips).tabs_more {
		--fade-right: 40px;
	}
	.responsive :is(.tabs, #header_chips).tabs_back {
		--fade-left: 40px;
	}
	.responsive :is(.tabs, #header_chips):is(.tabs_more, .tabs_back) {
		-webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade-left, 0px), #000 calc(100% - var(--fade-right, 0px)), transparent);
		mask-image: linear-gradient(to right, transparent, #000 var(--fade-left, 0px), #000 calc(100% - var(--fade-right, 0px)), transparent);
	}
	.responsive .tabs ul {
		display: flex;
		gap: 3px;
		width: max-content;
		padding: 0 8px;
	}
	.responsive .tabs ul li {
		flex: none;
		float: none;
		height: 36px;
		margin: 0;
		line-height: 36px;
	}
	.responsive .tabs ul li a {
		padding: 0 14px;
		color: var(--color-taupe);
		white-space: nowrap;
		-webkit-tap-highlight-color: transparent;
	}
	@media (min-width: 720px) {
		.responsive .tabs ul li a {
			padding: 0 10px;
		}
	}

	/*
	 * step 5: the chat
	 * The chat box under the content as wide as the screen; the messages wrap, the field and its button are
	 * 40px high (the 16px text of the field keeps phones from zooming in on it).
	 */
	.responsive .chatbox_container {
		width: auto;
		padding: 8px;
	}
	.responsive .chatbox_container > .white_box {
		margin-bottom: 0;
	}
	.responsive .chatmessages li {
		overflow-wrap: anywhere;
	}
	.responsive .chat_form input {
		height: 40px;
		font-size: 16px;
	}
	.responsive .chat_form .greenbutton {
		min-width: 0;
		height: 40px;
		line-height: 38px;
	}
	/*
	 * the messages: lower while there are few (instead of the 160px of the fixed layout), then they scroll;
	 * a phone: less padding, so the field gets the width; a tablet: room for more messages
	 */
	.responsive #msgContainer {
		height: auto !important;
		min-height: 120px;
		max-height: 160px;
	}
	@media (max-width: 719px) {
		.responsive .chatbox_container > .white_box {
			padding: 12px;
		}
	}
	@media (min-width: 720px) {
		.responsive #msgContainer {
			max-height: 220px;
		}
	}

	/*
	 * step 5: the footer
	 * As wide as the screen: its links centred in rows, 40px high and larger (13px, 14px on a tablet), without
	 * the '|' between them (b.sep); the copyright on a line of its own, below it the design and the render time in
	 * small. Below it room for the friends bar, so it does not cover the end of the page.
	 */
	.responsive #footer {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		column-gap: 16px;
		width: auto;
		margin: 0 8px 55px;
		text-align: center;
		line-height: 20px;
	}
	.responsive #footer, .responsive #footer a {
		color: var(--color-grey);
		font-size: 13px;
	}
	@media (min-width: 720px) {
		.responsive #footer, .responsive #footer a {
			font-size: 14px;
		}
	}
	.responsive #footer a {
		display: inline-block;
		padding: 10px 4px;
	}
	.responsive #footer b.sep {
		display: none;
	}
	.responsive #footer .footer_copyright {
		flex: 0 0 100%;
		order: 1;
		white-space: nowrap;
	}
	.responsive #footer .footer_copyright a {
		padding-left: 0;
		padding-right: 0;
	}
	.responsive #footer br {
		display: none;
	}
	.responsive #footer :is(small, .footer_rt) {
		order: 2;
		color: var(--color-grey);
		font-size: 10px;
	}
	/* the design: 11px in a grey that reads on the black of the page */
	.responsive #footer small {
		color: var(--color-grey);
		font-size: 11px;
	}
	/* !important beats the inline font-size of the fixed layout */
	.responsive #footer .footer_rt {
		order: 3;
		font-size: 10px !important;
	}

	/*
	 * step 5: the friends bar
	 * Fixed at the bottom right, 8px from the edges: the friends tab and the button to the top as round dark
	 * buttons of 40px that float above the page; the list of online friends opens above it, wider and anchored
	 * to the right edge of the screen, and scrolls when it is longer than the screen. #footer leaves room for
	 * it at the end. It shows on every device (bottombar.css hides it on the iPad and phones in the fixed
	 * layout). The friends tab shows its label and the number of friends online in a badge (green when there
	 * are any); a phone shows two people instead of the label (span.friends_more holds the rest of the text of
	 * the fixed layout, '(' and ' online)'). It fades out (bar_hidden, set by ingame_base.js) while the menu is
	 * open and while the chat is on the screen or its field has the focus, so it does not cover their links and
	 * buttons.
	 */
	.responsive #bar {
		display: block;
		right: 8px;
		bottom: 8px;
		height: 40px;
		transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	}
	.responsive #bar.bar_hidden {
		visibility: hidden;
		opacity: 0;
		transform: translateY(8px);
	}
	@media (prefers-reduced-motion: reduce) {
		.responsive #bar {
			transition: none;
		}
	}
	.responsive #bar > ul {
		display: flex;
		flex-direction: row-reverse;
		gap: 4px;
		float: none;
		width: auto;
	}
	.responsive #bar > ul > li {
		float: none;
		margin: 0;
		padding: 0;
		position: static;
	}
	.responsive #bar > ul > li > a {
		display: flex;
		align-items: center;
		box-sizing: border-box;
		height: 40px;
		padding: 0 12px;
		border-radius: 20px;
		background-color: var(--color-grey-dark);
		box-shadow: 0 2px 6px rgb(0 0 0 / 45%);
		color: var(--color-sand);
		font-size: 13px;
		-webkit-tap-highlight-color: transparent;
	}
	.responsive #scrollup a {
		width: 40px;
		padding: 0;
		background-position: center;
	}
	.responsive #bar .subpanel {
		left: auto;
		right: 0;
		bottom: 48px;
		width: min(280px, calc(100vw - 16px));
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		box-shadow: 0 -2px 8px rgb(0 0 0 / 40%);
	}
	.responsive #bar h3 {
		padding: 0 12px;
		line-height: 40px;
		font-size: 14px;
	}
	.responsive #bar h3 span {
		line-height: 40px;
	}
	/* the label and the number of the friends tab (a flex row) keep the spaces between them */
	.responsive #friendspanel > a.friends > span {
		white-space: pre;
	}
	.responsive #friendspanel .subpanel li {
		display: flex;
		align-items: center;
		margin: 0 8px;
		padding: 0;
		font-size: 13px;
	}
	.responsive #friendspanel .subpanel li a.usr {
		display: flex;
		flex: 1;
		align-items: center;
		gap: 6px;
		min-width: 0;
		min-height: 40px;
		padding: 0;
		overflow-wrap: anywhere;
	}
	.responsive #friendspanel .subpanel li > span {
		float: none !important;
	}
	.responsive #friendspanel .subpanel li > span a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
	}
	.responsive #friendspanel > a.friends {
		gap: 8px;
		padding: 0 10px 0 14px;
	}
	.responsive #friendspanel .friends_more {
		display: none;
	}
	.responsive #friendspanel .friends_count {
		box-sizing: border-box;
		min-width: 20px;
		height: 20px;
		padding: 0 6px;
		border-radius: 10px;
		background-color: var(--color-green);
		color: var(--color-white);
		font-size: 12px;
		font-weight: bold;
		line-height: 20px;
		text-align: center;
	}
	.responsive #friendspanel a.friends[data-online="0"] .friends_count {
		background-color: rgb(255 255 255 / 10%);
		color: var(--color-sand);
	}
	/* a phone: two people instead of the label, which is only there for screen readers */
	@media (max-width: 719px) {
		.responsive #friendspanel > a.friends {
			gap: 6px;
			padding: 0 10px 0 12px;
		}
		.responsive #friendspanel > a.friends::before {
			content: '';
			width: 20px;
			height: 16px;
			background:
				radial-gradient(circle at 7px 4.5px, currentColor 3.5px, transparent 4px),
				radial-gradient(7px 6px at 7px 16px, currentColor 95%, transparent),
				radial-gradient(circle at 15px 5.5px, currentColor 2.5px, transparent 3px),
				radial-gradient(5px 5px at 15.5px 16px, currentColor 95%, transparent);
		}
		.responsive #friendspanel .friends_label {
			position: absolute;
			width: 1px;
			height: 1px;
			overflow: hidden;
			clip-path: inset(50%);
			white-space: nowrap;
		}
	}
}

.clear:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/*
 * Stats
 */
#stats {
	width: 932px;
	min-height: 36px; /* image: 42px; a second row of chips when they do not fit in one */
	border-radius: var(--radius-box);
	/* worn: darker at the left and along the edges, with streaks of uneven width */
	background:
		radial-gradient(90px 30px at 70px 50%, rgb(0 0 0 / 6%), transparent),
		radial-gradient(60px 20px at 205px 45%, rgb(255 255 255 / 3%), transparent),
		repeating-linear-gradient(to right, transparent 0 11px, rgb(0 0 0 / 4%) 11px 12px, transparent 12px 23px) 0 0 / 150px 100% no-repeat,
		repeating-linear-gradient(to right, transparent 0 25px, rgb(0 0 0 / 3%) 25px 27px, transparent 27px 37px) 0 0 / 300px 100% no-repeat,
		linear-gradient(to right, rgb(0 0 0 / 5%), transparent 160px),
		var(--color-stats-bar);
	box-shadow: inset 0 2px 2px -1px rgb(0 0 0 / 12%), inset 0 -2px 2px -1px rgb(0 0 0 / 12%), inset 2px 0 3px -1px rgb(0 0 0 / 15%);
	color: var(--color-taupe);
	padding-top: 6px;
	padding-left: 20px;
	padding-right: 8px;
	margin-bottom: 4px;
	/* the chips from the right, in the order of the page, as floats at the right would be; the <div>s around them
	   (#stats_timers, #airportwidgettimer, #crimewidgettimer, ...) drop out, so their links are chips too */
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
	align-items: flex-start;
}
#stats > div:not(#title), #stats > div:not(#title) div {
	display: contents;
}
/* the airport (in #stats_timers, where a phone has it in the row of timers) after the messages and storm */
#stats a.newmessages {
	order: -2;
}
#stats :where(#airportwidgettimer a, #stats_timers > a[href="airport/"]) {
	order: -1;
}

.statswidgets a {
	float: none !important;
}

#stats a, .statswidgets a {
	padding: 5px 5px;
	height: 20px;

	display:block;

	float: right;
	vertical-align: middle;

	margin-left: 8px;
	font-size: 11pt;
	background-color: var(--color-brown-light);

	-moz-border-radius: 4px;
	border-radius: var(--radius-control);

	text-decoration:none !important;
	color: #a8a39d !important;
}
#stats a:hover, .statswidgets a:hover {
	background-color: var(--color-brown-dark);
}
#stats b, .statswidgets b {
	color: var(--color-sand-light);
}
/* the name of a timer that counts and the short amount of cash and bank: only in the stats bar of a phone */
.timer_name, b.amount_short {
	display: none;
}
#stats img {
	position:relative;
	top:2px;
}


img {
	border:0px;
}
#title {
	position: absolute;
	top: 135px;
	left: 20px; /* the padding of #stats: without it, it would be where a flex item of #stats starts, at the right */
	color: var(--color-sand-light);
	font-weight: bold;
}
/*
 * Menu overlay
 */

#menu_overlay {
	position: absolute;
	z-index: 1000;
	top: 204px;
	left:0px;
	width: 960px;

	border-radius: 0 0 var(--radius-box) var(--radius-box);
	background-color: var(--color-red);
}
#menu_overlay div {
	background-color: var(--color-red);
}
#menu_overlay ul {
	float: left;
	padding:0px;
	margin:0px;
	margin-left: 26px;
	margin-top: 5px;
	padding-bottom: 15px;
	margin-right: 40px;
}
#menu_overlay li {
	width: 126px;
	list-style:none;
	padding: 0px;
	margin: 0px;
	padding-bottom: 3px;
	padding-top: 2px;
	border-bottom: 1px solid var(--color-red-light);
}
div.last, tr.last, li.last {
	background:none !important;
}
#menu_overlay li.last {
	border-bottom-color: transparent;
}
#menu_overlay a {
	--button-top: 5px; /* the middle of the 12px button at the middle of the capitals of Roboto */
	position: relative;
	color: var(--color-pink);
	text-decoration: none;
	font-size: 9pt;
	padding-left: 18px;
	padding-top: 4px;
	padding-bottom: 0px;
	display: block;
}
/* where the line can be cut down to its capitals, the button is centred on them in any font */
@supports (text-box: trim-both cap alphabetic) {
	#menu_overlay a {
		/* 6px of padding minus half of the button, on a whole pixel like the baseline below it */
		--button-top: round(up, 0.5cap, 1px);
		text-box: trim-both cap alphabetic;
		padding-top: 6px;
		padding-bottom: 3.5px;
	}
}
#menu_overlay a:hover {
	color:var(--color-white);
}
/* the button with two arrows in front of each link, white when the link is hovered */
#menu_overlay a::before, #menu_overlay a::after {
	content: '';
	position: absolute;
	left: 0;
	top: var(--button-top);
}
#menu_overlay a::before {
	width: 11px;
	height: 10px;
	border: 1px solid #b81e1e;
	border-radius: 2px;
	background-color: #a91010;
}
#menu_overlay a:hover::before {
	border-color: var(--color-white);
	background-color: var(--color-white);
}
#menu_overlay a::after {
	left: 3px;
	top: calc(var(--button-top) + 3px);
	width: 7px;
	height: 6px;
	background-color: var(--color-pink);
	clip-path: path('M0 0H1V1H2V2H3V4H2V5H1V6H0V4H1V2H0ZM4 0H5V1H6V2H7V4H6V5H5V6H4V4H5V2H4Z');
}
/* tabs */

.tabs {
	height: 30px;
	width: 928px;
	margin: auto;
}
.tabs ul {
	padding-left:7px;
	margin:0px;
}
.tabs li {
	padding: 0px;
	margin: 0px;
	height: 27px;
	margin-top: 3px;
	overflow: hidden;
	float: left;
	display: inline;
	margin-left: 3px;
	line-height:27px;
	vertical-align:middle;

	background-color: #47443d;

	border-top-left-radius: var(--radius-box);
	border-top-right-radius: var(--radius-box);
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
}
.tabs ul li.current {
	background-color: var(--color-brown);
}
.tabs ul li.closebtn {
	float: right;
	margin-right: 10px;
	padding-top: 7px;
}
.tabs ul li a {
	color: #69655c;
	text-decoration: none;
	display:block;
	padding: 0px 10px;
}
.tabs ul li.current a, .tabs #tabs ul li a:hover {
	color:#dcd5cb;
}

th {
	background-repeat: no-repeat;
	padding: 0px 5px;
	text-align:center;
}
.black_box th {
	/* background-image: url('../images/layout/th-border-black.gif'); */
}
.white_box th {
	/* background-image: url('../images/layout/th-border.gif'); */
}

th div {
	background-color: var(--color-green);
	background-repeat: no-repeat;
	background-position: 100% 100%;
  border-radius: var(--radius-control);
	color: var(--color-green-light);
	font-size: 9pt;
	vertical-align: middle;
	line-height: 24px;
	height: 24px;
}
.white_box th div {
	/* background-image: url('../images/layout/th-border.gif'); */
}
.black_box th div {
	/* background-image: url('../images/layout/th-border-black.gif'); */
}

.white_box tr.row {
	background-repeat: repeat-x;
	background-image: var(--hr-line);
	background-position: bottom center;
	background-size: 100% 2px;
}
.black_box tr.row {
	background-repeat: repeat-x;
	background-image: url('../images/layout/hr-black.png');
	background-position: bottom center;
}
img.header {
	width: 170px;
	height: 30px;
	margin-bottom: 3px;
}

.h {
	cursor:pointer;
}
td.c, div.c, span.c {
	text-align:center;
}
td.r, div.r, span.r {
	text-align:right;
}
.grey {
	color:var(--color-stone) !important;
}



td.money {
	text-align:right;
	padding-right:20px;
}

div.money {
	text-align:right;
}


.white_box h3 {
	display:inline;
}
.white_box a {
	color: var(--color-brown);
}
.white_box a:hover {
	text-decoration:underline;
}
#header a, .black_box a {
	text-decoration:underline;
	color: var(--color-sand);
}
#header a:hover, .black_box a:hover {
	text-decoration:none;
}
form {
	display:inline;
}

.black_box span.textfield input {
	background-image: url('../images/layout/input-bg-right-black.png');
	background-color: transparent;
	background-position:right center;
	background-repeat:no-repeat;

	color: var(--color-brown);
	font-size: 11pt;
	border:0px;
	padding: 4px;
	padding-bottom: 3px;
	padding-left: 0px;
	padding-right: 4px;
	height:23px;
	margin:0px;
	margin-left:4px;
	display: inline-block;
}
.black_box span.textfield {
	background-image: url('../images/layout/input-bg-left-black.png');
	background-color: var(--color-sand);
	background-repeat: no-repeat;
	height:29px;
	display: block;
	float:left;
}

span.bar {
	background-image:url('../images/layout/bar-bg.gif');
	width:90px;
	height:15px;
	margin-top:2px;
	margin-left:3px;
	margin-right:3px
}
span.bar_green {
	background-image:url('../images/layout/bar-green-left.gif');
	display:block;
	margin-top:2px;
	margin-left:2px;
	height:11px;
}


/*
FORUM > TOPIC
*/


div.topic_message_box, div.topic_message_box div, div.topic_message_box div div, div.topic_message_box div div div {
	background-image: url('../images/layout/topic-borders.gif');
	background-repeat: no-repeat;
}
div.topic_message_box {
	float: left;
	width: 600px;
	background-color:#d7d3cb;
	background-position: 0px 0px;
}
div.topic_message_box div {
	background-position: 100% 0%;
}
div.topic_message_box div div {
	background-position: 100% 100%;
}
div.topic_message_box div div div {
	background-position: 0% 100%;
	padding: 10px;

	min-height:50px;
	height:auto !important; /* voor moderne Browser */
	height:50px; /*voor IE6 */
}

/* a line (give it a width): a dark 1px line on a light 1px line, it shrinks with its box. It stands in a
   line of text like the image it replaces (images/layout/hr.png), so the space around it stays the same. */
div.hr_line {
	display: inline-block;
	vertical-align: baseline;
	height: 2px;
	max-width: 100%;
	background-image: var(--hr-line);
}
/* the line between two posts: 600px at the right, 18px from the edge */
div.forum_hr {
	display: block;
	clear: both;
	width: 600px;
	max-width: calc(100% - 36px);
	margin: 10px 18px 10px auto;
}

div.topic_user_box {
	width: 253px;
	height: 39px; /* 46px + onderkant met data */
	background: var(--color-poster) url('../images/layout/topic-user-bg.png') no-repeat;
	padding-top: 7px;
	float: left;
}
div.topic_user_box div {
	height: 21px;
	width: 32px;
	padding: 9px 7px;
	margin-left: 8px;
	float: left;
}
div.topic_user_box span.grey {
	display:block;
	margin-top:8px;
	margin-left: 4px;
	font-size: 8pt;
	color:var(--color-stone);
}
/*div.topic_user_box span img {
	position: relative;
	top: 21px;
	left: 0px;
}*/

span.topic_date {
	display:block;
	font-size: 9pt;
	font-weight:bold;
	text-align:right;
	padding-bottom: 3px;
}
span.topic_date span {
	font-size: 9pt;
}

div.topic_message_box textarea {
	width:100%;
	height:100px;
	margin-top:2px;
}
.white_box textarea, .white_box input, .black_box input, .black_box textarea {
	color: var(--color-brown);
	font-size: 11pt;
	padding:2px;
	border:0px;
}
.black_box input {
	background-color: var(--color-sand);
}

/*
 * the dot before a name: its middle on the middle of the capitals of the name (in a browser without the cap unit it
 * stands on the baseline); the dot of a profile too
 */
img.online_icon, div.profile_online > img {
	vertical-align: calc((1cap - 8px) / 2);
}
img.online_icon {
	margin-right:3px;
	width:8px;
	height:8px;
}
img.usr {
	margin-right:3px;
	position:relative;
	top:1px;
	width: 14px;
	height: 14px;
}
/* an icon with a hat (Usericon) is 14x18, the hat in the 4 pixels above the head: they stick out above the line, so the
   icon takes the room of one without a hat and the text next to it stays where it was (every player icon, with
   or without class usr: the forum and the storms have none) */
img[src*="images/usericon/"][src*="/hat/"] {
	height: 18px;
	margin-top: -4px;
}
a.usr, a:hover.usr {
	text-decoration:none;
}
img.topic_icon {
	position:relative;
	top:2px;
	margin-right:3px;
	width:14px;
	height:16px;
}

input.smallsubmit {
	border:0px;
	padding:0px;
	color: var(--color-white);
	padding: 3px;
	background-color:var(--color-green);
}

img.quote {
	position: relative;
	top:2px;
}
.topic_message_box blockquote, .topic_message_box .blockquote {
	display:block;
	background-color:var(--color-white);
	margin:2px;
	padding:8px;
	color:grey;
}
.red {
	color:red !important;
}
.bold {
	font-weight:bold !important;
}

/* roulette/table.tpl: the fields of the board can be clicked (js/casino/roulette.js), the chip slides between them */
#roulettetable {
	display: block;
	max-width: 100%;
	height: auto;
	user-select: none;
}
#roulettetable [data-bet] {
	cursor: pointer;
	outline: none;
}
#roulettetable [data-bet]:focus-visible > rect:first-child {
	stroke: #ffd400;
	stroke-width: 2;
}
#roulettechip {
	pointer-events: none;
	transition: transform .15s;
}
/* roulette/index: the quick stakes below the field, small buttons in a row that wraps */
.roulette_stakes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 6px 0 8px;
}
.roulette_stakes button {
	min-width: 44px;
	height: 26px;
	padding: 0 8px;
	border: 1px solid var(--color-stone);
	border-radius: var(--radius-control);
	background: var(--color-grey-dark);
	color: var(--color-white);
	font: inherit;
	cursor: pointer;
}
.roulette_stakes button:hover {
	border-color: var(--color-green-light);
}
.pagelinks a {
	padding: 4px;
	color: var(--color-stone-light);
	text-decoration: none;
}
.pagelinks a:hover {
	background-color: #d9d5d1;
	text-decoration: none;
	font-weight: bold;

	-moz-border-radius: 3px;
	border-radius: var(--radius-small);
}

.smallpages a, .smallpages a:hover {
	text-decoration: none;
}

.white_box div.row, .black_box div.row {
	height:34px;
	background-repeat: repeat-x;
	background-position: bottom center;
}

.white_box div.hr {
	background-repeat: repeat-x;
	background-position: bottom center;
	background-image: var(--hr-line);
	background-size: 100% 2px;
}
.black_box div.hr {
	background-repeat: repeat-x;
	background-position: bottom center;
	background-image: url('../images/layout/hr-black.png');
}

.white_box div.row {
	background-image: var(--hr-line);
	background-size: 100% 2px;
}
.black_box div.row {
	background-image: url('../images/layout/hr-black.png');
}

.white_box div.row div, .black_box div.row div {
	float:left;
	overflow:hidden;
	white-space: nowrap;
	padding:8px;
	margin-right:3px;
}

div.th {
	background-repeat: no-repeat;
	padding: 0px 5px;
	margin:0px;
	text-align:center;
	float:left;
}

.black_box div.th {
	/* background-image: url('../images/layout/th-border-black.gif'); */
}
.white_box div.th {
	/* background-image: url('../images/layout/th-border.gif'); */
}


div.th div {
	background-color: var(--color-green);
	background-repeat: no-repeat;
	background-position: 100% 100%;
  border-radius: var(--radius-control);
	color: var(--color-green-light);
	font-size: 9pt;
	font-weight:bold;
	vertical-align: middle;
	line-height: 24px;
	height: 24px;
}

.white_box div.th div {
	/* background-image: url('../images/layout/th-border.gif'); */
}
.black_box div.th div {
	/* background-image: url('../images/layout/th-border-black.gif'); */
}

.poll_bar {
	height: 20px;
	padding-top: 3px;
	padding-left: 3px;
	background:none;
	background-color:var(--color-white);
	display:block;

	-moz-border-radius: 3px;
	border-radius: var(--radius-small);
}

.forum_pages_links {
	padding:3px;
	background-color:#bdb6ad;

	-moz-border-radius: 2px;
	border-radius: 2px;
}

#notification_container {
	position: absolute; top: 95px; width: 960px; text-align:center;
}

#notification, .notification, span.error {
	border-radius:var(--radius-small);
	-moz-border-radius:3px;

	color: var(--color-black);
	background-color: var(--color-green);
	padding: 4px 8px;
}

span.error {
	background-color: #940605 !important;
	color: var(--color-white);
}

a.btn {
	border-radius:var(--radius-box);
	background-color: var(--color-green);
	-moz-border-radius:5px;
	padding: 4px 8px;
	color:var(--color-white);
	text-decoration:none;
}
a:hover.btn {
	text-decoration:underline;
}

div.item_box {
	background-color:#eee;
	border-radius:var(--radius-box);
	-moz-border-radius:5px;
	width:400px;
	float:left;
	margin-right:10px;
	margin-bottom:10px;

	padding:8px;
	position:relative;
}

div.crimetype, div.crimetype_1, div.crimetype_2, div.crimetype_3, div.crimetype_4 {
	float:left;
	margin-right: 30px;
	font-size:10pt;
	font-weight:bold;
	text-align:center;
	cursor:pointer;
}

div#backtotypes {
	float:left;
	margin-right: 0px;
	font-size:10pt;
	font-weight:bold;
	text-align:center;
	cursor:pointer;
}

.notification {
	width:250px;
	font-size:11pt;
	background-color:var(--color-white);
	padding:5px;
	border-radius:var(--radius-box);
	-moz-border-radius:5px;
	margin-top:5px;
}

/* items/catalog: the result of buying, at the top left of the screen over the page (and its fields) */
#ajax_message {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 1000;
}

a.small {
	padding:1px;
	color: var(--color-green-dark); /* #940605*/
}
a:hover.small {
	background-color:var(--color-green-dark);
	color:var(--color-sand);
	text-decoration:none;
}

h2 {
	font-family: 'Ubuntu Condensed', sans-serif;
	color:var(--color-stone);
	display:block !important;
	margin:0px;
	margin-bottom:5px;
	font-size:28px;
}
.white_box h1, .white_box h2 {
	color: var(--color-stone);
	display:inline;
}
/* a name in a heading in capitals (upper_fixed): in capitals as the heading, below 960px the responsive layout keeps its own case */
.upper_fixed {
	font: inherit;
	text-transform: uppercase;
}

#info, #infoleft {
	position:absolute;
	right:0px;
	top:15px;
}
#infoleft {
	right: 200px;
}

#info div, #infoleft div {
	margin-bottom:5px;
	background-color:var(--color-white);
	background-color:var(--color-brown-light);
	border-radius: var(--radius-control);
	padding:4px 6px;
	padding-left:23px;
	color: var(--color-taupe);
}

#info > div.rank {
	background-image: url('../images/icons/star_1.svg');
	background-repeat:no-repeat;
	background-position: 4px 4px;
}

#info > div.position {
	background-image: url('../images/icons/medal_bronze_1.svg');
	background-repeat:no-repeat;
	background-position: 3px 1px;
	text-align:center;
}
#info > div.level {
	background-image: url('../images/icons/chart_line.svg');
	background-repeat:no-repeat;
	background-position: 4px 4px;
	text-align:center;
}
#infoleft > div.backend {
	background-image: url('../images/icons/layers.svg');
	background-repeat:no-repeat;
	background-position: 3px 3px;
	text-align:center;
}
#info > div.position {
	background-image: url('../images/icons/medal_bronze_1.svg');
	background-repeat:no-repeat;
	background-position: 3px 1px;
	text-align:center;
}
#infoleft > div.protectiontimer, #infoleft > div.prisontimer {
	background-repeat:no-repeat;

	text-align:center;
}
#infoleft > div.protectiontimer {
	background-position: 3px 3px;
	background-image: url('../images/icons/shield.svg');
}
#infoleft > div.prisontimer {
	background-image: url('../images/icons/building.svg');
	background-position: 5px 5px;
}

#info a, #infoleft a {
	color: var(--color-taupe);
	text-decoration:none;
}
#info a:hover, #infoleft a:hover {
	color: var(--color-sand-light);
}

#clock {
	background-color:var(--color-brown-light);
	color: var(--color-taupe);

	width:60px;
	font-size:14pt;
	font-family: 'Ubuntu Condensed', sans-serif;
	padding:2px 5px;
	border-radius:0 0 var(--radius-small) var(--radius-small);
	text-align:center;
}
#clock b {
	font-weight:normal;
	font-size:10pt;
}

input.img {
	text-indent:-9999px;
	cursor:pointer;
	width:108px;
	height:31px;
}

/* the attack popup: a box that grows with what is in it (like the recaptcha), with an arrow to the player on its right */
div.overlay_container {
	width: 444px;
	color: var(--color-sand);
}
div.overlay {
	/* the arrow is the 6px to the right of the box */
	margin-right: 6px;
	min-height: 78px;
	box-sizing: border-box;
	padding: 11px;
	padding-bottom: 15px;
	background-color: var(--color-overlay);
	border-radius: 6px;
	/* holds the floating buttons */
	display: flow-root;
}
div.overlay_container::after {
	content: "";
	position: absolute;
	right: 0;
	top: 20px;
	border: 6px solid transparent;
	border-right: 0;
	border-left-color: var(--color-overlay);
}

div.overlay a.button {
	background-color:var(--color-stone-light);
	-moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    -khtml-border-radius: 7px;
    border-radius: 7px;
	height:19px;
	color: #dbd7d1;
	text-decoration:none;
	float:left;
	display:block;
	padding:4px 15px 0px 15px;

	font-size:10pt;
	font-weight:bold;

	margin-right:12px;
}

div.overlay a.button:hover {
	background-color:var(--color-green);
	color: var(--color-white);
	text-decoration:none;
}

div.overlay a.usr, div.overlay a:hover.usr {
	color:var(--color-sand) !important;
	background:none !important;
	padding: 0px !important;
}

body {
	font-smooth: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

input {
	border-radius: var(--radius-small);
}
