/* GameOn — чатлах (шинэ chrome: Oswald / Manrope / Plex) */

@import url("board-wash.css");

.desk-page {
	--ink: #141821;
	--green: #17703d;
	--red: #c2211d;
	--muted: #5c5348;
	--mono: "IBM Plex Mono", ui-monospace, monospace;
	--display: "Oswald", sans-serif;
	--sans: "Manrope", system-ui, sans-serif;
	margin: 0;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	background: #efe7d0;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.desk-page *,
.desk-page *::before,
.desk-page *::after {
	box-sizing: border-box;
}

.desk-page a {
	color: inherit;
	text-decoration: none;
}

/* ---------- header / footer (archive chrome) ---------- */

.ap-header {
	position: relative;
	overflow: hidden;
}

.ap-header-in {
	position: relative;
	z-index: 1;
	max-width: 1240px;
	margin: 0 auto;
	padding: 16px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.ap-mark {
	display: flex;
	flex-direction: column;
	line-height: 0.84;
	flex: none;
}

.ap-mark-row {
	display: flex;
	align-items: center;
	gap: 1px;
}

.ap-mark-letter,
.ap-mark-dart {
	font-family: var(--display);
	font-weight: 700;
	font-size: 26px;
	color: #ffffff;
}

.ap-mark-dart {
	letter-spacing: 0.08em;
	margin-top: 3px;
}

.ap-mark-o {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.ap-mark-bull {
	width: 36%;
	height: 36%;
	border-radius: 50%;
	background: #e0322e;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.ap-ad {
	flex: 1 1 420px;
	min-width: 260px;
	max-width: 760px;
	height: 52px;
	border: 1px dashed rgba(255, 255, 255, 0.22);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: rgba(255, 255, 255, 0.02);
}

.ap-ad-size {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	color: #9a927c;
}

.ap-ad-rule {
	width: 1px;
	height: 20px;
	background: rgba(255, 255, 255, 0.16);
}

.ap-ad-text {
	font-size: 12.5px;
	color: #b8b09a;
}

.ap-nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ap-nav a {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	color: #cfc9b6;
	padding: 10px 15px;
	border-radius: 8px;
}

.ap-nav a:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
}

.ap-nav-cta {
	color: #f0d78a !important;
	border: 1px solid #f0d78a;
	border-radius: 999px !important;
	padding: 10px 16px !important;
}

.ap-nav-cta:hover {
	color: #ffffff !important;
	background: rgba(240, 215, 138, 0.12) !important;
}

.ap-header-bar {
	height: 3px;
	background: linear-gradient(
		to right,
		#c2211d 0%,
		#c2211d 34%,
		#17703d 34%,
		#17703d 62%,
		rgba(255, 255, 255, 0.14) 62%
	);
}

.ap-foot {
	position: relative;
	overflow: hidden;
	margin-top: auto;
}

.ap-foot-in {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
	padding: 22px 32px;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	color: #cfc9b6;
	text-align: center;
	text-transform: uppercase;
}

/* ---------- page ---------- */

.dc-main {
	max-width: 780px;
	margin: 0 auto;
	padding: clamp(28px, 4.5vw, 48px) 32px clamp(40px, 6vw, 72px);
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.dc-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.dc-hero-copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.dc-kicker {
	margin: 0;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--green);
}

.dc-hero h1 {
	margin: 0;
	font-family: var(--display);
	font-weight: 600;
	font-size: clamp(30px, 4.4vw, 50px);
	line-height: 1.02;
	text-transform: uppercase;
	color: var(--ink);
}

.dc-lead {
	margin: 0;
	max-width: 42rem;
	font-size: 14px;
	line-height: 1.65;
	color: var(--muted);
	text-wrap: pretty;
}

.dc-out {
	flex: none;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #ffffff;
	background: var(--red);
	border: 0;
	border-radius: 999px;
	padding: 11px 18px;
	cursor: pointer;
}

.dc-out:hover {
	filter: brightness(1.08);
}

.dc-types {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.dc-type {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	text-align: left;
	background: #ffffff;
	border: 1px solid rgba(20, 24, 33, 0.14);
	border-radius: 12px;
	padding: 14px 16px 16px;
	cursor: pointer;
	font-family: var(--sans);
	color: var(--ink);
	box-shadow: 0 1px 2px rgba(20, 24, 33, 0.04);
}

.dc-type:hover,
.dc-type:focus-visible,
.dc-type.is-on {
	border-color: var(--ink);
	outline: none;
}

.dc-type-n {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	color: var(--green);
}

.dc-type strong {
	font-family: var(--display);
	font-weight: 600;
	font-size: 18px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--ink);
}

.dc-type-p {
	font-size: 13px;
	line-height: 1.55;
	color: var(--muted);
	text-wrap: pretty;
}

.dc-log {
	background: #ffffff;
	border: 1px solid rgba(20, 24, 33, 0.14);
	border-radius: 12px;
	min-height: 16rem;
	max-height: 58vh;
	overflow: auto;
	padding: 16px 18px;
	box-shadow: 0 1px 2px rgba(20, 24, 33, 0.04);
}

.desk-msg {
	margin-bottom: 0.85rem;
}

.desk-msg b {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.desk-msg p {
	margin: 0.2rem 0 0;
	white-space: pre-wrap;
	color: var(--ink);
	font-size: 14px;
	line-height: 1.55;
}

.desk-msg.role-player p {
	background: #e7efe4;
	padding: 0.5rem 0.7rem;
	border-radius: 8px;
	color: var(--ink);
}

.desk-msg.role-admin p {
	background: #16181a;
	color: #f4f1e8;
	padding: 0.5rem 0.7rem;
	border-radius: 8px;
}

.desk-msg.role-admin b {
	color: var(--ink);
}

.desk-msg.role-system p {
	color: var(--muted);
	font-size: 13.5px;
}

.dc-send {
	display: grid;
	gap: 10px;
}

.dc-send textarea {
	font-family: var(--sans);
	font-size: 14px;
	line-height: 1.5;
	padding: 12px 14px;
	border: 1px solid rgba(20, 24, 33, 0.18);
	border-radius: 12px;
	background: #ffffff;
	color: var(--ink);
	resize: vertical;
	min-height: 5.5rem;
}

.dc-send textarea:focus {
	outline: 2px solid var(--ink);
	outline-offset: 1px;
}

.dc-send-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--display);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 12px 18px;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	background: var(--red);
	color: #ffffff;
}

.dc-send-btn:hover {
	filter: brightness(1.08);
}

@media (max-width: 720px) {
	.ap-header-in,
	.dc-main,
	.ap-foot-in {
		padding-inline: 16px;
	}

	.dc-types {
		grid-template-columns: 1fr;
	}

	.ap-ad {
		order: 3;
		flex-basis: 100%;
		max-width: none;
	}
}
