/* Home feature styles. Shell tokens come from css/app.css. */

.home-hello { margin-bottom: var(--s-5); }
.home-hello-hi {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.home-hello-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.home-hello-pending {
  margin: var(--s-3) 0 0;
  padding: 10px var(--s-3);
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--orange) 16%, var(--surface));
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 600;
}

.home-slot { margin-bottom: var(--s-5); }
.home-slot:last-of-type { margin-bottom: var(--s-4); }

/* ---------------------------------------------------- next conference card */

.home-next { padding: var(--s-5); }

.home-next-kicker {
  margin: 0 0 var(--s-1);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.home-next-name {
  margin: 0 0 var(--s-2);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.home-next-when {
  margin: 0;
  font-weight: 600;
  color: #fff;
}

.home-next-where {
  margin: 2px 0 0;
  font-size: .88rem;
  color: rgba(255, 255, 255, .78);
}

.home-count {
  display: flex;
  gap: var(--s-3);
  margin: var(--s-4) 0;
  flex-wrap: wrap;
}

.home-count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .12);
}

.home-count-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.home-count-lbl {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.home-count-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px var(--s-3);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
}

.home-count-note {
  color: rgba(255, 255, 255, .78);
  font-size: .85rem;
  font-weight: 600;
}

.home-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.home-next-actions .btn {
  flex: 1 1 96px;
  background: rgba(255, 255, 255, .95);
  border-color: transparent;
  color: var(--navy);
}
.home-next-actions .btn:hover { background: #fff; }

.home-next-hotel {
  margin: var(--s-3) 0 0;
  font-size: .82rem;
  color: rgba(255, 255, 255, .78);
}

.home-next-reg {
  margin-top: var(--s-3);
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .85rem;
}

/* ------------------------------------------------------------- news list */

.home-news { display: flex; flex-direction: column; gap: var(--s-3); }

.home-news-item {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  transition: transform .12s ease, box-shadow .12s ease;
}
.home-news-item.tappable { cursor: pointer; }
.home-news-item.tappable:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }

.home-news-thumb {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface-2);
}
.home-news-thumb img { width: 100%; height: 100%; object-fit: cover; }

.home-news-body { flex: 1 1 auto; min-width: 0; }

.home-news-title {
  margin: 0 0 4px;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-excerpt {
  margin: 0 0 4px;
  font-size: .84rem;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-meta {
  margin: 0;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
}

/* ----------------------------------------------------------- quick links */

.home-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
}
@media (min-width: 560px) {
  .home-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.home-quick-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--sh-1);
  text-align: left;
  transition: transform .12s ease, box-shadow .12s ease;
}
.home-quick-item:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }

.home-quick-icon { font-size: 22px; line-height: 1.2; color: #2858b0; display: inline-flex; }
.home-quick-icon svg { width: 24px; height: 24px; display: block; }
:root[data-theme="dark"] .home-quick-icon { color: #6ea2de; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .home-quick-icon { color: #6ea2de; } }
.home-quick-label { font-weight: 700; font-size: .95rem; }
.home-quick-note { font-size: .76rem; color: var(--muted); }

/* ------------------------------------------------------------------ foot */

.home-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-5) 0 0;
  font-size: .8rem;
  color: var(--muted);
}
.home-foot-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin: 0;
}
.home-foot-dot { color: var(--line-strong); }

/* Store-safe disclosure (config.js DISCLOSURE). Same sentence in
   Settings > About and in the store description. */
.home-foot-disclosure {
  max-width: 40ch;
  margin: 0;
  text-align: center;
  font-size: .75rem;
  line-height: 1.45;
  color: var(--muted);
}
