/* Public Team landing belongs to the site. Room and game CSS is not loaded here. */
.tm-landing-page {
  min-height: 100vh;
  margin: 0;
}

.tm-site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 94%); border-bottom: 1px solid var(--sv4-line); backdrop-filter: blur(14px); }
.tm-site-header__inner { max-width: 1120px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tm-site-logo { display: inline-flex; align-items: baseline; font: 900 24px/1 Montserrat, Gilroy, sans-serif; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.tm-site-logo__salo { color: var(--sv4-orange); }
.tm-site-logo__dot { color: #cfcffd; }
.tm-site-logo__fun { color: var(--sv4-gold); }
.tm-site-logo__tag { margin-left: 8px; color: var(--sv4-muted); font: 700 13px/1 Gilroy, sans-serif; letter-spacing: 0; text-transform: none; }
.tm-site-logo__tag--team { color: var(--sv4-brand); }
.tm-site-nav { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 600; }
.tm-site-nav a { color: var(--sv4-muted); }
.tm-site-nav a:hover, .tm-site-nav a:focus { color: var(--sv4-ink); }
.tm-site-nav__cta { padding: 10px 18px; border: 1px solid var(--sv4-orange); border-radius: 14px; background: var(--sv4-orange); color: #fff !important; box-shadow: 0 8px 18px rgb(23 24 36 / 12%); }
.tm-site-nav__cta:hover, .tm-site-nav__cta:focus-visible { background: #df3510; }

.tm-landing { max-width: 1120px; margin: 0 auto; padding: 42px 20px 60px; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.tm-hero { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border: 1px solid #eadff7; border-radius: 28px; background: linear-gradient(135deg, #fff 0%, var(--sv4-soft) 60%, #fff3e8 100%); box-shadow: var(--sv4-shadow); text-align: left; }
.tm-hero__content { min-width: 0; }
.tm-landing__brand { margin: 0 0 12px !important; font-size: 28px; line-height: 1.12; }
.tm-landing-page .tm-brand-lockup { display: flex; flex-wrap: wrap; align-items: baseline; color: var(--sv4-ink); font: 900 28px/1.12 Montserrat, Gilroy, sans-serif; text-transform: uppercase; }
.tm-brand-lockup__salo { color: var(--sv4-orange); }
.tm-brand-lockup__dot { color: #cfcffd; }
.tm-brand-lockup__fun { color: var(--sv4-gold); }
.tm-brand-lockup__suffix { margin-left: 12px; text-transform: none; }
.tm-brand-lockup__suffix--team { color: var(--sv4-brand); }
.tm-landing-page .tm-landing__title { margin: 0 0 16px; font-size: 48px; line-height: 1.12; letter-spacing: 0; overflow-wrap: anywhere; }
.tm-landing-page .tm-landing__sub { max-width: 680px; margin: 0 0 28px; color: #515865; font-size: 20px; line-height: 1.6; }
.tm-landing-page .tm-landing__hint { margin: 12px 0 0; color: var(--sv4-muted); font-size: 14px; line-height: 1.5; }
.tm-landing__hint a, .tm-organizer a { color: var(--sv4-brand) !important; }
.tm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tm-hero__link { color: var(--sv4-brand) !important; font-size: 15px; font-weight: 600; text-decoration: underline !important; text-underline-offset: 4px; }
.tm-landing-page .tm-landing__button { display: inline-block; min-height: 48px; padding: 13px 22px; border: 0; border-radius: 14px; background: var(--sv4-orange); color: #fff !important; cursor: pointer; font: 700 17px/1.5 Gilroy, 'Open Sans', system-ui, sans-serif; text-align: center; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 18px rgb(23 24 36 / 12%); }
.tm-landing-page .tm-landing__button:hover { background: #df3510; }
.tm-hero-panel { min-width: 0; min-height: 320px; padding: 22px; border: 1px solid var(--sv4-line); border-radius: 22px; background: var(--sv4-surface); }
.tm-landing-page .tm-hero-panel__title { margin: 0 0 18px; color: var(--sv4-ink); font-size: 18px; line-height: 1.3; font-weight: 700; }
.tm-hero-panel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tm-hero-panel__metric { min-width: 0; min-height: 96px; padding: 14px; border: 1px solid var(--sv4-line); border-radius: 16px; background: var(--sv4-soft); overflow-wrap: anywhere; }
.tm-hero-panel__value { display: block; margin-bottom: 6px; color: var(--sv4-orange); font-size: 28px; line-height: 1; font-weight: 800; }
.tm-hero-panel__label { display: block; color: var(--sv4-muted); font-size: 13px; line-height: 1.35; }

.tm-organizer, .tm-lead { width: 100%; padding: 16px 20px; border: 1px solid var(--sv4-line); border-radius: 22px; background: var(--sv4-surface); box-shadow: 0 10px 28px rgb(30 24 48 / 6%); }
.tm-organizer { text-align: left; }
.tm-organizer__title { margin: 0 0 12px !important; color: var(--sv4-orange) !important; font-size: 18px !important; letter-spacing: 0 !important; line-height: 1.5 !important; }
.tm-organizer__list { margin: 0; padding-left: 20px; color: var(--sv4-muted); font-size: 15px; line-height: 1.6; }
.tm-organizer__list li { margin-bottom: 4px; }
.tm-program-list { list-style: decimal; }

.tm-landing__covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
.tm-landing__covers .tm-game { position: relative; z-index: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px; border-radius: 10px; background: var(--sv4-canvas); text-align: center; overflow-wrap: anywhere; }
.tm-landing__covers .tm-game::before { content: ''; position: absolute; z-index: -1; inset: 2px; border-radius: 9px; background: var(--sv4-canvas); }
.tm-landing__covers .tm-game__cover { width: 100%; aspect-ratio: 1200 / 633; object-fit: cover; border-radius: 8px; }
.tm-landing__covers .tm-game__label { margin: 0; color: var(--sv4-orange); font-size: 16px; line-height: 1.5; font-weight: 600; }
.tm-landing__covers .tm-game__excerpt { flex: 1; margin: 0; color: var(--sv4-muted); font-size: 13px; line-height: 1.4; }

.tm-lead { scroll-margin-top: 100px; padding: 20px; text-align: center; }
.tm-lead__title { margin: 0 0 16px !important; font-size: 20px !important; line-height: 1.3 !important; letter-spacing: 0 !important; }
.tm-lead > .tm-landing__sub, .tm-lead__form { max-width: none; }
.tm-lead__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 auto; }
.tm-lead__form[hidden] { display: none; }
.tm-lead__form > label { display: grid; gap: 6px; color: #242433; font-size: 14px; font-weight: 700; text-align: left; }
.tm-lead__form .tm-input--small { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--sv4-brand); border-radius: 8px; background: var(--sv4-soft); color: var(--sv4-ink); font: inherit; font-size: 15px; outline: none; }
.tm-lead__form .tm-input--small:focus { border-color: var(--sv4-orange); }
.tm-lead__form textarea.tm-input--small { min-height: 80px; resize: vertical; }
.tm-lead__wide { grid-column: 1 / -1; }
.tm-lead__form > button { justify-self: start; }
.tm-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tm-landing-page .tm-lead__success { margin: 12px 0 0; color: #286545; font-size: 16px; line-height: 1.5; font-weight: 600; }
.tm-landing-page .tm-lead__error { margin: 12px 0 0; color: #f87171; font-size: 15px; line-height: 1.5; }
.tm-faq-list { display: grid; gap: 14px; margin: 0; }
.tm-faq-list > div { display: grid; gap: 5px; padding: 18px 20px; }
.tm-faq-list dt { color: var(--sv4-ink); font-weight: 700; }
.tm-faq-list dd { margin: 0; color: var(--sv4-muted); line-height: 1.5; }

@media (min-width: 576px) { .tm-landing__covers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tm-hero { grid-template-columns: minmax(0, 1fr) 390px; padding: 42px; } }
@media (max-width: 899px) {
  .tm-site-header__inner { align-items: flex-start; flex-direction: column; gap: 14px; }
  .tm-site-nav { width: 100%; flex-wrap: wrap; gap: 12px 14px; }
  .tm-site-nav a { white-space: nowrap; }
  .tm-site-nav__cta { flex: 1 0 100%; text-align: center; }
  .tm-landing { padding: 28px 16px 48px; }
  .tm-hero { padding: 22px; border-radius: 22px; }
  .tm-landing-page .tm-brand-lockup { font-size: 22px; }
  .tm-landing-page .tm-landing__title { font-size: 32px; }
  .tm-landing-page .tm-landing__sub { font-size: 20px; }
  .tm-hero__actions { align-items: stretch; flex-direction: column; }
  .tm-hero__actions .tm-landing__button { width: 100%; }
  .tm-hero-panel { min-height: auto; }
}
@media (max-width: 768px) {
  .tm-site-header__inner { padding: 14px 16px; }
  .tm-landing { width: 100%; }
  .tm-landing-page .tm-landing__title { font-size: clamp(27px, 7.2vw, 32px); line-height: 1.16; }
  .tm-landing-page .tm-landing__sub { font-size: 17px; }
}
@media (max-width: 640px) {
  .tm-lead__form { grid-template-columns: 1fr; }
  .tm-lead__wide { grid-column: auto; }
  .tm-lead__form > button { width: 100%; }
  .tm-lead { scroll-margin-top: 170px; }
}
@media (max-width: 560px) {
  .tm-landing__covers .tm-game { padding: 12px; gap: 10px; }
  .tm-landing__covers .tm-game__label { font-size: 18px; }
  .tm-landing__covers .tm-game__excerpt { font-size: 14px; }
}
@media (max-width: 480px) {
  .tm-landing__covers, .tm-hero-panel__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 390px) {
  .tm-hero { padding: 18px; }
  .tm-organizer, .tm-lead { padding: 16px; }
  .tm-landing-page .tm-landing__title { font-size: 27px; }
}
