@import"https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap";.chest-wrapper{display:flex;flex-direction:column;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.chest{position:relative;width:400px;height:400px;transform-style:preserve-3d;transition:transform .3s ease,width .3s ease,height .3s ease;display:flex;align-items:center;justify-content:center;margin-top:-20px}.chest.open{width:300px;height:300px;margin-top:0}.chest-image{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;transition:opacity .3s ease}.chest-label{margin-top:1rem;font-family:"Press Start 2P",monospace;font-size:10px;color:#8b6f47;text-shadow:2px 2px 0px #5a4a2f;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.7}50%{opacity:1}}.chest-glow{position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(ellipse at center,rgba(255,255,200,.3) 0%,transparent 70%);animation:glow 1.5s ease-in-out infinite;pointer-events:none;z-index:1}@keyframes glow{0%,to{opacity:.5}50%{opacity:.8}}.chest-wrapper:hover .chest{transform:scale(1.05)}.chest-wrapper:hover .chest-label{color:#a0825f}.recipe-card{background:#f4e4c1;border:3px solid #8b6f47;border-radius:8px;overflow:hidden;transition:transform .2s,box-shadow .2s;cursor:pointer;display:flex;flex-direction:row;position:relative}.recipe-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0003}.recipe-card.delete-mode:hover{border-color:#d32f2f;position:relative}.recipe-card.delete-mode:hover:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:#d32f2f33;z-index:1;pointer-events:none;border-radius:5px}.recipe-card.highlighted{animation:highlightPulse 1s ease-in-out;border-color:gold;box-shadow:0 0 20px #ffd70099}.cooked-tag{font-weight:700;background-color:#4caf50!important;border-color:#2e7d32!important}.recipe-rating{display:flex;gap:.25rem;margin-top:.5rem;align-items:center}.rating-star-card{display:inline-flex;align-items:center;justify-content:center}.star-icon-card{width:16px;height:16px;image-rendering:pixelated;filter:brightness(0) saturate(100%) invert(35%) sepia(15%) saturate(800%) hue-rotate(15deg) brightness(95%) contrast(85%)}.rating-star-card.filled .star-icon-card{filter:none}@keyframes highlightPulse{0%{transform:scale(1);box-shadow:0 0 20px #ffd700cc}50%{transform:scale(1.02);box-shadow:0 0 30px gold}to{transform:scale(1);box-shadow:0 0 20px #ffd70000}}.recipe-content{flex:1;padding:1rem;position:relative;z-index:2}.recipe-image{width:auto;min-width:250px;max-width:350px;height:auto;overflow:hidden;background:#e8d5b7;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;z-index:2}.recipe-image img{width:auto;height:auto;max-width:100%;max-height:250px;object-fit:contain;display:block;image-rendering:auto}.recipe-title{font-family:"Press Start 2P",monospace;font-size:12px;color:#5a4a2f;margin-bottom:.5rem;line-height:1.4}.recipe-description{font-family:"Press Start 2P",monospace;font-size:8px;color:#6b5537;margin-bottom:.75rem;line-height:1.5}.recipe-meta{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.recipe-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.source-link{font-family:"Press Start 2P",monospace;font-size:7px;color:#5a4a2f;text-decoration:none;display:inline-block;margin-top:.5rem}.source-link:hover{text-decoration:underline}.recipe-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:1.5rem;padding:2rem 0}.loading,.error,.empty-state{text-align:center;padding:3rem;font-family:"Press Start 2P",monospace;font-size:12px;color:#5a4a2f}.error{color:#d32f2f}.empty-state{background:#f4e4c1;border:3px solid #8b6f47;border-radius:8px;padding:2rem}.empty-state p{margin:0;line-height:1.6}.add-recipe-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;padding:2rem}.add-recipe-modal{background:#f4e4c1;border:4px solid #8b6f47;border-radius:8px;padding:1.5rem;max-width:400px;width:100%;box-shadow:0 8px 32px #0006;display:flex;flex-direction:column;justify-content:center;min-height:200px}.modal-title{font-family:"Press Start 2P",monospace;font-size:14px;color:#5a4a2f;text-align:center;margin-bottom:1.5rem;text-shadow:2px 2px 0px #8b6f47}.add-recipe-form{display:flex;flex-direction:column;gap:1rem;justify-content:center;align-items:center}.add-recipe-form .pixel-input{font-family:"Press Start 2P",monospace;font-size:10px;padding:.75rem;border:3px solid #5a4a2f;background:#fff;color:#5a4a2f;border-radius:4px;image-rendering:pixelated;width:100%;box-sizing:border-box}.add-recipe-form .pixel-input:focus{outline:none;border-color:#8b6f47;box-shadow:0 0 0 3px #8b6f474d}.tags-section{display:flex;flex-direction:column;gap:.75rem}.tags-label{font-family:"Press Start 2P",monospace;font-size:9px;color:#5a4a2f}.tags-list{display:flex;flex-wrap:wrap;gap:.5rem}.tag-button{font-family:"Press Start 2P",monospace;font-size:8px;padding:.5rem .75rem;border:2px solid;border-radius:4px;cursor:pointer;transition:all .1s;color:#5a4a2f}.tag-button:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0003}.tag-button.selected{color:#fff}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1rem}.pixel-button{font-family:"Press Start 2P",monospace;font-size:10px;padding:.75rem 1.5rem;background:#8b6f47;color:#f4e4c1;border:3px solid #5a4a2f;border-radius:4px;cursor:pointer;text-transform:uppercase;transition:all .1s;image-rendering:pixelated}.pixel-button:hover:not(:disabled){background:#9b7f57;transform:translateY(-2px);box-shadow:0 4px 8px #0003}.pixel-button:active:not(:disabled){transform:translateY(0)}.pixel-button:disabled{opacity:.6;cursor:not-allowed}.pixel-button.secondary{background:#e8d5b7;color:#5a4a2f}.pixel-button.secondary:hover:not(:disabled){background:#d8c5a7}.recipe-detail-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;padding:2rem}.recipe-detail-modal{background:#f4e4c1;border:4px solid #8b6f47;border-radius:8px;padding:2rem;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 8px 32px #0006;position:relative}.modal-header{display:flex;justify-content:flex-start;align-items:center;margin-bottom:1.5rem}.modal-title{font-family:"Press Start 2P",monospace;font-size:14px;color:#5a4a2f;text-shadow:2px 2px 0px #8b6f47;margin:0;flex:1}.close-button{font-family:"Press Start 2P",monospace;font-size:20px;background:#e8d5b7;border:2px solid #8b6f47;border-radius:4px;color:#5a4a2f;cursor:pointer;padding:.25rem .5rem;line-height:1;transition:all .1s}.close-button:hover{background:#d8c5a7;transform:translateY(-2px)}.recipe-detail-image{width:100%;height:250px;overflow:hidden;background:#e8d5b7;border-radius:4px;margin-bottom:1rem}.recipe-detail-image img{width:100%;height:100%;object-fit:cover}.go-to-recipe-button{display:block;font-family:"Press Start 2P",monospace;font-size:10px;padding:.75rem 1.5rem;background:#ff9800;color:#fff;border:3px solid #e65100;border-radius:4px;text-decoration:none;text-align:center;margin:1rem 0;transition:all .1s;image-rendering:pixelated;text-transform:uppercase}.go-to-recipe-button:hover{background:#ffa726;transform:translateY(-2px);box-shadow:0 4px 8px #0003}.recipe-detail-description{font-family:"Press Start 2P",monospace;font-size:8px;color:#6b5537;line-height:1.5;margin-bottom:1rem}.recipe-detail-meta{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.meta-item{font-family:"Press Start 2P",monospace;font-size:8px;background:#8b6f47;color:#f4e4c1;padding:.25rem .5rem;border-radius:4px}.recipe-detail-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}.tag{font-family:"Press Start 2P",monospace;font-size:7px;color:#fff;padding:.25rem .5rem;border-radius:4px;border:2px solid rgba(0,0,0,.2)}.recipe-detail-actions{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem;padding:1rem;background:#e8d5b7;border-radius:4px;border:2px solid #8b6f47}.action-group{display:flex;align-items:center;gap:1rem}.action-label{font-family:"Press Start 2P",monospace;font-size:9px;color:#5a4a2f;min-width:120px}.pixel-button.cooked{background:#4caf50;color:#fff;border-color:#2e7d32}.pixel-button.cooked:hover:not(:disabled){background:#5cbf60}.rating-buttons{display:flex;gap:.5rem;align-items:center}.rating-star{background:transparent;border:none;cursor:pointer;padding:0;transition:all .1s;width:auto;height:auto;display:inline-flex;align-items:center;justify-content:center}.rating-star:hover:not(:disabled){transform:scale(1.1)}.rating-star:disabled{opacity:.6;cursor:not-allowed}.star-icon{width:32px;height:32px;image-rendering:pixelated;filter:brightness(0) saturate(100%) invert(35%) sepia(15%) saturate(800%) hue-rotate(15deg) brightness(95%) contrast(85%)}.rating-star.filled .star-icon{filter:none}.trashcan-button{position:fixed;right:calc(50vw - 375px);top:calc(12vh + 2rem);background:transparent;border:none;border-radius:4px;padding:.5rem;cursor:pointer;transition:all .1s;image-rendering:pixelated;z-index:1001}@media (max-width: 768px){.trashcan-button{right:1rem;top:calc(5vh + 2rem)}}.trashcan-button:hover:not(:disabled){background:#f4e4c133;border-radius:8px;box-shadow:0 0 12px #f4e4c166;z-index:1002}.trashcan-button:hover:not(:disabled) .trashcan-icon{transform:translateY(-2px)}.trashcan-button:active:not(:disabled) .trashcan-icon{transform:translateY(0)}.trashcan-button:disabled{opacity:.6;cursor:not-allowed}.trashcan-button[data-tooltip]:after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);background:#f4e4c1;color:#5a4a2f;padding:.5rem .75rem;border:2px solid #8b6f47;border-radius:4px;font-family:"Press Start 2P",monospace;font-size:8px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10001}.trashcan-button[data-tooltip]:hover:not(:disabled):after{opacity:1}.trashcan-icon{width:32px;height:32px;image-rendering:pixelated;display:block;transition:transform .1s}.random-recipe-button{position:fixed;right:calc(50vw - 375px);top:50vh;transform:translateY(-50%);background:transparent;border:none;border-radius:4px;padding:.5rem;cursor:pointer;transition:all .1s;image-rendering:pixelated;z-index:1001}@media (max-width: 768px){.random-recipe-button{right:1rem;top:50vh;transform:translateY(-50%)}}.random-recipe-button:hover:not(:disabled){background:#f4e4c133;border-radius:8px;box-shadow:0 0 12px #f4e4c166;z-index:1002}.random-recipe-button:hover:not(:disabled) .random-recipe-icon{transform:translateY(-2px)}.random-recipe-button:active:not(:disabled) .random-recipe-icon{transform:translateY(0)}.random-recipe-button:disabled{opacity:.6;cursor:not-allowed}.random-recipe-button[data-tooltip]:after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);background:#f4e4c1;color:#5a4a2f;padding:.5rem .75rem;border:2px solid #8b6f47;border-radius:4px;font-family:"Press Start 2P",monospace;font-size:8px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10001}.random-recipe-button[data-tooltip]:hover:not(:disabled):after{opacity:1}.random-recipe-icon{width:32px;height:32px;image-rendering:pixelated;display:block;transition:transform .1s}.error-message{font-family:"Press Start 2P",monospace;font-size:8px;color:#d32f2f;background:#ffebee;padding:.5rem;border-radius:4px;border:2px solid #d32f2f;margin-bottom:1rem}.chicken-container{position:fixed;bottom:20px;z-index:1001}.chicken-container.left{left:20px}.chicken-container.right{right:20px}.chicken-appearing{width:64px;height:64px;image-rendering:pixelated;cursor:pointer;transition:transform .1s}.chicken-appearing:hover:not(.sliding-out){transform:scale(1.1)}.chicken-appearing:active:not(.sliding-out){transform:scale(.95)}.chicken-container.left .chicken-appearing{animation:slideInFromLeft .5s ease-out forwards}.chicken-container.right .chicken-appearing{animation:slideInFromRight .5s ease-out forwards}.chicken-container.left .chicken-appearing.sliding-out{animation:slideOutToLeft .5s ease-in forwards}.chicken-container.right .chicken-appearing.sliding-out{animation:slideOutToRight .5s ease-in forwards}@keyframes slideInFromLeft{0%{transform:translate(-100px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideInFromRight{0%{transform:translate(100px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOutToLeft{0%{transform:translate(0);opacity:1}to{transform:translate(-100px);opacity:0}}@keyframes slideOutToRight{0%{transform:translate(0);opacity:1}to{transform:translate(100px);opacity:0}}.chicken-heart{position:absolute;top:-35px;left:50%;transform:translate(-50%);width:32px;height:32px;image-rendering:pixelated;pointer-events:none;animation:heartAppear 1s ease-out forwards;transition:transform .5s ease-in;z-index:1002}.chicken-heart.sliding-out-left{transform:translate(calc(-50% - 100px))}.chicken-heart.sliding-out-right{transform:translate(calc(-50% + 100px))}.slink-container{position:fixed;z-index:1001}.slink-appearing{width:64px;height:auto;image-rendering:pixelated;cursor:pointer;transition:transform .1s;animation:fadeIn .5s ease-out forwards}.slink-appearing:hover:not(.fading-out){transform:scale(1.1)}.slink-appearing:active:not(.fading-out){transform:scale(.95)}.slink-appearing.fading-out{animation:fadeOut .5s ease-in forwards}.slink-heart{position:absolute;top:-5px;left:50%;transform:translate(-50%);width:32px;height:32px;image-rendering:pixelated;pointer-events:none;animation:heartAppear 1s ease-out forwards;z-index:1002}.tubbs-container{position:fixed;z-index:1001}.tubbs-appearing{width:64px;height:auto;image-rendering:pixelated;cursor:pointer;transition:transform .1s;animation:fadeIn .5s ease-out forwards}.tubbs-appearing:hover:not(.fading-out){transform:scale(1.1)}.tubbs-appearing:active:not(.fading-out){transform:scale(.95)}.tubbs-appearing.fading-out{animation:fadeOut .5s ease-in forwards}.tubbs-heart{position:absolute;top:-5px;left:50%;transform:translate(-50%);width:32px;height:32px;image-rendering:pixelated;pointer-events:none;animation:heartAppear 1s ease-out forwards;z-index:1002}.max-container{position:fixed;z-index:1001}.max-appearing{width:64px;height:auto;image-rendering:pixelated;cursor:pointer;transition:transform .1s;animation:fadeIn .5s ease-out forwards}.max-appearing:hover:not(.fading-out){transform:scale(1.1)}.max-appearing:active:not(.fading-out){transform:scale(.95)}.max-appearing.fading-out{animation:fadeOut .5s ease-in forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.max-heart{position:absolute;top:-30px;left:50%;transform:translate(-50%);width:32px;height:32px;image-rendering:pixelated;pointer-events:none;animation:heartAppear 1s ease-out forwards;z-index:1002}@keyframes heartAppear{0%{opacity:0}20%{opacity:1}80%{opacity:1}to{opacity:0}}.loading{text-align:center;padding:3rem;font-size:12px;color:#5a4a2f}.app-title{display:block;margin:.5rem auto 1rem;max-width:35%;height:auto;image-rendering:pixelated;animation:fadeIn .5s ease-in}.chest-container{display:flex;align-items:center;gap:0;justify-content:center;margin-bottom:2rem;flex-direction:column;position:relative}.chest-controls{position:absolute;z-index:10}.chest-controls-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;left:calc(50% + 150px);transform:translate(0);z-index:10}.control-button{background:transparent;border:none;border-radius:8px;padding:.5rem;cursor:pointer;transition:all .1s;image-rendering:pixelated;display:flex;align-items:center;justify-content:center;width:64px;height:64px;position:relative;z-index:1}.control-button:hover{transform:translateY(-2px);z-index:100}.control-button[data-tooltip]:after{content:attr(data-tooltip);position:absolute;bottom:90%;left:50%;transform:translate(-50%);background:#f4e4c1;color:#5a4a2f;padding:.5rem .75rem;border:2px solid #8b6f47;border-radius:4px;font-family:"Press Start 2P",monospace;font-size:8px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10001}.control-button[data-tooltip]:hover{z-index:100}.control-button[data-tooltip]:hover:after{opacity:1}.control-button:active{transform:translateY(0)}.control-icon{width:32px;height:32px;image-rendering:pixelated}.add-button .control-icon{width:40px;height:40px}.favorite-button .control-icon{width:24px;height:24px}.favorite-button.active{background:#9c27b033;border-radius:8px}.favorite-button.active .control-icon{filter:brightness(1.2)}.dish-button.active{background:#8b6f4733;border-radius:8px}.dish-button.active .control-icon{filter:brightness(1.2)}.trash-button.active{background:#d32f2f33;border-radius:8px}.trash-button.active .control-icon{filter:brightness(1.2)}.search-button.active{background:#8b6f4733;border-radius:8px}.search-button.active .control-icon{filter:brightness(1.2)}.search-container{display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;gap:.5rem;max-width:600px;margin-left:auto;margin-right:auto;animation:fadeIn .3s ease-in}.search-input{font-family:"Press Start 2P",monospace;font-size:10px;padding:.75rem 1rem;border:3px solid #5a4a2f;background:#fff;color:#5a4a2f;border-radius:4px;image-rendering:pixelated;flex:1;max-width:500px;box-sizing:border-box}.search-input:focus{outline:none;border-color:#8b6f47;box-shadow:0 0 0 3px #8b6f474d}.search-input::placeholder{color:#8b6f47;opacity:.6}.search-clear-button{font-family:"Press Start 2P",monospace;font-size:16px;width:40px;height:40px;border:3px solid #5a4a2f;background:#e8d5b7;color:#5a4a2f;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .1s;line-height:1;padding:0}.search-clear-button:hover{background:#d8c5a7;transform:translateY(-2px)}.search-clear-button:active{transform:translateY(0)}.chest-content{animation:fadeIn .5s ease-in;max-width:1200px;margin:0 auto}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:"Press Start 2P",monospace;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(315deg,#87ceeb,#98d8c8)!important;background-attachment:fixed;min-height:100vh;image-rendering:pixelated}.app{min-height:100vh;padding:2rem;max-width:1400px;margin:0 auto}header{text-align:center;margin-bottom:2rem}header h1{font-size:24px;color:#5a4a2f;margin-bottom:.5rem;text-shadow:3px 3px 0px #8b6f47,6px 6px 0px rgba(0,0,0,.2)}header p{color:#6b5537;font-size:10px}main{max-width:1200px;margin:0 auto}
