/* Homepage add-ons. Uses variables from game.css :contentReference[oaicite:3]{index=3} */

.top-actions .btn { font-size: 16px; }

.hero-home { margin-top:14px; }

.home-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-end;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.home-h1{
  margin:4px 0 0;
  font-size:22px;
  letter-spacing:.01em;
}

.home-sub{ margin:6px 0 0; max-width:125ch; }

.home-nav{ display:flex; gap:8px; }
.home-nav .btn{ padding:6px 10px; border-radius:10px; }

.strip{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom:6px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
}

.strip::-webkit-scrollbar{ height:10px; }
.strip::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.17); border-radius:999px; }

.card{
  scroll-snap-align:start;
  flex:0 0 auto;
  width: 260px;
  border:1px solid var(--line);
  border-radius: var(--r);
  background: rgba(16,16,26,.55);
  overflow:hidden;
  text-decoration:none;
  transition: transform .12s ease, border-color .12s ease;
}

@media (min-width: 902px){
  .card{ width: 300px; }
  .card:hover{
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.20);
  }
}

.thumb{
  aspect-ratio: 16 / 9;
  background:#000;
  overflow:hidden;
}

.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.card-body{
  padding:10px 12px 12px;
}

.more{
  opacity:.75;
  font-size: 11px;
  cursor: help; /* shows tooltip on desktop */
  white-space: nowrap;
}

.card:hover .more{ opacity:1; color: gold; }

.kicker.home-kicker {
  color:var(--muted);
  text-transform: capitalize; letter-spacing:.04em;
  font-size: 12px;
}

.home-kicker{
  margin:0 0 6px;
  font-size:11px;
}

.card-title{
  font-weight:800;
  letter-spacing:.02em;
  margin:0;
  line-height:1.1;
}

.card-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:8px;
}

.card-tag{
  font-size:13px;
  max-width: 40ch;
}

.home-grid{ margin-top:14px; }
.quick-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

/*.brand.typing{
  text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.brand.typing::after{
  content: "\005F";
  margin-left: 2px;
  animation: p8blink 0.75s steps(1) infinite;
}*/

@keyframes p8blink{
  50% { opacity: 0; }
}

@media (max-width: 400px) {
  .kicker.home-kicker { font-size: 10px; }
  .more { font-size: 10px; }
}