body{
    font-family: Arial, sans-serif;
    background:#f2f2f7;
    margin:0;
    color:#111;
}

*{
    box-sizing:border-box;
}

.app{
    max-width:500px;
    margin:auto;
    padding:10px;
    padding-bottom:90px;
}

h1{
    font-size:26px;
    margin:10px 0 14px;
}

input,
textarea{
    width:100%;
    padding:12px;
    border-radius:12px;
    border:none;
    outline:none;
    background:white;
    font-size:16px;
    margin-bottom:10px;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
}

textarea{
    min-height:110px;
    resize:vertical;
}

.keyboard{
    display:flex;
    overflow:auto;
    padding-bottom:6px;
    margin-bottom:10px;
    scrollbar-width:none;
}

.keyboard::-webkit-scrollbar{
    display:none;
}

button{
    padding:10px 14px;
    margin:5px;
    border:none;
    border-radius:10px;
    background:black;
    color:white;
    cursor:pointer;
    font-size:15px;
}

.card{
    background:white;
    padding:15px;
    margin:10px 0;
    border-radius:12px;
    cursor:pointer;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
}

.word{
    color:#007aff;
    font-size:20px;
    font-weight:700;
}

.sub{
    color:#666;
    margin-top:6px;
    font-size:14px;
}

.empty{
    background:white;
    padding:16px;
    border-radius:12px;
    color:#666;
    text-align:center;
    margin-top:10px;
}

.modal{
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(0,0,0,0.5);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:15px;
    z-index:1000;
}

.modalBox{
    background:white;
    padding:20px;
    border-radius:16px;
    width:100%;
    max-width:420px;
    box-shadow:0 10px 30px rgba(0,0,0,0.18);
}

.modalBox h2{
    margin-top:0;
}

.modalBox ul{
    padding-left:20px;
}

.tabs{
    position:fixed;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    max-width:500px;
    display:flex;
    background:white;
    border-top:1px solid #e5e5ea;
    z-index:999;
}

.tabs button{
    flex:1;
    margin:0;
    border-radius:0;
    background:white;
    color:#111;
    padding:14px 10px;
    font-weight:700;
}

.tabs button.active{
    color:#007aff;
}

.primaryBtn{
    width:100%;
    margin:10px 0 0;
    background:#007aff;
    color:white;
}

.secondaryBtn{
    background:#111;
    color:white;
}

.note{
    background:white;
    padding:14px;
    border-radius:12px;
    line-height:1.45;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
}

.status{
    margin-top:10px;
    padding:10px 12px;
    border-radius:10px;
    background:#e9f3ff;
    color:#0a4ea3;
    font-size:14px;
}

.hidden{
    display:none !important;
}

.contactLink{
    display:inline-block;
    margin-top:8px;
    color:#007aff;
    text-decoration:none;
    word-break:break-word;
    font-weight:700;
}

/* Азбука */
.abcMenu{
    display:flex;
    gap:8px;
    margin-bottom:12px;
    overflow:auto;
    scrollbar-width:none;
}

.abcMenu::-webkit-scrollbar{
    display:none;
}

.abcMenu button{
    white-space:nowrap;
    background:#007aff;
}

.gridABC{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(95px, 1fr));
    gap:10px;
}

.cardABC{
    background:white;
    border-radius:12px;
    padding:10px;
    text-align:center;
    cursor:pointer;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
}

.letterABC{
    font-size:20px;
    font-weight:700;
    margin-bottom:8px;
    color:#007aff;
}

.cardABC img{
    width:60px;
    height:60px;
    object-fit:contain;
    display:block;
    margin:0 auto;
}

.imgPlaceholder{
    width:60px;
    height:60px;
    margin:0 auto;
    border-radius:10px;
    background:#eef1f5;
    color:#7b7b7b;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    text-align:center;
    padding:4px;
}

.songList{
    display:flex;
    flex-direction:column;
    gap:10px;
}
/* =========================
   🎧 ПЛЕЕР (Spotify стиль)
   ========================= */

.playerBox{
    margin:10px 0;
    padding:12px;
    border-radius:16px;
    background:linear-gradient(135deg, #007aff, #000);
    color:white;
    box-shadow:0 6px 20px rgba(0,0,0,0.2);
}

.playerCover{
    width:100%;
    height:120px;
    border-radius:12px;
    background-size:cover;
    background-position:center;
    margin-bottom:10px;
}

.playerInfo{
    display:flex;
    flex-direction:column;
}

.playerTitle{
    font-size:16px;
    font-weight:700;
    margin-bottom:8px;
}

/* кнопки управления */
.playerControls{
    display:flex;
    gap:10px;
}

.playerControls button{
    flex:1;
    padding:8px;
    border-radius:8px;
    border:none;
    background:white;
    color:black;
    cursor:pointer;
    font-weight:700;
}

/* список песен */
.songCard{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px;
    background:white;
    border-radius:12px;
    cursor:pointer;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
    transition:0.2s;
}

.songCard:hover{
    transform:scale(1.02);
}

.songCard img{
    width:50px;
    height:50px;
    border-radius:8px;
    object-fit:cover;
}
