:root {
  color-scheme: light;
  --ink: #29292d;
  --muted: #8c98aa;
  --line: #edf0f4;
  --bg: #f6f3ef;
  --paper: #fffdfb;
  --brand: #ef4b5f;
  --brand2: #ff8a76;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #ffe0dc, #e9edf3 46%, #242426 47%);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  border: 0;
  cursor: pointer;
}
.phone {
  position: relative;
  width: min(100vw, 407px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border-radius: clamp(0px, 4vw, 32px);
  box-shadow: 0 20px 80px #0006;
}
.topbar,
.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 10px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
}
.brand span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 900;
}
.ghost,
.back,
.section-title button,
.bottom button,
.result-card button {
  color: #8a96a8;
  background: transparent;
}
.view {
  display: none;
  min-height: calc(100vh - 72px);
  padding: 16px 24px 92px;
}
.view.active {
  display: block;
}
h1 {
  margin: 14px 0 20px;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: 0;
}
h1 em {
  color: var(--brand);
  font-style: normal;
}
h2,
h3 {
  margin: 24px 0 14px;
}
.hero {
  width: 100%;
  min-height: 142px;
  padding: 22px;
  text-align: left;
  color: white;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #ef4b5f, #ff8d87),
    url("https://images.unsplash.com/photo-1517154421773-0529f29ea451?auto=format&fit=crop&w=900&q=75");
  background-blend-mode: multiply;
  background-size: cover;
  box-shadow: 0 18px 30px #ef4b5f40;
}
.hero small,
.hero strong,
.hero span {
  display: block;
}
.hero strong {
  margin: 8px 0 18px;
  font-size: 22px;
}
.hero span,
.chips button,
.tabs button {
  width: max-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  color: var(--brand);
  font-weight: 800;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 16px;
}
.moment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.moment {
  min-height: 154px;
  padding: 14px;
  display: flex;
  align-items: end;
  color: white;
  border-radius: 14px;
  background:
    linear-gradient(#0001, #000b),
    url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=600&q=70");
  background-size: cover;
}
.panel,
.activity-card,
.result-card {
  padding: 20px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 10px 30px #1d23300d;
}
label {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  color: #8a96a8;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #f5f2ef;
  padding: 16px;
  color: var(--ink);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.chips,
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.chips button,
.tabs button {
  color: var(--ink);
  box-shadow: 0 4px 14px #1d23300a;
}
.chips .selected {
  color: white;
  background: var(--brand);
}
.primary,
.dark {
  width: 100%;
  margin-top: 16px;
  padding: 17px 20px;
  border-radius: 16px;
  color: white;
  background: var(--brand);
  font-weight: 900;
  box-shadow: 0 12px 24px #ef4b5f35;
}
.dark {
  background: #29292d;
  box-shadow: none;
}
.red-head {
  margin: -16px -24px 18px;
  padding: 28px 24px 42px;
  text-align: center;
  color: white;
  background: var(--brand);
  border-radius: 0 0 36px 36px;
}
.red-head p {
  width: max-content;
  margin: 0 auto 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff25;
  font-weight: 800;
}
.vote-list {
  display: grid;
  gap: 14px;
  margin-top: -44px;
}
.option {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 18px 20px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 30px #1d233016;
  font-weight: 900;
}
.option button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #91a0b4;
  background: #f7f9fc;
  font-weight: 900;
}
.option .up {
  color: white;
  background: var(--brand);
}
.inline-form {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.inline-form button {
  padding: 0 18px;
  border-radius: 14px;
  color: white;
  background: #8c98aa;
}
.result {
  min-height: 100vh;
  text-align: center;
  color: white;
  background: var(--brand);
}
.confetti {
  margin-top: 48px;
  font-size: 54px;
}
.result-card {
  margin-top: 32px;
  color: var(--ink);
}
.badge,
.avatar {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 22px;
  background: #ffe8ed;
  font-size: 30px;
}
.upload {
  display: grid;
  min-height: 190px;
  place-items: center;
  border: 2px dashed #dfe7f2;
  border-radius: 24px;
  background: #f5f8fc;
  color: #90a0b6;
  text-align: center;
  font-size: 34px;
}
.discovery-card {
  margin: 16px 0;
  padding: 20px;
  border: 1px solid #fae0e2;
  border-radius: 24px;
  background: #fff6f5;
}
.trend-photo,
.activity-photo {
  min-height: 176px;
  border-radius: 22px;
  background:
    linear-gradient(#0000, #0005),
    url("https://images.unsplash.com/photo-1523906834658-6e24ef2386f9?auto=format&fit=crop&w=900&q=75");
  background-size: cover;
}
.activity-photo {
  min-height: 330px;
  margin: -16px -24px 0;
  border-radius: 0 0 34px 34px;
  background-image:
    linear-gradient(#0000, #fff),
    url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=900&q=75");
}
.activity-card {
  position: relative;
  margin-top: -90px;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stats b {
  padding: 22px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 8px 24px #1d23300d;
  color: var(--brand);
}
.bottom {
  position: absolute;
  inset: auto 0 0;
  padding: 12px 20px 18px;
  background: #fffdfbdd;
  backdrop-filter: blur(14px);
}
.bottom button {
  font-weight: 800;
}
@media (max-width: 430px) {
  .phone {
    border-radius: 0;
    box-shadow: none;
  }
}
