:root {
	--pink: #ef2f68;
	--pink-dark: #c81450;
	--navy: #121d3a;
	--muted: #74809a;
	--line: #f3dce4;
	--surface: rgba(255, 255, 255, 0.94);
}

* { box-sizing: border-box; }
body {
	margin: 0;
	min-height: 100vh;
	font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
	color: var(--navy);
	background:
		radial-gradient(circle at 9% 7%, rgba(255, 138, 178, .19), transparent 28rem),
		radial-gradient(circle at 88% 12%, rgba(255, 204, 222, .4), transparent 30rem),
		linear-gradient(145deg, #fffafb, #fff 45%, #fff5f8);
}

button, input { font: inherit; }
.topbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	padding: 44px clamp(24px, 5vw, 78px) 34px;
	border-bottom: 1px solid var(--line);
	background: rgba(255,255,255,.72);
	backdrop-filter: blur(20px);
}
.back-link { color: var(--pink-dark); text-decoration: none; font-weight: 700; }
.eyebrow { margin: 18px 0 5px; color: var(--pink); letter-spacing: .2em; font-size: 12px; font-weight: 900; }
h1, h2 { margin: 0; }
h1 { font-size: clamp(30px, 4vw, 48px); }
.intro { margin: 10px 0 0; color: var(--muted); }
.top-actions { display: flex; gap: 12px; flex-shrink: 0; }
.button {
	min-height: 44px;
	padding: 0 22px;
	border-radius: 14px;
	border: 1px solid var(--line);
	font-weight: 800;
	cursor: pointer;
}
.button-primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, #ff5b89, #df1d5b); box-shadow: 0 12px 25px rgba(223,29,91,.2); }
.button-ghost { color: var(--pink-dark); background: #fff; }
.workspace { width: min(1500px, calc(100% - 48px)); margin: 30px auto 70px; }
.summary-card {
	display: grid;
	grid-template-columns: auto minmax(300px, 1fr) minmax(280px, .7fr);
	align-items: center;
	gap: 22px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--surface);
	box-shadow: 0 18px 50px rgba(79,25,48,.08);
}
.summary-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; font-size: 25px; font-weight: 900; background: linear-gradient(145deg, #ff729a, #e62262); }
label { display: block; margin-bottom: 7px; font-size: 13px; color: #5d6880; font-weight: 800; }
input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #ebd8df;
	border-radius: 13px;
	outline: none;
	color: var(--navy);
	background: #fff;
}
input:focus { border-color: #ff79a0; box-shadow: 0 0 0 4px rgba(255,91,137,.1); }
.summary-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 34px 2px 18px; }
.section-heading .eyebrow { margin-top: 0; }
.status { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.share-card {
	display: grid;
	grid-template-columns: minmax(210px, .82fr) minmax(260px, 1.18fr);
	gap: 20px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--surface);
	box-shadow: 0 14px 34px rgba(79,25,48,.07);
}
.cover-wrap { position: relative; aspect-ratio: 5 / 4; min-height: 210px; overflow: hidden; border-radius: 20px; background: linear-gradient(145deg, #fff0f5, #fce0e9); }
.cover-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #cf6a8c; font-weight: 800; }
.cover-upload { position: absolute; right: 12px; bottom: 12px; padding: 9px 12px; border: 0; border-radius: 12px; color: #fff; background: rgba(18,29,58,.78); cursor: pointer; }
.cover-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.card-fields { display: grid; gap: 11px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h3 { margin: 0; font-size: 21px; }
.badge { padding: 5px 9px; border-radius: 999px; color: var(--pink-dark); background: #fff0f5; font-size: 12px; font-weight: 800; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 3px; }
.toggle { display: inline-flex; align-items: center; gap: 7px; color: #566177; font-size: 13px; font-weight: 700; }
.toggle input { width: 18px; height: 18px; accent-color: var(--pink); }
.uploading { opacity: .58; pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 13px; color: #fff; background: var(--navy); opacity: 0; transition: .2s; pointer-events: none; box-shadow: 0 15px 35px rgba(18,29,58,.26); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
	.card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.topbar { align-items: stretch; flex-direction: column; padding: 28px 20px; }
	.top-actions .button { flex: 1; }
	.workspace { width: min(100% - 28px, 680px); }
	.summary-card { grid-template-columns: auto 1fr; }
	.search-box { grid-column: 1 / -1; }
	.share-card { grid-template-columns: 1fr; }
	.cover-wrap { min-height: 240px; }
}
