* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: #110D08; color: #F3EDE6; font: 16px system-ui, sans-serif; display: flex; flex-direction: column; padding: 14px; user-select: none; -webkit-user-select: none; }
[hidden] { display: none !important; }
header { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
#pcs { display: flex; gap: 8px; }
#status { color: #A09486; }
main { flex: 1; display: flex; align-items: center; justify-content: center; }
button { font: inherit; color: #F3EDE6; background: #1F1810; border: 2px solid #3A2E20; border-radius: 12px; min-height: 44px; padding: 0 16px; touch-action: manipulation; }
button.on { background: #FF8A1F; border-color: #FF8A1F; color: #1A1006; font-weight: 600; }
#key { width: 260px; height: 220px; font-size: 24px; border-radius: 20px; }
#key:active { transform: scale(0.97); border-color: #FF8A1F; }
#key.fail { border-color: #FF5A5A; }
form { display: flex; flex-direction: column; gap: 10px; width: 320px; }
input { font: inherit; font-size: 20px; padding: 10px; border-radius: 8px; border: 2px solid #3A2E20; background: #1F1810; color: #F3EDE6; }
footer { text-align: center; color: #A09486; }
