/* Char Bazaar — Exodar */
.cbz {
	--cbz-bg: rgba(10, 8, 14, 0.92);
	--cbz-panel: #141218;
	--cbz-line: rgba(216, 178, 106, 0.45);
	--cbz-line-soft: rgba(216, 178, 106, 0.22);
	--cbz-text: #efe8f7;
	--cbz-muted: #b9adc8;
	--cbz-gold: #e8c547;
	--cbz-gold-2: #d8b26a;
	--cbz-good: #4ade80;
	--cbz-bad: #f87171;
	--cbz-accent: #8b5cf6;
	color: var(--cbz-text);
	font-family: Verdana, Arial, sans-serif;
}

.cbz * { box-sizing: border-box; }

.cbz-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--cbz-line-soft);
}

.cbz-title {
	margin: 0 0 6px;
	font-size: 22px;
	color: var(--cbz-gold);
	letter-spacing: 0.02em;
}

.cbz-subtitle {
	margin: 0;
	color: var(--cbz-muted);
	font-size: 12px;
	max-width: 520px;
	line-height: 1.45;
}

.cbz-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.cbz-points {
	font-size: 12px;
	color: var(--cbz-muted);
}
.cbz-points strong { color: var(--cbz-gold); }

.cbz-section { margin-bottom: 22px; }

.cbz-section-title {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--cbz-gold-2);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cbz-empty {
	padding: 28px 18px;
	text-align: center;
	color: var(--cbz-muted);
	border: 1px dashed var(--cbz-line-soft);
	border-radius: 6px;
	background: var(--cbz-bg);
}

.cbz-card {
	margin-bottom: 12px;
	border: 1px solid var(--cbz-line);
	border-radius: 6px;
	background:
		linear-gradient(180deg, rgba(20, 18, 28, 0.95), rgba(10, 8, 14, 0.96));
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

.cbz-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--cbz-line-soft);
	background: linear-gradient(180deg, rgba(28, 24, 40, 0.9), rgba(16, 14, 22, 0.7));
}

.cbz-name {
	font-size: 16px;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
}
.cbz-name:hover { color: var(--cbz-gold) !important; }

.cbz-meta {
	margin-top: 4px;
	font-size: 11px;
	color: var(--cbz-muted);
}
.cbz-sep { margin: 0 6px; opacity: 0.5; }

.cbz-details {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 4px;
	border: 1px solid rgba(96, 165, 250, 0.45);
	color: #60a5fa !important;
	background: rgba(30, 58, 100, 0.35);
	text-decoration: none !important;
}
.cbz-details:hover {
	background: rgba(37, 99, 235, 0.45);
	color: #fff !important;
}

.cbz-card-body {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 16px;
	padding: 12px 14px;
	align-items: center;
}

.cbz-visual {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.cbz-outfit {
	position: relative;
	width: 72px;
	height: 72px;
	border: 1px solid var(--cbz-line-soft);
	border-radius: 4px;
	background: #0a0810;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.cbz-outfit img {
	image-rendering: pixelated;
}

.cbz-new {
	position: absolute;
	top: 6px;
	left: -18px;
	width: 70px;
	padding: 2px 0;
	font-size: 9px;
	font-weight: 700;
	text-align: center;
	color: #fff;
	background: linear-gradient(90deg, #dc2626, #f59e0b);
	transform: rotate(-45deg);
	letter-spacing: 0.04em;
	box-shadow: 0 1px 4px rgba(0,0,0,.4);
	z-index: 1;
}

.cbz-eq {
	border-collapse: collapse;
	background: #0c0a12;
}
.cbz-eq-cell,
.cbz-eq-stat {
	width: 36px;
	height: 36px;
	border: 1px solid #555;
	text-align: center;
	vertical-align: middle;
	background: #1a1a1a;
}
.cbz-eq-cell img {
	display: block;
	margin: 0 auto;
	image-rendering: pixelated;
}
.cbz-eq-stat {
	font-size: 9px;
	line-height: 1.15;
	color: #cfc7b8;
	padding: 2px;
}
.cbz-eq-stat strong {
	color: #fff;
	font-size: 10px;
}

.cbz-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 180px;
}

.cbz-info-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 12px;
	color: var(--cbz-muted);
}
.cbz-info-row strong { color: var(--cbz-text); font-weight: 600; }
.cbz-info-row em { font-style: normal; color: var(--cbz-muted); font-size: 11px; }
.cbz-info-row--price strong {
	color: var(--cbz-gold);
	font-size: 15px;
}

.cbz-action {
	min-width: 160px;
	text-align: center;
}

.cbz-action-box {
	padding: 18px 14px;
	border: 1px solid var(--cbz-line-soft);
	border-radius: 4px;
	background: #0c0a12;
	color: var(--cbz-muted);
	font-size: 12px;
}

.cbz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 4px;
	border: 1px solid var(--cbz-line);
	background: linear-gradient(180deg, #2a2438, #1a1624);
	color: var(--cbz-text) !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
}
.cbz-btn:hover {
	border-color: var(--cbz-gold-2);
	color: #fff !important;
}
.cbz-btn--primary {
	background: linear-gradient(180deg, #7c3aed, #5b21b6);
	border-color: rgba(167, 139, 250, 0.5);
}
.cbz-btn--buy {
	width: 100%;
	background: linear-gradient(180deg, #15803d, #166534);
	border-color: rgba(74, 222, 128, 0.45);
	color: #fff !important;
}
.cbz-btn--buy:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.cbz-btn--danger {
	width: 100%;
	background: linear-gradient(180deg, #991b1b, #7f1d1d);
	border-color: rgba(248, 113, 113, 0.4);
}

.cbz-hint {
	margin-top: 6px;
	font-size: 11px;
}
.cbz-hint--bad { color: var(--cbz-bad); }

.cbz-form {
	max-width: 480px;
	padding: 18px;
	border: 1px solid var(--cbz-line-soft);
	border-radius: 6px;
	background: var(--cbz-bg);
}

.cbz-label {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	color: var(--cbz-gold-2);
}

.cbz-input {
	width: 100%;
	margin-bottom: 14px;
	padding: 9px 10px;
	border-radius: 4px;
	border: 1px solid rgba(255,255,255,0.12);
	background: #0c0a12;
	color: var(--cbz-text);
	font-size: 13px;
}
.cbz-input:focus {
	outline: none;
	border-color: var(--cbz-accent);
}

.cbz-calc {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 4px;
	background: rgba(74, 222, 128, 0.08);
	border: 1px solid rgba(74, 222, 128, 0.25);
	font-size: 13px;
}
.cbz-calc strong { color: var(--cbz-good); }
.cbz-calc-fee {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	color: var(--cbz-muted);
}

@media (max-width: 820px) {
	.cbz-card-body {
		grid-template-columns: 1fr;
	}
	.cbz-action { min-width: 0; }
}
