@font-face {
  font-family: Young;
  src: url('/fonts/young.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url('/fonts/condensed.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url('/fonts/sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --paper: #fbf2dc;
  --shell: #f5ecd7;
  --ink: #352a25;
  --cran: #923625;
  --brick: #ae3929;
  --rule: #d4c0a1;
  --green: #345947;
  --butter: #f4c453;
  --muted: #705d4d;
  font-family: DM, Arial, sans-serif;
  color: var(--ink);
  background: var(--shell);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 25% 15%, #fff7e4, transparent 68%), var(--shell);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #247378;
  outline-offset: 4px;
}
button {
  touch-action: manipulation;
}
button:active:not(:disabled) {
  translate: 0 1px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1280px, 94%);
  margin: auto;
  padding: 0 18px 18px;
}
.mast {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 24px;
}
.brand {
  font:
    24px/1 Young,
    Georgia,
    serif;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.brand span {
  color: var(--cran);
}
.utensils {
  display: inline-block;
  position: relative;
  width: 29px;
  height: 30px;
  margin-right: 8px;
  transform: rotate(-8deg);
}
.utensils b,
.utensils > i {
  position: absolute;
  top: 1px;
  width: 3px;
  height: 28px;
  background: var(--cran);
  border-radius: 2px;
  left: 14px;
  transform: rotate(35deg);
}
.utensils b {
  transform: rotate(-35deg);
}
.utensils b:before {
  content: '';
  position: absolute;
  left: -3px;
  top: -2px;
  background: var(--cran);
  width: 9px;
  height: 14px;
  border-radius: 55%;
}
.utensils > i:before {
  content: '';
  position: absolute;
  left: -3px;
  top: -2px;
  width: 9px;
  height: 12px;
  border-radius: 0 0 5px 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--cran) 0 2px,
    transparent 2px 3.5px
  );
  border-bottom: 2px solid var(--cran);
}
.mast nav {
  display: flex;
  gap: 17px;
  align-items: center;
}
.textbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: 0;
  padding: 9px 3px;
  font-weight: 700;
  font-size: 13px;
}
.textbtn:hover {
  color: var(--cran);
}
.key-icon {
  font: 700 12px/15px DM;
  width: 17px;
  height: 17px;
  text-align: center;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  box-shadow: 0 1px currentColor;
}
.speaker {
  width: 17px;
  height: 16px;
  display: inline-block;
  position: relative;
}
.speaker:before {
  content: '';
  position: absolute;
  inset: 1px 5px 1px 0;
  background: currentColor;
  clip-path: polygon(0 36%, 35% 36%, 92% 0, 92% 100%, 35% 65%, 0 65%);
}
.speaker:after {
  content: '';
  position: absolute;
  right: 0;
  top: 2px;
  width: 6px;
  height: 10px;
  border: 2px solid currentColor;
  border-width: 0 2px 0 0;
  border-radius: 50%;
}
.textbtn[aria-pressed='false'] .speaker:after {
  border: 0;
  border-left: 1.5px solid;
  transform: rotate(35deg);
  height: 18px;
}
.cover {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  border: 2px solid var(--ink);
  background: var(--paper);
  position: relative;
  box-shadow: 4px 5px 0 #bda27c;
  isolation: isolate;
}
.box-copy {
  padding: clamp(23px, 3vw, 47px) clamp(24px, 3.2vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse at 80% 80%, #f5dfb8, transparent 68%), var(--paper);
}
.eyebrow,
.shelf-hint,
.caption-text small,
.modal-kicker,
.hud-label {
  font:
    700 13px/1.2 Barlow,
    sans-serif;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.eyebrow {
  color: var(--cran);
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
}
.little-check {
  width: 19px;
  height: 15px;
  display: inline-block;
  transform: skew(-9deg);
  background: repeating-conic-gradient(var(--cran) 0 25%, transparent 0 50%)
    0/9px 9px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1 {
  font:
    400 clamp(70px, 6.6vw, 106px)/0.86 Young,
    Georgia,
    serif;
  letter-spacing: -0.075em;
  transform: rotate(-3deg);
  transform-origin: left bottom;
  padding: 0 0 7px;
  margin: 0 0 16px -3px;
  text-wrap: nowrap;
}
h1 em {
  font-style: normal;
  color: var(--brick);
  font-size: 1.35em;
  letter-spacing: -0.088em;
  text-shadow:
    1px 2px 0 var(--paper),
    2.5px 3.5px 0 #813728;
}
.pitch {
  font-size: clamp(14px, 1.12vw, 17px);
  line-height: 1.48;
  max-width: 35ch;
  font-weight: 520;
}
.start-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 25px;
  flex-wrap: wrap;
}
.primary,
.secondary {
  padding: 13px 18px;
  min-height: 46px;
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  font-weight: 760;
  letter-spacing: -0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
}
.primary {
  background: var(--brick);
  color: #fff5db;
  border-color: #75301f;
  box-shadow: 0 3px #74321f;
}
.primary:hover {
  background: #963421;
}
.secondary {
  background: var(--paper);
}
.secondary span {
  font-size: 17px;
  line-height: 12px;
}
.secondary:hover {
  background: #f5e3c2;
}
.play-icon {
  background: currentColor;
  width: 11px;
  height: 13px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.cover-picture {
  border-left: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: #e8c895;
}
.cover-picture > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 52% 54%;
}
.cover-picture figcaption {
  position: absolute;
  right: 15px;
  bottom: 16px;
  display: flex;
  align-items: stretch;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  transform: rotate(-2deg);
  box-shadow: 2px 3px 0 #573a2859;
}
.caption-text {
  display: flex;
  gap: 3px;
  flex-direction: column;
  padding: 8px 14px 9px;
}
.caption-text small {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--cran);
}
.caption-text strong {
  font: 19px/1 Young;
  letter-spacing: -0.7px;
}
.cover-picture figcaption button {
  width: 43px;
  font-size: 25px;
  background: none;
  border: 0;
  border-left: 1px dashed var(--rule);
}
.cover-picture figcaption button:hover {
  background: #eadab8;
}
.lobby-directory,
.armory {
  margin: 30px 0 0;
}
.lobby-directory .shelf-heading {
  flex-wrap: nowrap;
}
#online-count {
  color: var(--green);
  font-weight: 750;
  font-size: 13px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#lobby-status,
#lobby-list > li {
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
}
#lobby-status,
#lobby-list > li > span {
  color: var(--muted);
  font-size: 14px;
}
#lobby-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}
#lobby-list > li {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 2fr auto;
  gap: 8px 16px;
  align-items: center;
  min-height: 68px;
}
#lobby-list button {
  min-height: 42px;
  padding: 7px 17px;
}
@media (max-width: 520px) {
  #lobby-list > li {
    grid-template-columns: 1fr auto;
    gap: 3px 12px;
  }
  #lobby-list > li > span {
    grid-column: 1;
  }
  #lobby-list button {
    grid-area: 1 / 2 / 3 / 3;
  }
}
.shelf-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 13px;
}
.shelf-heading h2 {
  font:
    clamp(23px, 2.2vw, 31px)/1.2 Young,
    Georgia,
    serif;
  letter-spacing: -1.2px;
}
.shelf-line,
.stitch {
  flex: 1;
  border-top: 1px solid var(--rule);
}
.shelf-hint {
  font-size: 12px;
  letter-spacing: 1.15px;
  color: var(--muted);
}
#weapon-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.weapon-card {
  position: relative;
  border: 1.5px solid #a99b80;
  border-radius: 3px;
  min-height: 125px;
  background: #fbf3df;
  display: grid;
  grid-template-columns: minmax(84px, 0.97fr) minmax(100px, 1fr);
  align-items: center;
  padding: 12px 12px 12px 3px;
  text-align: left;
  transition:
    background 0.12s,
    border-color 0.12s;
}
.weapon-card[aria-pressed='true'] {
  background: #f1eacb;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.weapon-card:hover {
  border-color: var(--green);
  background: #f4e7c9;
}
.weapon-card img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(1px 4px 0 #463d2516);
}
.weapon-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.weapon-copy span {
  font: 700 10px Barlow;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.weapon-copy strong {
  font: clamp(18px, 1.55vw, 24px)/1.1 Young;
  letter-spacing: -0.8px;
}
.weapon-copy small {
  font: 600 12px/1.3 DM;
  color: var(--muted);
}
.weapon-mark {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 1px solid #ab9b82;
  border-radius: 50%;
  width: 13px;
  height: 13px;
}
.weapon-card[aria-pressed='true'] .weapon-mark {
  background: var(--green);
  border-color: var(--green);
}
.weapon-card[aria-pressed='true'] .weapon-mark:after {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 3px;
  height: 5px;
  border: solid #fff4cf;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
footer {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin: 23px 0 0;
  font: 700 11px Barlow;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
footer i {
  color: var(--cran);
  font-size: 15px;
}
dialog {
  border: 0;
  padding: 0;
  max-height: calc(100dvh - 24px);
  width: min(465px, calc(100vw - 28px));
  color: var(--ink);
  background: transparent;
  overflow: visible;
}
dialog::backdrop {
  background: rgba(36, 24, 17, 0.66);
}
.modal-card {
  position: relative;
  background: var(--paper);
  padding: 30px 30px 26px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 5px 6px 0 #3b2929a8;
  max-height: calc(100dvh - 24px);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: repeating-conic-gradient(#ae422e 0 25%, #e8af83 0 50%) 0/12px 12px;
}
.close {
  position: absolute;
  z-index: 1;
  right: 12px;
  top: 13px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 50%;
  font: 24px/1 DM;
}
.modal-kicker {
  color: var(--cran);
  font-size: 11px;
  margin: 2px 40px 8px 0;
}
.modal-card h2 {
  font: 36px/1.05 Young;
  letter-spacing: -2px;
  padding: 1px 8px 5px 0;
}
.modal-card p {
  font-size: 14px;
  line-height: 1.45;
  margin: 8px 0;
  color: #584b3e;
}
.modal-card .modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 21px;
  flex-wrap: wrap;
}
.modal-card form {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}
.modal-card label,
.small-title {
  font: 700 12px Barlow;
  text-transform: uppercase;
  letter-spacing: 1.3px;
}
.modal-card input[type='text'] {
  width: 100%;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 12px;
  font: 700 28px Barlow;
  letter-spacing: 5px;
  text-transform: uppercase;
  background: #fffbec;
}
.error {
  color: #9c301c !important;
}
.invite {
  display: flex;
  align-items: center;
  gap: 15px;
  border-block: 1px dashed #bdab8d;
  margin: 16px 0;
  padding: 12px 0;
}
.invite img {
  width: 88px;
  height: 88px;
  border: 1px solid var(--rule);
}
.room-code {
  font: 700 32px/1.1 Barlow;
  letter-spacing: 6px;
}
.invite p {
  font-size: 12px;
  margin: 3px 0;
}
.link-button {
  font-weight: 700;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 3px 0;
  color: var(--cran);
}
.seat-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.seat {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.seat i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #397464;
}
.seat.empty i {
  border: 1px solid #8b7e66;
  background: transparent;
}
.instructions {
  padding: 0;
  list-style: none;
  margin: 12px 0;
}
.instructions li {
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.instructions b {
  color: var(--green);
}
.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
  margin-top: 14px;
  padding-top: 12px;
}
.setting label {
  font: 650 14px DM;
  letter-spacing: 0;
  text-transform: none;
}
.setting input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}
.perk {
  display: block;
  background: #f6e8c9;
  width: 100%;
  border: 1px solid #b6a486;
  border-radius: 3px;
  text-align: left;
  padding: 9px 13px;
  margin-top: 8px;
}
.perk strong {
  display: block;
  font: 20px Young;
}
.perk small {
  font-size: 12px;
}
.perk:hover,
.perk[aria-pressed='true'] {
  background: #e3e6c8;
  border-color: var(--green);
}
.big-score {
  font: 700 54px/1 Barlow;
  color: var(--cran);
}
.statline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
#game {
  position: fixed;
  inset: 0;
  background: #dab781;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior: none;
}
body.in-game {
  overflow: hidden;
}
#world,
#hud,
#damage-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#world {
  display: block;
  outline: none;
  touch-action: none;
}
#hud,
#damage-fx {
  pointer-events: none;
}
#damage-fx {
  background: radial-gradient(
    ellipse at center,
    transparent 26%,
    #490a1a46 48%,
    #390510b8 76%,
    #210209ed 100%
  );
  opacity: 0;
}
#hud {
  color: var(--ink);
  font-family: Barlow, Arial, sans-serif;
  --safe-top: max(13px, env(safe-area-inset-top));
  --safe-left: max(14px, env(safe-area-inset-left));
  --safe-right: max(14px, env(safe-area-inset-right));
  --safe-bottom: max(14px, env(safe-area-inset-bottom));
}
.course-card,
.top-score,
.health-hud,
.ammo-hud {
  background: #fff4dce8;
  border: 1.5px solid #463524;
  box-shadow: 2px 3px 0 #49332260;
  border-radius: 3px;
  position: absolute;
  padding: 9px 13px;
}
.course-card {
  left: var(--safe-left);
  top: var(--safe-top);
  min-width: 155px;
}
.course-card small,
.top-score small,
.health-hud small,
.ammo-hud small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  line-height: 1.12;
}
.course-card strong {
  font: 18px Young;
  letter-spacing: -0.7px;
}
.progress-track {
  height: 4px;
  max-width: 150px;
  background: #d8c7a4;
  margin: 5px 0 4px;
}
.progress-track i,
.microbar b {
  display: block;
  height: 100%;
  background: #52744f;
}
.course-card #servings {
  font-size: 9px;
  letter-spacing: 0.7px;
  color: var(--muted);
}
.top-score {
  top: var(--safe-top);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 6px 13px;
}
.top-score strong {
  font: 700 26px/1 Barlow;
  font-variant-numeric: tabular-nums;
}
.radar-group {
  position: absolute;
  right: var(--safe-right);
  top: var(--safe-top);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.radar-group button {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
  font-weight: 800;
  font-size: 21px;
}
.radar-group canvas {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  box-shadow: 1px 2px 0 #49332270;
}
.health-hud,
.ammo-hud {
  bottom: var(--safe-bottom);
  min-width: 115px;
}
.health-hud {
  left: var(--safe-left);
}
.ammo-hud {
  right: var(--safe-right);
  text-align: right;
}
.health-hud > div,
.ammo-hud > div {
  display: flex;
  gap: 7px;
  align-items: baseline;
}
.ammo-hud > div {
  justify-content: flex-end;
}
.health-hud strong,
.ammo-hud strong {
  font: 700 33px/0.98 Barlow;
}
.ammo-hud span {
  font: 700 18px Barlow;
  color: var(--muted);
}
.microbar {
  width: 46px;
  height: 5px;
  background: #ceb79b;
  align-self: center;
}
.hp-cross {
  font: bold 14px DM;
  color: #a53928;
}
.ammo-hud #reload-label {
  font-size: 9px;
  letter-spacing: 0.8px;
}
.ammo-hud #reload-label:empty {
  display: none;
}
.ammo-hud #reload-label:not(:empty) {
  padding-top: 3px;
}
#reticle,
#hitmark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#reticle {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 1px 1px #2f251c);
}
#reticle:before,
#reticle:after,
#reticle i,
#reticle b {
  position: absolute;
  content: '';
  background: white;
  border-radius: 1px;
}
#reticle:before,
#reticle:after {
  width: 5px;
  height: 2px;
  top: 8px;
}
#reticle:after {
  right: 0;
}
#reticle i,
#reticle b {
  height: 5px;
  width: 2px;
  left: 8px;
}
#reticle b {
  bottom: 0;
}
#hitmark {
  color: #ffe07f;
  font: bold 39px/1 DM;
  opacity: 0;
  text-shadow: 1px 1px #673422;
}
#boss {
  position: absolute;
  top: calc(var(--safe-top) + 56px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff6e2;
  text-shadow: 1px 1px 2px #251b18;
  font: 700 13px Barlow;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
#boss i {
  display: block;
  width: min(30vw, 224px);
  height: 8px;
  border: 1px solid #fff4cf;
  background: #432722;
}
#boss b {
  display: block;
  height: 100%;
  background: #e37352;
}
#banner {
  position: absolute;
  top: 29%;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  padding: 9px 25px;
  text-align: center;
  background: var(--paper);
  box-shadow: 3px 3px 0 #62412d90;
  border: 1.5px solid var(--ink);
  width: max-content;
  max-width: 92vw;
}
#banner small,
#banner strong {
  display: block;
}
#banner small {
  text-transform: uppercase;
  font: 700 12px Barlow;
  letter-spacing: 2px;
  color: var(--cran);
}
#banner strong {
  font: clamp(23px, 4vw, 48px)/1.15 Young;
  letter-spacing: -1.5px;
}
#toast {
  position: absolute;
  top: 66%;
  left: 50%;
  transform: translateX(-50%);
  font: 700 17px Barlow;
  text-align: center;
  color: #fff7e9;
  text-shadow:
    0 1px 4px #38251b,
    1px 1px 0 #38251b;
  letter-spacing: 0.5px;
}
#friend-tag {
  position: absolute;
  transform: translate(-50%, -100%);
  font: 700 12px Barlow;
  background: #315c4bef;
  color: #fff9e5;
  padding: 3px 6px;
  border-radius: 3px;
}
#touch-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#move-pad {
  border: 2px solid #fff4d8b0;
  border-radius: 50%;
  background: #362b253a;
  position: absolute;
  left: calc(var(--safe-left) + 5px);
  bottom: calc(var(--safe-bottom) + 2px);
  width: 102px;
  height: 102px;
  pointer-events: auto;
  touch-action: none;
}
#move-pad i {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px;
  border: 1.5px solid #fff6decc;
  border-radius: 50%;
  background: #f4e5c885;
  pointer-events: none;
}
.touch-actions {
  position: absolute;
  right: var(--safe-right);
  bottom: var(--safe-bottom);
  width: 150px;
  height: 123px;
}
.touch-actions button {
  position: absolute;
  pointer-events: auto;
  touch-action: none;
  border: 1.5px solid #fff6d8c9;
  background: #42332794;
  color: #fff5dc;
  border-radius: 50%;
  font: 700 23px Barlow;
  width: 44px;
  height: 44px;
  padding: 0;
}
.touch-actions #touch-fire {
  right: 0;
  bottom: 5px;
  width: 67px;
  height: 67px;
  background: #9f382bdd;
  font: 700 17px Barlow;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.touch-actions #touch-jump {
  right: 1px;
  bottom: 79px;
}
.touch-actions #touch-reload {
  right: 62px;
  bottom: 72px;
}
.touch-ui .health-hud {
  bottom: calc(var(--safe-bottom) + 120px);
  min-width: 0;
}
.touch-ui .ammo-hud {
  bottom: calc(var(--safe-bottom) + 139px);
  min-width: 0;
}
.touch-ui .health-hud,
.touch-ui .ammo-hud {
  padding: 5px 8px;
}
.touch-ui .health-hud strong,
.touch-ui .ammo-hud strong {
  font-size: 24px;
}
.touch-ui .microbar {
  display: none;
}
@media (min-width: 1500px) {
  .cover-picture {
    min-height: 485px;
  }
}
@media (max-width: 950px) {
  .shell {
    width: 97%;
    padding-inline: 15px;
  }
  .mast {
    height: 65px;
    margin-bottom: 16px;
  }
  .box-copy {
    padding: 28px 24px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .start-actions {
    gap: 7px;
  }
  .start-actions button {
    font-size: 13px;
    padding: 11px 13px;
  }
  .cover-picture {
    min-height: 332px;
  }
  .lobby-directory,
  .armory {
    margin-top: 22px;
  }
  .weapon-card {
    min-height: 103px;
    grid-template-columns: 0.85fr 1fr;
    padding-right: 7px;
  }
  .weapon-card img {
    height: 75px;
  }
  .weapon-copy strong {
    font-size: 18px;
  }
  .weapon-copy small {
    font-size: 11px;
  }
  #weapon-shelf {
    gap: 8px;
  }
}
@media (max-width: 680px) {
  .shell {
    width: 100%;
    padding: 0 15px 18px;
  }
  .mast {
    height: 58px;
    margin-bottom: 14px;
  }
  .brand {
    font-size: 20px;
  }
  .utensils {
    scale: 0.85;
    margin-right: 2px;
  }
  .mast nav {
    gap: 9px;
  }
  .textbtn {
    font-size: 12px;
    gap: 5px;
  }
  .cover {
    display: flex;
    flex-direction: column;
  }
  .box-copy {
    padding: 25px 24px 22px;
  }
  .eyebrow {
    margin-bottom: 13px;
  }
  h1 {
    font-size: clamp(56px, 11vw, 77px);
    margin-bottom: 11px;
    line-height: 0.9;
  }
  h1 br {
    display: none;
  }
  h1 em {
    font-size: 1.08em;
    margin-left: 0.11em;
  }
  .pitch {
    font-size: 14px;
    max-width: 43ch;
  }
  .start-actions {
    margin-top: 16px;
  }
  .start-actions button {
    font-size: 14px;
  }
  .cover-picture {
    border-left: 0;
    border-top: 1.5px solid var(--ink);
    min-height: 0;
    aspect-ratio: 2.05;
  }
  .cover-picture > img {
    object-position: 50% 52%;
  }
  .cover-picture figcaption {
    right: 9px;
    bottom: 9px;
  }
  .caption-text {
    padding: 5px 9px;
  }
  .caption-text small {
    font-size: 8px;
  }
  .caption-text strong {
    font-size: 15px;
  }
  .cover-picture figcaption button {
    width: 39px;
    font-size: 21px;
  }
  .armory {
    margin-top: 22px;
  }
  .shelf-hint {
    display: none;
  }
  .shelf-heading {
    gap: 10px;
  }
  .shelf-heading h2 {
    font-size: 22px;
  }
  .weapon-card {
    grid-template-columns: 1fr;
    padding: 8px 7px 10px;
    justify-items: center;
    text-align: center;
  }
  .weapon-card img {
    height: 60px;
  }
  .weapon-copy {
    gap: 2px;
  }
  .weapon-copy strong {
    font-size: 16px;
    letter-spacing: -0.8px;
  }
  .weapon-copy span {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
  .weapon-copy small {
    display: none;
  }
  .weapon-mark {
    top: 5px;
    right: 5px;
    width: 11px;
    height: 11px;
  }
  .weapon-card[aria-pressed='true'] .weapon-mark:after {
    left: 2px;
    top: 1px;
  }
  footer {
    gap: 8px;
    margin-top: 19px;
    font-size: 9px;
    letter-spacing: 0.8px;
  }
  .course-card {
    padding: 6px 8px;
    min-width: 116px;
  }
  .course-card strong {
    font-size: 15px;
  }
  .top-score {
    padding: 4px 8px;
  }
  .top-score strong {
    font-size: 22px;
  }
  .radar-group {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 6px;
  }
  .radar-group canvas {
    width: 61px;
    height: 61px;
  }
  #toast {
    font-size: 15px;
    max-width: 70vw;
    width: max-content;
  }
  .modal-card {
    padding: 27px 20px 20px;
  }
}
@media (max-height: 520px) and (orientation: landscape) {
  .modal-card {
    padding: 19px 23px 15px;
  }
  .modal-card h2 {
    font-size: 28px;
  }
  .modal-kicker {
    margin-bottom: 3px;
  }
  .modal-card .modal-actions {
    margin-top: 12px;
  }
  .invite {
    padding: 7px 0;
    margin: 8px 0;
  }
  .invite img {
    width: 66px;
    height: 66px;
  }
  .radar-group canvas {
    width: 60px;
    height: 60px;
  }
  .course-card {
    padding: 5px 8px;
    min-width: 120px;
  }
  .course-card strong {
    font-size: 15px;
  }
  .touch-ui .ammo-hud {
    bottom: calc(var(--safe-bottom) + 128px);
  }
  #move-pad {
    width: 89px;
    height: 89px;
  }
  .touch-ui .health-hud {
    bottom: calc(var(--safe-bottom) + 100px);
  }
  #banner {
    top: 27%;
  }
  #toast {
    top: 73%;
  }
}

@media (max-width: 680px) {
  .brand {
    font-size: 19px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .textbtn {
    white-space: nowrap;
  }
  h1 {
    font-size: clamp(30px, 9.15vw, 61px);
    letter-spacing: -0.06em;
  }
  h1 em {
    letter-spacing: -0.065em;
  }
}
@media (max-width: 430px) {
  .mast nav {
    gap: 5px;
  }
  .mast #sound-button {
    width: 34px;
    height: 40px;
  }
  .mast #sound-button span {
    display: none;
  }
  .weapon-copy strong {
    font-size: clamp(13px, 3.9vw, 16px);
  }
}

.book-link {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--cran);
  font: 700 13px DM;
  padding: 5px 0;
  white-space: nowrap;
}
.weapon-card.sample {
  cursor: default;
}
.weapon-card.sample:first-child {
  background: #eeebcd;
  border-color: #778263;
}
.weapon-card.sample:hover {
  background: var(--paper);
}
dialog[data-screen='choice'] {
  width: min(530px, calc(100vw - 26px));
}
dialog[data-screen='book'] {
  width: min(620px, calc(100vw - 26px));
}
.draft-grid,
.cookbook {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.cookbook {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.draft-grid {
  grid-template-columns: minmax(0, 1fr);
}
.draft-card,
.cookbook > div {
  border: 1px solid #b8a484;
  background: #f7ecd3;
  border-radius: 4px;
  padding: 10px 12px;
  text-align: left;
}
.draft-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-content: start;
  min-height: 0;
}
.draft-card:hover,
.draft-card:focus-visible {
  background: #e9ead1;
  border-color: var(--green);
}
.draft-card img,
.draft-card .spice-seal {
  height: 32px;
  width: 56px;
  object-fit: contain;
  grid-column: 2;
  grid-row: 1/4;
  justify-self: end;
  align-self: center;
}
.draft-card .spice-seal {
  font: 28px Young;
  color: #976a29;
  text-align: center;
}
.draft-card .draft-top,
.cookbook small,
.tray > small {
  font: 700 11px/1.15 Barlow;
  color: var(--green);
  letter-spacing: 0.9px;
  text-transform: uppercase;
}
.draft-card strong,
.cookbook strong {
  font: 20px/1.05 Young;
  letter-spacing: -0.8px;
  margin: 4px 0;
}
.draft-card > span:not(.draft-top):not(.spice-seal),
.draft-card em {
  grid-column: 1/-1;
  font: 12px/1.35 DM;
}
.draft-card > span:not(.draft-top):not(.spice-seal) {
  grid-column: 1;
}
.draft-card em {
  margin-top: 5px;
  padding-top: 4px;
  border-top: 1px dashed #cabb9a;
  font: 700 11px/1.3 DM;
  color: var(--cran);
}
.tray {
  font-size: 12px;
  color: var(--muted);
}
.cookbook p {
  font-size: 12px;
  margin: 3px 0;
}
.cookbook img {
  width: 73px;
  height: 38px;
  float: right;
  object-fit: contain;
}
.cookbook strong,
.cookbook small {
  display: block;
}
.modal-card h3 {
  font: 23px Young;
  letter-spacing: -1px;
  margin-top: 17px;
}
.tray {
  margin: 10px 0;
  padding: 8px 0;
  border-block: 1px dashed var(--rule);
}
.tray > small {
  display: block;
  margin: 3px 0;
}
.tray > div {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 9px;
}
.tray > div span {
  white-space: nowrap;
}
.xp-track {
  height: 3px;
  background: #dacda9;
  margin: 4px 0 2px;
}
.xp-track i {
  display: block;
  background: #b88629;
  height: 100%;
}
.course-card #xp-label {
  font-size: 9px;
  letter-spacing: 0.6px;
}
#boss #boss-order {
  display: block;
  text-transform: none;
  font: 650 11px/1.15 DM;
  letter-spacing: 0.1px;
  margin: 3px 0;
  max-width: 230px;
  color: #fff9df;
}
#side-rack {
  position: absolute;
  right: var(--safe-right);
  bottom: calc(var(--safe-bottom) + 68px);
  display: flex;
  align-items: center;
  gap: 3px;
}
#side-rack span {
  position: relative;
  width: 35px;
  height: 28px;
  background: #fff1d8df;
  border: 1px solid #765d42;
  border-radius: 3px;
}
#side-rack img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#side-rack b {
  position: absolute;
  bottom: -2px;
  right: 1px;
  color: var(--ink);
  font: 10px Barlow;
}
#side-rack small {
  background: #3d5b43;
  color: #fff6d9;
  padding: 3px 5px;
  font: 12px Barlow;
  border-radius: 2px;
}
.touch-ui #side-rack {
  right: auto;
  bottom: auto;
  left: var(--safe-left);
  top: calc(var(--safe-top) + 97px);
}
@media (max-width: 560px) {
  .shelf-heading {
    flex-wrap: wrap;
  }
  .book-link {
    font-size: 11px;
  }
  .shelf-heading h2 {
    font-size: 22px;
  }
  .draft-card {
    padding: 8px;
    grid-template-columns: 1fr 32px;
  }
  .draft-card img,
  .draft-card .spice-seal {
    width: 34px;
    height: 25px;
  }
  .draft-card strong,
  .cookbook strong {
    font-size: 16px;
  }
  .draft-card .draft-top {
    font-size: 9px;
  }
  .draft-card > span:not(.draft-top):not(.spice-seal),
  .draft-card em {
    font-size: 11px;
  }
  .draft-grid,
  .cookbook {
    gap: 6px;
  }
  .cookbook > div {
    padding: 8px;
  }
  .cookbook img {
    width: 41px;
  }
  .touch-ui #side-rack {
    top: calc(var(--safe-top) + 83px);
  }
}
@media (max-height: 480px) and (orientation: landscape) {
  .draft-grid {
    gap: 5px;
    margin-top: 6px;
  }
  .draft-card {
    padding: 6px 10px;
  }
  .draft-card strong {
    font-size: 16px;
    margin: 2px 0;
  }
  .draft-card em {
    margin-top: 3px;
    padding-top: 2px;
  }
  .touch-ui #side-rack {
    top: calc(var(--safe-top) + 76px);
  }
}

.primary:disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}
.ffa-standing {
  display: flex;
  gap: 8px;
  align-items: center;
}
.chef-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  background: var(--chef-color);
}
@media (max-width: 560px) and (orientation: portrait) {
  .course-card {
    width: clamp(98px, 31vw, 126px);
    min-width: 0;
  }
  .course-card strong {
    display: block;
    line-height: 1.05;
  }
  #boss {
    top: calc(var(--safe-top) + 127px);
    width: min(64vw, 226px);
  }
  #boss i {
    width: 100%;
  }
  .touch-ui #side-rack {
    top: calc(var(--safe-top) + 93px);
  }
}

#ffa-profile {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: end;
}
#ffa-profile label {
  display: grid;
  gap: .25rem;
}
#ffa-profile input[type="color"] {
  min-width: 2rem;
}
#ffa-count + .seat-list {
  max-height: 11rem;
  overflow: auto;
}
.ffa-switch {
  position: absolute;
  right: 1rem;
  bottom: 8rem;
  pointer-events: auto;
}

.chef-preview {
  width: 1.8rem;
  height: 2.1rem;
  border: .35rem solid;
  border-radius: 45% 45% 35% 35%;
}

.touch-ui .ffa-switch {
  display: none;
}
.touch-actions #touch-switch {
  right: 81px;
  bottom: 18px;
  font-size: 14px;
}
