/* ==========================================================
   Asylonia Creation Vault v1
   ========================================================== */

body.page-my-vault {
    background: #080604;
}

.vault-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #f8edda;
    background:
        radial-gradient(circle at 82% 12%, rgba(214, 174, 92, 0.18), transparent 30%),
        radial-gradient(circle at 8% 28%, rgba(168, 109, 28, 0.13), transparent 34%),
        linear-gradient(135deg, #0a0704 0%, #100b06 48%, #050403 100%);
}

.vault-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 216, 132, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 216, 132, 0.026) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 15%, black, transparent 72%);
}

.vault-container {
    position: relative;
    padding-top: 48px;
    padding-bottom: 72px;
}

.vault-hero {
    max-width: 820px;
    margin: 0 auto 28px;
    text-align: center;
}

.vault-eyebrow {
    margin: 0 0 10px;
    color: #d7b76c;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 0.82rem;
}

.vault-hero h1 {
    margin: 0;
    color: #fff7e8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5vw, 5.4rem);
    line-height: 1.02;
}

.vault-hero p {
    margin: 16px auto 0;
    max-width: 720px;
    color: rgba(248, 237, 218, 0.72);
    font-size: 1.08rem;
    line-height: 1.75;
}

.vault-profile-card,
.vault-toolbar,
.vault-status,
.vault-grid {
    width: min(100%, 1180px);
    margin-left: auto;
    margin-right: auto;
}

.vault-profile-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(150px, auto) auto;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border-radius: 28px;
    border: 1px solid rgba(214, 174, 92, 0.24);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.vault-avatar {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #1a1005;
    background: linear-gradient(180deg, #ffd884, #b98225);
    font-family: Georgia, serif;
    font-weight: 950;
    font-size: 2rem;
    box-shadow: 0 0 28px rgba(255, 211, 123, 0.22);
}

.vault-profile-card span,
.vault-credit-box span,
.vault-meta-grid span,
.vault-card-topline span {
    display: block;
    color: rgba(248, 237, 218, 0.48);
    font-size: 0.78rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 850;
}

.vault-profile-card strong,
.vault-credit-box strong {
    display: block;
    color: #fff1d4;
    font-size: 1.16rem;
}

.vault-profile-card small {
    display: block;
    margin-top: 4px;
    color: rgba(248, 237, 218, 0.58);
}

.vault-credit-box {
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(214, 174, 92, 0.2);
    background: rgba(0, 0, 0, 0.18);
    text-align: center;
}

.vault-credit-box strong {
    color: #ffd884;
    font-size: 1.6rem;
}

.vault-gold-btn,
.vault-soft-btn,
.vault-filter-group button,
.vault-card-actions a,
.vault-card-actions button {
    min-height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(214, 174, 92, 0.26);
    color: #e9c878;
    background: rgba(255, 255, 255, 0.035);
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.vault-gold-btn {
    border: 0;
    color: #1a1005;
    background: linear-gradient(180deg, #ffd884 0%, #d39d3a 56%, #a76d18 100%);
    box-shadow: 0 0 24px rgba(255, 211, 123, 0.18);
}

.vault-toolbar {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.vault-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vault-filter-group button.is-active {
    color: #1a1005;
    border-color: transparent;
    background: linear-gradient(180deg, #ffd884, #b98225);
}

.vault-status {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(214, 174, 92, 0.18);
    background: rgba(255, 255, 255, 0.028);
    color: rgba(248, 237, 218, 0.68);
}

.vault-status[hidden] {
    display: none;
}

.vault-status.is-error {
    color: #ffd0c7;
    border-color: rgba(255, 120, 92, 0.34);
    background: rgba(160, 42, 24, 0.14);
}

.vault-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.vault-item-card,
.vault-empty-card {
    border-radius: 26px;
    border: 1px solid rgba(214, 174, 92, 0.22);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
        rgba(20, 13, 7, 0.72);
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.vault-item-card {
    padding: 20px;
}

.vault-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.vault-card-topline small {
    color: #d7b76c;
    font-weight: 850;
}

.vault-item-card h2 {
    margin: 12px 0 8px;
    color: #fff5e4;
    font-size: 1.35rem;
    line-height: 1.22;
}

.vault-item-card p {
    margin: 0 0 16px;
    color: rgba(248, 237, 218, 0.62);
}

.vault-meta-grid {
    display: grid;
    grid-template-columns: 1fr 92px;
    gap: 10px;
    margin-bottom: 14px;
}

.vault-meta-grid div {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(214, 174, 92, 0.14);
    background: rgba(0, 0, 0, 0.16);
}

.vault-meta-grid strong {
    color: #fff1d4;
    font-size: 0.88rem;
}

.vault-item-card audio {
    width: 100%;
    margin: 6px 0 14px;
    accent-color: #d7b76c;
}

.vault-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vault-card-actions button[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.vault-card-actions button[aria-pressed="true"] {
    color: #1a1005;
    border-color: transparent;
    background: linear-gradient(180deg, #ffd884, #b98225);
}

.vault-empty-card {
    grid-column: 1 / -1;
    padding: 42px 26px;
    text-align: center;
}

.vault-empty-card span {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #1a1005;
    background: linear-gradient(180deg, #ffd884, #b98225);
    font-size: 2rem;
}

.vault-empty-card h2 {
    color: #fff5e4;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.vault-empty-card p {
    max-width: 520px;
    margin: 10px auto 22px;
    color: rgba(248, 237, 218, 0.64);
    line-height: 1.7;
}

@media (max-width: 1040px) {
    .vault-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .vault-container {
        padding-top: 32px;
    }

    .vault-profile-card,
    .vault-toolbar {
        grid-template-columns: 1fr;
        display: grid;
    }

    .vault-toolbar {
        align-items: stretch;
    }

    .vault-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   Vault Polish - compact branded cards + icon actions
   ========================================================== */

.vault-item-card p {
    margin-bottom: 12px;
    color: rgba(255, 216, 132, 0.72);
    font-size: 0.88rem;
    font-weight: 850;
}

.vault-item-card audio {
    filter: sepia(0.32) saturate(0.86) brightness(0.84);
}

.vault-icon-actions {
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.vault-card-actions .vault-icon-action {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 999px;
    font-size: 1.02rem;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    color: #f4d48a;
    background: rgba(255, 255, 255, 0.032);
    border-color: rgba(214, 174, 92, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.vault-card-actions .vault-icon-action:hover {
    transform: translateY(-1px);
    color: #1a1005;
    border-color: transparent;
    background: linear-gradient(180deg, #ffd884, #b98225);
}

.vault-card-actions .vault-icon-action[aria-pressed="true"] {
    color: #1a1005;
    border-color: transparent;
    background: linear-gradient(180deg, #ffd884, #b98225);
}

.vault-card-actions .vault-heart-action {
    font-size: 1.16rem;
}

.vault-card-actions .vault-pin-action {
    font-size: 1.08rem;
}

.vault-card-actions button[disabled],
.vault-card-actions .vault-icon-action[disabled] {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 760px) {
    .vault-icon-actions {
        justify-content: flex-start;
    }
}

/* ==========================================================
   Vault Material Symbols Icons - polished action buttons
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,300..700,0..1,-50..200&display=swap');

.vault-card-actions .vault-icon-action {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 999px;
    color: #d8a84f;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid rgba(216, 168, 79, 0.36);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 6px 16px rgba(0, 0, 0, 0.18);
    font-family: inherit;
    text-decoration: none;
    transition:
        transform 0.16s ease,
        color 0.16s ease,
        border-color 0.16s ease,
        background 0.16s ease,
        box-shadow 0.16s ease;
}

.vault-ms-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    overflow: hidden;
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 19px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    font-variation-settings:
        'FILL' 0,
        'wght' 520,
        'GRAD' 0,
        'opsz' 24;
}

.vault-card-actions .vault-icon-action:hover {
    transform: translateY(-1px);
    color: #1a1005;
    border-color: rgba(255, 216, 132, 0.92);
    background: linear-gradient(180deg, #ffd884 0%, #d39d3a 58%, #a76d18 100%);
    box-shadow:
        0 0 18px rgba(255, 216, 132, 0.22),
        0 8px 18px rgba(0, 0, 0, 0.22);
}

.vault-card-actions .vault-icon-action:hover .vault-ms-icon {
    font-variation-settings:
        'FILL' 1,
        'wght' 620,
        'GRAD' 0,
        'opsz' 24;
}

.vault-card-actions .vault-icon-action[aria-pressed="true"] {
    color: #1a1005;
    border-color: rgba(255, 216, 132, 0.92);
    background: linear-gradient(180deg, #ffd884 0%, #d39d3a 58%, #a76d18 100%);
}

.vault-card-actions .vault-icon-action[aria-pressed="true"] .vault-ms-icon {
    font-variation-settings:
        'FILL' 1,
        'wght' 650,
        'GRAD' 0,
        'opsz' 24;
}

.vault-card-actions .vault-heart-action .vault-ms-icon,
.vault-card-actions .vault-pin-action .vault-ms-icon {
    font-size: 20px;
}

.vault-card-actions button[disabled],
.vault-card-actions .vault-icon-action[disabled] {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
}


/* ==========================================================
   Vault Reservation Assets
   ========================================================== */

.vault-card-badge {
    width: 92px;
    height: 92px;
    margin: 8px auto 16px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 230, 160, 0.20), transparent 42%),
        linear-gradient(180deg, #21130a 0%, #050302 100%);
    border: 1px solid rgba(210, 176, 109, 0.42);
    box-shadow:
        0 0 24px rgba(216, 168, 79, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.vault-card-badge img {
    width: 82px;
    height: 82px;
    display: block;
    object-fit: contain;
}

.vault-item-card-reservation {
    border-color: rgba(255, 216, 132, 0.36);
    background:
        radial-gradient(circle at 82% 0%, rgba(216, 168, 79, 0.12), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026)),
        rgba(20, 13, 7, 0.76);
}

.vault-item-card-reservation .vault-card-topline small {
    color: #ffd884;
}

.vault-item-card-reservation .vault-meta-grid {
    grid-template-columns: 1fr 104px;
}

.vault-item-card-reservation .vault-card-actions {
    justify-content: center;
}

/* ==========================================================
   Vault Custom Music Player - Asylonia gold theme
   ========================================================== */

.vault-music-player {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 38px;
    gap: 10px;
    align-items: center;
    margin: 8px 0 16px;
    padding: 10px;
    border-radius: 999px;
    border: 1px solid rgba(216, 168, 79, 0.26);
    background:
        radial-gradient(circle at 18% 50%, rgba(255, 216, 132, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        rgba(8, 5, 3, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 30px rgba(0, 0, 0, 0.22);
}

.vault-music-player audio {
    display: none;
}

.vault-music-play,
.vault-music-sound {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 1px solid rgba(255, 216, 132, 0.42);
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: #1a1005;
    background: linear-gradient(180deg, #ffe094 0%, #d39d3a 62%, #9f6617 100%);
    cursor: pointer;
    box-shadow:
        0 0 18px rgba(255, 216, 132, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        filter 0.16s ease;
}

.vault-music-sound {
    width: 34px;
    height: 34px;
    min-width: 34px;
    color: #f4d48a;
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(216, 168, 79, 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 6px 16px rgba(0, 0, 0, 0.16);
}

.vault-music-volume-control {
    position: relative;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
}

.vault-music-volume-control .vault-music-sound {
    width: 34px;
    height: 34px;
    min-width: 34px;
}

.vault-music-volume-popover {
    position: absolute;
    right: 0;
    bottom: 31px;
    width: 34px;
    height: 116px;
    padding: 12px 0 16px;
    display: grid;
    place-items: center;
    border-radius: 999px 999px 18px 18px;
    border: 1px solid rgba(255, 216, 132, 0.30);
    background:
        radial-gradient(circle at 50% 12%, rgba(255, 216, 132, 0.18), transparent 42%),
        rgba(13, 8, 4, 0.97);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
    opacity: 0;
    pointer-events: none;
    transform: translateY(7px) scale(0.94);
    transform-origin: bottom center;
    transition:
        opacity 0.16s ease,
        transform 0.16s ease;
    z-index: 7;
}

.vault-music-volume-popover::after {
    content: "";
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: -8px;
    height: 10px;
    background: rgba(13, 8, 4, 0.97);
    border-left: 1px solid rgba(255, 216, 132, 0.22);
    border-right: 1px solid rgba(255, 216, 132, 0.22);
}

.vault-music-volume-control:hover .vault-music-volume-popover,
.vault-music-volume-control:focus-within .vault-music-volume-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.vault-music-volume {
    width: 8px;
    height: 82px;
    margin: 0 auto;
    border-radius: 999px;
    appearance: slider-vertical;
    -webkit-appearance: slider-vertical;
    writing-mode: vertical-lr;
    direction: rtl;
    background: linear-gradient(0deg, rgba(170, 103, 24, 0.86), rgba(255, 216, 132, 0.96));
    outline: none;
    cursor: pointer;
    accent-color: #ffd884;
}

.vault-music-volume::-webkit-slider-runnable-track {
    width: 8px;
    border-radius: 999px;
    background: linear-gradient(0deg, rgba(170, 103, 24, 0.86), rgba(255, 216, 132, 0.96));
}

.vault-music-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid #2a1707;
    background: #ffe19a;
    box-shadow:
        0 0 0 3px rgba(255, 216, 132, 0.16),
        0 3px 9px rgba(0, 0, 0, 0.38);
}

.vault-music-volume::-moz-range-track {
    width: 8px;
    border-radius: 999px;
    background: linear-gradient(0deg, rgba(170, 103, 24, 0.86), rgba(255, 216, 132, 0.96));
}

.vault-music-volume::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid #2a1707;
    background: #ffe19a;
    box-shadow:
        0 0 0 3px rgba(255, 216, 132, 0.16),
        0 3px 9px rgba(0, 0, 0, 0.38);
}

.vault-music-play:hover,
.vault-music-sound:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow:
        0 0 22px rgba(255, 216, 132, 0.30),
        0 10px 22px rgba(0, 0, 0, 0.24);
}

.vault-music-player.is-playing .vault-music-play {
    color: #fff8e8;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 238, 180, 0.45), transparent 42%),
        linear-gradient(180deg, #c99631 0%, #7d4b12 100%);
}

.vault-music-progress-wrap {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.vault-music-progress {
    width: 100%;
    height: 8px;
    margin: 0;
    border-radius: 999px;
    appearance: none;
    -webkit-appearance: none;
    background:
        linear-gradient(90deg, #ffd884 0%, #b98225 100%);
    outline: none;
    cursor: pointer;
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.46),
        0 0 14px rgba(255, 216, 132, 0.10);
}

.vault-music-progress::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255, 216, 132, 0.92), rgba(170, 103, 24, 0.82));
}

.vault-music-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin-top: -4px;
    border-radius: 999px;
    border: 2px solid #2a1707;
    background: #ffe19a;
    box-shadow:
        0 0 0 3px rgba(255, 216, 132, 0.18),
        0 3px 10px rgba(0, 0, 0, 0.38);
}

.vault-music-progress::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(255, 216, 132, 0.92), rgba(170, 103, 24, 0.82));
}

.vault-music-progress::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid #2a1707;
    background: #ffe19a;
    box-shadow:
        0 0 0 3px rgba(255, 216, 132, 0.18),
        0 3px 10px rgba(0, 0, 0, 0.38);
}

.vault-music-time {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 241, 212, 0.58);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.02em;
}

.vault-music-player .vault-ms-icon {
    font-size: 22px;
    font-variation-settings:
        'FILL' 1,
        'wght' 650,
        'GRAD' 0,
        'opsz' 24;
}

.vault-music-sound .vault-ms-icon {
    font-size: 19px;
    color: currentColor;
}

@media (max-width: 760px) {
    .vault-music-player {
        grid-template-columns: 40px minmax(0, 1fr) 34px;
        padding: 9px;
    }
}

/* ==========================================================
   Vault SVC Tool Card + Floating Recorder
   ========================================================== */

.vault-item-card-tool {
    border-color: rgba(255, 216, 132, 0.42);
    background:
        radial-gradient(circle at 82% 0%, rgba(255, 216, 132, 0.14), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.028)),
        rgba(20, 13, 7, 0.80);
}

.vault-item-card-tool .vault-card-badge {
    width: 112px;
    height: 112px;
}

.vault-item-card-tool .vault-card-badge img {
    width: 102px;
    height: 102px;
}

.vault-tool-use {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 0;
    color: #1a1005;
    background: linear-gradient(180deg, #ffd884 0%, #d39d3a 58%, #a76d18 100%);
    font-weight: 950;
    cursor: pointer;
    box-shadow:
        0 0 18px rgba(255, 216, 132, 0.18),
        0 8px 18px rgba(0, 0, 0, 0.18);
}

.vault-tool-use:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.svc-recorder-panel {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 100000;
    width: min(420px, calc(100vw - 28px));
    padding: 18px;
    border-radius: 26px;
    border: 1px solid rgba(255, 216, 132, 0.36);
    color: #fff4de;
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 216, 132, 0.16), transparent 36%),
        linear-gradient(145deg, rgba(38, 23, 11, 0.96), rgba(8, 5, 3, 0.98));
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.035) inset;
    backdrop-filter: blur(16px);
}

.svc-recorder-panel[hidden] {
    display: none;
}

.svc-recorder-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
}

.svc-recorder-head span {
    display: block;
    margin-bottom: 4px;
    color: #ffd884;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.svc-recorder-head strong {
    display: block;
    color: #fff5e4;
    font-size: 1.18rem;
}

.svc-recorder-head button {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 216, 132, 0.26);
    color: #ffd884;
    background: rgba(255, 255, 255, 0.035);
    font-weight: 950;
    cursor: pointer;
}

.svc-recorder-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 216, 132, 0.24);
    background: rgba(0, 0, 0, 0.18);
}

.svc-red-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #d81422;
    box-shadow: 0 0 14px rgba(216, 20, 34, 0.62);
}

.svc-recorder-panel.is-recording .svc-red-dot {
    animation: svcPulse 1s ease-in-out infinite;
}

@keyframes svcPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.72;
    }

    50% {
        transform: scale(1.22);
        opacity: 1;
    }
}

.svc-recorder-note {
    margin: 14px 0 12px;
    color: rgba(255, 244, 222, 0.66);
    line-height: 1.55;
    font-size: 0.88rem;
    font-weight: 750;
}

.svc-recorder-status {
    margin-bottom: 12px;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 216, 132, 0.18);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 244, 222, 0.78);
    font-weight: 800;
    line-height: 1.45;
}

.svc-recorder-status[hidden] {
    display: none;
}

.svc-recorder-status.is-error {
    color: #ffd0c7;
    border-color: rgba(255, 120, 92, 0.34);
    background: rgba(160, 42, 24, 0.14);
}

.svc-recorder-status.is-success {
    color: #c9ffd7;
    border-color: rgba(80, 190, 120, 0.28);
    background: rgba(20, 82, 47, 0.14);
}

.svc-recorder-preview {
    width: 100%;
    max-height: 190px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: #000;
    border: 1px solid rgba(255, 216, 132, 0.18);
}

.svc-recorder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.svc-recorder-actions button,
.svc-recorder-actions a {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 216, 132, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffd884;
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    font-weight: 950;
    cursor: pointer;
}

.svc-recorder-actions .svc-start,
.svc-recorder-actions .svc-download {
    border: 0;
    color: #1a1005;
    background: linear-gradient(180deg, #ffd884 0%, #d39d3a 58%, #a76d18 100%);
}

.svc-recorder-actions button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

@media (max-width: 760px) {
    .svc-recorder-panel {
        right: 14px;
        bottom: 14px;
    }

    .svc-recorder-actions {
        flex-direction: column;
    }
}


/* ==========================================================
   Vault Lyrics Modal
   ========================================================== */

.vault-lyrics-modal[hidden] {
    display: none;
}

.vault-lyrics-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 22px;
}

.vault-lyrics-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 216, 132, 0.13), transparent 34%),
        rgba(5, 3, 2, 0.78);
    backdrop-filter: blur(10px);
}

.vault-lyrics-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: min(78vh, 680px);
    display: grid;
    grid-template-rows: auto minmax(160px, 1fr) auto auto;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 216, 132, 0.32);
    background:
        radial-gradient(circle at 86% 0%, rgba(255, 216, 132, 0.12), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026)),
        rgba(18, 11, 6, 0.96);
    color: #fff4de;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.vault-lyrics-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.vault-lyrics-head span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 216, 132, 0.72);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vault-lyrics-head h2 {
    margin: 0;
    color: #fff5e4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.22rem, 2.6vw, 1.72rem);
    line-height: 1.12;
}

.vault-lyrics-x {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 1px solid rgba(216, 168, 79, 0.34);
    border-radius: 999px;
    color: #f4d48a;
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
}

.vault-lyrics-text {
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(216, 168, 79, 0.20);
    background: rgba(0, 0, 0, 0.24);
    color: rgba(255, 244, 222, 0.90);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 216, 132, 0.74) rgba(30, 18, 9, 0.92);
    font: 0.96rem/1.72 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.vault-lyrics-text::-webkit-scrollbar {
    width: 11px;
}

.vault-lyrics-text::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(30, 18, 9, 0.92);
    border: 1px solid rgba(216, 168, 79, 0.16);
}

.vault-lyrics-text::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, #ffd884 0%, #b98225 100%);
    border: 2px solid rgba(30, 18, 9, 0.92);
}

.vault-lyrics-text::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffe6a6 0%, #d39d3a 100%);
}

.vault-lyrics-copy-status {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(143, 224, 166, 0.28);
    background: rgba(143, 224, 166, 0.09);
    color: #9ee5b2;
    font-weight: 850;
}

.vault-lyrics-copy-status[hidden] {
    display: none;
}

.vault-lyrics-copy-status.is-error {
    border-color: rgba(255, 140, 110, 0.34);
    background: rgba(255, 140, 110, 0.10);
    color: #ffb19f;
}

.vault-lyrics-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.vault-lyrics-actions .vault-gold-btn,
.vault-lyrics-actions .vault-soft-btn {
    gap: 8px;
}

@media (max-width: 760px) {
    .vault-lyrics-modal {
        padding: 14px;
    }

    .vault-lyrics-dialog {
        max-height: 88vh;
        padding: 18px;
        border-radius: 22px;
    }

    .vault-lyrics-actions {
        justify-content: stretch;
    }

    .vault-lyrics-actions .vault-gold-btn,
    .vault-lyrics-actions .vault-soft-btn {
        width: 100%;
    }
}

/* ==========================================================
   Vault Show More - text link style only
   Safe override: does not touch music player / volume
   ========================================================== */

.vault-show-more-wrap {
    width: min(100%, 1180px);
    margin: 26px auto 0;
    text-align: center;
}

.vault-show-more {
    min-height: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffd884;
    box-shadow: none;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 950;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.vault-show-more:hover,
.vault-show-more:focus-visible {
    color: #fff2c8;
    background: transparent;
    box-shadow: none;
    outline: none;
    text-shadow: 0 0 14px rgba(255, 216, 132, 0.28);
}

.vault-show-more:disabled {
    opacity: 0.48;
    cursor: wait;
    color: rgba(255, 216, 132, 0.58);
}

.vault-show-more[hidden],
.vault-show-more-wrap[hidden] {
    display: none;
}

