/*
 * welcome.css — Welcome overlay + demo mode banner styles.
 *
 * Load after overlay.css.
 */

/* ---- Welcome overlay card ------------------------------------------------ */
/* The welcome overlay must render above the top banners (z-index 200). */
.overlay.welcome {
  z-index: 300;
}

.welcome__card {
  width: min(380px, calc(100vw - 32px));
  text-align: center;
  padding: 28px 24px;
}

.welcome__icon {
  font-size: 80px;
  line-height: 1;
}

.welcome__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.welcome__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.welcome__features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.welcome__features li::before {
  content: '✓';
  margin-right: 8px;
  color: var(--accent);
  font-weight: 700;
}

.welcome__privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.welcome__privacy-icon {
  font-size: 1rem;
  line-height: 1.3;
}

.welcome__privacy em {
  font-style: normal;
  color: var(--text);
}

.welcome__ghost-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
}

.welcome__ghost-tip-icon {
  font-size: 1rem;
  line-height: 1.3;
}

.welcome__actions {
  display: flex;
  gap: 10px;
}

.welcome__btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.welcome__btn:hover {
  background: var(--surface-hover);
}

.welcome__btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.welcome__btn--primary:hover {
  opacity: 0.9;
  background: var(--accent);
}

/* ---- Update ("What's new") overlay --------------------------------------- */
/* Must render above the top banners (z-index 200), like the welcome overlay. */
.overlay.update {
  z-index: 300;
}

.update__card {
  width: min(420px, calc(100vw - 32px));
  text-align: center;
  padding: 28px 24px;
}

.update__version {
  font-size: 1rem;
  font-weight: 700;
  margin: 18px 0 4px;
}

.update__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 12px 0 4px;
}

.update__items {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.update__items li::before {
  content: '•';
  margin-right: 8px;
  color: var(--accent);
  font-weight: 700;
}

/* ---- Demo mode banner ---------------------------------------------------- */
.demo-banner {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.demo-banner__label {
  opacity: 0.9;
}

.demo-banner__btn {
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.demo-banner__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}