/* Only the player, quick cards, summary and guide use these namespaced styles. */
.sg-player, .sg-quick, .sg-summary, .sg-guide { min-width: 0; }
.sg-player { overflow: hidden; border-radius: 20px; background: #121c27; color: #fff; }
.sg-player-bar, .sg-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; }
.sg-player-bar { color: #dce5ed; font-size: 14px; font-weight: 700; }
.sg-player-bar span { min-width: 0; overflow-wrap: anywhere; }
.sg-player-bar b { padding: 0 10px; color: #ffcf3b; }
.sg-player button { flex-shrink: 0; border: 0; border-radius: 9px; padding: 9px 14px; background: #334254; color: white; font: inherit; font-weight: 700; cursor: pointer; }
.sg-player button:hover { background: #45586f; }
.sg-embed { width: 100%; aspect-ratio: 16 / 9; min-height: 360px; background: #1c2835; }
.sg-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.sg-toolbar > span { font-size: 18px; font-weight: 700; }
.sg-toolbar > div { display: flex; align-items: center; gap: 18px; }
.sg-toolbar a { color: #dce5ed; font-size: 14px; }
.sg-toolbar #fullscreen-button { background: #ffcf3b; color: #182330; }
.sg-toolbar #fullscreen-button:hover { background: #ffdf7a; }
.sg-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sg-quick-card, .sg-summary, .sg-about, .sg-tabs { border-radius: 18px; background: rgba(255, 254, 250, .96); color: #182330; padding: 24px; }
.sg-eyebrow { margin: 0 0 12px; color: #536170; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sg-quick ul { padding-left: 19px; margin: 0; font-size: 17px; line-height: 1.6; }
.sg-quick li + li { margin-top: 8px; }
.sg-summary { padding: 20px 24px; }
.sg-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; color: #526173; font-size: 15px; margin-bottom: 12px; }
.sg-breadcrumbs a { color: inherit; }
.sg-heading { display: flex; align-items: center; gap: 14px; }
.sg-heading img, .sg-home-icon { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 12px; object-fit: cover; }
.sg-home-icon { display: grid; place-items: center; background: #e8f5ee; font-size: 32px; }
.sg-heading h1 { color: #182330; font-size: clamp(24px, 2.5vw, 30px); line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.sg-heading .sg-eyebrow { margin-bottom: 3px; font-size: 11px; }
.sg-subtitle { color: #465568; font-size: 17px; line-height: 1.5; margin: 12px 0 14px; }
.sg-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.sg-stat { min-width: 0; padding: 10px 12px; border-radius: 11px; background: #eff2ee; }
.sg-stat dt { color: #526173; font-size: 13px; margin-bottom: 3px; }
.sg-stat dd { margin: 0; color: #182330; font-size: 16px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.sg-stat a { color: #2f4b66; font-size: 16px; }
.sg-stat-wide { grid-column: span var(--sg-tag-span, 3); }
.sg-stat-wide a { display: inline-block; }
.sg-source { margin: 10px 0 0; font-size: 13px; color: #526173; line-height: 1.5; }
.sg-source a { color: #365c75; text-underline-offset: 3px; }
.sg-guide { display: grid; gap: 18px; font-size: 18px; line-height: 1.7; color: #435062; }
.sg-guide h2, .sg-guide h3 { margin: 0 0 18px; color: #182330; line-height: 1.4; font-size: 24px; }
.sg-guide h3 { font-size: 21px; }
.sg-guide h4 { font-size: 20px; line-height: 1.45; margin: 0 0 10px; color: #243449; }
.sg-guide p { margin: 0 0 16px; }
.sg-guide p:last-child { margin-bottom: 0; }
.sg-guide li { margin-bottom: 10px; }
.sg-guide ol, .sg-guide ul { padding-left: 24px; }
.sg-tabs { padding: 12px; }
.sg-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; background: #eff2ee; border-radius: 12px; scroll-margin-top: 130px; }
.sg-nav a { padding: 10px 13px; border-radius: 8px; font-size: 16px; line-height: 1.35; font-weight: 700; color: #314257; text-decoration: none; }
.sg-nav a:hover { background: #e0e6dd; }
.sg-nav a[aria-selected="true"] { background: #ffcf3b; color: #182330; }
.sg-panel { padding: 26px 18px; min-height: 280px; scroll-margin-top: 130px; }
.sg-panel[hidden] { display: none; }
.sg-about, .sg-alias { scroll-margin-top: 130px; }
.sg-alias { display: block; }
.sg-mechanics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sg-mechanic { padding: 22px; border-radius: 12px; background: #eff2ee; }
.sg-table-scroll { max-width: 100%; overflow-x: auto; }
.sg-guide table { width: 100%; border-collapse: collapse; text-align: left; font-size: 17px; }
.sg-guide th { background: #eff2ee; padding: 13px; color: #243244; }
.sg-guide td { padding: 14px 13px; border-bottom: 1px solid #e0e6df; }
.sg-guide td:first-child { font-weight: 700; background: #f3f5f1; }
.sg-tips ol { counter-reset: tip; list-style: none; padding: 0; display: grid; gap: 12px; }
.sg-tips li { counter-increment: tip; position: relative; margin: 0; padding: 18px 20px 18px 60px; background: #eff2ee; border-radius: 12px; }
.sg-tips li::before { content: counter(tip); position: absolute; left: 17px; top: 20px; width: 28px; height: 28px; border-radius: 8px; background: #e0e6dd; color: #243244; font-weight: 800; text-align: center; line-height: 28px; }
.sg-features ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sg-features li { padding: 20px; margin: 0; background: #eff2ee; border-radius: 12px; }
.sg-features strong { display: block; margin-bottom: 5px; color: #243244; }
.sg-guide details { margin-top: 12px; border-radius: 11px; overflow: hidden; background: #f5f6f2; }
.sg-guide summary { padding: 17px 20px; cursor: pointer; font-weight: 700; color: #243244; }
.sg-guide details p { padding: 0 20px 18px; }
.sg-guide .description-video { margin: 0; }
.sg-guide a:focus-visible, .sg-guide summary:focus-visible, .sg-player :focus-visible, .sg-summary a:focus-visible { outline: 3px solid #087f5b; outline-offset: 3px; }
@media (max-width: 1100px) {
  .sg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-stat-wide { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  /* The existing game launch covers need room for their Play Now button. */
  .sg-embed { min-height: 420px; }
  .sg-quick, .sg-mechanics, .sg-features ul { grid-template-columns: 1fr; }
  .sg-quick-card, .sg-summary, .sg-about { padding: 20px; }
  .sg-heading { gap: 12px; }
  .sg-heading img, .sg-home-icon { width: 48px; height: 48px; flex-basis: 48px; }
  .sg-heading h1 { font-size: 24px; }
  .sg-heading .sg-eyebrow { font-size: 10px; }
  .sg-subtitle { font-size: 16px; }
  .sg-player-bar { font-size: 11px; padding: 10px; }
  .sg-player-bar b { padding: 0 4px; }
  .sg-toolbar { padding: 10px; gap: 8px; flex-wrap: wrap; }
  .sg-toolbar > span { font-size: 16px; }
  .sg-toolbar > div { gap: 10px; }
  .sg-toolbar button { font-size: 13px; padding: 8px; }
  .sg-toolbar a { font-size: 12px; }
  .sg-guide { font-size: 17px; }
  .sg-guide h2 { font-size: 22px; }
  .sg-guide table { font-size: 15px; }
  .sg-guide td, .sg-guide th { padding: 10px; }
  .sg-nav a { font-size: 14px; padding: 10px; }
  .sg-panel { padding: 22px 8px; }
  .sg-stats { gap: 8px; }
  .sg-stat { padding: 10px; }
  .sg-stat dd { font-size: 16px; }
  .sg-nav, .sg-panel, .sg-about, .sg-alias { scroll-margin-top: 110px; }
}
@media print {
  .sg-panel[hidden] { display: block; }
  .sg-nav { display: none; }
}
