* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
}

body {
    background: #FAFAFA;
    color: #1F1F1F;
    height: 100vh;
    overflow: hidden;
}

.app {
    display: flex;
    height: calc(100vh - 80px);
    gap: 0;
}

.sidebar {
    width: 280px;
    min-width: 280px;
    background: #FAFAFA;
    padding: 24px 20px;
    overflow: hidden;
    border-right: 1px solid #E1E1E1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.logo-icon img {
    max-height: 50px;
}

.logo-text {
    color: #1F1F1F;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 30px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #1F1F1F;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.nav-item:hover {
    background: #E1E1E1;
    color: #1F1F1F;
}

.nav-item.active {
    background: #1F1F1F;
    color: #FAFAFA;
}

.nav-icon {
    font-size: 18px;
}

.playlist-section {
    margin-bottom: 24px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.favorite-link {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    cursor: pointer;
}

.favorite-link h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9C9C9C;
    transition: color 0.2s;
}

.favorite-link:hover h3 {
    color: #1F1F1F;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.playlist-item:hover {
    background: #E1E1E1;
}

.playlist-cover {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #E1E1E1;
}

.playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.playlist-info {
    flex: 1;
    min-width: 0;
}

.playlist-name {
    font-size: 13px;
    color: #1F1F1F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-artist {
    font-size: 11px;
    color: #9C9C9C;
}

.playlist-meta {
    font-size: 11px;
    color: #9C9C9C;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-meta-sep {
    opacity: 0.75;
}

.playlist-meta-link {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.playlist-meta-link:hover {
    color: #1F1F1F;
    text-decoration: underline;
}

.playlist-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.playlist-like,
.playlist-time {
    background: transparent;
    border: none;
    color: #9C9C9C;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.playlist-like:hover {
    color: #F52929;
}

.main-content {
    flex: 1;
    padding: 24px 32px;
    overflow: hidden;
    background: #FAFAFA;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.header-left h2 {
    color: #1F1F1F;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #E1E1E1;
    color: #1F1F1F;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-btn img {
    width: 24px;
    height: 24px;
}

.profile-btn:hover {
    background: #9C9C9C;
}

.banner {
    background: linear-gradient(135deg, #1F1F1F, #565656);
    border-radius: 16px;
    padding: 32px 40px;
    margin-bottom: 24px;
}

.banner-content h2 {
    color: #FAFAFA;
    font-size: 28px;
    margin-bottom: 8px;
}

.banner-content p {
    color: #9C9C9C;
    margin-bottom: 16px;
}

.banner-btn {
    padding: 10px 28px;
    border: none;
    border-radius: 10px;
    background: #FAFAFA;
    color: #1F1F1F;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s;
}

.banner-btn:hover {
    transform: scale(1.02);
}

.section {
    margin-bottom: 24px;
}

.section h3 {
    color: #1F1F1F;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

.card-row {
    display: flex;
    align-items: stretch;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.card-row::-webkit-scrollbar {
    height: 6px;
}

.card-row::-webkit-scrollbar-thumb {
    background: #E1E1E1;
    border-radius: 6px;
}

.card-row .music-card {
    flex: 0 0 156px;
    width: 156px;
    min-width: 156px;
    max-width: 156px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.card-row .loading,
.card-row .empty {
    flex: 1;
    padding: 24px 8px;
}

.modal-tracks-list {
    max-width: 560px;
    width: 94%;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
}

.tracks-modal-body {
    padding: 8px 16px 20px;
    overflow-y: auto;
    max-height: calc(86vh - 72px);
}

.music-card {
    padding: 16px;
    background: #FAFAFA;
    border: 1px solid #E1E1E1;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.music-card:hover {
    background: #E1E1E1;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    background: #E1E1E1;
    flex-shrink: 0;
}

.card-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1F1F1F;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-artist {
    font-size: 12px;
    color: #9C9C9C;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-search {
    display: none;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 90%;
}

.search-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    color: #9C9C9C;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 2px solid #E1E1E1;
    border-radius: 12px;
    background: #FAFAFA;
    color: #1F1F1F;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input::placeholder {
    color: #9C9C9C;
}

.search-input:focus {
    border-color: #1F1F1F;
}

.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 40px;
}

.chart-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: background 0.2s;
    cursor: pointer;
}

.chart-item:hover {
    background: #E1E1E1;
}

.chart-item .playlist-cover {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
    background: #E1E1E1;
}

.chart-item .playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.chart-item .playlist-info {
    flex: 1;
    min-width: 0;
}

.chart-item .playlist-name {
    font-size: 14px;
    font-weight: 600;
    color: #1F1F1F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chart-item .playlist-artist,
.chart-item .playlist-meta {
    font-size: 12px;
    color: #9C9C9C;
}

.bottom-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #FAFAFA;
    border-top: 1px solid #E1E1E1;
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.bottom-player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.bottom-track-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.bottom-cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.bottom-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.bottom-track-details {
    display: flex;
    flex-direction: column;
}

.bottom-track-name {
    font-size: 14px;
    font-weight: 600;
    color: #1F1F1F;
}

.bottom-track-artist {
    font-size: 12px;
    color: #9C9C9C;
}

.bottom-player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 600px;
    gap: 6px;
}

.bottom-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bottom-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    position: relative;
}

.bottom-btn:hover {
    opacity: 0.7;
}

.bottom-btn.play-btn {
    background: #FAFAFA;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E1E1E1;
}

.bottom-btn.play-btn:hover {
    background: #E1E1E1;
}

.bottom-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.bottom-time {
    font-size: 12px;
    color: #9C9C9C;
    min-width: 36px;
}

.bottom-progress-bar {
    flex: 1;
    height: 4px;
    background: #E1E1E1;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.bottom-progress-fill {
    height: 100%;
    background: #565656;
    border-radius: 4px;
    transition: width 0.1s;
}

.bottom-player-right {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 120px;
    justify-content: flex-end;
}

.bottom-player-right .like-btn {
    padding: 4px 8px;
    font-size: 16px;
    border: none;
    background: transparent;
    color: #9C9C9C;
    cursor: pointer;
    transition: color 0.2s;
}

.bottom-player-right .like-btn:hover {
    color: #F52929;
}

.volume-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #E1E1E1;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1F1F1F;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1F1F1F;
    cursor: pointer;
    border: none;
}

.volume-wrapper img {
    flex-shrink: 0;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #FAFAFA;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #E1E1E1;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1F1F1F;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 22px;
    color: #9C9C9C;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px 8px;
}

.modal-close:hover {
    color: #1F1F1F;
}

.modal-body {
    padding: 20px 24px;
}

.modal-field {
    margin-bottom: 16px;
}

.modal-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1F1F1F;
    margin-bottom: 6px;
}

.modal-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E1E1E1;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    font-family: Helvetica, Arial, sans-serif;
    background: #FAFAFA;
    color: #1F1F1F;
}

.modal-field input:focus {
    border-color: #1F1F1F;
}

.modal-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E1E1E1;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    resize: vertical;
    min-height: 72px;
    font-family: Helvetica, Arial, sans-serif;
    background: #FAFAFA;
    color: #1F1F1F;
}

.modal-field textarea:focus {
    border-color: #1F1F1F;
}

.playlist-cover-picker {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    border: 1px dashed #9C9C9C;
    margin: 0 auto 16px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E1E1E1;
}

.playlist-cover-picker img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-cover-placeholder {
    font-size: 13px;
    color: #9C9C9C;
    padding: 8px;
    text-align: center;
}

.playlist-add-tracks-btn,
.playlist-save-btn {
    width: 100%;
    margin-top: 4px;
}

.playlist-add-tracks-btn {
    padding: 10px 16px;
    background: transparent;
    color: #1F1F1F;
    border: 1px solid #E1E1E1;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.playlist-editor-count {
    margin: 10px 0 0;
    font-size: 13px;
    color: #9C9C9C;
}

.playlist-save-btn {
    margin-top: 16px;
}

.playlist-picker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 4px;
}

.playlist-picker-add {
    flex-shrink: 0;
    padding: 6px 12px;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    background: #FAFAFA;
    cursor: pointer;
    font-size: 13px;
}

.playlist-picker-add.in-list {
    background: #1F1F1F;
    color: #FAFAFA;
    border-color: #1F1F1F;
}

.playlist-detail-bar {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.playlist-detail-meta {
    flex: 1;
    min-width: 0;
}

.playlist-detail-name {
    font-size: 18px;
    font-weight: 700;
}

.playlist-detail-desc {
    font-size: 13px;
    color: #9C9C9C;
    margin-top: 4px;
}

.playlist-menu-wrap {
    position: relative;
}

.playlist-menu-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #1F1F1F;
}

.playlist-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 36px;
    min-width: 160px;
    background: #FAFAFA;
    border: 1px solid #E1E1E1;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 20;
    overflow: hidden;
}

.playlist-menu.open {
    display: block;
}

.playlist-menu button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
}

.playlist-menu button:hover {
    background: #E1E1E1;
}

.playlist-menu button.danger {
    color: #F52929;
}

.playlist-remove-btn {
    background: transparent;
    border: none;
    color: #9C9C9C;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
}

.music-card.playlist-create-card {
    border-style: dashed;
    justify-content: center;
}

.music-card.playlist-create-card .card-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.music-card.playlist-create-card .card-cover img {
    position: static;
    width: 28px;
    height: 28px;
    opacity: 0.55;
}

.modal-profile .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #E1E1E1;
}

.modal-back {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-back img {
    width: 20px;
    height: 20px;
}

.modal-profile .modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1F1F1F;
    margin: 0;
}

.profile-free {
    border: 1px solid #1f1f1f;
    color: #fafafa;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-free-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    background: #1f1f1f;
    color: #fafafa;
    user-select: none;
}

.profile-free-header span {
    font-size: 14px;
    font-weight: 500;
    color: #fafafa;
}

.free-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.profile-free-header.active .free-arrow {
    transform: rotate(180deg);
}

.profile-free-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 16px;
    background: #1f1f1f;
}

.profile-free-body.open {
    max-height: 60px;
    padding: 0 16px 12px;
}

.profile-free-body p {
    font-size: 13px;
    color: #fafafa;
    margin: auto;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #1F1F1F;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-family: Helvetica, Arial, sans-serif;
    width: 100%;
    text-align: left;
}

.profile-menu-item:hover {
    background: #E1E1E1;
}

.profile-menu-item:hover img {
    opacity: 1;
}

.profile-menu-item span {
    flex: 1;
}

.profile-menu-item img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.profile-add-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: 2px dashed #9C9C9C;
    border-radius: 12px;
    background: transparent;
    color: #1F1F1F;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: Helvetica, Arial, sans-serif;
}

.profile-add-track:hover {
    border-color: #1F1F1F;
    background: #F5F5F5;
}

.profile-add-track img {
    width: 18px;
    height: 18px;
}

.profile-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: 2px dashed #F52929;
    border-radius: 12px;
    background: transparent;
    color: #F52929;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: Helvetica, Arial, sans-serif;
}

.profile-logout:hover {
    background: rgba(245, 41, 41, 0.08);
    border-color: #D41414;
    color: #D41414;
}

.modal-questions .modal-body {
    padding: 8px 20px 20px;
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.question-item {
    border: 1px solid #E1E1E1;
    border-radius: 12px;
    overflow: hidden;
    background: #FAFAFA;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

.question-header:hover {
    background: #F0F0F0;
}

.question-header span {
    font-size: 14px;
    font-weight: 500;
    color: #1F1F1F;
}

.question-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.question-header.active .question-arrow {
    transform: rotate(180deg);
}

.question-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 16px;
    background: #FAFAFA;
}

.question-body.open {
    max-height: 120px;
    padding: 0 16px 14px;
}

.question-body p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.modal-opportunities .modal-body {
    padding: 20px 24px 24px;
}

.opportunities-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.opportunities-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #1F1F1F;
    margin: 0;
}

.opportunities-desc:first-child {
    font-weight: 600;
    font-size: 16px;
}

.modal-settings .modal-body {
    padding: 8px 20px 20px;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #F0F0F0;
    font-size: 15px;
    font-weight: 500;
    color: #1F1F1F;
}

.settings-item.clickable {
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 10px;
    border-bottom: none;
}

.settings-item.clickable:hover {
    background: #E1E1E1;
}

.settings-item.clickable img {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.settings-delete {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: none;
    background: transparent;
    color: #9C9C9C;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    transition: color 0.2s;
    font-family: Helvetica, Arial, sans-serif;
    margin-top: 8px;
}

.settings-delete:hover {
    color: #F52929;
}

.settings-logout {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid #E1E1E1;
    border-radius: 10px;
    background: #FAFAFA;
    color: #1F1F1F;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
}

.settings-logout:hover {
    background: #E1E1E1;
}

.modal-login-data .modal-body {
    padding: 20px 24px 24px;
}

.modal-login-data .input-readonly,
.modal-login-data .input-readonly:focus,
.modal-login-data .input-readonly:active {
    background: #F0F0F0;
    border-color: #E1E1E1;
    color: #1F1F1F;
    cursor: default;
    box-shadow: none;
    outline: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #E1E1E1;
    border-radius: 24px;
    transition: 0.3s;
}

.slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #FAFAFA;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + .slider {
    background: #1F1F1F;
}

.switch input:checked + .slider::before {
    transform: translateX(20px);
}

.recognize-section {
    display: flex;
    justify-content: center;
    padding-top: 24px;
}

.recognize-panel {
    width: min(420px, 100%);
    text-align: center;
}

.recognize-mic-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.recognize-mic-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #E1E1E1;
    background: #FAFAFA;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.recognize-mic-btn:hover {
    border-color: #1F1F1F;
    transform: scale(1.02);
}

.recognize-mic-btn.recording {
    border-color: #F52929;
    background: #FFF5F5;
    animation: recognizePulse 1.2s ease-in-out infinite;
}

.recognize-mic-btn.processing {
    opacity: 0.65;
    pointer-events: none;
}

.recognize-mic-icon {
    font-size: 42px;
    line-height: 1;
}

.recognize-timer {
    min-height: 24px;
    font-size: 18px;
    font-weight: 600;
    color: #1F1F1F;
}

.recognize-hint {
    font-size: 14px;
    color: #9C9C9C;
    line-height: 1.5;
    margin: 0;
}

.recognize-error {
    margin-top: 16px;
    color: #F52929;
    font-size: 14px;
}

.recognize-result {
    margin-top: 20px;
    text-align: left;
}

.recognize-result-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #E1E1E1;
    border-radius: 12px;
    background: #FAFAFA;
    cursor: pointer;
}

.recognize-result-card:hover {
    background: #E1E1E1;
}

.recognize-result-cover {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #E1E1E1;
}

.recognize-result-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recognize-result-info {
    flex: 1;
    min-width: 0;
}

.recognize-result-title {
    font-size: 15px;
    font-weight: 600;
    color: #1F1F1F;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recognize-result-artist {
    font-size: 13px;
    color: #9C9C9C;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recognize-result-score {
    margin-top: 10px;
    font-size: 12px;
    color: #9C9C9C;
    text-align: center;
}

@keyframes recognizePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 41, 41, 0.25); }
    50% { box-shadow: 0 0 0 14px rgba(245, 41, 41, 0); }
}

