/* The portrait market redesign is isolated to the existing market game route. */
body.market-adventure-route {
  background: #d7eff8;
}

body.market-adventure-route.market-layout2-standalone-route .main-shell {
  background-color: #315c52;
  background-image:
    linear-gradient(180deg, #193e3528 0%, #244b3510 46%, #573b2128 100%),
    var(--market-layout2-background-image, url("/assets/market-layout2-background.webp"));
  background-position: center, var(--market-layout2-background-position, 50% 43%);
  background-size: cover, cover;
  background-repeat: no-repeat;
}

body.market-adventure-route .main-shell {
  width: 100%;
  max-width: 1500px;
  padding: max(4px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

body.market-adventure-route .game-focus-top {
  min-height: 64px;
  height: auto;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0 9px;
}

body.market-adventure-route .game-focus-top .mobile-logo {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  color: #214853;
  text-decoration: none;
}

body.market-adventure-route .mobile-logo .header-logo-image {
  width: min(var(--header-logo-width, 144px), 27vw, 150px);
  max-height: 42px;
  object-fit: contain;
}

body.market-adventure-route .mobile-logo .header-brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 clamp(.85rem, 3vw, 1.1rem)/1 Fredoka, "Trebuchet MS", sans-serif;
  white-space: nowrap;
}

body.market-adventure-route .mobile-logo .home-brand-mark {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: #087e80;
  color: #ffdc74;
}

body.market-adventure-route .game-focus-top .top-actions {
  display: flex;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(4px, 1vw, 10px);
}

body.market-adventure-route .game-overview-exit {
  min-width: 44px;
  min-height: 44px;
  margin: 0 auto 0 0;
  padding: 6px 10px;
  border-radius: 15px;
  font-size: .88rem;
}

body.market-adventure-route .game-focus-top .language-picker select {
  width: 86px;
  min-height: 44px;
  padding: 6px 20px 6px 7px;
  border: 1px solid #c6dfe3;
  border-radius: 13px;
  background: #fff;
  color: #24464f;
  font-size: .82rem;
}

body.market-adventure-route .game-focus-top .sound-toggle {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-color: #c6dfe3;
  background: #fff;
}

body.market-adventure-route #main {
  width: 100%;
  max-width: 1050px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
}

body.market-adventure-route .market-playground {
  width: 100%;
  min-width: 0;
}

body.market-adventure-route .market-adventure {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.35vh, 15px);
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: clamp(8px, 1.4vw, 16px);
  border: 1px solid #add5df;
  border-radius: clamp(18px, 2.6vw, 30px);
  background: linear-gradient(180deg, #c8effb 0%, #e8f6f5 55%, #f1eee0 100%);
  box-shadow: 0 12px 36px #24596a20;
}

body.market-adventure-route .market-order-plaque {
  position: relative;
  z-index: 1;
  width: min(100%, 790px);
  margin: 0 auto;
  padding: clamp(12px, 2vw, 19px) clamp(12px, 2.4vw, 24px) 11px;
  border: 1px solid #e9d8b6;
  border-radius: 22px;
  background: linear-gradient(140deg, #fffaf0 0%, #f8efd9 100%);
  box-shadow: 0 5px 0 #9b73411c, 0 10px 26px #274a4b16;
}

body.market-adventure-route .market-order-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body.market-adventure-route .market-game-kicker {
  color: #a36536;
  font: 800 .62rem/1.2 "DM Sans", system-ui, sans-serif;
  letter-spacing: .13em;
}

body.market-adventure-route .market-order-heading h1 {
  margin-top: 2px;
  color: #284c4a;
  font-size: clamp(1.27rem, 4.4vw, 2rem);
  line-height: 1.05;
}

body.market-adventure-route .market-active-department {
  margin-top: 3px;
  color: #738074;
  font-size: clamp(.68rem, 2vw, .83rem);
  font-weight: 700;
}

body.market-adventure-route .market-round-progress {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 5px;
}

body.market-adventure-route .market-round-progress > strong {
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  color: #236e69;
  font: 700 .83rem/1.2 "DM Sans", system-ui, sans-serif;
  box-shadow: 0 1px 4px #3e594015;
}

body.market-adventure-route .market-progress-dots {
  display: flex;
  max-width: 128px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

body.market-adventure-route .market-progress-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7d4c5;
}

body.market-adventure-route .market-progress-dots span.is-done {
  background: #68a58a;
}

body.market-adventure-route .market-progress-dots span.is-current {
  outline: 2px solid #258478;
  outline-offset: 1px;
  background: #f2bf54;
}

body.market-adventure-route .market-basket-count {
  color: #68766e;
  font-size: .7rem;
  font-weight: 700;
}

body.market-adventure-route .market-question {
  margin: clamp(9px, 1.5vh, 16px) 0 8px;
  color: #254a4b;
  font-size: clamp(1.16rem, 4vw, 1.75rem);
  text-align: center;
}

body.market-adventure-route .market-request-list {
  display: grid;
  width: 100%;
  max-width: 680px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 7px;
  margin: 0 auto;
}

body.market-adventure-route .market-request-card {
  display: grid;
  min-width: 0;
  min-height: 65px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid #e6d9be;
  border-radius: 15px;
  background: #ffffffc9;
}

body.market-adventure-route .market-request-card.checked {
  border-color: #8fc09e;
  background: #e9f6e9;
}

body.market-adventure-route .market-request-product {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

body.market-adventure-route .market-request-list-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid #e2d4b6;
  border-radius: 12px;
  background: #fffaf0;
  font-size: 1.45rem;
}

body.market-adventure-route .market-request-product > .market-basket-art,
body.market-adventure-route .market-request-product > .market-product-art,
body.market-adventure-route .market-request-product > .market-product-fallback {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

body.market-adventure-route .market-request-product > strong {
  min-width: 0;
  color: #37514a;
  font-size: clamp(.78rem, 2.5vw, .95rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

body.market-adventure-route .market-request-speech {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
}

body.market-adventure-route .market-request-speech .market-request-fallback,
body.market-adventure-route .market-request-speech .market-request-listen {
  font-size: .75rem;
  text-align: center;
}

body.market-adventure-route .market-request-muted {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e2d4b6;
  border-radius: 12px;
  background: #fffaf0;
  color: #8b7865;
  font-size: 1rem;
}

body.market-adventure-route .market-request-progress {
  color: #758078;
  font-size: .69rem;
}

body.market-adventure-route .market-request-replay {
  min-width: 42px;
  min-height: 42px;
  gap: 2px;
  padding: 4px;
  max-width: 122px;
  border-color: #e2d4b6;
  border-radius: 12px;
  font-size: .68rem;
  line-height: 1.1;
}

body.market-adventure-route .market-request-list .market-request-replay > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.market-adventure-route .market-request-replay > span:first-child {
  font-size: .95rem;
}

body.market-adventure-route .market-feedback {
  min-height: 18px;
  margin-top: 7px;
  color: #5a7767;
  font-size: .78rem;
  font-weight: 650;
  text-align: center;
}

body.market-adventure-route .market-feedback:not(:empty) {
  animation: market-feedback-in .22s ease-out both;
}

body.market-adventure-route .market-village {
  position: relative;
  display: grid;
  min-height: clamp(300px, 45svh, 560px);
  align-items: end;
  padding: clamp(10px, 2vw, 18px);
  overflow: hidden;
  border: 1px solid #ffffffa6;
  border-radius: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(180deg, #56c2e310 0%, #f6d5a018 48%, #a7653b36 100%),
    var(--food-market-scene, image-set(url("/assets/market-960.webp") 1x, url("/assets/market-1536.webp") 2x)) center 42% / cover no-repeat,
    #80cfe5;
  box-shadow: inset 0 0 0 1px #fff6, 0 7px 20px #1f4c5520;
}

body.market-adventure-route .market-village::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 23%, #172e2b10 52%, #30261d61 100%);
  content: "";
  pointer-events: none;
}

body.market-adventure-route .food-shelf {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 960px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(7px, 1.7vw, 16px);
  margin: 0 auto;
}

body.market-adventure-route .food-shelf > .market-choice-card {
  display: flex;
  min-width: 0;
  min-height: clamp(130px, 17vw, 198px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 9px);
  padding: clamp(5px, 1.2vw, 12px);
  border: 2px solid #ffffffd9;
  border-radius: clamp(16px, 2.5vw, 26px);
  box-shadow: 0 7px 0 #34413a25, 0 11px 24px #183c3e35;
  transition: transform .22s ease, box-shadow .22s ease;
}

body.market-adventure-route .food-shelf > .market-choice-card:nth-child(3n + 1) {
  background: linear-gradient(145deg, #e5f3dd, #c8e2c4);
}

body.market-adventure-route .food-shelf > .market-choice-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, #fff1bd, #f5d778);
}

body.market-adventure-route .food-shelf > .market-choice-card:nth-child(3n) {
  background: linear-gradient(145deg, #fbe1dc, #f2c3bd);
}

body.market-adventure-route .food-shelf > .market-choice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #34413a25, 0 14px 28px #183c3e39;
}

body.market-adventure-route .food-shelf > .market-choice-card:disabled {
  opacity: .82;
}

body.market-adventure-route .food-shelf .market-choice-art {
  display: grid;
  width: clamp(68px, 10vw, 124px);
  height: clamp(68px, 10vw, 124px);
  flex: 0 0 auto;
  place-items: center;
}

body.market-adventure-route .food-shelf .market-choice-art img,
body.market-adventure-route .food-shelf .market-choice-art .market-product-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.market-adventure-route .market-product-fallback {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  color: #425d48;
  text-align: center;
}

body.market-adventure-route .market-product-fallback-icon {
  font-size: clamp(2.8rem, 8.4vw, 4.5rem);
  line-height: 1;
}

body.market-adventure-route .market-product-fallback-word {
  padding: 2px;
  font-size: clamp(.76rem, 2.7vw, 1rem);
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

body.market-adventure-route .market-choice-art .market-product-fallback {
  width: 100%;
  height: 100%;
}

body.market-adventure-route .food-shelf > .market-choice-card > b {
  max-width: 100%;
  color: #3d5144;
  font-size: clamp(.72rem, 2.4vw, 1rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-align: center;
}

body.market-adventure-route .market-basket {
  isolation: isolate;
  position: relative;
  display: flex;
  width: min(100%, 960px);
  min-height: 218px;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 18px clamp(12px, 3vw, 30px) 14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.market-adventure-route .market-basket::before {
  position: absolute;
  z-index: 0;
  inset: 16px 0 0;
  clip-path: polygon(0 0, 100% 0, 99% 44%, 98% 64%, 95% 81%, 91% 92%, 84% 99%, 78% 100%, 22% 100%, 16% 99%, 9% 92%, 5% 81%, 2% 64%, 1% 44%);
  border: 3px solid #83502d;
  border-top: 0;
  background:
    linear-gradient(90deg, #6f3f212c, transparent 19%, transparent 81%, #6f3f212c),
    repeating-linear-gradient(45deg, #f4ce8a58 0 4px, transparent 4px 13px),
    repeating-linear-gradient(-45deg, #70422248 0 3px, transparent 3px 13px),
    repeating-linear-gradient(0deg, #d39a58 0 9px, #b8753f 9px 12px, #e4b46f 12px 20px);
  box-shadow: inset 0 -18px 26px #64391952, inset 0 6px 12px #fff0;
  content: "";
  pointer-events: none;
}

body.market-adventure-route .market-basket::after {
  position: absolute;
  z-index: 2;
  top: 0;
  right: -1%;
  left: -1%;
  height: 36px;
  border: 4px solid #84502b;
  border-top-color: #f4d39d;
  border-bottom-color: #70401f;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, #e4b675 0 9px, #ad6c38 9px 13px, #f3ce91 13px 21px);
  box-shadow: inset 0 4px 5px #fff8, 0 6px 9px #653b215e;
  content: "";
  pointer-events: none;
}

body.market-adventure-route .market-basket-heading {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 12px;
  padding: 3px 12px;
  border: 1px solid #ad7744;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff9ec, #f4dfb8);
  color: #60452c;
  box-shadow: 0 2px 6px #633d2440;
}

body.market-adventure-route .market-basket-heading .market-basket-heading-icon {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

body.market-adventure-route .market-basket-heading strong {
  font-size: clamp(.8rem, 2.2vw, 1rem);
}

body.market-adventure-route .market-basket-content {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1 1 auto;
  width: 100%;
  min-height: 142px;
  place-items: center;
  padding-top: 4px;
}

body.market-adventure-route .market-basket-items {
  display: grid;
  width: min(100%, 850px);
  grid-template-columns: repeat(var(--market-basket-columns, 4), minmax(0, 1fr));
  align-items: center;
  gap: 4px clamp(2px, 1vw, 10px);
  margin: 0 auto;
  padding: 1px 2px 8px;
  overflow: visible;
  list-style: none;
}

body.market-adventure-route .market-basket-item {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 148px;
  min-width: 0;
  min-height: 76px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  justify-self: center;
  padding: 1px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.market-adventure-route .market-basket-item:nth-child(odd) {
  transform: rotate(-1.5deg);
}

body.market-adventure-route .market-basket-item:nth-child(even) {
  transform: translateY(2px) rotate(1.5deg);
}

body.market-adventure-route .market-basket-product-art {
  display: grid;
  width: clamp(46px, 8vw, 78px);
  height: clamp(46px, 8vw, 78px);
  flex: 0 0 auto;
  place-items: center;
}

body.market-adventure-route .market-basket-product-art .market-basket-art,
body.market-adventure-route .market-basket-product-art .market-product-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  object-fit: contain;
}

body.market-adventure-route .market-basket-product-art .market-product-fallback-icon {
  font-size: clamp(2.8rem, 7.4vw, 4.4rem);
}

body.market-adventure-route .market-basket-product-art .market-product-fallback-word {
  font-size: clamp(.78rem, 1.7vw, 1rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

body.market-adventure-route .market-basket-label {
  max-width: 100%;
  color: #fff8e8;
  font-size: clamp(.68rem, 1.1vw, .82rem);
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-align: center;
  text-shadow: 0 1px 2px #563a22, 0 0 4px #563a22b8;
}

body.market-adventure-route .market-basket-quantity {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1px 5px;
  border-radius: 999px;
  background: #fff8e9;
  color: #5d422a;
  font-size: .68rem;
  box-shadow: 0 1px 4px #563a2240;
}

body.market-adventure-route .market-basket-empty {
  position: relative;
  z-index: 1;
  margin: auto;
  padding: 4px 12px;
  border: 1px solid #fff2d0;
  border-radius: 999px;
  background: #714a2ddd;
  color: #fff8e8;
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 1px 2px #563a22;
}

body.market-adventure-route .market-basket-complete {
  width: min(100%, 900px);
  min-height: clamp(250px, 27svh, 340px);
  margin: 0 auto;
}

body.market-adventure-route .market-basket-complete .market-basket-content {
  min-height: 178px;
}

body.market-adventure-route .market-basket-complete .market-basket-items {
  max-height: none;
  overflow: visible;
}

body.market-adventure-route .market-celebration {
  display: grid;
  width: min(100%, 980px);
  justify-items: center;
  gap: clamp(6px, 1vh, 12px);
  margin: 0 auto;
  padding: clamp(10px, 1.8vw, 20px) clamp(8px, 2vw, 22px);
  border: 1px solid #d8e6da;
  border-radius: 24px;
  background: linear-gradient(160deg, #fffaf0, #f3f8e9 65%, #e8f5ef);
  box-shadow: 0 8px 24px #1f4c551b;
  text-align: center;
}

body.market-adventure-route .market-completion-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

body.market-adventure-route .market-completion-reward {
  display: grid;
  width: clamp(38px, 5vw, 54px);
  height: clamp(38px, 5vw, 54px);
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #f0d68e;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff8ce, #f4d87f 72%);
  box-shadow: 0 3px 0 #c4924c35;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

body.market-adventure-route .market-completion-heading > div {
  text-align: left;
}

body.market-adventure-route .market-completion-heading .eyebrow {
  color: #a36536;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
}

body.market-adventure-route .market-completion-heading h1 {
  color: #284c4a;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  line-height: 1.05;
}

body.market-adventure-route .market-completion-heading .game-result-score {
  margin: 2px 0 0;
  color: #27766c;
  font-size: clamp(.9rem, 2vw, 1.15rem);
}

body.market-adventure-route .market-completion-actions {
  display: grid;
  width: min(100%, 540px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.market-adventure-route .market-completion-actions .btn {
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  font-size: clamp(.8rem, 1.6vw, 1rem);
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

body.market-adventure-route .market-completion-path {
  width: min(100%, 540px);
}

body.market-adventure-route .market-department-strip {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: stretch;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid #e4e5d9;
  border-radius: 18px;
  background: #fffdf8ed;
  box-shadow: 0 4px 14px #233d3d13;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

body.market-adventure-route .market-department-chip {
  display: grid;
  flex: 0 0 clamp(76px, 13vw, 116px);
  min-width: 0;
  min-height: 64px;
  justify-items: center;
  align-content: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid #e5e2d5;
  border-radius: 13px;
  background: color-mix(in srgb, var(--market-category-color, #eee3c6) 32%, #fff);
}

body.market-adventure-route .market-department-chip.is-active {
  border: 2px solid #1f837c;
  box-shadow: 0 0 0 2px #1f837c22;
}

body.market-adventure-route .market-department-chip.is-coming-soon {
  opacity: .67;
}

body.market-adventure-route .market-department-chip > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  font-size: 1.2rem;
}

body.market-adventure-route .market-department-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.market-adventure-route .market-department-chip > strong {
  max-width: 100%;
  color: #48625b;
  font-size: clamp(.63rem, 1.7vw, .78rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-align: center;
}

body.market-adventure-route .market-flying-product {
  position: fixed;
  z-index: 10000;
  display: grid;
  place-items: center;
  pointer-events: none;
  filter: drop-shadow(0 7px 9px #24393445);
  will-change: transform, opacity;
}

body.market-adventure-route .market-flying-product > * {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.market-adventure-route .market-flying-product .market-product-fallback {
  display: grid;
  place-items: center;
  color: #425d48;
}

body.market-adventure-route .market-flying-product .market-product-fallback {
  width: 100%;
  height: 100%;
}

@keyframes market-feedback-in {
  from { opacity: .55; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 701px) {
  body.market-adventure-route .market-adventure {
    gap: 13px;
    padding: 18px;
  }

  body.market-adventure-route .market-village {
    min-height: clamp(380px, 48svh, 640px);
  }

  body.market-adventure-route .food-shelf > .market-choice-card {
    min-height: clamp(170px, 20vw, 220px);
  }
}

@media (max-width: 460px) {
  body.market-adventure-route .main-shell {
    padding-right: max(8px, env(safe-area-inset-right));
    padding-left: max(8px, env(safe-area-inset-left));
  }

  body.market-adventure-route .game-focus-top {
    min-height: 58px;
    padding: 4px 0 7px;
  }

  body.market-adventure-route .mobile-logo .header-logo-image {
    width: min(var(--header-logo-width, 144px), 22vw, 84px);
    max-height: 35px;
  }

  body.market-adventure-route .game-overview-exit {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 6px;
    gap: 0;
  }

  body.market-adventure-route .game-overview-exit > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  body.market-adventure-route .game-focus-top .language-picker select {
    width: 76px;
    min-height: 42px;
    font-size: .75rem;
  }

  body.market-adventure-route .game-focus-top .sound-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    min-height: 42px;
  }

  body.market-adventure-route .market-order-plaque {
    border-radius: 18px;
  }

  body.market-adventure-route .market-request-list {
    grid-template-columns: minmax(0, 1fr);
  }

  body.market-adventure-route .market-request-card {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  body.market-adventure-route .market-request-list .market-request-replay {
    width: auto;
    min-width: 42px;
    min-height: 42px;
    grid-column: auto;
  }

  body.market-adventure-route .market-village {
    min-height: clamp(260px, 40svh, 400px);
    padding: 8px;
    background-position: 22% 42%;
  }

  body.market-adventure-route .food-shelf {
    gap: 7px;
  }

  body.market-adventure-route .food-shelf > .market-choice-card {
    min-height: 130px;
    padding: 6px 4px;
    border-width: 1.5px;
  }

  body.market-adventure-route .food-shelf .market-choice-art {
    width: clamp(70px, 20vw, 84px);
    height: clamp(70px, 20vw, 84px);
  }

  body.market-adventure-route .market-basket {
    min-height: 218px;
    padding: 18px 8px 14px;
  }

  body.market-adventure-route .market-basket.market-basket-complete {
    min-height: 250px;
  }

  body.market-adventure-route .market-basket-product-art {
    width: 48px;
    height: 48px;
  }

  body.market-adventure-route .market-department-strip {
    gap: 6px;
    padding: 6px;
  }
}

@media (max-width: 359px) {
  body.market-adventure-route .market-order-plaque {
    padding: 7px 8px 6px;
  }

  body.market-adventure-route .market-game-kicker {
    font-size: .56rem;
  }

  body.market-adventure-route .market-order-heading h1 {
    font-size: 1.12rem;
  }

  body.market-adventure-route .market-active-department {
    margin-top: 1px;
    font-size: .66rem;
  }

  body.market-adventure-route .market-question {
    margin: 5px 0 4px;
    font-size: 1.05rem;
  }

  body.market-adventure-route .market-request-card {
    min-height: 54px;
    padding: 4px 6px;
  }

  body.market-adventure-route .market-feedback {
    min-height: 12px;
    margin-top: 3px;
    font-size: .68rem;
  }

  body.market-adventure-route .market-progress-dots {
    max-width: 92px;
    gap: 3px;
  }

  body.market-adventure-route .market-progress-dots span {
    width: 6px;
    height: 6px;
  }

  body.market-adventure-route .market-request-product > .market-basket-art,
  body.market-adventure-route .market-request-product > .market-product-art,
  body.market-adventure-route .market-request-product > .market-product-fallback {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  body.market-adventure-route .market-request-replay {
    min-width: 38px;
  }

  body.market-adventure-route .market-village {
    min-height: 220px;
  }

  body.market-adventure-route .food-shelf > .market-choice-card {
    min-height: 122px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.market-adventure-route *,
  body.market-adventure-route *::before,
  body.market-adventure-route *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  body.market-adventure-route .food-shelf > .market-choice-card:hover {
    transform: none;
  }
}

/* The active Market round stays inside the phone's visible viewport. */
body.market-adventure-route {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.market-adventure-route .main-shell {
  display: flex;
  width: 100%;
  max-width: 1500px;
  height: 100vh;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  box-sizing: border-box;
  padding: max(2px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(3px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
}

body.market-adventure-route .game-focus-top {
  min-height: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 2px 0;
}

body.market-adventure-route #main {
  display: flex;
  width: 100%;
  max-width: 1050px;
  flex: 1 1 0;
  min-height: 0;
  flex-direction: column;
  align-self: stretch;
  overflow: hidden;
}

body.market-adventure-route .market-playground {
  display: flex;
  width: 100%;
  max-width: none;
  flex: 1 1 0;
  flex-direction: column;
  min-height: 0;
  align-items: stretch;
  align-self: stretch;
  overflow: hidden;
}

body.market-adventure-route .market-adventure {
  display: grid;
  width: 100%;
  max-width: none;
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  grid-auto-rows: auto;
  gap: clamp(3px, .65svh, 7px);
  align-content: center;
  overflow: hidden;
  padding: clamp(4px, .8vw, 9px);
  border-radius: clamp(14px, 2vw, 24px);
}

body.market-adventure-route .market-order-plaque {
  width: min(100%, 700px);
  padding: 6px clamp(8px, 1.6vw, 14px);
  border-radius: 15px;
  box-shadow: 0 3px 0 #9b73411c, 0 5px 14px #274a4b12;
}

body.market-adventure-route .market-order-heading {
  min-height: 24px;
}

body.market-adventure-route .market-question {
  min-width: 0;
  margin: 0;
  color: #284c4a;
  font-size: clamp(1rem, 3.3vw, 1.28rem);
  line-height: 1.12;
  text-align: left;
}

body.market-adventure-route .market-round-progress {
  display: block;
  flex: 0 0 auto;
}

body.market-adventure-route .market-round-progress > strong {
  display: block;
  padding: 3px 7px;
  background: #fff;
  color: #236e69;
  font-size: .72rem;
  line-height: 1.1;
}

body.market-adventure-route .market-request-list {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

body.market-adventure-route .market-request-card {
  min-height: 48px;
  grid-template-columns: 32px minmax(0, 1fr) 44px;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 12px;
}

body.market-adventure-route .market-request-product {
  justify-content: center;
}

body.market-adventure-route .market-request-list-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border-radius: 9px;
  font-size: 1.05rem;
}

body.market-adventure-route .market-request-speech {
  display: flex;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

body.market-adventure-route .market-request-speech .market-request-fallback {
  min-width: 0;
  color: #37514a;
  font-size: clamp(.88rem, 3vw, 1.02rem);
  font-weight: 800;
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-align: left;
}

body.market-adventure-route .market-request-speech .market-request-listen {
  color: #37514a;
  font-size: .82rem;
  font-weight: 750;
}

body.market-adventure-route .market-request-progress {
  color: #758078;
  font-size: .68rem;
}

body.market-adventure-route .market-request-muted {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: .88rem;
}

body.market-adventure-route .market-request-replay {
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  min-height: 42px;
  border-radius: 11px;
}

body.market-adventure-route .market-feedback {
  min-height: 0;
  max-height: 30px;
  margin: 2px 0 0;
  overflow: hidden;
  font-size: .7rem;
  line-height: 1.2;
}

body.market-adventure-route .market-village {
  height: clamp(142px, 32svh, 330px);
  min-height: 142px;
  max-height: 330px;
  padding: clamp(4px, .8vw, 9px);
  border-radius: 18px;
}

body.market-adventure-route .food-shelf {
  width: 100%;
  gap: clamp(4px, .9vw, 8px);
}

body.market-adventure-route .food-shelf > .market-choice-card {
  min-height: clamp(84px, 12svh, 116px);
  gap: 3px;
  padding: 4px 3px;
  border-radius: 15px;
  box-shadow: 0 4px 0 #34413a25, 0 6px 12px #183c3e2b;
}

body.market-adventure-route .food-shelf .market-choice-art {
  width: clamp(38px, 8vw, 68px);
  height: clamp(38px, 8vw, 68px);
}

body.market-adventure-route .food-shelf .market-product-fallback-icon {
  font-size: clamp(1.8rem, 8vw, 3rem);
}

body.market-adventure-route .food-shelf > .market-choice-card > b {
  font-size: clamp(.67rem, 2vw, .85rem);
  line-height: 1.05;
}

body.market-adventure-route .market-basket {
  width: min(100%, 900px);
  height: clamp(88px, 13svh, 108px);
  min-height: 88px;
  flex: 0 0 auto;
  padding: 0 6px 3px;
  overflow: hidden;
}

body.market-adventure-route .market-basket::before {
  inset: 13px 0 0;
}

body.market-adventure-route .market-basket::after {
  top: -1px;
  height: 24px;
  border-width: 3px;
  box-shadow: inset 0 3px 4px #fff8, 0 3px 6px #653b215e;
}

body.market-adventure-route .market-basket-heading {
  position: absolute;
  top: 2px;
  left: 50%;
  min-height: 22px;
  margin: 0;
  padding: 1px 8px;
  gap: 4px;
  transform: translateX(-50%);
  white-space: nowrap;
}

body.market-adventure-route .market-basket-heading .market-basket-heading-icon {
  font-size: 1rem;
  line-height: 1;
}

body.market-adventure-route .market-basket-heading strong {
  font-size: .7rem;
  line-height: 1;
}

body.market-adventure-route .market-basket-content {
  min-height: 0;
  padding: 19px 2px 0;
}

body.market-adventure-route .market-basket-items {
  width: min(100%, 850px);
  align-content: center;
  gap: 0 3px;
  padding: 0 2px;
}

body.market-adventure-route .market-basket-item {
  max-width: none;
  min-height: 29px;
  gap: 0;
  padding: 0 1px;
}

body.market-adventure-route .market-basket-item:nth-child(odd),
body.market-adventure-route .market-basket-item:nth-child(even) {
  transform: none;
}

body.market-adventure-route .market-basket-product-art {
  width: 22px;
  height: 22px;
}

body.market-adventure-route .market-basket-product-art .market-product-fallback-icon {
  font-size: 1.2rem;
}

body.market-adventure-route .market-basket-product-art .market-product-fallback-word {
  font-size: .52rem;
}

body.market-adventure-route .market-basket-label {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  color: #fff8e8;
  font-size: clamp(.52rem, 1.55vw, .68rem);
  line-height: 1.05;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.market-adventure-route .market-basket-quantity {
  top: -1px;
  right: 0;
  padding: 0 3px;
  font-size: .52rem;
}

body.market-adventure-route .market-basket-complete {
  width: min(100%, 900px);
  height: auto;
  min-height: clamp(220px, 27svh, 330px);
  padding: 10px clamp(8px, 2vw, 20px);
  overflow: visible;
}

body.market-adventure-route .market-basket-complete .market-basket-heading {
  position: relative;
  top: auto;
  left: auto;
  min-height: 30px;
  margin: 10px 0 0;
  transform: none;
}

body.market-adventure-route .market-basket-complete .market-basket-content {
  min-height: 150px;
  padding: 22px 2px 4px;
}

body.market-adventure-route .market-basket-complete .market-basket-item {
  min-height: 54px;
}

body.market-adventure-route .market-basket-complete .market-basket-product-art {
  width: clamp(28px, 7vw, 56px);
  height: clamp(28px, 7vw, 56px);
}

body.market-adventure-route .market-department-strip {
  width: 100%;
  min-height: 48px;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.market-adventure-route .market-department-chip {
  display: grid;
  flex: 0 0 auto;
  min-width: 88px;
  max-width: 150px;
  min-height: 46px;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: stretch;
  gap: 0 5px;
  padding: 3px 7px;
  border-radius: 13px;
}

body.market-adventure-route .market-department-chip > span {
  width: 24px;
  height: 24px;
  grid-row: 1;
  font-size: 1rem;
}

body.market-adventure-route .market-department-chip > strong {
  grid-row: 1;
  font-size: clamp(.66rem, 1.7vw, .76rem);
  line-height: 1.08;
  text-align: left;
}

body.market-adventure-route .market-department-chip > small {
  grid-column: 1 / -1;
  color: #64736c;
  font-size: .56rem;
  line-height: 1;
  text-align: center;
}

body.market-adventure-route .market-department-chip:disabled {
  cursor: not-allowed;
  opacity: .58;
}

body.market-adventure-route .market-department-chip.is-active:disabled {
  opacity: 1;
}

body.market-adventure-route .market-celebration {
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-height: 620px) {
  body.market-adventure-route .game-focus-top {
    min-height: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  body.market-adventure-route .market-adventure {
    gap: 3px;
    padding: 3px;
  }

  body.market-adventure-route .market-order-plaque {
    padding: 4px 7px;
  }

  body.market-adventure-route .market-village {
    height: clamp(128px, 26svh, 160px);
    min-height: 128px;
  }

  body.market-adventure-route .food-shelf > .market-choice-card {
    min-height: 78px;
  }

  body.market-adventure-route .market-basket {
    height: 86px;
    min-height: 86px;
  }

  body.market-adventure-route .market-department-chip {
    min-height: 44px;
  }
}

@media (max-width: 359px) {
  body.market-adventure-route .main-shell {
    padding-right: max(5px, env(safe-area-inset-right));
    padding-left: max(5px, env(safe-area-inset-left));
  }

  body.market-adventure-route .market-adventure {
    gap: 3px;
  }

  body.market-adventure-route .market-order-plaque {
    padding: 4px 6px;
  }

  body.market-adventure-route .market-question {
    font-size: .96rem;
  }

  body.market-adventure-route .market-village {
    padding: 4px;
  }

  body.market-adventure-route .food-shelf {
    gap: 3px;
  }

  body.market-adventure-route .food-shelf > .market-choice-card {
    min-height: 76px;
    gap: 2px;
    padding: 3px 2px;
  }

  body.market-adventure-route .food-shelf .market-choice-art {
    width: 36px;
    height: 36px;
  }

  body.market-adventure-route .food-shelf > .market-choice-card > b {
    font-size: .62rem;
  }

  body.market-adventure-route .market-basket {
    height: 84px;
    min-height: 84px;
  }

  body.market-adventure-route .market-department-chip {
    min-width: 82px;
    padding-right: 5px;
    padding-left: 5px;
  }
}

/* Market-only viewport fill: keep the complete play loop inside the safe area. */
body.market-adventure-route .main-shell {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
}

body.market-adventure-route #main,
body.market-adventure-route .market-playground,
body.market-adventure-route .game-body {
  min-height: 0;
  flex: 1 1 0;
}

body.market-adventure-route .game-body {
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

body.market-adventure-route .market-adventure {
  min-height: 0;
  max-height: none;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  align-content: stretch;
}

body.market-adventure-route .market-adventure:has(.food-path-market-back) {
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
}

body.market-adventure-route .market-village {
  height: auto;
  min-height: 0;
  max-height: none;
}

body.market-adventure-route .food-shelf > .market-choice-card {
  min-height: clamp(100px, 18svh, 156px);
}

body.market-adventure-route .food-shelf .market-choice-art {
  width: clamp(56px, 12vw, 96px);
  height: clamp(56px, 12vw, 96px);
}

body.market-adventure-route .market-basket-product-art {
  width: 36px;
  height: 36px;
}

body.market-adventure-route .market-basket-product-art .market-product-fallback-icon {
  font-size: 1.8rem;
}

body.market-adventure-route .market-basket-item {
  min-height: 44px;
}

body.market-adventure-route .market-department-chip {
  flex: 0 0 clamp(96px, 30vw, 118px);
  min-width: 0;
}

@media (max-width: 359px) {
  body.market-adventure-route .food-shelf > .market-choice-card {
    min-height: 96px;
  }

  body.market-adventure-route .food-shelf .market-choice-art {
    width: 54px;
    height: 54px;
  }
}

/* Standalone Market only: a deeper open basket with a separate front weave.
   Products stay in the opening; the front lip layers over their lower edge. */
body.market-adventure-route .market-adventure:not(.food-path-market) .market-village {
  background-position: 20% 42%;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket {
  width: min(100%, 700px);
  height: clamp(132px, 18svh, 172px);
  min-height: 132px;
  overflow: hidden;
  border-radius: 50% 50% 42% 42% / 16% 16% 20% 20%;
  filter: drop-shadow(0 8px 8px #59371c38);
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket::before {
  inset: 14px 0 0;
  clip-path: polygon(0 0, 100% 0, 98% 46%, 95% 72%, 90% 91%, 82% 99%, 72% 100%, 28% 100%, 18% 99%, 10% 91%, 5% 72%, 2% 46%);
  border: 3px solid #70401f;
  background:
    linear-gradient(90deg, #5d321f66, transparent 18%, transparent 82%, #5d321f66),
    repeating-linear-gradient(45deg, #f5d49a 0 3px, #9c6238 3px 6px, #dca96b 6px 11px),
    repeating-linear-gradient(-45deg, #774522 0 3px, #e9c083 3px 7px, #b77640 7px 11px),
    repeating-linear-gradient(0deg, #d49a58 0 8px, #ad7040 8px 11px, #edc37e 11px 18px);
  box-shadow: inset 0 -18px 22px #482a1990, inset 0 5px 9px #fff4;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket::after {
  top: 0;
  height: 30px;
  border: 4px solid #84502b;
  border-top-color: #f4d39d;
  border-bottom-color: #70401f;
  background:
    radial-gradient(ellipse at center, #4a2d20 0 52%, #8a542e 54% 62%, #dca96b 64% 71%, #f1cc8e 74% 100%);
  box-shadow: inset 0 5px 8px #301a1290, 0 4px 7px #653b215e;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-heading {
  z-index: 5;
  top: 1px;
  min-height: 23px;
  border-color: #a87543;
  background: linear-gradient(180deg, #fff9ec, #f4dfb8);
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-content {
  z-index: 1;
  min-height: 0;
  padding: 20px 5px 14px;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-items {
  align-content: center;
  gap: 0 2px;
  padding: 0 2px;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-item {
  min-height: 46px;
  gap: 0;
  padding: 0 1px;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-item:nth-child(4n + 1) {
  transform: rotate(-2deg);
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-item:nth-child(4n + 2) {
  transform: translateY(2px) rotate(1.5deg);
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-item:nth-child(4n + 3) {
  transform: translateY(-1px) rotate(-1deg);
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-item:nth-child(4n) {
  transform: translateY(2px) rotate(2deg);
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-product-art {
  width: clamp(36px, 10vw, 48px);
  height: clamp(36px, 10vw, 48px);
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-label {
  color: #fff8e8;
  font-size: clamp(.55rem, 1.7vw, .72rem);
  line-height: 1.05;
  text-shadow: 0 1px 3px #3c2618, 0 0 5px #3c2618;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-front {
  position: absolute;
  z-index: 3;
  right: 1%;
  bottom: 0;
  left: 1%;
  height: 19px;
  border: 2px solid #70401f;
  border-bottom: 0;
  border-radius: 0 0 48% 48% / 0 0 45% 45%;
  background:
    linear-gradient(180deg, #9c6137 0%, #d39a58 34%, #b67540 100%),
    repeating-linear-gradient(45deg, #f5d49a 0 3px, #9c6238 3px 6px, #dca96b 6px 11px);
  background-blend-mode: multiply;
  box-shadow: inset 0 3px 5px #f7d9a044, 0 -3px 5px #4d2f1a55;
  pointer-events: none;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-empty {
  z-index: 1;
  margin: auto;
  color: #fff8e8;
  font-size: clamp(.65rem, 2vw, .82rem);
  text-shadow: 0 1px 3px #3c2618;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-complete {
  height: auto;
  min-height: clamp(220px, 27svh, 330px);
  overflow: visible;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-complete .market-basket-front {
  right: 2%;
  left: 2%;
  height: 24px;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-complete .market-basket-content {
  min-height: 150px;
  padding: 22px 5px 18px;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-complete .market-basket-item {
  min-height: 66px;
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-complete .market-basket-product-art {
  width: clamp(38px, 7vw, 56px);
  height: clamp(38px, 7vw, 56px);
}

body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-complete .market-basket-label {
  font-size: clamp(.62rem, 1vw, .78rem);
}

body.market-adventure-route .market-adventure:not(.food-path-market) .food-shelf > .market-choice-card {
  min-height: clamp(96px, 18svh, 156px);
}

body.market-adventure-route .market-adventure:not(.food-path-market) .food-shelf .market-choice-art {
  width: clamp(54px, 16vw, 96px);
  height: clamp(54px, 16vw, 96px);
}

@media (max-width: 359px) {
  body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket {
    height: 132px;
    min-height: 132px;
  }

  body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-content {
    padding-right: 2px;
    padding-left: 2px;
  }

  body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-items {
    gap: 0;
  }

  body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-item {
    min-height: 46px;
  }

  body.market-adventure-route .market-adventure:not(.food-path-market) .market-basket-product-art {
    width: 36px;
    height: 36px;
  }

  body.market-adventure-route .market-adventure:not(.food-path-market) .market-department-chip {
    flex-basis: clamp(88px, 29vw, 104px);
  }
}

/* Layout 2 artwork is intentionally isolated to the standalone Market route.
   The learning-path Market keeps its original scene and woven CSS basket. */
body.market-adventure-route .market-adventure.market-layout2 {
  grid-template-rows: auto clamp(100px, 38vw, 280px) auto auto auto;
  align-content: center;
  justify-items: stretch;
  gap: clamp(3px, .55svh, 7px);
  padding: clamp(3px, .7vw, 8px);
  background-color: #e8e8cf;
  background-image: linear-gradient(180deg, #d6eee9 0%, #f5e7c6 100%);
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-plaque {
  width: min(100%, 700px);
  padding: 5px clamp(8px, 1.6vw, 14px);
  border-color: #e4cfa7;
  border-radius: 14px;
  background: #fff8e9;
  box-shadow: 0 2px 0 #9b73411c, 0 4px 12px #274a4b12;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-heading h1 {
  font-size: clamp(1rem, 3.5vw, 1.45rem);
}

body.market-adventure-route .market-adventure.market-layout2 .market-village {
  position: relative;
  display: block;
  width: min(100%, 941px);
  min-height: 0;
  height: 100%;
  max-height: none;
  overflow: hidden;
  padding: 0;
  justify-self: center;
  border: 1px solid #fff9e8;
  border-radius: 15px;
  background-color: #b7d9d2;
  background-image:
    var(--market-global-background, none),
    var(--food-market-scene, none),
    url("/assets/market-layout2-scene.webp");
  background-position: center;
  background-size: contain, contain, contain;
  background-repeat: no-repeat;
  box-shadow: 0 3px 10px #4b55431c;
}

body.market-adventure-route .market-adventure.market-layout2 .market-village::before {
  content: none;
}

body.market-adventure-route .market-adventure.market-layout2 .food-shelf {
  width: min(100%, 560px);
  gap: clamp(4px, 1vw, 9px);
}

body.market-adventure-route .market-adventure.market-layout2 .market-answer-row {
  display: grid;
  min-width: 0;
  min-height: clamp(72px, 9svh, 92px);
  align-items: center;
}

body.market-adventure-route .market-adventure.market-layout2 .food-shelf > .market-choice-card {
  min-height: clamp(64px, 9svh, 80px);
  gap: 2px;
  padding: 3px 4px;
  border: 2px solid #fff9;
  border-radius: 13px;
  background: #fff9ed;
  box-shadow: 0 3px 0 #4e392b32, 0 5px 12px #2e30263b;
}

body.market-adventure-route .market-adventure.market-layout2 .food-shelf .market-choice-art {
  width: clamp(38px, 8vw, 56px);
  height: clamp(38px, 8vw, 56px);
}

body.market-adventure-route .market-adventure.market-layout2 .food-shelf > .market-choice-card > b {
  max-width: 100%;
  overflow: hidden;
  color: #354d42;
  font-size: clamp(.62rem, 1.8vw, .78rem);
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket {
  isolation: isolate;
  position: relative;
  width: min(78vw, 330px);
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 0;
  justify-self: center;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 4px 4px #55351c35);
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  clip-path: none;
  border: 0;
  background: url("/assets/market-layout2-basket-interior.webp") center / 100% 100% no-repeat;
  box-shadow: none;
  content: "";
  pointer-events: none;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket::after {
  content: none;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-heading {
  z-index: 5;
  top: 3px;
  min-height: 20px;
  margin: 0;
  padding: 1px 7px;
  gap: 3px;
  border-color: #ac7540;
  background: #fff4dd;
  box-shadow: 0 1px 4px #56381f50;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-heading .market-basket-heading-icon {
  font-size: .88rem;
  line-height: 1;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-heading strong {
  font-size: .64rem;
  line-height: 1;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-content {
  position: absolute;
  z-index: 1;
  top: 25%;
  left: 20%;
  width: 60%;
  height: 38%;
  min-height: 0;
  margin: 0;
  padding: 0;
  place-items: center;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-content:has(.market-basket-empty) {
  z-index: 4;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-items {
  width: 100%;
  grid-template-columns: repeat(var(--market-basket-columns, 4), minmax(0, 1fr));
  align-content: center;
  gap: 0 1px;
  padding: 0;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-item {
  z-index: 1;
  min-height: 35px;
  gap: 0;
  padding: 0;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-product-art {
  width: clamp(27px, 8vw, 40px);
  height: clamp(27px, 8vw, 40px);
  filter: drop-shadow(0 1px 1px #39261865);
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-label {
  color: #fff4df;
  font-size: clamp(.48rem, 1.35vw, .62rem);
  line-height: 1;
  text-shadow: 0 1px 3px #422a16, 0 0 4px #422a16;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-quantity {
  font-size: .55rem;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-front {
  position: absolute;
  z-index: 3;
  inset: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: url("/assets/market-layout2-basket-front.webp") center / 100% 100% no-repeat;
  box-shadow: none;
  pointer-events: none;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-empty {
  position: relative;
  z-index: 4;
  align-self: center;
  margin: 0;
  color: #fff4df;
  font-size: clamp(.52rem, 1.35vw, .66rem);
  text-align: center;
  text-shadow: 0 1px 3px #422a16;
}

body.market-adventure-route .market-adventure.market-layout2 .market-department-strip {
  display: grid;
  width: min(100%, 560px);
  min-height: 0;
  grid-template-columns: repeat(4, minmax(44px, 1fr));
  grid-auto-rows: 44px;
  align-items: stretch;
  justify-self: center;
  gap: 4px;
  overflow: visible;
  margin: 0;
  padding: 0;
}

body.market-adventure-route .market-adventure.market-layout2 .market-department-chip {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 44px;
  max-width: none;
  min-height: 44px;
  height: 100%;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 0;
  padding: 2px;
  border: 1px solid #d5e1dc;
  border-radius: 12px;
  background: color-mix(in srgb, var(--market-category-color, #fff0bd) 24%, white);
  box-shadow: 0 2px 0 #183e4910;
}

body.market-adventure-route .market-adventure.market-layout2 .market-department-chip > span {
  display: grid;
  width: 34px;
  height: 34px;
  grid-row: 1;
  place-items: center;
  overflow: hidden;
  font-size: 1.45rem;
  line-height: 1;
}

body.market-adventure-route .market-adventure.market-layout2 .market-department-chip > span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.market-adventure-route .market-adventure.market-layout2 .market-department-chip.is-active {
  border: 2px solid #17817d;
  background: #f1fbf5;
  box-shadow: 0 0 0 2px #17817d22, 0 2px 0 #183e4910;
}

body.market-adventure-route .market-adventure.market-layout2 .market-department-chip.is-coming-soon {
  border-style: dashed;
  background: #f3f6f3;
}

body.market-adventure-route .market-adventure.market-layout2 .market-department-chip .market-department-lock {
  position: absolute;
  right: 1px;
  bottom: 1px;
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border: 1px solid #d4ddd7;
  border-radius: 50%;
  background: #fffef8;
  font-size: 9px;
  line-height: 1;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-audio {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 48px;
  place-items: center;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-item {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-audio .market-request-replay {
  position: relative;
  display: grid;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  flex: 0 0 48px;
  place-items: center;
  padding: 0;
  border: 1px solid #b9d6d3;
  border-radius: 50%;
  background: #fffdf5;
  color: #267b78;
  box-shadow: 0 2px 5px #24596a20;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-speaker svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-speaker .market-speaker-wave {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-speaker.is-muted {
  background: #f4f5f1;
  color: #687a77;
  opacity: .72;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-speaker.is-muted .market-speaker-wave {
  display: none;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-fallback {
  max-width: 130px;
  color: #46615a;
  font-size: clamp(.72rem, 2.5vw, .9rem);
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-audio .market-round-progress {
  position: absolute;
  top: 50%;
  right: 1px;
  display: block;
  transform: translateY(-50%);
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-audio .market-round-progress > strong {
  padding: 2px 4px;
  background: transparent;
  color: #55716a;
  font-size: .7rem;
  box-shadow: none;
}

body.market-adventure-route .market-adventure.market-layout2 .market-layout2-feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-complete {
  width: min(100%, 700px);
  height: auto;
  aspect-ratio: auto;
  min-height: 220px;
  overflow: visible;
}

/* The same supplied layers remain in use on the standalone completion view. */
body.market-adventure-route .market-basket.market-layout2-basket {
  isolation: isolate;
  position: relative;
  width: min(78vw, 330px);
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 4px 4px #55351c35);
}

body.market-adventure-route .market-basket.market-layout2-basket::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  clip-path: none;
  border: 0;
  background: url("/assets/market-layout2-basket-interior.webp") center / 100% 100% no-repeat;
  box-shadow: none;
  content: "";
  pointer-events: none;
}

body.market-adventure-route .market-basket.market-layout2-basket::after {
  content: none;
}

body.market-adventure-route .market-basket.market-layout2-basket .market-basket-content {
  position: absolute;
  z-index: 1;
  top: 25%;
  left: 20%;
  width: 60%;
  height: 38%;
  min-height: 0;
  margin: 0;
  padding: 0;
  place-items: center;
}

body.market-adventure-route .market-basket.market-layout2-basket .market-basket-front {
  position: absolute;
  z-index: 3;
  inset: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: url("/assets/market-layout2-basket-front.webp") center / 100% 100% no-repeat;
  box-shadow: none;
  pointer-events: none;
}

body.market-adventure-route .market-basket.market-layout2-basket .market-basket-empty {
  position: relative;
  z-index: 4;
  margin: 0;
  color: #fff4df;
  font-size: clamp(.52rem, 1.35vw, .66rem);
  text-align: center;
  text-shadow: 0 1px 3px #422a16;
}

body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete {
  width: min(92vw, 420px);
  min-height: 0;
  aspect-ratio: 4 / 3;
}

body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete .market-basket-content {
  top: 15%;
  left: 14%;
  width: 72%;
  height: 40%;
}

body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete .market-basket-items {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 3px;
  padding: 0;
}

body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete .market-basket-item {
  min-height: 46px;
  gap: 0;
}

body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete .market-basket-product-art {
  width: clamp(34px, 9vw, 42px);
  height: clamp(34px, 9vw, 42px);
}

body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete .market-basket-label {
  font-size: clamp(.6rem, 1.6vw, .72rem);
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-complete .market-basket-content {
  width: 100%;
  margin-top: 35px;
  padding: 8px 5px 28px;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-complete .market-basket-items {
  gap: 4px 6px;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-complete .market-basket-item {
  min-height: 58px;
}

@media (max-width: 359px) {
  body.market-adventure-route .market-adventure.market-layout2 {
    grid-template-rows: auto clamp(108px, 36vw, 120px) auto auto auto;
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-basket {
    width: min(70vw, 230px);
  }

  body.market-adventure-route .market-basket.market-layout2-basket {
    width: min(70vw, 230px);
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-answer-row {
    min-height: 64px;
  }
}

@media (max-width: 359px), (max-height: 620px) {
  body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete {
    width: min(96vw, 420px);
  }

  body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete .market-basket-content {
    top: 20%;
    height: 34%;
  }

  body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete .market-basket-item {
    min-height: 34px;
  }

  body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete .market-basket-product-art {
    width: 26px;
    height: 26px;
  }

  body.market-adventure-route .market-basket.market-layout2-basket.market-basket-complete .market-basket-label {
    font-size: .56rem;
  }
}

/* Keep the complete landscape scene legible instead of enlarging/cropping it. */
body.market-adventure-route .market-adventure.market-layout2 .market-village {
  height: auto;
  aspect-ratio: 941 / 380;
  background-size: contain, contain, contain;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket {
  width: min(78vw, 330px);
  aspect-ratio: 4 / 3;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-content {
  top: 23%;
  left: 15%;
  width: 70%;
  height: 43%;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-items {
  align-content: end;
  padding-bottom: 5%;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-front {
  z-index: 3;
}

@media (max-width: 359px) {
  body.market-adventure-route .market-adventure.market-layout2 {
    grid-template-rows: auto clamp(108px, 36vw, 120px) auto auto auto;
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-basket-content {
    top: 22%;
    height: 42%;
  }
}

@media (min-width: 700px) and (max-height: 900px) {
  body.market-adventure-route .market-adventure.market-layout2 {
    grid-template-rows: auto clamp(170px, 25vh, 220px) auto auto auto;
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-basket {
    width: min(42vw, 300px);
  }
}

/* Standalone "På markedet": open full-bleed scene, with controls floating over it.
   The second image layer is deliberately retained as a reliable fallback if a CMS
   URL is unset or fails to load. The food learning-path route is not targeted. */
body.market-adventure-route .market-adventure.market-layout2 {
  position: relative;
  isolation: isolate;
  grid-template-rows: minmax(42px, auto) minmax(0, 1fr) auto auto minmax(44px, auto);
  align-content: stretch;
  justify-items: stretch;
  gap: clamp(4px, .8svh, 9px);
  overflow: hidden;
  padding: clamp(7px, 1.1vw, 14px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.market-adventure-route .market-adventure.market-layout2::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #193e351c, transparent 47%, #47321e20);
  content: "";
  pointer-events: none;
}

body.market-adventure-route .market-adventure.market-layout2 .market-order-audio {
  z-index: 1;
  min-height: 44px;
  justify-self: center;
  width: min(100%, 620px);
  border: 1px solid #fff9;
  border-radius: 999px;
  background: #fff8e9ed;
  box-shadow: 0 3px 12px #173b3445;
}

body.market-adventure-route .market-adventure.market-layout2 .market-village {
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  justify-self: stretch;
  border: 0;
  border-radius: clamp(14px, 2vw, 24px);
  background-color: transparent;
  background-image: none;
  box-shadow: inset 0 0 0 1px #fff6, 0 7px 18px #1f38283a;
}

body.market-adventure-route .market-adventure.market-layout2 .market-answer-row {
  z-index: 1;
  min-height: 0;
  height: clamp(70px, 10svh, 94px);
  align-self: center;
  width: min(100%, 660px);
}

body.market-adventure-route .market-adventure.market-layout2 .market-answer-row .food-shelf {
  width: 100%;
  height: 100%;
  gap: clamp(6px, 1.2vw, 12px);
}

body.market-adventure-route .market-adventure.market-layout2 .food-shelf > .market-choice-card {
  min-height: 58px;
  height: 100%;
  gap: 2px;
  border-color: #fff;
  border-radius: 17px;
  background: linear-gradient(155deg, #fffdf4c9, #f4e9d7b8);
  box-shadow: 0 4px 0 #4e392b40, 0 8px 18px #173b3448;
  touch-action: manipulation;
}

body.market-adventure-route .market-adventure.market-layout2 .market-answer-row .market-choice-art {
  width: clamp(42px, 8svh, 64px);
  height: clamp(42px, 8svh, 64px);
}

body.market-adventure-route .market-adventure.market-layout2 .market-answer-row .market-choice-card > b {
  color: #354d42;
  font-size: clamp(.65rem, 1.8vw, .82rem);
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket {
  z-index: 1;
  width: min(76vw, 340px);
  max-height: 100%;
  filter: drop-shadow(0 6px 8px #402b1a70);
}

body.market-adventure-route .market-adventure.market-layout2 .market-department-strip {
  z-index: 1;
  width: min(100%, 620px);
  grid-auto-rows: clamp(38px, 5.6svh, 48px);
  gap: clamp(4px, .75vw, 8px);
}

body.market-adventure-route .market-adventure.market-layout2 .market-department-chip {
  min-height: 38px;
  border-color: #fff9;
  border-radius: 13px;
  background: color-mix(in srgb, var(--market-category-color, #ead9a8) 35%, #fffaf0ed);
  box-shadow: 0 3px 9px #173b3435;
  touch-action: manipulation;
}

body.market-adventure-route .market-adventure.market-layout2 .market-department-chip.is-active {
  border-color: #167b70;
  background: #fff8dd;
  box-shadow: 0 0 0 2px #fff9, 0 4px 10px #173b3440;
}

body.market-adventure-route .market-adventure.market-layout2 .market-basket-front {
  z-index: 3;
}

/* At the shortest phone height, preserve the whole play loop instead of scrolling. */
@media (max-height: 620px) {
  body.market-adventure-route .market-adventure.market-layout2 {
    grid-template-rows: 42px minmax(0, 1fr) 64px 94px 82px;
    gap: 4px;
    padding: 5px;
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-order-audio,
  body.market-adventure-route .market-adventure.market-layout2 .market-order-item {
    min-height: 42px;
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-answer-row {
    height: 64px;
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-basket {
    width: min(39vw, 190px);
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-department-strip {
    grid-auto-rows: 39px;
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-department-chip {
    min-height: 39px;
  }
}

@media (max-width: 359px) {
  body.market-adventure-route .market-adventure.market-layout2 {
    grid-template-rows: 42px minmax(0, 1fr) 62px 90px 80px;
    padding: 4px;
    gap: 4px;
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-basket {
    width: min(40vw, 148px);
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-department-chip > span {
    width: 30px;
    height: 30px;
    font-size: 1.28rem;
  }
}

/* Completion is a quiet, picture-led reward: the filled basket is the headline. */
body.market-adventure-route .market-layout2-completion {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: center;
  justify-items: center;
  gap: clamp(8px, 2svh, 18px);
  overflow: hidden;
  padding: clamp(10px, 2vw, 24px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.market-adventure-route .market-layout2-completion::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 50% 48%, #fff5cf48, transparent 55%);
  content: "";
  pointer-events: none;
}

body.market-adventure-route .market-layout2-completion-stars {
  position: absolute;
  top: clamp(8px, 3vh, 28px);
  left: 50%;
  z-index: 2;
  width: min(84vw, 450px);
  color: #fff0a6;
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  letter-spacing: clamp(.55rem, 5vw, 2.2rem);
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 5px #533b1780;
  transform: translateX(-50%);
  animation: market-stars-arrive .65s cubic-bezier(.2,.8,.25,1.2) both;
}

body.market-adventure-route .market-basket.market-layout2-compact-completion {
  width: min(92vw, 480px);
  max-width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  justify-self: center;
  align-self: end;
  filter: drop-shadow(0 12px 12px #39291870);
}

body.market-adventure-route .market-basket.market-layout2-compact-completion::before {
  inset: 0;
  clip-path: none;
  border: 0;
  border-radius: 0;
  background: url("/assets/market-layout2-basket-interior.webp") center / 100% 100% no-repeat;
  box-shadow: none;
}

body.market-adventure-route .market-basket.market-layout2-compact-completion::after {
  content: none;
}

body.market-adventure-route .market-basket.market-layout2-compact-completion .market-basket-content {
  top: 13%;
  left: 11%;
  width: 78%;
  height: 62%;
  overflow: visible;
}

body.market-adventure-route .market-basket.market-layout2-compact-completion .market-basket-items {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  gap: 2px 4px;
}

body.market-adventure-route .market-basket.market-layout2-compact-completion .market-basket-item {
  min-height: clamp(36px, 8.5vh, 58px);
  justify-content: center;
  gap: 0;
}

body.market-adventure-route .market-basket.market-layout2-compact-completion .market-basket-product-art {
  width: clamp(28px, 7.5vw, 44px);
  height: clamp(28px, 7.5vw, 44px);
}

body.market-adventure-route .market-basket.market-layout2-compact-completion .market-basket-label {
  max-width: 100%;
  color: #fff8e8;
  font-size: clamp(.54rem, 1.7vw, .72rem);
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 3px #392416, 0 0 4px #392416;
}

body.market-adventure-route .market-basket.market-layout2-compact-completion .market-basket-front {
  position: absolute;
  z-index: 3;
  inset: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: url("/assets/market-layout2-basket-front.webp") center / 100% 100% no-repeat;
  box-shadow: none;
  pointer-events: none;
}

body.market-adventure-route .market-layout2-completion-actions {
  z-index: 4;
  display: flex;
  width: min(100%, 360px);
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 28px);
}

body.market-adventure-route .market-layout2-completion-actions > button,
body.market-adventure-route .market-layout2-completion-actions > a {
  display: grid;
  width: clamp(60px, 15vw, 76px);
  height: clamp(60px, 15vw, 76px);
  min-width: 60px;
  min-height: 60px;
  place-items: center;
  border: 3px solid #fff8e8;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff5cf, #edc878);
  color: #31564c;
  box-shadow: 0 5px 0 #76512e70, 0 8px 15px #283d3260;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  line-height: 1;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform .18s ease, box-shadow .18s ease;
}

body.market-adventure-route .market-layout2-completion-actions > :last-child {
  background: linear-gradient(145deg, #f4e8d0, #dfc6a0);
}

body.market-adventure-route .market-layout2-completion-actions > :focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

@media (hover: hover) {
  body.market-adventure-route .market-layout2-completion-actions > :hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #76512e70, 0 11px 18px #283d3260;
  }
}

@media (max-width: 359px), (max-height: 620px) {
  body.market-adventure-route .market-layout2-completion {
    gap: 4px;
    padding: 7px;
  }

  body.market-adventure-route .market-layout2-completion-stars {
    top: 5px;
    font-size: 1.45rem;
  }

  body.market-adventure-route .market-basket.market-layout2-compact-completion {
    width: min(88vw, 310px);
  }

  body.market-adventure-route .market-basket.market-layout2-compact-completion .market-basket-content {
    top: 15%;
    height: 58%;
  }

  body.market-adventure-route .market-basket.market-layout2-compact-completion .market-basket-item {
    min-height: 34px;
  }

  body.market-adventure-route .market-basket.market-layout2-compact-completion .market-basket-product-art {
    width: 26px;
    height: 26px;
  }

  body.market-adventure-route .market-basket.market-layout2-compact-completion .market-basket-label {
    font-size: .52rem;
  }

  body.market-adventure-route .market-layout2-completion-actions > button,
  body.market-adventure-route .market-layout2-completion-actions > a {
    width: 60px;
    height: 60px;
  }
}

@keyframes market-stars-arrive {
  from { opacity: 0; transform: translate(-50%, 8px) scale(.88); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  body.market-adventure-route .market-layout2-completion-stars {
    animation: none;
  }

  body.market-adventure-route .market-layout2-completion-actions > button,
  body.market-adventure-route .market-layout2-completion-actions > a {
    transition: none;
  }
}

/* The full-screen image belongs to the game surface, not an empty framed scene row. */
body.market-adventure-route .main-shell {
  max-width: none;
  padding-right: env(safe-area-inset-right, 0px);
  padding-left: env(safe-area-inset-left, 0px);
}

body.market-adventure-route .main-shell > footer {
  display: none;
}

body.market-adventure-route #main {
  max-width: none;
  margin: 0;
}

body.market-adventure-route .market-adventure.market-layout2 {
  display: grid;
  grid-template-rows: minmax(42px, auto) minmax(0, 1fr) auto auto;
  flex: 1 1 0;
  width: 100%;
  height: 100%;
}

body.market-adventure-route .market-adventure.market-layout2 .market-village {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: auto;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  pointer-events: none;
}

body.market-adventure-route .market-adventure.market-layout2 .market-answer-row,
body.market-adventure-route .market-adventure.market-layout2 .market-basket,
body.market-adventure-route .market-adventure.market-layout2 .market-department-strip {
  z-index: 1;
}

body.market-adventure-route .market-layout2-sr-only,
body.market-adventure-route .market-basket-label.market-layout2-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-height: 620px) {
  body.market-adventure-route .market-adventure.market-layout2 {
    grid-template-rows: 42px minmax(0, 1fr) 94px 82px;
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-basket {
    width: min(48vw, 180px);
  }
}

@media (max-width: 359px) {
  body.market-adventure-route .market-adventure.market-layout2 {
    grid-template-rows: 42px minmax(0, 1fr) 115px 80px;
  }

  body.market-adventure-route .market-adventure.market-layout2 .market-basket {
    width: min(48vw, 155px);
  }
}

/* Reference-matched presentation, scoped to the standalone Market game only. */
body.market-adventure-route.market-layout2-standalone-route .game-focus-top {
  position: relative;
  flex: 0 0 clamp(68px, 24vw, 96px);
  height: clamp(68px, 24vw, 96px);
  min-height: clamp(68px, 24vw, 96px);
  align-items: center;
  gap: 0;
  padding: 0 max(8px, env(safe-area-inset-left, 0px)) 0 max(8px, env(safe-area-inset-right, 0px));
}

body.market-adventure-route.market-layout2-standalone-route .game-focus-top .mobile-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  flex: 0 0 auto;
  transform: translate(-50%, -50%);
}

body.market-adventure-route.market-layout2-standalone-route .mobile-logo .header-logo-image {
  width: min(var(--header-logo-width, 144px), 32vw, 132px);
  max-height: 46px;
}

body.market-adventure-route.market-layout2-standalone-route .game-focus-top .top-actions {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1 1 100%;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

body.market-adventure-route.market-layout2-standalone-route .game-overview-exit {
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  place-items: center;
  margin: 0 auto 0 0;
  padding: 0;
  border: 1px solid #fff9e8;
  border-radius: 50%;
  background: #fff4dfed;
  color: #34564e;
  box-shadow: 0 2px 8px #173b3440;
}

body.market-adventure-route.market-layout2-standalone-route .game-overview-exit > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.market-adventure-route.market-layout2-standalone-route .game-focus-top .language-picker {
  flex: 0 0 auto;
  margin-left: auto;
}

body.market-adventure-route.market-layout2-standalone-route .game-focus-top .language-picker select {
  width: clamp(64px, 19vw, 86px);
  min-height: 44px;
  border-color: #fff9e8;
  border-radius: 999px;
  box-shadow: 0 2px 8px #173b3440;
}

body.market-adventure-route.market-layout2-standalone-route .game-focus-top .sound-toggle {
  z-index: 3;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-color: #fff9e8;
  border-radius: 50%;
  box-shadow: 0 2px 8px #173b3440;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-audio {
  display: flex;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-item {
  min-height: 44px;
  gap: 5px;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-audio .market-request-replay {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  border: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-speaker svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 2px #182d2b);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-speaker.is-muted {
  background: transparent;
  color: #fff;
  opacity: .9;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-fallback {
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  text-shadow: 0 1px 3px #243b35, 0 0 6px #243b35;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-audio .market-round-progress {
  position: static;
  transform: none;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-audio .market-round-progress > strong {
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  text-shadow: 0 1px 3px #243b35, 0 0 6px #243b35;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-answer-row {
  width: min(92vw, 660px);
  height: clamp(84px, 10.5svh, 100px);
  transform: translateY(clamp(80px, 14svh, 142px));
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .food-shelf > .market-choice-card {
  min-height: 64px;
  border-color: #fffdf0d9;
  background: linear-gradient(155deg, #fffdf47d, #f4e9d74d);
  box-shadow: 0 3px 0 #34291e32, 0 6px 16px #172b2840;
  backdrop-filter: blur(1px);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-answer-row .market-choice-art {
  width: clamp(54px, 10svh, 76px);
  height: clamp(54px, 10svh, 76px);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .food-shelf > .market-choice-card > b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket {
  width: min(74vw, 360px);
  aspect-ratio: 1.6 / 1;
  transform: translateY(-3svh);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-content {
  top: 20%;
  left: 15%;
  width: 70%;
  height: 58%;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-items {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-item {
  min-height: clamp(42px, 5.7svh, 58px);
  flex: 0 0 33.333%;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-product-art {
  width: clamp(38px, 12vw, 58px);
  height: clamp(38px, 12vw, 58px);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-department-strip {
  transform: translateY(-4.5svh);
}

@media (max-height: 620px) {
  body.market-adventure-route.market-layout2-standalone-route .game-focus-top {
    flex-basis: clamp(68px, 24vw, 78px);
    height: clamp(68px, 24vw, 78px);
    min-height: clamp(68px, 24vw, 78px);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-answer-row {
    height: 64px;
    transform: translateY(13svh);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket {
    width: min(62vw, 190px);
    transform: translateY(-.5svh);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-department-strip {
    transform: translateY(-1.5svh);
  }
}

@media (max-width: 359px) {
  body.market-adventure-route.market-layout2-standalone-route .mobile-logo .header-logo-image {
    width: min(var(--header-logo-width, 144px), 26vw, 84px);
  }

  body.market-adventure-route.market-layout2-standalone-route .game-overview-exit {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-basis: 40px;
  }

  body.market-adventure-route.market-layout2-standalone-route .game-focus-top .language-picker select {
    width: 64px;
    padding: 6px 13px 6px 5px;
    font-size: .74rem;
  }

  body.market-adventure-route.market-layout2-standalone-route .game-focus-top .sound-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    min-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .food-shelf > .market-choice-card {
    backdrop-filter: none;
  }
}

/* Final standalone Market refinements: settle the basket contents and keep the
   full-screen scene visible while the single completion basket covers its base. */
body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-answer-row .market-choice-art {
  width: clamp(60px, 10.5svh, 88px);
  height: clamp(60px, 10.5svh, 88px);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-content {
  top: 24%;
  height: 58%;
  overflow: visible;
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-items {
  transform: translateY(6px);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-item {
  position: relative;
  flex-basis: 38%;
  margin-inline: clamp(-14px, -3vw, -8px);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-item:nth-child(3n + 1) {
  z-index: 1;
  transform: translate(3px, 6px) rotate(-6deg);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-item:nth-child(3n + 2) {
  z-index: 2;
  transform: translateY(1px) rotate(4deg);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-item:nth-child(3n) {
  z-index: 1;
  transform: translate(-3px, 5px) rotate(-3deg);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-item:nth-child(n + 4) {
  z-index: 2;
  transform: translateY(-32px) rotate(2deg);
}

body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-product-art {
  width: clamp(44px, 13vw, 58px);
  height: clamp(44px, 13vw, 58px);
}

body.market-adventure-route.market-layout2-standalone-route .main-shell:has(.market-layout2-completion) {
  padding-bottom: 0;
}

body.market-adventure-route.market-layout2-standalone-route .market-layout2-completion {
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: 0;
}

body.market-adventure-route.market-layout2-standalone-route .market-basket.market-layout2-compact-completion {
  width: min(98vw, 440px);
  aspect-ratio: 4 / 3;
  align-self: end;
  margin: 0;
}

body.market-adventure-route.market-layout2-standalone-route .market-basket.market-layout2-compact-completion .market-basket-content {
  top: 18%;
  height: 65%;
}

body.market-adventure-route.market-layout2-standalone-route .market-basket.market-layout2-compact-completion > .market-basket-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.market-adventure-route.market-layout2-standalone-route .market-basket.market-layout2-compact-completion .market-basket-items {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: 0;
  transform: translateY(10px);
}

body.market-adventure-route.market-layout2-standalone-route .market-basket.market-layout2-compact-completion .market-basket-item {
  position: relative;
  min-height: clamp(42px, 6svh, 58px);
  flex: 0 0 34%;
  margin-inline: -6px;
}

body.market-adventure-route.market-layout2-standalone-route .market-basket.market-layout2-compact-completion .market-basket-item:nth-child(3n + 2) {
  z-index: 2;
  transform: translateY(5px) rotate(4deg);
}

body.market-adventure-route.market-layout2-standalone-route .market-basket.market-layout2-compact-completion .market-basket-item:nth-child(3n + 3) {
  transform: translateY(2px) rotate(-4deg);
}

body.market-adventure-route.market-layout2-standalone-route .market-basket.market-layout2-compact-completion .market-basket-item:nth-child(n + 4) {
  z-index: 2;
  transform: translateY(-24px) rotate(2deg);
}

body.market-adventure-route.market-layout2-standalone-route .market-basket.market-layout2-compact-completion .market-basket-product-art {
  width: clamp(42px, 13vw, 58px);
  height: clamp(42px, 13vw, 58px);
}

body.market-adventure-route.market-layout2-standalone-route .market-layout2-completion-actions {
  position: absolute;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 5;
  width: auto;
  transform: translateX(-50%);
}

@media (max-height: 620px) {
  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-answer-row .market-choice-art {
    width: 60px;
    height: 60px;
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-item {
    margin-inline: -5px;
  }
}

/* Standalone Market expands on tablets and computers while retaining the
   approved phone composition above. Keep the answer row centered over the
   basket and size the foreground against both viewport width and height. */
@media (min-width: 701px) {
  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 {
    gap: clamp(8px, 1.2svh, 14px);
    padding: clamp(10px, 1.4vw, 22px);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-audio,
  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-item {
    min-height: clamp(46px, 6svh, 56px);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-audio .market-request-replay {
    width: clamp(44px, 5svh, 52px);
    min-width: clamp(44px, 5svh, 52px);
    height: clamp(44px, 5svh, 52px);
    min-height: clamp(44px, 5svh, 52px);
    flex-basis: clamp(44px, 5svh, 52px);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-speaker svg {
    width: clamp(24px, 3.2svh, 30px);
    height: clamp(24px, 3.2svh, 30px);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-order-fallback,
  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-round-progress > strong {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-answer-row {
    align-self: end;
    justify-self: center;
    width: min(94vw, 1080px);
    height: clamp(78px, 10svh, 112px);
    transform: none;
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .food-shelf > .market-choice-card {
    min-height: 100%;
    height: 100%;
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-answer-row .market-choice-art {
    width: clamp(64px, 10svh, 96px);
    height: clamp(64px, 10svh, 96px);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket {
    align-self: center;
    justify-self: center;
    width: min(78vw, 640px, 58svh);
    min-height: 0;
    aspect-ratio: 1.6 / 1;
    margin: 0 auto;
    transform: none;
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-item {
    min-height: clamp(58px, 7svh, 80px);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-basket-product-art {
    width: clamp(54px, 7vw, 80px);
    height: clamp(54px, 7vw, 80px);
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-department-strip {
    justify-self: center;
    width: min(94vw, 960px);
    grid-auto-rows: clamp(48px, 7svh, 72px);
    gap: clamp(6px, 1vw, 12px);
    transform: none;
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-department-chip {
    min-height: 48px;
  }

  body.market-adventure-route.market-layout2-standalone-route .market-adventure.market-layout2 .market-department-chip > span {
    width: clamp(36px, 5svh, 50px);
    height: clamp(36px, 5svh, 50px);
    font-size: clamp(1.3rem, 2.5svh, 1.8rem);
  }
}
