/*! livepow-web lp-home.css: the home page (/). Tokens and cards come from lp.css. */
.lp-home-hero { text-align: center; margin: 8px 0 16px; }
.lp-home-hero h1 { font-size: 1.08rem; margin: 0 0 12px; }
@media (min-width: 700px) { .lp-home-hero h1 { font-size: 1.3rem; } }

/* the big Whistler Blackcomb button (old home page visitors) */
.lp-wb-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: min(100%, 520px); min-height: 76px; margin: 0 auto 14px; padding: 12px 18px;
  background: linear-gradient(135deg, #2d5886, #4477aa); color: #fff; text-decoration: none;
  border-radius: var(--lp-radius); box-shadow: var(--lp-glow), inset 0 0 10px rgba(255, 255, 255, .5);
}
.lp-wb-btn:hover, .lp-wb-btn:focus-visible { background: linear-gradient(135deg, #24496f, #3a6a9c); text-decoration: none; }
.lp-wb-k { font-size: 1.3rem; font-weight: 700; letter-spacing: .01em; text-shadow: 0 0 4px rgba(100, 100, 255, 1); }
.lp-wb-s { font-size: .82rem; font-weight: 400; opacity: .92; }
@media (min-width: 700px) { .lp-wb-k { font-size: 1.5rem; } }

/* big search */
.lp-search.lp-home-search { position: relative; width: min(100%, 520px); margin: 0 auto; }
.lp-search.lp-home-search input {
  width: 100%; height: 46px; padding: 0 14px; font-size: 16px;
  background: #fff; border: 1px solid #b9c6d4; border-radius: 8px; box-shadow: 0 0 4px rgba(45, 88, 134, .35);
}
.lp-search.lp-home-search input:focus { width: 100%; outline: 2px solid var(--lp-blue-2); outline-offset: 0; }
.lp-search.lp-home-search .lp-search-list { left: 0; right: 0; top: 50px; width: auto; text-align: left; }

/* favorites / nearby */
.lp-home-empty .lp-flake-inline { color: var(--lp-blue); font-weight: 700; }
.lp-home-near-bar { margin-bottom: 10px; }
.lp-home-status { margin: 0; flex: 1 1 200px; }

/* biggest snowfalls (regional + worldwide; next / past 48 h side by side from 760px, a toggle below) */
.lp-top-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; }
.lp-top-bar .lp-note { margin: 0; }
@media (min-width: 760px) { .lp-top-bar .lp-toggle { display: none; } }
.lp-top-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-top-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 759px) {
  .lp-top-grid[data-show="next"] > .lp-top-past, .lp-top-grid[data-show="past"] > .lp-top-next { display: none; }
}
.lp-top-col { min-width: 0; }
.lp-top-col h3 { color: var(--lp-blue); margin-bottom: .35em; }
.lp-top-list { margin: 0; padding: 0; list-style: none; counter-reset: top; background: #fff; border-radius: 8px; box-shadow: 0 0 3px rgba(45, 88, 134, .5); overflow: hidden; }
.lp-top-list li {
  counter-increment: top; display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; min-width: 0;
  border-top: 1px solid #eef1f4;
}
.lp-top-list li:first-child { border-top: 0; }
.lp-top-list li:nth-child(even) { background: var(--lp-zebra); }
.lp-top-list li::before { content: counter(top); flex: none; width: 1.4em; text-align: right; font-size: .78rem; color: var(--lp-muted); font-variant-numeric: tabular-nums; }
.lp-top-n { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-size: .9rem; }
.lp-top-f { margin-right: 4px; font-size: 1rem; line-height: 1; }
.lp-top-p { font-size: .75rem; color: var(--lp-muted); }
@media (max-width: 499px) { .lp-top-p { display: block; } }
.lp-top-t { flex: none; min-width: 3.2em; text-align: right; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-top-v { flex: none; min-width: 3.6em; text-align: right; font-weight: 700; color: var(--lp-blue); font-variant-numeric: tabular-nums; }
#lp-favorites.lp-skel, #lp-near.lp-skel, #lp-topregion.lp-skel { min-height: 60px; }
#lp-topsnow.lp-skel { min-height: 420px; }
