*{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;border:none;padding:0;margin:0;box-sizing:border-box}:root{min-width:100%;min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#333}button{border:1px solid black}button:hover{cursor:pointer;filter:brightness(150%)}.main-container{display:flex;flex-direction:column;gap:10px;justify-content:center;align-items:center;background:#000}table{border:3px solid black;border-collapse:collapse}table thead,table tbody{position:relative}:is(table thead,table tbody) tr{height:60px}:is(table thead,table tbody) tr td,:is(table thead,table tbody) tr th{border:2px solid black;width:60px;max-width:60px}:is(:is(table thead,table tbody) tr td,:is(table thead,table tbody) tr th) button{border:none;height:60px;width:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box}:is(:is(table thead,table tbody) tr td,:is(table thead,table tbody) tr th) button img{width:100%;height:100%;object-fit:cover}:is(table thead,table tbody) tr th{position:relative}:is(table thead,table tbody) tr th p{position:relative;color:#fff}:is(table thead,table tbody) tr th img{height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}:is(table thead,table tbody) tr .first-column{min-width:150px;font-weight:700;text-align:center}.selector-background{z-index:10;min-width:100%;max-width:100%;min-height:100%;max-height:100%;position:fixed;top:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center}.selector-window{position:relative;background:#fff;border-radius:8px;padding:20px;box-shadow:0 4px 8px #0003;display:flex;align-items:center;justify-content:center;flex-direction:column;max-width:90%;max-height:500px}.miscrits-container{margin-top:10px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;overflow:auto}.miscrits-container div{display:flex;align-items:center;justify-content:center;gap:10px}.miscrits-container div button{border:none;background:none;height:80px;max-width:80px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.miscrits-container div button img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.close-button{position:absolute;top:10px;right:10px;background:red;color:#fff;border:none;border-radius:50%;width:30px;height:30px;font-weight:700;cursor:pointer}.fire-cell,.fire-cell button{background-color:#fcc}.nature-cell,.nature-cell button{background-color:#bdb}.water-cell,.water-cell button{background-color:#bbd6ff}.earth-cell,.earth-cell button{background-color:#e2bf9c}.lightning-cell,.lightning-cell button{background-color:#fffec8}.wind-cell,.wind-cell button{background-color:#e0c4ff}.dual-cell,.dual-cell button{background:linear-gradient(45deg,#fcc 30%,#fffec8 70%)}.variant-cell,.variant-cell button{background:radial-gradient(circle,#aaa,#555)}.common-cell,.common-cell button{background-color:#bbb}.rare-cell,.rare-cell button{background-color:#aaf}.epic-cell,.epic-cell button{background-color:#cfc}.exotic-cell,.exotic-cell button{background-color:#db9cff}.legendary-cell,.legendary-cell button{background-color:#ffdf9a}.favorite-cell,.favorite-cell button{background:radial-gradient(circle,#fffec8 35%,#ffca84 75%)}.fire-cell-result,.fire-cell-result button{background-color:#ff8c8c}.nature-cell-result,.nature-cell-result button{background-color:#66b166}.water-cell-result,.water-cell-result button{background-color:#66b3ff}.earth-cell-result,.earth-cell-result button{background-color:#c49668}.lightning-cell-result,.lightning-cell-result button{background-color:#eceb7d}.wind-cell-result,.wind-cell-result button{background-color:#b888f0}.dual-cell-result,.dual-cell-result button{background:linear-gradient(45deg,#ff8c8c 30%,#eceb7d 70%)}.variant-cell-result,.variant-cell-result button{background:radial-gradient(circle,#777,#222)}.common-cell-result,.common-cell-result button{background-color:#999}.common-cell-result .header-img{position:absolute;top:43px;left:43px;width:150%;height:150%}.rare-cell-result,.rare-cell-result button{background-color:#7979ee}.rare-cell-result .header-img{position:absolute;top:43px;left:43px;width:150%;height:150%}.epic-cell-result,.epic-cell-result button{background-color:#89df89}.epic-cell-result .header-img{position:absolute;top:43px;left:43px;width:150%;height:150%}.exotic-cell-result,.exotic-cell-result button{background-color:#b057e4}.exotic-cell-result .header-img{position:absolute;top:43px;left:43px;width:150%;height:150%}.legendary-cell-result{background-color:#ebbd59;position:relative}.legendary-cell-result button{background-color:#ebbd59}.legendary-cell-result .header-img{position:absolute;top:43px;left:43px;width:150%;height:150%}.favorite-cell-result,.favorite-cell-result button{background:radial-gradient(circle,#fffd97 35%,#f0a044 75%)}.favorite-cell-result img{height:36px}.Forest{background:#66b166}.Hidden_Forest{background:#499149;color:#fff}.Mount_Gemma{background:#805c0f;color:#fff}.Cave{background:#4b1d86;color:#fff}.Mansion{background:#dd7676}.Sunfall_Shores{background:#ffd57b}.Moon{background:#e4e0c0}.Shop_Exclusive{background:#ffc62b}.Favorite{background:radial-gradient(circle,#fffd97 35%,#f0a044 75%)}.Dark{background:radial-gradient(circle,#000 35%,#333 75%);color:#fff}.Light{background:radial-gradient(circle,#fff 35%,#aaa 75%)}.Foil{background:linear-gradient(135deg,#66b3ff,#2f2bff,#7c2bff,#ff2be3,#ff792b,#fff12b);color:#fff}.Blighted{background:linear-gradient(135deg,#1d862b,#1bb930,#1cec37)}.dark-cell button{background:#555}.light-cell button{background:#fff}.foil-cell button{background:linear-gradient(135deg,#b4daff,#9f9dff,#bb91ff,#ff92f0,#ffba91,#fff89c);color:#fff}.blighted-cell button{background:linear-gradient(135deg,#7ac284,#82d48d,#90f79e)}.second-table-container{width:100%;display:flex;justify-content:space-between}.buttons-container{padding:10px;display:flex;flex-direction:column;gap:10px;height:100%;justify-content:center}.buttons-container button{background:#ccc;padding:2px;font-weight:700;font-size:16px}.winner img{width:100%;height:100%;object-fit:cover}.cell{overflow:hidden;position:relative}.no-crits{height:100px;border:none;width:2px;background:#000;transform:rotate(45deg);position:absolute;inset:0;margin:auto}.inverted{transform:rotate(-45deg)}
