/* "My Mini Checklist" image. Built off screen by share-checklist.js, 1080x1920. */

.mbb-sheet-stage {
	position: fixed;
	top: 0;
	left: -20000px;
	pointer-events: none;
}

.mbb-sheet {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 1080px;
	min-height: 1920px;
	overflow: hidden;
	background: #fff url(../img/bg-pattern.png);
	font-family: var(--mbb-font-body);
}

.mbb-sheet__head {
	position: relative;
	z-index: 2;
}

.mbb-sheet__bar {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 135px;
	padding: 16px 0 0 283px;
	background: var(--mbb-light-pink);
}

.mbb-sheet__bar .mbb-section-heading {
	margin: 0;
	font-size: 50px;
	line-height: 1.1;
	color: var(--mbb-white);
	white-space: nowrap;
}

/* torn edges are real images: the exporter skips pseudo-element backgrounds */
.mbb-sheet__edge {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 30px;
	transform: rotate(180deg);
}

.mbb-sheet__logo {
	position: absolute;
	top: 10px;
	left: 40px;
	z-index: 2;
	width: 243px;
	height: auto;
}

.mbb-sheet__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-evenly;
	gap: 30px;
	padding: 34px 44px 30px;
}

.mbb-sheet__section .mbb-pill-heading {
	margin: 0;
	padding: 10px 20px 4px;
	font-size: 24px;
}

.mbb-sheet__basic { color: #5eea62; }
.mbb-sheet__rare { color: #1daeff; }
.mbb-sheet__epic { color: #d838d5; }
.mbb-sheet__legendary { color: #f5ad18; }

/* top edge of the game's Mythic card gradient (rarity/mythic.png) */
.mbb-sheet__mythic {
	background: linear-gradient(90deg, #dec3ff, #e7a4ff 17%, #f78aff 33%, #ff92de 50%, #ffaaaa 67%, #ffbe78 83%, #ffd363);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.mbb-sheet__cards {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 26px 14px;
	margin-top: 26px;
}

.mbb-sheet__slot {
	position: relative;
}

.mbb-sheet__slot .mbb-mini-card {
	width: 100%;
}

.mbb-sheet__slot.is-missing > article {
	filter: grayscale(1);
	opacity: 0.38;
}

.mbb-sheet__tick {
	position: absolute;
	z-index: 3;
	top: -7%;
	left: -10%;
	width: 30%;
	aspect-ratio: 1;
	border: var(--mbb-stroke) solid #000;
	border-radius: 50%;
	background: #6df800 url(../img/tick-white.png) center / 60% auto no-repeat;
	box-shadow: var(--mbb-shadow-sm);
}

.mbb-sheet__foot-edge {
	display: block;
	width: 100%;
	height: 40px;
	transform: rotate(180deg);
}

/* the exporter can't load the stylesheet's mask url, so share-checklist.js passes it in as data */
.mbb-sheet .mbb-mini-card::before {
	-webkit-mask-image: var(--mbb-sheet-notch);
	mask-image: var(--mbb-sheet-notch);
}

.mbb-sheet__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: -1px;
	padding: 10px 44px 26px;
	background: #000;
	font-size: 24px;
	font-weight: 900;
	color: var(--mbb-yellow);
}

/* items: one row per section, smaller cards so all of them fit */
.mbb-sheet--items .mbb-sheet__body {
	gap: 18px;
	padding: 24px 44px 20px;
}

.mbb-sheet--items .mbb-pill-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 18px 3px;
	font-size: 20px;
}

.mbb-sheet--items .mbb-pill-heading__icon {
	width: 24px;
	height: 24px;
}

.mbb-sheet--items .mbb-sheet__cards {
	grid-template-columns: repeat(9, minmax(0, 1fr));
	gap: 14px 12px;
	margin-top: 14px;
}

.mbb-sheet--items .mbb-item-card {
	transform: none;
}

.mbb-sheet--items .mbb-item-card__name {
	padding: 4px 3px 6px;
	font-size: 11px;
	line-height: 13px;
}

.mbb-sheet--items .mbb-sheet__tick {
	top: -8%;
	left: -10%;
	width: 32%;
}
