:root {
  --bg: #73D7B4;
  --panel: #162526;
  --ink: #ffffff;
  --green: #00ff00;
  --muted: #c9ddd8;
  --line: rgba(255, 255, 255, 0.2);
  --hot: #e08a22;
  --gap: 16px;
  --head: 50px;
  --side: 220px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body.skin {
  background: var(--bg);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; }
button, input { font: inherit; }
img { border: 0; }

.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--head);
  background: var(--panel);
  box-shadow: 0 -5px 6px 6px rgba(0, 0, 0, 0.4);
}

.nav-toggle {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-top {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 220px;
}

.wrap {
  width: min(1550px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.columns {
  display: block;
  flex: 1 0 auto;
  width: 100%;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s linear;
}

body.drawer-on .scrim {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  padding: 24px 18px 32px;
  overflow-y: auto;
  background: linear-gradient(#162526, #1e3233);
  transform: translateX(-105%);
  transition: transform 0.16s linear;
}

body.drawer-on .drawer { transform: translateX(0); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.logo-plate {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  background: none;
  padding: 0;
}
.logo-plate img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
.logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.logo-side {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.logo-side .logo-plate img { height: 48px; max-width: 180px; }

.menu { display: flex; flex-direction: column; padding: 0 0 8px; }
.menu a {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 4px;
  border-bottom: 0.6px solid var(--line);
}
.menu a:hover,
.menu a.current { color: var(--green); }
.menu-kicker {
  margin: 16px 0 8px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
}
.menu-minor a { font-size: 15px; border-bottom: 0; padding: 5px 4px; }

.column {
  width: 100%;
  min-width: 0;
  padding: 62px 10px 28px;
}

.heading {
  margin: 0 0 16px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}
.heading.left { text-align: left; }

.adv:empty { display: none; }
.adv {
  margin: 8px auto 18px;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}
.mosaic > .adv,
.shelves > .adv {
  margin: 0;
  min-width: 0;
  align-self: stretch;
}
.adv-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  grid-auto-flow: dense;
  gap: var(--gap);
  margin: 0 0 28px;
  align-items: stretch;
}
.mosaic-dense {
  grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.piece { min-width: 0; height: 100%; }
.piece-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #082216;
  position: relative;
  min-width: 0;
}
.shelf .piece-link { color: #fff; }
.piece.feature .photo {
  border: 2px solid #0f0;
  box-shadow: 0 6px 15px 3px #534c4c;
}
.piece.feature { grid-column: span 2; }

.photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 17 / 11;
  border-radius: 4px;
  overflow: hidden;
  background: #102224;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.29), 0 6px 10px rgba(0, 0, 0, 0.19);
  flex: none;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo.hold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  background-size: 200% 100%;
  animation: sheen 1.2s linear infinite;
}
@keyframes sheen { to { background-position: -200% 0; } }

.label {
  display: block;
  margin-top: 6px;
  min-height: 1.3em;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flag {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: -6px;
  padding: 1px 8px 2px;
  border-radius: 6px 6px 6px 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(157deg, #f0b43a, #cc4a21);
}
.flag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 6px;
  height: 4px;
  background: #fff;
  border-radius: 0 0 0 100%;
}

.shelves {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}
.shelf {
  min-width: 0;
  background: var(--panel);
  border-radius: 16px;
  padding: 18px 16px 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.24);
}
.shelf-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.shelf-bar h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shelf-more {
  flex: none;
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
}

.status {
  margin: 12px 0 28px;
  text-align: center;
  color: #083322;
}

.cover {
  position: relative;
  display: block;
  border: 2px solid #918e8e;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
}
.cover-photo {
  border-radius: 12px;
  box-shadow: none;
  aspect-ratio: 16 / 9;
}
.cover-cta {
  display: none;
  position: absolute;
  left: 50%;
  top: 28%;
  width: min(150px, 42%);
  transform: translateX(-50%);
  text-align: center;
}
.cover-icon {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #102224;
}
.cover-go {
  display: block;
  margin-top: 12px;
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: #25d9ca;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  padding: 8px 6px;
}
@media (min-width: 568px) {
  .cover.sharp .cover-photo img { filter: blur(6px); transform: scale(1.05); }
  .cover-cta { display: block; }
}

.dock {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
}
.dock img {
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: cover;
  border-radius: 4px;
  background: #102224;
}
.dock h1 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dock-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 2px solid #0f0;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.dock-go svg { display: block; }

.copy {
  background: var(--panel);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.24);
  color: #e7fff4;
}
.copy h2 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 22px;
  line-height: 1.2;
}
.copy p,
.copy li { margin: 0 0 10px; }
.copy ul { margin: 0 0 10px; padding-left: 1.2em; }
.copy a { font-weight: 700; }
.copy .mail { word-break: break-all; }

.colophon {
  padding: 22px 16px 28px;
  color: #082216;
  text-align: center;
}
.colophon nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 12px;
}
.colophon a { color: #082216; font-weight: 700; }
.colophon a:hover { color: #fff; }
.colophon p { margin: 0; font-size: 14px; }

.lift {
  position: fixed;
  z-index: 25;
  right: 20px;
  bottom: 24px;
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 12px;
  background: #0f0;
  color: #162526;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s linear;
}
.lift.show { opacity: 1; pointer-events: auto; }
.lift svg { display: block; margin: 0 auto; }

@media (max-width: 370px) {
  .piece.feature,
  .adv-wide { grid-column: auto; grid-row: auto; }
  .cover-go { font-size: 18px; }
}

@media (min-width: 768px) {
  .column { padding-left: 20px; padding-right: 20px; }
  .heading { font-size: 32px; }
}

@media (min-width: 1200px) {
  .topbar { display: none; }
  .scrim { display: none; }
  .columns { display: flex; align-items: flex-start; }
  .drawer {
    position: sticky;
    top: 0;
    flex: none;
    width: var(--side);
    height: 100vh;
    transform: none;
  }
  .column { padding-top: 24px; }
  .shelves { grid-template-columns: 1fr 1fr; }
}

.booth {
  margin: 0;
  background: #000;
  overflow: hidden;
  height: 100%;
}
.booth iframe {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.spinner {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #73D7B4;
}
.spinner span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0f0;
  animation: pulse 0.8s infinite alternate;
}
.spinner span:nth-child(2) { animation-delay: 0.15s; }
.spinner span:nth-child(3) { animation-delay: 0.3s; }
.spinner.off { display: none; }
@keyframes pulse { to { transform: translateY(-6px); opacity: 0.5; } }
.booth-home {
  position: fixed;
  z-index: 4;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(22, 37, 38, 0.88);
  color: #fff;
  border: 1px solid #0f0;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
}
.booth-msg {
  position: fixed;
  z-index: 4;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  text-align: center;
}
