/* Layout for the Social Playground room site.
   Colors and type sizes come from assets/tokens.css, which the build writes
   from the room style tokens and Sara's palette. This file does not restate them. */

html {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 8px 12px;
  transform: translateY(-160%);
  background: var(--c-surface);
  color: var(--c-text);
}

.skip:focus {
  transform: none;
}

#preview.spec {
  font-family: var(--f-body);
  font-size: var(--t-body-size);
  font-weight: var(--t-body-weight);
  line-height: var(--t-body-lh);
  overflow-wrap: anywhere;
  color: var(--c-text);
  background: var(--c-bg);
}

#preview.spec > main,
#preview.spec > .site-footer {
  width: 100%;
  max-width: 40rem;
}

#preview.spec .eyebrow {
  margin: 0 0 8px;
  color: var(--c-text);
  font-size: var(--t-body-size);
  font-weight: 700;
}

#preview.spec .room-host {
  margin-top: 1em;
  color: var(--c-text);
}

#preview.spec .room-host strong {
  color: var(--c-text);
}

#preview.spec .hero {
  display: block;
  max-width: 100%;
  margin: 16px 0 0;
}

#preview.spec .hero img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-card);
}

#preview.spec .room-block {
  margin-top: 32px;
}

#preview.spec .events-empty,
#preview.spec .event-item,
#preview.spec .updates li {
  border: 2.5px solid var(--c-text);
  border-radius: var(--r-card);
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: 3px 3px 0 var(--c-text);
}

#preview.spec .events-empty,
#preview.spec .event-item,
#preview.spec .updates li {
  padding: 16px;
}

#preview.spec .event-list,
#preview.spec .updates {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#preview.spec .kind-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#preview.spec .kind-list li {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--c-text);
  font-size: var(--t-body-size);
}

#preview.spec .kind-list li + li::before {
  content: "\00a0\00b7\00a0";
}

#preview.spec .event-item h3 {
  margin: 0 0 4px;
  color: var(--c-text);
  font-family: var(--f-display);
  font-size: var(--t-event-size);
  font-weight: var(--t-event-weight);
  line-height: var(--t-event-lh);
}

#preview.spec a[href] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--c-text);
  font-weight: 700;
  text-underline-offset: 4px;
}

#preview.spec .site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 36px;
  padding-top: 8px;
  border-top: 2.5px solid var(--c-text);
}
