:root {
  --void: #150a26;
  --slab: #21103c;
  --slab-2: #2c1650;
  --slab-3: #391d66;
  --line: #452a70;
  --line-hot: #7a45c4;
  --paper: #f5f2fb;
  --mute: #b6a9d4;
  --lime: #9cfc9c;
  --ice: #90e4fc;
  --lilac: #b4b4fc;
  --wine: #a812b4;
  --btn-ink: #1d0838;
  --good: #67e6a4;
  --warn: #f08a9c;
  --round: 6px;
  --span: 1060px;
  --pad: 40px;
  --face: Arial, Helvetica, "Nimbus Sans", sans-serif;
  --display: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  --wash: linear-gradient(100deg, var(--lime) 0%, var(--ice) 52%, var(--lilac) 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--void);
}

body {
  margin: 0;
  font: 16px/1.65 var(--face);
  color: var(--paper);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.22;
  color: var(--paper);
  overflow-wrap: break-word;
}

h1 { font-size: 44px; letter-spacing: -.4px; }
h2 { font-size: 29px; }
h3 { font-size: 21px; }
p { margin: 0 0 18px; overflow-wrap: break-word; }
ul, ol { margin: 0 0 18px; padding-left: 24px; }
li { margin-bottom: 8px; }
strong { font-weight: 700; }

a:focus-visible,
label:focus-visible,
input:focus-visible,
[role="link"]:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

.tap { cursor: pointer; -webkit-user-select: none; user-select: none; }

.wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 100%;
}
main { flex: 1 0 auto; }

.gutter {
  max-width: calc(var(--span) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
  padding-block: 0 48px;
}

.crest {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--slab);
  border-bottom: 1px solid var(--line);
}

.crest__row {
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.sigil img { height: 44px; width: auto; max-width: none; }
.crest .sigil { margin-right: auto; }

.trail__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trail__list li { margin: 0; }

.trail__list .tap {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 7px;
  background: var(--slab-2);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}

.trail__list .tap svg { fill: var(--lilac); flex: none; }
.trail__list .tap:hover { background: var(--slab-3); border-color: var(--line-hot); }
.trail__pair { display: none; }
.crest__pair { display: flex; gap: 10px; margin-left: auto; }

.sign-in, .join-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 19px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}

.sign-in {
  background: var(--slab-2);
  color: var(--lilac);
  border: 1px solid var(--line-hot);
}

.sign-in:hover { background: var(--slab-3); }

.join-in {
  background: var(--wash);
  color: var(--btn-ink);
  border: 1px solid transparent;
}

.flap-switch { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }

.bun {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  border-radius: 7px;
  background: var(--slab-2);
  border: 1px solid var(--line);
}

.bun span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform .25s, opacity .25s;
}

.claim {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 360px;
  width: 100%;
  min-height: 60px;
  margin: 10px auto 0;
  padding: 12px 26px;
  border-radius: var(--round);
  background: var(--wash);
  color: var(--btn-ink);
  font-size: 18px;
  font-weight: 700;
}

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

.foyer { padding-block: 34px 44px; text-align: center; }
.foyer__title { margin-bottom: 22px; }

.foyer__copy {
  max-width: 100%;
  min-width: 0;
  margin: 0 auto 24px;
  text-align: left;
  font-size: 17px;
}

.foyer__copy p:last-child { margin-bottom: 0; }

.foyer__hero {
  display: block;
  margin: 0 auto 26px;
  border-radius: var(--round);
  overflow: hidden;
  border: 1px solid var(--line);
}

.foyer__hero img { width: 100%; height: auto; }

.banner { margin: 0 0 44px; }
.banner__art .tap { display: block; }

.banner__art img {
  width: 100%;
  border-radius: var(--round);
  border: 1px solid var(--line);
}

.slab, .stall, .chorus, .replies, .dossier {
  margin: 0 0 34px;
  padding: 30px 32px;
  border-radius: var(--round);
  background: var(--slab);
  border: 1px solid var(--line);
}

.slab > *:last-child, .copy > *:last-child { margin-bottom: 0; }
.slab h2 { margin-top: 0; }
.slab__title { text-align: center; }
.copy { min-width: 0; }
.copy p, .copy li { font-size: 17px; }
.copy h3 { margin-top: 30px; }
.copy h3:first-of-type { margin-top: 22px; }

.sheet { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 26px; }
.sheet:last-child { margin-bottom: 0; }

table {
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  border-radius: var(--round);
  overflow: hidden;
}

th, td {
  padding: 13px 15px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

th { background: var(--slab-3); font-weight: 700; font-family: var(--display); }
td { background: var(--slab-2); }
tbody tr:nth-child(even) td { background: #1e1238; }
td:first-child { font-weight: 700; }

.dossier__band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  margin: 0 0 24px;
  padding: 12px 20px;
  border-radius: var(--round);
  background: var(--wash);
  text-align: center;
  font-size: 24px;
  color: var(--btn-ink);
}

.dossier th:first-child,
.dossier th[scope="row"] {
  width: 42%;
  white-space: nowrap;
}

.stall h2 { text-align: center; }

.stall__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.stall__tabs li { margin: 0; }

.stall__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 8px;
  background: var(--slab-2);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.stall__tab svg { fill: currentColor; flex: none; }
.stall__tab:hover, .stall__tab.on { background: var(--slab-3); border-color: var(--line-hot); }
.stall__body { min-width: 0; }
.tray { display: none; }
.tray.on { display: block; }

.stall__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px 12px;
}

.stall__grid > * { min-width: 0; }
.tile { display: block; color: var(--paper); }

.tile__art {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--slab-2);
  border: 1px solid var(--line);
  aspect-ratio: 360 / 472;
}

.tile__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s; }
.tile:hover .tile__art img { transform: scale(1.045); }
.tile:hover .tile__art { border-color: var(--line-hot); }

.tile__name {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.tile small { display: block; font-size: 12px; color: var(--mute); }

.tile--logo .tile__art {
  aspect-ratio: 5 / 3;
  background: var(--slab-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.tile--logo .tile__art img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.tile--logo .tile__name { text-align: center; font-size: 14px; }
.tile--logo:hover .tile__art img { transform: none; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split > * { min-width: 0; }

.split__box {
  padding: 24px;
  border-radius: var(--round);
  background: var(--slab-2);
  border: 1px solid var(--line);
}

.split__box h3 { margin-bottom: 14px; }
.split__box ul { margin: 0; padding: 0; list-style: none; }
.split__box li { position: relative; padding-left: 28px; margin-bottom: 11px; }
.split__box li:last-child { margin-bottom: 0; }

.split__box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.split__box--yes li::before { background: var(--good); }
.split__box--no li::before { background: var(--warn); }

.chorus__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 22px;
  border-radius: var(--round);
  background: var(--slab-2);
  border: 1px solid var(--line);
}

.chorus__label { font-size: 13px; color: var(--mute); margin-bottom: 4px; }
.chorus__score { display: flex; align-items: center; gap: 12px; }
.chorus__score > span { font-family: var(--display); font-size: 27px; font-weight: 700; }
.chorus__score small { color: var(--mute); font-size: 13px; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: var(--lime); }
.stars__off { display: inline-flex; }
.stars__off svg { fill: var(--line-hot); }

.chorus__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--wash);
  color: var(--btn-ink);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.chorus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.chorus__grid > * { min-width: 0; }

.chorus__card {
  padding: 20px;
  border-radius: var(--round);
  background: var(--slab-2);
  border: 1px solid var(--line);
}

.chorus__who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

.chorus__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--wash);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--btn-ink);
}

.chorus__id span { display: block; font-weight: 700; }
.chorus__id small { color: var(--mute); font-size: 12px; }
.chorus__pips { margin-bottom: 10px; }
.chorus__body p { margin: 0; font-size: 15px; }

.replies h2 { text-align: center; }

.replies__item {
  padding: 19px 22px;
  margin-bottom: 12px;
  border-radius: var(--round);
  background: var(--slab-2);
  border: 1px solid var(--line);
}

.replies__item:last-child { margin-bottom: 0; }
.replies__item h3 { font-size: 18px; margin: 0 0 9px; }
.replies__item p { margin: 0; font-size: 16px; }

.dated { margin: 0 0 18px; }

.dated__box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: var(--round);
  background: var(--slab);
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--mute);
}

.dated__box svg { fill: var(--ice); flex: none; }
.dated__box time { color: var(--paper); font-weight: 700; }

.keel { background: var(--slab); border-top: 1px solid var(--line); }

.keel__row {
  max-width: calc(var(--span) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
  padding-block: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 44px 60px;
}

.keel__row > * { min-width: 0; }
.keel__brand { max-width: 420px; }
.keel__brand .sigil img { height: 52px; width: auto; margin-bottom: 18px; }
.keel__pitch { font-size: 14px; color: var(--mute); margin-bottom: 20px; }
.keel__cap { font-family: var(--display); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.keel__social { display: flex; gap: 10px; margin-bottom: 24px; }

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--slab-2);
  border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}

.social-btn img { width: 20px; height: 20px; }
.social-btn:hover { background: var(--slab-3); border-color: var(--line-hot); }
.keel__app { margin-bottom: 0; }
.keel__app p { font-size: 14px; color: var(--mute); margin-bottom: 12px; }
.keel__stores { display: flex; gap: 10px; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--wash);
  color: var(--btn-ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.store-btn img { width: 20px; height: 20px; }
.keel__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.menus { min-width: 0; }
.menus__list { list-style: none; margin: 0; padding: 0; }
.menus__list li { margin-bottom: 5px; }
.menus__list .tap { display: inline-block; padding: 5px 0; font-size: 14px; line-height: 1.3; color: var(--mute); }
.menus__list .tap:hover { color: var(--paper); text-decoration: underline; }

.keel__rails {
  max-width: calc(var(--span) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
  padding-block: 0 26px;
  text-align: center;
}

.keel__rails-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: center;
  justify-items: center;
  gap: 18px 14px;
  min-height: 76px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.keel__rails-row > * { min-width: 0; }
.keel__rails-row img { height: 30px; width: auto; max-width: none; }

.keel__badges {
  max-width: calc(var(--span) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
  padding-block: 0 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 24px;
  min-height: 44px;
}

.keel__badges > * { flex: 0 0 auto; }
.keel__badges img { height: 18px; width: auto; max-width: none; opacity: .9; }
.keel__badges a { display: inline-flex; align-items: center; min-height: 44px; }
.keel__badges a[href*="dmca"] img { height: 22px; }
.keel__badges a:hover img { opacity: 1; }

.age-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--warn);
  color: var(--warn);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
}

.keel__legal {
  max-width: calc(var(--span) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.legal {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--mute);
}

.legal p { margin: 0 0 8px; }
.legal p:last-child { margin-bottom: 0; }

.up {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 55;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--slab-3);
  border: 1px solid var(--line-hot);
  cursor: pointer;
}

.up.on { display: flex; }
.up svg { fill: var(--paper); }

@media (max-width: 1100px) {
  .crest__row { gap: 12px; }
  .trail__list .tap { padding: 8px 10px; font-size: 13px; }
  .trail__list .tap svg { display: none; }
  .stall__grid { grid-template-columns: repeat(4, 1fr); }
  .keel__cols { gap: 34px; }
}

@media (max-width: 1000px) {
  .bun { display: flex; order: 3; }
  .crest__pair { order: 2; }
  .trail {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    padding: 14px var(--pad) 20px;
    background: var(--slab);
    border-bottom: 1px solid var(--line);
  }
  .flap-switch:checked ~ .trail { display: block; }
  .flap-switch:checked ~ .bun span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .flap-switch:checked ~ .bun span:nth-child(2) { opacity: 0; }
  .flap-switch:checked ~ .bun span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .trail__list { flex-direction: column; gap: 8px; }
  .trail__list .tap { padding: 11px 14px; font-size: 15px; }
  .trail__list .tap svg { display: block; }
  .trail__pair { display: none; }
  .keel__row { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .keel__rails-row { grid-template-columns: repeat(6, 1fr); }
  .keel__badges { gap: 16px 26px; }
}

@media (max-width: 768px) {
  :root { --pad: 24px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .slab, .stall, .chorus, .replies, .dossier { padding: 24px 20px; }
  .copy p, .copy li, .foyer__copy { font-size: 16px; }
  th, td { padding: 10px 10px; font-size: 13.5px; }
  .dossier__band { font-size: 19px; min-height: 56px; }
  .dossier th:first-child,
  .dossier th[scope="row"] { width: 46%; }
  .stall__tabs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stall__tab { height: 44px; font-size: 14px; }
  .stall__grid { grid-template-columns: repeat(4, 1fr); gap: 12px 10px; }
  .split { grid-template-columns: 1fr; }
  .chorus__grid { grid-template-columns: repeat(2, 1fr); }
  .chorus__bar { flex-direction: column; align-items: flex-start; }
  .chorus__btn { width: 100%; }
  .keel__rails-row { grid-template-columns: repeat(5, 1fr); }
  .keel__badges img { height: 16px; }
}

@media (max-width: 560px) {
  :root { --pad: 18px; }
  .crest__row { height: 60px; gap: 8px; }
  .trail { top: 60px; }
  .sigil img { height: 34px; }
  .crest__pair { display: none; }
  .bun { margin-left: auto; }
  .trail__pair { display: flex; gap: 10px; margin-top: 16px; }
  .trail__pair > * { flex: 1; }
  .sign-in, .join-in { height: 44px; padding: 0 14px; font-size: 14px; }
  .stall__grid { grid-template-columns: repeat(3, 1fr); }
  .chorus__grid { grid-template-columns: 1fr; }
  .tile__name { font-size: 14px; }
  .claim { min-height: 54px; font-size: 16px; }
  .keel__rails-row { grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
  .keel__badges { gap: 14px 20px; }
  .keel__cols { gap: 24px; }
  .keel__stores { flex-direction: column; }
  .store-btn { justify-content: center; }
}

@media (max-width: 380px) {
  :root { --pad: 14px; }
  h1 { font-size: 27px; }
  h2 { font-size: 21px; }
  .bun { width: 38px; padding: 8px; }
  .stall__grid { grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
  th, td { padding: 8px 7px; font-size: 12.5px; }
}
