@font-face {
  font-family: "Supermaks Commissioner";
  font-style: normal;
  font-weight: 500;
  src: url("/legacy-content/themes/supermaks/fonts/Commissioner-Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Supermaks Commissioner";
  font-style: normal;
  font-weight: 900;
  src: url("/legacy-content/themes/supermaks/fonts/Commissioner-Black.ttf") format("truetype");
  font-display: swap;
}

.mark-copy {
  display: none;
}

.theme-supermaks {
  --cooking: #ffc931;
  --ready: #e2240c;
  --ready-soft: #e2240c;
  --danger: #e2240c;
}

.theme-supermaks .queue-screen {
  font-family: "Supermaks Commissioner", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.theme-supermaks .screen-shell {
  background:
    linear-gradient(135deg, rgba(226, 36, 12, 0.18) 0, rgba(226, 36, 12, 0.18) 18%, transparent 18%, transparent 100%),
    linear-gradient(315deg, rgba(255, 201, 49, 0.14) 0, rgba(255, 201, 49, 0.14) 22%, transparent 22%, transparent 100%),
    linear-gradient(180deg, rgba(155, 200, 250, 0.08) 0, transparent 42%),
    #121314;
}

.theme-supermaks .topbar {
  grid-template-columns: minmax(340px, 38fr) minmax(280px, 24fr) minmax(160px, 38fr);
}

.theme-supermaks .place-mark {
  display: flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.theme-supermaks .brand-logo {
  width: auto;
  max-width: 88px;
  max-height: 76px;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.32));
}

.theme-supermaks .mark-copy {
  min-width: 0;
  display: block;
  margin-left: 18px;
}

.theme-supermaks .brand-name {
  color: #e2240c;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.theme-supermaks .brand-line {
  margin-top: 5px;
  color: #fff0b3;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.theme-supermaks .service-state {
  font-weight: 500;
}

.theme-supermaks .state-dot {
  background: #ff661a;
  box-shadow: 0 0 0 6px rgba(255, 102, 26, 0.16);
}

.theme-supermaks .service-state.error {
  color: #ff68a4;
}

.theme-supermaks .service-state.error .state-dot {
  background: #e2240c;
  box-shadow: 0 0 0 6px rgba(226, 36, 12, 0.18);
}

.theme-supermaks .board {
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
}

.theme-supermaks .lane {
  background: rgba(23, 24, 25, 0.92);
}

.theme-supermaks .lane-ready {
  border-top-color: #e2240c;
}

.theme-supermaks .lane-count {
  display: none;
}

.theme-supermaks .lane-kicker {
  color: #9bc8fa;
  font-weight: 500;
}

.theme-supermaks .lane-ready .lane-kicker {
  color: #ff68a4;
}

.theme-supermaks .lane-cooking .lane-head h1 {
  color: #ffc931;
}

.theme-supermaks .lane-ready .lane-head h1 {
  color: #e2240c;
}

.theme-supermaks .order-number,
.theme-supermaks .order-name {
  font-family: "Supermaks Commissioner", Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.theme-supermaks .order-row {
  grid-template-columns: 136px minmax(0, 1fr);
}

.theme-supermaks .orders-list.dense .order-row {
  grid-template-columns: 106px minmax(0, 1fr);
}

.theme-supermaks .order-number {
  color: #121314;
  background: #ffc931;
  font-size: 54px;
}

.theme-supermaks .orders-list.dense .order-number {
  font-size: 42px;
}

.theme-supermaks .order-row.ready {
  grid-template-columns: 124px minmax(0, 1fr);
}

.theme-supermaks .orders-list.dense .order-row.ready {
  grid-template-columns: 92px minmax(0, 1fr);
}

.theme-supermaks .order-row.ready .order-number {
  color: #ffffff;
  background: #e2240c;
}

.theme-supermaks .order-name {
  padding: 0 24px;
  color: #f7f2ea;
  font-size: 42px;
  line-height: 1.08;
}

.theme-supermaks .orders-list.dense .order-name {
  padding: 0 18px;
  font-size: 32px;
}

.theme-supermaks .lane-ready .order-name {
  padding-right: 18px;
  padding-left: 18px;
}

.theme-supermaks .lane-ready .orders-list.dense .order-name {
  padding-right: 12px;
  padding-left: 12px;
}

.theme-supermaks .empty-state {
  color: #8f8b84;
  font-size: 26px;
  font-weight: 500;
}

.theme-supermaks .popup {
  border-color: #e2240c;
}

.theme-supermaks .popup-label {
  color: #ffc931;
}

@media (max-width: 1400px), (max-height: 820px) {
  .theme-supermaks .topbar {
    grid-template-columns: minmax(270px, 38fr) minmax(230px, 24fr) minmax(120px, 38fr);
  }

  .theme-supermaks .brand-logo {
    max-width: 72px;
    max-height: 54px;
  }

  .theme-supermaks .mark-copy {
    margin-left: 14px;
  }

  .theme-supermaks .brand-name {
    font-size: 24px;
  }

  .theme-supermaks .brand-line {
    margin-top: 4px;
    font-size: 12px;
  }

  .theme-supermaks .state-dot {
    box-shadow: 0 0 0 5px rgba(255, 102, 26, 0.16);
  }

  .theme-supermaks .service-state.error .state-dot {
    box-shadow: 0 0 0 5px rgba(226, 36, 12, 0.18);
  }

  .theme-supermaks .order-row {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .theme-supermaks .orders-list.dense .order-row {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .theme-supermaks .order-row.ready {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .theme-supermaks .orders-list.dense .order-row.ready {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .theme-supermaks .order-number {
    font-size: 40px;
  }

  .theme-supermaks .orders-list.dense .order-number {
    font-size: 30px;
  }

  .theme-supermaks .order-name {
    padding: 0 18px;
    font-size: 34px;
  }

  .theme-supermaks .orders-list.dense .order-name {
    padding: 0 12px;
    font-size: 26px;
  }

  .theme-supermaks .empty-state {
    font-size: 20px;
  }
}

@media (max-width: 1100px), (max-height: 650px) {
  .theme-supermaks .topbar {
    grid-template-columns: minmax(220px, 40fr) minmax(180px, 25fr) minmax(90px, 35fr);
  }

  .theme-supermaks .brand-logo {
    max-width: 58px;
    max-height: 44px;
  }

  .theme-supermaks .mark-copy {
    margin-left: 10px;
  }

  .theme-supermaks .brand-name {
    font-size: 20px;
  }

  .theme-supermaks .brand-line {
    margin-top: 3px;
    font-size: 10px;
  }

  .theme-supermaks .order-row {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .theme-supermaks .orders-list.dense .order-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .theme-supermaks .order-row.ready {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .theme-supermaks .orders-list.dense .order-row.ready {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .theme-supermaks .order-number {
    font-size: 28px;
  }

  .theme-supermaks .orders-list.dense .order-number {
    font-size: 22px;
  }

  .theme-supermaks .order-name {
    padding: 0 14px;
    font-size: 28px;
  }

  .theme-supermaks .orders-list.dense .order-name {
    padding: 0 8px;
    font-size: 21px;
  }

  .theme-supermaks .empty-state {
    font-size: 17px;
  }
}

@media (max-width: 900px), (max-height: 500px) {
  .theme-supermaks .topbar {
    grid-template-columns: minmax(170px, 40fr) minmax(130px, 25fr) minmax(70px, 35fr);
  }

  .theme-supermaks .brand-logo {
    max-width: 42px;
    max-height: 30px;
  }

  .theme-supermaks .mark-copy {
    margin-left: 7px;
  }

  .theme-supermaks .brand-name {
    font-size: 15px;
  }

  .theme-supermaks .brand-line {
    margin-top: 2px;
    font-size: 8px;
  }

  .theme-supermaks .order-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .theme-supermaks .orders-list.dense .order-row {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .theme-supermaks .order-row.ready {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .theme-supermaks .orders-list.dense .order-row.ready {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .theme-supermaks .order-number {
    font-size: 22px;
  }

  .theme-supermaks .orders-list.dense .order-number {
    font-size: 18px;
  }

  .theme-supermaks .order-name {
    padding: 0 10px;
    font-size: 21px;
  }

  .theme-supermaks .orders-list.dense .order-name {
    padding: 0 6px;
    font-size: 17px;
  }

  .theme-supermaks .empty-state {
    font-size: 13px;
  }
}
