@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes pulse-rotate{0%{transform:rotate(0)scale(1)}50%{transform:rotate(180deg)scale(1.1)}100%{transform:rotate(360deg)scale(1)}}.pulse-rotate{animation:pulse-rotate 2s infinite ease-in-out}#game-container{display:grid;grid-template-areas:"top-ui" "game-board" "score-area" "deck-tracker" "bottom-controls";gap:20px;background:#f6c4e8;padding:20px;border-radius:8px;box-shadow:0 4px 8px rgba(0,0,0,.1);width:95%;max-width:800px;margin:1rem auto;transition:transform .2s ease-out;color:#4c447c}#main-content .game-title{color:#fff!important;text-align:center;margin-bottom:1rem}#main-content .game-howto{text-align:center;margin-bottom:1rem}#main-content .game-howto .nav-link{color:#fff;text-decoration:underline}#main-content .game-howto .nav-link:hover{color:#f6c4e8}#top-ui{grid-area:top-ui;display:flex;justify-content:center;align-items:flex-start;flex-wrap:wrap;gap:40px}#card-storage-area{display:flex;align-items:center;gap:30px}#reserve-area,#discard-area{display:flex;flex-direction:column;align-items:center;gap:5px}#score-area{grid-area:score-area;display:flex;flex-direction:row;align-items:baseline;gap:15px;justify-content:center;background:#b3a0f4;padding:10px;border-radius:8px}.card-container-label,.score-label{font-weight:700;font-size:1.35em;color:#fff}.card-display{flex:0 0 80px;width:80px;height:110px;border:2px solid #b3a0f4;border-radius:8px;display:flex;justify-content:center;align-items:center;font-size:1.5em;background-color:#fff;color:#000}.card-back{background-color:#4c447c!important;background-image:repeating-linear-gradient(45deg,rgba(255,255,255,.1),rgba(255,255,255,.1) 1px,transparent 1px,transparent 5px)!important;color:transparent!important;border-color:#fff!important}#secondary-storage{display:flex}.reserve-slot{width:80px;height:110px;border:2px dashed #b3a0f4;border-radius:8px;background-color:#fed2e2;font-size:1.5em;display:flex;justify-content:center;align-items:center;color:#4c447c;position:relative;transition:all .2s ease-out}.reserve-slot:not(:empty){background-color:#fff;color:#000;border-style:solid;box-shadow:0 2px 4px rgba(0,0,0,.2)}.reserve-slot:nth-child(1){z-index:2}.reserve-slot:nth-child(2){z-index:1;margin-left:-20px}.reserve-slot:nth-child(1):hover{transform:translateY(-5px)scale(1.05);z-index:10}#bottom-controls{grid-area:bottom-controls;display:flex;justify-content:center;align-items:center;gap:30px}#zoom-controls{display:flex;gap:5px}#zoom-in,#zoom-out{width:50px;height:50px;border:none;background-color:#c68efd;color:#fff;border-radius:50%;cursor:pointer;font-size:1.2em;font-weight:700;line-height:1;display:flex;justify-content:center;align-items:center}#zoom-in:hover,#zoom-out:hover{background-color:#b3a0f4}#card-storage[draggable=true],.reserve-slot[draggable=true],.game-button[draggable=true]{cursor:grab}.game-button[data-placed-this-turn=true]{outline:3px solid #c68efd;outline-offset:-3px}.game-button.locked-card{cursor:default}.card-display:empty:not(.card-back),.reserve-slot:empty{cursor:default;background-color:#fed2e2}#discard-pile.drag-over,.game-button.drag-over,#secondary-storage.drag-over{background-color:#e9a5f1!important}#discard-pile.discard-full{border-color:#f88;background-color:#f0f0f0;cursor:not-allowed}#score{font-size:2em;font-weight:700;color:#fff}#score-breakdown{margin-top:0}.score-line{font-size:1.35em;color:#fff;padding:2px 0;opacity:0;transition:opacity .5s ease-out}.new-game-btn,#end-turn{width:70px;height:70px;flex:0 0 70px;border-radius:50%;color:#000;cursor:pointer;font-size:4em;transition:all .2s ease-out;align-self:center;display:flex;justify-content:center;align-items:center;text-align:center;position:relative;background:0 0!important;border:none;z-index:1;padding:0}.new-game-btn::before,#end-turn::before{content:'';position:absolute;top:-5px;left:-5px;right:-5px;bottom:-5px;border-radius:50%;background:repeating-conic-gradient(white 0% 10%,#4C447C 10% 20%);z-index:-2;transition:all .2s ease-out;box-shadow:0 4px 8px rgba(0,0,0,.4)}.new-game-btn::after,#end-turn::after{content:'';position:absolute;top:5px;left:5px;right:5px;bottom:5px;border-radius:50%;z-index:-1;transition:all .2s ease-out;background:#fff}#bottom-controls .new-game-btn::after{box-shadow:inset 0 0 0 5px white}#bottom-controls #end-turn::after{box-shadow:inset 0 0 0 5px #e0e0e0}.new-game-btn:hover,#end-turn:not(:disabled):hover{transform:translateY(-2px)}.new-game-btn:hover::before,#end-turn:not(:disabled):hover::before{box-shadow:0 6px 12px rgba(0,0,0,.5)}.new-game-btn:disabled,#end-turn:disabled{cursor:not-allowed;transform:translateY(0)}.new-game-btn:disabled::before,#end-turn:disabled::before{background:repeating-conic-gradient(#ccc 0% 10%,#666 10% 20%);animation:none;box-shadow:0 2px #666,0 4px 5px rgba(0,0,0,.2)}.new-game-btn:disabled::after,#end-turn:disabled::after{background:#ccc;box-shadow:inset 0 0 0 5px #ccc}#game-board{grid-area:game-board;display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(5,1fr);gap:5px;aspect-ratio:1/1}.game-button{width:100%;height:100%;border:2px dashed #b3a0f4;background-color:#fed2e2;font-size:2.7em;border-radius:8px;transition:background-color .2s;color:#4c447c;padding:0;cursor:default}.game-button:not(:empty){border-style:solid;background-color:#fff;color:#000;box-shadow:1px 1px 3px rgba(0,0,0,.2)}.card-content{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%}.card-value{font-size:1em}.card-suit{font-size:1.064em}#deck-tracker{grid-area:deck-tracker;background:#b3a0f4;padding:15px;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,5%)}#deck-tracker h3{margin:0 0 10px;text-align:center;color:#fff}#deck-tracker-icons{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px}.deck-line{display:flex;align-items:center;gap:10px}.deck-suit-group{display:flex;align-items:center;gap:5px}#deck-tracker .suit-symbol-inline{font-size:1.2em}#deck-tracker .deck-values{font-size:.7em;color:#fff}#game-container .red-card .card-suit,#game-container .red-card,#rules .red-card,.floating-card.red-card,#deck-tracker .red-suit{color:red!important}#game-container .black-card .card-suit,#game-container .black-card,#rules .black-card,.floating-card.black-card,#deck-tracker .black-suit{color:#000!important}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.6);display:none;justify-content:center;align-items:center;z-index:1000}.overlay-content{background-color:#fff;color:#333;padding:30px;border-radius:8px;text-align:center;box-shadow:0 5px 15px rgba(0,0,0,.3);display:flex;flex-direction:column;align-items:center}#score-overlay .new-game-btn{width:70px!important;height:70px;flex:0 0 70px;margin-left:auto;margin-right:auto;margin-top:20px}#score-overlay .score-line{opacity:1;text-align:left;width:100%;color:#000}#final-score-text{font-size:1.8em;font-weight:400;margin-top:10px;margin-bottom:15px;color:#555}#nft-message{font-size:6.6em;font-weight:700;margin-bottom:15px;color:#4c447c}.mint-button{display:inline-block;background-color:#c68efd;color:#fff;padding:12px 24px;border-radius:25px;text-decoration:none;font-weight:700;font-size:1.1em;margin-top:15px;transition:background-color .2s,transform .2s;box-shadow:0 2px 5px rgba(0,0,0,.2)}.mint-button:hover{background-color:#b3a0f4;transform:translateY(-2px)}.mint-button[aria-disabled=true]{background-color:#b3a0f4;opacity:.75;cursor:not-allowed;pointer-events:none;box-shadow:none}.mint-button[aria-disabled=true]:hover{background-color:#b3a0f4;transform:none}#rules{margin:20px auto;background-color:#f6c4e8;color:#333;padding:15px;border-radius:8px;width:95%;max-width:800px}#rules p{text-align:left!important;color:#333;margin-bottom:1em}#rules h2,#rules h3{color:#4c447c;margin-bottom:1em}#rules ul{padding-left:20px;list-style-position:inside;text-align:left!important}#rules table{width:100%;border-collapse:collapse;margin-top:10px}#rules th,#rules td{border:1px solid #ddd;padding:8px;text-align:left;color:#333}#rules th{background-color:#f2f2f2}#rules .card-example{font-family:monospace;font-size:1.1em}.floating-card{position:fixed;pointer-events:none;z-index:2000;width:80px;height:110px;border-radius:8px;display:none;justify-content:center;align-items:center;font-size:1.5em;animation:psychedelic-bg 3s linear infinite}@keyframes psychedelic-bg{0%,100%{background-color:#c68efd;border-color:#8f87f1}20%{background-color:#8f87f1;border-color:#b3a0f4}40%{background-color:#b3a0f4;border-color:#f6c4e8}60%{background-color:#f6c4e8;border-color:#fed2e2}80%{background-color:#fed2e2;border-color:#e9a5f1}}.game-button.highlight-hand-1,.game-button.highlight-hand-2,.game-button.highlight-hand-3,.game-button.highlight-hand-4,.game-button.highlight-hand-5,.game-button.highlight-hand-6{background-color:#c68efd!important;border:2px solid #fff!important;color:#fff!important;animation:none}@media(max-width:768px){#game-container{width:100%;padding:10px}#top-ui{flex-direction:column;align-items:center;gap:20px}#deck-tracker-icons{flex-wrap:wrap;gap:10px}#secondary-storage{flex-wrap:wrap;justify-content:center}.reserve-slot{width:60px;height:90px;font-size:1.2em}.reserve-slot:nth-child(2){margin-left:-15px}.card-display{width:60px;height:90px;font-size:1.2em}.game-button{font-size:2em}.card-value{font-size:.8em}.card-suit{font-size:.7em}}