.parking-depot .parking-board::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 calc(var(--cocoa-column) * var(--col));
  width: var(--col);
  border-inline: 1px dashed #b7f5f1bd;
  background: #9ae4ee1e;
  pointer-events: none;
  z-index: -1;
}
.parking-depot .parking-car[data-delivery="cocoa"] img { filter: drop-shadow(0 0 .24rem #aff2ff); }
.parking-depot .parking-car[data-delivery="present"] img { filter: drop-shadow(0 0 .24rem #ffd994); }

/* Shared finish screens and mode selection. Each game supplies its own scene. */
.full-game.sleigh-orders {
  --sequel-scene: url("./sequel-art/dispatch.webp");
  --sequel-ink: #331e2b;
}
.full-game.twins-arena {
  --sequel-scene: url("./sequel-art/twins.webp");
  --sequel-ink: #162e2c;
}
.full-game.picnic-arena {
  --sequel-scene: url("./sequel-art/picnic.webp");
  --sequel-ink: #132c42;
}
.full-game.table-for-two {
  --sequel-scene: url("./sequel-art/lounge.webp");
  --sequel-ink: #1c332d;
}
.full-game:is(.sleigh-orders,.twins-arena,.table-for-two,.picnic-arena) {
  color: #fff2d6;
  background: linear-gradient(#09131c22,#0e1524a6), var(--sequel-scene) center 43% / cover;
}
.full-game:is(.sleigh-orders,.twins-arena,.table-for-two,.picnic-arena) .full-game-header {
  background: linear-gradient(100deg,#18242e,#392333 58%,#18272d);
  border-bottom: 1px solid #e2bc7c;
  box-shadow: 0 .25rem 1.25rem #130d1f7a;
}
.full-game:is(.sleigh-orders,.twins-arena,.table-for-two,.picnic-arena) .full-game-header h2 {
  font-size: clamp(1.04rem,4.15vw,1.85rem);
}
.sequel-frame {
  position: relative;
  isolation: isolate;
  border: 1px solid #e0bb76;
  border-radius: 1rem;
  background: linear-gradient(145deg,var(--sequel-ink),#111a2aed);
  box-shadow: inset 0 0 0 3px #ffe0a729,0 0 0 2px #251d29,0 0 0 3px #d0a66e75,0 .45rem 2rem #070b18a8;
}
.sequel-menu,.sequel-finale {
  width: min(calc(100% - 1.4rem),35rem);
  margin: clamp(.65rem,4vh,2rem) auto;
  padding: clamp(.66rem,3vw,1.3rem);
  display: grid;
  justify-items: center;
  gap: .55rem;
  text-align: center;
}
.sequel-frame h3 {
  margin: 0;
  color: #ffe5a8;
  font: 750 clamp(1.5rem,6.6vw,2.65rem)/1.04 Georgia,serif;
  text-wrap: balance;
}
.sequel-frame :is(p,small) { margin: 0; }
.sequel-menu p { max-width: 34ch; line-height: 1.33; }
.sequel-menu small { color: #f0dcbb; font-size: .8rem; }
.sequel-menu-art,.sequel-trophy-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: end;
  width: 100%;
  height: clamp(6.8rem,26dvh,11.4rem);
  overflow: hidden;
  padding: .42rem;
  border-radius: .72rem;
  border: 1px solid #dfb36e9c;
  background: linear-gradient(0deg,#122134a3,transparent 68%), var(--sequel-scene) center 46% / cover;
  box-shadow: inset 0 0 .86rem #1a100f80;
}
.sequel-menu-art img {
  width: min(32%,9.2rem);
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 .2rem .5rem #150a20bb);
}
.sequel-menu-art img:nth-child(2) { height: 100%; z-index: 1; }
.sequel-trophy-stage {
  height: clamp(6.1rem,21dvh,10rem);
  align-items: center;
  background: radial-gradient(ellipse,#ffd3816e,transparent 64%),linear-gradient(#10263377,#122134b3),var(--sequel-scene) center 46% / cover;
}
.sequel-trophy {
  width: auto;
  height: 95%;
  max-width: 55%;
  object-fit: contain;
  filter: drop-shadow(0 0 1rem #ffc268b8);
  animation: sequel-trophy-in .7s cubic-bezier(.2,1.4,.45,1) both;
}
@keyframes sequel-trophy-in {
  from { transform: translateY(35%) scale(.48) rotate(-12deg); opacity: 0; }
}
.sequel-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .43rem; }
.full-game .sequel-primary,.full-game .table-primary {
  min-height: 44px;
  padding: .38rem .85rem;
  border-color: #ffe5a9;
  background: linear-gradient(#ffebad,#d99c51);
  color: #2b1a1b;
}
.full-game .sequel-secondary {
  min-height: 44px;
  padding: .38rem .75rem;
  border-color: #ceab7196;
  background: #1e3b43;
  color: #fff2d6;
}
.sequel-turn {
  color: #f7d795;
  font: 750 .73rem/1.15 system-ui,sans-serif;
  white-space: nowrap;
}
.sequel-scoreboard { width: 100%; display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.sequel-score-row {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .26rem;
  padding: .32rem;
  border: 1px solid #b992585e;
  border-radius: .52rem;
  background: #1d2d42;
  color: #ffe6ad;
  font-size: .84rem;
}
.sequel-score-row .roster-badge { margin: 0; }
.sequel-score-row.sequel-winning-row { border-color: #f1c776; box-shadow: inset 0 0 0 1px #c09d6a70; }

/* The ornaments sit in a gilded velvet display tray. */
.twins-arena .bauble-hud {
  padding: .43rem .54rem;
  border: 1px solid #d0ab6a;
  border-radius: .64rem;
  background: #162737ef;
  box-shadow: inset 0 0 0 2px #e0b46c20;
}
.twins-arena .bauble-grid {
  position: relative;
  border: 1px solid #e7c780;
  background: linear-gradient(145deg,#5c3748,#201624 53%,#492c38);
  box-shadow: 0 0 0 2px #42263a,0 0 0 3px #b59461,0 .35rem 1.3rem #120b1bcf,inset 0 0 .7rem #f1d38954;
}
.twins-arena .bauble-grid .bauble-cell {
  border-color: #d4b17286;
  background: radial-gradient(ellipse at 50% 41%,#425366,#1d2a3a 66%,#131926);
  box-shadow: inset 0 0 0 2px #dec68119,inset 0 0 .8rem #14212daa;
}
.twins-arena .bauble-grid .bauble-cell[aria-pressed="true"] {
  border-color: #ffe29a;
  background: radial-gradient(ellipse at 50% 41%,#637c82,#263d4d 70%);
  box-shadow: inset 0 0 1.08rem #ffe2a38f,0 0 .5rem #ffe29a60;
}
.twins-arena .bauble-grid .hit { box-shadow: inset 0 0 1.2rem #a7f6cc; background: #31584e; }
.twins-arena .bauble-ornament { inset: 2%; width: 96%; height: 96%; }
.twins-arena .bauble-status { color: #fff0c2; }
.twins-player {
  width: min(100%,max(246px,calc(100cqh - 116px)),635px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .27rem .52rem;
  padding: .26rem;
  border: 1px solid #d9b17692;
  border-radius: .58rem;
  background: #192638f5;
}
.twins-player .roster-badge { margin: 0; }
.twins-pair-ribbon {
  position: absolute;
  z-index: 3;
  height: .23rem;
  border-radius: 100%;
  background: #fff4bc;
  box-shadow: 0 0 .55rem .11rem #ffbf5cbf;
  transform: rotate(var(--pair-angle));
  transform-origin: left;
  pointer-events: none;
  animation: twins-ribbon .4s ease-out both;
}
@keyframes twins-ribbon {
  from { transform: rotate(var(--pair-angle)) scaleX(.05); opacity: 0; }
  65% { transform: rotate(var(--pair-angle)) scaleX(1); opacity: 1; }
  to { opacity: 0; }
}
.twins-results-art { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; }
.twins-results-art img { width: clamp(42px,13vw,67px); aspect-ratio: 1; object-fit: contain; }

/* A paper dispatch ticket above an illustrated, moving conveyor. */
.sleigh-orders .orders-stage { width: min(100%,42rem); align-content: center; }
.orders-field { width: 100%; display: grid; gap: .68rem; }
.orders-hud {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: .26rem .46rem;
  border: 1px solid #d5a663aa;
  border-radius: .71rem;
  padding: .37rem .48rem;
  background: linear-gradient(110deg,#182f3a,#35243a);
  box-shadow: inset 0 0 0 2px #ddaa6327,0 .26rem .6rem #140e2295;
}
.orders-hud .roster-badge { margin: 0; min-width: 0; }
.orders-hud .sequel-turn { grid-column: 1/-1; }
.orders-hud progress { grid-column: 1/-1; width: 100%; height: .38rem; accent-color: #ffe2a5; }
.orders-tally { margin: 0; color: #ffe8a8; font-size: clamp(.77rem,3.3vw,.97rem); }
.orders-ticket {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .34rem;
  padding: .6rem .48rem .73rem;
  border: 1px solid #ffdf9b;
  border-radius: .66rem;
  background: repeating-linear-gradient(#72442910 0 1px,transparent 1px 18px),linear-gradient(140deg,#fff0cc,#e7c995);
  box-shadow: inset 0 0 0 3px #83565335,0 .25rem .8rem #211224ae;
  color: #352325;
}
.orders-ticket h3 { margin: 0; font: 750 clamp(1.37rem,5.6vw,2.15rem)/1.06 Georgia,serif; }
.orders-route-count { margin: 0; color: #734732; font-size: .77rem; font-weight: 800; }
.orders-tag { background: #2d654e; }
.orders-manifest .packed .orders-tag::after { content: "✓"; position: absolute; color: #fff8d8; inset: 0; display: grid; place-items: center; background: inherit; border-radius: inherit; }
.orders-tag {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.47rem;
  aspect-ratio: 1;
  border: 1px solid #b68d53;
  border-radius: .31rem;
  background: var(--tag-color);
  color: #fff5ce;
  font-weight: 850;
}
.orders-tag[data-mark="tree"]::before { content: ""; width: 66%; height: 68%; background: #fff5ce; clip-path: polygon(50% 0,75% 39%,63% 39%,93% 76%,57% 76%,57% 100%,43% 100%,43% 76%,7% 76%,37% 39%,25% 39%); }
.orders-belt {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: .26rem;
  padding: .42rem .34rem .34rem;
}
.orders-belt::before {
  position: absolute;
  content: "";
  inset: 43% 0 7% 0;
  z-index: -1;
  border: .19rem solid #e6bd7c;
  border-radius: .62rem;
  background: repeating-linear-gradient(90deg,#292431 0 7px,#745639 12px,#ba8850 14px,#292431 24px);
  box-shadow: 0 .42rem 0 #392532,0 .58rem 0 #936336,0 1rem 1.5rem #120e1aab, inset 0 0 .7rem #191119;
  animation: packing-belt .9s linear infinite;
}
.orders-belt .orders-choice {
  display: grid;
  align-content: end;
  min-height: 44px;
  min-width: 0;
  margin: 0;
  padding: .12rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  background: transparent;
  box-shadow: none;
  touch-action: none;
  cursor: grab;
}
.orders-belt .orders-choice[aria-pressed="true"] {
  border-color: #ffe5a6;
  background: #fff1b533;
}
.orders-choice .packing-parcel { height: auto; aspect-ratio: 1; }
.orders-choice .packing-tag,.orders-drag-ghost .packing-tag { width: clamp(1.2rem,5vw,2rem); border-width: 1px; border-radius: .25rem; }
.orders-choice .packing-tag i,.orders-drag-ghost .packing-tag i { font-size: clamp(.78rem,3.4vw,1.2rem); }
.orders-empty { aspect-ratio: 1; }
.orders-choice.orders-lifted { opacity: .35; }
.orders-drag-ghost {
  position: fixed;
  z-index: 30;
  width: clamp(3.2rem,14vw,6.4rem);
  aspect-ratio: 1;
  transform: translate(-50%,-50%) rotate(-9deg);
  pointer-events: none;
}
.orders-bags {
  display: grid;
  grid-template-columns: repeat(var(--bags, 1),minmax(0,1fr));
  gap: .35rem;
  justify-content: center;
}
.sleigh-orders .orders-bag {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 13rem;
  justify-self: center;
  justify-items: center;
  align-items: center;
  align-content: start;
  gap: .16rem;
  min-height: 44px;
  min-width: 0;
  margin: 0;
  padding: .35rem .12rem;
  border: 1px solid #dcb678b5;
  border-radius: .6rem;
  background: linear-gradient(#432b27b0,#221c2ff2);
  box-shadow: inset 0 0 0 2px #e7b77b22,0 4px 8px #1c111abb;
  color: #fff0ca;
  font-size: clamp(.72rem,3vw,.98rem);
  line-height: 1.15;
}
.sleigh-orders .orders-bag strong { min-height: 2.25em; display: grid; place-items: center; }
.orders-sack-art {
  display: block;
  width: 100%;
  height: clamp(3.4rem,16dvh,7.25rem);
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 4px 4px #170d1bb0);
}
.orders-bag-count { font-size: .74rem; }
.orders-needs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .12rem .25rem;
  padding-block: .10rem;
  min-height: 1.3rem;
}
.orders-requirement { display: inline-flex; align-items: center; gap: .10rem; }
.orders-requirement .orders-tag { width: clamp(1rem,4vw,1.28rem); }
.orders-requirement small { font-weight: 850; }
.sleigh-orders .orders-bag.orders-accepts { border-color: #f8d883; }
.sleigh-orders .orders-bag.orders-drop-here {
  border-color: #fff0a2;
  box-shadow: inset 0 0 0 2px #ffe5a6,0 0 .7rem #ffc67990;
}
.sleigh-orders .orders-bag[data-sealed="true"] { border-color: #a8cc91; color: #d8efb4; }
.orders-bag[data-sealed="true"] .orders-sack-art { opacity: .7; }
.orders-bag-loaded .orders-sack-art { animation: orders-fill .29s ease-out; }
@keyframes orders-fill { 35% { transform: translateY(4px) scale(1.06,.87); } }
.orders-notice {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: .25rem .48rem;
  border: 1px solid #e5b6799c;
  border-radius: .42rem;
  background: #241e30f3;
  color: #fff1ce;
  font-weight: 750;
  font-size: clamp(.73rem,3vw,.88rem);
}
@media (max-height: 610px) {
  .orders-field { gap: .43rem; }
  .orders-ticket { padding-block: .32rem; }
  .orders-sack-art { height: clamp(3rem,12dvh,4.5rem); }
}
@media (prefers-reduced-motion: reduce) { .orders-bag-loaded .orders-sack-art { animation: none; } }
.sleigh-orders .orders-finale { height: clamp(5.75rem,19dvh,10rem); }
.orders-certificates {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr));
  gap: .7rem;
  width: 100%;
}
.orders-certificate {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: .26rem;
  padding: .75rem .65rem;
  border: .24rem double #a47942;
  border-radius: .52rem;
  background: radial-gradient(ellipse at 50% 5%,#fff8df,transparent 68%),linear-gradient(135deg,#fae8b5,#fff3d6 65%,#e4c181);
  box-shadow: inset 0 0 0 .16rem #ffeec0,0 .3rem .9rem #130d1b8a;
  color: #492d28;
  overflow-wrap: anywhere;
}
.orders-certificate-seal {
  height: 2.6rem;
  width: auto;
  filter: drop-shadow(0 .16rem .2rem #91623c7a);
}
.orders-certificate h4 {
  margin: 0;
  font: 700 clamp(1.06rem,4.8vw,1.4rem)/1.05 Georgia,serif;
  color: #752d3b;
}
.orders-certificate strong { font: 700 clamp(1.4rem,5.8vw,1.95rem)/1.06 Georgia,serif; }
.orders-certificate p { font-size: .79rem; }
.orders-certificate .orders-certificate-record { color: #3a5841; font-weight: 800; }
.orders-certificate .orders-certificate-signature {
  width: 80%;
  margin-top: .2rem;
  padding-top: .3rem;
  border-top: 1px solid #a479427c;
  color: #752d3b;
  font: italic .9rem Georgia,serif;
}

/* The picnic order placards sit above the original penguin targets. */
.picnic-arena .feast-ready { border-color: #dec07e; background: linear-gradient(#193547f5,#0c2035f5); }
.picnic-arena .feast-field {
  border-color: #e0c18a;
  background: linear-gradient(#0e344716,#1c58752e 68%,#0c284489),var(--sequel-scene) center / cover;
  box-shadow: 0 0 0 2px #1e3e53,0 0 0 3px #f3dca86e,inset 0 0 1.1rem #284b66ab;
}
.picnic-arena .feast-stat { background: linear-gradient(135deg,#152e48,#264c57); border-color: #dec58389; }
.picnic-arena .feast-stat span { color: #f5e8cd; }
.picnic-play-cue,.picnic-arena .feast-message {
  margin: 0;
  padding: .23rem .55rem;
  border: 1px solid #ceb8826c;
  border-radius: .65rem;
  background: #152b3feb;
  color: #fff1c9;
  font-size: .81rem;
}
.picnic-arena .feast-field { height: clamp(15.8rem,calc(100dvh - 13.8rem),35rem); }
.picnic-ready-art {
  display: grid;
  place-items: end center;
  width: 100%;
  height: clamp(6.25rem,24dvh,12rem);
  border: 1px solid #d7b578;
  border-radius: .73rem;
  background: var(--sequel-scene) center / cover;
  overflow: hidden;
}
.picnic-arena .feast-ready h3 { color: #ffe5a5; font-family: Georgia,serif; }
.picnic-arena .feast-ready .picnic-ready-art img { width: auto; max-width: 46%; height: 100%; object-fit: contain; }
.picnic-arena .feast-fish-order {
  position: absolute;
  z-index: 6;
  top: -8%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: .19rem;
  transform: translateX(-50%);
  min-height: 1.22rem;
  padding: .12rem .32rem;
  border: 1px solid #fff1c3;
  border-radius: .43rem;
  background: linear-gradient(#fff2cc,#ecd093);
  box-shadow: 0 .16rem .35rem #0b2236a6;
  color: #2a2632;
  font: 850 clamp(.73rem,3.7vw,.96rem)/1 system-ui,sans-serif;
  pointer-events: none;
  white-space: nowrap;
}
.picnic-arena .feast-fish-order[hidden] { display: none; }
.picnic-order-fish {
  display: inline-block;
  width: 1.15em;
  height: .72em;
  background: linear-gradient(0deg,#176682,#48a6ac);
  clip-path: polygon(0 10%,29% 36%,48% 10%,74% 7%,93% 26%,100% 49%,94% 73%,74% 94%,48% 91%,29% 64%,0 95%,9% 50%);
}
.picnic-arena .feast-fish-order[data-quantity="2"] { background: linear-gradient(#ffe39b,#f1b45d); }
.picnic-fed-check {
  position: absolute;
  z-index: 7;
  top: 3%;
  left: 57%;
  display: grid;
  place-items: center;
  width: 1.36rem;
  aspect-ratio: 1;
  border: 1px solid #ddedac;
  border-radius: 50%;
  background: #29664f;
  color: #fdfac7;
  font-weight: 900;
  pointer-events: none;
  animation: picnic-check .72s ease-out both;
}
@keyframes picnic-check { from { transform: translateY(5px) scale(.66); opacity: .35; } 70% { opacity: 1; } to { transform: translateY(-10px); opacity: 0; } }
.picnic-finale-wrap { width: 100%; display: grid; gap: .34rem; }
.picnic-arena .feast-finale { height: clamp(5.5rem,19dvh,10rem); background: linear-gradient(0deg,#12294771,#1d415439),var(--sequel-scene) center / cover; }

/* Two seats at one illustrated bar, with independent order tickets. */
.table-floor,.table-ready {
  width: min(100%,44rem);
  margin: auto;
  padding: .48rem .52rem max(.5rem,env(safe-area-inset-bottom));
  display: grid;
  gap: .32rem;
}
.table-floor {
  width: min(100%,52rem);
  height: 100%;
  min-height: min-content;
  box-sizing: border-box;
  grid-template-rows: auto minmax(min-content,1fr) auto auto;
}
.table-ready { width: min(calc(100% - 1.35rem),34rem); margin-block: clamp(.65rem,4vh,2.2rem); justify-items: center; padding: .7rem; text-align: center; }
.table-pair,.table-finished-drinks {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: end;
  flex-wrap: wrap;
  gap: .29rem;
  padding: .28rem;
  border: 1px solid #d7a96e9a;
  border-radius: .53rem;
  background: linear-gradient(0deg,#48232def 0 12%,transparent 13%),var(--sequel-scene) center 40% / cover;
}
.table-pair img { width: 36%; height: clamp(63px,23vh,145px); object-fit: contain; filter: drop-shadow(0 .32rem .4rem #111321ab); }
.table-finished-drinks img { width: clamp(36px,12vw,76px); height: clamp(50px,15vw,95px); object-fit: contain; filter: drop-shadow(0 .1rem .45rem #ffda8764); }
.table-score {
  display: flex;
  gap: .25rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border: 1px solid #dab479;
  border-radius: .56rem;
  padding: .2rem .32rem;
  background: #1a303beF;
  color: #ffe3a8;
  font-size: clamp(.7rem,2.9vw,.95rem);
}
.table-score .roster-badge { margin: 0; min-width: 0; }
.table-stations {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .33rem;
  padding: .24rem;
  border: 1px solid #e5bd7e;
  border-radius: .68rem;
  background: linear-gradient(#19233213 15%,#181f3491 65%,#263328ec),var(--sequel-scene) center 47% / cover;
  box-shadow: inset 0 0 0 2px #ffc48841,0 .28rem .8rem #170c1e9c;
}
.table-seat {
  --station-tone: #33766b;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(76px,1fr) auto auto auto;
  gap: .19rem;
  padding: .2rem;
  border: 1px solid #b990616e;
  border-radius: .54rem;
  background: linear-gradient(0deg,#1a2d34eb 0 30%,#1e293232 40%,transparent 80%);
}
.table-seat:nth-child(2) { --station-tone: #a1575e; }
.table-seat:has(.table-seat-pick[aria-pressed="true"]) { border-color: #ffe59a; box-shadow: inset 0 0 0 1px #ffe59a80,0 0 .46rem #f8cf813f; }
.table-seat.drop-here { outline: 2px solid #fff3b0; outline-offset: -2px; }
.table-seat[data-outcome="served"] { border-color: #a9d7a8; }
.table-seat[data-empty] .table-seat-pick img { visibility: hidden; }
.table-seat .table-seat-pick {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  display: grid;
  align-items: stretch; justify-content: stretch;
  grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto;
  border: 1px solid #ac84636a;
  border-radius: .44rem;
  background: radial-gradient(ellipse at 50% 82%,#ffd08042,transparent 66%),#172e3750;
  color: #fff1d2;
  font-size: clamp(.72rem,2.85vw,.99rem);
  line-height: 1.08;
}
.table-portrait { position: relative; display: block; min-height: 0; }
.table-portrait::before {
  content: ""; position: absolute; bottom: 2%; left: 18%; right: 18%; height: 8%;
  border-radius: 50%; background: radial-gradient(ellipse,#382014b3,transparent 70%);
}
.table-portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box;
  padding: 4px 3px 2px; object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 .18rem .21rem #291729b3);
}
.table-seat[data-empty] .table-portrait::before { visibility: hidden; }
.table-seat-pick strong { display: block; padding: .19rem .13rem; overflow-wrap: anywhere; background: linear-gradient(90deg,#37253a,var(--station-tone)); }
.table-ticket {
  display: grid;
  gap: .19rem;
  padding: .27rem .3rem;
  border: 1px solid #b98c52;
  border-radius: .39rem .39rem .58rem .21rem;
  background: linear-gradient(#fff2d3,#edd3a4);
  color: #302728;
  box-shadow: 0 .12rem .26rem #100d21a1;
}
.table-ticket[hidden] { display: none; }
.table-drink { margin: 0; color: #62342d; font: 750 clamp(.77rem,3.1vw,1.08rem)/1.08 Georgia,serif; }
.table-order-display {
  display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1fr);
  align-items: center; justify-items: center; gap: .25rem;
}
.table-steps {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: center;
  gap: .22rem; width: 100%; padding: 0; margin: 0; list-style: none;
}
.table-steps li {
  position: relative; display: grid; place-items: center; min-width: 0;
  height: clamp(26px,4dvh,40px); padding: 2px 3px 3px;
  border: 1px solid #b49b72; border-radius: .36rem; background: #fff4d7;
}
.table-steps img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.table-steps .next { border-color: #815726; box-shadow: inset 0 0 0 2px #f6ba44; }
.table-steps .done { border-color: #54754a; background: #dfecd1; }
.table-step-marker {
  position: absolute; left: -1px; bottom: -1px; min-width: 1em; text-align: center;
  font: bold 11px/1 system-ui; color: #50341e; background: #fff0cb; border-radius: 0 .25rem 0 .3rem;
}
.table-steps .done .table-step-marker { background: #2f6043; color: white; }
.table-seat progress { width: 100%; height: .3rem; accent-color: #417555; }
.table-hurry progress { accent-color: #a94133; }
.table-vessel {
  position: relative; isolation: isolate; justify-self: stretch;
  height: clamp(48px,8.7dvh,88px); border-radius: .42rem;
  background: radial-gradient(ellipse at 50% 88%,#91683c42,transparent 65%);
}
.table-vessel img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 .18rem .23rem #211321ae); }
.table-ghost-glass { outline: 1px dashed #947645; }
.table-layers {
  position: absolute; z-index: -1; display: flex; flex-direction: column-reverse;
  left: 31%; right: 31%; bottom: 22%; min-height: 35%; overflow: hidden; border-radius: 0 0 35% 35%;
}
.table-vessel[data-vessel="mug"] .table-layers { bottom: 43%; left: 27%; right: 39%; }
.table-vessel[data-vessel="jar"] .table-layers { bottom: 11%; left: 26%; right: 27%; }
.table-layers i { height: .36rem; }
.table-for-two .table-serve {
  min-height: 44px;
  margin: 0;
  padding: .21rem .45rem;
  background: linear-gradient(#ffebad,#d99c51);
  color: #311c1c;
  border-color: #fff1b9;
  font-size: clamp(.72rem,3vw,.97rem);
}
.table-seat .table-serve:disabled { opacity: .58; }
.table-feedback { min-height: 1.15em; margin: 0; color: #fce7c7; font-size: clamp(.69rem,2.6vw,.86rem); line-height: 1.13; }
.table-notice { margin: 0; padding: .19rem .33rem; border-radius: .34rem; background: #18333eeF; color: #fff0c9; font-size: clamp(.76rem,3vw,.95rem); font-weight: 750; }
.table-counter {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: .25rem;
  padding: .31rem;
  border: 1px solid #e4b477;
  border-radius: .65rem;
  background: linear-gradient(#3a241b,#1b302e);
  box-shadow: inset 0 0 0 2px #efbc7559;
}
.table-counter .table-choice {
  grid-column: span 3; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px; margin: 0; padding: .2rem .12rem;
  min-width: 0; min-height: 44px; touch-action: none; user-select: none;
  text-align: center; white-space: normal; background: linear-gradient(#305346,#16312c);
  color: #fff7dc; border: 1px solid #be9d65; border-radius: .48rem;
  font-size: clamp(.76rem,3.3vw,.98rem); line-height: 1.08;
}
.table-choice img { width: 100%; height: clamp(29px,6.2dvh,62px); object-fit: contain; pointer-events: none; }
.table-counter [data-kind="glass"] {
  grid-column: span 4; flex-direction: row; gap: .4rem;
  background: linear-gradient(#553b36,#39272a);
}
.table-counter [data-kind="glass"] img { width: 30%; height: clamp(29px,4.5dvh,42px); }
.table-counter .table-step-choice { border-color: #ffe49a; box-shadow: inset 0 0 0 2px #edc26f; background: #43563e; }
.table-for-two :is(.table-choice,.table-serve,.table-seat-pick):focus-visible { outline: 3px solid white; outline-offset: -3px; }
.table-drag-ghost img { width: 2.2rem; height: 2.2rem; object-fit: contain; }
.table-drag-ghost {
  position: fixed;
  z-index: 20;
  transform: translate(-50%,-65%);
  display: flex;
  align-items: center;
  gap: .32rem;
  border: 1px solid #ffe29e;
  border-radius: .5rem;
  padding: .38rem .48rem;
  background: #203b3c;
  color: #fff4d6;
  font-weight: 800;
  pointer-events: none;
}
.table-added .table-vessel img { animation: table-poured .28s ease-out; }
.table-wrong .table-ticket { animation: packing-miss .24s ease-out; }
.table-seat[data-outcome="served"] .table-vessel img { animation: table-sip 1.08s ease-in-out both; }
.table-seat[data-outcome="missed"] .table-portrait img { animation: table-exit .88s ease-in both; }
.table-hurry .table-portrait img { animation: table-fidget .8s ease-in-out infinite alternate; }
.table-seat[data-outcome="served"] .table-portrait img { animation: table-cheer .48s ease-out 2 alternate; }
@keyframes table-fidget { to { transform: translateX(2px) rotate(2deg); } }
@keyframes table-cheer { 50% { transform: translateY(-4%) rotate(-3deg); } }
@keyframes table-poured { 42% { transform: translateY(-4px) rotate(-3deg); filter: drop-shadow(0 0 .36rem #ffc974); } }
@keyframes table-sip {
  30%,60% { transform: translateY(-23%) rotate(-24deg) scale(.88); filter: drop-shadow(0 0 .55rem #ffdb90); }
  to { transform: none; }
}
@keyframes table-exit { to { transform: translateX(-30%); opacity: .15; } }

@media(max-height:640px) and (orientation:portrait) {
  .full-game.table-for-two:has(.table-floor) .full-game-header {
    padding-block: max(.25rem,env(safe-area-inset-top)) .25rem;
  }
  .table-floor { grid-template-rows: auto minmax(min-content,1fr) auto; }
  .table-notice {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%);
  }
  .table-seat-pick[aria-pressed="true"] strong::before { content: "✓ "; color: #ffdf8e; }
  .table-choice img { height: 24px; }
  .table-counter .table-choice { font-size: .76rem; }
  .table-counter { padding: .2rem; gap: .18rem; }
  .table-floor { gap: .25rem; padding-top: .31rem; }
  .table-ticket { padding-block: .18rem; }
  .table-vessel { height: 44px; }
  .sequel-menu,.sequel-finale { margin-block: .72rem; gap: .39rem; }
}
@media(max-height:490px) and (orientation:landscape) {
  .twins-player { grid-row: 2; grid-column: 1; width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  .sequel-trophy,.orders-belt::before,.picnic-fed-check,.table-vessel img,.table-ticket,.table-portrait img { animation: none!important; }
}
