body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f6dd;
}

.page-wrap {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.logo-search {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #6bbf00;
}

.search-form input[type="text"] {
    width: 320px;
    padding: 6px 8px;
}

.search-form button {
    padding: 6px 12px;
    cursor: pointer;
}

.last-phrases {
    margin-top: 5px;
    font-size: 13px;
}

.last-phrases-title {
    margin-right: 6px;
}

.phrase-tag {
    display: inline-block;
    background: #ffeb7a;
    padding: 2px 6px;
    margin: 2px 3px;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.content {
    padding: 15px 20px 30px;
    flex: 1;
}

.track-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
    font-size: 14px;
}

.btn-play,
.btn-download {
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 28px;
    height: 24px;
    background: #fafafa;
    cursor: pointer;
    font-size: 14px;
}

.track-title {
    flex: 1;
}

.artist-link {
    text-decoration: none;
    color: #0066cc;
}

.artist-link:hover {
    text-decoration: underline;
}

.track-duration {
    width: 45px;
    text-align: right;
    font-size: 13px;
    color: #666;
}

.site-footer {
    padding: 10px 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
    text-align: center;
    background: #fafafa;
}
.player-container {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}

.player-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 6px 16px 10px;
}

.player-progress {
    padding: 2px 0 6px;
}

.player-progress-bar {
    width: 100%;
    height: 4px;
    background: #e6e6e6;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.player-progress-fill {
    height: 100%;
    width: 0;
    background: #3f8efc;
    border-radius: 2px;
}

.player-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-btn {
    border: none;
    cursor: pointer;
    background: #f3f5ff;
    color: #3f8efc;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.player-btn-main {
    background: #3f8efc;
    color: #ffffff;
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.player-btn:hover {
    filter: brightness(0.97);
}

.player-title-block {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

.player-title-block span {
    vertical-align: middle;
}

.player-title-sep {
    margin: 0 4px;
}

.player-extra {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #666666;
}

.player-menu {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.content {
    padding-bottom: 90px;
}
/* ==== SEARCH FORM ==== */
.search-form {
    display: flex;
    width: 100%;
    gap: 10px;
}
.search-form input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
}
.search-form button {
    padding: 12px 16px;
    font-size: 16px;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 10px;
}

/* ==== LAST PHRASES ==== */
.last-phrases {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
}
.phrase-tag {
    background: #ffe07a;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #222;
    max-width: 48%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==== TRACK LIST ==== */
.track-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f5f5f7;
    border-radius: 12px;
    margin-bottom: 10px;
}
.track-title {
    flex: 1;
    margin: 0 12px;
    font-size: 15px;
}
.track-duration {
    white-space: nowrap;
    font-size: 14px;
    color: #555;
}

/* ==== BUTTONS ==== */
.btn-play, .btn-download {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.btn-play {
    background: #007aff;
    color: #fff;
}
.btn-download {
    background: #ffcc00;
    color: #000;
}
.logo-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.search-form {
    display: flex;
    gap: 10px;
    flex: 1;
}

.search-form input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.search-form button {
    padding: 12px 16px;
    font-size: 16px;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 10px;
    white-space: nowrap;
}

.logo-search {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.search-form input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.search-form button {
    flex: 0 0 auto;
    padding: 0 14px;
    height: 40px;
    font-size: 15px;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 10px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .search-form {
        gap: 6px;
    }
    .search-form input {
        padding: 9px 10px;
        font-size: 14px;
    }
    .search-form button {
        height: 38px;
        padding: 0 12px;
        font-size: 14px;
    }
}
.btn-play,
.btn-download {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    margin-right: 8px;
}

.btn-play .icon-play {
    width: 20px;
    height: 20px;
    fill: #007aff;
}

.btn-download .icon-download {
    width: 20px;
    height: 20px;
    fill: #f4a300;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #f5f5f7;
    border-radius: 14px;
    margin-bottom: 10px;
}

.track-title {
    flex: 1;
    margin: 0 10px;
    font-size: 15px;
    line-height: 1.3;
}

.track-duration {
    white-space: nowrap;
    font-size: 14px;
    color: #555;
}
.track-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #f5f5f7;
    border-radius: 16px;
    margin-bottom: 12px;
}

.btn-play, .btn-download {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    cursor: pointer;
    flex-shrink: 0;
}

.btn-play svg {
    width: 22px;
    height: 22px;
    fill: #007aff;
}

.btn-download svg {
    width: 22px;
    height: 22px;
    fill: #f4a300;
}

.track-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.track-artist {
    font-size: 15px;
    font-weight: 500;
    color: #007aff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-name {
    font-size: 14px;
    color: #111;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;         
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.track-duration {
    flex-shrink: 0;
    font-size: 13px;
    color: #555;
    white-space: nowrap;
    margin-left: 6px;
}
.track-item {
    display: flex;
    align-items: center;
    padding: 14px;
    background: #f5f5f7;
    border-radius: 16px;
    margin-bottom: 12px;
    gap: 10px;
}

.track-controls {
    display: flex;
    align-items: center;
    gap: 6px; 
    flex-shrink: 0;
}

.btn-play,
.btn-download {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    cursor: pointer;
}

.btn-play svg {
    width: 20px;
    height: 20px;
    fill: #007aff;
}

.btn-download svg {
    width: 20px;
    height: 20px;
    fill: #f4a300;
}

.track-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.track-artist {
    font-size: 15px;
    font-weight: 500;
    color: #007aff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-name {
    font-size: 14px;
    color: #111;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.track-duration {
    flex-shrink: 0;
    font-size: 13px;
    color: #555;
    white-space: nowrap;
    margin-left: 4px;
}
.logo {
    text-decoration: none;
}

a .logo {
    text-decoration: none !important;
}
.btn-play .icon-pause {
    display: none;
}

.btn-play.is-playing .icon-play {
    display: none;
}

.btn-play.is-playing .icon-pause {
    display: inline-block;
}