:root {
  --paper: #f5f1e5;
  --ink: #1e201b;
  --lime: #ccfa44;
  --pink: #ff86b8;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --sans: "Archivo Black", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.45 "DM Sans",
    "Helvetica Neue",
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
input,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #99998c;
  background: #fffdf4;
  border-radius: 3px;
  padding: 9px 10px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #7650ab;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.58;
  cursor: wait;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
h1,
h2,
p,
blockquote {
  margin: 0;
}
header {
  border-bottom: 2px solid var(--ink);
}
.bar,
main {
  max-width: 1230px;
  width: 91%;
  margin: auto;
}
.bar,
.wordmark,
.net,
.kicker,
.amount,
.presets,
.stage-top,
.stage-top > div,
.bill-foot,
.actions,
.meal-info,
.reply-row,
footer,
.modal-head {
  display: flex;
  align-items: center;
}
.bar {
  height: 65px;
  justify-content: space-between;
}
.wordmark {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1.1px;
  gap: 8px;
  text-decoration: none;
}
.wordmark img {
  width: 34px;
  transform: rotate(-9deg);
}
.net,
.small-btn,
.presets button {
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 11px;
}
.net {
  font: 12px var(--mono);
  gap: 8px;
}
.net i,
.bulb,
.onair {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.net.live i {
  background: #399249;
}
.marquee {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  margin: 23px 0 25px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--lime);
}
.mast {
  padding: 24px 7% 25px;
}
.kicker,
.tag,
.guest,
.bill-foot,
.caption,
label,
.meal-info,
.sticker,
footer {
  font: 600 11px/1.45 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.kicker {
  gap: 8px;
}
.onair {
  background: var(--ink);
  border-radius: 0;
}
.mast h1 {
  font: 950 clamp(58px, 7.1vw, 104px) / 0.81 var(--sans);
  letter-spacing: -0.085em;
  margin: 15px 0 13px;
}
.mast h1 em {
  font-style: normal;
}
.deck {
  font-size: clamp(14px, 1.4vw, 18px);
  max-width: 420px;
  line-height: 1.3;
}
.art {
  position: relative;
  min-height: 210px;
  border-left: 2px solid var(--ink);
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--pink);
  background-image: radial-gradient(#d74e884d 1.25px, transparent 1.5px);
  background-size: 6px 6px;
}
.art:before {
  content: "";
  position: absolute;
  width: 80%;
  height: 160%;
  transform: rotate(22deg);
  background: repeating-linear-gradient(
    90deg,
    transparent 0 38px,
    #ec71a6 39px 40px
  );
  z-index: -1;
}
.art img {
  width: min(70%, 310px);
  height: auto;
  transform: rotate(-9deg);
  filter: drop-shadow(5px 6px 0 #26171d30);
}
.sticker {
  position: absolute;
  bottom: 10%;
  right: 6%;
  transform: rotate(-9deg);
  background: var(--ink);
  color: var(--lime);
  padding: 3px 12px;
  font: bold 20px var(--sans);
  letter-spacing: -1px;
}
.game {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.62fr);
  gap: 20px;
  align-items: start;
}
.setup,
.stage {
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  overflow: hidden;
}
.setup {
  padding: 19px;
  background: #fcf9ee;
}
.setup h2,
.stage h2,
.modal-head h2 {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -1.35px;
}
.setup h2 {
  margin-bottom: 17px;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
label {
  display: block;
  margin: 12px 0 5px;
  font-size: 10px;
}
.amount {
  position: relative;
}
.amount input {
  padding-right: 65px;
}
.amount b {
  position: absolute;
  right: 14px;
  font: 12px var(--mono);
}
.presets {
  gap: 4px;
  flex-wrap: wrap;
  margin: 7px 0;
}
.presets button {
  padding: 4px 8px;
  font: 11px var(--mono);
  border-color: #a3a397;
}
.presets button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.meal-info {
  justify-content: space-between;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  margin: 7px 0 18px;
}
.link {
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
}
.primary {
  width: 100%;
  border: 1.5px solid var(--ink);
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 3px;
  padding: 10px 14px;
  box-shadow: 2px 3px 0 var(--ink);
  font-weight: 850;
}
.primary b {
  font-size: 18px;
}
.primary:hover,
.small-btn:hover,
.presets button:hover {
  background: #dfeca5;
  color: var(--ink);
}
.caption {
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 10px;
}
.stage {
  background: var(--ink);
  color: var(--paper);
}
.stage-top {
  justify-content: space-between;
  padding: 15px 21px;
  border-bottom: 1px solid #53544a;
}
.stage-top > div {
  gap: 9px;
}
.stage h2 {
  font-size: 21px;
}
.bulb {
  border-color: var(--lime);
}
.tag {
  font-size: 9px;
  border: 1px solid #77796b;
  border-radius: 2px;
  padding: 3px 6px;
}
.bill {
  background: var(--paper);
  color: var(--ink);
  padding: 18px 22px 12px;
  position: relative;
  margin: 17px;
  border-radius: 3px;
  box-shadow: 3px 3px 0 var(--pink);
}
.guest {
  font-size: 10px;
}
.bill blockquote {
  font: bold clamp(24px, 3vw, 43px) / 1.08 var(--sans);
  letter-spacing: -0.055em;
  margin: 16px 0 18px;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.bill-foot {
  border-top: 1px dashed #969387;
  padding-top: 8px;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
}
.bill-foot span:last-child {
  font-size: 20px;
}
.reply-row {
  gap: 8px;
}
.small-btn {
  white-space: nowrap;
}
.actions {
  gap: 9px;
  margin-top: 12px;
}
.actions button {
  background: transparent;
  color: var(--paper);
  border-color: #848477;
}
.actions button:hover {
  color: var(--lime);
}
#match {
  margin: 15px 18px 18px;
}
#match label {
  color: var(--lime);
}
#transcript {
  list-style: none;
  margin: 0;
  padding: 0;
}
#transcript li {
  padding: 7px 0;
  border-bottom: 1px solid #494b41;
  font-size: 14px;
  overflow-wrap: anywhere;
}
#transcript b {
  display: block;
  color: var(--pink);
  font: 10px var(--mono);
  margin-bottom: 4px;
}
#status {
  font: 12px/1.5 var(--mono);
  min-height: 20px;
  margin-top: 11px;
  overflow-wrap: anywhere;
}
footer {
  border-top: 1px solid #bcbcae;
  justify-content: space-between;
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px;
  font-weight: 400;
  padding: 13px 0 20px;
}
dialog {
  padding: 22px;
  max-width: min(460px, 94vw);
  max-height: 86vh;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 5px 5px var(--ink);
}
dialog::backdrop {
  background: #13170f88;
}
.modal-head {
  justify-content: space-between;
}
.modal-head button {
  border: 0;
  font-size: 25px;
  background: transparent;
}
dialog p {
  font-size: 14px;
  margin: 12px 0;
}
dialog .small-btn {
  margin: 9px 4px 2px 0;
}
dialog a,
dialog .link {
  font-size: 12px;
}
#net-msg {
  color: #604544;
  font-weight: 650;
}
#request {
  font-family: var(--mono);
  font-size: 12px;
}
@media (max-width: 750px) {
  .bar,
  main {
    width: 94%;
  }
  .game {
    gap: 12px;
    grid-template-columns: minmax(215px, 0.9fr) minmax(0, 1.2fr);
  }
  .mast {
    padding: 22px;
  }
  .stage-top,
  .setup {
    padding: 14px;
  }
  .bill {
    margin: 11px;
    padding: 14px;
  }
  .reply-row {
    align-items: stretch;
    flex-direction: column;
  }
  .art img {
    width: 79%;
  }
  .deck {
    font-size: 14px;
  }
}
@media (max-width: 580px) {
  .bar,
  main {
    width: 92%;
  }
  .bar {
    height: 55px;
  }
  .wordmark {
    font-size: 19px;
  }
  .marquee {
    margin: 15px 0;
    grid-template-columns: 1.18fr 0.82fr;
  }
  .mast {
    padding: 14px 12px 16px;
  }
  .mast h1 {
    font-size: clamp(48px, 11vw, 65px);
  }
  .kicker {
    font-size: 8px;
    letter-spacing: 0.03em;
  }
  .art {
    min-height: 150px;
  }
  .art img {
    width: 92%;
  }
  .sticker {
    font-size: 14px;
  }
  .deck {
    font-size: 12px;
  }
  .game {
    grid-template-columns: 1fr;
  }
  .setup {
    padding: 14px 17px;
  }
  .setup h2 {
    font-size: 21px;
    margin-bottom: 11px;
  }
  .bill blockquote {
    font-size: 29px;
  }
  .stage-top {
    padding: 13px;
  }
  .net {
    font-size: 10px;
  }
  .reply-row {
    flex-direction: row;
  }
  .stage {
    scroll-margin-top: 12px;
  }
  .bill-foot {
    font-size: 9px;
  }
  footer {
    gap: 15px;
    font-size: 8px;
  }
}
#topic {
  margin-bottom: 15px;
}
.meal-info {
  margin-bottom: 10px;
}
