/* Vibra Chune extra styles. Loaded automatically by account.js on every page, after style.css. */

/* ---- Fancy round icon buttons: share, download, add to playlist, settings ---- */
.fx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    border: 1.5px solid rgba(232, 137, 43, 0.6) !important;
    background: radial-gradient(circle at 30% 22%, #23a198 0%, #136b66 55%, #0b3e3b 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 0.12s, box-shadow 0.12s;
}

.fx:hover {
    box-shadow: 0 0 0 3px rgba(232, 137, 43, 0.28), 0 3px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.fx:active {
    transform: scale(0.9);
}

.fx svg {
    width: 20px;
    height: 20px;
    display: block;
}

.fx.on {
    border-color: #e8892b !important;
    color: #e8892b !important;
}

.fx:disabled {
    opacity: 0.6;
}

.chart-share.fx,
#sheet-share.fx,
.fx.fx-md {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex: 0 0 auto;
    position: static;
}

.fx.fx-sm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.tile-cover .tile-share.fx {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

/* ---- List headings: orange words on a teal background ---- */
section > h2,
.sheet-top h2 {
    background-color: var(--teal);
    color: var(--orange);
    border-radius: 10px;
    padding: 8px 14px;
    margin: 20px 16px 10px 16px;
    font-size: 18px;
}

.sheet-top h2 {
    margin: 0;
}

.chart-title {
    background-color: var(--teal);
    color: var(--orange);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: bold;
}

/* ---- "Open list" is teal ---- */
.chart-more {
    background-color: var(--teal);
    color: var(--white);
    border: 1px solid #3fb5ac;
    border-radius: 14px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-bar .chart-head {
    flex: 1;
    width: auto;
    min-width: 0;
}

/* ---- New Releases as a block list ---- */
.new-row .song {
    flex: 0 0 160px;
    scroll-snap-align: start;
    box-sizing: border-box;
}

.kind-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.kind-tag {
    display: inline-block;
    background-color: var(--teal);
    color: var(--white);
    border-radius: 10px;
    padding: 2px 9px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---- Genres side by side ---- */
.genre-row {
    gap: 12px;
}

.genre-card {
    flex: 0 0 150px;
    height: 150px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 2px;
    padding: 12px;
    border: 1.5px solid rgba(232, 137, 43, 0.5);
    border-radius: 14px;
    background-color: #136b66;
    background-size: cover;
    background-position: center;
    color: var(--orange);
    cursor: pointer;
    scroll-snap-align: start;
    text-align: left;
}

.genre-card:hover {
    border-color: var(--orange);
}

.genre-name {
    font-size: 16px;
    font-weight: bold;
}

.genre-count {
    font-size: 12px;
    color: #ffffff;
}

/* ---- Account menu: notification count, and a ring on the avatar when there is something new ---- */
.menu-badge {
    float: right;
    background-color: var(--orange);
    color: var(--black);
    font-size: 11px;
    font-weight: bold;
    border-radius: 10px;
    padding: 1px 7px;
    margin-left: 10px;
}

.topbar-avatar.has-unread {
    box-shadow: 0 0 0 2px var(--orange);
}

/* ---- Artist page: background behind the name, and the background preview in Edit profile ---- */
.artist-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #136b66 0%, #0a0c0d 100%);
    background-size: cover;
    background-position: center;
}

.artist-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 12, 13, 0.2), rgba(10, 12, 13, 0.85));
    pointer-events: none;
}

.artist-hero .profile-top {
    position: relative;
    margin: 0;
    padding: 40px 18px 18px 18px;
}

.bg-preview {
    display: block;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--teal);
    margin: 8px 0;
}
