/*
 * |CelMod| - A Living Project
 * The 2014 look (Raleway, gold on the cloudy blue-framed plate, grass floor),
 * rebuilt so the frame can stretch: images/frame/ holds the original
 * cmtextbg artwork sliced into side bars, a seamless centre and the bottom cap.
 */

@font-face {
	font-family: Pu;
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: url('fonts/Raleway-Regular.ttf');
}
@font-face {
	font-family: Pu;
	font-style: normal;
	font-weight: bold;
	font-display: swap;
	src: url('fonts/Raleway-Bold.ttf');
}
@font-face {
	font-family: Pu;
	font-style: italic;
	font-weight: normal;
	font-display: swap;
	src: url('fonts/Raleway-Italic.ttf');
}
@font-face {
	font-family: Pu;
	font-style: italic;
	font-weight: bold;
	font-display: swap;
	src: url('fonts/Raleway-BoldItalic.ttf');
}

/* ---- Palette (unchanged from 2014) ---- */
:root {
	--gold: #FFB200;
	--gold-hover: #FFCD5B;
	--green: #71E100;
	--blue: #9CF;
	--olive: #AA2;
	--grass: #2A0;
	--blood: #F20;
	--muted: #AA8;
	--row-a: #333333;
	--row-b: #444444;
	--well: rgba(0, 0, 0, 0.28);
	--well-hover: rgba(255, 255, 200, 0.12);
	--frame: 677px;
}
body.wide {
	--frame: 940px;
}

a {
	text-decoration: none;
}
a:hover {
	color: var(--gold-hover);
	transition: color 0.5s;
}
.highlight, .h {
	color: var(--green);
}
.celColor {
	color: var(--blue);
}
.headColor {
	color: var(--blue);
	font-weight: bold;
}
.splitter {
	color: var(--olive);
}
.grassy {
	color: var(--grass);
}
.bloody {
	color: var(--blood);
}
.blk {
	color: #000;
}
.big {
	font-size: 1.5em;
}
.strikeout {
	text-decoration: line-through;
}
.indent {
	margin-left: 1em;
}
.muted {
	color: var(--muted);
	font-size: 0.85em;
}

body {
	font-family: Pu, 'Raleway', sans-serif;
	line-height: 1.35;
	margin: 0;
	padding: 8px 0 0;
	background-color: #222222;
}

/* ---- Page chrome: logo, nav plate, frame, bottom cap ---- */
#logo, #navbar, #main, #footer, #sitefoot {
	width: min(var(--frame), calc(100% - 16px));
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}
#logo {
	text-align: center;
}
#logo img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
	border: 1px solid #000;
	box-sizing: border-box;
}
.plate, #main {
	background:
		url(images/frame/left.png) left top repeat-y,
		url(images/frame/right.png) right top repeat-y,
		url(images/frame/center.png) center top repeat,
		#3a3a3a;
	border: 1px solid #000;
}
#main {
	text-align: center;
	overflow-wrap: break-word;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55);
}
#content {
	padding: 6px 62px 16px;
}
#content.left {
	text-align: left;
}
#footer {
	height: 25px;
	background:
		url(images/frame/bottom-left.png) left top no-repeat,
		url(images/frame/bottom-right.png) right top no-repeat,
		url(images/frame/bottom.png) left top repeat-x;
}
#sitefoot {
	margin-top: 6px;
	margin-bottom: 24px;
	text-align: center;
	font-size: 0.8em;
	color: var(--muted);
	text-shadow: 0 1px 2px #000, 0 0 6px #000;
}

/* Navigation bar: the same plate as the page, slimmer */
#navbar {
	margin-top: 4px;
	margin-bottom: 4px;
	padding: 5px 58px 4px;
	text-align: center;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
}
#navbar .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px 1px;
}
#navbar .nav-links a {
	font-weight: bold;
	font-size: 0.86em;
	padding: 1px 5px 2px;
	border-bottom: 2px solid transparent;
}
#navbar .nav-links a.active {
	color: var(--green);
	border-bottom-color: var(--green);
}
#navbar .nav-status {
	margin-top: 3px;
	padding-top: 3px;
	border-top: 1px solid rgba(0, 0, 0, 0.45);
	font-size: 0.8em;
}

/* ---- Content pieces ---- */
h2 {
	margin: 14px 0 12px;
	font-size: 1.6em;
}
.title, .section {
	margin: 18px 0 6px;
	font-weight: bold;
}
.flash {
	margin: 10px 0;
	padding: 6px 10px;
	background: var(--well);
	border: 1px solid #000;
}
.flash.h {
	border-left: 3px solid var(--green);
}
.flash.bloody {
	border-left: 3px solid var(--blood);
}
.notice {
	padding: 8px;
	background: var(--well);
	border: 1px solid #000;
}
.panel {
	background: var(--well);
	border: 1px solid #000;
	padding: 8px;
	margin-bottom: 10px;
}

/* Home page tiles (the old #listview rows, as a grid) */
.tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin: 6px 0 16px;
}
.tile {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 8px;
	background: var(--well);
	border: 1px solid #000;
	font-weight: bold;
	font-size: 1.08em;
	text-align: left;
	transition: background 0.5s, color 0.5s;
}
.tile:hover {
	background: var(--well-hover);
}
.tile img, #listimg {
	width: 30px;
	height: 30px;
	vertical-align: middle;
	border: 1px solid #000;
	flex: none;
}
.tile small {
	display: block;
	font-weight: normal;
	font-size: 0.72em;
	color: var(--muted);
}
.group-title {
	margin: 14px 0 4px;
	color: var(--blue);
	font-weight: bold;
	letter-spacing: 0.04em;
}

/* Grids of small buttons: command categories, prop letters, leaderboard tabs */
.btngrid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px;
	margin: 8px 0 12px;
}
.btngrid a, .btngrid b, .tabs a, .cat a {
	display: inline-block;
	padding: 3px 10px;
	background: var(--well);
	border: 1px solid #000;
	font-weight: bold;
	transition: background 0.5s, color 0.5s;
}
.btngrid b {
	color: #776;
}
.btngrid a:hover, .tabs a:hover, .cat a:hover {
	background: var(--well-hover);
}
.btngrid.letters {
	display: grid;
	grid-template-columns: repeat(13, 1fr);
}
.btngrid.letters a, .btngrid.letters b {
	padding: 3px 0;
	text-align: center;
}
/* Prop names flow into columns instead of one long list */
.proplist {
	columns: 3;
	column-gap: 12px;
	column-rule: 1px solid rgba(0, 0, 0, 0.35);
}
.tabs a.active, .cat a.open {
	color: var(--green);
	background: rgba(0, 0, 0, 0.45);
}
.tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px;
}
.tabs a {
	margin: 0;
}

/* Command list categories */
.cat {
	margin: 5px 0;
}
.cat a {
	display: block;
}
.cmdlist {
	margin: -5px 0 8px;
	padding: 2px 10px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid #000;
	border-top: none;
}

/* Tables */
.cmtable {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 2px;
	text-align: left;
}
.cmtable th {
	color: var(--blue);
	padding: 4px 6px;
}
.cmtable td {
	padding: 4px 6px;
}
.cmtable tr:nth-child(even) td {
	background-color: var(--row-a);
}
.cmtable tr:nth-child(odd) td {
	background-color: var(--row-b);
}
.cmtable tr:hover td {
	background-color: #4d4d44;
}
.cmtable .num {
	text-align: right;
	white-space: nowrap;
}
.changelog {
	width: 100%;
	text-align: left;
}

/* Stat tiles */
.stat {
	display: inline-block;
	width: calc(33.333% - 16px);
	min-width: 130px;
	margin: 4px;
	padding: 6px 0;
	background: var(--well);
	border: 1px solid #000;
	vertical-align: top;
}
.stat b {
	display: block;
	font-size: 1.5em;
	color: var(--green);
}

.cmbutton {
	font-size: 13px;
	font-family: Pu, sans-serif;
	font-weight: bold;
	color: var(--gold);
	background-color: #444444;
	border: 1px solid #000;
	padding: 2px 10px;
	cursor: pointer;
}
.cmbutton:hover {
	color: var(--gold-hover);
	background-color: #555555;
	transition: color 0.5s;
}
.cmbutton[disabled] {
	color: #777;
	cursor: default;
}

.chart {
	display: block;
	width: 100%;
	height: auto;
	margin: 6px auto;
	background-color: var(--row-a);
	border: 1px solid #000;
}
.chart g:hover .bar {
	fill: var(--gold-hover);
}

#content img {
	max-width: 100%;
	height: auto;
}

/* ---- Phones ---- */
@media (max-width: 640px) {
	body {
		padding-top: 6px;
	}
	.plate, #main {
		background-size: 14px 100px, 14px 100px, auto, auto;
	}
	#content {
		padding: 4px 22px 14px;
	}
	#navbar {
		padding: 4px 18px;
	}
	#footer {
		background-size: 30px 25px, 30px 25px, auto;
	}
	.tiles {
		grid-template-columns: 1fr;
	}
	.btngrid.letters {
		grid-template-columns: repeat(7, 1fr);
	}
	.proplist {
		columns: 2;
	}
	.stat {
		width: calc(50% - 16px);
		min-width: 0;
	}
	h2 {
		font-size: 1.35em;
	}
}

/* Shop */
.shoptable td {
	vertical-align: middle;
}
.shoptable .usage {
	font-size: 0.8em;
	color: var(--blue);
}
.shoptable tr.soldout td {
	opacity: 0.55;
}

/* Admin: suggestion review */
.kvbox {
	width: 100%;
	box-sizing: border-box;
	font: 12px/1.4 Consolas, monospace;
	color: var(--green);
	background-color: #222222;
	border: 1px solid #000;
	tab-size: 4;
	resize: vertical;
}
.kvnote {
	flex: 1;
	min-width: 0;
	font-family: Pu, sans-serif;
	color: var(--gold);
	background-color: #222222;
	border: 1px solid #000;
	padding: 2px 6px;
}
a.cmbutton {
	display: inline-block;
}

/* =====================================================================
 * 2026 polish: same 2014 look (gold on the blue-framed plate), with
 * consistent controls, focus rings, spacing and smoother interactions.
 * ===================================================================== */

html {
	scrollbar-color: #555 #222;
	-webkit-text-size-adjust: 100%;
}
::selection {
	background: var(--gold);
	color: #222;
}
a {
	color: var(--gold);
	transition: color 0.2s;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 2px;
}
h2 {
	letter-spacing: 0.02em;
}
p {
	margin: 10px 0;
}

/* Form controls in the site's colours (they were browser grey before) */
input[type=text], input[type=search], input[type=number], input[type=date], input[type=datetime-local], input:not([type]), select, textarea {
	font-family: Pu, sans-serif;
	font-size: 0.95em;
	color: var(--gold);
	background-color: #222222;
	border: 1px solid #000;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
	padding: 3px 6px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
	border-color: var(--green);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(113, 225, 0, 0.35);
	outline: none;
}
input::placeholder, textarea::placeholder {
	color: #776;
}
input[type=checkbox] {
	accent-color: var(--green);
	vertical-align: middle;
}
textarea {
	line-height: 1.4;
}

/* Buttons: a touch of depth so they read as buttons */
.cmbutton {
	border-radius: 0;
	background-image: linear-gradient(#4c4c4c, #3e3e3e);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1px 1px rgba(0, 0, 0, 0.4);
	transition: color 0.2s, background-color 0.2s, transform 0.05s;
}
.cmbutton:hover {
	background-image: linear-gradient(#585858, #484848);
}
.cmbutton:active:not([disabled]) {
	transform: translateY(1px);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.cmbutton[disabled] {
	background-image: none;
	background-color: #3a3a3a;
	box-shadow: none;
}
.cmbutton.go {
	color: #1b2a00;
	background-image: linear-gradient(#8ef01c, #5fc000);
	text-shadow: none;
}
.cmbutton.go:hover {
	color: #000;
	background-image: linear-gradient(#a2ff3a, #6fd000);
}
.cmbutton.armed {
	color: #fff;
	background-image: linear-gradient(#ff5a2a, #d33000);
}

/* Wells, panels and notices */
.panel, .notice, .flash, .tile, .stat {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.tile, .btngrid a, .tabs a, .cat a {
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tile:hover {
	border-color: #222;
}
.tabs a {
	border-bottom: 2px solid #000;
}
.tabs a.active {
	border-bottom-color: var(--green);
}
.tabs a .count {
	color: var(--muted);
	font-weight: normal;
	font-size: 0.85em;
}

/* Tables: a header rule and quieter numbers */
.cmtable th {
	border-bottom: 1px solid rgba(0, 0, 0, 0.6);
	font-size: 0.92em;
	letter-spacing: 0.02em;
}
.cmtable td {
	vertical-align: middle;
}
.cmtable tr td:first-child {
	box-shadow: inset 2px 0 0 transparent;
	transition: box-shadow 0.2s;
}
.cmtable tr:hover td:first-child {
	box-shadow: inset 2px 0 0 var(--gold);
}

/* Nav plate: a little room between the links and the status line */
#navbar .nav-links a {
	transition: color 0.2s, border-color 0.2s;
}
#navbar .nav-links a:hover {
	border-bottom-color: rgba(255, 205, 91, 0.5);
}

/* Pills used by the shop, leaderboards and updates */
.pill {
	display: inline-block;
	padding: 0 6px;
	font-size: 0.72em;
	font-weight: bold;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 1px solid #000;
	background: rgba(0, 0, 0, 0.4);
	color: var(--blue);
	vertical-align: middle;
}
.pill.green {
	color: var(--green);
}
.pill.gold {
	color: var(--gold);
}
.pill.red {
	color: var(--blood);
}

/* ---- Shop ---- */
.shop-top {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
	justify-content: center;
	margin: 10px 0;
}
.shop-top .stat {
	width: auto;
	min-width: 150px;
	flex: 1;
	margin: 0;
	padding: 6px 10px;
}
.shop-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	align-items: center;
	margin: 10px 0 6px;
}
.shop-tools input[type=search] {
	flex: 1;
	min-width: 180px;
	max-width: 320px;
}
.shop-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 6px 0 14px;
	text-align: left;
}
.shop-card {
	flex: 0 1 252px;
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 8px 10px 10px;
	background: var(--well);
	border: 1px solid #000;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 1px 2px rgba(0, 0, 0, 0.35);
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.shop-card:hover {
	background: rgba(255, 255, 200, 0.07);
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 10px rgba(0, 0, 0, 0.45);
}
.shop-card .name {
	font-weight: bold;
	font-size: 1.05em;
	padding-right: 70px;
}
.shop-card .price {
	position: absolute;
	top: 8px;
	right: 10px;
	color: var(--green);
	font-weight: bold;
	white-space: nowrap;
}
.shop-card .price.short {
	color: var(--muted);
}
.shop-card .usage {
	font-size: 0.8em;
	color: var(--blue);
}
.shop-card .desc {
	font-size: 0.82em;
	color: var(--muted);
}
.shop-card .buy {
	margin-top: auto;
	padding-top: 6px;
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid rgba(0, 0, 0, 0.35);
	font-size: 0.85em;
}
.shop-card .buy form {
	margin: 0;
}
.shop-card .cmd {
	font-family: Consolas, monospace;
	font-size: 0.85em;
	color: var(--muted);
}
.shop-card.owned {
	border-color: #1e4a00;
}
.shop-card.owned {
	background: linear-gradient(rgba(113, 225, 0, 0.07), var(--well));
}
.shop-card.soldout {
	opacity: 0.5;
}
.shop-card.seasonal {
	border-color: rgba(255, 178, 0, 0.6);
}
.stockbar {
	height: 3px;
	background: rgba(0, 0, 0, 0.5);
}
.stockbar span {
	display: block;
	height: 100%;
	background: var(--gold);
}
.shop-empty {
	display: none;
	padding: 10px;
}
.season-callout {
	padding: 8px 10px;
	border: 1px solid #000;
	background: linear-gradient(90deg, rgba(255, 178, 0, 0.16), rgba(0, 0, 0, 0.3));
}

/* ---- Leaderboards ---- */
.board-groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 8px;
	margin: 8px 0 12px;
	text-align: left;
}
.board-group b {
	display: block;
	color: var(--blue);
	font-size: 0.85em;
	margin-bottom: 3px;
}
.board-group a {
	display: block;
	padding: 2px 8px;
	margin: 2px 0;
	background: var(--well);
	border: 1px solid #000;
	font-weight: bold;
	font-size: 0.9em;
}
.board-group a.active {
	color: var(--green);
	border-left: 3px solid var(--green);
}
.podium {
	display: grid;
	grid-template-columns: 1fr 1.15fr 1fr;
	gap: 8px;
	align-items: end;
	margin: 12px 0;
}
.podium .place {
	padding: 8px 6px;
	background: var(--well);
	border: 1px solid #000;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.podium .place .rank {
	display: block;
	font-size: 1.6em;
	font-weight: bold;
}
.podium .place .v {
	display: block;
	color: var(--green);
	font-weight: bold;
}
.podium .p1 {
	padding-top: 16px;
	padding-bottom: 14px;
	border-color: #6b5200;
	background: linear-gradient(rgba(255, 221, 34, 0.14), var(--well));
}
.podium .p1 .rank {
	color: #FFDD22;
}
.podium .p2 .rank {
	color: #ddd;
}
.podium .p3 .rank {
	color: #cd8a4a;
}
.board-blurb {
	color: var(--muted);
	font-size: 0.9em;
}

/* ---- Updates ---- */
.changelog .new {
	color: var(--green);
}
.update-entry td {
	border-left: 2px solid transparent;
}
.update-entry.fresh td {
	border-left-color: var(--green);
}

/* ---- Admin ---- */
.admin-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

/* Emblem Drops tab */
.table-scroll {
	overflow-x: auto;
}
.table-scroll .cmtable {
	min-width: 480px;
}
.rarity {
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-shadow: 0 1px 2px #000;
}
.rarity.r0 { color: #c8c8c8; }
.rarity.r1 { color: var(--green); }
.rarity.r2 { color: var(--blue); }
.rarity.r3 { color: #c77dff; }
.rarity.r4 { color: var(--gold); }
.drop-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 10px 0 4px;
}
.drop-tools .spacer {
	flex: 1;
}
.drop-head {
	margin: 12px 0 4px;
	border-bottom: 1px solid #000;
	padding-bottom: 2px;
}
.drop-head a {
	margin-left: 6px;
	font-size: 0.85em;
}
.drop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 6px;
}
.drop-card {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	padding: 5px 7px;
	border: 1px solid #000;
	background: rgba(0, 0, 0, 0.28);
	text-align: left;
	line-height: 1.25;
}
.drop-card:hover {
	background: rgba(0, 0, 0, 0.4);
}
.drop-card.changed {
	box-shadow: inset 3px 0 0 var(--green);
}
.drop-card.off .drop-name > b,
.drop-card.off .swatch {
	opacity: 0.55;
}
.drop-ticks {
	display: flex;
	gap: 12px;
	margin-top: 3px;
}
.drop-ticks label {
	cursor: pointer;
	white-space: nowrap;
}
.drop-ticks input {
	margin: 0 2px 0 0;
	vertical-align: -2px;
}
.drop-card .swatch {
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 2px;
	border: 1px solid #000;
	background: repeating-linear-gradient(45deg, #555 0 3px, #333 3px 6px);
}
.drop-name {
	min-width: 0;
	overflow-wrap: anywhere;
}
@media (max-width: 640px) {
	.admin-grid {
		grid-template-columns: 1fr;
	}
	.podium {
		grid-template-columns: 1fr;
	}
	.shop-card {
		flex-basis: 100%;
	}
}

/* =====================================================================
 * Seasonal themes: the same frame and colours, dressed for the holiday.
 * scripts/season.js draws the falling layer behind the frame.
 * ===================================================================== */
.season-layer {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
#logo {
	position: relative;
}
.season-badge {
	position: absolute;
	right: 8px;
	bottom: -10px;
	padding: 1px 10px 2px;
	font-weight: bold;
	font-size: 0.85em;
	letter-spacing: 0.04em;
	border: 1px solid #000;
	background: #333;
	color: var(--season-accent, var(--gold));
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
	transform: rotate(-3deg);
	z-index: 1;
}
.season-banner {
	margin-top: 4px;
	padding-top: 4px;
	border-top: 1px solid rgba(0, 0, 0, 0.45);
	font-size: 0.82em;
}
.season-banner b:first-child {
	color: var(--season-accent, var(--gold));
}
body.season #main {
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 22px var(--season-glow, transparent);
}
body.season #navbar .nav-links a.active {
	color: var(--season-accent);
	border-bottom-color: var(--season-accent);
}
body.season .celColor {
	text-shadow: 0 0 10px var(--season-glow, transparent), 0 1px 1px rgba(0, 0, 0, 0.6);
}

/* A string of lights across the top of the page frame */
body.season #main::before {
	content: "";
	display: block;
	height: 10px;
	margin: 0 14px;
	background-image: var(--season-lights);
	background-size: 28px 10px;
	background-repeat: repeat-x;
	animation: season-twinkle 2.4s steps(2) infinite;
}
@keyframes season-twinkle {
	50% {
		background-position: 14px 0;
	}
}

body.season-halloween {
	--season-accent: #FF7A00;
	--season-glow: rgba(255, 122, 0, 0.35);
	--season-lights: radial-gradient(circle at 7px 5px, #FF7A00 0 3px, transparent 4px), radial-gradient(circle at 21px 5px, #9b4dff 0 3px, transparent 4px);
	background-color: #1c1622;
}
body.season-halloween .season-badge {
	background: #2a1a10;
}

body.season-christmas {
	--season-accent: #FF4040;
	--season-glow: rgba(120, 220, 120, 0.25);
	--season-lights: radial-gradient(circle at 7px 5px, #FF4040 0 3px, transparent 4px), radial-gradient(circle at 21px 5px, #3FD33F 0 3px, transparent 4px);
	background-color: #1c2226;
}
body.season-christmas .season-badge {
	background: #3a1414;
	color: #fff;
	border-color: #1a5a1a;
}

body.season-newyears {
	--season-accent: #FFDD22;
	--season-glow: rgba(255, 221, 34, 0.3);
	--season-lights: radial-gradient(circle at 7px 5px, #FFDD22 0 3px, transparent 4px), radial-gradient(circle at 21px 5px, #99CCFF 0 3px, transparent 4px);
	background-color: #1a1a26;
}

body.season-clockday {
	--season-accent: #FF3355;
	--season-glow: rgba(255, 51, 85, 0.28);
	--season-lights: radial-gradient(circle at 7px 5px, #FF3355 0 3px, transparent 4px), radial-gradient(circle at 21px 5px, #ffffff 0 3px, transparent 4px);
}

@media (prefers-reduced-motion: reduce) {
	body.season #main::before {
		animation: none;
	}
	.shop-card, .cmbutton {
		transition: none;
	}
}
.cmtable tr.me td {
	background-color: #3d4a2a;
}
@media (max-width: 640px) {
	.season-badge {
		position: static;
		display: inline-block;
		margin-top: 4px;
		transform: none;
	}
	.shop-top .stat {
		min-width: 0;
		flex: 1 1 30%;
		padding: 4px;
		font-size: 0.85em;
	}
	.shop-top .stat b {
		font-size: 1.2em;
	}
}
