html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dialog,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
:root {
	--display-font: 'Sylfaen', 'Noto Serif', 'Georgia', 'Cambria', serif;
	--ui-font: 'Noto Sans', 'Segoe UI', 'Helvetica Neue', 'Calibri', 'Arial', sans-serif;
}
html {
	background-color: #333;
	color: rgb(250, 250, 250);
	font-family: var(--display-font);
	font-size: 18px;
	margin: 0;
	padding: 0;
}
html.light-mode {
	background-color: #ddd;
	color: rgb(25, 25, 25);
}
@media only screen and (max-width: 700px) {
	html {
		font-size: 14px;
	}
}
@media only screen and (min-width: 701px) {
	*::-webkit-scrollbar {
		width: 12px;
		height: 12px;
		background-color: rgba(0, 0, 0, 0.25);
	}
	*::-webkit-scrollbar-corner {
		background-color: rgba(0, 0, 0, 0.25);
	}
	*::-webkit-scrollbar-thumb {
		background: linear-gradient(90deg, rgba(0, 0, 0, 0.0), rgba(127, 127, 127, 0.75));
		border: 1px solid rgba(0, 0, 0, 0.85);
		border-radius: 12px;
		box-shadow:
		0 0 4px rgba(0, 0, 0, 0.5) inset,
		0 0 8px rgba(0, 0, 0, 0.25);
	}
}
dialog {
	background-color: #333;
	color: rgb(250, 250, 250);
}
html.light-mode dialog {
	background-color: #ddd;
	color: rgb(25, 25, 25);
}
body {
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 1vmin;
	margin-bottom: 0.25vmin;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2.33em; }
h3 { font-size: 2.15rem; }
h4 { font-size: 1.9rem; }
h5 { font-size: 1.75rem; }
h6 { font-size: 1.6rem; }
p {
	margin-top: 0.3vmin;
	margin-bottom: 0.3vmin;
	line-height: 1.5;
}
em {
	font-style: italic;
}
strong {
	font-weight: bold;
}
.single-line {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
ul {
	list-style: circle outside;
}
ul > li {
	margin-left: max(22px, 6vmin);
	line-height: 1.2;
}
button {
	--base-key-color: rgb(240, 240, 240);
	--accent-key-color: rgb(200, 200, 200);
}
button {
	margin: 0 1px 1px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-family: var(--ui-font);
	box-shadow: 0 0.25vmin 0.5vmin rgba(0, 0, 0, 0.4);
	background: radial-gradient(circle at center, var(--base-key-color) 0%, var(--accent-key-color) 100%);
	border-top: max(2px, 0.2vmin) solid #666;
	border-left: max(2px, 0.2vmin) solid #666;
	border-bottom: max(2px, 0.2vmin) solid #222;
	border-right: max(2px, 0.2vmin) solid #222;
	border-radius: 5px;
}
button:active {
	box-shadow: 0 0.25vmin 1.0vmin rgba(0, 0, 0, 0.2);
	margin: 1px 0 0 1px;
	background: radial-gradient(at 10% 10%, var(--base-key-color) 0%, var(--accent-key-color) 150%);
	border-top-color: #222;
	border-left-color: #222;
	border-bottom-color: #666;
	border-right-color: #666;
}
button:disabled {
	--base-key-color: rgb(140, 140, 140);
	--accent-key-color: rgb(100, 100, 100);
	color: #444;
	box-shadow: 0 0.25vmin 1.0vmin rgba(0, 0, 0, 0.1);
}
button.small {
	margin: 0;
	padding: 0;
}
button.small:active {
	margin: 0;
}
.toggle {
	--accent-color: rgb(49, 49, 49);
	--true-color: rgb(33, 190, 71);
	--indicator-width: 25%;
	position: relative;
	min-width: 5vmin;
	min-height: min(30px, 5vmin);
	box-shadow: 0 0 0.5vmin rgba(0, 0, 0, 0.4);
	background: var(--accent-color);
	border: max(2px, 0.2vmin) solid #464646;
	border-radius: 10px;
	padding-left: 4px;
	padding-right: 4px;
}
.toggle > .indicator {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: var(--indicator-width);
	height: 100%;
	transition: left 0.3s ;
}
.toggle > .indicator > circle {
	fill: white;
}
.toggle[data-value~='true'] {
	background: radial-gradient(circle at right, var(--true-color) 0%, var(--accent-color) 100%);
}
.toggle[data-value~='true'] > .indicator {
	left: calc(100% - var(--indicator-width));
}
.toggle[data-value~='false'] > .indicator {
	left: 0;
}
table.calendar-month {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
.calendar-month > .calendar-week {
}
.calendar-month > .calendar-week > .calendar-day {
	position: relative;
	width: calc((100% / 7));
}
.calendar-month.with-border > .calendar-week > .calendar-day {
	border: 1px solid rgb(134, 134, 134);
}
.calendar-month.with-padding > .calendar-week > .calendar-day {
	padding: calc(2px + 1vmin);
	padding-top: max(14px, calc(3px + 1vmin));
}
.calendar-month > .calendar-week > .calendar-day > .day-number {
	position: absolute;
	top: 0;
	left: 1px;
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.5);
}
html.light-mode .calendar-month > .calendar-week > .calendar-day > .day-number {
	color: #000;
}
:root {
	--letter-color-correct: green;
	--letter-color-incorrect: rgb(75, 18, 31);
	--letter-color-wrong-place: rgb(190, 190, 20);
}
html.light-mode {
	--letter-color-incorrect: rgb(94, 16, 36);
}
:root {
	--keyboard-row-height: 60px;
	--keyboard-padding: 1.5vmin;
	--keyboard-border-top-size: 1px;
	--keyboard-max-width: 900px;
}
@media only screen and (min-width: 700px) and (max-width: 1200px) {
	:root {
		--keyboard-row-height: 50px;
		--keyboard-padding: 1.2vmin;
		--keyboard-border-top-size: 1px;
	}
}
@media only screen and (max-width: 700px) {
	:root {
		--keyboard-row-height: 50px;
		--keyboard-padding: 0.7vmin;
		--keyboard-border-top-size: 1px;
	}
}
:root {
}
.clue-number {
	font-weight: bold;
	background: black;
	color: white;
	text-align: center;
}
span.clue-number {
	display: inline-block;
	border-radius: 20%;
	background-color: rgba(0, 0, 0, 0.9);
	padding: 2px;
	line-height: 1.2;
	height: 1.2em;
	min-width: 1.2em;
}
body {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
}
#content-wrap {
	position: relative;
	flex-grow: 1;
	overflow-y: auto;
}
#content-wrap.with-modal {
	overflow: hidden;
	pointer-events: none;
}
#content-wrap.with-modal > #modal-mask {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.66);
	z-index: 50;
}
#content-wrap > #modal {
	display: none;
}
#content-wrap.with-modal > #modal {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 85vw;
	max-width: 1000px;
	height: 100%;
	display: block;
	opacity: 1.0;
	pointer-events: none;
	z-index: 2000;
	margin-left: auto;
	margin-right: auto;
	background: none;
}
@media only screen and (max-width: 600px) {
	#content-wrap.with-modal > #modal {
		width: 95vw;
	}
}
#keyboard-wrap {
	border-top: var(--keyboard-border-top-size) solid rgba(0, 0, 0, 1.0);
	box-shadow: 0 1vmin 4vmin rgba(255, 255, 255, 0.33);
	background: linear-gradient(rgba(77, 77, 77, 1.0) 0%, rgba(66, 66, 66, 1.0) 100%);
}
#keyboard.with-1-rows { height: calc(var(--keyboard-row-height) * 1); }
#keyboard.with-2-rows { height: calc(var(--keyboard-row-height) * 2); }
#keyboard.with-3-rows { height: calc(var(--keyboard-row-height) * 3); }
#keyboard.with-4-rows { height: calc(var(--keyboard-row-height) * 4); }
#keyboard.with-5-rows { height: calc(var(--keyboard-row-height) * 5); }
#keyboard.with-6-rows { height: calc(var(--keyboard-row-height) * 6); }
#keyboard.with-7-rows { height: calc(var(--keyboard-row-height) * 7); }
#keyboard.with-8-rows { height: calc(var(--keyboard-row-height) * 8); }
#keyboard {
	max-width: var(--keyboard-max-width);
	margin-left: auto;
	margin-right: auto;
	padding: 6px;
}
#header {
	background: linear-gradient(rgba(77, 77, 77, 1.0) 0%, rgba(66, 66, 66, 1.0) 100%);
	border-bottom: 2px solid rgb(127, 127, 127);
	margin-bottom: 2vmin;
	display: flex;
	flex-direction: row;
}
#header > * {
}
#header > #main-menu {
	padding: 1vmin;
}
#header > #main-menu > .menu-buttons {
	display: flex;
	flex-direction: row;
	gap: 0.5vmin;
}
#main-menu > .menu-buttons > button {
	width: min(8vmin, 40px);
}
#header > h1 {
	position: relative;
	top: 2px;
	color: #fff;
	font-size: 1.5rem;
	margin: 0;
	padding: 1vmin;
	text-align: center;
	text-shadow: 0 2px 0.5vmin rgba(0, 0, 0, 0.5);
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
}
#header > #current-puzzle-info {
	flex-grow: 1;
	display: flex;
	flex-direction: row;
	justify-content: right;
	align-items: center;
	text-align: center;
	margin-right: 1vmin;
	color: #fff;
}
.puzzle-header {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.puzzle-title {
	text-align: right;
	margin-right: 2vmin;
}
.puzzle-info::before {
	content: '(';
}
.puzzle-info::after {
	content: ')';
}
@media screen and (max-width: 600px) {
	.puzzle-info {
		display: block;
	}
}
#keyboard {
	display: flex;
	flex-direction: column;
	gap: 0.65vmin;
}
#keyboard > .keyboard-row {
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex: 1;
	gap: 0.65vmin;
}
@media only screen and (max-width: 700px) {
	#keyboard {
		gap: 2px;
	}
	#keyboard > .keyboard-row {
		gap: 2px;
	}
}
#keyboard > .keyboard-row > .keyboard-key {
	flex-grow: 1;
	max-width: 9%;
}
#keyboard > .keyboard-row > .keyboard-key.help-text {
	max-width: unset;
	display: flex;
	justify-content: center;
	align-items: center;
	height: var(--keyboard-row-height);
	overflow: hidden;
	text-overflow: ellipsis;
}
#keyboard > .keyboard-row > .keyboard-key.change-word {
	flex-grow: 1;
	min-width: 9%;
	max-width: 9%;
}
.keyboard-key.not-in-puzzle > button {
	--base-key-color: rgb(130, 130, 130);
	--accent-key-color: rgb(90, 90, 90);
	text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}
#keyboard > .keyboard-row > .keyboard-key.delete,
#keyboard > .keyboard-row > .keyboard-key.enter {
	max-width: 16%;
}
#keyboard > .keyboard-row > .keyboard-key > button {
	width: 100%;
	height: 100%;
}
#keyboard .word-info {
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: var(--display-font);
	color: #f0f0f0;
	padding-left: 6px;
	padding-right: 6px;
	overflow: hidden;
}
#keyboard .word-info .single-line {
	max-width: 75vw;
}
#crossword-grid-wrap {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: center;
}
button#solve {
	position: absolute;
	top: 2.2vmin;
	right: 2.2vmin;
	width: max(100px, 22vmin);
	font-size: 1rem;
	z-index: 1000;
}
.grid {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	--cell-size: max(26px, 2.5vmin);
}
.grid > .row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	position: relative;
}
.grid > .row > .cell {
	width: var(--cell-size);
	height: var(--cell-size);
	border: 1px solid #777;
	margin: 1px;
	padding: 0.25vmin;
	display: flex;
	justify-content: center;
	align-items: center;
	text-transform: capitalize;
	font-size: 1.2rem;
	transition:
	color 0.5s ease-in-out,
	background-color 0.5s ease-in-out;
}
@media only screen and (max-width: 700px) {
	.grid > .row > .cell {
		font-size: 1.25rem;
	}
}
.grid.crossword {
	background-color: #888;
}
.grid.crossword.solved {
	border: 2px solid green;
}
.grid.crossword > .row > .cell {
	background-color: #f3f3f3;
	color: #222;
	font-weight: bold;
	border-width: 0;
	margin: 1px;
	padding: calc(0.25vmin + 1px);
}
@keyframes loading-cell-background {
	0% { background-color: #fff; }
	50% { background-color: #000; }
	100% { background-color: #fff; }
}
.grid.crossword.loading .cell.anim {
	animation-name: loading-cell-background;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	--anim-speed: 125ms;
}
.grid.crossword.loading .cell.anim[data-x~="0"] { animation-delay: calc(var(--anim-speed) * 0); }
.grid.crossword.loading .cell.anim[data-x~="1"] { animation-delay: calc(var(--anim-speed) * 1); }
.grid.crossword.loading .cell.anim[data-x~="2"] { animation-delay: calc(var(--anim-speed) * 2); }
.grid.crossword.loading .cell.anim[data-x~="3"] { animation-delay: calc(var(--anim-speed) * 3); }
.grid.crossword.loading .cell.anim[data-x~="4"] { animation-delay: calc(var(--anim-speed) * 4); }
.grid.crossword.loading .cell.anim[data-x~="5"] { animation-delay: calc(var(--anim-speed) * 5); }
.grid.crossword.loading .cell.anim[data-x~="6"] { animation-delay: calc(var(--anim-speed) * 6); }
.grid.crossword.loading .cell.anim[data-x~="7"] { animation-delay: calc(var(--anim-speed) * 7); }
.grid.crossword.loading .cell.anim[data-x~="8"] { animation-delay: calc(var(--anim-speed) * 8); }
.grid.crossword.loading .cell.anim[data-x~="9"] { animation-delay: calc(var(--anim-speed) * 9); }
.grid.solver .cell {
	background-color: #999;
}
.grid .cell.missing {
	background-color: #fff;
	box-shadow: 0 0 5px rgba(0, 64, 127, 0.5) inset;
}
.grid.crossword .cell.cursor {
	background-color: cyan !important;
}
.grid.crossword .cell.pending {
	background-color: #dfcdb7;
}
.grid > .row > .cell.correct {
	background-color: var(--letter-color-correct);
}
.grid > .row > .cell.wrong-place {
	background-color: var(--letter-color-wrong-place);
	color: #fff;
}
.grid > .row > .cell.incorrect {
	background-color: var(--letter-color-incorrect);
	color: #fff;
}
.grid > .row > .cell.blocked {
	background-color: black;
}
.grid > .row > .cell.highlight {
	border-color: rgb(114, 133, 138);
	box-shadow: 0 0 12px rgba(24, 165, 207, 0.75) inset;
}
.grid > .row > .cell.cursor {
	border-color: rgb(24, 165, 207);
	box-shadow: 0 0 12px rgba(24, 165, 207, 0.8) inset;
}
.grid.guess-grid {
	margin-left: 8px;
	margin-right: 8px;
}
.grid.guess-grid > .row {
	position: relative;
}
.grid.guess-grid > .row[data-y~="0"] {
	margin-top: 2px;
}
.grid.guess-grid > .row.current-guess {
	z-index: 5;
	box-shadow: 0 0 20px rgba(24, 165, 207, 0.25);
}
.grid.guess-grid > .row > .guess-message {
	position: absolute;
	z-index: 1000;
	bottom: -80%;
	left: 0;
	right: 0;
	outline: 2px solid rgb(37, 27, 23);
	text-align: center;
	background: rgba(255, 72, 0, 0.767);
	color: black;
	border-radius: 8px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.75);
	opacity: 0.0;
	transition: opacity 0.2s ease-in-out;
}
.grid.guess-grid > .row > .guess-message.visible {
	opacity: 1.0;
}
.grid.guess-grid .cell.highlight {
	border-color: rgb(133, 174, 185);
	box-shadow: 0 0 12px rgba(101, 194, 224, 0.4) inset;
}
html.light-mode .grid.guess-grid .cell.highlight {
	box-shadow: 0 0 10px rgb(120, 202, 229, 0.55);
}
.grid.guess-grid .cell.is-word {
	box-shadow: 0 0 12px rgba(51, 181, 227, 0.75) inset;
}
.grid.guess-grid .cell.not-word {
	box-shadow: 0 0 12px rgba(231, 116, 85, 0.5) inset;
}
.grid.guess-grid .cell.cursor {
	border-bottom-color: rgb(60, 209, 255);
}
.grid > .row > .cell.entered {
	border-color: rgb(0, 0, 0);
}
html.light-mode .grid.guess-grid > .row > .cell.correct {
	color: #fff;
}
html.light-mode .grid.guess-grid > .row > .cell.hint {
	color: #000;
}
.grid.guess-grid .cell.hint {
	border-color: transparent;
	font-size: 0.85rem;
	height: 1vmin;
}
.grid.guess-grid .current-guess-indicator {
	position: absolute;
	top: 0;
	bottom: 0;
	right: -5px;
	height: 100%;
	display: flex;
	justify-content: left;
	align-items: center;
	transform: translateX(100%);
	font-size: 0.8rem;
}
.grid.placeholder {
	display: inline-flex;
	--cell-size: 0.5rem;
}
.grid.placeholder .cell {
	padding: 1px;
	margin: 0;
	margin-right: 1px;
	border-color: rgb(127, 127, 127);
}
.clue.selected .grid.placeholder .cell {
	border-color: rgb(200, 200, 200);
}
html.light-mode .clue.selected .grid.placeholder .cell {
	border-color: rgb(50, 50, 50);
}
#clue-list {
	margin: 2vmin;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 1vmin;
}
.clue {
	--clue-border-radius: 5px;
	--clue-header-background: linear-gradient(rgb(57 62 64), rgb(70 78 80));
	--clue-selected-header-background: linear-gradient(rgb(42, 92, 107), rgb(74 137 157));
	background: linear-gradient(rgba(68, 75, 85, 0.25), transparent);
	margin: 0.25vmin;
	border-radius: var(--clue-border-radius);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	border: 1px solid #666;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}
html.light-mode .clue {
	--clue-header-background: linear-gradient(rgb(204, 233, 241), rgb(167, 193, 201));
	--clue-selected-header-background: linear-gradient(rgb(121, 211, 239), rgb(89, 175, 201));
	background: linear-gradient(rgba(255, 255, 255, 0.75), transparent);
}
.clue-header > .clue-hint { display: none; }
.clue-footer > .clue-hint { display: block; }
.clue-header {
	width: 100%;
	background: var(--clue-header-background);
	border-bottom: 1px solid #666;
	display: flex;
	flex-direction: row;
	border-top-left-radius: var(--clue-border-radius);
	border-top-right-radius: var(--clue-border-radius);
}
.clue.selected .clue-header {
	background: var(--clue-selected-header-background);
}
.clue-header > .clue-number {
	flex-grow: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 0.5vmin;
	padding-bottom: 0.2vmin;
	padding-left: 1.5vmin;
	padding-right: 1.5vmin;
	border-right: 1px solid #666;
	border-top-left-radius: calc(var(--clue-border-radius) - 1px);
}
.clue-header > .spacer {
	flex-grow: 1;
}
.clue-hint {
	padding: 0.75vmin;
}
@media only screen and (max-width: 1199px) {
	.clue.not-selected .clue-guess-wrap {
		display: none;
	}
	.clue-guess-wrap {
		margin-bottom: 1vmin;
	}
	.clue-header > .clue-hint { display: block; }
	.clue-footer > .clue-hint { display: none; }
	.clue-header > .spacer {
		flex-grow: 0;
	}
	.clue.not-selected .clue-header {
		border-bottom: 0;
	}
	.clue.not-selected .clue-header > .clue-number {
		border-bottom-left-radius: calc(var(--clue-border-radius) - 1px);
	}
}
@media only screen and (min-width: 1200px) {
	#clue-list {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.clue {
		flex: 1;
		max-width: 50vw;
	}
	.clue.selected {
		background: linear-gradient(rgb(92, 108, 122, 0.25), transparent);
	}
	.clue-header > .clue-hint {
		display: none;
	}
	.clue-footer {
		width: 100%;
		flex-grow: 1;
		display: flex;
		flex-direction: column;
	}
	.clue-footer .clue-hint {
		flex-grow: 1;
		background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.05));
		border-top: 1px solid rgba(102, 102, 102, 0.5);
		margin-top: 1vmin;
		padding-bottom: 1vmin;
		border-bottom-left-radius: var(--clue-border-radius);
		border-bottom-right-radius: var(--clue-border-radius);
	}
	html.light-mode .clue-footer .clue-hint {
		background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.1));
	}
}
@media only screen and (max-width: 700px) {
	.clue.not-selected {
		display: none;
	}
}
.clue-text:before {
	content: '\201C';
}
.clue-text:after {
	content: '\201D';
}
.clue-meta {
	font-size: 0.8rem;
	pointer-events: none;
}
.clue-author:after {
	content: ', ';
}
.clue-title {
	font-style: italic;
}
.clue-year:before {
	content: ' (';
}
.clue-year:after {
	content: ')';
}
#modal {
	--modal-vertical-margin: 20px;
	--modal-titlebar-height: 35px;
	--modal-border-radius: 5px;
	--modal-background: #555;
	--modal-text-color: white;
	--modal-titlebar-background: linear-gradient(180deg, rgb(125, 125, 125), rgb(80, 80, 80));
	--modal-titlebar-text-color: white;
}
html.light-mode #modal {
	--modal-background: #ddd;
	--modal-text-color: black;
}
#modal > .modal-window {
	pointer-events: all;
	margin-top: var(--modal-vertical-margin);
	margin-bottom: var(--modal-vertical-margin);
	max-height: calc(100% - (var(--modal-vertical-margin) * 2));
	border-radius: var(--modal-border-radius);
	background: var(--modal-background);
	color: var(--modal-text-color);
	display: flex;
	flex-direction: column;
}
#modal > .modal-window {
	margin-top: var(--modal-vertical-margin);
	margin-bottom: var(--modal-vertical-margin);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
}
#modal > .modal-window > .modal-header {
	height: calc(var(--modal-titlebar-height) - 1px);
	border-bottom: 1px solid black;
	display: flex;
	flex-direction: row;
	align-items: center;
	border-top-left-radius: var(--modal-border-radius);
	border-top-right-radius: var(--modal-border-radius);
	background: var(--modal-titlebar-background);
}
#modal > .modal-window > .modal-header > .modal-button-block {
	flex-grow: 0;
	width: calc(var(--modal-titlebar-height) * 0.8);
	height: calc(var(--modal-titlebar-height) * 0.8);
	margin-left: 4px;
	margin-right: 4px;
}
#modal > .modal-window > .modal-header > .modal-title {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 3px;
	font-family: var(--ui-font);
	font-weight: bold;
	color: var(--modal-titlebar-text-color);
	text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}
#modal > .modal-window > .modal-body-outer {
	overflow: auto;
}
#modal > .modal-window > .modal-body-outer > .modal-body {
	padding: 4vmin;
}
.settings-row {
	display: flex;
	flex-direction: row;
	padding-top: 1.5vmin;
	padding-bottom: 1.5vmin;
}
.settings-row:not(:last-child) {
	border-bottom: 1px solid rgb(134, 134, 134);
}
.settings-row > .label-outer {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	font-family: var(--ui-font);
}
.settings-row > .label-outer > .label {
}
.settings-row > .label-outer > .help {
	font-style: italic;
	font-size: 0.8rem;
}
.settings-row > .widget {
	min-width: 20%;
}
.settings-row > .widget > input,
.settings-row > .widget > button {
	width: 100%;
	height: 100%;
}
.available-puzzles .day-value {
	min-height: 2vmin;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.available-puzzles .calendar-day.other-month {
	visibility: hidden;
}
.available-puzzles .calendar-day.today {
	background: linear-gradient(0deg, rgb(127, 127, 127), rgba(0, 0, 0, 0.0));
}
html.light-mode .available-puzzles .calendar-day.today {
	background: linear-gradient(0deg, rgb(255, 255, 255), rgba(0, 0, 0, 0.0));
}
.available-puzzles .puzzle-link {
	display: block;
	outline: 1px solid rgb(75, 75, 75);
	border-radius: 3px;
	width: 100%;
	background-color: rgb(127, 127, 127);
	cursor: pointer;
	padding-top: 4px;
	padding-bottom: 4px;
	font-family: var(--ui-font);
	font-size: 0.75rem;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
.available-puzzles .calendar-day.in-progress .puzzle-link {
	background-color: rgb(221, 125, 35);
}
.available-puzzles .calendar-day.complete .puzzle-link {
	background-color: rgb(37, 187, 0);
}
@media only screen and (max-width: 900px) {
	.calendar-month.with-padding > .calendar-week > .calendar-day {
		padding-left: 2px;
		padding-right: 2px;
	}
	.available-puzzles .puzzle-link {
		font-size: 0.7rem;
	}
}
.available-puzzles .puzzle-info {
	font-family: var(--ui-font);
	font-size: 0.7rem;
	text-align: center;
}
html.light-mode .available-puzzles .puzzle-link {
	text-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
	background-color: rgb(238, 238, 238);
}
.available-puzzles .puzzle-link:hover {
	background-color: rgb(150, 150, 150);
}
.available-puzzles .calendar-day.current-puzzle {
	background: linear-gradient(0deg, rgb(34, 141, 212), rgba(0, 0, 0, 0.0)) !important;
}
.available-puzzles .calendar-day.today .day-number {
	font-weight: bold;
	font-style: italic;
}
