/* minibia.com's /css/home-today.css, recoloured to Minibia Idle's blue by tools/idle/minibia-css-recolor.js. Edit Idle's look in site/idle.css, not here. */
/* Today in Minibia (owner 2026-10-03: more emphasis on shorts, then "too much": one calmer row below the sections that explain the game; js/home-today.js) */
.home-today-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.home-page .home-today h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 8px; }
.home-today h2 span { color: var(--home-gold); }
.home-today-lead { margin: 0; color: var(--home-muted); line-height: 1.6; }
.home-today-lead a { color: var(--home-gold); }
.home-today-all { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid #d6b46d70; border-radius: 6px; color: #f0d28a; font: 600 15px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: none; background: #d6b46d14; }
.home-today-all:hover { background: #d6b46d26; color: #fff1cf; }

.home-today-shorts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.today-short { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #030b11; border: 1px solid var(--home-edge); color: var(--home-ink); text-decoration: none; box-shadow: 0 8px 24px #00000077; transition: transform .2s ease, border-color .2s ease; }
.today-short:hover, .today-short:focus-visible { transform: translateY(-3px); border-color: #d6b46da0; }
.today-short:focus-visible { outline: 2px solid #e6c575; outline-offset: 3px; }
.today-short img, .today-short video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.today-short video { opacity: 0; transition: opacity .25s ease; }
.today-short.is-playing video { opacity: 1; }
.today-short::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, #030b11eb); pointer-events: none; }
.today-kind { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; font: 700 10px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #061623; background: #e6c575; }
.today-play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #030b11a8; border: 1px solid #f0d28a80; transition: opacity .2s ease; }
.today-play::before { content: ""; position: absolute; left: 18px; top: 14px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #f0d28a; }
.today-short.is-playing .today-play { opacity: 0; }
.today-info { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 3px; }
.today-info strong { font: 700 13px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #fff4dc; }
.today-info span { font-size: 12px; color: var(--home-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* narrower screens: the rows scroll sideways, a card and a half in view says there is more */
@media (max-width: 900px) {
  .home-today-shorts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .home-today-shorts::-webkit-scrollbar { display: none; }
  .today-short { flex: 0 0 31%; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .home-today-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .home-today-all { justify-content: center; }
  .today-short { flex-basis: 42%; }
}

