/* Zeltrix browser alerts: the "Alert me" button (venue pages, game hubs) and the /alerts/ page. docs/ALERTS.md */
.alert-box { margin: 16px 0 0; max-width: 560px; }
.alert-btn { background: var(--lime); color: var(--navy); font-weight: 700; gap: 8px; }
.alert-btn:hover:not(:disabled) { background: var(--lime-hover); }
.alert-btn .alert-btn-sub { font-weight: 500; opacity: .8; }
.alert-btn .alert-btn-sub::before { content: '·'; margin-right: 8px; }
.alert-btn.is-on, .alert-btn.is-on:hover:not(:disabled) { background: #fff; color: var(--navy); border-color: var(--lime); }
.alert-btn.is-on .alert-bell { color: var(--ok-text); }
.alert-btn.is-busy { opacity: .7; cursor: progress; }
/* Secondary "Alert me" (game hubs: "Learn in 2 minutes" is the main button beside it). */
.alert-box.is-secondary { margin: 0; }
.alert-box.is-secondary .alert-btn:not(.is-on) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.alert-box.is-secondary .alert-btn:not(.is-on):hover:not(:disabled) { background: rgba(255, 255, 255, .08); border-color: #fff; }
.alert-note { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.page-header .alert-note, .page-header .alert-ios { color: #e8ecf6; }
.page-header .alert-note a, .page-header .alert-ios a { color: var(--lime); }
.alert-ios { margin-top: 12px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-sm); font-size: 14px; line-height: 1.5; }
.alert-ios ol { margin: 6px 0 6px 20px; padding: 0; }
.alert-ios-title { margin: 0; font-weight: 600; }
.alerts-small { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.page-header .alerts-small { color: #c9d1e4; }

/* /alerts/ */
.alerts-shell { display: grid; gap: 18px; max-width: 820px; padding-bottom: 48px; }
.alerts-page .content-card h2 { margin-top: 0; }
.alerts-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.alerts-ios { border-left: 4px solid var(--lime); }
.alerts-steps { margin: 8px 0 4px 20px; padding: 0; line-height: 1.6; }
.alerts-list, .alerts-games, .alerts-weekend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alerts-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--border); }
.alerts-list li > a, .alerts-list .alerts-name { flex: 1 1 200px; font-weight: 600; }
.alerts-kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); min-width: 48px; }
.alerts-off-one { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.alerts-games { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.alerts-games-card .alerts-games { margin-top: 14px; padding: 0; }
.alert-box.is-row { margin: 0; }
.alert-box.is-row .alert-btn { width: 100%; justify-content: flex-start; background: var(--bg-soft); color: var(--ink); }
.alert-box.is-row .alert-btn.is-on, .alert-box.is-row .alert-btn.is-on:hover:not(:disabled) { background: var(--ok-bg); color: var(--ok-text); border-color: transparent; }
.alert-box.is-row .alert-btn-sub { opacity: 1; font-weight: 600; }
.alert-box.is-row .alert-btn-sub::before { content: none; }
.alert-box.is-row [data-alert-label] { font-weight: 500; font-size: 13px; order: 2; margin-left: auto; color: var(--muted); }
.alerts-area { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 100%; font-weight: 600; }
.alerts-area select { max-width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font: inherit; background: #fff; }
.alerts-weekend li { display: grid; grid-template-columns: 140px 1fr; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.alerts-when { font-weight: 700; color: var(--ink); }
.alerts-where { grid-column: 2; font-size: 14px; color: var(--muted); }
.alerts-empty { color: var(--muted); }
@media (max-width: 560px) {
  .alert-box:not(.is-row) .alert-btn { width: 100%; }
  .alerts-actions .button { width: 100%; }
  .alerts-weekend li { grid-template-columns: 1fr; }
  .alerts-where { grid-column: 1; }
}

/* The Zeltrix app: the in-app explanation before the phone's notification prompt (alerts.js explainNative). */
.alert-native { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; background: rgba(5, 10, 25, .6); padding: 16px; }
.alert-native-card { width: 100%; max-width: 440px; background: var(--surface, #111a33); color: var(--text, #fff); border-radius: 16px; padding: 20px 20px 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.alert-native-card h2 { margin: 0 0 10px; font-size: 1.25rem; }
.alert-native-card ul { margin: 0 0 10px; padding-left: 1.2em; }
.alert-native-card li { margin: 4px 0; }
.alert-native-row { display: flex; gap: 10px; margin-top: 12px; }
.alert-native-row .btn { flex: 1; min-height: 44px; }
@media (min-width: 700px) { .alert-native { align-items: center; } }
