body:has(.guest-home) .guest-actions .top-search { display: none; }
body .home.guest-home {
  max-width: calc(1200px + 6vw); padding: 24px 3vw 32px; gap: 24px;
  container: guestLobby / inline-size;
}
.guest-home .home-browser { width: 100%; left: 0; }
@media (min-width: 761px) { .guest-home #content { scroll-margin-top: 76px; } }
.guest-welcome {
  display: grid; place-items: center; width: 100%; height: 375px; overflow: hidden;
  background: var(--rail) url('/img/home/guest-desktop.webp') center / cover no-repeat;
  border-radius: 8px; text-align: center;
}
.guest-welcome-actions {
  display: grid; justify-items: stretch; width: min(350px, 100%); gap: 12px;
}
.guest-welcome h1 { margin: 0; color: var(--text-2); font: 700 32px/40px var(--font); text-wrap: balance; }
@container guestLobby (min-width: 768px) {
  .guest-welcome h1 { max-width: 290px; justify-self: center; }
}
.guest-welcome-actions > span { font: 500 14px/20px var(--font); color: var(--label); }
.guest-welcome-actions a {
  display: grid; place-items: center; min-height: 44px; padding: 8px 16px;
  border-radius: 8px; color: white; text-decoration: none; font: 600 16px/24px var(--font);
  box-shadow: var(--lift-sm);
}
.guest-register { background: var(--info); }
.guest-play { background: var(--edge); }
.guest-welcome-actions a:hover { filter: brightness(1.12); }
.guest-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guest-shortcuts a {
  display: flex; align-items: center; gap: 6px; min-height: 48px; min-width: 0; padding: 8px 12px;
  border-radius: 8px; text-decoration: none; background: var(--surface); color: var(--text-2);
  font: 600 16px/24px var(--font);
}
.guest-shortcuts a:hover { background: var(--surface-3); }
.guest-shortcuts .home-icon { color: var(--label); }
.guest-shortcuts small { display: flex; align-items: center; gap: 4px; margin-left: auto; color: var(--label); font: 500 14px/20px var(--font); }
.guest-shortcuts small:has(span:empty) { visibility: hidden; }
.guest-shortcuts i { width: 5px; height: 5px; border-radius: 100%; background: var(--win); }
@container guestLobby (min-width: 768px) and (max-width: 900px) {
  .guest-welcome { background-image: url('/img/home/guest-tablet.webp'); }
}
@container guestLobby (max-width: 767px) {
  .guest-welcome {
    height: auto; min-height: max(350px, 80.5cqw); align-items: end; padding: 16px;
    background-image: url('/img/home/guest-mobile.webp'); background-size: 100% auto; background-position: center top;
  }
  .guest-welcome-actions { width: 100%; }
  .guest-shortcuts .home-icon { display: none; }
  .guest-shortcuts .guest-playing-label {
    position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden;
  }
}
@media (max-width: 850px) {
  body .home.guest-home { padding-top: 12px; }
}
@media (max-width: 600px) {
  .guest-welcome-actions { gap: 8px; }
  .guest-welcome h1 { font-size: 24px; line-height: 30px; }
  .guest-shortcuts { gap: 8px; }
  .guest-shortcuts a { font-size: 14px; padding-inline: 9px; }
  .guest-shortcuts small { font-size: 12px; }
}
