/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --bg:          #111c1a;
  --surface:     #1a2e2a;
  --surface-2:   #213830;
  --surface-3:   #2a4a42;
  --border:      #2e4a44;
  --blue:        #3a8fbf;
  --blue-dim:    #2a6a90;
  --green:       #2a6644;
  --mid-green:   #6ab8a0;
  --copper:      #b87333;
  --text:        #c8ddd6;
  --text-dim:    #7a9890;
  --text-muted:  #4a6860;
  --danger:      #c04040;
  --radius:      10px;
  --nav-h:       64px;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Josefin Sans', system-ui, sans-serif;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

body { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
img { display: block; }

/* ─── App Shell ──────────────────────────────────────────────────────────────── */
#app {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100vh;
  height: 100dvh;
  position: relative;
  background: url('/lake-bg.jpg') center center / cover no-repeat fixed;
}

/* ─── Loading Screen ─────────────────────────────────────────────────────────── */
.loading-screen {
  grid-column: 1;
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

/* ─── Header ─────────────────────────────────────────────────────────────────── */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 24px);
  background: rgba(26, 46, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46, 74, 68, 0.6);
  position: relative;
  z-index: 10;
}

.wordmark {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.14em;
  color: var(--mid-green);
  text-transform: uppercase;
  border-top: 1px solid var(--mid-green);
  border-bottom: 1px solid var(--mid-green);
  padding: 10px 0 4px;
}

.avatar-wrap { position: relative; }

.avatar-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  border: 2px solid var(--border);
  transition: border-color 0.15s;
}
.avatar-btn:active { border-color: var(--mid-green); }

.avatar { width: 100%; height: 100%; object-fit: cover; }

.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 180px;
  padding: 6px 0;
  z-index: 50;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  display: none;
}
.user-menu.open { display: block; }

.user-menu-name {
  padding: 8px 14px 10px;
  font-size: 15px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  font-size: 16px;
  color: var(--text);
  transition: background 0.1s;
}
.menu-item:active { background: var(--surface-3); }
.menu-item--danger { color: var(--danger); }

/* ─── Main Content ───────────────────────────────────────────────────────────── */
.app-main {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: rgba(17, 28, 26, 0.65);
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
}

/* ─── Bottom Nav ─────────────────────────────────────────────────────────────── */
/* Nav is position:fixed — fully independent of the grid layout above.           */
/* No explicit height here — let content + padding determine it so the           */
/* background fills all the way to the viewport edge on every device.            */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(26, 46, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(46, 74, 68, 0.6);
}

.nav-btn {
  width: 25%;
  flex-shrink: 0;
  height: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.nav-btn svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-btn span {
  display: block;
  line-height: 1;
}

.nav-btn--active { color: var(--mid-green); }
.nav-btn:active  { color: var(--text); }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: opacity 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  border: none;
}
.btn:active { opacity: 0.75; transform: scale(0.97); }
.btn:disabled { opacity: 0.4; pointer-events: none; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 15px; }

.btn-primary  { background: var(--blue);    color: #fff; }
.btn-green    { background: var(--green);   color: #fff; }
.btn-copper   { background: var(--copper);  color: #fff; }
.btn-ghost    { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }

.btn-link {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 15px;
  color: var(--blue);
  cursor: pointer;
}
.btn-link--danger { color: var(--danger); }
.btn-link:active { opacity: 0.6; }

/* ─── Forms ──────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 17px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s;
  color-scheme: dark;
}
.form-input:focus, .form-textarea:focus { border-color: var(--mid-green); }
.form-textarea { resize: vertical; min-height: 72px; }
input[type="number"].form-input { -moz-appearance: textfield; }
input[type="number"].form-input::-webkit-inner-spin-button { -webkit-appearance: none; }
input[type="date"].form-input { -webkit-appearance: none; min-width: 0; }

/* ─── Sheet / Modal ──────────────────────────────────────────────────────────── */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  animation: overlay-in 0.2s ease;
}
@keyframes overlay-in { from { background: rgba(0,0,0,0); } }

.sheet {
  background: var(--surface);
  border-radius: 16px 16px 0 0;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  max-height: 92dvh;
  max-height: 92vh;
  overflow-y: auto;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0));
  animation: sheet-up 0.25s cubic-bezier(0.32,0.72,0,1);
}
@keyframes sheet-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sheet-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.sheet-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── Login Screen ───────────────────────────────────────────────────────────── */
.login-screen, .denied-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: url('/login-bg.jpg') center center / cover no-repeat;
  z-index: 100;
}

.login-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 20px 14px;
  background: rgba(17, 28, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(106, 184, 160, 0.18);
}

.login-wordmark {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-green);
  white-space: nowrap;
  flex-shrink: 0;
  border-top: 1px solid var(--mid-green);
  border-bottom: 1px solid var(--mid-green);
  padding: 10px 0 4px;
}

.login-divider {
  width: 1px;
  height: 28px;
  background: rgba(106, 184, 160, 0.25);
  flex-shrink: 0;
}

.login-action {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.denied-icon { font-size: 32px; }
.denied-title { font-size: 18px; font-weight: 600; color: var(--text); }
.denied-msg { font-size: 14px; color: var(--text-dim); line-height: 1.4; }

/* ─── Pull-to-Refresh ────────────────────────────────────────────────────────── */
.ptr-indicator {
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-green);
  opacity: 0;
  transition: opacity 0.1s;
}
.ptr-indicator::before { content: '↓ Release to refresh'; }

/* ─── Empty State ────────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  padding: 40px 20px;
}
.booking-list .empty-state { padding: 4px 0 8px; text-align: left; }

/* ─── Toast ──────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 16px;
  z-index: 200;
  border: 1px solid var(--border);
  white-space: nowrap;
  pointer-events: none;
  animation: toast-in 0.2s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }
.toast--error   { border-color: var(--danger);    color: var(--danger); }
.toast--success { border-color: var(--mid-green); color: var(--mid-green); }

/* ─── View Content Centering (desktop) ──────────────────────────────────────── */
.view-calendar, .view-checklist, .view-needs, .view-info {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

/* ─── Calendar View ──────────────────────────────────────────────────────────── */
.view-calendar { padding-bottom: 24px; }

.cal-card {
  margin: 12px 16px 0;
  background: rgba(17, 28, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 74, 68, 0.6);
  border-radius: var(--radius);
  overflow: hidden;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
}

.cal-month-label {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.cal-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: color 0.15s, background 0.15s;
}
.cal-arrow:active { background: var(--surface-3); color: var(--text); }
.cal-arrow--disabled { opacity: 0.25; cursor: default; pointer-events: none; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.cal-dow {
  background: rgba(33, 56, 48, 0.5);
  text-align: center;
  padding: 7px 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.cal-day {
  background: rgba(26, 46, 42, 0.45);
  padding: 5px 4px 4px;
  min-height: 48px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.1s;
}
.cal-day:active { background: var(--surface-3); }
.cal-day--empty { background: rgba(17, 28, 26, 0.25); cursor: default; pointer-events: none; }
.cal-day--past  { background: rgba(17, 28, 26, 0.25); cursor: default; pointer-events: none; }
.cal-day--past .cal-day-num { color: var(--text-muted); }

.cal-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 14px;
  color: var(--text-dim);
  border-radius: 50%;
}
.cal-day--today .cal-day-num {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.cal-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 3px;
  padding-left: 2px;
}

.cal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.booking-list { padding: 16px 16px 0; }

.booking-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.booking-list-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.booking-card {
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 4px solid var(--user-color, var(--blue));
  padding: 12px 14px;
  margin-bottom: 10px;
}

.booking-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.booking-who {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.booking-when {
  font-size: 15px;
  color: var(--text-dim);
}

.booking-meta {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.booking-note {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

.booking-actions {
  margin-top: 8px;
  display: flex;
  gap: 4px;
}

/* ─── Checklist View ─────────────────────────────────────────────────────────── */
.view-checklist { padding: 20px 16px; }

.checklist-season {
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 28px;
}

.checklist-begin-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
  margin: 0 auto;
}

.checklist-begin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.checklist-begin-btn:active { opacity: 0.8; transform: scale(0.97); }
.checklist-begin-btn--checkin  { background: var(--green);  color: #fff; }
.checklist-begin-btn--checkout { background: var(--blue-dim); color: #fff; }

.checklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.checklist-header-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.checklist-progress {
  font-size: 15px;
  color: var(--text-muted);
}

.checklist-items { margin-top: 16px; }

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.checklist-item:last-child { border-bottom: none; }

.check-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--mid-green);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.check-box--checked {
  background: var(--green);
  border-color: var(--green);
}
.check-box--checked::after {
  content: '';
  width: 12px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.checklist-item-label {
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
  flex: 1;
  transition: color 0.15s;
}
.checklist-item-label--checked {
  color: var(--text-muted);
  text-decoration: line-through;
}

.all-done-wrap {
  margin-top: 28px;
  animation: fade-in 0.3s ease;
}

.checklist-edit-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

/* ─── Needs View ─────────────────────────────────────────────────────────────── */
.view-needs { padding: 16px 16px 0; }

.needs-add {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.needs-add .form-input {
  flex: 1;
  margin: 0;
}

.needs-list { }

.needs-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.needs-item:last-child { border-bottom: none; }

.needs-item-label {
  flex: 1;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
}
.needs-item--checked .needs-item-label {
  color: var(--text-muted);
}
.needs-item-struck {
  text-decoration: line-through;
  text-decoration-color: var(--text-muted);
}

.needs-item-by {
  font-size: 14px;
  color: var(--copper);
  margin-left: 6px;
}

.needs-footer {
  padding: 20px 0 8px;
  text-align: center;
}

/* ─── Admin Edit Sheet ───────────────────────────────────────────────────────── */
.edit-list { margin-bottom: 20px; }

.edit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.edit-item:last-child { border-bottom: none; }

.edit-item-label {
  flex: 1;
  font-size: 16px;
  color: var(--text);
  line-height: 1.4;
}

.icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.icon-btn:disabled { opacity: 0.3; pointer-events: none; }
.icon-btn--danger { color: var(--danger); }
.icon-btn--danger:active { background: color-mix(in srgb, var(--danger) 15%, var(--surface-2)); }

.edit-add-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.edit-add-row .form-input { flex: 1; }

/* ─── iOS Install Sheet ─────────────────────────────────────────────────────── */
.ios-install-intro {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.5;
}
.ios-install-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ios-install-list li {
  font-size: 17px;
  color: var(--text);
  line-height: 1.5;
}
.ios-install-icon {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
  vertical-align: middle;
}

/* ─── Info View ──────────────────────────────────────────────────────────────── */
.view-info { padding: 16px; }

.info-card {
  background: rgba(17, 28, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 74, 68, 0.6);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid rgba(46, 74, 68, 0.4);
}
.info-row:last-child { border-bottom: none; }

.info-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}

.info-value-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-value {
  font-size: 17px;
  color: var(--text);
  text-align: right;
  white-space: pre-line;
}

.info-reveal-btn {
  font-size: 13px;
  color: var(--blue);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(58, 143, 191, 0.15);
  border: 1px solid rgba(58, 143, 191, 0.3);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── User List ──────────────────────────────────────────────────────────────── */
.user-list { margin-bottom: 20px; }

.user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.user-row:last-child { border-bottom: none; }

.user-row-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
  flex-shrink: 0;
}

.user-row-info { flex: 1; min-width: 0; }
.user-row-name { font-size: 17px; color: var(--text); font-weight: 600; }
.user-row-email { font-size: 14px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-row-badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--surface-3);
  color: var(--text-dim);
  flex-shrink: 0;
}
.user-row-badge--admin { background: color-mix(in srgb, var(--copper) 20%, var(--surface-2)); color: var(--copper); }
.user-row-badge--pending { color: var(--text-muted); }

.user-row-actions { display: flex; gap: 4px; flex-shrink: 0; }

/* ─── Misc ───────────────────────────────────────────────────────────────────── */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
