/* Pick Your Eggs */
.mf-lvsA { --lv: 4; }
.mf-lvA__num { font-size: 20px; white-space: nowrap; }
.pe-hero { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 3vw, 18px); }
.pe-hero__img { width: clamp(84px, 26vw, 128px); height: clamp(84px, 26vw, 128px); border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); background: #fff; }
.pe-hero__carton { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #c9b38a; padding: 6px; border-radius: 12px; box-shadow: var(--shadow); }
.pe-hero__cup { width: 28px; height: 28px; border-radius: 50%; background: #b39a6e; box-shadow: inset 0 3px 5px rgba(0, 0, 0, .2); display: flex; align-items: center; justify-content: center; }
.pe-hero__cup .pe-egg { width: 18px; height: 23px; }

.pe-play { display: flex; flex-direction: column; gap: 12px; }
.pe-boxes { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; background: #a0703f; padding: 10px; border-radius: 20px; box-shadow: var(--shadow); }
.pe-box {
  position: relative; min-height: 84px; min-width: 64px; border-radius: 14px; border: 4px solid #6d4a26; background: linear-gradient(180deg, #f2d27a 0 55%, #e0b44a 56%);
  cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px; touch-action: manipulation;
}
.pe-box:active { transform: scale(.96); }
.pe-box__hen { font-size: 34px; line-height: 1; }
.pe-box__eggs { display: flex; gap: 2px; }
.pe-box__eggs .pe-egg { width: 15px; height: 20px; }
.pe-box.is-open { background: #f6e3a8; border-color: #b08850; }
.pe-box.is-picked { box-shadow: 0 0 0 5px var(--straw); animation: pe-wiggle .5s ease; }
.pe-box__nest { font-size: 36px; opacity: .75; }

.pe-egg { display: inline-block; width: 26px; height: 34px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-shadow: inset -4px -4px 0 rgba(0, 0, 0, .08); border: 2px solid rgba(0, 0, 0, .15); }
.pe-egg--brown { background: #d9a066; }
.pe-egg--white { background: #fffdf7; }
.pe-egg.is-pop { animation: pe-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes pe-pop { from { transform: translateY(-26px) scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pe-wiggle { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }

.pe-cartons { display: grid; gap: 8px; justify-items: center; }
@media (min-width: 700px) { .pe-cartons { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.pe-carton { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; background: #c9b38a; border-radius: 16px; padding: 8px; width: 100%; max-width: 360px; box-shadow: var(--shadow); border-bottom: 6px solid #a8916a; }
.pe-cup { aspect-ratio: 1; border-radius: 50%; background: #b39a6e; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 4px 6px rgba(0, 0, 0, .22); transition: background .2s; }
.pe-cup.g0 { background: #ffe08a; }
.pe-cup.g1 { background: #a9d8ff; }
.pe-cup .pe-egg { width: 62%; height: 78%; }

.pe-linecard { background: #fffdf7; border-radius: 18px; padding: 6px 8px 10px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.pe-svg { width: 100%; height: auto; display: block; max-height: 140px; }
.pe-axis { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.pe-tick { stroke: var(--ink-2); stroke-width: 2; }
.pe-num { font: 800 13px ui-rounded, system-ui, sans-serif; fill: var(--ink-2); }
.pe-num.is-land { fill: var(--barn); font-size: 15px; font-weight: 900; }
.pe-arc { fill: none; stroke: var(--barn); stroke-width: 3; stroke-linecap: round; }
.pe-arc.is-pending { stroke: #f4b400; stroke-dasharray: 6 5; }
.pe-plus { font: 900 12px ui-rounded, system-ui, sans-serif; fill: var(--green); }
.pe-q { font: 900 20px ui-rounded, system-ui, sans-serif; fill: #c47f00; }
.pe-dot { fill: var(--barn); stroke: #fff; stroke-width: 2; }
.pe-pattern { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; min-height: 40px; font-weight: 900; }
.pe-chip { min-width: 40px; padding: 2px 8px; border-radius: 10px; background: #eaf7e6; border: 3px solid var(--green); text-align: center; font-size: 20px; animation: mf-in .25s ease-out; }
.pe-comma { font-size: 20px; color: var(--ink-2); }
.pe-hint { font-size: 17px; color: var(--ink-2); }
.pe-land { background: #fff3c7; border-radius: 20px; padding: 10px; box-shadow: inset 0 0 0 4px var(--straw); }
.pe-land.is-wiggle { animation: pe-wiggle .4s ease; }
