:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#172033;background:#eef3f8}*{box-sizing:border-box}body{margin:0}main{max-width:1100px;margin:auto;padding:22px}header{display:flex;align-items:center;gap:18px;margin-bottom:20px}header a,.back{color:#1769aa;text-decoration:none;font-weight:750}h1{margin:0}.hint{color:#617086}.entries{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.entry{display:flex;gap:10px;align-items:center;min-height:84px;padding:18px;border-radius:16px;background:#fff;color:#172033;text-decoration:none;box-shadow:0 6px 20px #17304f18}.entry span{margin-left:auto;color:#617086;font-size:.9rem}.game-shell{margin-top:16px;padding:18px;border-radius:20px;background:#fff;box-shadow:0 8px 26px #17304f20}.game-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.game-toolbar select,.game-toolbar button{font:inherit;padding:10px 14px;border:1px solid #ccd6e0;border-radius:10px}.game-toolbar button{background:#1769aa;color:#fff;border:0;font-weight:700}.game-area{position:relative;min-height:680px;margin-top:12px;touch-action:none}.board{position:absolute;left:25%;top:20%;width:50%;aspect-ratio:1;display:grid;border:6px solid #fff;background:#dfe7ef;box-shadow:0 6px 22px #1233}.cell{border:1px dashed #8290a2}.piece{position:absolute;z-index:2;background-repeat:no-repeat;box-shadow:0 4px 10px #0004;cursor:grab;touch-action:none;transition:box-shadow .15s}.piece.dragging{z-index:10;box-shadow:0 10px 22px #0006}.piece.placed{box-shadow:none;cursor:default}.success{padding:14px;border-radius:12px;background:#d7f5e6;color:#12643a;font-weight:800;text-align:center}.stats{display:flex;gap:14px}@media(max-width:650px){main{padding:10px}.game-area{min-height:540px}.board{left:20%;top:27%;width:60%}}
