:root{--bg-body: #050816;--bg-card: rgba(15, 23, 42, .9);--bg-card-soft: rgba(15, 23, 42, .75);--border-subtle: rgba(148, 163, 184, .35);--accent-primary: #22c55e;--accent-primary-soft: rgba(34, 197, 94, .16);--accent-warm: #f97316;--text-main: #e5e7eb;--text-muted: #9ca3af;--text-soft: #6b7280}.tetris-root{min-height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at top,#111827 0,transparent 55%),radial-gradient(circle at bottom,#020617 0 55%);font-family:system-ui,-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif;color:var(--text-main)}.tetris-container{background:var(--bg-card);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:20px;border:1px solid var(--border-subtle);padding:18px 20px 20px;box-shadow:0 24px 60px #0f172ae6,0 0 0 1px #0f172ab3;display:flex;flex-direction:column;gap:14px;max-width:820px}.tetris-titlebar{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#22c55e,#0ea5e9);border-radius:999px;padding:4px 12px;box-shadow:0 12px 35px #22c55e66}.tetris-logo{width:26px;height:26px;border-radius:9px;background:radial-gradient(circle at 30% 30%,#e5e7eb,#111827);border:1px solid rgba(15,23,42,.85);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.8rem;letter-spacing:.06em;color:#0f172a}.tetris-titlebar-text{display:flex;flex-direction:column;line-height:1.1}.tetris-titlebar-text .title-main{font-size:.9rem;font-weight:600}.tetris-titlebar-text .title-sub{font-size:.75rem;text-transform:uppercase;letter-spacing:.16em;opacity:.9}.tetris-header{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid rgba(148,163,184,.25);padding-bottom:10px;margin-top:2px}.tetris-title{margin:0;font-size:1.35rem;font-weight:550;letter-spacing:.02em}.tetris-stats{display:flex;gap:14px;font-size:.9rem;color:var(--text-soft)}.tetris-stats div{background:#0f172ae6;border-radius:999px;padding:4px 10px;border:1px solid rgba(148,163,184,.3)}.tetris-main{display:flex;gap:18px;margin-top:6px}.tetris-board{background:radial-gradient(circle at top,#020617,#020617 55%);border-radius:16px;padding:10px;box-shadow:inset 0 0 0 1px #0f172ae6,0 18px 40px #0f172ae6;position:relative}.tetris-row{display:flex;justify-content:center}.tetris-cell{width:22px;height:22px;margin:1px;border-radius:6px;box-shadow:inset 0 0 0 1px #0f172ae6,0 3px 6px #0f172ab3;transition:transform .08s ease,box-shadow .08s ease,background-color .12s ease}.ghost-cell{box-shadow:inset 0 0 0 1px #94a3b8e6,0 0 0 1px #94a3b866;border-radius:6px}.tetris-sidebar{display:flex;flex-direction:column;gap:14px;min-width:200px}.sidebar-section{background:var(--bg-card-soft);border-radius:14px;padding:10px 12px;border:1px solid rgba(31,41,55,.9);box-shadow:0 12px 30px #0f172ab3}.sidebar-section h2{margin:0 0 6px;font-size:.9rem;font-weight:500;color:var(--text-main)}.next-preview{background:#020617;border-radius:10px;padding:6px;display:inline-block;box-shadow:inset 0 0 0 1px #0f172ad9}.next-cell{width:18px;height:18px}.controls-list{list-style:none;padding-left:0;margin:0;font-size:.85rem;color:var(--text-soft)}.controls-list li{margin-bottom:4px}.tetris-button{width:100%;padding:9px 12px;border-radius:999px;background:var(--accent-primary);border:none;font-weight:600;color:#022c22;cursor:pointer;transition:transform .1s ease,box-shadow .12s ease,background-color .12s ease;font-size:.9rem}.tetris-button:hover{background:#16a34a;box-shadow:0 12px 28px var(--accent-primary-soft);transform:translateY(-1px)}.tetris-button:active{transform:translateY(0);box-shadow:none}.game-over{margin-bottom:8px;font-size:.95rem;font-weight:600;color:var(--accent-warm);text-align:center}.tetris-start-overlay{position:absolute;inset:0;background:radial-gradient(circle at center,#0f172af5,#0f172afa);display:flex;align-items:center;justify-content:center}.start-card{background:#0f172afa;border-radius:18px;border:1px solid var(--border-subtle);padding:18px 20px 14px;text-align:center;box-shadow:0 20px 45px #0f172ae6;max-width:260px}.start-title{font-size:1.2rem;font-weight:600;margin-bottom:4px}.start-subtitle{font-size:.83rem;color:var(--text-muted);margin-bottom:12px}.start-instructions p{margin:2px 0;font-size:.82rem;color:var(--text-soft)}.start-instructions span{font-weight:600;color:#facc15}.start-instructions ul{list-style:none;padding-left:0;margin:8px 0 12px;font-size:.8rem;color:var(--text-soft)}.start-instructions li{margin-bottom:2px}.start-button{margin-top:6px}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}
