*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;min-width:320px;min-height:100%}body{display:grid;place-items:center;overflow:hidden;min-height:100dvh;background:#ffe9bd;font-family:Trebuchet MS,Avenir Next,Segoe UI,sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased}button{font:inherit}.fridge-shell{position:relative;width:min(100vw,430px,calc(100dvh * 750 / 1334));aspect-ratio:750 / 1334;height:auto;margin:0 auto;overflow:hidden;background:linear-gradient(180deg,#fff5dc,#ffc977);touch-action:none;-webkit-user-select:none;user-select:none;align-self:center}.fridge-boot-shell{display:grid;place-items:center;padding:28px}.fridge-boot-card{position:relative;width:min(100%,320px);padding:26px 24px 24px;border:4px solid rgba(255,255,255,.72);border-radius:28px;background:radial-gradient(circle at top left,rgba(255,255,255,.75),transparent 36%),linear-gradient(180deg,#fff9eaf5,#ffefcdf0);box-shadow:0 18px 48px #673e1a2e;text-align:center;color:#6a341d}.fridge-boot-card--skeleton{width:min(100%,360px);padding:16px}.fridge-boot-card--transition{width:min(100%,360px);padding:18px 18px 22px}.fridge-boot-badge{display:inline-flex;align-items:center;justify-content:center;min-width:124px;margin-bottom:14px;padding:7px 14px;border-radius:999px;background:#63d0b22e;color:#2c9b7f;font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.fridge-boot-card h1{margin:0 0 8px;font-size:28px;line-height:1}.fridge-boot-card p{margin:0;color:#8b664b;font-size:15px;line-height:1.45;font-weight:700}.fridge-boot-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:18;display:grid;place-items:center;opacity:0;pointer-events:none;transition:opacity .24s ease}.fridge-boot-overlay.visible{opacity:1}.fridge-boot-overlay--swap{z-index:16}.fridge-boot-overlay__veil{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at top center,rgba(255,255,255,.22),transparent 34%),linear-gradient(180deg,#fff2d4ad,#ffdc9cd1);-webkit-backdrop-filter:blur(8px) saturate(1.04);backdrop-filter:blur(8px) saturate(1.04)}.fridge-boot-overlay--swap .fridge-boot-overlay__veil{background:radial-gradient(circle at top center,rgba(255,255,255,.16),transparent 32%),linear-gradient(180deg,#fff3d62e,#ffe0aa47);-webkit-backdrop-filter:blur(4px) saturate(1.02);backdrop-filter:blur(4px) saturate(1.02)}.fridge-boot-overlay__card{position:relative;z-index:1;width:min(82%,330px);padding:18px 18px 22px;border:3px solid rgba(255,255,255,.72);border-radius:30px;background:linear-gradient(180deg,#fff9eceb,#fff1d6e0);box-shadow:0 18px 60px #673e1a29;text-align:center}.fridge-boot-overlay.visible .fridge-boot-overlay__card{animation:fridgeBootCardIn .26s cubic-bezier(.22,1,.36,1)}.fridge-boot-overlay--swap .fridge-boot-overlay__card{width:min(74%,286px);padding:14px 16px 18px;border-width:2px;border-radius:24px;background:linear-gradient(180deg,#fff9ecc7,#fff0d4b8);box-shadow:0 12px 30px #673e1a1a}.fridge-boot-overlay__card strong{display:block;margin-top:14px;color:#6a341d;font-size:28px;line-height:1.05}.fridge-boot-overlay--swap .fridge-boot-overlay__card strong{margin-top:10px;font-size:22px}.fridge-boot-overlay__card p{margin:8px 8px 0;color:#8b664b;font-size:14px;line-height:1.4;font-weight:700}.fridge-boot-overlay--swap .fridge-boot-overlay__card p{margin-top:6px;font-size:13px}.fridge-boot-portal{position:relative;height:250px;margin-top:8px;border-radius:26px;overflow:hidden;background:radial-gradient(circle at top center,rgba(255,255,255,.72),transparent 26%),linear-gradient(180deg,#fff5dd,#ffe7b8 56%,#ffd38c)}.fridge-boot-overlay--swap .fridge-boot-portal{height:176px;margin-top:2px;border-radius:20px}.fridge-boot-overlay--swap .fridge-boot-badge{min-width:102px;margin-bottom:10px;padding:6px 12px;font-size:12px}.fridge-boot-portal__glow{position:absolute;left:50%;top:18px;width:120px;height:26px;border-radius:999px;background:radial-gradient(circle,#ffefc0eb,#ffefc000);transform:translate(-50%);filter:blur(6px);animation:fridgeBootPulse 1.6s ease-in-out infinite}.fridge-boot-portal__frame{position:absolute;top:18px;right:18px;bottom:16px;left:18px;display:grid;grid-template-columns:1.4fr .72fr;gap:14px}.fridge-boot-portal__shelves,.fridge-boot-portal__door{position:relative;border-radius:24px;background:#ffffff8a;box-shadow:inset 0 0 0 3px #ffffffd1,inset 0 -14px 28px #e5d0ab3d}.fridge-boot-portal__shelves span,.fridge-boot-portal__door span{position:absolute;left:12%;right:12%;height:7px;border-radius:999px;background:linear-gradient(180deg,#bcdfd7eb,#8ec3b7b8)}.fridge-boot-portal__shelves span:nth-child(1){top:26%}.fridge-boot-portal__shelves span:nth-child(2){top:49%}.fridge-boot-portal__shelves span:nth-child(3){top:72%}.fridge-boot-portal__door span{left:10%;right:10%;height:16%;border-radius:14px 14px 22px 22px;background:#c1ddd6eb}.fridge-boot-portal__door span:nth-child(1){top:8%}.fridge-boot-portal__door span:nth-child(2){top:39%}.fridge-boot-portal__door span:nth-child(3){top:72%}.fridge-boot-portal__items i{position:absolute;bottom:24px;width:24px;border-radius:12px 12px 10px 10px;background:linear-gradient(180deg,#ffffffbd,#ffffff24);box-shadow:0 4px 12px #7350281f;animation:fridgeBootFloat 1.8s ease-in-out infinite}.fridge-boot-portal__items i:nth-child(1){left:28%;height:52px;background-color:#82d1b4e6;animation-delay:0s}.fridge-boot-portal__items i:nth-child(2){left:41%;height:46px;background-color:#ffb472e6;animation-delay:.15s}.fridge-boot-portal__items i:nth-child(3){right:18%;bottom:50px;height:42px;background-color:#ff7070db;animation-delay:.3s}.fridge-boot-portal__items i:nth-child(4){right:8%;bottom:94px;height:34px;background-color:#ffdd5fe6;animation-delay:.45s}@keyframes fridgeSkeletonShimmer{0%{background-position:-220px 0}to{background-position:calc(100% + 220px) 0}}@keyframes fridgeBootPulse{0%,to{opacity:.72;transform:translate(-50%) scale(1)}50%{opacity:1;transform:translate(-50%) scale(1.08)}}@keyframes fridgeBootFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes fridgeBootCardIn{0%{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.fridge-game-mount,.fridge-game-mount canvas{display:block;width:100%;height:100%}.fridge-react-hud{position:absolute;z-index:10;top:12px;left:18px;right:18px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;pointer-events:none}.fridge-react-hud span,.fridge-coin-pill,.fridge-react-hud b,.fridge-toast,.fridge-result{border:4px solid rgba(255,255,255,.72);background:#fff8e6eb;box-shadow:0 10px 24px #673e1a29}.fridge-react-hud span,.fridge-coin-pill,.fridge-react-hud b{min-width:92px;padding:6px 12px;border-radius:999px;color:#5b2c1d;font-size:20px;text-align:center}.fridge-coin-pill{justify-self:center;min-width:110px;color:#6a3a1c;background:#fffaecf5}.fridge-title-card{position:absolute;z-index:9;top:70px;left:28px;right:28px;padding:4px 16px 0;text-align:center;pointer-events:none}.fridge-title-card h1{margin:0;color:#6a341d;font-size:34px;line-height:1}.fridge-title-card p{margin:3px 0 0;color:#9d7154;font-size:15px;font-weight:800}.fridge-progress-note{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.fridge-progress-note span{padding:4px 10px;border-radius:999px;color:#6e4730;background:#ffffff9e;font-size:12px;font-weight:800}.fridge-goal-card{display:flex;align-items:center;justify-content:center;gap:8px;margin:8px auto 0;padding:7px 12px;max-width:320px;border-radius:16px;background:#fff9eae6;box-shadow:0 8px 22px #663f1c1a}.fridge-goal-card strong{flex:0 0 auto;color:#2c9b7f;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.fridge-goal-card span{overflow:hidden;color:#7a5438;font-size:12px;font-weight:800;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.fridge-toast{position:absolute;z-index:10;left:28px;right:28px;bottom:24px;padding:9px 14px;border-radius:18px;color:#70432a;text-align:center;font-weight:800;pointer-events:none}.fridge-result{position:absolute;z-index:12;left:34px;right:34px;bottom:96px;padding:20px 18px 18px;border-radius:32px;text-align:center;color:#5b2c1d;overflow:hidden;background:radial-gradient(circle at top center,rgba(255,255,255,.64),transparent 28%),linear-gradient(180deg,#fffbf2f0,#fff0d4e6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.fridge-result--celebrate:after{content:"";position:absolute;top:12px;right:12px;bottom:12px;left:12px;border-radius:26px;border:1px solid rgba(255,255,255,.42);pointer-events:none}.fridge-result-sparkles{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.fridge-result-sparkles span{position:absolute;width:14px;height:14px;border-radius:999px;background:radial-gradient(circle,#ffffffeb,#fff5be33);box-shadow:0 0 18px #ffe8a0cc;animation:fridgeResultTwinkle 1.8s ease-in-out infinite}.fridge-result-sparkles span:nth-child(1){top:18px;left:58px;animation-delay:0s}.fridge-result-sparkles span:nth-child(2){top:28px;right:64px;animation-delay:.35s}.fridge-result-sparkles span:nth-child(3){bottom:28px;right:104px;animation-delay:.7s}.fridge-result small{color:#58aa8d;letter-spacing:.12em;font-weight:800}.fridge-result-stars{display:flex;justify-content:center;gap:8px;margin:4px 0 2px}.fridge-result-stars span{font-size:42px;color:#d4c8b8;transition:transform .3s ease,color .3s ease}.fridge-result-stars span.earned{color:#ffd166;text-shadow:0 2px 12px rgba(255,184,0,.55);animation:star-pop .45s cubic-bezier(.34,1.56,.64,1) both}.fridge-result-stars span.earned:nth-child(1){animation-delay:.3s}.fridge-result-stars span.earned:nth-child(2){animation-delay:.5s}.fridge-result-stars span.earned:nth-child(3){animation-delay:.7s}@keyframes star-pop{0%{transform:scale(0) rotate(-30deg);opacity:0}to{transform:scale(1) rotate(0);opacity:1}}.fridge-result h1{margin:4px 0 10px;font-size:38px;line-height:1}.fridge-result-reward{display:inline-flex;align-items:center;justify-content:center;min-width:124px;margin:0 0 10px;padding:7px 14px;border-radius:999px;color:#7a4c14;background:linear-gradient(180deg,#fff8d0fa,#ffe89cf0);border:2px solid rgba(255,255,255,.88);box-shadow:0 10px 22px #ba93302e;font-size:17px;font-weight:900;letter-spacing:.02em}.fridge-result button{border:0;border-radius:999px;padding:12px 26px;color:#fff;background:linear-gradient(180deg,#89dd39,#55bc28);font-weight:900;box-shadow:0 10px 20px #54b02342}.fridge-result p{margin:4px 10px 16px;color:#8b664b;font-size:17px;font-weight:800;line-height:1.35}.fridge-result-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.fridge-result button.secondary{color:#6a3a1c;background:#ffffffd9}.fridge-editor{position:absolute;z-index:20;right:10px;bottom:76px;width:min(400px,calc(100% - 20px));padding:10px;border-radius:16px;background:#fff8e6f5;box-shadow:0 10px 28px #49281533;max-height:min(48vh,420px);overflow:auto}.fridge-editor-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.fridge-editor b{display:block;color:#5b2c1d}.fridge-editor button{border:0;border-radius:999px;padding:7px 12px;color:#fff;background:linear-gradient(180deg,#63d0b2,#289b84);font-weight:800}.fridge-editor-controls{display:grid;gap:8px;margin-bottom:8px;padding:8px;border-radius:14px;background:#ffffff8c}.fridge-editor-chip{justify-self:start;padding:4px 10px;border-radius:999px;color:#5b2c1d;background:#ffcf5852;font-size:12px;font-weight:800}.fridge-editor-meta{display:flex;flex-wrap:wrap;gap:6px}.fridge-editor-meta span{padding:2px 7px;border-radius:999px;color:#6e4730;background:#ffffffb8;font-size:11px;font-weight:700}.fridge-editor-grid,.fridge-editor-row{display:grid;gap:6px}.fridge-editor-grid,.fridge-editor-row{grid-template-columns:repeat(4,1fr)}.fridge-editor textarea{width:100%;height:108px;resize:none;border:1px solid rgba(91,44,29,.2);border-radius:10px;padding:8px;font:11px/1.35 Consolas,monospace}.fridge-editor-grid button,.fridge-editor-row button{padding:8px 6px;font-size:12px}@media(min-width:720px){.fridge-shell{width:min(430px,calc(94vh * 750 / 1334));max-height:94vh;border-radius:28px;box-shadow:0 30px 90px #5c351759}}.fridge-lang-switch{position:absolute;z-index:15;top:10px;right:10px;display:flex;gap:4px;padding:3px;border-radius:999px;background:#fff8e6eb;border:3px solid rgba(255,255,255,.72);box-shadow:0 8px 20px #673e1a24}.fridge-lang-switch a{min-width:34px;padding:4px 8px;border-radius:999px;color:#6e4730;font-size:12px;font-weight:800;text-align:center;text-decoration:none}.fridge-quick-actions{position:absolute;z-index:12;left:14px;right:14px;bottom:16px;display:flex;justify-content:space-between;gap:10px;pointer-events:none}.fridge-quick-pill{min-width:98px;height:50px;align-self:center;border:3px solid rgba(255,255,255,.82);border-radius:999px;padding:0 16px;color:#6a3a1c;background:linear-gradient(180deg,#fff9ecf0,#ffeecce0);box-shadow:0 8px 16px #673e1a1f;display:inline-flex;align-items:center;justify-content:center;gap:8px;pointer-events:auto;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:transform .16s ease,background .16s ease,opacity .16s ease,box-shadow .16s ease}.fridge-quick-pill strong{font-size:15px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.fridge-quick-pill span{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:30px;padding:0 10px;border-radius:999px;background:#ffffffeb;font-size:18px;font-weight:900;color:#8b4513;box-shadow:0 2px 4px #0000001a}.fridge-quick-pill:hover,.fridge-quick-pill:focus-visible{background:linear-gradient(180deg,#fffaf0fa,#fff2d6f0);transform:translateY(-1px) scale(1.03);box-shadow:0 10px 18px #673e1a29}.fridge-quick-pill:disabled{opacity:.5;transform:none}.fridge-quick-pill.low-coins{box-shadow:0 0 0 3px #ffda743d,0 8px 16px #673e1a1f}.fridge-quick-pill.accent{background:linear-gradient(180deg,#89dd39,#55bc28);border-color:#ffffffeb;color:#fff}.fridge-quick-pill.accent strong{color:#fff}.fridge-quick-pill.accent span{color:#2d6a0a;background:#fffffff2}.fridge-quick-pill.danger{background:linear-gradient(180deg,#ff8b6e,#e85d3a);border-color:#ffffffeb;color:#fff}.fridge-quick-pill.danger strong{color:#fff}.fridge-quick-pill.danger span{color:#8b1a00;background:#fffffff2}.fridge-quick-btn{width:38px;height:38px;border:3px solid rgba(255,255,255,.78);border-radius:999px;padding:0;color:#6a3a1c;background:#fff8e6b8;box-shadow:0 6px 14px #673e1a1a;font-size:0;font-weight:800;line-height:1;pointer-events:auto;text-align:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);transition:transform .16s ease,background .16s ease,opacity .16s ease;opacity:.84}.fridge-quick-btn:before{content:attr(data-icon);display:grid;place-items:center;width:100%;height:100%;font-size:20px;line-height:1}.fridge-quick-btn:hover,.fridge-quick-btn:focus-visible{background:#fff8e6f5;opacity:1;transform:translateY(-1px) scale(1.03)}.fridge-quick-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.fridge-quick-btn.subtle{color:#8b664b;background:#ffffffa3}.fridge-lang-switch a.active{color:#fff4b0;background:linear-gradient(180deg,#63d0b2,#289b84)}@media(max-height:780px){.fridge-title-card h1{font-size:30px}.fridge-title-card p{font-size:13px}.fridge-goal-card{gap:6px;padding:6px 10px}.fridge-goal-card span{font-size:12px}.fridge-result{bottom:84px;left:28px;right:28px}}@keyframes fridgeResultTwinkle{0%,to{transform:scale(.82);opacity:.44}50%{transform:scale(1.18);opacity:1}}
