
:root{font-family:Inter,system-ui,sans-serif;color:#f3f8ff;background:#0d1526}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% -30%,#304e8b 0%,#0d1526 70%)}
main{max-width:960px;margin:auto;padding:28px 18px 65px}
nav{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
a{color:#94eae8;text-decoration:none}nav a{font-weight:650}h1{font-size:clamp(32px,5vw,54px);margin:10px 0 8px;letter-spacing:-.035em}p{line-height:1.55;color:#b9c8df}
.hero{display:flex;align-items:center;gap:20px;margin:26px 0}.hero img{width:112px;height:112px;border-radius:27px;box-shadow:0 12px 30px #04091278}.tag{color:#7adbd2;font-size:12px;letter-spacing:.13em;font-weight:700}
.card{border:1px solid #38506b;border-radius:26px;background:#16233b;box-shadow:0 24px 70px #0105136e;max-width:660px;margin:20px auto;padding:22px;text-align:center}
.scorebar{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#203350;padding:12px 16px;border-radius:14px;margin:0 0 18px;font-weight:700}.muted{color:#a2b6d2;font-weight:400}
#board{min-height:250px;display:grid;gap:8px;justify-content:center;align-content:center;margin:18px 0}
.game-btn{font-size:clamp(20px,5vw,34px);font-weight:800;cursor:pointer;border:1px solid #ffffff46;color:#fff;background:linear-gradient(160deg,#385b86,#253851);border-radius:13px;display:flex;align-items:center;justify-content:center;aspect-ratio:1;box-shadow:inset 0 3px #ffffff24,0 5px 0 #111a30;min-height:44px;user-select:none}
.game-btn:active{transform:translateY(3px);box-shadow:inset 0 2px #ffffff20,0 2px #111a30}.game-btn[disabled]{opacity:.25;cursor:default}
.actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:14px 0}button.action{background:#66e8cb;color:#062d35;padding:12px 22px;border:0;border-radius:12px;font-size:15px;font-weight:800;cursor:pointer}
button.action.alt{background:#334c6c;color:#eff5ff}#message{color:#b9cde7;min-height:48px;font-size:15px}footer{font-size:13px;color:#95a6bd;padding:30px 0;text-align:center}
@media(max-width:550px){.card{padding:14px}.game-btn{border-radius:8px}.hero img{width:76px;height:76px}.hero{gap:13px}}
