.container {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 560px;
}

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

.heading {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--text-primary, #fff);
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	position: relative;
}

.label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-primary-muted, #a0a3a8);
}

.input {
	width: 100%;
	padding: 10px 12px;
	background-color: var(--background-tertiary, rgba(0, 0, 0, 0.3));
	border: 1px solid transparent;
	border-radius: 6px;
	color: var(--text-primary, #fff);
	font-size: 14px;
	font-family: inherit;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.1s;
}

.input:focus {
	border-color: var(--brand-primary, #5865f2);
}

.counter {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 11px;
	color: var(--text-primary-muted, #a0a3a8);
}

.counterBad {
	color: var(--status-danger, #da373c);
}

.swatchRow {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.swatch {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid transparent;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.1s, transform 0.1s;
}

.swatch:hover {
	transform: scale(1.1);
}

.swatchActive {
	border-color: var(--text-primary, #fff);
}

.swatchNone {
	background-color: var(--background-tertiary, rgba(0, 0, 0, 0.3));
	color: var(--text-primary-muted, #a0a3a8);
}

.hexInput {
	width: 120px;
	padding: 6px 10px;
	background-color: var(--background-tertiary, rgba(0, 0, 0, 0.3));
	border: 1px solid transparent;
	border-radius: 6px;
	color: var(--text-primary, #fff);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 12px;
	outline: none;
	box-sizing: border-box;
}

.hexInput:focus {
	border-color: var(--brand-primary, #5865f2);
}

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

.powerValue {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-primary, #fff);
}

.slider {
	width: 100%;
	accent-color: var(--brand-primary, #5865f2);
}

.powerHint {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--text-primary-muted, #a0a3a8);
}

.abilities {
	padding: 12px 14px;
	background-color: var(--background-secondary, rgba(255, 255, 255, 0.03));
	border: 1px solid var(--background-modifier-accent, rgba(255, 255, 255, 0.06));
	border-radius: 6px;
}

.abilitiesHeader {
	font-size: 13px;
	color: var(--text-secondary, #a0a3a8);
	margin-bottom: 8px;
}

.abilitiesHeader strong {
	color: var(--text-primary, #fff);
}

.abilitiesList {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 14px;
}

.abilitiesList li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
}

.abilityOn {
	color: var(--text-primary, #fff);
}

.abilityOn svg {
	color: #2ecc71;
}

.abilityOff {
	color: var(--text-primary-muted, #a0a3a8);
}

.abilityOff svg {
	color: var(--text-primary-muted, #a0a3a8);
}

.status {
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 13px;
}

.statusSuccess {
	background-color: rgba(46, 204, 113, 0.15);
	border: 1px solid rgba(46, 204, 113, 0.4);
	color: var(--text-primary, #fff);
}

.statusError {
	background-color: rgba(234, 80, 80, 0.15);
	border: 1px solid rgba(234, 80, 80, 0.4);
	color: var(--text-primary, #fff);
}

.actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-top: 4px;
}

.readOnlyNote {
	padding: 14px 16px;
	background-color: var(--background-secondary, rgba(255, 255, 255, 0.03));
	border: 1px solid var(--background-modifier-accent, rgba(255, 255, 255, 0.06));
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--text-secondary, #a0a3a8);
}

.readOnlyNote p {
	margin: 0;
}

.readOnlyNote p + p {
	margin-top: 10px;
}

.readOnlyNote strong {
	color: var(--text-primary, #fff);
}

.readOnlyNote code {
	padding: 1px 4px;
	background-color: var(--background-tertiary, rgba(0, 0, 0, 0.3));
	border-radius: 3px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 11.5px;
	color: var(--text-primary, #fff);
}
