/* CompactCSS source: /games/cards/style.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews every card-game surface from one source beyond the finite
 * stylesheet. Awtsmoos.com keeps this file as a manifest so foundation, menu, and
 * live table remain separate, readable, and free of frosted glass treatment.
 */


/* CompactCSS source: /games/cards/styles/base.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews card, table, player, and every finite choice from nothing.
 * Awtsmoos.com gives The Utterances a solid black-and-gold foundation so the game
 * feels deliberate and timeless without relying on frosted panels or visual fog.
 */

:root {
	--cards-bg: #050403;
	--cards-panel: #120f0b;
	--cards-panel-raised: #1a1510;
	--cards-text: #eee6d6;
	--cards-muted: #a99f8e;
	--cards-gold: #e5bd55;
	--cards-gold-deep: #8d671c;
	--cards-red: #a51f1f;
	--cards-border: #4e4436;
	--cards-focus: #ffdc78;
	font-family: Georgia, "Times New Roman", serif;
	color-scheme: dark;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
}

body {
	display: grid;
	place-items: center;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 0%, rgba(213, 171, 68, .08), transparent 36rem),
		var(--cards-bg);
	color: var(--cards-text);
}

button,
input {
	font: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
	outline: 3px solid var(--cards-focus);
	outline-offset: 3px;
}

::selection {
	background: var(--cards-gold-deep);
	color: #fff;
}



/* CompactCSS source: /games/cards/styles/menu.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews invitation and choice before every dealt hand. Awtsmoos.com
 * markets the one playable mode honestly, keeps future modes visibly secondary,
 * and gives the menu a solid black-and-gold vessel with no frosted distortion.
 */

#main-menu {
	display: flex;
	width: min(92%, 560px);
	max-height: 90vh;
	flex-direction: column;
	align-items: stretch;
	gap: 22px;
	padding: 36px 30px;
	overflow-y: auto;
	border: 1px solid var(--cards-border);
	border-radius: 18px;
	background: var(--cards-panel);
	box-shadow: 0 28px 76px rgba(0, 0, 0, .58);
}

#main-menu h1 {
	margin: 0;
	color: var(--cards-gold);
	font-size: clamp(2.6rem, 8vw, 4.6rem);
	font-weight: 500;
	letter-spacing: -.05em;
	line-height: .9;
	text-align: center;
}

#main-menu > p {
	margin: 0;
	color: var(--cards-muted);
	font-size: 1rem;
	font-style: italic;
	line-height: 1.5;
	text-align: center;
}

.cards-kicker {
	color: var(--cards-gold);
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .16em;
	text-align: center;
	text-transform: uppercase;
}

#game-list {
	display: grid;
	gap: 10px;
}

.game-button {
	padding: 14px 16px;
	border: 1px solid var(--cards-border);
	border-radius: 10px;
	background: var(--cards-panel-raised);
	color: var(--cards-text);
	cursor: pointer;
	font-size: 1rem;
	font-weight: 700;
	text-align: left;
	transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.game-button:not(:disabled):hover,
.game-button.selected {
	border-color: var(--cards-gold);
	background: var(--cards-gold);
	color: #0b0804;
	transform: translateY(-2px);
}

.game-button:disabled {
	border-color: #302b24;
	background: #0c0a08;
	color: #665f54;
	cursor: not-allowed;
}

#player-selection {
	display: grid;
	gap: 12px;
	padding-top: 6px;
	border-top: 1px solid #332c24;
}

#player-selection label {
	color: var(--cards-muted);
	font-size: .9rem;
	font-weight: 700;
}

#ai-players {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--cards-border);
	border-radius: 8px;
	background: #0b0907;
	color: var(--cards-text);
	font-size: 1.05rem;
}

#start-game {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--cards-gold);
	border-radius: 10px;
	background: linear-gradient(180deg, #efcf76, #c99528);
	color: #110b04;
	cursor: pointer;
	font-size: 1.08rem;
	font-weight: 900;
	transition: filter .18s ease, transform .18s ease;
}

#start-game:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
}



/* CompactCSS source: /games/cards/styles/game.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews deck, player, canvas, and decision in the played world.
 * Awtsmoos.com keeps the HUD solid and unobtrusive so cards remain primary while
 * actions and status stay readable on every table without frosted blur.
 */

#game-container {
	position: absolute;
	inset: 0;
	display: none;
	background: #030302;
}

#game-canvas {
	display: block;
	width: 100%;
	height: 100%;
}

#game-ui-container {
	position: absolute;
	right: 0;
	bottom: max(20px, env(safe-area-inset-bottom));
	left: 0;
	z-index: 2;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 12px;
	pointer-events: none;
}

.ui-panel {
	max-width: min(94vw, 700px);
	padding: 13px 20px;
	border: 1px solid var(--cards-gold-deep);
	border-radius: 10px;
	background: #100d09;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
	color: var(--cards-gold);
	font-size: clamp(1rem, 3vw, 1.35rem);
	font-weight: 700;
	text-align: center;
}

#player-actions {
	display: flex;
	gap: 10px;
	pointer-events: auto;
}

#player-actions button {
	min-width: 7.5rem;
	padding: 11px 24px;
	border: 1px solid var(--cards-gold);
	border-radius: 8px;
	background: #1a1510;
	color: var(--cards-gold);
	cursor: pointer;
	font-size: 1rem;
	font-weight: 900;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}

#player-actions button:hover {
	background: var(--cards-gold);
	color: #090603;
	transform: translateY(-2px);
}

@media (max-width: 520px) {
	#player-actions {
		width: 100%;
	}

	#player-actions button {
		min-width: 0;
		flex: 1;
		padding-inline: 12px;
	}

	.ui-panel {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.game-button,
	#start-game,
	#player-actions button {
		transition: none;
	}
}


