@import "https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,100..900;1,100..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Karla:ital,wght@0,200..800;1,200..800&family=Orbitron:wght@400..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap";*{box-sizing:border-box}body{background-color:#0b2434;flex-direction:column;justify-content:center;align-items:center;height:100vh;margin:0;font-family:Karla,sans-serif;display:flex}div#root{width:100%;max-width:400px;height:100%;max-height:400px}main{width:100%;height:auto;overflow:hidden--x;background-color:#f5f5f5;border-radius:10px;flex-direction:column;justify-content:space-between;align-items:center;padding:2rem 1.5rem;display:flex;position:relative;box-shadow:0 10px 30px #00000026}.title{margin:0;font-size:40px}.instructions{text-align:center;margin-top:0;font-family:Inter,sans-serif;font-weight:400}.dice-container{grid-template:auto auto/repeat(5,1fr);gap:15px;margin-bottom:40px;display:grid}.roll-dice{color:#f5f5f5;white-space:nowrap;cursor:pointer;background-color:#5035ff;border:none;border-radius:6px;flex-direction:column;justify-content:center;align-self:center;width:auto;height:50px;padding:6px 21px;font-family:Karla,sans-serif;font-size:1.25rem;font-weight:700;display:flex;position:absolute;bottom:-1.5rem;box-shadow:0 2px 2px #00000026}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.dice-btn{cursor:pointer;background-color:#fff;border:none;border-radius:10px;width:50px;height:50px;font-family:Karla,sans-serif;font-size:1.75rem;font-weight:700;box-shadow:0 2px 2px #00000026}.timer{background-color:#ebebfa;border:1px solid #d5d5fa;border-radius:8px;flex-direction:column;justify-content:space-around;align-items:center;gap:10px;margin-bottom:25px;padding:8px 16px;display:flex}.timer h2{color:#5035ff;letter-spacing:1px;margin:0;font-family:Orbitron,sans-serif;font-size:1.6rem;line-height:1}.timer p{color:#4a4a68;text-transform:uppercase;margin:0;font-family:Inter,sans-serif;font-size:.8rem;font-weight:600}.action-buttons-group{align-items:center;gap:8px;display:flex}.restart-btn,.leaderboard-toggle-btn{color:#5035ff;cursor:pointer;background-color:#fff;border:1px solid #d5d5fa;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;font-size:1.1rem;transition:all .2s;display:flex}.restart-btn:hover,.leaderboard-toggle-btn:hover{color:#f5f5f5;background-color:#5035ff;border-color:#5035ff}.highscores-panel{z-index:10;background:#f5f5f5fa;border-bottom:3px solid #5035ff;border-radius:5px 5px 0 0;flex-direction:column;align-items:center;width:100%;height:auto;padding:20px;transition:top .4s cubic-bezier(.175,.885,.32,1.275);display:flex;position:absolute;top:-100%;left:0;box-shadow:0 10px 20px #00000026}.game-controls-wrapper{background-color:#ebebfa;border:1px solid #d5d5fa;border-radius:10px;justify-content:center;align-items:center;width:100%;max-width:320px;margin-bottom:25px;padding:10px 16px;display:flex}.highscores-panel.open{top:0}.highscores-panel h3{color:#0b2434;margin:0 0 15px;font-family:Inter,sans-serif;font-size:1.2rem}.scores-list{flex-direction:column;gap:10px;width:100%;max-width:280px;margin-bottom:15px;display:flex}.score-row{color:#4a4a68;background:#ebebfa;border-radius:6px;justify-content:space-between;align-items:center;padding:10px 15px;font-family:Inter,sans-serif;font-size:.95rem;font-weight:500;display:flex}.score-row .rank,.score-row .score-time{font-family:Orbitron,sans-serif;font-weight:600}.score-row .rank{color:#5035ff}.close-btn{color:#888;text-transform:uppercase;letter-spacing:1px;cursor:pointer;background:0 0;border:none;padding:5px 10px;font-size:.75rem;font-weight:700;transition:color .2s}.close-btn:hover{color:#ff3555}
