/* «Отряды» и ручной отряд. Цвета — из app.css и sections.css; экран от 360 px. */
.shelf {
	padding-top: 10px;
	margin-bottom: -8px;
}
.heroes {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 10px 0 4px;
}
.hero-slot {
	min-width: 0;
	text-align: center;
}
.hero-slot .pic {
	border-radius: 8px;
}
.hero-slot .n,
.hero-slot .m {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
}
.hero-slot .n {
	margin-top: 4px;
	font-weight: 700;
}
.hero-slot .m,
.hero-slot.bad .n {
	color: var(--no);
}
.num {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-style: normal;
	font-weight: 800;
	color: var(--mute);
}
.row-acts {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}
.row-acts button {
	flex: 1;
	min-height: 44px;
	border-radius: 14px;
	font-weight: 800;
	background: var(--veil);
}
.mode {
	padding: 12px 0;
	border-top: 1px solid var(--line);
}
.mode:first-of-type {
	border-top: 0;
}
.mode h3 {
	font:
		700 16px/1.25 Montserrat,
		sans-serif;
}
.boss {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 12px;
	align-items: center;
	margin-bottom: 8px;
}
.boss b,
.boss .m {
	display: block;
	overflow-wrap: anywhere;
}
.boss .m {
	font-size: 13px;
	color: var(--mute);
}
.progress.hp i {
	background: linear-gradient(90deg, #e58a9b, #f3c28a);
}

/* ручной отряд */
.content.squad {
	padding-bottom: 0;
}
.slots {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
	gap: 8px;
	margin: 10px 0;
}
.slot {
	position: relative;
	min-width: 0;
	min-height: 74px;
	padding: 22px 6px 6px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--soft);
	text-align: center;
}
.slot.on {
	border-color: var(--glow);
	box-shadow: 0 0 0 1px var(--glow);
}
.slot.bad b {
	color: var(--no);
}
.slot .num {
	inset: 4px 0 auto;
	font-size: 12px;
}
.slot b,
.slot span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
}
.slot span {
	color: var(--mute);
	font-variant-numeric: tabular-nums;
}
.detail h2 {
	overflow-wrap: anywhere;
}
.habit {
	display: grid;
	grid-template-columns: 52px 1fr 52px;
	gap: 8px;
	align-items: center;
	padding: 6px 0;
	font-size: 14px;
	text-align: center;
}
.habit button,
.detail .pick button {
	min-height: 40px;
	border-radius: 12px;
	font-weight: 800;
	background: var(--veil);
}
#squad-cards {
	padding-bottom: calc(100px + var(--bottom));
}
.pick-grid .cell.busy {
	opacity: 0.45;
	cursor: default;
}
.pick-grid .cell.sel .pic {
	box-shadow: 0 0 0 2px var(--moon);
	border-radius: 10px;
}
.marks {
	position: absolute;
	top: 4px;
	right: 4px;
	z-index: 1;
	padding: 1px 5px;
	border-radius: 8px;
	font-style: normal;
	font-size: 11px;
	background: rgba(8, 10, 20, 0.8);
}
