/* Project selector: same website identity, two distinct game worlds. */
html.hub-host {
  color-scheme:dark;
  --bg:var(--soto-bg);
  --panel:var(--soto-surface);
  --line:var(--soto-border);
  --text:var(--soto-text);
  --muted:var(--soto-text-secondary);
  --green:var(--soto-accent);
  --amber:#e5bf96
}
html.hub-host body {
  background:var(--bg);
  color:var(--text);
  font:400 14px/24px var(--soto-font)
}
html.hub-host h1,html.hub-host h2 {
  font-family:var(--soto-font);
  font-weight:600;
  letter-spacing:-.03em;
  text-wrap:balance
}
html.hub-host a:focus-visible {
  outline:2px solid var(--soto-accent);
  outline-offset:4px
}
html.hub-host ::selection {
  background:#64416f;
  color:#fff
}
html.hub-host .mc-skip {
  display:block
}
#hubView .hub-hero {
  display:block;
  padding:56px 0 32px
}
#hubView h1 {
  font-size:48px;
  line-height:56px;
  margin:0 0 12px
}
#hubView .lead {
  font-size:16px;
  line-height:28px;
  color:var(--muted);
  margin:0;
  max-width:65ch
}
#hubView .worlds {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:stretch
}
#hubView .world-card {
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--panel);
  transition:border-color 180ms ease-out;
  transform:none
}
#hubView .world-card:hover {
  transform:none;
  border-color:#92729d
}
#hubView .world-art {
  height:260px;
  flex-shrink:0;
  border:0;
  position:relative;
  background:#21182c;
  overflow:hidden
}
#hubView .world-art:after {
  display:none
}
#hubView .world-art img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover
}
#hubView .zomboid .world-art img {
  object-position:30% center
}
#hubView .minecraft .world-art img {
  object-position:55% center
}
#hubView .game-label {
  position:absolute;
  top:20px;
  left:24px;
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:4px 10px;
  border-radius:6px;
  background:#160f1ee8;
  color:var(--soto-text);
  font-size:12px;
  line-height:20px;
  font-weight:500
}
#hubView .world-info {
  display:flex;
  flex-direction:column;
  flex:1;
  padding:24px 28px 28px
}
#hubView .card-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:24px;
  margin:0 0 12px;
  color:var(--muted);
  font:400 12px/20px var(--soto-font);
  letter-spacing:0
}
#hubView .card-meta .status {
  font:400 12px/20px var(--soto-font);
  letter-spacing:0;
  color:var(--muted)
}
#hubView .card-meta .status.on {
  color:var(--soto-success)
}
#hubView .card-meta .status.off {
  color:var(--soto-danger)
}
#hubView .world-info .card-meta>span:first-child {
  color:var(--muted)
}
#hubView .world-info h2 {
  margin:0 0 12px;
  font-size:30px;
  line-height:36px
}
#hubView .world-info p {
  font-size:14px;
  line-height:24px;
  color:var(--muted);
  min-height:0;
  margin:0 0 24px;
  max-width:65ch
}
#hubView .world-info p a {
  text-decoration:underline;
  text-underline-offset:3px
}
#hubView .world-info p a:hover {
  color:var(--text)
}
#hubView .world-action {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:48px;
  padding:12px 16px;
  margin-top:auto;
  border:1px solid #61466a;
  border-radius:8px;
  background:var(--soto-surface-hover);
  color:var(--soto-text);
  font:500 14px/24px var(--soto-font)
}
#hubView .world-action:hover {
  background:#44304f;
  border-color:#a47db3;
  color:#fff
}
#hubView .zomboid .world-action {
  border-color:#695347;
  background:#34282b
}
#hubView .zomboid .world-action:hover {
  background:#493634;
  border-color:#bd9a7f
}
#hubView .world-action svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}
html.hub-host .footer {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
  margin:40px auto 0;
  padding:24px 0 32px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font:400 12px/20px var(--soto-font)
}
html.hub-host .footer .wordmark {
  font:600 14px/20px var(--soto-font);
  letter-spacing:-.025em;
  color:var(--text)
}
html.hub-host .footer .wordmark {
  display:inline-flex;
  align-items:center;
  gap:4px
}
html.hub-host .footer .wordmark span {
  margin:0;
  font:400 14px/20px var(--soto-font);
  color:var(--muted)
}
html.hub-host .footer>span {
  font:inherit;
  color:var(--muted)
}
html.hub-host .footer>span:last-child {
  margin-left:auto
}
@media(max-width:900px) {
  #hubView .hub-hero {
    padding-top:40px
  }
  #hubView h1 {
    font-size:40px;
    line-height:48px
  }
  #hubView .worlds {
    gap:20px
  }
  #hubView .world-art {
    height:220px
  }
  #hubView .world-info {
    padding:20px
  }
  #hubView .world-info h2 {
    font-size:24px;
    line-height:32px
  }
  #hubView .card-meta {
    flex-wrap:wrap;
    gap:4px 12px
  }
}
@media(max-width:700px) {
  #hubView .worlds {
    grid-template-columns:1fr;
    gap:24px
  }
  #hubView .hub-hero {
    padding:32px 0 24px
  }
  #hubView h1 {
    font-size:36px;
    line-height:44px
  }
  #hubView .lead {
    font-size:14px;
    line-height:24px;
    max-width:38ch
  }
  #hubView .world-art {
    height:220px
  }
  #hubView .game-label {
    left:20px;
    top:16px
  }
  #hubView .world-info {
    padding:20px
  }
  #hubView .card-meta {
    flex-wrap:nowrap;
    gap:12px
  }
  #hubView .card-meta .status {
    font-size:11px
  }
  #hubView .world-info p {
    margin-bottom:20px
  }
  html.hub-host .footer {
    margin-top:32px;
    gap:12px
  }
  html.hub-host .footer>span:last-child {
    width:100%;
    margin-left:0
  }
}
@media(max-width:360px) {
  #hubView h1 {
    font-size:30px;
    line-height:40px
  }
  #hubView .world-art {
    height:190px
  }
  #hubView .world-info {
    padding:16px
  }
  #hubView .card-meta {
    flex-wrap:wrap;
    gap:4px
  }
}
@media(prefers-reduced-motion:reduce) {
  #hubView .world-card {
    transition:none
  }
}
