
.game-shell .play .menu-room {
  max-width:1150px;
  margin:0 auto;
  color:var(--menu-ink);
  text-align:left;
}
.game-shell .play .menu-room h2,.game-shell .play .menu-room h3,.game-shell .play .menu-room p {max-width:none;text-align:left}
.game-shell .play .menu-room h2 {margin:0 0 .7rem;line-height:1.12;font-size:clamp(1.6rem,3vw,2.8rem)}
.game-shell .play .menu-room h3 {margin:0 0 .6rem;font-size:1rem}
.game-shell .play .menu-room p {margin:.55rem 0;font-size:.93rem}
.game-shell .play .menu-room .menu-table-name {margin:0 0 .2rem;color:#58665e;font-size:.81rem;font-weight:720}
.game-shell .play .menu-room .actions {justify-content:flex-start;margin:.8rem 0 0;gap:.5rem}
.menu-room .actions>button,.menu-course button,.menu-history summary {min-height:44px}
.menu-room button:focus-visible,.menu-room summary:focus-visible {outline:3px solid #ab701b;outline-offset:2px}
.menu-draft-head {position:relative;display:flex;gap:.2rem 1rem;flex-wrap:wrap;align-items:baseline;margin-bottom:clamp(.45rem,2vw,1rem)}
.menu-draft-head .menu-table-name {flex-basis:100%}
.menu-check-count {font-size:.85rem;color:#58665e;font-weight:700;white-space:nowrap}
.menu-desk {display:grid;grid-template-columns:minmax(0,1.85fr) minmax(236px,1fr);align-items:start;gap:clamp(.85rem,3vw,2.6rem);min-width:0}
.menu-courses {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.5rem,2vw,1.35rem);min-width:0}
.menu-course {min-width:0;border-top:2px solid var(--menu-accent);padding:1rem 0 0}
.menu-course button {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:.4rem;
  width:100%;
  padding:.65rem .65rem;
  margin-bottom:.45rem;
  border:1px solid var(--menu-line);
  border-radius:5px;
  background:#fff;
  text-align:left;
  color:#2d3530;
  font:inherit;
  line-height:1.25;
}
.menu-course button span {overflow-wrap:anywhere}
.menu-course button b {flex:none;color:#4a6559}
.menu-course button[aria-pressed=true] {background:#e6f0e8;border-color:#527c64;box-shadow:inset 3px 0 #3b6e55;font-weight:730}
.menu-course button:hover {border-color:#3b6e55}
.menu-ticket {
  position:relative;
  min-width:0;
  padding:1rem clamp(.8rem,2vw,1.35rem) 1.25rem;
  background:#fffaf0;
  color:#394335;
  border-top:3px solid #718976;
  box-shadow:0 5px 12px #432a151a;
}
.menu-ticket::after {
  content:"";
  position:absolute;
  right:0;
  bottom:-5px;
  left:0;
  height:6px;
  background:linear-gradient(135deg,#fffaf0 25%,transparent 25%) 0 0/12px 7px,linear-gradient(225deg,#fffaf0 25%,transparent 25%) 0 0/12px 7px;
  pointer-events:none;
}
.menu-ticket p strong {font-size:1.85rem;font-variant-numeric:tabular-nums}
.menu-ticket p span {font-size:.84rem;color:#555f4c}
.menu-ticket p[data-menu-cost] {display:flex;gap:.4rem;align-items:baseline}
.menu-budget-status {display:block;font-size:.83rem;color:#49624c;margin:-.4rem 0 .65rem}
.menu-budget-status[data-over=true] {color:#a5432c}
.menu-plate {margin:.8rem 0;border-top:1px dashed #b9c3b4;padding:.55rem 0 .25rem}
.menu-plate>div {display:grid;grid-template-columns:minmax(4.05rem,.72fr) minmax(0,1fr);gap:.35rem;padding:.22rem 0;font-size:.88rem}
.menu-plate dt {color:#596451}
.menu-plate dd {min-width:0;overflow-wrap:anywhere;margin:0;font-weight:660}
.game-shell .play .menu-room .menu-validation {color:#966116;font-size:.82rem;margin:.45rem 0}
.menu-validation:empty {display:none}
.menu-conflict {margin:1.25rem 0 0;padding:.6rem .9rem;background:#f7ead7;border-left:4px solid #b27b34}
.menu-conflict span,.menu-conflict strong {display:block}
.menu-conflict span {color:#78572a;font-size:.79rem;font-weight:700}
.menu-conflict strong {margin-top:.25rem}
.menu-records {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2.4rem);margin:1.5rem 0 .7rem}
.menu-evidence,.menu-history,.menu-final-rules {border-top:1px solid var(--menu-line);padding-top:.8rem}
.menu-history details {min-width:0;border-bottom:1px solid #e0e1d8}
.menu-history summary {display:flex;gap:.45rem 1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:.5rem 0;cursor:pointer}
.menu-history summary b {font-size:.93rem}
.menu-history summary span {font-size:.81rem;color:#566056}
.menu-history summary::after {content:"+";font-weight:800;color:var(--menu-accent)}
.menu-history details[open] summary::after {content:"−"}
.menu-history details .menu-plate {max-width:30rem;margin:0 0 .3rem}
.menu-history details .menu-record-clash {font-size:.82rem;color:#654e31;margin:0 0 .6rem}
.menu-history .menu-record-clash small {display:block;margin-top:.2rem}
.menu-revealed {list-style:none;padding:0;margin:0;display:grid;gap:.55rem}
.menu-revealed li {display:grid;grid-template-columns:auto minmax(0,1fr);gap:.2rem .65rem;align-items:baseline;padding:0 0 .55rem;border-bottom:1px solid #e4e5dc}
.menu-revealed li span {font-size:.8rem;color:#5a655a}
.menu-revealed li strong {font-size:.93rem;line-height:1.45}
.menu-revealed li small {grid-column:2;color:#626d61}
.game-shell .play .menu-room .menu-context {color:#5e6458;font-size:.81rem}
.menu-final-rules {margin:1.5rem 0 0}
.menu-folded {
  display:grid;
  place-items:center;
  width:clamp(8rem,17vw,12rem);
  height:clamp(6rem,13vw,8.8rem);
  margin:0 0 1.7rem .3rem;
  background:linear-gradient(155deg,#f8e4bc 0 50.7%,#d2a877 51%,#fbefd6 52% 100%);
  border:1px solid #b49a73;
  box-shadow:0 5px 0 #dbc8a8;
  transform:rotate(-5deg);
}
.menu-folded span {
  display:grid;place-items:center;
  width:2.5rem;height:2.5rem;border-radius:50%;
  background:#356b54;color:white;font-weight:750;
  box-shadow:0 1px 3px #583b1f52;
}
.menu-room[data-menu-phase=handoff-1] .menu-folded span {background:#9e523a}
.menu-private {margin:1.1rem 0 1.5rem;padding:0;list-style-position:inside;max-width:40rem}
.menu-private li {
  padding:.8rem 1rem;
  margin:.5rem 0;
  line-height:1.5;
  font-size:clamp(1rem,2vw,1.25rem);
  font-weight:700;
  background:var(--menu-cream);
  border:1px solid #dfcead;
  border-left:4px solid var(--menu-accent);
  animation:menu-uncover .24s ease-out both;
}
@keyframes menu-uncover {from{opacity:.5;translate:0 5px}to{opacity:1;translate:none}}
.menu-setup-help {align-self:end}
.game-shell.wide .play .menu-room {width:min(100%,1150px)}
@media(max-width:950px) {
  .menu-courses {grid-template-columns:1fr;gap:.45rem}
  .menu-course {padding:.55rem 0 0}
  .menu-course button {margin-bottom:.35rem}
}
@media(max-width:620px) {
  .menu-desk,.menu-records {grid-template-columns:1fr}
  .menu-outcome .menu-ticket {grid-row:1}
  .menu-courses {gap:.85rem}
  .menu-ticket {padding:1rem .85rem 1.25rem}
  .menu-draft-head {margin:0 0 .65rem}
  .menu-check-count {margin-bottom:.5rem}
  .menu-room .actions>button {overflow-wrap:anywhere}
  .menu-private li {padding:.65rem}
}
@media(prefers-reduced-motion:reduce) {
  .menu-private li {animation:none}
}

.menu-example {
  width:100%;
  margin:1rem 0;
  border-collapse:collapse;
  font-size:clamp(.8rem,1.5vw,.95rem);
  text-align:left;
}
.menu-example :is(th,td) {
  padding:.5rem .35rem;
  border-bottom:1px solid #d7dcd2;
  overflow-wrap:anywhere;
  vertical-align:top;
}
.menu-example thead {color:#3a6553}
.menu-example tr>:is(:first-child,:nth-child(3)) {white-space:nowrap}
.menu-example tbody tr:last-child {background:#e7f0e6}


.page-game .game-shell.theme-menu:not(.theme-wolf) {
  --menu-ink:#49273f;
  --menu-muted:#655247;
  --menu-accent:#566323;
  --menu-line:#c4b294;
  --menu-cream:#fff4df;
  --menu-receipt:#fff0d3;
  --menu-warning:#8a381f;
  --brand:var(--menu-ink);
  --stage-ink:var(--menu-ink);
  --stage:#e7e8cb;
  --soft:#fff2db;
  --line:#b8b48a;
  background:repeating-linear-gradient(138deg,#5f673809 0 1px,transparent 1px 4px),radial-gradient(ellipse at 21% 15%,#eef0d7,transparent 65%),#dce2bf;
}
.page-game .game-shell.theme-menu .play {background:none}
.page-game .game-shell.theme-menu .game-toolbar {background:var(--soft)}
.page-game .game-shell.wide.theme-menu .play:has(.menu-room) {
  max-width:100rem;
  min-height:0;
  justify-content:flex-start;
  margin:0 auto;
  padding:clamp(.68rem,2.5vw,2.1rem) clamp(.7rem,3vw,2.7rem) 1.5rem;
}
.game-shell .play .menu-room {
  width:100%;
  max-width:88rem;
  padding:clamp(.9rem,3.25vw,2.85rem);
  background:radial-gradient(ellipse at 38% 16%,#fffaec,transparent 64%),var(--menu-cream);
  border:1px solid var(--menu-line);
  border-radius:clamp(.4rem,1.25vw,1rem);
  box-shadow:0 4px 0 #95876c6b,0 9px 21px #443c2a24;
}
.game-shell .play .menu-room h2 {
  color:var(--menu-ink);
  font:750 italic clamp(1.65rem,4.5vw,3.75rem)/1.08 Georgia,'Songti SC',serif;
  margin:0;
  text-wrap:balance;
}
.game-shell .play .menu-room h3 {
  font:700 clamp(1.05rem,1.9vw,1.55rem)/1.24 Georgia,'Songti SC',serif;
  color:var(--menu-ink);
}
.game-shell .play .menu-room p {
  color:var(--menu-muted);
  overflow-wrap:anywhere;
}
.game-shell .play .menu-room .menu-table-name {
  color:var(--menu-accent);
  font-size:clamp(.88rem,1.45vw,1.09rem);
  font-weight:800;
}
.menu-check-count {
  color:var(--menu-accent);
  background:#eeeacb;
  border:1px solid #c3bd98;
  border-radius:1rem;
  padding:.2rem .55rem;
}
.menu-quick-budget {display:none}
.game-shell .play .menu-room .button,.page-game .theme-menu .game-toolbar .button {
  min-height:46px;
  padding:.53rem .88rem;
  white-space:normal;
}
.page-game .game-shell.theme-menu .play .button:is(.cta,.menu-room button:not(.secondary)) {
  color:#fff7e8;
  background:var(--menu-ink);
  border-color:var(--menu-ink);
}
.page-game .game-shell.theme-menu .play .button:is(.cta,.menu-room button:not(.secondary)):hover {
  background:#663450;
}
.page-game .game-shell.theme-menu :is(.button.secondary,.game-toolbar .button) {
  color:var(--menu-ink);
  background:#fff2dc;
  border-color:#9a826f;
}
.game-shell .play .menu-room :is(button,summary):focus-visible {
  outline-color:#72385b;
}
.menu-draft-head {margin-bottom:clamp(.8rem,2vw,1.55rem)}
.menu-desk {
  grid-template-columns:minmax(0,1.9fr) minmax(230px,1fr);
  gap:clamp(.95rem,3.25vw,3.35rem);
}
.menu-course {
  padding:.68rem 0 0;
  border-top:2px solid #7f8749;
}
.menu-course button {
  min-height:46px;
  display:grid;
  grid-template-columns:minmax(0,auto) minmax(.25rem,1fr) auto;
  align-items:baseline;
  gap:.32rem;
  margin-bottom:.48rem;
  border:1px solid #c5ae90;
  background:#fff9ea;
  color:var(--menu-ink);
  border-radius:.44rem;
  padding:.48rem .54rem;
  font:700 clamp(.94rem,1.43vw,1.2rem)/1.22 Georgia,'Songti SC',serif;
  cursor:pointer;
  transition:background-color .16s ease,translate .16s ease;
}
.menu-course button::before {
  content:"";
  grid-column:2;
  grid-row:1;
  align-self:baseline;
  border-bottom:2px dotted currentColor;
  opacity:.5;
}
.menu-course button span {grid-column:1;grid-row:1}
.menu-course button b {
  grid-column:3;
  grid-row:1;
  color:inherit;
  font-variant-numeric:tabular-nums;
}
.menu-course button[aria-pressed=true] {
  background:var(--menu-accent);
  color:#fff7de;
  border-color:#455019;
  box-shadow:inset 0 -2px #343d1a50;
}
.menu-course button:hover {border-color:#6e7136}
@media (hover:hover) {
  .menu-course button:hover {translate:0 -1px}
}
.menu-ticket {
  padding:clamp(.85rem,2.1vw,1.75rem);
  background:var(--menu-receipt);
  color:var(--menu-ink);
  border-top:2px solid #ad9472;
  box-shadow:0 7px 15px #5a3f262a;
}
.menu-ticket::after {
  background:radial-gradient(circle at 50% 0,var(--menu-receipt) 0 6px,transparent 6.5px) 0 0/12px 7px repeat-x;
  height:7px;
  bottom:-6px;
}
.menu-ticket h3 {margin-bottom:.25rem}
.menu-ticket p strong {
  font:750 clamp(2rem,4vw,3.35rem)/1 Georgia,serif;
  color:var(--menu-ink);
}
.menu-ticket p span,.menu-plate dt {color:var(--menu-muted)}
.menu-budget-status {
  width:fit-content;
  padding:.28rem .48rem;
  margin:.4rem 0 .7rem;
  border-radius:.28rem;
  background:#e9e9c9;
  color:#39471a;
  font-weight:750;
}
.menu-budget-status[data-over=true] {background:#fae0ce;color:var(--menu-warning)}
.menu-ticket:has(.menu-budget-status[data-over=true]) [data-menu-cost] strong {color:var(--menu-warning)}
.menu-plate {border-color:#b7a284}
.game-shell .play .menu-room .menu-validation {
  color:var(--menu-warning);
  font-weight:750;
}
.menu-conflict {
  margin-top:.8rem;
  background:#f7e0c8;
  border-color:#ac5c34;
  border-radius:.32rem;
}
.menu-conflict span {color:var(--menu-warning)}
.menu-records {margin-top:1.3rem}
.menu-history summary span,.menu-revealed li :is(small,span) {color:var(--menu-muted)}
.menu-evidence,.menu-history,.menu-final-rules {border-color:#9b9d67}
.menu-folded span {background:var(--menu-accent)}
.menu-room[data-menu-phase=handoff-1] .menu-folded span {background:var(--menu-ink)}

@media (max-width:950px) and (min-width:761px) {
  .menu-desk {grid-template-columns:minmax(0,1fr)}
  .menu-courses {grid-template-columns:repeat(3,minmax(0,1fr))}
  .menu-ticket {max-width:36rem}
}
@media (max-width:620px) {
  .menu-desk,.menu-records {grid-template-columns:minmax(0,1fr)}
  .menu-room .menu-outcome .menu-ticket {grid-row:auto}
  .menu-check-count {margin:0}
}
@media (max-width:950px) {
  .menu-quick-budget {
    display:inline-flex;
    border-radius:1rem;
    padding:.2rem .55rem;
    background:#edf0d4;
    color:#39471a;
    font-size:.85rem;
    font-weight:800;
  }
  .menu-quick-budget[data-over=true] {background:#fae0ce;color:var(--menu-warning)}
}
@media (prefers-reduced-motion:reduce) {
  .menu-course button {transition:none;translate:none}
}
