.btca-auction {
	--btca-accent: #f7931a;
	--btca-border: rgba(127, 127, 127, 0.3);
	--btca-muted: rgba(127, 127, 127, 0.9);
	margin: 2em 0;
	padding: 1.25em 1.5em;
	border: 1px solid var(--btca-border);
	border-radius: 10px;
	font-size: 1rem;
	line-height: 1.5;
}
.btca-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	margin-bottom: 0.75em;
}
.btca-badge {
	display: inline-block;
	padding: 0.15em 0.7em;
	border-radius: 999px;
	font-size: 0.8em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.btca-badge-live { background: #1a9c4b; color: #fff; }
.btca-badge-ended { background: #777; color: #fff; }
.btca-timer { font-variant-numeric: tabular-nums; font-weight: 600; }

.btca-label { color: var(--btca-muted); font-size: 0.9em; }
.btca-btc {
	font-size: 2em;
	font-weight: 700;
	line-height: 1.2;
	color: var(--btca-accent);
	font-variant-numeric: tabular-nums;
	word-break: break-word;
}
.btca-fiat { font-size: 1.05em; }
.btca-rate { color: var(--btca-muted); font-size: 0.8em; margin-top: 0.25em; }

.btca-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em 1.5em;
	list-style: none;
	margin: 1em 0;
	padding: 0;
	font-size: 0.95em;
}
.btca-facts li[hidden] { display: none; }

.btca-banner {
	margin: 0 0 1em;
	padding: 0.7em 1em;
	border-radius: 6px;
	background: rgba(127, 127, 127, 0.12);
}
.btca-banner-good { background: rgba(26, 156, 75, 0.15); }
.btca-banner[hidden], .btca-login[hidden], .btca-form[hidden] { display: none; }

.btca-form label { display: block; font-weight: 600; margin-bottom: 0.3em; }
.btca-row { display: flex; gap: 0.5em; flex-wrap: wrap; }
.btca-row select, .btca-row input {
	padding: 0.55em 0.7em;
	border: 1px solid var(--btca-border);
	border-radius: 6px;
	font-size: 1em;
	background: transparent;
	color: inherit;
}
.btca-row input { flex: 1 1 8em; min-width: 0; }
.btca-button {
	padding: 0.55em 1.4em;
	border: 0;
	border-radius: 6px;
	background: var(--btca-accent);
	color: #fff;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
}
.btca-button:hover:not(:disabled) { filter: brightness(0.92); }
.btca-button:disabled { opacity: 0.6; cursor: wait; }
.btca-preview { color: var(--btca-muted); font-size: 0.9em; min-height: 1.4em; margin-top: 0.3em; }

.btca-msg { min-height: 1.4em; margin-top: 0.5em; font-weight: 500; }
.btca-msg-ok { color: #1a9c4b; }
.btca-msg-err { color: #d63638; }
.btca-note { color: var(--btca-muted); font-size: 0.8em; margin: 0.5em 0 1em; }

.btca-history summary { cursor: pointer; font-weight: 600; margin-bottom: 0.5em; }
.btca-table-wrap { overflow-x: auto; max-width: 100%; }
.btca-history table { width: 100%; border-collapse: collapse; font-size: 0.9em; }
.btca-history th, .btca-history td {
	padding: 0.45em 0.6em;
	text-align: left;
	border-bottom: 1px solid var(--btca-border);
	white-space: nowrap;
}
.btca-history tr.btca-mine td { font-weight: 600; }

/* Auction grid shortcode */
.btca-grid { display: grid; gap: 1.5em; margin: 1.5em 0; grid-template-columns: repeat(var(--btca-cols, 3), minmax(0, 1fr)); }
.btca-cols-1 { --btca-cols: 1; } .btca-cols-2 { --btca-cols: 2; } .btca-cols-3 { --btca-cols: 3; }
.btca-cols-4 { --btca-cols: 4; } .btca-cols-5 { --btca-cols: 5; } .btca-cols-6 { --btca-cols: 6; }
@media (max-width: 900px) { .btca-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .btca-grid { grid-template-columns: 1fr; } }
.btca-card {
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(127, 127, 127, 0.3);
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}
.btca-card:hover { border-color: #f7931a; }
.btca-card-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.btca-card-body { display: flex; flex-direction: column; gap: 0.2em; padding: 1em; }
.btca-card-title { font-weight: 600; font-size: 1.05em; }
.btca-card-btc { color: #f7931a; font-weight: 700; font-variant-numeric: tabular-nums; }
.btca-card-fiat, .btca-card-meta { font-size: 0.85em; opacity: 0.8; }

/* Galleries */
.btca-card-lot {
	font-size: 0.75em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.7;
}
.btca-in-gallery { font-size: 0.9em; opacity: 0.85; margin: 0 0 1em; }
.btca-empty { opacity: 0.8; }
