/* Lightweight first paint for /tutorial.
   The complete game stylesheet is requested only after the visitor starts. */
html,
body {
  min-height: 100%;
  margin: 0;
}

body[data-tutorial-lazy="1"] {
  overflow: hidden;
  background: #0d100e;
  color: #f8f5ed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body[data-tutorial-lazy="1"] > :not(#tutorial-seo-shell):not(script) {
  visibility: hidden !important;
}

.tutorial-seo-shell,
.tutorial-seo-shell * {
  box-sizing: border-box;
}

.tutorial-seo-shell {
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow: auto;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  color: #f8f5ed;
  background:
    linear-gradient(125deg, rgba(4, 6, 5, .94), rgba(4, 6, 5, .76)),
    url("/images/brand-00.jpg") center / cover no-repeat,
    #0d100e;
}

.tutorial-seo-card {
  width: min(900px, 100%);
  padding: clamp(24px, 5vw, 60px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  background: rgba(9, 11, 10, .9);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
}

.tutorial-seo-brand {
  color: #fff;
  text-decoration: none;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 23px;
  letter-spacing: .1em;
}

.tutorial-seo-kicker {
  margin: 34px 0 0;
  color: #ffd166;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.tutorial-seo-card h1 {
  margin: 12px 0 16px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.tutorial-seo-intro {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
}

.tutorial-seo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 28px 0 12px;
}

.tutorial-seo-actions a,
.tutorial-seo-actions button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.tutorial-seo-actions .tutorial-seo-start {
  border-color: #d9342b;
  background: #d9342b;
}

.tutorial-seo-actions .tutorial-seo-start:disabled {
  cursor: wait;
  opacity: .72;
}

.tutorial-seo-actions a:focus-visible,
.tutorial-seo-actions button:focus-visible,
.tutorial-seo-brand:focus-visible,
.tutorial-seo-card summary:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 3px;
}

.tutorial-load-status {
  min-height: 21px;
  margin: 0 0 18px;
  color: #ffd166;
  font-size: 13px;
  font-weight: 700;
}

.tutorial-load-status.is-error {
  color: #ff8d86;
}

.tutorial-seo-card section {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.tutorial-seo-card section h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.tutorial-seo-card details {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.tutorial-seo-card summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.tutorial-seo-card details p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .tutorial-seo-shell {
    place-items: start center;
    padding: 14px;
    background:
      linear-gradient(to bottom, rgba(4, 6, 5, .84), rgba(4, 6, 5, .96)),
      url("/images/brand-00-mobile.jpg") center / cover no-repeat,
      #0d100e;
  }

  .tutorial-seo-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .tutorial-seo-kicker {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
