/* home.html only: slot machine first, then the three doors. Slot and door styles live in site.css. */
.home-wrap { width: min(100% - 24px, 820px); margin: 0 auto; padding: 18px 0 56px; }
.home .slot { margin-top: 10px; }
.home .slot-head h2 { font-size: clamp(26px, 6vw, 34px); }
.slot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.home-h2 { margin-top: 32px; font: 400 24px/1.1 var(--display); color: var(--ink); }
.home .doors { width: 100%; margin-top: 12px; }
.home .credits p { margin-top: 6px; }
@media (min-width: 1000px) {
  .home-wrap { padding-top: 28px; }
  .home .slot { padding: 20px 18px 16px 24px; }
}

/* Marquee above the slot: same 5 picks as events.html, so copy its 5-item timing (assets/events.css:5-8, 52). */
.home .mq { margin-top: 10px; }
.home .mq-list a, .home .mq-list a b { animation-duration: 5s; }
.home .mq-list a:nth-child(5), .home .mq-list a:nth-child(5) b { animation-delay: 4s; }
.home .slot { margin-top: 14px; }
.home .mq-list a b { overflow-wrap: normal; }
html:lang(en) .home .slot-head h2 { font-size: clamp(18px, 3vw, 28px); }
html:lang(en) .slot:is(.spinning, .hit) .sym {
  font: 700 clamp(13px, 3.8vw, 21px)/1.12 var(--body);
  overflow-wrap: normal;
  text-wrap: balance;
}
@media (max-width: 640px) {
  .home-wrap { padding-top: 6px; }
  .home .trip-heading { padding: 0 0 8px; }
  .home .trip-heading h1 { font-size: 26px; }
  .home .mq { margin-top: 0; }
  .home .slot { margin-top: 12px; grid-template-columns: minmax(0, 1fr) 48px; column-gap: 10px; }
  .home .lever { width: 48px; }
  .home .reels { grid-template-columns: 1.15fr 1.15fr 1fr; gap: 4px; padding-inline: 5px; }
  .home .sym { padding-inline: 2px; }
  html:lang(ko) .slot:is(.spinning, .hit) .sym { font-size: clamp(14px, 4.3vw, 19px); }
  .home .reels, .home .slot-out { margin-top: 6px; }
  .home .reel, .home .sym { height: clamp(56px, 17vw, 68px); }
}
/* Short phones keep the lever beside the heading and reels. */
@media (max-width: 640px) and (max-height: 680px) {
  .home .trip-heading { padding-bottom: 5px; }
  .home .trip-heading h1 { font-size: 20px; }
  .home .slot { padding-block: 12px; }
  .home .slot-head h2 { font-size: 20px; }
  .home .reel-col > span { font-size: 11px; line-height: 1.2; }
  .home .lever { min-height: 120px; }
  .home .lever .ball { transform: translateY(calc(var(--ball-y, -62px) * .82)) scale(calc(var(--ball-s, 1) * .92)); }
  .home .lever .arm { transform: scale(var(--arm-w, 1), calc(var(--arm-y, .62) * .82)); }
  .home .lever .collar { transform: translateY(calc(var(--collar-y, -47px) * .82)) scale(var(--ball-s, 1)); }
  .home .slot-out { font-size: 13px; line-height: 1.3; min-height: 2.6em; }
}
@media (min-width: 1000px) {
  .home .mq-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .home .mq-list a { justify-content: flex-start; padding: 10px 9px; }
  .home .mq-list b { text-wrap: balance; }
}

/* Quick answers under the doors: three guide links on one line. */
.quick { display: flex; gap: 6px; margin-top: 12px; }
.quick a { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: border-color .2s; }
.quick a:hover { border-color: var(--gold); }

/* Inline styles moved by the stage step (CSP). */
.vg-inline-home-1 { background-image:linear-gradient(180deg,rgba(7,9,26,.1),rgba(7,9,26,.88) 72%),url(/assets/photos/w800/strip-street.e8375697f2.webp) !important; }
.vg-inline-home-2 { background-image:linear-gradient(180deg,rgba(7,9,26,.1),rgba(7,9,26,.88) 72%),url(/assets/photos/w800/sphere.48de0eb075.webp) !important; }
.vg-inline-home-3 { background-image:linear-gradient(180deg,rgba(7,9,26,.1),rgba(7,9,26,.88) 72%),url(/assets/photos/w800/strip2.af9dbc7e59.webp) !important; }

/* Inline styles moved by the stage step (CSP). */
.vg-inline-en-home-1 { background-image:linear-gradient(180deg,rgba(7,9,26,.1),rgba(7,9,26,.88) 72%),url(/assets/photos/w800/strip-street.e8375697f2.webp) !important; }
.vg-inline-en-home-2 { background-image:linear-gradient(180deg,rgba(7,9,26,.1),rgba(7,9,26,.88) 72%),url(/assets/photos/w800/sphere.48de0eb075.webp) !important; }
.vg-inline-en-home-3 { background-image:linear-gradient(180deg,rgba(7,9,26,.1),rgba(7,9,26,.88) 72%),url(/assets/photos/w800/strip2.af9dbc7e59.webp) !important; }
