/* Preserve the live BUN theme, wooden board and field artwork. */
.bun-touchups .game-layout{grid-template-columns:minmax(0,1fr) 320px}.bun-touchups .sidebar{min-width:0}.bun-touchups .feast-panel{padding:22px 18px;margin:0}.bun-touchups .feast-panel .testeth-panel-heading{display:block}.bun-touchups .feast-panel .testeth-panel-heading h2{font-size:26px}.bun-touchups .feast-panel .testeth-badge{display:inline-block;white-space:normal;margin-top:12px}.bun-touchups .feast-panel .testeth-wallet-details{grid-template-columns:1fr 1fr;gap:14px 10px}.bun-touchups .feast-panel .testeth-wallet-details>div:first-child{grid-column:1/-1;background:#fff3c8;padding:16px;border:2px solid #b9a169;border-radius:12px}.bun-touchups #feast-week-pot{font:34px FeastDisplay,sans-serif;color:#347156}.bun-touchups .feast-panel .testeth-wallet-actions{gap:8px}.bun-touchups .feast-panel .account-action{font-size:12px;padding:10px 12px}.bun-touchups .feast-panel .testeth-wallet-details dd{font-size:13px}.bun-touchups #feast-status,.bun-touchups #feast-verified{font-size:12px;line-height:1.55;overflow-wrap:anywhere}.bun-touchups .feast-recovery{font-size:11px}.bun-policy-details{border-top:1px solid #bccaa6;margin-top:18px;padding-top:13px;font-size:12px;line-height:1.6}.bun-policy-details summary{cursor:pointer;font-weight:800}.bun-touchups .feast-panel .testeth-notice{font-size:12px}
.bun-touchups .menu-tools{flex-wrap:wrap;justify-content:flex-start;gap:10px}.bun-touchups #menu-preview{flex-basis:100%;max-width:none;margin:0;font-size:11px}.bun-menu-button{border:2px solid var(--ink);border-radius:12px;background:#fff6db;box-shadow:0 3px 0 #79503055;padding:10px 12px;min-height:44px;font:15px FeastDisplay,sans-serif}.bun-touchups .shuffle-menu{font-size:18px;min-height:44px;padding:9px 13px}.bun-touchups .round-ladder{height:clamp(480px,68vh,720px);max-height:none}.bun-touchups .round-ladder.show-all-courses{height:auto;overflow:visible}.bun-touchups .course-row.locked{opacity:1;padding:8px 10px;margin-bottom:8px}.bun-touchups .course-row.locked .course-heading{margin-bottom:7px;padding-bottom:0}.bun-touchups .course-row.locked .course-name{font-size:12px}.bun-touchups .course-row.locked .course-status{font-size:8px}.bun-touchups .course-row.locked .course-reward{font-size:18px}.bun-touchups .course-row .course-dishes{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.bun-touchups .course-row.locked .course-dishes .food-tile{width:48px;flex:0 0 48px;height:48px;border-radius:13px;background:#fff2ce;box-shadow:0 2px 0 #a57c47;padding:0}.bun-touchups .course-row .food-emoji.bun-food-art{background-image:url('assets/bun-food-atlas-v2.png');background-repeat:no-repeat;font-size:0;filter:none}.bun-touchups .course-row.locked .food-emoji.bun-food-art{width:45px;height:45px}.bun-touchups .course-row:not(.locked) .food-tile{width:68px;flex:0 0 68px;height:82px;padding:4px 2px}.bun-touchups .course-row:not(.locked) .food-emoji.bun-food-art{width:53px;height:53px}.bun-touchups .course-row:not(.locked) .food-name{font-size:10px}.bun-touchups .course-row.current .food-tile:focus-visible{outline-offset:2px}.bun-touchups .food-tile.bun-result-hit{animation:bun-food-pop .65s ease-out;outline:3px solid #e4b449;outline-offset:2px}.bun-touchups .food-tile.poison.bun-result-hit{animation:bun-poison-shake .7s ease-out;outline-color:#ad83c1}
.bun-touchups .score-strip{grid-template-columns:1.1fr .85fr .85fr 1.2fr;gap:10px;padding:15px;position:sticky;bottom:0;border-top:3px solid var(--ink);border-bottom:0}.bun-touchups .score-strip>.bun-bank-cell{padding:0;border:0;background:none;box-shadow:none;display:flex;align-items:center;min-width:0}.bun-touchups .score-strip>.bun-bank-cell::before,.bun-touchups .score-strip>.bun-bank-cell::after{display:none}.bun-touchups #stop-button{width:100%;font-size:23px;padding:8px;min-height:72px}.bun-touchups #stop-button>span{display:none}.bun-touchups #stop-button small{font-size:9px}.bun-touchups .score-strip .label{font-size:8px;letter-spacing:.5px}.bun-touchups .score-strip .score-stat strong{font-size:25px}.bun-touchups .action-row{grid-template-columns:1fr}.bun-touchups .reward-pop{top:-35px;max-width:90%;white-space:normal;text-align:center;font-size:20px}.bun-touchups .game-card{overflow:clip}.bun-touchups .feast-scene{overflow:visible}.bun-touchups .feast-scene .character-stage{background-image:none}.bun-touchups .feast-scene .character-stage .character-art{background-image:url('assets/bundle-cat-field.png');background-size:cover;background-position:center;transform-origin:50% 70%;will-change:auto}.bun-touchups .feast-scene.reaction-bite .character-stage .character-art{animation:bun-safe-scene .7s ease-out!important}.bun-touchups .feast-scene.reaction-poison .character-stage .character-art{animation:bun-poison-scene .75s ease-out!important}.bun-touchups .feast-scene.reaction-bank .character-stage .character-art{animation:bun-bank-scene .8s ease-out!important}.bun-touchups .feast-scene .character-stage::after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;opacity:0}.bun-touchups .reaction-bite .character-stage::after,.bun-touchups .reaction-bank .character-stage::after{box-shadow:inset 0 0 35px 10px #ffda6090;animation:bun-frame-glow .8s ease-out}.bun-touchups .reaction-poison .character-stage::after{box-shadow:inset 0 0 35px 10px #9970b6bb;animation:bun-frame-glow .8s ease-out}
@keyframes bun-safe-scene{0%,100%{transform:scale(1.01) translateY(0)}35%{transform:scale(1.04) translateY(-5px)}65%{transform:scale(1.02) translateY(2px)}}@keyframes bun-poison-scene{0%,100%{transform:scale(1.03) rotate(0)}20%{transform:scale(1.03) rotate(-1deg)}40%{transform:scale(1.03) rotate(1deg)}65%{transform:scale(1.03) rotate(-.6deg)}}@keyframes bun-bank-scene{0%,100%{transform:scale(1)}45%{transform:scale(1.07) translateY(-3px)}}@keyframes bun-frame-glow{0%,100%{opacity:0}40%{opacity:1}}@keyframes bun-food-pop{0%{scale:.9}40%{scale:1.13}100%{scale:1}}@keyframes bun-poison-shake{20%{rotate:-6deg}45%{rotate:5deg}70%{rotate:-3deg}}
@media(max-width:1100px){.bun-touchups .game-layout{grid-template-columns:minmax(0,1fr) 285px}.bun-touchups .score-strip{gap:6px;padding:12px 9px}.bun-touchups #stop-button{font-size:20px}.bun-touchups .score-strip .score-stat strong{font-size:22px}.bun-touchups .score-strip .label{font-size:7px}.bun-touchups .course-row.locked .course-dishes .food-tile{width:42px;height:42px;flex-basis:42px}.bun-touchups .course-row.locked .food-emoji.bun-food-art{width:39px;height:39px}}
@media(max-width:850px){.bun-touchups .game-layout{grid-template-columns:1fr}.bun-touchups .sidebar{display:block}.bun-touchups .feast-panel{margin-top:0}.bun-touchups .feast-panel .testeth-wallet-details{grid-template-columns:repeat(3,minmax(0,1fr))}.bun-touchups .feast-panel .testeth-wallet-details>div:first-child{grid-column:auto}.bun-touchups .round-ladder{height:600px}}
@media(max-width:560px){.bun-touchups .round-ladder{height:520px}.bun-touchups .course-row.locked{padding:7px 6px}.bun-touchups .course-row .course-dishes{gap:6px}.bun-touchups .course-row.locked .course-dishes .food-tile{width:30px;height:35px;flex-basis:30px;border-width:1px;border-radius:8px}.bun-touchups .course-row.locked .food-emoji.bun-food-art{width:32px;height:32px}.bun-touchups .course-row:not(.locked) .food-tile{width:53px;flex-basis:53px;height:70px}.bun-touchups .course-row:not(.locked) .food-emoji.bun-food-art{width:43px;height:43px}.bun-touchups .course-row:not(.locked) .food-name{font-size:9px}.bun-touchups .score-strip{grid-template-columns:1.1fr .8fr .8fr;gap:6px;padding:10px}.bun-touchups .score-strip>.bun-bank-cell{grid-column:1/-1}.bun-touchups #stop-button{min-height:47px;font-size:23px;flex-wrap:nowrap;gap:10px}.bun-touchups #stop-button small{width:auto;font-size:10px}.bun-touchups .score-strip .score-stat strong{font-size:23px}.bun-touchups .score-strip #score{font-size:25px}.bun-touchups .score-strip>div:not(.reward-pop){padding:7px 3px}.bun-touchups .score-strip>.bun-bank-cell{padding:0}.bun-touchups .feast-panel .testeth-wallet-details{grid-template-columns:1fr 1fr}.bun-touchups .feast-panel .testeth-wallet-details>div:first-child{grid-column:1/-1}.bun-touchups .menu-tools{gap:8px}.bun-touchups .shuffle-menu,.bun-menu-button{font-size:13px;padding:9px 10px}.bun-touchups .shuffle-menu span{font-size:20px}.bun-touchups .score-strip .label{font-size:7px}.bun-touchups .reward-pop{top:-33px;font-size:17px}}
@media(prefers-reduced-motion:reduce){.bun-touchups .feast-scene.reaction-bite .character-stage .character-art,.bun-touchups .feast-scene.reaction-poison .character-stage .character-art,.bun-touchups .feast-scene.reaction-bank .character-stage .character-art,.bun-touchups .feast-scene .character-stage .character-art,.bun-touchups .feast-scene .character-stage::after,.bun-touchups .food-tile.bun-result-hit{animation:none!important;transition:none!important}.bun-touchups .food-tile:hover{transform:none!important}}
.bun-touchups .score-strip{position:relative;bottom:auto}.bun-touchups #mode-picker>.mode-options{grid-template-columns:repeat(2,minmax(0,1fr))}.bun-touchups .feast-scene .action-deck{margin-top:14px}.bun-touchups .course-row.current{scroll-margin-bottom:160px}

.bun-touchups .round-ladder.show-all-courses{height:max(calc(clamp(480px,68vh,720px) + 240px),min(1100px,90vh));overflow-y:auto}

@media(max-width:850px){.bun-touchups .round-ladder.show-all-courses{height:max(840px,90vh)}}
@media(max-width:560px){.bun-touchups .round-ladder.show-all-courses{height:max(760px,90vh)}}

/* Poison occupies the whole tile, including a large symbol over the food. */
.bun-touchups .course-dishes .food-tile.poison{isolation:isolate;overflow:hidden;background:#d6b8e5;border-color:#67377c}
.bun-touchups .food-tile.poison::before{content:'';position:absolute;inset:0;border-radius:inherit;background:#b88fce;opacity:.5;pointer-events:none;z-index:1}
.bun-touchups .food-tile.poison::after{content:'';position:absolute;inset:3px 3px 17px;background:url('assets/poison-mark-v1.svg') center/contain no-repeat;pointer-events:none;z-index:2}
.bun-touchups .course-row .food-tile.poison .bun-food-art{opacity:.25}
.bun-touchups .course-row .food-tile.poison .food-name{position:absolute;inset:auto 0 4px;z-index:3;margin:0;color:#3e1d4b;line-height:1.2}

/* Player share of this week's pot, kept beside the existing pot and points. */
.bun-touchups .feast-panel .testeth-wallet-details>.feast-reward-estimate{grid-column:1/-1;padding:14px 15px;background:#e1efca;border:2px solid #9db77e;border-radius:12px}
.bun-touchups .feast-panel .feast-reward-estimate dt{color:#465b32}
.bun-touchups .feast-panel #feast-estimated-rewards{margin-top:5px;color:#347156;font:28px FeastDisplay,sans-serif;overflow-wrap:anywhere}
.bun-touchups .feast-panel #feast-reward-share{margin-top:6px;color:#455638;font-size:11px;line-height:1.45}
.bun-touchups .feast-panel #feast-reward-note{margin:6px 0 0;color:#5e6a50;font-size:10px;line-height:1.45}
