:root {
	--cream: #fff8ef;
	--paper: #fffdf7;
	--ink: #624548;
	--pink: #e86b80;
	--pink2: #d43858;
	--muted: #a58e89;
	--line: #d9c9bd;
	--green: #edf1e1;
	--green-ink: #7e876b;
}
* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	min-height: 100%;
	font-family:
		ui-rounded,
		"Trebuchet MS",
		system-ui,
		-apple-system,
		sans-serif;
	color: var(--ink);
}
body {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 18px;
	background:
		radial-gradient(ellipse at 12% 8%, #fff 0, transparent 35%),
		linear-gradient(145deg, #f6e7df, #fff4eb 58%, #f7e8df);
}
button,
input,
textarea {
	font: inherit;
}
.phone {
	width: min(100%, 390px);
	height: min(850px, calc(100dvh - 28px));
	min-height: 650px;
	position: relative;
	overflow: auto;
	scrollbar-width: thin;
	border-radius: 29px;
	background: linear-gradient(180deg, #fbede5, #fff4eb 65%, #f9e9e1);
	box-shadow: 0 22px 65px #78524b20;
	padding: 18px 17px 30px;
}
.top {
	height: 23px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}
.heart-badge,
.system {
	background: #fffdf7d9;
	border: 1px solid #e8ddd4;
	border-radius: 99px;
	box-shadow: 0 2px 7px #76534a0d;
}
.heart-badge {
	width: 25px;
	height: 25px;
	display: grid;
	place-items: center;
	color: var(--pink);
	font-size: 13px;
}
.system {
	font-size: 9px;
	color: #93847e;
	padding: 5px 10px;
}
.screen {
	display: none;
	animation: appear 0.45s ease both;
}
.screen.active {
	display: block;
}
.art {
	display: block;
	width: min(100%, 300px);
	height: 185px;
	object-fit: contain;
	margin: 0 auto 0;
	filter: drop-shadow(0 5px 4px #76544a0b);
}
.eyebrow {
	text-align: center;
	color: #b49a91;
	font-size: 9px;
	letter-spacing: 0.23em;
	font-weight: 600;
	margin: 0 0 2px;
}
h1 {
	text-align: center;
	font-size: clamp(28px, 7vw, 34px);
	line-height: 1.1;
	letter-spacing: -0.055em;
	margin: 4px 0 9px;
	font-weight: 800;
	color: #624548;
}
h1 em {
	color: var(--pink);
	font-style: italic;
}
.subtitle {
	text-align: center;
	color: var(--muted);
	font-size: 12px;
	margin: 0 0 65px;
}
.actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 100px;
	padding: 15px 0;
}
button {
	border: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition:
		transform 0.22s ease,
		opacity 0.2s ease;
}
#yes {
	background: linear-gradient(135deg, #ed7185, #df536f);
	color: white;
	border: 1px solid rgba(190, 75, 95, 0.18);
	border-radius: 999px;
	min-height: 43px;
	padding: 0 21px;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 5px 12px rgba(213, 82, 108, 0.28);
	transition: all 0.25s ease;
	min-width: 115px;
	position: relative;
	z-index: 5;
}

#yes:hover {
	filter: brightness(1.04);
	box-shadow: 0 7px 16px rgba(213, 82, 108, 0.35);
}
#no {
	background: var(--green);
	color: #161616;
	border-radius: 99px;
	min-height: 35px;
	padding: 0 15px;
	font-size: 11px;
	position: relative;
	z-index: 1;
}
#yes,
#no {
	position: relative;
}

#yes {
	z-index: 3;
}

#no {
	z-index: 1;
}
#plan .art {
	height: 150px;
	margin-top: -1px;
}
#plan h1 {
	margin-top: 2px;
	margin-bottom: 8px;
}
#plan .subtitle {
	margin-bottom: 19px;
}
.section-label {
	font-size: 9px;
	letter-spacing: 0.2em;
	color: #ad958d;
	text-align: center;
	margin: 0 0 10px;
}
.dashed {
	border: 0;
	border-top: 1px dashed #cdbdb2;
	margin: 11px 0 13px;
}
.field-row {
	display: grid;
	grid-template-columns: 43px 1fr;
	align-items: center;
	gap: 8px;
	margin: 8px 0;
}
.field-name {
	font-size: 10px;
	color: #161616;
}
input,
textarea {
	width: 100%;
	border: 1px solid #d9c9bd;
	border-radius: 9px;
	background: #fffaf4;
	color: #6c5554;
	outline: none;
	padding: 9px 10px;
	font-size: 10px;
	min-width: 0;
}
input:focus,
textarea:focus {
	border-color: #dc7181;
	box-shadow: 0 0 0 2px #e9687d1c;
}
.datetime {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px;
}
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.chip {
	background: var(--green);
	color: var(--green-ink);
	border: 1px solid #e1e6d4;
	border-radius: 99px;
	padding: 6px 9px;
	font-size: 9px;
	line-height: 1.15;
}
.chip.selected {
	background: #f7dce0;
	border-color: #eaa3ad;
	color: #a34d60;
	box-shadow: 0 2px 6px #d957701c;
}
.custom-where {
	margin-top: 7px;
}
.reply-box {
	min-height: 72px;
	resize: vertical;
	line-height: 1.5;
}
.footer-actions {
	display: flex;
	justify-content: center;
	margin-top: 13px;
}
#send {
	background: linear-gradient(135deg, #ed7185, #df536f);
	color: white;
	border: 1px solid rgba(190, 75, 95, 0.18);
	border-radius: 999px;
	min-height: 43px;
	padding: 0 21px;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 0 5px 12px rgba(213, 82, 108, 0.28);
	transition: all 0.25s ease;
}

#send:hover {
	filter: brightness(1.04);
	box-shadow: 0 7px 16px rgba(213, 82, 108, 0.35);
}
.result {
	display: none;
	text-align: center;
	padding: 16px 9px 8px;
}
.result.show {
	display: block;
	animation: appear 0.4s ease both;
}
.result .mini-heart {
	font-size: 34px;
}
.result h2 {
	font-size: 24px;
	margin: 7px 0;
	color: #624548;
}
.result p {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.55;
	white-space: pre-line;
}
#copy {
	border-radius: 99px;
	background: #e9687d;
	color: white;
	padding: 10px 17px;
	font-size: 11px;
	font-weight: 700;
}
#copy-status {
	min-height: 16px;
	font-size: 10px;
}
.confetti {
	position: absolute;
	top: -20px;
	z-index: 5;
	pointer-events: none;
	animation: fall var(--duration) linear forwards;
}
.date-control {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.validation-note {
	display: none;
	font-size: 11px;
	color: #d46b7b;
	line-height: 1.3;
}

.validation-note.visible {
	display: block;
}
#emoji1 {
	width: 15px;
	height: 15px;
	object-fit: contain;
	vertical-align: middle;
}
#emoji2 {
	width: 40px;
	height: 40px;
	object-fit: contain;
	vertical-align: middle;
}
#emoji3 {
	width: 15px;
	height: 15px;
	object-fit: contain;
	vertical-align: middle;
}
#emoji4 {
	width: 15px;
	height: 15px;
	object-fit: contain;
	vertical-align: middle;
}
#wissou {
	font-weight: bolder;
	color: black;
}
@keyframes fall {
	to {
		transform: translate(var(--drift), 850px) rotate(760deg);
		opacity: 0.1;
	}
}
@keyframes appear {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@media (max-width: 430px) {
	body {
		padding: 0;
		background: #f9e9df;
	}
	.phone {
		width: 100%;
		height: 100dvh;
		min-height: 620px;
		border-radius: 0;
		box-shadow: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*:before,
	*:after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
