.cover-gemwheel,.cover-crystaldrum,.cover-gemchute {
  background-image: url("draw-covers.webp");
  background-size: 200% 200%;
}
.cover-gemwheel { background-position: 0 0; }
.cover-crystaldrum { background-position: 100% 0; }
.cover-gemchute { background-position: 0 100%; }

.cover-starrelay {
  background-image: url("star-relay.webp");
  background-size: cover;
  background-position: center;
}

.lobby-feature.starrelay-feature {
  background: linear-gradient(115deg,#0d1a2e 12%,#1b3451);
  border-color: #536457;
}
.starrelay-feature::before {
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#071424 2%,#0e213bd6 26%,#10192c33 61%,#0c20231a 100%);
}
.starrelay-feature::after {
  content: "";
  position: absolute;
  inset: auto 0 -7% auto;
  height: 114%;
  aspect-ratio: 16/9;
  z-index: -2;
  background: url("star-relay.webp") center / cover no-repeat;
  mask-image: linear-gradient(90deg,transparent,#000 19%);
}
.starrelay-feature .feature-type { color: #dceebd; }
.starrelay-feature .feature-type span { color: #ecd199; }
.starrelay-feature .mint-action { color: #163d32; }

#table-room .table-felt::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  border-radius: 8px;
  background: url("draw-covers.webp") 100% 100% / 200% 200% no-repeat;
  mix-blend-mode: screen;
  opacity: .23;
  pointer-events: none;
}
#table-room:is([data-table="gemwheel"],[data-table="crystaldrum"],[data-table="gemchute"],[data-table="starrelay"]) .table-felt {
  padding: 5px;
  min-width: 0;
  background: #101f27;
  border-color: #3d302a;
  border-radius: 14px 14px 22px 22px;
  box-shadow: 0 0 0 1px #b68d5a,inset 0 0 0 2px #986b4a,0 8px 19px #030d139e;
}
#table-room:is([data-table="gemwheel"],[data-table="crystaldrum"],[data-table="gemchute"],[data-table="starrelay"]) .table-felt::before {
  opacity: .62;
  mix-blend-mode: normal;
}
#table-room:is([data-table="gemwheel"],[data-table="crystaldrum"],[data-table="gemchute"],[data-table="starrelay"]) #special-layout {
  min-height: 0;
  padding: 2px 6px 9px;
  align-content: start;
}
#show-stage {
  width: 100%;
  min-width: 0;
  display: grid;
  justify-items: center;
}
#show-cabinet {
  display: block;
  width: min(100%,750px);
  height: auto;
}
#show-sequence {
  list-style: none;
  padding: 0;
  margin: -4px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}
#show-sequence li {
  border: 1px solid #628079;
  border-radius: 5px;
  padding: 2px 8px;
  color: #b7d0ce;
  background: #132d38;
  font-size: .78rem;
  font-weight: 650;
}
#show-sequence [data-revealed="true"] {
  color: #fff1c9;
  background: #4a3e2d;
  border-color: #b69965;
}
#show-readout {
  display: block;
  margin: 5px 1px 0;
  min-height: 1.6em;
  font-size: .9rem;
  color: #fff1c9;
}
#table-room[data-table="gemwheel"] #special-spots [data-special-spot="amber"] { background: linear-gradient(#5a412e,#3c342b); }
#table-room[data-table="gemwheel"] #special-spots [data-special-spot="jade"] { background: linear-gradient(#245748,#1d403e); }
#table-room[data-table="gemwheel"] #special-spots [data-special-spot="amethyst"] { background: linear-gradient(#514065,#3a344d); }
#table-room[data-table="gemwheel"] #special-spots [data-special-spot="diamond"] { background: linear-gradient(#2a5b71,#213e4c); }
#table-room[data-table="crystaldrum"] #special-spots [data-special-spot="ruby"] { background: #6b3443; }
#table-room[data-table="crystaldrum"] #special-spots [data-special-spot="sapphire"] { background: #294f74; }
#table-room[data-table="crystaldrum"] #special-spots [data-special-spot="emerald"] { background: #1e5648; }
#table-room[data-table="crystaldrum"] #special-spots [data-special-spot="gold"] { background: #635033; }
#table-room[data-table="crystaldrum"] #special-spots [data-special-spot="pearl"] { background: #455365; }
#table-room[data-table="gemchute"] #special-spots [data-special-spot^="p"] { background: #423853; }
#table-room[data-table="gemchute"] #special-spots [data-special-spot="p1"],
#table-room[data-table="gemchute"] #special-spots [data-special-spot="p7"] { background: #624363; }
@media(max-width: 570px) {
  .starrelay-feature::after { inset-inline-end: -46px; }
  .starrelay-feature::before { background: linear-gradient(90deg,#0a1729f5,#101f3973 63%,#06142011); }
  #show-sequence li { font-size: .73rem; }
  #show-readout { font-size: .8rem; }
}

#table-room[data-table="starrelay"] #special-spots [data-special-spot="venus"] { background: #624836; }
#table-room[data-table="starrelay"] #special-spots [data-special-spot="mars"] { background: #723a47; }
#table-room[data-table="starrelay"] #special-spots [data-special-spot="saturn"] { background: #52426e; }
#table-room[data-table="starrelay"] #special-spots [data-special-spot="neptune"] { background: #2a536e; }
#table-room[data-table="starrelay"] #special-spots [data-special-spot="relay"] { background: #246252; }

#show-cabinet {
  border-radius:12px;
  border:3px ridge #98816c;
  background:
    linear-gradient(125deg,#e8ebcf0d 1%,transparent 21% 77%,#b2d8d615 86%,transparent),
    radial-gradient(ellipse at 50% 83%,#41505a80,#13222cd9 73%);
  box-shadow:inset 0 0 19px #0b141d,0 2px 0 #433b31,0 7px 9px #0c131c9c;
}
#show-sequence {position:relative;margin:7px 0 0;}
#show-sequence li {
  display:inline-flex;align-items:center;gap:.45em;
  border:1px solid #9a8c71;
  background:linear-gradient(#303b42,#17232a);
  box-shadow:inset 0 1px #b2ada424,0 2px #1b2427;
}
#show-sequence li::before {
  content:"";width:.48em;height:.48em;border-radius:50%;
  background:radial-gradient(circle at 34% 24%,#80908b,#3e524e 53%,#23332e);box-shadow:0 0 0 1px #102120;
}
#show-sequence li[data-revealed="true"]::before {
  background:radial-gradient(circle at 34% 24%,#ebffed,#80ecb2 45%,#388b64);box-shadow:0 0 5px #9bffc289;
}
#show-readout {font-variant-numeric:tabular-nums;}
