:root {
	--page: #242424;
	--bar: #171717;
	--panel: #2e2e2e;
	--panel-2: #363636;
	--line: #3e3e3e;
	--text: #ececec;
	--muted: #9d9d9d;
	--green: #5cc24a;
	--green-dark: #3f9a31;
	--radius: 8px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--page);
	color: var(--text);
	font-family: Nunito, "Segoe UI", system-ui, sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.5;
}

h1,
h2,
h3 {
	margin: 0;
	font-weight: 900;
	letter-spacing: 0.01em;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

/* ---------- top bar ---------- */

.topbar {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 26px;
	height: 78px;
	padding: 0 20px;
	background: var(--bar);
	border-bottom: 1px solid #000;
}

.brand img {
	height: 70px;
	width: auto;
}

.topnav {
	display: flex;
	gap: 20px;
	font-size: 15px;
}

.topnav a {
	color: #d6d6d6;
	padding: 4px 0;
	border-bottom: 2px solid transparent;
}

.topnav a:hover {
	color: #fff;
	border-bottom-color: var(--green);
}

.topbar-right {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 18px;
	border-radius: 999px;
	border: 2px solid var(--green);
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.12s, color 0.12s;
}

.pill.ghost {
	background: none;
	color: var(--green);
}

.pill.ghost:hover {
	background: rgba(92, 194, 74, 0.14);
}

.pill.solid {
	background: var(--green);
	color: #13240f;
}

.pill.solid:hover {
	background: var(--green-dark);
	color: #fff;
}

.pill.wide {
	display: flex;
	width: 100%;
	margin-top: 12px;
}

/* ---------- notice strip ---------- */

.notice {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 22px;
	background: #2f4a28;
	border-bottom: 1px solid #000;
	font-size: 14px;
}

.notice[hidden] {
	display: none;
}

.notice p {
	margin: 0 auto 0 0;
	max-width: 100ch;
	color: #dcecd6;
	text-align: center;
	flex: 1;
}

.notice button {
	background: none;
	border: 0;
	color: #dcecd6;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

/* ---------- layout ---------- */

main {
	max-width: 1140px;
	margin: 0 auto;
	padding: 24px 18px 60px;
}

/* promo row */

.promos {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.promo p {
	margin: 9px 2px 0;
	font-size: 14.5px;
	color: #d8d8d8;
}

.promo:hover p {
	color: var(--green);
}

.promo-art {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 7;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	overflow: hidden;
}

.promo-art span {
	font-size: clamp(20px, 2.6vw, 31px);
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

.art-rooms {
	background: repeating-linear-gradient(135deg, #3f9a31 0 22px, #45a836 22px 44px);
}

.art-play {
	background: repeating-linear-gradient(135deg, #2d6f6b 0 22px, #327c77 22px 44px);
}

.art-cam {
	background: repeating-linear-gradient(135deg, #5a5030 0 22px, #665a36 22px 44px);
}

/* tabs */

.tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 30px 0 22px;
}

.tab {
	padding: 7px 20px;
	border-radius: 999px;
	border: 2px solid var(--line);
	background: var(--panel);
	color: #cfcfcf;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.tab.is-on {
	border-color: var(--green);
	color: var(--green);
}

.columns {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 22px;
	align-items: start;
}

.columns[hidden] {
	display: none;
}

/* ---------- sidebar ---------- */

.side {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 14px;
	scroll-margin-top: 70px;
}

.side h2 {
	font-size: 19px;
	margin-bottom: 12px;
}

.side-list {
	display: grid;
	gap: 14px;
}

.side-room {
	display: block;
}

.side-room .art {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	border: 1px solid var(--line);
	background: var(--art);
	padding: 8px;
	text-align: center;
}

.side-room .art span {
	font-size: 17px;
	font-weight: 900;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
	overflow-wrap: anywhere;
}

.side-room .name {
	margin: 6px 0 0;
	font-size: 14px;
	color: #e3e3e3;
}

.side-room .by {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
}

/* ---------- feed ---------- */

.feed {
	scroll-margin-top: 70px;
}

.feed-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
}

.feed-head h2 {
	font-size: 21px;
}

.live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13.5px;
	color: var(--muted);
	cursor: pointer;
	user-select: none;
}

.live input {
	accent-color: var(--green);
	width: 15px;
	height: 15px;
}

.post {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 20px;
	overflow: hidden;
	animation: in 0.25s ease;
}

@keyframes in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

.post-top {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
}

.avatar {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 50%;
	background: var(--art);
	color: #fff;
	font-size: 15px;
	font-weight: 900;
}

.who {
	min-width: 0;
}

.who .name {
	font-size: 14.5px;
	font-weight: 800;
}

.who .name .handle {
	color: var(--muted);
	font-weight: 700;
	margin-left: 5px;
}

.who .where {
	font-size: 13.5px;
	color: #bdbdbd;
}

.post-shot {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: #1b1b1b;
	cursor: zoom-in;
}

.post-shot img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.post-foot {
	padding: 10px 14px 13px;
}

.cheers {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	color: var(--muted);
}

.caption {
	margin: 8px 0 0;
	font-size: 14.5px;
	color: #e6e6e6;
	overflow-wrap: anywhere;
}

.stamp {
	margin: 8px 0 0;
	font-size: 13px;
	color: #808080;
}

.empty {
	color: var(--muted);
}

/* ---------- all-rooms panel ---------- */

.rooms-grid-wrap[hidden] {
	display: none;
}

.rooms-grid-wrap h2 {
	font-size: 21px;
	margin-bottom: 14px;
}

.rooms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 18px;
}

.room-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.room-card .art {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	padding: 8px;
	background: var(--art);
	text-align: center;
}

.room-card .art span {
	font-size: 18px;
	font-weight: 900;
	color: #fff;
	text-transform: uppercase;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
	overflow-wrap: anywhere;
}

.room-card .body {
	padding: 10px 12px 13px;
}

.room-card h3 {
	font-size: 15.5px;
}

.room-card .meta {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--muted);
}

.room-card .tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 9px;
}

.room-card .tags span {
	padding: 2px 8px;
	border: 1px solid var(--line);
	border-radius: 5px;
	font-size: 11.5px;
	color: #c9c9c9;
}

/* ---------- join + footer ---------- */

.join {
	margin-top: 34px;
	padding: 22px 24px 26px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	scroll-margin-top: 70px;
}

.join h2 {
	font-size: 20px;
}

.join ol {
	margin: 12px 0 0;
	padding-left: 20px;
	color: #d6d6d6;
}

.join li {
	margin-bottom: 7px;
}

footer {
	padding: 22px 18px 34px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	text-align: center;
	font-size: 13.5px;
}

footer p {
	margin: 3px 0;
}

footer a:hover {
	color: var(--green);
}

/* ---------- lightbox ---------- */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: grid;
	place-items: center;
	padding: 26px;
	background: rgba(0, 0, 0, 0.85);
}

.lightbox[hidden] {
	display: none;
}

.lightbox img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 6px;
}

.lightbox-close {
	position: absolute;
	top: 16px;
	right: 20px;
	width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--panel);
	color: var(--text);
	font-size: 22px;
	cursor: pointer;
}

@media (max-width: 880px) {
	.columns {
		grid-template-columns: 1fr;
	}

	.promos {
		grid-template-columns: 1fr;
	}

	.topnav {
		display: none;
	}

	.notice p {
		text-align: left;
	}
}

/* ---------- signed-in state ---------- */

.signed-in {
	color: var(--green);
	font-weight: 800;
	font-size: 14px;
}

.topnav a.is-on {
	color: var(--green);
	border-bottom-color: var(--green);
}

/* ---------- room photos ---------- */

.side-room .art,
.room-card .art {
	position: relative;
	overflow: hidden;
}

.side-room .art img,
.room-card .art img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- comments ---------- */

.comments {
	border-top: 1px solid var(--line);
	padding: 10px 14px 12px;
	background: #292929;
}

.comments h4 {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 800;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.comment {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 14px;
}

.comment .by {
	font-weight: 800;
	color: var(--green);
	flex: none;
}

.comment .text {
	color: #e2e2e2;
	overflow-wrap: anywhere;
}

.comment-form {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

.comment-form input {
	flex: 1;
	min-width: 0;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #1f1f1f;
	color: var(--text);
	font: inherit;
	font-size: 14px;
}

.comment-form input:focus {
	outline: none;
	border-color: var(--green);
}

.comment-form button {
	padding: 8px 16px;
	font-size: 13.5px;
}

.comment-locked {
	margin: 0;
	font-size: 13.5px;
	color: var(--muted);
}

.comment-locked a {
	color: var(--green);
	font-weight: 800;
}

.comment-note {
	margin: 8px 0 0;
	font-size: 13px;
	color: #b58b5a;
}

/* ---------- login card ---------- */

body.centered {
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: 28px 18px;
}

.card {
	width: 100%;
	max-width: 380px;
	padding: 26px 26px 22px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 12px;
	text-align: center;
}

.card-logo img {
	height: 110px;
	margin: 0 auto 6px;
}

.card-lede {
	margin: 0 0 18px;
	color: #cfcfcf;
	font-size: 14.5px;
}

.card form {
	text-align: left;
}

.card label {
	display: block;
	margin-bottom: 14px;
}

.card label span {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	font-weight: 800;
	color: var(--muted);
}

.card input {
	width: 100%;
	padding: 10px 13px;
	border: 1px solid var(--line);
	border-radius: 7px;
	background: #1f1f1f;
	color: var(--text);
	font: inherit;
	font-size: 15px;
}

.card input:focus {
	outline: none;
	border-color: var(--green);
}

.card button[type='submit'] {
	margin-top: 4px;
}

.card button:disabled {
	opacity: 0.6;
	cursor: default;
}

.formerror {
	margin: 0 0 16px;
	padding: 10px 12px;
	border: 1px solid #7a3b3b;
	border-radius: 7px;
	background: #3a2525;
	color: #f0c9c9;
	font-size: 13.5px;
	text-align: left;
}

.formerror[hidden] {
	display: none;
}

.card-foot {
	margin: 12px 0 0;
	font-size: 13.5px;
	color: var(--muted);
}

.card-foot a {
	color: var(--green);
	font-weight: 800;
}

/* ---------- download page ---------- */

.dl {
	background: linear-gradient(180deg, #2f6b27 0%, #255820 100%);
	min-height: calc(100vh - 78px - 96px);
}

.dl-tabs {
	display: flex;
	justify-content: center;
	gap: 2px;
	padding-top: 2px;
}

.dl-tab {
	display: grid;
	justify-items: center;
	gap: 3px;
	width: 120px;
	padding: 10px 6px 9px;
	border: 0;
	background: none;
	color: #dceed6;
	font: inherit;
	font-size: 12.5px;
	font-weight: 800;
	cursor: pointer;
}

.dl-tab.is-on {
	background: #1e4a19;
	color: #fff;
}

.dl-icon {
	font-size: 20px;
	line-height: 1;
}

.dl-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
	max-width: 1000px;
	margin: 0 auto;
	padding: 70px 24px 90px;
}

.dl-copy h1 {
	font-size: clamp(34px, 5vw, 54px);
	color: #0f2a0c;
	line-height: 1.05;
}

.dl-copy p {
	max-width: 46ch;
	margin: 18px 0 0;
	color: #10300d;
	font-size: 15.5px;
}

.dl-req {
	font-style: italic;
	font-size: 14px !important;
	opacity: 0.85;
}

.dl-soon {
	display: inline-block;
	margin-top: 22px !important;
	padding: 9px 18px;
	border-radius: 999px;
	background: rgba(14, 40, 11, 0.28);
	color: #eaf6e6 !important;
	font-weight: 800;
	font-size: 14px !important;
}

.dl-art {
	display: grid;
	place-items: center;
}

.dl-art img {
	width: min(300px, 70%);
	filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3));
}

@media (max-width: 880px) {
	.dl-body {
		grid-template-columns: 1fr;
		padding: 40px 20px 60px;
		text-align: center;
	}

	.dl-copy p {
		margin-left: auto;
		margin-right: auto;
	}

	.brand img {
		height: 52px;
	}

	.topbar {
		height: 62px;
	}
}
