/* The daily reminder: the bell and banner on the front page, its settings sheet, and the offer after a daily game. */
/* ----- Daily reminder: the bell, its banner and its sheet */
.remind-bell {
  width: 36px; height: 36px; display: grid; place-items: center; padding: 0;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-soft); cursor: pointer;
}
.remind-bell:hover { border-color: var(--line-strong); color: var(--ink); }
.remind-bell.on { color: var(--gold); border-color: var(--gold); }
.remind-banner {
  margin-top: 18px; padding: 14px 16px; border: 1.5px solid var(--gold); border-radius: 14px; background: var(--surface);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
}
.remind-banner[hidden] { display: none; }
.remind-banner-text { margin: 0; flex: 1 1 280px; font-size: 15px; line-height: 1.45; }
.remind-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.remind-btn {
  font: inherit; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink);
}
.remind-btn:hover { border-color: var(--gold); }
.remind-btn.primary { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.remind-btn:disabled { opacity: 0.6; cursor: default; }
.remind-modal {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px;
  background: var(--overlay, rgba(20, 14, 8, 0.55));
}
.remind-sheet {
  position: relative; width: min(440px, 100%); max-height: 90vh; overflow: auto; padding: 22px 20px 20px;
  border: 1.5px solid var(--line-strong); border-radius: 18px; background: var(--surface); color: var(--ink);
  box-shadow: var(--lift, 0 14px 40px rgba(0, 0, 0, 0.3));
}
.remind-sheet h2 { margin: 0 34px 10px 0; font-family: var(--font-display, inherit); font-size: 22px; font-weight: 800; }
.remind-close {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 999px;
  background: var(--key); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer;
}
.remind-lead { margin: 0 0 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.remind-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--key); font-size: 14px; line-height: 1.5; }
.remind-note.warn { border: 1.5px solid var(--gold); }
.remind-status { margin: 0 0 10px; font-weight: 700; color: var(--ink-soft); }
.remind-status.on { color: var(--done, var(--ink)); }
.remind-status::before { content: "○ "; }
.remind-status.on::before { content: "● "; }
.remind-time { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-weight: 600; }
.remind-time select { font: inherit; padding: 7px 10px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); max-width: 60%; }
.remind-msg { margin: 10px 0 0; min-height: 1.4em; font-size: 14px; color: var(--ink-soft); }

/* The one-tap offer after finishing a daily game, over whatever page the game is */
.remind-toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(460px, calc(100% - 24px)); padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  border: 1.5px solid var(--gold); border-radius: 14px; background: var(--surface); color: var(--ink);
  box-shadow: var(--lift, 0 14px 40px rgba(0, 0, 0, 0.3)); font: 14px/1.45 var(--font-ui, system-ui, sans-serif);
}
.remind-toast p { margin: 0; flex: 1 1 200px; }
.remind-toast .remind-actions { flex: none; }
