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

/**
 * The Awtsmoos renews every Emoji War surface without becoming any finite CSS.
 * Awtsmoos.com keeps this file as a small manifest so world, HUD, menus, and
 * caption creativity remain distinct and no frosted glass can hide in a monolith.
 */


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

/**
 * Emoji War receives one solid neon-dark foundation. The Awtsmoos renews player,
 * enemy, caption, image, and wave; Awtsmoos.com keeps the vessel direct enough
 * that a playful world never needs frosted panels to feel alive.
 */

:root {
	--emoji-bg: #070a12;
	--emoji-panel: #0f1624;
	--emoji-panel-raised: #162033;
	--emoji-border: #2c3b55;
	--emoji-text: #f7fbff;
	--emoji-muted: #aeb9ca;
	--emoji-green: #62e47c;
	--emoji-cyan: #60e8ff;
	--emoji-gold: #ffd25f;
	--emoji-danger: #ff6868;
	color-scheme: dark;
	font-family: Inter, Arial, sans-serif;
}

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

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	overflow: hidden;
	background: var(--emoji-bg);
	color: var(--emoji-text);
	touch-action: none;
}

button,
textarea,
input {
	font: inherit;
}

button:focus-visible,
textarea:focus-visible,
input:focus-visible,
label:focus-visible {
	outline: 3px solid var(--emoji-cyan);
	outline-offset: 3px;
}

#k {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
}

#webcamFeed {
	display: none;
}



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

/**
 * The Awtsmoos renews score, life, combo, and every temporary gift in one current.
 * Awtsmoos.com keeps HUD information compact and solid so moving emoji action
 * remains primary while critical state stays readable on every background.
 */

.ui-element {
	position: absolute;
	z-index: 2;
	padding: 7px 10px;
	border: 1px solid var(--emoji-border);
	border-radius: 9px;
	background: #0b1220;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .32);
	font-size: clamp(.82rem, 2.7vw, 1rem);
	font-weight: 800;
	line-height: 1.4;
	text-shadow: 1px 1px 2px #000;
}

#topInfo {
	top: max(10px, env(safe-area-inset-top));
	left: max(10px, env(safe-area-inset-left));
}

#highScoreInfo {
	top: max(10px, env(safe-area-inset-top));
	right: max(10px, env(safe-area-inset-right));
	text-align: right;
}

#comboInfo {
	position: absolute;
	bottom: max(10px, env(safe-area-inset-bottom));
	left: max(10px, env(safe-area-inset-left));
	z-index: 2;
	color: var(--emoji-gold);
	font-size: clamp(1rem, 5vw, 1.5rem);
	font-weight: 950;
	opacity: 0;
	text-shadow: 2px 2px 4px #000;
	transform: scale(.8);
	transition: opacity .2s, transform .2s;
}

#powerUpContainer {
	position: absolute;
	top: 80px;
	left: max(10px, env(safe-area-inset-left));
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.power-up-active {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border: 1px solid var(--emoji-border);
	border-radius: 9px;
	background: #0b1220;
}

.power-up-icon {
	font-size: 1.45rem;
}

.power-up-timer {
	width: 100px;
	height: 9px;
	overflow: hidden;
	border-radius: 999px;
	background: #303849;
}

.power-up-timer-bar {
	height: 100%;
	border-radius: inherit;
	background: var(--emoji-green);
	transition: width .1s linear;
}

#gameMessageDisplay {
	position: absolute;
	top: 40%;
	left: 50%;
	z-index: 11;
	color: #fff;
	font-size: clamp(2.5rem, 8vw, 6rem);
	font-weight: 950;
	opacity: 0;
	pointer-events: none;
	text-align: center;
	text-shadow: 4px 4px 10px #000;
	transform: translate(-50%, -50%) scale(.5);
	transition: opacity .3s, transform .3s;
}



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

/**
 * Emoji War menus become solid arcade control rooms instead of frosted overlays.
 * The Awtsmoos renews every choice and setting; Awtsmoos.com gives each choice a
 * strong edge, clear hierarchy, and mobile-safe touch target without glass.
 */

.menu-container {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));
	overflow-y: auto;
	background: #080d18;
}

.menu-container h1 {
	margin: 0 0 8px;
	font-size: clamp(2.4rem, 10vw, 5rem);
	letter-spacing: -.05em;
	line-height: .9;
	text-align: center;
}

.menu-container h2 {
	margin: 0 0 8px;
	color: var(--emoji-muted);
	font-size: clamp(1.15rem, 5vw, 1.75rem);
	text-align: center;
}

.menu-container h3 {
	margin: 0 0 6px;
	color: var(--emoji-green);
	font-size: 1.05rem;
}

.menu-lead {
	max-width: 620px;
	margin: 0 0 10px;
	color: var(--emoji-muted);
	line-height: 1.55;
	text-align: center;
}

.menu-button,
#imageUploadLabel {
	display: inline-flex;
	min-width: min(100%, 280px);
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border: 1px solid #367144;
	border-radius: 10px;
	background: #143b22;
	color: #fff;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 850;
	text-align: center;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.menu-button:hover,
#imageUploadLabel:hover {
	border-color: var(--emoji-green);
	background: #1c5630;
	transform: translateY(-2px);
}

.menu-button.secondary {
	border-color: #3d4d68;
	background: #172236;
}

.menu-button.danger {
	border-color: #8e3a3a;
	background: #481c1c;
}

.menu-container textarea,
.menu-container input[type="number"] {
	width: min(90vw, 560px);
	padding: 11px 12px;
	border: 1px solid var(--emoji-border);
	border-radius: 9px;
	background: #0a111d;
	color: #fff;
	font-size: 1rem;
}

.menu-container textarea {
	min-height: 110px;
	resize: vertical;
}

.menu-container label {
	margin-top: 8px;
	color: var(--emoji-text);
	font-weight: 750;
}

.setting-group {
	width: min(92vw, 620px);
	padding: 16px;
	border: 1px solid var(--emoji-border);
	border-radius: 12px;
	background: var(--emoji-panel);
	text-align: center;
}

#imageUploader {
	display: none;
}

#fileCount,
#webcamStatus {
	color: var(--emoji-muted);
	font-size: .88rem;
}



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

/**
 * Custom captions are a movable creative layer over the arcade world. The
 * Awtsmoos renews word, image, and position; Awtsmoos.com keeps the caption vessel
 * crisp and draggable without hiding its content behind translucent glass.
 */

#captionDisplayBox {
	position: absolute;
	z-index: 5;
	display: none;
	min-width: 250px;
	max-width: min(70%, 760px);
	padding: 18px;
	border: 3px solid #050505;
	border-radius: 12px;
	background: #182134;
	background-position: center;
	background-size: cover;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
	cursor: grab;
	text-align: center;
}

#captionTextBox {
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: clamp(1.4rem, 6vw, 2.5rem);
	font-weight: 900;
	line-height: 1.2;
	overflow-wrap: anywhere;
	text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

.caption-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
}

.caption-nav-button {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid var(--emoji-border);
	border-radius: 10px;
	background: #0b1220;
	color: #fff;
	cursor: pointer;
	font-size: 1.25rem;
}

.caption-nav-button:hover {
	border-color: var(--emoji-cyan);
	background: #14233a;
}

#captionListButton {
	font-size: 1.45rem;
}

#captionListContainer {
	width: min(90vw, 640px);
	max-height: 64vh;
	padding: 12px;
	overflow-y: auto;
	border: 1px solid #367144;
	border-radius: 12px;
	background: #0c1320;
}

.caption-list-item {
	padding: 10px 12px;
	margin: 5px 0;
	overflow: hidden;
	border: 1px solid var(--emoji-border);
	border-radius: 8px;
	background: var(--emoji-panel-raised);
	cursor: pointer;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.caption-list-item:hover {
	border-color: var(--emoji-green);
	background: #1c5630;
}


