* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background-color: #1d3557;
	color: #f1faee;
}

.minimap-overlay {
	position: absolute;
	bottom: 24px;
	right: 24px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 2px solid rgba(241, 250, 238, 0.45);
	background: rgba(9, 19, 33, 0.55);
	backdrop-filter: blur(4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 4;
}

.minimap-overlay canvas {
	width: 100%;
	height: 100%;
	display: block;
}

@media (max-width: 1024px) {
	.minimap-overlay {
		width: 160px;
		height: 160px;
		bottom: 16px;
		right: 16px;
	}
}

@media (max-width: 640px) {
	.minimap-overlay {
		width: 120px;
		height: 120px;
		bottom: 12px;
		right: 12px;
	}
}

.compass-overlay {
	position: absolute;
	top: 18px;
	right: 24px;
	width: 160px;
	height: 160px;
	border-radius: 20px;
	border: 1px solid rgba(241, 250, 238, 0.35);
	background: rgba(6, 21, 34, 0.6);
	backdrop-filter: blur(4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #f1faee;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	text-align: center;
	pointer-events: none;
	z-index: 5;
}

.compass-dial {
	position: relative;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	border: 1px solid rgba(241, 250, 238, 0.4);
	background: radial-gradient(circle, rgba(69, 123, 157, 0.35) 0%, rgba(9, 19, 33, 0.6) 80%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.compass-cardinals::before,
.compass-cardinals::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	background: rgba(241, 250, 238, 0.2);
}

.compass-cardinals::before {
	width: 1px;
	height: 70px;
	transform: translate(-50%, -50%);
}

.compass-cardinals::after {
	width: 70px;
	height: 1px;
	transform: translate(-50%, -50%);
}

.compass-needle {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 6px;
	height: 38px;
	background: linear-gradient(180deg, #e63946 0%, #ffd166 100%);
	border-radius: 3px;
	transform-origin: 50% 100%;
	transform: translate(-50%, -100%) rotate(var(--compass-rotation, 0deg));
	transition: transform 140ms ease;
}

.compass-needle::after {
	content: "";
	position: absolute;
	left: 50%;
	top: -10px;
	transform: translateX(-50%);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 10px solid #e63946;
}

.compass-label {
	font-family: "Fira Code", monospace;
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	opacity: 0.85;
}

.compass-heading {
	font-size: 0.65rem;
	letter-spacing: 0.3em;
	color: rgba(241, 250, 238, 0.6);
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	.compass-overlay {
		width: 140px;
		height: 140px;
		right: 18px;
	}
}

@media (max-width: 640px) {
	.compass-overlay {
		width: 110px;
		height: 110px;
		top: 16px;
		right: 12px;
		gap: 6px;
	}

	.compass-dial {
		width: 64px;
		height: 64px;
	}

	.compass-needle {
		height: 30px;
	}

	.compass-label {
		font-size: 0.7rem;
	}
}

.home-cta {
	display: inline-block;
	margin-top: 16px;
	padding: 12px 24px;
	border-radius: 999px;
	background: #e76f51;
	color: #f1faee;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 0.06em;
	transition: transform 120ms ease, box-shadow 120ms ease;
}

.home-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(231, 111, 81, 0.35);
}

.app-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	min-height: 100vh;
}

.game-stage {
	position: relative;
	background: radial-gradient(circle at 20% 20%, #457b9d, #1d3557 70%);
	height: 100vh;
	width: 100%;
	padding: 0;
	overflow: hidden;
}

.settings-toggle {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 4;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(241, 250, 238, 0.4);
	background: rgba(15, 32, 39, 0.75);
	color: #f1faee;
	font-weight: 600;
	letter-spacing: 0.05em;
	cursor: pointer;
	backdrop-filter: blur(2px);
	transition: transform 120ms ease, box-shadow 120ms ease;
}

.settings-toggle:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.settings-overlay {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(6, 21, 34, 0.55);
	backdrop-filter: blur(6px);
	z-index: 5;
}

.settings-card {
	width: min(420px, 90%);
	border-radius: 16px;
	background: rgba(13, 27, 42, 0.92);
	border: 2px solid rgba(241, 250, 238, 0.65);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
	padding: 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.settings-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.settings-header h2 {
	margin: 0;
	font-size: 1.4rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a8dadc;
}

.settings-close {
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(241, 250, 238, 0.5);
	background: transparent;
	color: #f1faee;
	cursor: pointer;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.settings-close:disabled,
.settings-apply:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.settings-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.settings-fields {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.settings-field {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.settings-field-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #f1faee;
}

.settings-field-value {
	font-family: "Fira Code", monospace;
	font-size: 0.85rem;
	color: #ffd166;
}

.settings-range {
	width: 100%;
	accent-color: #e76f51;
}

.settings-number {
	width: 120px;
	padding: 6px 8px;
	border-radius: 8px;
	border: 1px solid rgba(241, 250, 238, 0.35);
	background: rgba(255, 255, 255, 0.05);
	color: inherit;
}

.settings-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.settings-status {
	font-size: 0.85rem;
	min-height: 1.4em;
	color: #a8dadc;
}

.settings-status.is-error {
	color: #ffb4a2;
}

.settings-status.is-success {
	color: #b7f0ad;
}

.settings-apply {
	padding: 8px 18px;
	border-radius: 999px;
	border: none;
	background: #1b998b;
	color: #f1faee;
	font-weight: 600;
	letter-spacing: 0.06em;
	cursor: pointer;
}

.settings-apply:hover:not(:disabled) {
	box-shadow: 0 8px 18px rgba(27, 153, 139, 0.3);
}

.minimap-panel {
	border: 1px solid rgba(241, 250, 238, 0.3);
	border-radius: 12px;
	padding: 8px;
	background: rgba(9, 19, 33, 0.65);
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-shrink: 0;
}

.minimap-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.minimap-header h3 {
	margin: 0;
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #a8dadc;
}

.minimap-canvas {
	width: 100%;
	height: auto;
	border: 1px solid rgba(241, 250, 238, 0.35);
	background: rgba(4, 12, 24, 0.9);
}


#game-canvas {
	border: 2px solid #f1faee;
	border-radius: 12px;
	background-color: #0b132b;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.dialog-overlay {
	position: absolute;
	bottom: 36px;
	left: 50%;
	transform: translateX(-50%);
	padding: 16px 24px;
	border-radius: 12px;
	background: rgba(15, 32, 39, 0.9);
	border: 2px solid rgba(241, 250, 238, 0.7);
	width: min(90%, 420px);
	text-align: center;
	display: none;
	pointer-events: none;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.dialog-overlay.is-visible {
	display: block;
}

.dialog-overlay-title {
	margin: 0 0 6px 0;
	font-size: 1.1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #a8dadc;
}

.dialog-overlay-text {
	margin: 0 0 4px 0;
	font-size: 0.95rem;
}

.dialog-overlay-reward {
	margin: 0;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	color: #ffd166;
}

.fight-overlay {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 32px;
	background: rgba(6, 21, 34, 0.7);
	backdrop-filter: blur(6px);
	z-index: 6;
	pointer-events: none;
}

.fight-card {
	width: min(680px, 92%);
	padding: 24px 28px;
	border-radius: 16px;
	background: rgba(15, 32, 39, 0.95);
	border: 2px solid rgba(241, 250, 238, 0.75);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
	display: flex;
	flex-direction: column;
	gap: 20px;
	pointer-events: auto;
}

.fight-header {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	text-align: left;
	flex-wrap: wrap;
}

.fight-header-visual {
	width: 96px;
	height: 96px;
	border-radius: 12px;
	border: 1px solid rgba(241, 250, 238, 0.35);
	background: rgba(9, 19, 33, 0.65);
	overflow: hidden;
	display: none;
	flex-shrink: 0;
}

.fight-header-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fight-header-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.fight-title {
	margin: 0;
	font-size: 1.6rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a8dadc;
}

.fight-subtitle {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #ced4da;
}

.fight-meta-row {
	display: none;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.8rem;
	margin-top: 4px;
}

.fight-meta-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.fight-meta-severity {
	border: 1px solid rgba(241, 250, 238, 0.25);
	background: rgba(9, 19, 33, 0.55);
}

.fight-meta-score,
.fight-meta-exploit {
	background: rgba(69, 123, 157, 0.2);
	border: 1px solid rgba(241, 250, 238, 0.25);
	text-transform: none;
	letter-spacing: 0.04em;
}

.fight-meta-link {
	display: none;
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	color: #a8dadc;
	text-decoration: none;
	border-bottom: 1px solid rgba(168, 218, 220, 0.6);
	width: fit-content;
	margin-top: 2px;
}

.fight-meta-link:hover {
	color: #f1faee;
	border-bottom-color: rgba(241, 250, 238, 0.85);
}

.fight-severity-critical {
	background: rgba(230, 57, 70, 0.2);
	border-color: rgba(230, 57, 70, 0.6);
}

.fight-severity-high {
	background: rgba(244, 162, 97, 0.22);
	border-color: rgba(244, 162, 97, 0.55);
}

.fight-severity-medium,
.fight-severity-moderate {
	background: rgba(69, 123, 157, 0.22);
	border-color: rgba(69, 123, 157, 0.55);
}

.fight-severity-low {
	background: rgba(56, 178, 172, 0.22);
	border-color: rgba(56, 178, 172, 0.55);
}

.fight-severity-informational,
.fight-severity-info {
	background: rgba(168, 218, 220, 0.24);
	border-color: rgba(168, 218, 220, 0.55);
}

.fight-meters {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.fight-meter {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fight-meter-label {
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #f1faee;
}

.fight-meter-note {
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	color: #a8dadc;
	opacity: 0.9;
}

.fight-meter-bar {
	height: 12px;
	border-radius: 999px;
	background: rgba(241, 250, 238, 0.12);
	overflow: hidden;
	border: 1px solid rgba(241, 250, 238, 0.35);
}

.fight-meter-fill {
	height: 100%;
	width: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #e63946, #ffd166);
	transition: width 160ms ease;
}

.fight-meter-value {
	font-family: "Fira Code", monospace;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
}

.fight-log {
	max-height: 200px;
	overflow-y: auto;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(9, 19, 33, 0.65);
	border: 1px solid rgba(241, 250, 238, 0.25);
}

.fight-log-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fight-log-entry {
	font-size: 0.9rem;
	line-height: 1.4;
}

.fight-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}


.fight-action-control {
	flex: 1 1 30%;
	min-width: 160px;
	max-width: 240px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: stretch;
}

.fight-action {
	padding: 10px 16px;
	border-radius: 10px;
	border: none;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: #f1faee;
	background: #457b9d;
	cursor: pointer;
	transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
	width: 100%;
}

.fight-action:first-child {
	background: #e76f51;
}

.fight-action:nth-child(2) {
	background: #1b998b;
}

.fight-action:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.fight-action:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

.fight-action-hint {
	font-size: 0.75rem;
	line-height: 1.3;
	text-align: center;
	color: #ced4da;
	letter-spacing: 0.04em;
}

.fight-action-control-disabled .fight-action {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

.fight-action-control-disabled .fight-action-hint {
	color: rgba(206, 212, 218, 0.6);
}

.fight-item-panel {
	display: none;
	border-radius: 12px;
	border: 1px solid rgba(241, 250, 238, 0.2);
	background: rgba(6, 21, 34, 0.85);
	max-height: 220px;
	overflow-y: auto;
	padding: 14px;
}

.fight-overlay.fight-overlay-items-open .fight-item-panel {
	display: block;
}

.fight-item-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fight-item-entry {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(69, 123, 157, 0.18);
	border: 1px solid rgba(241, 250, 238, 0.25);
}

.fight-item-name {
	font-weight: 600;
	letter-spacing: 0.04em;
}

.fight-item-description {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.4;
	color: #ced4da;
}

.fight-item-controls {
	display: flex;
	justify-content: flex-end;
}

.fight-item-use {
	background: #bc4749;
	border: none;
	color: #f1faee;
	padding: 6px 12px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.fight-item-use:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.fight-item-use:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.fight-item-empty {
	padding: 12px;
	border-radius: 10px;
	background: rgba(230, 57, 70, 0.15);
	border: 1px dashed rgba(230, 57, 70, 0.4);
	text-align: center;
	letter-spacing: 0.05em;
}

.fight-close {
	align-self: center;
	padding: 10px 18px;
	border-radius: 999px;
	border: 2px solid rgba(241, 250, 238, 0.7);
	background: rgba(15, 32, 39, 0.9);
	color: #f1faee;
	font-weight: 600;
	letter-spacing: 0.06em;
	cursor: pointer;
	display: none;
}

.fight-close:hover {
	background: rgba(69, 123, 157, 0.35);
}

.ui-sidebar {
	background-color: rgba(15, 32, 39, 0.92);
	backdrop-filter: blur(6px);
	border-left: 2px solid #f1faee;
	padding: 24px 20px;
	position: sticky;
	top: 0;
	min-height: 100vh;
	max-height: 100vh;
	display: flex;
	flex-direction: column;
	gap: 24px;
	overflow-x: hidden;
	overflow-y: auto;
}

.cve-panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 0;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	padding-right: 8px;
}

.cve-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cve-title {
	margin: 0;
	font-size: 1.25rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cve-refresh {
	background: #1b998b;
	border: none;
	color: #f1faee;
	padding: 6px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	transition: transform 120ms ease, box-shadow 120ms ease;
}

.cve-refresh:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(27, 153, 139, 0.25);
}

.cve-search-form {
	display: flex;
	gap: 8px;
}

.cve-search-input {
	flex: 1;
	padding: 8px 10px;
	border-radius: 6px;
	border: 1px solid rgba(241, 250, 238, 0.35);
	background: rgba(255, 255, 255, 0.05);
	color: inherit;
}

.cve-search-button {
	background: #bc4749;
	border: none;
	color: #f1faee;
	padding: 8px 14px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	transition: transform 120ms ease, box-shadow 120ms ease;
}

.cve-search-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(188, 71, 73, 0.25);
}

.cve-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cve-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	padding: 12px;
	border-radius: 8px;
	border: 1px solid rgba(241, 250, 238, 0.25);
	background: rgba(69, 123, 157, 0.18);
}

.cve-item.has-thumb {
	grid-template-columns: 78px minmax(0, 1fr);
	align-items: stretch;
}

.cve-thumb {
	width: 78px;
	height: 78px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(241, 250, 238, 0.35);
	background: rgba(13, 27, 42, 0.4);
}

.cve-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cve-item-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cve-item-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-weight: 600;
}

.cve-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.78rem;
	margin-top: 4px;
}

.cve-severity,
.cve-score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 8px;
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.cve-severity {
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(9, 19, 33, 0.55);
}

.cve-severity-critical {
	background: rgba(230, 57, 70, 0.2);
	border-color: rgba(230, 57, 70, 0.55);
}

.cve-severity-high {
	background: rgba(244, 162, 97, 0.22);
	border-color: rgba(244, 162, 97, 0.55);
}

.cve-severity-medium,
.cve-severity-moderate {
	background: rgba(69, 123, 157, 0.22);
	border-color: rgba(69, 123, 157, 0.55);
}

.cve-severity-low {
	background: rgba(56, 178, 172, 0.22);
	border-color: rgba(56, 178, 172, 0.55);
}

.cve-severity-informational,
.cve-severity-info {
	background: rgba(168, 218, 220, 0.24);
	border-color: rgba(168, 218, 220, 0.55);
}

.cve-score {
	background: rgba(15, 32, 39, 0.55);
	border: 1px solid rgba(241, 250, 238, 0.25);
	text-transform: none;
	letter-spacing: 0.04em;
}

.cve-link {
	align-self: flex-start;
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	color: #a8dadc;
	text-decoration: none;
	border-bottom: 1px solid rgba(168, 218, 220, 0.6);
}

.cve-link:hover {
	color: #f1faee;
	border-bottom-color: rgba(241, 250, 238, 0.85);
}

.cve-id {
	font-family: "Fira Code", monospace;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
}

.cve-spawn-button {
	background: #e76f51;
	border: none;
	color: #f1faee;
	padding: 6px 10px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
}

.cve-summary {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.4;
	color: #ced4da;
}

.cve-status {
	font-size: 0.85rem;
	padding: 8px 10px;
	border-radius: 6px;
	background: rgba(15, 32, 39, 0.6);
	border: 1px solid rgba(241, 250, 238, 0.3);
}

.cve-panel.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.cve-status.error {
	border-color: rgba(230, 57, 70, 0.8);
	color: #ffb3c1;
}

.cve-status.success {
	border-color: rgba(130, 210, 159, 0.8);
	color: #caffbf;
}

.inventory-panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex-shrink: 0;
}

.inventory-title {
	font-size: 1.5rem;
	margin: 0;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.inventory-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.inventory-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px;
	border-radius: 8px;
	background: rgba(69, 123, 157, 0.25);
	border: 1px solid rgba(241, 250, 238, 0.35);
}

.inventory-item-name {
	font-weight: 600;
}

.inventory-item-type {
	font-size: 0.85rem;
	color: #a8dadc;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.inventory-empty {
	padding: 12px;
	border-radius: 8px;
	background: rgba(230, 57, 70, 0.2);
	border: 1px dashed rgba(230, 57, 70, 0.6);
	text-align: center;
	letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
	.app-shell {
		display: flex;
		flex-direction: column;
	}

	.game-stage {
		height: auto;
		min-height: 60vh;
		padding: 16px;
	}

	#game-canvas {
		width: 100%;
		height: auto;
		max-height: none;
	}

	.ui-sidebar {
		display: block;
		border-left: none;
		border-top: 2px solid #f1faee;
		position: static;
		min-height: auto;
		max-height: none;
		width: 100%;
		overflow: visible;
	}

	.cve-panel {
		padding-right: 0;
		max-height: none;
		overflow: visible;
		margin-bottom: 32px;
	}
}
