/* 芽芽阳光号·起航 —— 公共样式 */
:root {
  --sea-1: #4fc3f7;
  --sea-2: #0288d1;
  --sea-deep: #01579b;
  --sun: #ffb300;
  --sun-2: #ff9800;
  --ink: #17456b;
  --muted: #6b8ba4;
  --card: #ffffff;
  --ok: #2e7d32;
  --danger: #e53935;
  --radius: 20px;
  --shadow: 0 8px 28px rgba(2, 87, 155, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #b3e5fc 0%, #e1f5fe 60%, #fff8e1 100%);
  min-height: 100vh;
}

button { font-family: inherit; cursor: pointer; border: none; }
input { font-family: inherit; }

.btn-sun {
  background: linear-gradient(135deg, var(--sun) 0%, var(--sun-2) 100%);
  color: #fff; font-weight: 700; letter-spacing: 2px;
  border-radius: 999px; box-shadow: 0 6px 18px rgba(255, 152, 0, .45);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-sun:active { transform: scale(.96); box-shadow: 0 3px 10px rgba(255, 152, 0, .4); }
.btn-sun:disabled { opacity: .55; cursor: not-allowed; }

.btn-ghost {
  background: #fff; color: var(--sea-2); border: 2px solid var(--sea-1);
  border-radius: 999px; font-weight: 600;
}
.btn-ghost:active { transform: scale(.96); }

.toast {
  position: fixed; left: 50%; bottom: 12vh; transform: translateX(-50%) translateY(20px);
  background: rgba(23, 69, 107, .92); color: #fff; padding: 10px 22px;
  border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none;
  transition: all .25s ease; z-index: 999; max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.modal-mask {
  position: fixed; inset: 0; background: rgba(1, 40, 70, .55); z-index: 100;
  display: none; align-items: flex-end; justify-content: center;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: 24px 24px 0 0; width: 100%; max-width: 760px;
  max-height: 88vh; overflow-y: auto; padding: 22px 20px 30px;
  animation: slideUp .22s ease;
}
@media (min-width: 640px) {
  .modal-mask { align-items: center; }
  .modal { border-radius: 24px; }
}
@keyframes slideUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

.modal h3 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.modal .close-x { background: none; color: var(--muted); font-size: 22px; padding: 2px 8px; }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.field input, .field select {
  width: 100%; padding: 11px 14px; border: 2px solid #d7ecf7; border-radius: 14px;
  font-size: 15px; outline: none; background: #f7fcff; color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--sea-1); background: #fff; }
