:root {
  --red: #b3161b;
  --red-dark: #8e1014;
  --ink: #1d1b1b;
  --muted: #6b6362;
  --bg: #fbece6;
  --card: #ffffff;
  --line: #eed6cd;
  --gold: #c79a00;
  --green: #1f9d55;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.4;
}

a {
  color: var(--red);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.muted {
  color: var(--muted);
  margin: 0;
}

/* ---------- Sprites: crop the item photos straight out of the menu images ----------
   Each sprite sets --x/--y/--w/--h (its crop box in menu pixels).
   The sprite scales to fit --bw × --bh, keeping the crop's aspect ratio. */
.sprite {
  --bw: 96px;
  --bh: 72px;
  --s: min(calc(var(--bw) / var(--w)), calc(var(--bh) / var(--h)));
  display: block;
  flex: none;
  width: calc(var(--w) * var(--s));
  height: calc(var(--h) * var(--s));
  background-repeat: no-repeat;
  background-size: calc(var(--iw) * var(--s)) auto;
  background-position: calc(var(--x) * var(--s) * -1) calc(var(--y) * var(--s) * -1);
}

/* Standalone photos from images/ fit the same --bw × --bh box */
.photo {
  --bw: 96px;
  --bh: 72px;
  display: block;
  flex: none;
  width: auto;
  height: auto;
  max-width: var(--bw);
  max-height: var(--bh);
}

/* Solid white backgrounds blend into the card */
.photo.flat {
  mix-blend-mode: multiply;
  border-radius: 8px;
}

.img {
  background-image: url("images.png");
  --iw: 1024;
}

.menu-sheet {
  background-image: url("menu.png");
  --iw: 1024;
}

/* Faint shadow that follows the photo's transparent edges */
.shadow {
  filter: drop-shadow(0 3px 4px rgba(60, 20, 10, .2));
}

.m2 {
  background-image: url("menu2.png");
  --iw: 720;
}

.logo {
  --bw: 140px;
  --bh: 108px;
}

.thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, #fff 40%, #fbf1ed 100%);
}

.thumb .sprite,
.thumb .photo {
  --bw: 140px;
  --bh: 90px;
  transition: transform .25s;
}

.item:hover .thumb .sprite,
.item:hover .thumb .photo {
  transform: scale(1.06);
}

/* Sauce cups are cropped tight, so they get a smaller box to sit in scale with the plated items */
[data-list="sauces"] .thumb .photo {
  --bw: 92px;
  --bh: 60px;
}

.wide .thumb {
  height: 84px;
}

.wide .thumb .sprite,
.wide .thumb .photo {
  --bw: 230px;
  --bh: 72px;
}

.tall .thumb {
  height: 130px;
}

.tall .thumb .sprite,
.tall .thumb .photo {
  --bw: 130px;
  --bh: 120px;
}

.hero-img {
  --bw: 260px;
  --bh: 150px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35));
}

/* ---------- Header ---------- */
.top {
  background: var(--red);
  border-bottom: 4px solid var(--red-dark);
  color: #fff;
}

/* Ordering page title, under the shared header */
.order-title {
  margin-bottom: 16px;
}

.order-title em {
  color: var(--red);
}

/* Site header and footer, shared by the home page and the ordering page */
.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 8px;
  top: 8px;
  z-index: 40;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
}

.site-bar {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  padding-block: 8px;
}

.site-bar .logo {
  --bw: 98px;
  --bh: 76px;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, .16);
}

.site-nav a[aria-current="page"] {
  background: #fff;
  color: var(--red);
}

/* The Order button sits on the red bar, so it flips to white */
.site-bar .btn {
  background: #fff;
  color: var(--red);
}

.site-bar .btn:hover {
  background: var(--bg);
}

a.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-foot {
  padding: 28px 0;
  background: var(--ink);
  color: #e9dcd8;
  text-align: center;
  font-size: .9rem;
}

.site-foot p {
  margin: 0 0 4px;
}

.site-foot a {
  color: #ffcc1a;
}

@media (max-width: 860px) {
  /* Logo and Order button on the first row; section links scroll sideways on the second */
  .site-bar {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .site-bar .logo {
    --bw: 80px;
    --bh: 62px;
  }

  .site-nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: space-between;
    gap: 0;
    margin: 0 -8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav a {
    padding: 6px clamp(4px, 1.8vw, 12px);
    font-size: clamp(.64rem, 3vw, .92rem);
  }

  .site-nav {
    padding-bottom: 2px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

}

/* Phones: shorten "Location & Hours" so all six tabs fit on one row */
@media (max-width: 600px) {
  .wide-only {
    display: none;
  }
}

h1 {
  font-size: clamp(1.3rem, 4vw, 2rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
}

h1 em {
  font-style: normal;
  color: var(--red);
}

/* ---------- Layout ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding-block: 24px 120px;
  align-items: start;
}

section {
  margin-bottom: 36px;
}

/* Set by the owner from Telegram: ordering paused, or a discount on every order */
.notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 2px solid var(--red);
  color: var(--red-dark);
  font-weight: 600;
}

.notice.deal {
  border-color: var(--green);
  color: var(--green);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 24px 28px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 196, 0, .35), transparent 45%),
    linear-gradient(135deg, #c21b20, #7a0d10);
  box-shadow: 0 18px 40px -18px rgba(122, 13, 16, .7);
}

.hero h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
}

.hero h2 span {
  color: #ffcc1a;
}

.hero .muted {
  color: #f7d6d0;
  font-size: .92rem;
}

.eyebrow {
  margin: 0;
  font-size: .75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffcc1a;
  font-weight: 600;
}

.pill {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

.pill.red {
  background: var(--red);
}

.pill.dark {
  background: #111;
  color: #ffcc1a;
}

.builder {
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -24px rgba(90, 30, 20, .35);
}

.step {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .9rem;
}

.free {
  background: var(--green);
  color: #fff;
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 999px;
}

.group {
  margin: 14px 0 8px;
  color: var(--red);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ---------- Item cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.grid.wide {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 10px;
  text-align: left;
  font: inherit;
  color: inherit;
  box-shadow: 0 1px 2px rgba(60, 20, 10, .08), 0 6px 16px -10px rgba(60, 20, 10, .25);
  transition: border-color .15s, box-shadow .2s, transform .15s;
}

.item:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(60, 20, 10, .08), 0 14px 26px -14px rgba(60, 20, 10, .4);
}

.builder .item {
  background: #fffaf8;
}

button.item {
  cursor: pointer;
}

button.item:active {
  transform: scale(.98);
}

.item[disabled]:hover {
  transform: none;
}

.item[aria-pressed="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179, 22, 27, .15);
}

.item[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

.item[disabled],
.item.sold-out {
  opacity: .45;
  cursor: not-allowed;
}

.item-name {
  font-weight: 600;
  font-size: .95rem;
}

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.price {
  color: var(--red);
  font-weight: 600;
  white-space: nowrap;
}

.desc {
  color: var(--muted);
  font-size: .78rem;
}

.tag-num {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  background: var(--ink);
  color: #fff;
  border-radius: 3px;
  font-size: .7rem;
  vertical-align: 1px;
}

.item select {
  font: inherit;
  font-size: .85rem;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.stepper button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--red);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.stepper {
  justify-content: flex-end;
  gap: 8px;
}

.stepper button[hidden],
.stepper output[hidden] {
  display: none;
}

.stepper .minus {
  background: #fff;
  color: var(--red);
  box-shadow: inset 0 0 0 2px var(--red);
  animation: fadeIn .2s ease-out;
}

.stepper .minus:hover {
  background: #fdeceb;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(.6);
  }
}

.stepper button {
  transition: transform .15s, background .15s;
}

.stepper button:hover {
  background: var(--red-dark);
}

.stepper button.pop {
  animation: pop .35s;
}

.in-cart {
  min-width: 18px;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
}

@keyframes pop {
  40% {
    transform: scale(1.3);
  }
}

.cart-fab.bump {
  animation: bump .4s;
}

@keyframes bump {
  40% {
    transform: translateY(-6px);
  }
}

.combo-pick {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
}

.combo-pick p {
  margin: 0 0 8px;
}

.combo-selects {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.combo-selects select {
  flex: 1 1 180px;
  font: inherit;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.plate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  bottom: 12px;
  background: rgba(29, 27, 27, .94);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 12px 12px 12px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
}

.plate-bar .btn {
  background: #ffcc1a;
  color: var(--ink);
}

.plate-bar .btn:hover {
  background: #ffd84d;
}

.plate-bar .btn:disabled {
  background: #555;
  color: #aaa;
}

.plate-summary {
  font-weight: 600;
}

.plate-hint {
  font-size: .8rem;
  color: #f3b8b0;
}

/* ---------- Buttons ---------- */
.btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 600;
}

.btn:hover {
  background: var(--red-dark);
}

.btn:disabled {
  background: #9c9696;
  cursor: not-allowed;
}

.btn.full {
  width: 100%;
  padding: 12px;
}

.btn.ghost {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.link {
  background: none;
  border: 0;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted);
}

/* ---------- Cart ---------- */
.cart {
  position: sticky;
  top: 16px;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 20px 40px -24px rgba(90, 30, 20, .35);
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

#cart-close {
  display: none;
}

.cart-list {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

.cart-list li {
  animation: slideIn .25s ease-out;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.cart-list .c-name {
  font-weight: 600;
  font-size: .92rem;
}

.cart-list .c-detail {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .78rem;
}

.cart-list .c-ctrl {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
}

.cart-list .c-ctrl button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  line-height: 1;
}

.cart-list .c-remove {
  margin-left: auto;
  width: auto !important;
  border: 0 !important;
  color: var(--red);
  font-size: .8rem;
}

.empty {
  color: var(--muted);
  font-size: .9rem;
}

.checkout {
  display: grid;
  gap: 10px;
}

.checkout label {
  display: grid;
  gap: 4px;
  font-size: .85rem;
  font-weight: 500;
}

.checkout input,
.checkout select,
.checkout textarea {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.checkout .check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.checkout .check input {
  padding: 0;
  accent-color: var(--red);
}

.checkout .choice {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout .choice legend {
  padding: 0 0 4px;
  font-size: .85rem;
  font-weight: 500;
}

/* Toggle buttons in one row: --n is how many, --i the picked one. The red pill slides under the picked label. */
.seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n), 1fr);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

.seg::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / var(--n));
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 4px 10px -4px rgba(179, 22, 27, .6);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform .3s cubic-bezier(.3, 1.4, .6, 1);
}

.seg:has(label:nth-child(2) input:checked) {
  --i: 1;
}

.seg:has(label:nth-child(3) input:checked) {
  --i: 2;
}

.seg:has(label:nth-child(4) input:checked) {
  --i: 3;
}

.checkout .seg label {
  position: relative;
  display: block;
  padding: 8px 2px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s, transform .15s;
}

.checkout .seg label:active {
  transform: scale(.94);
}

.checkout .seg label:has(input:checked) {
  color: #fff;
}

.checkout .seg label:has(input:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.checkout .seg input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

/* The time field slides open when "Custom" is picked */
.pickup-at {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .25s, opacity .25s;
}

.choice:has(input[value="custom"]:checked) .pickup-at {
  grid-template-rows: 1fr;
  opacity: 1;
}

.checkout .pickup-at label {
  min-height: 0;
  overflow: hidden;
  padding: 0 3px;
}

.checkout .pickup-at select {
  margin: 8px 0 3px;
}

/* ---------- Favorites ---------- */
.favs h3 {
  margin: 12px 0 6px;
  font-size: .85rem;
  font-weight: 600;
}

.fav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.fav-list li {
  display: flex;
  gap: 6px;
  animation: slideIn .25s ease-out;
}

.fav-use {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font: inherit;
  font-size: .8rem;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, transform .15s;
}

.fav-use:hover {
  border-color: var(--red);
}

.fav-use:active {
  transform: scale(.98);
}

.fav-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fav-del {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.fav-save {
  margin-bottom: 12px;
  padding: 6px 14px;
  border: 1px dashed var(--gold);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
}

.fav-save:disabled {
  border-style: solid;
  color: var(--muted);
  cursor: default;
}

.total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  padding: 8px 0;
}

.total[hidden] {
  display: none;
}

.total.off {
  padding-bottom: 0;
  font-size: .95rem;
  color: var(--green);
}

.checkout .trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.order-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--red);
  color: var(--red-dark);
  font-size: .85rem;
}

.order-error a {
  font-weight: 600;
  white-space: nowrap;
}

.cart-fab {
  display: none;
}

/* ---------- Confirmation ---------- */
dialog {
  border: 0;
  border-radius: 20px;
  padding: 24px;
  width: min(440px, calc(100vw - 32px));
}

dialog::backdrop {
  background: rgba(0, 0, 0, .45);
}

dialog h2 {
  margin: 0 0 4px;
  color: var(--red);
}

dialog pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: .85rem;
  background: var(--bg);
  padding: 12px;
  border-radius: 12px;
  max-height: 45vh;
  overflow: auto;
}

.dialog-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .cart {
    position: fixed;
    inset: auto 0 0 0;
    top: auto;
    z-index: 20;
    max-height: 85vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .2);
    transform: translateY(105%);
    transition: transform .25s;
  }

  .cart.open {
    transform: none;
  }

  #cart-close {
    display: block;
  }

  .cart-fab {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    background: var(--red);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  }

  .cart-fab strong {
    margin-left: auto;
  }

  .fab-count {
    background: #fff;
    color: var(--red);
    border-radius: 999px;
    padding: 0 8px;
    font-size: .85rem;
  }

  .plate-bar {
    bottom: 84px;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

@media (max-width: 400px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .wide .sprite,
  .wide .photo {
    --bw: 180px;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
}

.checkout input:focus,
.checkout select:focus,
.checkout textarea:focus,
.item select:focus,
.combo-selects select:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .hero-img {
    --bw: 220px;
    --bh: 120px;
    align-self: center;
  }

  .plate-bar {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Add-on cards: roomier columns, price under the name */
section>.grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.addon .item-row {
  flex-direction: column;
  gap: 0;
}

/* Phones: two columns everywhere, nothing wider than the screen */
.layout>* {
  min-width: 0;
}

@media (max-width: 480px) {

  .grid,
  section>.grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .grid.wide {
    grid-template-columns: 1fr;
  }

  .wide .thumb .sprite,
  .wide .thumb .photo {
    --bw: min(260px, calc(100vw - 100px));
  }

  .thumb .sprite,
  .thumb .photo {
    --bw: 120px;
    --bh: 80px;
  }

  .tall .thumb .sprite,
  .tall .thumb .photo {
    --bw: 110px;
    --bh: 110px;
  }

  .builder {
    padding: 14px;
  }

  .logo {
    --bw: 84px;
    --bh: 66px;
  }

  .item {
    padding: 8px;
  }
}

.btn {
  white-space: nowrap;
}

.opt {
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 500;
  padding: 1px 8px;
  border-radius: 999px;
}