:root {
  --ink: #3a2348;
  --muted: #7a6484;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.9);
  --shadow: 0 24px 60px rgba(120, 72, 140, 0.16);
  --rose: #fb7185;
  --peach: #fb923c;
  --aqua: #2dd4bf;
  --sky: #7dd3fc;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(700px 420px at 110% 0%, rgba(125, 211, 252, 0.55), transparent 55%),
    linear-gradient(165deg, #fff7ed 0%, #ffe4e6 42%, #e0f2fe 100%);
}
a { color: #be185d; }
button, input, select { font: inherit; }
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.blob {
  width: 46px; height: 46px; border-radius: 18px;
  background: linear-gradient(145deg, var(--rose), var(--peach) 55%, var(--aqua));
  box-shadow: 0 10px 24px rgba(251, 113, 133, 0.35);
  display: grid; place-items: center; color: white; font-weight: 800;
}
.brand strong { display: block; font-size: 1.15rem; letter-spacing: -0.03em; }
.brand span { color: var(--muted); font-size: 0.82rem; }
.stage { width: min(1080px, calc(100% - 32px)); margin: 0 auto 48px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 28px;
}
h1 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.04em; line-height: 1.05; }
.lead { margin: 0 0 18px; color: var(--muted); font-size: 1.05rem; line-height: 1.45; }
.auth { width: min(460px, 100%); margin: 12px auto 0; }
label { display: block; font-size: 0.84rem; margin: 12px 0 6px; color: var(--muted); }
input, select {
  width: 100%; border: 0; border-radius: 18px; padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(58, 35, 72, 0.08);
}
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px;
  padding: 13px 18px; font-weight: 750; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary { color: white; background: linear-gradient(90deg, var(--rose), var(--peach)); box-shadow: 0 12px 24px rgba(251, 113, 133, 0.28); }
.btn-quiet { background: white; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(58, 35, 72, 0.08); }
.btn-google { width: 100%; background: white; color: var(--ink); box-shadow: var(--shadow); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.or { text-align: center; color: var(--muted); margin: 16px 0; }
.notice { border-radius: 18px; padding: 12px 14px; background: rgba(255, 255, 255, 0.7); }
.notice.bad { background: rgba(251, 113, 133, 0.16); }
.hidden { display: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.choice {
  border: 0; text-align: left; cursor: pointer; border-radius: 32px; padding: 22px;
  background: white; box-shadow: var(--shadow); color: inherit;
}
.choice small { display: block; margin-top: 8px; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.chip {
  border: 0; border-radius: 999px; padding: 8px 14px; background: white; cursor: pointer; color: var(--ink);
}
.chip.on { background: var(--ink); color: white; }
.list { display: grid; gap: 10px; }
.item { border-radius: 22px; padding: 14px 16px; background: rgba(255, 255, 255, 0.85); }
.nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.empty { color: var(--muted); padding: 18px 0; }
.top-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 720px) {
  .top { align-items: flex-start; }
  .card { border-radius: 28px; padding: 20px; }
}
