:root {
  color-scheme: dark;
  --bg: #111827;
  --surface: #1b2638;
  --surface-strong: #223047;
  --text: #fff7e8;
  --muted: #b8c5d8;
  --line: rgba(255, 247, 232, 0.14);
  --accent: #63d4c6;
  --accent-dark: #111827;
  --accent-soft: rgba(99, 212, 198, 0.16);
  --warm: #ffb454;
  --warm-soft: rgba(255, 180, 84, 0.16);
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(99, 212, 198, 0.22), transparent 280px),
    linear-gradient(180deg, #121a2a 0%, #172236 48%, #0e1624 100%),
    var(--bg);
  font-family:
    "Nunito Sans",
    sans-serif;
}

button {
  font: inherit;
}

.app {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 12px max(20px, env(safe-area-inset-bottom));
}

.hero {
  padding: 8px 2px 12px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.18rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.status-line {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.25;
}

.is-hidden {
  display: none;
}

.ghost-button {
  min-height: 44px;
  border: 1px solid rgba(17, 100, 102, 0.35);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 750;
}

.venues {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.venue-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(34, 48, 71, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.venue-top {
  display: block;
  margin-bottom: 8px;
}

.venue-top h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 850;
}

.custom-place {
  display: grid;
  gap: 7px;
  margin: 0 0 8px;
}

.custom-place input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(8, 15, 28, 0.55);
  font: inherit;
  font-size: 1rem;
}

.custom-place input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(17, 100, 102, 0.18);
}

.custom-list {
  display: grid;
  gap: 6px;
}

.custom-list:empty {
  display: none;
}

.custom-list p {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin: 0;
  border-left: 3px solid rgba(99, 212, 198, 0.35);
  padding: 3px 0 3px 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.custom-list strong {
  color: var(--text);
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.action-button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
  touch-action: manipulation;
}

.action-button strong {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.92rem;
}

.action-button.considering {
  color: var(--warm);
  background: var(--warm-soft);
  border-color: rgba(255, 180, 84, 0.24);
}

.action-button.there {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(99, 212, 198, 0.28);
}

.action-button.is-selected {
  color: #0e1624;
  background: var(--text);
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(255, 247, 232, 0.14);
}

.action-button:active,
.ghost-button:active {
  transform: translateY(1px);
}

@media (max-width: 380px) {
  .app {
    padding-left: 12px;
    padding-right: 12px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .button-label {
    font-size: 0.86rem;
  }
}
