.sheet-backdrop {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(20, 15, 10, 0.45);
	backdrop-filter: blur(4px);
	display: grid;
	place-items: end center;
	padding: 60px 24px 0;
	overflow-y: auto;
	animation: sheetFadeIn 0.2s ease-out;
}
[data-theme="dark"] .sheet-backdrop {
	background: rgba(0, 0, 0, 0.65);
}
@keyframes sheetFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.sheet {
	width: 100%;
	max-width: calc(100% - 48px);
	background: var(--bg);
	border: 1px solid var(--border-2);
	border-bottom: none;
	border-radius: 20px 20px 0 0;
	box-shadow: 0 -30px 80px -10px rgba(20, 15, 10, 0.3);
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 120px);
	overflow: hidden;
	animation: sheetSlideUp 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes sheetSlideUp {
	from {
		transform: translateY(30px);
		opacity: 0.8;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.sheet-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 28px 18px;
	border-bottom: 1px solid var(--border);
	position: relative;
}
.sheet-head::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 4px;
	border-radius: 2px;
	background: var(--border-2);
}
.sheet-title {
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.sheet-title em {
	font-style: italic;
	color: var(--accent);
	font-weight: 400;
}
.sheet-sub {
	font-size: 12px;
	color: var(--fg-mute);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-top: 8px;
}
.sheet-close-btn {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: var(--bg-1);
	color: var(--fg-dim);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: all 0.15s;
}
.sheet-close-btn:hover {
	color: var(--fg);
	border-color: var(--border-2);
}

.sheet-body {
	padding: 22px 28px 0;
	overflow-y: auto;
	flex: 1;
}

.sheet-footer {
	padding: 18px 28px 22px;
	border-top: 1px solid var(--border);
	background: var(--bg-1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.sheet-footer-meta {
	font-size: 11.5px;
	color: var(--fg-mute);
	letter-spacing: 0.04em;
}
.sheet-footer-actions {
	display: flex;
	gap: 10px;
	margin-left: auto;
}
