/* Momentum Bell — "Learn in 30 seconds" carousel on the home page. */
.site-intro{ font-size:12.5px; color:var(--dim); margin:2px 0 10px; line-height:1.5; }

.hl{ margin:16px 0 0; border-top:1px solid var(--line); padding:18px 0 6px; }
.hl-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:0 2px 10px; }
.hl-head h2{ font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--dim); font-weight:600; margin:0; }
.hl-all{ font-size:12.5px; color:var(--hot); text-decoration:none; white-space:nowrap; }
.hl-all:hover{ text-decoration:underline; }

.hl-wrap{ position:relative; }
.hl-track{
  position:relative; display:flex; gap:12px; overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  scrollbar-width:none; outline:none;
}
.hl-track::-webkit-scrollbar{ display:none; }
.hl-track:focus-visible{ box-shadow:0 0 0 2px var(--hot-dim); border-radius:14px; }

.hl-card{
  flex:0 0 100%; scroll-snap-align:start; box-sizing:border-box; position:relative; overflow:hidden;
  background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:18px 56px 16px 54px;
  display:flex; flex-direction:column; gap:8px;
}
.hl-card::before{ content:""; position:absolute; left:0; right:0; top:0; height:2px; background:var(--hot); opacity:.7; }
.hl-tag{ font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--hot); font-weight:700; }
.hl-card h3{ font-size:17px; margin:0; line-height:1.35; color:#f2f3f4; font-weight:700; }
.hl-card h3 a{ color:inherit; text-decoration:none; }
.hl-card h3 a:hover{ text-decoration:underline; }
.hl-card ul{ list-style:none; margin:4px 0 2px; padding:0; display:flex; flex-direction:column; gap:7px; }
.hl-card li{ position:relative; padding-left:18px; font-size:14px; line-height:1.55; color:var(--text); }
.hl-card li::before{ content:"✓"; position:absolute; left:0; color:var(--hot); font-size:13px; }
.hl-card li b{ color:#f2f3f4; }
.hl-card li a{ color:var(--hot); }
.hl-more{ align-self:flex-start; margin-top:6px; font-size:13px; font-weight:600; color:var(--hot); text-decoration:none; }
.hl-more:hover{ text-decoration:underline; }

.hl-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:36px; height:36px; border-radius:50%;
  background:rgba(17,20,23,.92); border:1px solid #2a3037; color:var(--text); cursor:pointer; padding:0;
  display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(0,0,0,.5);
  transition:border-color .2s ease;
}
.hl-arrow:hover{ border-color:var(--hot); color:#fff; }
.hl-arrow:focus-visible{ outline:2px solid var(--hot); outline-offset:2px; }
.hl-arrow svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.hl-prev{ left:-10px; } .hl-next{ right:-10px; }

.hl-dots{ display:flex; justify-content:center; flex-wrap:wrap; gap:3px; margin:10px 0 2px; }
.hl-dot{ width:20px; height:20px; padding:0; border:0; background:none; cursor:pointer; position:relative; }
.hl-dot::after{ content:""; position:absolute; left:50%; top:50%; width:7px; height:7px; margin:-3.5px 0 0 -3.5px; border-radius:50%; background:#2a3037; transition:background .2s ease, transform .2s ease; }
.hl-dot:hover::after{ background:#4b5360; }
.hl-dot[aria-current="true"]::after{ background:var(--hot); transform:scale(1.25); }
.hl-dot:focus-visible{ outline:2px solid var(--hot); outline-offset:0; border-radius:50%; }

.hl-chips{ display:flex; flex-wrap:wrap; gap:6px 8px; margin:12px 0 0; }
.hl-chips a{
  font-size:12px; color:var(--dim); text-decoration:none; border:1px solid var(--line); border-radius:999px;
  padding:4px 11px; transition:color .2s ease, border-color .2s ease;
}
.hl-chips a:hover{ color:var(--hot); border-color:var(--hot-dim); }
.hl-note{ font-size:11px; color:var(--dim); margin:10px 2px 0; opacity:.8; }

/* While the market is closed the list box shrinks to just the closed message. */
body.mb-closed .scanner-viewport{ min-height:92px; }
@media (min-width:721px){
  body.mb-closed .scanner-viewport{ height:auto; overflow:visible; }
}
body.mb-closed .scanner-viewport .skeleton{ display:none; }
body.mb-closed .scanner-viewport .empty{ padding:26px 14px; }
body.mb-closed .hl{ margin-top:8px; border-top:0; padding-top:10px; }

@media (max-width:720px){
  .hl-arrow{ display:none; }
  .hl-card{ padding:16px 16px 14px 18px; }
  .hl-card h3{ font-size:16px; }
}
@media (prefers-reduced-motion:reduce){ .hl-dot::after{ transition:none; } }

/* soft fade when the carousel jumps (e.g. looping from the last card back to the first) */
@keyframes hlFade{ from{ opacity:.25; } to{ opacity:1; } }
.hl-card.hl-fade{ animation:hlFade .35s ease both; }
@media (prefers-reduced-motion:reduce){ .hl-card.hl-fade{ animation:none; } }

/* "Latest recap" card (home-recap.js) and the wrapper that keeps it next to the Learn section */
.hr{ margin:16px 0 0; border-top:1px solid var(--line); padding:18px 0 0; }
.hr[hidden]{ display:none; }
.hr-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:0 2px 10px; }
.hr-head h2{ font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--dim); font-weight:600; margin:0; }
.hr-all{ font-size:12.5px; color:var(--hot); text-decoration:none; white-space:nowrap; }
.hr-all:hover{ text-decoration:underline; }
.hr-card{ background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:16px 20px 14px; position:relative; overflow:hidden; }
.hr-card::before{ content:""; position:absolute; left:0; right:0; top:0; height:2px; background:var(--warn); opacity:.7; }
.hr-date{ font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--warn); font-weight:700; }
.hr-card h3{ font-size:17px; margin:6px 0 0; color:#f2f3f4; line-height:1.35; }
.hr-card h3 a{ color:inherit; text-decoration:none; }
.hr-card h3 a:hover{ text-decoration:underline; }
.hr-ex{ font-size:14px; line-height:1.55; color:var(--text); margin:8px 0 6px; }
.hr-more{ font-size:13px; font-weight:600; color:var(--hot); text-decoration:none; }
.hr-more:hover{ text-decoration:underline; }
body.mb-closed .hr{ margin-top:8px; border-top:0; padding-top:10px; }
body.mb-closed .hr + .hl{ margin-top:6px; }
