:root{
    --bg:#071022; --card:#0d1726; --accent:#40c4ff; --text:#e6f0ff;
    }
    *{box-sizing:border-box}
    html,body{
    margin:0;
    font-family:Inter,Roboto,'Noto Sans KR',sans-serif;
    color:var(--text)
    }
    /* 게임 영역의 배경색을 다시 지정하여 유지합니다. */
    .wrap{
    max-width:600px;
    margin:28px auto;
    padding:18px;
    background: linear-gradient(180deg,var(--bg),#021025);
    border-radius: 12px; /* 깔끔한 시각을 위해 추가 */
    }
    .card{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); padding:18px;border-radius:12px;box-shadow:0 6px 30px rgba(0,0,0,0.6)}
    header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;flex-wrap:wrap}
    h1{margin:0;font-size:20px;color:var(--accent)}
    .controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
    select,input[type=number]{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--text);padding:6px 8px;border-radius:8px}
    button{background:var(--accent);color:#012030;border:none;padding:8px 12px;border-radius:8px;font-weight:600;cursor:pointer}
    .status{display:flex;gap:12px;margin:12px 0;flex-wrap:wrap}
    .stat{background:rgba(255,255,255,0.02);padding:8px 12px;border-radius:8px;font-size:14px}
    .game-area{display:flex;flex-direction:column;gap:18px;}
    .target-box{background:rgba(255,255,255,0.02);padding:18px;border-radius:10px;min-height:120px}
    .word-line{font-size:28px;line-height:1.6;word-break:break-all}
    .next-words{margin-top:8px;color:rgba(255,255,255,0.45);font-size:14px}
    .input-area{margin-top:12px;display:flex;gap:8px;align-items:center}
    input#typeInput{flex:1;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,0.06);background:transparent;color:var(--text);font-size:16px}
    .small{font-size:13px;color:rgba(255,255,255,0.6)}
    .footer{margin-top:14px;color:rgba(255,255,255,0.55);font-size:13px}
    .highlight-correct{color:#b6ffdd}
    .highlight-wrong{color:#ffb3b3;text-decoration:underline;}
    .keyboard-hint{margin-top:8px;color:rgba(255,255,255,0.35);font-size:13px}
    .btn-row{display:flex;gap:8px;margin-top:10px}
    .leader{background:rgba(255,255,255,0.02);padding:10px;border-radius:8px;margin-top:10px}