/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-zpc8qm40hb] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-zpc8qm40hb] {
    flex: 1;
    /* Flex items default to min-width:auto, which lets a wide child grid force the whole page wider
       and shrink the navigation rail. Allow page content to contract; individual wide controls then
       handle their own overflow at the component level. */
    min-width: 0;
}

.sidebar[b-zpc8qm40hb] {
    background-image: linear-gradient(180deg, var(--theme-sidebar-start) 0%, var(--theme-sidebar-middle) 55%, var(--theme-sidebar-end) 100%);
}

.top-row[b-zpc8qm40hb] {
    background-color: var(--theme-topbar-bg);
    border-bottom: 1px solid var(--theme-topbar-border);
    justify-content: space-between;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.user-greeting[b-zpc8qm40hb] {
    color: var(--theme-primary-deep);
    font-weight: 600;
}

    .top-row[b-zpc8qm40hb]  a, .top-row[b-zpc8qm40hb]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-zpc8qm40hb]  a:hover, .top-row[b-zpc8qm40hb]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-zpc8qm40hb]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-zpc8qm40hb] {
        justify-content: space-between;
    }

    .top-row[b-zpc8qm40hb]  a, .top-row[b-zpc8qm40hb]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-zpc8qm40hb] {
        flex-direction: row;
    }

    .sidebar[b-zpc8qm40hb] {
        width: 250px;
        /* The desktop navigation is a fixed workspace rail. It must not collapse when a data grid or
           character formation has a large intrinsic width, otherwise labels wrap into vertical text. */
        flex: 0 0 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-zpc8qm40hb] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-zpc8qm40hb]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-zpc8qm40hb], article[b-zpc8qm40hb] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-60q7ueneu3] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-60q7ueneu3] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.top-row .container-fluid[b-60q7ueneu3] {
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.navbar-brand[b-60q7ueneu3] {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: auto;
    max-width: calc(100% - 3.5rem);
    flex: 0 1 auto;
    margin-right: auto;
}

.bi[b-60q7ueneu3] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-60q7ueneu3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-60q7ueneu3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-60q7ueneu3] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-emoji[b-60q7ueneu3] {
    display: inline-block;
    width: 1.25rem;
    margin-right: 0.75rem;
    text-align: center;
    top: -1px;
    position: relative;
}

.nav-item[b-60q7ueneu3] {
    font-size: 0.95rem;
    padding-bottom: 0.35rem;
}

    .nav-item:first-of-type[b-60q7ueneu3] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-60q7ueneu3] {
        padding-bottom: 1rem;
    }

    .nav-item[b-60q7ueneu3]  a {
        color: var(--theme-nav-text);
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-60q7ueneu3]  a.active {
    background-image: linear-gradient(135deg, rgba(var(--theme-accent-rgb), .85), rgba(var(--theme-primary-rgb), .85));
    color: white;
}

.nav-item[b-60q7ueneu3]  a:hover {
    background-color: var(--theme-nav-hover-bg);
    color: white;
}

@media (max-width: 640.98px) {
    .top-row[b-60q7ueneu3] {
        min-height: 4rem;
        padding: 0.25rem 0.75rem !important;
    }

    .navbar-toggler[b-60q7ueneu3] {
        width: 2.75rem;
        height: 2.5rem;
        flex: 0 0 auto;
        padding: 0.25rem 0.45rem;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-60q7ueneu3] {
        display: none;
    }

    .collapse[b-60q7ueneu3] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-60q7ueneu3] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/About.razor.rz.scp.css */
.about-page[b-lexhstp73q] {
    width: min(100%, 58rem);
    padding-bottom: 2rem;
    color: var(--theme-brand-ink);
}

.about-heading[b-lexhstp73q] {
    margin-bottom: 2.25rem;
}

.about-heading h1[b-lexhstp73q] {
    margin-bottom: .75rem;
}

.about-brand[b-lexhstp73q] {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.about-heading p[b-lexhstp73q] {
    max-width: 48rem;
    margin: 0 0 .35rem;
    line-height: 1.7;
}

.about-heading .about-description[b-lexhstp73q],
.guide-heading p[b-lexhstp73q] {
    color: var(--theme-muted);
}

.guide-content[b-lexhstp73q] {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(var(--theme-brand-border-rgb), .16);
}

.guide-heading[b-lexhstp73q] {
    margin-bottom: 1rem;
}

.guide-heading h2[b-lexhstp73q] {
    margin-bottom: .45rem;
}

.guide-heading p[b-lexhstp73q] {
    max-width: 48rem;
    margin: 0;
    line-height: 1.7;
}

.guide-nav[b-lexhstp73q] {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1.25rem;
    padding: .85rem 0 1rem;
    border-top: 1px solid rgba(var(--theme-brand-border-rgb), .15);
    border-bottom: 1px solid rgba(var(--theme-brand-border-rgb), .15);
}

.guide-nav a[b-lexhstp73q] {
    font-weight: 600;
    text-underline-offset: .2em;
}

.guide-section[b-lexhstp73q] {
    padding-top: 2rem;
    scroll-margin-top: 4.5rem;
}

.guide-section-heading[b-lexhstp73q] {
    margin-bottom: .7rem;
}

.guide-section-heading > span[b-lexhstp73q] {
    display: block;
    margin-bottom: .2rem;
    color: var(--theme-accent-strong);
    font-size: .78rem;
    font-weight: 700;
}

.guide-section-heading h3[b-lexhstp73q] {
    margin: 0;
    font-size: 1.45rem;
}

.guide-steps[b-lexhstp73q] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-steps li[b-lexhstp73q] {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: .9rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(var(--theme-brand-border-rgb), .13);
}

.guide-step-number[b-lexhstp73q] {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--theme-primary);
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

.guide-steps h4[b-lexhstp73q] {
    margin: .1rem 0 .35rem;
    color: var(--theme-primary-deep);
    font-size: 1.05rem;
}

.guide-steps p[b-lexhstp73q] {
    margin: 0;
    line-height: 1.7;
}

.guide-steps .guide-detail[b-lexhstp73q] {
    margin-top: .35rem;
    color: var(--theme-muted);
    font-size: .9rem;
}

.guide-features[b-lexhstp73q] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid rgba(var(--theme-brand-border-rgb), .15);
}

.guide-features > div[b-lexhstp73q] {
    min-width: 0;
    padding: 1rem 1rem 1rem 0;
    border-bottom: 1px solid rgba(var(--theme-brand-border-rgb), .15);
}

.guide-features > div:nth-child(even)[b-lexhstp73q] {
    padding-right: 0;
    padding-left: 1rem;
    border-left: 1px solid rgba(var(--theme-brand-border-rgb), .15);
}

.guide-features dt[b-lexhstp73q] {
    margin-bottom: .3rem;
    color: var(--theme-primary-deep);
    font-weight: 700;
}

.guide-features dd[b-lexhstp73q] {
    margin: 0;
    color: var(--theme-muted);
    font-size: .92rem;
    line-height: 1.65;
}

.guide-notes ul[b-lexhstp73q] {
    margin: 0;
    padding: .95rem 1.1rem .95rem 2.2rem;
    border-left: .25rem solid var(--theme-accent);
    background: rgba(var(--theme-accent-rgb), .055);
}

.guide-notes li[b-lexhstp73q] {
    margin: .35rem 0;
    line-height: 1.65;
}

@media (max-width: 640px) {
    .about-page[b-lexhstp73q] {
        width: 100%;
    }

    .about-heading[b-lexhstp73q] {
        margin-bottom: 1.75rem;
    }

    .guide-section[b-lexhstp73q] {
        padding-top: 1.6rem;
    }

    .guide-features[b-lexhstp73q] {
        grid-template-columns: 1fr;
    }

    .guide-features > div[b-lexhstp73q],
    .guide-features > div:nth-child(even)[b-lexhstp73q] {
        padding: .9rem 0;
        border-left: 0;
    }

    .guide-steps li[b-lexhstp73q] {
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: .7rem;
    }

    .guide-step-number[b-lexhstp73q] {
        width: 2rem;
        height: 2rem;
    }

    .guide-notes ul[b-lexhstp73q] {
        padding-right: .8rem;
    }
}
/* /Pages/CardBinding.razor.rz.scp.css */
.card-binding-page[b-zhw0frlw7d] {
    width: 100%;
    max-width: 76rem;
    padding-bottom: 2rem;
}

.card-binding-head[b-zhw0frlw7d] {
    max-width: 56rem;
    margin-bottom: 1.35rem;
}

.card-binding-head h1[b-zhw0frlw7d] {
    margin: 0 0 .45rem;
}

.card-binding-head p[b-zhw0frlw7d] {
    margin: 0;
    color: #655e70;
    line-height: 1.65;
}

.page-alert[b-zhw0frlw7d] {
    padding: .7rem .85rem;
    border-radius: 8px;
}

/* The account save is the page's primary reference point, so it is a compact summary band rather
   than another form card. Its metrics reflow independently from the player name. */
.account-save-panel[b-zhw0frlw7d] {
    padding: 1rem 1.1rem;
    border: 1px solid #d8cbe4;
    border-left: 3px solid #b94a96;
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
}

.account-save-heading[b-zhw0frlw7d],
.section-heading[b-zhw0frlw7d],
.recommendation-heading[b-zhw0frlw7d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.account-save-heading h2[b-zhw0frlw7d],
.section-heading h2[b-zhw0frlw7d],
.recommendation-heading h2[b-zhw0frlw7d],
.card-tool-panel h2[b-zhw0frlw7d],
.invitation-head h2[b-zhw0frlw7d] {
    margin: 0;
    color: #442456;
    font-size: 1.15rem;
}

.account-save-heading > span[b-zhw0frlw7d],
.section-heading > span[b-zhw0frlw7d] {
    flex: 0 0 auto;
    color: #6b427d;
    background: #f1e8f6;
    border-radius: 6px;
    padding: .25rem .55rem;
    font-size: .76rem;
    font-weight: 650;
}

.account-save-body[b-zhw0frlw7d] {
    display: grid;
    grid-template-columns: minmax(12rem, 1.15fr) minmax(0, 2fr);
    align-items: end;
    gap: 1.2rem;
    margin-top: .9rem;
}

.account-save-player span[b-zhw0frlw7d],
.account-save-stats dt[b-zhw0frlw7d],
.bound-card-identity span[b-zhw0frlw7d],
.bound-card-details dt[b-zhw0frlw7d],
.recommendation-metrics span[b-zhw0frlw7d],
.card-tool-panel label[b-zhw0frlw7d] {
    display: block;
    margin: 0 0 .25rem;
    color: #7a7182;
    font-size: .76rem;
    font-weight: 650;
}

.account-save-player strong[b-zhw0frlw7d] {
    display: block;
    color: #2e2934;
    font-size: 1.15rem;
    overflow-wrap: anywhere;
}

.account-save-stats[b-zhw0frlw7d],
.bound-card-details[b-zhw0frlw7d] {
    display: grid;
    margin: 0;
}

.account-save-stats[b-zhw0frlw7d] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.account-save-stats dd[b-zhw0frlw7d],
.bound-card-details dd[b-zhw0frlw7d] {
    margin: 0;
    color: #302a36;
    font-weight: 700;
    line-height: 1.4;
}

.card-recommendation[b-zhw0frlw7d] {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #cfc0df;
    border-radius: 8px;
    background: #f7f3fb;
}

.recommendation-heading code[b-zhw0frlw7d] {
    display: block;
    margin-top: .3rem;
    overflow-wrap: anywhere;
}

.recommendation-heading > strong[b-zhw0frlw7d] {
    color: var(--theme-primary);
    font-size: .88rem;
}

.recommendation-metrics[b-zhw0frlw7d] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin-top: .9rem;
}

.recommendation-metrics > div[b-zhw0frlw7d] {
    min-width: 0;
    padding: .65rem .7rem;
    border: 1px solid #e1d7eb;
    border-radius: 6px;
    background: #fff;
}

.recommendation-metrics strong[b-zhw0frlw7d] {
    display: block;
    overflow-wrap: anywhere;
}

.recommendation-actions[b-zhw0frlw7d] {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: .85rem;
}

.bound-cards-section[b-zhw0frlw7d] {
    margin-top: 2rem;
}

.section-heading[b-zhw0frlw7d] {
    padding-bottom: .7rem;
    border-bottom: 1px solid rgba(73, 51, 105, .16);
}

.section-state[b-zhw0frlw7d] {
    margin: 1rem 0 0;
    color: #756d7e;
}

.bound-card-list[b-zhw0frlw7d] {
    display: grid;
    gap: .7rem;
    margin-top: .8rem;
}

/* One responsive DOM serves both desktop and mobile. This avoids a duplicated table/card action
   surface while guaranteeing that long IDs and Chinese button labels are never squeezed vertically. */
.bound-card-item[b-zhw0frlw7d] {
    display: grid;
    grid-template-columns: minmax(15rem, 1.25fr) minmax(0, 2fr) auto;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    padding: .85rem;
    border: 1px solid #ddd4e5;
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
}

.bound-card-identity[b-zhw0frlw7d],
.bound-card-details[b-zhw0frlw7d],
.bound-card-details > div[b-zhw0frlw7d] {
    min-width: 0;
}

.bound-card-identity code[b-zhw0frlw7d] {
    display: block;
    color: var(--theme-accent-strong);
    font-size: .82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.bound-card-details[b-zhw0frlw7d] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
}

.bound-card-details dd[b-zhw0frlw7d] {
    font-size: .86rem;
    overflow-wrap: anywhere;
}

.bound-card-actions[b-zhw0frlw7d] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
}

.bound-card-actions .btn[b-zhw0frlw7d] {
    white-space: nowrap;
}

.bound-cards-note[b-zhw0frlw7d] {
    max-width: 52rem;
    margin: .7rem 0 0;
    color: #756d7e;
    font-size: .8rem;
    line-height: 1.55;
}

.card-tools-grid[b-zhw0frlw7d] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 2rem;
}

.card-tool-panel[b-zhw0frlw7d] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    padding: 1rem;
    border: 1px solid #d9cfe3;
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
}

.card-tool-panel > p[b-zhw0frlw7d] {
    margin: .35rem 0 .9rem;
    color: #6f6878;
    font-size: .84rem;
    line-height: 1.55;
}

.card-tool-panel .form-control[b-zhw0frlw7d] {
    min-height: 2.65rem;
    margin-bottom: .65rem;
}

.card-tool-panel > .btn[b-zhw0frlw7d] {
    min-height: 2.65rem;
}

.login-qr-content[b-zhw0frlw7d] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
}

.login-qr-image[b-zhw0frlw7d] {
    display: block;
    width: 220px;
    max-width: 100%;
    aspect-ratio: 1;
    height: auto;
    padding: .5rem;
    border: 1px solid #d9cfe3;
    border-radius: 6px;
    background: #fff;
    image-rendering: pixelated;
}

.login-qr-actions[b-zhw0frlw7d] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.invitation-panel[b-zhw0frlw7d] {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(73, 51, 105, .16);
}

.invitation-head[b-zhw0frlw7d] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.invitation-head h2[b-zhw0frlw7d] {
    margin: 0 0 .25rem;
    font-size: 1.15rem;
}

.invitation-head p[b-zhw0frlw7d] {
    max-width: 42rem;
    margin: 0;
    color: #6f6878;
    font-size: .875rem;
}

.invitation-grid[b-zhw0frlw7d] {
    display: grid;
    grid-template-columns: minmax(17rem, .85fr) minmax(20rem, 1.15fr);
    gap: .85rem;
}

.invitation-code-card[b-zhw0frlw7d],
.invitation-relation-block[b-zhw0frlw7d] {
    padding: .85rem;
    border: 1px solid #e4dce9;
    border-radius: 6px;
    background: #fff;
}

.invitation-label[b-zhw0frlw7d] {
    display: block;
    margin-bottom: .45rem;
    color: #756d7e;
    font-size: .78rem;
    font-weight: 600;
}

.invitation-code[b-zhw0frlw7d] {
    display: block;
    overflow-wrap: anywhere;
    color: #442456;
    font-size: 1.15rem;
    line-height: 1.5;
}

.invitation-actions[b-zhw0frlw7d] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: .8rem;
    color: #817789;
    font-size: .78rem;
}

.invitation-relations[b-zhw0frlw7d] {
    display: grid;
    gap: .85rem;
}

.invitation-people[b-zhw0frlw7d] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem .8rem;
}

.invitation-person[b-zhw0frlw7d] {
    min-width: 0;
}

.invitation-person strong[b-zhw0frlw7d],
.invitation-person span[b-zhw0frlw7d] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.invitation-person span[b-zhw0frlw7d],
.invitation-empty[b-zhw0frlw7d] {
    color: #817789;
    font-size: .8rem;
}

.invitation-load-error[b-zhw0frlw7d] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    color: #a33b50;
    font-size: .85rem;
}

/* The navigation rail remains visible above 640px, so viewport width can overstate the space
   available to the page. Reflow dense rows before labels or invitation columns become cramped. */
@media (max-width: 1000px) {
    .account-save-body[b-zhw0frlw7d] {
        grid-template-columns: minmax(0, 1fr);
    }

    .bound-card-item[b-zhw0frlw7d] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .bound-card-details[b-zhw0frlw7d] {
        grid-column: 1 / -1;
        padding-top: .7rem;
        border-top: 1px solid #ece6f0;
    }

    .invitation-grid[b-zhw0frlw7d] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .card-binding-page[b-zhw0frlw7d] {
        padding-bottom: 1rem;
    }

    .card-binding-head[b-zhw0frlw7d] {
        margin-bottom: 1.1rem;
    }

    .card-binding-head p[b-zhw0frlw7d] {
        font-size: .9rem;
        line-height: 1.6;
    }

    .account-save-panel[b-zhw0frlw7d],
    .card-recommendation[b-zhw0frlw7d],
    .bound-card-item[b-zhw0frlw7d],
    .card-tool-panel[b-zhw0frlw7d] {
        padding: .85rem;
    }

    .account-save-body[b-zhw0frlw7d],
    .bound-card-item[b-zhw0frlw7d],
    .card-tools-grid[b-zhw0frlw7d] {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-save-stats[b-zhw0frlw7d] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-save-last-play[b-zhw0frlw7d] {
        grid-column: 1 / -1;
    }

    .recommendation-heading[b-zhw0frlw7d] {
        align-items: flex-start;
        flex-direction: column;
    }

    .recommendation-metrics[b-zhw0frlw7d] {
        grid-template-columns: minmax(0, 1fr);
    }

    .recommendation-actions .btn[b-zhw0frlw7d] {
        flex: 1 1 10rem;
        min-height: 2.75rem;
    }

    .bound-cards-section[b-zhw0frlw7d],
    .card-tools-grid[b-zhw0frlw7d],
    .invitation-panel[b-zhw0frlw7d] {
        margin-top: 1.5rem;
    }

    .bound-card-details[b-zhw0frlw7d] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: .7rem;
        border-top: 1px solid #ece6f0;
    }

    .bound-card-actions[b-zhw0frlw7d] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .bound-card-actions .btn[b-zhw0frlw7d] {
        min-height: 2.75rem;
    }

    .bound-card-actions .btn:only-child[b-zhw0frlw7d] {
        grid-column: 1 / -1;
    }

    .card-tools-grid[b-zhw0frlw7d] {
        gap: .7rem;
    }

    .invitation-head[b-zhw0frlw7d] {
        align-items: stretch;
        flex-direction: column;
    }

    .invitation-head .btn[b-zhw0frlw7d] {
        align-self: flex-start;
    }

    .invitation-grid[b-zhw0frlw7d] {
        grid-template-columns: minmax(0, 1fr);
    }

    .invitation-people[b-zhw0frlw7d] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Pages/Friends.razor.rz.scp.css */
.friends-page[b-78i1cpbbdp] {
    width: 100%;
    max-width: 1240px;
    --friend-ink: #2f2a34;
    --friend-muted: #77717f;
    --friend-border: #ddd8e1;
    --friend-accent: #476f70;
    --friend-accent-dark: #365c5d;
    --friend-warm: #ad467d;
}

.friends-heading[b-78i1cpbbdp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.friends-heading h1[b-78i1cpbbdp] {
    margin: 0;
    color: var(--friend-ink);
}

.refresh-button[b-78i1cpbbdp] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid #cbc5cf;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.8);
    color: #514a57;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

.refresh-button:hover:not(:disabled)[b-78i1cpbbdp] { border-color: #8d8494; background: #fff; }
.refresh-button:disabled[b-78i1cpbbdp] { opacity: 0.5; cursor: default; }

/* The top band is a single information surface, not a card nested inside the page. Its fixed tracks
   prevent the long code and the form button from resizing each other on ordinary desktop widths. */
.friend-code-band[b-78i1cpbbdp] {
    display: grid;
    grid-template-columns: minmax(315px, 0.9fr) minmax(360px, 1.1fr);
    align-items: end;
    gap: clamp(1.5rem, 4vw, 4.5rem);
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--friend-border);
    border-bottom: 1px solid var(--friend-border);
}

.own-code[b-78i1cpbbdp], .add-code[b-78i1cpbbdp] { min-width: 0; }
.band-label[b-78i1cpbbdp], .add-code label[b-78i1cpbbdp] {
    display: block;
    margin-bottom: 0.38rem;
    color: #68616f;
    font-size: 0.74rem;
    font-weight: 700;
}

.friend-code-row[b-78i1cpbbdp] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.friend-code-row strong[b-78i1cpbbdp] {
    color: #312a38;
    font: 750 clamp(1.05rem, 2vw, 1.34rem)/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: 0;
    white-space: nowrap;
}

.copy-code[b-78i1cpbbdp] {
    min-height: 32px;
    padding: 0.28rem 0.65rem;
    border: 1px solid #9c94a3;
    border-radius: 5px;
    background: transparent;
    color: #514a57;
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 700;
}

.copy-code:hover[b-78i1cpbbdp] { border-color: var(--friend-accent); color: var(--friend-accent-dark); background: #eff5f4; }

.add-code > div[b-78i1cpbbdp] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
}

.add-code input[b-78i1cpbbdp] {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 0.7rem;
    border: 1px solid #cec8d2;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--friend-ink);
    font: 0.85rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: 0;
}

.add-code input:focus[b-78i1cpbbdp] {
    border-color: var(--friend-accent);
    outline: 2px solid rgba(71, 111, 112, 0.16);
    outline-offset: 0;
}

.add-code button[b-78i1cpbbdp], .request-actions button[b-78i1cpbbdp], .recent-state button[b-78i1cpbbdp] {
    min-height: 36px;
    padding: 0.38rem 0.78rem;
    border: 1px solid #8c8492;
    border-radius: 5px;
    background: #fff;
    color: #4b4450;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 750;
    white-space: nowrap;
}

.add-code button[b-78i1cpbbdp], .request-actions button.primary[b-78i1cpbbdp], .recent-state button.primary[b-78i1cpbbdp] {
    border-color: var(--friend-accent-dark);
    background: var(--friend-accent);
    color: #fff;
}

.add-code button:hover:not(:disabled)[b-78i1cpbbdp], .request-actions button.primary:hover:not(:disabled)[b-78i1cpbbdp],
.recent-state button.primary:hover:not(:disabled)[b-78i1cpbbdp] { background: var(--friend-accent-dark); }
.request-actions button:hover:not(:disabled)[b-78i1cpbbdp] { border-color: #635b69; background: #f4f2f5; }
button:disabled[b-78i1cpbbdp] { opacity: 0.5; cursor: default; }

.friend-notice[b-78i1cpbbdp] {
    margin: 0.7rem 0;
    padding: 0.55rem 0.72rem;
    border-left: 3px solid;
    border-radius: 3px;
    font-size: 0.8rem;
}

.friend-notice.success[b-78i1cpbbdp] { border-color: #4f8580; background: #edf5f3; color: #315e5a; }
.friend-notice.error[b-78i1cpbbdp] { border-color: #b24d63; background: #f9edef; color: #8c3046; }

.friend-tabs[b-78i1cpbbdp] {
    display: flex;
    width: fit-content;
    max-width: 100%;
    gap: 0.2rem;
    margin: 1.15rem 0 1rem;
    padding: 0.24rem;
    border: 1px solid #ddd7e1;
    border-radius: 7px;
    background: #ece9ef;
    overflow-x: auto;
}

.friend-tabs button[b-78i1cpbbdp] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0.35rem 0.8rem;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #696270;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.friend-tabs button.active[b-78i1cpbbdp] { background: #fff; color: #37313d; box-shadow: 0 1px 4px rgba(47, 39, 54, 0.15); }
.friend-tabs button > span[b-78i1cpbbdp] {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.28rem;
    border-radius: 10px;
    background: #dcd7e0;
    color: #615967;
    font-size: 0.67rem;
}
.friend-tabs button.active > span[b-78i1cpbbdp] { background: #e7f0ef; color: #355f5f; }
.friend-tabs button > span.attention[b-78i1cpbbdp] { background: #f4dbe8; color: #9b326c; }

.friend-grid[b-78i1cpbbdp] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

/* A friend is a genuinely repeated entity, so a compact card is appropriate. It uses one shallow
   hierarchy: avatar, identity/stats, and a single destructive command, with no cards inside cards. */
.friend-card[b-78i1cpbbdp] {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.78rem;
    min-width: 0;
    min-height: 168px;
    padding: 0.78rem;
    border: 1px solid var(--friend-border);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 3px 11px rgba(43, 35, 50, 0.07);
}

.friend-card-main[b-78i1cpbbdp] { min-width: 0; }
.friend-name-row[b-78i1cpbbdp] {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.7rem;
    min-width: 0;
    padding-right: 2.65rem;
}

.friend-name-row > div:first-child[b-78i1cpbbdp] { min-width: 0; }
.friend-name-row h2[b-78i1cpbbdp] {
    margin: 0;
    color: var(--friend-ink);
    font-size: 1rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.friend-name-row p[b-78i1cpbbdp] {
    margin: 0.28rem 0 0;
    color: var(--friend-muted);
    font-size: 0.72rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.friend-rating[b-78i1cpbbdp] {
    display: grid;
    justify-items: end;
    flex: 0 0 auto;
    color: #825d17;
}
.friend-rating span[b-78i1cpbbdp] { font-size: 0.54rem; font-weight: 800; }
.friend-rating strong[b-78i1cpbbdp] { font: 800 1.12rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0; }

.friend-stats[b-78i1cpbbdp] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.48rem 0.8rem;
    margin: 0.9rem 0 0;
    padding-top: 0.65rem;
    border-top: 1px solid #e5e1e7;
}
.friend-stats > div:last-child[b-78i1cpbbdp] { grid-column: 1 / -1; }
.friend-stats dt[b-78i1cpbbdp] { color: #8a838e; font-size: 0.62rem; font-weight: 600; }
.friend-stats dd[b-78i1cpbbdp] { margin: 0.1rem 0 0; color: #443e48; font-size: 0.72rem; font-weight: 700; overflow-wrap: anywhere; }

.more-action[b-78i1cpbbdp] {
    position: absolute;
    top: 0.62rem;
    right: 0.62rem;
    min-height: 28px;
    padding: 0.2rem 0.48rem;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #79717d;
    cursor: pointer;
    font-size: 0.68rem;
}
.more-action.danger:hover:not(:disabled)[b-78i1cpbbdp] { border-color: #e0b8c1; background: #fbf0f2; color: #9a3e53; }

.request-columns[b-78i1cpbbdp] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}
.request-section[b-78i1cpbbdp] { min-width: 0; }
.section-title[b-78i1cpbbdp] {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}
.section-title h2[b-78i1cpbbdp] { margin: 0; color: var(--friend-ink); font-size: 0.96rem; }
.section-title span[b-78i1cpbbdp] { color: var(--friend-muted); font-size: 0.72rem; }
.request-list[b-78i1cpbbdp], .recent-list[b-78i1cpbbdp] { display: grid; gap: 0.55rem; }

.request-row[b-78i1cpbbdp], .recent-row[b-78i1cpbbdp] {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    min-height: 76px;
    padding: 0.62rem;
    border: 1px solid var(--friend-border);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.8);
}
.request-copy[b-78i1cpbbdp], .recent-copy[b-78i1cpbbdp] { display: flex; flex-direction: column; min-width: 0; gap: 0.2rem; }
.request-copy strong[b-78i1cpbbdp], .recent-copy strong[b-78i1cpbbdp] { color: var(--friend-ink); font-size: 0.84rem; overflow-wrap: anywhere; }
.request-copy span[b-78i1cpbbdp], .recent-copy span[b-78i1cpbbdp] { color: var(--friend-muted); font-size: 0.68rem; }
.request-actions[b-78i1cpbbdp] { display: flex; align-items: center; gap: 0.4rem; }
.pending-label[b-78i1cpbbdp] { color: #8a6680; font-size: 0.68rem; white-space: nowrap; }
.compact-empty[b-78i1cpbbdp] {
    margin: 0;
    min-height: 76px;
    padding: 1.55rem 0.8rem;
    border-top: 1px solid var(--friend-border);
    border-bottom: 1px solid var(--friend-border);
    color: var(--friend-muted);
    font-size: 0.78rem;
    text-align: center;
}

.recent-list[b-78i1cpbbdp] { max-width: 860px; }
.recent-state[b-78i1cpbbdp] { justify-self: end; }
.state-label[b-78i1cpbbdp] {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.2rem 0.52rem;
    border-radius: 4px;
    background: #efedf1;
    color: #706977;
    font-size: 0.67rem;
    font-weight: 700;
    white-space: nowrap;
}
.state-label.friend[b-78i1cpbbdp] { background: #e7f1ef; color: #376663; }
.state-label.incoming[b-78i1cpbbdp] { background: #f4e2eb; color: #963c6c; }
.state-label.outgoing[b-78i1cpbbdp] { background: #f2ebdc; color: #84661f; }
.state-label.unavailable[b-78i1cpbbdp] { background: #efedef; color: #8c858f; }

.friends-loading[b-78i1cpbbdp] {
    min-height: 180px;
    padding: 3rem 1rem;
    color: var(--friend-muted);
    text-align: center;
}

@media (max-width: 1050px) {
    .friend-grid[b-78i1cpbbdp] { grid-template-columns: 1fr; }
    .friend-code-band[b-78i1cpbbdp] { grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr); gap: 1.4rem; }
}

@media (max-width: 760px) {
    .friend-code-band[b-78i1cpbbdp] { grid-template-columns: 1fr; align-items: stretch; gap: 1rem; }
    .request-columns[b-78i1cpbbdp] { grid-template-columns: 1fr; gap: 1.25rem; }
    .friend-code-row strong[b-78i1cpbbdp] { font-size: 1.04rem; }
}

@media (max-width: 520px) {
    .friends-heading[b-78i1cpbbdp] { align-items: start; }
    .friend-code-band[b-78i1cpbbdp] { padding: 0.85rem 0; }
    .friend-code-row[b-78i1cpbbdp] { justify-content: space-between; }
    .friend-code-row strong[b-78i1cpbbdp] { font-size: 0.9rem; }
    .add-code > div[b-78i1cpbbdp] { grid-template-columns: 1fr; }
    .add-code button[b-78i1cpbbdp] { width: 100%; }
    .friend-tabs[b-78i1cpbbdp] { width: 100%; }
    .friend-tabs button[b-78i1cpbbdp] { flex: 1 0 auto; justify-content: center; }

    .friend-card[b-78i1cpbbdp] {
        grid-template-columns: 64px minmax(0, 1fr);
        min-height: 178px;
        padding: 0.66rem;
    }
    .friend-name-row[b-78i1cpbbdp] { display: grid; gap: 0.45rem; padding-right: 2.35rem; }
    .friend-rating[b-78i1cpbbdp] { justify-items: start; }
    .friend-stats[b-78i1cpbbdp] { grid-template-columns: 1fr; margin-left: -72px; }
    .friend-stats > div:last-child[b-78i1cpbbdp] { grid-column: auto; }

    .request-row[b-78i1cpbbdp], .recent-row[b-78i1cpbbdp] {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 0.58rem;
        padding: 0.58rem;
    }
    .request-actions[b-78i1cpbbdp], .recent-state[b-78i1cpbbdp] {
        grid-column: 1 / -1;
        justify-self: stretch;
        justify-content: flex-end;
        padding-left: 56px;
    }
    .request-actions button[b-78i1cpbbdp], .recent-state button[b-78i1cpbbdp] { flex: 1; }
    .state-label[b-78i1cpbbdp] { margin-left: auto; }
}
/* /Pages/Home.razor.rz.scp.css */
.ann-list[b-6etf32lspk] {
    display: flex;
    width: min(100%, 58rem);
    min-width: 0;
    flex-direction: column;
    gap: .9rem;
}

.ann-card[b-6etf32lspk] {
    min-width: 0;
    padding: 1.05rem 1.2rem 1.15rem;
    border: 1px solid rgba(var(--theme-brand-border-rgb), .16);
    border-left: .25rem solid rgba(var(--theme-primary-rgb), .58);
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 1px 4px rgba(36, 19, 54, .07);
}

.ann-card.pinned[b-6etf32lspk] {
    border-color: rgba(var(--theme-accent-rgb), .7);
    border-left-color: var(--theme-accent);
    box-shadow: 0 3px 12px rgba(var(--theme-accent-rgb), .12);
}

.ann-card.severity-warning[b-6etf32lspk] {
    border-left-color: #d99b00;
}

.ann-card.severity-maintenance[b-6etf32lspk] {
    border-left-color: #cb4962;
}

.ann-head[b-6etf32lspk] {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: .9rem;
    padding-bottom: .72rem;
    border-bottom: 1px solid rgba(var(--theme-brand-border-rgb), .11);
}

.ann-heading[b-6etf32lspk] {
    min-width: 0;
}

.ann-labels[b-6etf32lspk] {
    display: flex;
    min-height: 1.35rem;
    align-items: center;
    gap: .38rem;
    margin-bottom: .22rem;
}

.ann-pin[b-6etf32lspk],
.ann-kind[b-6etf32lspk] {
    display: inline-flex;
    min-height: 1.35rem;
    align-items: center;
    padding: .12rem .42rem;
    border-radius: .25rem;
    background: rgba(var(--theme-accent-rgb), .11);
    color: var(--theme-accent);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
}

.severity-warning .ann-kind[b-6etf32lspk] {
    background: #fff4d5;
    color: #765300;
}

.severity-maintenance .ann-kind[b-6etf32lspk] {
    background: #fdecef;
    color: #9d2f46;
}

.ann-title[b-6etf32lspk] {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--theme-primary-deep);
    font-size: 1.08rem;
    line-height: 1.4;
}

.ann-date[b-6etf32lspk] {
    flex: 0 0 auto;
    padding-top: .15rem;
    color: var(--theme-muted);
    font-size: .8rem;
    white-space: nowrap;
}

.ann-body[b-6etf32lspk] {
    min-width: 0;
    padding-top: .8rem;
    color: var(--theme-brand-ink);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.ann-body-plain[b-6etf32lspk] {
    white-space: pre-wrap;
}

.ann-body[b-6etf32lspk]  p {
    margin: 0 0 .72rem;
}

.ann-body[b-6etf32lspk]  p:last-child,
.ann-body[b-6etf32lspk]  ul:last-child,
.ann-body[b-6etf32lspk]  ol:last-child,
.ann-body[b-6etf32lspk]  blockquote:last-child,
.ann-body[b-6etf32lspk]  pre:last-child {
    margin-bottom: 0;
}

.ann-body[b-6etf32lspk]  ul,
.ann-body[b-6etf32lspk]  ol {
    margin: 0 0 .72rem;
    padding-left: 1.45rem;
}

.ann-body[b-6etf32lspk]  li + li {
    margin-top: .25rem;
}

.ann-body[b-6etf32lspk]  a {
    color: var(--theme-primary);
    font-weight: 600;
    text-decoration-thickness: .08em;
    text-underline-offset: .2em;
}

.ann-body[b-6etf32lspk]  blockquote {
    margin: .2rem 0 .75rem;
    padding: .55rem .8rem;
    border-left: .2rem solid rgba(var(--theme-primary-rgb), .46);
    background: rgba(var(--theme-primary-rgb), .045);
    color: var(--theme-muted);
}

.ann-body[b-6etf32lspk]  code {
    padding: .08rem .28rem;
    border-radius: .2rem;
    background: rgba(var(--theme-primary-rgb), .07);
    font-size: .9em;
}

.ann-body[b-6etf32lspk]  pre {
    max-width: 100%;
    margin: .25rem 0 .8rem;
    padding: .75rem;
    overflow-x: auto;
    border-radius: .3rem;
    background: #f5f2f7;
}

.ann-body[b-6etf32lspk]  pre code {
    padding: 0;
    background: transparent;
}

@media (max-width: 640px) {
    .ann-card[b-6etf32lspk] {
        padding: .95rem 1rem 1.05rem;
    }

    .ann-head[b-6etf32lspk] {
        flex-direction: column;
        gap: .25rem;
    }

    .ann-date[b-6etf32lspk] {
        align-self: flex-start;
        padding-top: 0;
    }

    .ann-body[b-6etf32lspk]  ul,
    .ann-body[b-6etf32lspk]  ol {
        padding-left: 1.25rem;
    }
}
/* /Pages/MusicData.razor.rz.scp.css */
/* Keep the data surface readable on wide monitors without scattering columns across the viewport. */
.music-page[b-1zcj2hoghl] {
    width: 100%;
    max-width: 100rem;
    margin: 0 auto;
}

.music-page .rank[b-1zcj2hoghl] {
    letter-spacing: 0;
}

.music-filter-panel[b-1zcj2hoghl] {
    margin-bottom: .8rem;
    padding: .7rem;
    border: 1px solid rgba(var(--theme-brand-border-rgb), .13);
    border-radius: .5rem;
    background: rgba(255, 255, 255, .58);
}

.music-toolbar[b-1zcj2hoghl] {
    display: grid;
    grid-template-columns: minmax(18rem, 2fr) repeat(4, minmax(8rem, 1fr));
    gap: .5rem;
}

.music-filter[b-1zcj2hoghl] {
    display: flex;
    flex-direction: column;
    gap: .28rem;
}

.music-filter-label[b-1zcj2hoghl] {
    color: var(--theme-muted);
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.2;
}

.music-filter-panel .form-control[b-1zcj2hoghl],
.music-filter-panel .form-select[b-1zcj2hoghl],
.music-filter-panel .music-order-filter .btn[b-1zcj2hoghl] {
    min-height: 2.15rem;
}

.music-filter-actions[b-1zcj2hoghl] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .65rem;
    padding-top: .6rem;
    border-top: 1px solid rgba(var(--theme-brand-border-rgb), .1);
}

.music-filter-actions .form-check[b-1zcj2hoghl] {
    margin: 0 0 .35rem;
}

.music-sort-controls[b-1zcj2hoghl] {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) 2.75rem;
    gap: .5rem;
    width: min(100%, 20rem);
}

.music-order-filter .btn[b-1zcj2hoghl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-inline: 0;
    font-size: 1rem;
}

.music-filter[b-1zcj2hoghl],
.music-song[b-1zcj2hoghl],
.music-song-content[b-1zcj2hoghl],
.music-song-copy[b-1zcj2hoghl],
.music-metric[b-1zcj2hoghl],
.music-history-row > span[b-1zcj2hoghl] {
    min-width: 0;
}

.music-pagination[b-1zcj2hoghl] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.stat-panel[b-1zcj2hoghl] {
    border-radius: .5rem;
    background: rgba(255, 255, 255, .62);
}

.music-list[b-1zcj2hoghl] {
    overflow: hidden;
    border: 1px solid rgba(var(--theme-brand-ink-rgb), .12);
    border-radius: .5rem;
    background: rgba(255, 255, 255, .72);
}

.music-list-head[b-1zcj2hoghl],
.music-row[b-1zcj2hoghl] {
    display: grid;
    grid-template-columns: minmax(18rem, 1fr) 7rem 4.5rem 8rem 9.5rem 4rem 5.5rem;
    align-items: center;
    column-gap: .75rem;
}

.music-list-head[b-1zcj2hoghl] {
    min-height: 2rem;
    padding: .35rem .65rem;
    border-bottom: 1px solid rgba(var(--theme-brand-ink-rgb), .13);
    background: rgba(var(--theme-brand-surface-rgb), .045);
    color: var(--theme-brand-ink);
    font-size: .74rem;
    font-weight: 700;
}

.music-list-head > span:not(:first-child)[b-1zcj2hoghl] {
    text-align: center;
}

.music-row[b-1zcj2hoghl] {
    width: 100%;
    min-height: 3.55rem;
    padding: .42rem .65rem;
    border: 0;
    border-bottom: 1px solid rgba(var(--theme-brand-ink-rgb), .1);
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease;
}

.music-row:last-child[b-1zcj2hoghl] {
    border-bottom: 0;
}

.music-row:hover[b-1zcj2hoghl],
.music-row:focus-visible[b-1zcj2hoghl] {
    background: rgba(var(--theme-primary-rgb), .075);
}

.music-row:focus-visible[b-1zcj2hoghl] {
    position: relative;
    z-index: 1;
    outline: 2px solid rgba(var(--theme-primary-rgb), .5);
    outline-offset: -2px;
}

.music-song-content[b-1zcj2hoghl] {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.music-song .jacket[b-1zcj2hoghl] {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: .35rem;
    object-fit: cover;
    background: rgba(var(--theme-brand-ink-rgb), .06);
}

.music-song-copy[b-1zcj2hoghl] {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.music-song-tags[b-1zcj2hoghl],
.music-status-badges[b-1zcj2hoghl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    min-width: 0;
}

.music-song-tags .badge[b-1zcj2hoghl],
.music-status-badges .badge[b-1zcj2hoghl] {
    margin-left: 0 !important;
}

.music-row .diff-chip[b-1zcj2hoghl] {
    display: inline-flex;
    height: 1.4rem;
    min-width: 5.2rem;
    padding: 0 .5rem;
    border: 1px solid transparent;
    border-radius: .45rem;
    color: #fff;
    font-size: .72rem;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}

.music-row .song-name[b-1zcj2hoghl] {
    display: -webkit-box;
    overflow: hidden;
    color: #18151c;
    font-size: .88rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.music-row .song-name.cond[b-1zcj2hoghl],
.music-row .song-name.cond2[b-1zcj2hoghl],
.detail-panel .rec-song-title.cond[b-1zcj2hoghl],
.detail-panel .rec-song-title.cond2[b-1zcj2hoghl] {
    letter-spacing: 0;
}

.music-row .song-name.cond[b-1zcj2hoghl] {
    font-size: .82rem;
}

.music-row .song-name.cond2[b-1zcj2hoghl] {
    font-size: .76rem;
}

.music-metric[b-1zcj2hoghl] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    font-size: .82rem;
    line-height: 1.2;
    text-align: center;
}

.music-metric-label[b-1zcj2hoghl] {
    display: none;
}

.music-achievement strong[b-1zcj2hoghl],
.music-dx-value[b-1zcj2hoghl] {
    white-space: nowrap;
}

.music-rank .rank[b-1zcj2hoghl] {
    font-weight: 800;
}

.music-empty[b-1zcj2hoghl],
.music-unplayed[b-1zcj2hoghl] {
    color: var(--theme-muted);
}

.music-unplayed[b-1zcj2hoghl] {
    font-size: .76rem;
}

.music-rating .my-rating[b-1zcj2hoghl] {
    border-radius: .45rem;
}

/* The modal owns its overflow. Wide history content must never resize the panel or backdrop. */
.detail-backdrop[b-1zcj2hoghl] {
    padding: 1rem;
    align-items: center;
}

.detail-panel[b-1zcj2hoghl] {
    width: min(48rem, 100%);
    min-width: 0;
    max-height: calc(100dvh - 2rem);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: .5rem;
}

.detail-ranking-action[b-1zcj2hoghl] {
    display: flex;
    justify-content: flex-end;
    margin: .9rem 0 0;
}

.detail-panel .rec-song-title[b-1zcj2hoghl],
.detail-panel .rec-artist[b-1zcj2hoghl],
.detail-panel .rec-meta-item[b-1zcj2hoghl],
.detail-panel .meta-name[b-1zcj2hoghl] {
    overflow-wrap: anywhere;
}

.music-history[b-1zcj2hoghl] {
    overflow: hidden;
    border: 1px solid rgba(var(--theme-brand-ink-rgb), .12);
    border-radius: .5rem;
}

.music-history-head[b-1zcj2hoghl],
.music-history-row[b-1zcj2hoghl] {
    display: grid;
    grid-template-columns: minmax(8.5rem, 1.25fr) minmax(6rem, .9fr) 4rem 6.5rem 5rem 3rem;
    align-items: center;
    gap: .5rem;
}

.music-history-head[b-1zcj2hoghl] {
    padding: .38rem .55rem;
    background: rgba(var(--theme-brand-surface-rgb), .055);
    color: var(--theme-brand-ink);
    font-size: .7rem;
    font-weight: 700;
}

.music-history-head > span:not(:first-child)[b-1zcj2hoghl] {
    text-align: center;
}

.music-history-row[b-1zcj2hoghl] {
    width: 100%;
    padding: .5rem .55rem;
    border: 0;
    border-top: 1px solid rgba(var(--theme-brand-ink-rgb), .1);
    border-radius: 0;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: .78rem;
    text-align: left;
}

.music-history-row:hover[b-1zcj2hoghl],
.music-history-row:focus-visible[b-1zcj2hoghl] {
    background: rgba(var(--theme-primary-rgb), .07);
}

.history-achievement[b-1zcj2hoghl],
.history-rank[b-1zcj2hoghl],
.history-status[b-1zcj2hoghl],
.history-dx[b-1zcj2hoghl],
.history-action[b-1zcj2hoghl] {
    text-align: center;
}

.history-time[b-1zcj2hoghl],
.history-dx[b-1zcj2hoghl] {
    white-space: nowrap;
}

.history-action[b-1zcj2hoghl] {
    color: var(--theme-link);
    font-weight: 700;
}

.history-label[b-1zcj2hoghl] {
    display: none;
}

.music-history-detail[b-1zcj2hoghl] {
    min-width: 0;
    padding: .65rem;
    border-top: 1px solid rgba(var(--theme-brand-ink-rgb), .1);
    background: rgba(var(--theme-brand-surface-rgb), .035);
}

.history-detail-content[b-1zcj2hoghl] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: .75rem 1rem;
    min-width: 0;
}

.judge-mini-wrap[b-1zcj2hoghl] {
    max-width: 100%;
    overflow-x: auto;
}

.judge-mini[b-1zcj2hoghl] {
    min-width: 20rem;
}

@media (max-width: 1180px) {
    .music-toolbar[b-1zcj2hoghl] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .music-search[b-1zcj2hoghl] {
        grid-column: 1 / -1;
    }

    .music-list-head[b-1zcj2hoghl],
    .music-row[b-1zcj2hoghl] {
        grid-template-columns: minmax(15rem, 1fr) 6.7rem 4.2rem 8.8rem 5rem;
    }

    .music-list-head > span:nth-child(4)[b-1zcj2hoghl],
    .music-list-head > span:nth-child(6)[b-1zcj2hoghl],
    .music-status[b-1zcj2hoghl],
    .music-count[b-1zcj2hoghl] {
        display: none;
    }
}

@media (max-width: 1080px) {
    .music-list[b-1zcj2hoghl] {
        display: flex;
        overflow: visible;
        flex-direction: column;
        gap: .55rem;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .music-list-head[b-1zcj2hoghl] {
        display: none;
    }

    .music-row[b-1zcj2hoghl] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "song song"
            "achievement rank"
            "dx rating"
            "status count";
        gap: .65rem .8rem;
        min-height: 0;
        padding: .7rem;
        border: 1px solid rgba(var(--theme-brand-ink-rgb), .12);
        border-radius: .5rem;
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 1px 3px rgba(45, 35, 58, .06);
    }

    .music-song[b-1zcj2hoghl] { grid-area: song; }
    .music-achievement[b-1zcj2hoghl] { grid-area: achievement; }
    .music-rank[b-1zcj2hoghl] { grid-area: rank; }
    .music-status[b-1zcj2hoghl] { grid-area: status; }
    .music-dx[b-1zcj2hoghl] { grid-area: dx; }
    .music-count[b-1zcj2hoghl] { grid-area: count; }
    .music-rating[b-1zcj2hoghl] { grid-area: rating; }

    .music-status[b-1zcj2hoghl],
    .music-count[b-1zcj2hoghl] {
        display: flex;
    }

    .music-song-content[b-1zcj2hoghl] {
        align-items: flex-start;
        gap: .65rem;
    }

    .music-song .jacket[b-1zcj2hoghl] {
        width: 56px;
        height: 56px;
        border-radius: .4rem;
    }

    .music-row .diff-chip[b-1zcj2hoghl] {
        height: 1.35rem;
        min-width: 0;
        font-size: .68rem;
    }

    .music-song-tags .chart-kind-badge[b-1zcj2hoghl] {
        height: 1.35rem;
        font-size: .68rem;
    }

    .music-row .song-name[b-1zcj2hoghl],
    .music-row .song-name.cond[b-1zcj2hoghl],
    .music-row .song-name.cond2[b-1zcj2hoghl] {
        font-size: .88rem;
        line-height: 1.28;
    }

    .music-metric[b-1zcj2hoghl] {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: .12rem;
        padding-top: .45rem;
        border-top: 1px solid rgba(var(--theme-brand-ink-rgb), .08);
        font-size: .82rem;
        text-align: left;
    }

    .music-metric-label[b-1zcj2hoghl] {
        display: block;
        color: var(--theme-muted);
        font-size: .67rem;
        font-weight: 700;
    }

    .music-status-badges[b-1zcj2hoghl] {
        min-height: 1.25rem;
    }

}

@media (max-width: 720px) {

    .music-filter-panel[b-1zcj2hoghl] {
        padding: .65rem;
    }

    .music-filter-actions[b-1zcj2hoghl] {
        align-items: stretch;
        flex-direction: column;
    }

    .music-filter-actions .form-check[b-1zcj2hoghl] {
        margin-bottom: 0;
    }

    .music-sort-controls[b-1zcj2hoghl] {
        width: 100%;
    }

    .music-pagination[b-1zcj2hoghl] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .music-pagination > button:first-child[b-1zcj2hoghl],
    .music-pagination > button:last-child[b-1zcj2hoghl] {
        display: none;
    }

    .music-pagination > span[b-1zcj2hoghl] {
        text-align: center;
    }

    .detail-backdrop[b-1zcj2hoghl] {
        align-items: flex-end;
        padding: .5rem;
    }

    .detail-panel[b-1zcj2hoghl] {
        max-height: calc(100dvh - 1rem);
        padding: .9rem;
    }

    .detail-panel .rec-top[b-1zcj2hoghl] {
        position: relative;
        gap: .5rem;
    }

    .detail-panel .rec-top > .btn-close[b-1zcj2hoghl] {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
    }

    .detail-panel .rec-header[b-1zcj2hoghl] {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: start;
        gap: .7rem;
    }

    .detail-panel .rec-jacket[b-1zcj2hoghl] {
        width: 76px;
        height: 76px;
        grid-row: span 2;
        border-radius: .45rem;
    }

    /* Hoist the nested header sections into the mobile grid. This gives version / genre a true
       full-width row instead of leaving them constrained to the song-information column. */
    .detail-panel .rec-head-main[b-1zcj2hoghl],
    .detail-panel .rec-mid-line[b-1zcj2hoghl] {
        display: contents;
    }

    .detail-panel .rec-title-line[b-1zcj2hoghl],
    .detail-panel .rec-mid-info[b-1zcj2hoghl] {
        grid-column: 2;
        min-width: 0;
    }

    .detail-panel .rec-title-line[b-1zcj2hoghl] {
        padding-right: 1.75rem;
    }

    .detail-panel .rec-song-title[b-1zcj2hoghl],
    .detail-panel .rec-song-title.cond[b-1zcj2hoghl],
    .detail-panel .rec-song-title.cond2[b-1zcj2hoghl] {
        font-size: 1rem;
        line-height: 1.25;
    }

    .detail-panel .rec-side[b-1zcj2hoghl] {
        display: grid;
        grid-column: 1 / -1;
        /* Version logos are generally wider than genre logos. Give them the larger mobile
           column so both assets stay close to their desktop visual proportions. */
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        align-items: stretch;
        gap: .35rem 1.25rem;
        width: 100%;
        min-width: 0;
        margin-top: .45rem;
        /* Match PlayRecords: equal edge space plus a larger center gutter naturally scales the
           intrinsic-width logos down while preserving each source image's aspect ratio. */
        padding: .55rem 1rem .4rem;
        box-sizing: border-box;
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, .08);
    }

    .detail-panel .rec-side-item[b-1zcj2hoghl] {
        display: grid;
        /* Give both metadata cells the same label row and a flexible logo row. Centering the
           second row keeps differently shaped version / genre assets visually aligned. */
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 1rem minmax(0, 1fr);
        align-content: stretch;
        justify-items: center;
        gap: .25rem;
        width: 100%;
        height: 100%;
        min-width: 0;
        text-align: center;
        overflow: hidden;
    }

    .detail-panel .rec-side-item > b[b-1zcj2hoghl] {
        grid-row: 1;
        align-self: center;
        line-height: 1;
    }

    .detail-panel .rec-side-item .meta-name[b-1zcj2hoghl],
    .detail-panel .rec-side-item .meta-icon[b-1zcj2hoghl],
    .detail-panel .rec-side-item .meta-icon-ver[b-1zcj2hoghl] {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        justify-self: center;
    }

    .detail-panel .rec-side-item:only-child[b-1zcj2hoghl] {
        grid-column: 1 / -1;
    }

    .detail-panel .rec-side-item .meta-icon[b-1zcj2hoghl],
    .detail-panel .rec-side-item .meta-icon-ver[b-1zcj2hoghl] {
        width: auto;
        min-width: 0;
        max-width: 100%;
        object-fit: contain;
    }

    .detail-score-summary[b-1zcj2hoghl] {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .55rem .75rem !important;
    }

    .detail-score-summary > div:nth-child(2)[b-1zcj2hoghl] {
        grid-column: 1 / -1;
        overflow-wrap: anywhere;
    }

    .music-history[b-1zcj2hoghl] {
        overflow: visible;
        border: 0;
        border-radius: 0;
    }

    .music-history-head[b-1zcj2hoghl] {
        display: none;
    }

    .music-history-row[b-1zcj2hoghl] {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "time action"
            "achievement rank"
            "status dx";
        gap: .55rem .75rem;
        margin-top: .5rem;
        padding: .65rem;
        border: 1px solid rgba(var(--theme-brand-ink-rgb), .12);
        border-radius: .5rem;
        background: rgba(255, 255, 255, .92);
    }

    .history-time[b-1zcj2hoghl] { grid-area: time; }
    .history-achievement[b-1zcj2hoghl] { grid-area: achievement; }
    .history-rank[b-1zcj2hoghl] { grid-area: rank; }
    .history-status[b-1zcj2hoghl] { grid-area: status; }
    .history-dx[b-1zcj2hoghl] { grid-area: dx; }
    .history-action[b-1zcj2hoghl] { grid-area: action; }

    .history-achievement[b-1zcj2hoghl],
    .history-rank[b-1zcj2hoghl],
    .history-status[b-1zcj2hoghl],
    .history-dx[b-1zcj2hoghl] {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .12rem;
        text-align: left;
    }

    .history-rank[b-1zcj2hoghl],
    .history-dx[b-1zcj2hoghl] {
        align-items: flex-end;
        text-align: right;
    }

    .history-label[b-1zcj2hoghl] {
        display: block;
        color: var(--theme-muted);
        font-size: .65rem;
        font-weight: 700;
    }

    .history-status .badge[b-1zcj2hoghl] {
        margin-left: 0 !important;
    }

    .music-history-detail[b-1zcj2hoghl] {
        margin: 0 .15rem;
        padding: .65rem .5rem;
        border: 1px solid rgba(var(--theme-brand-ink-rgb), .1);
        border-top: 0;
        border-radius: 0 0 .5rem .5rem;
    }

    .history-detail-content[b-1zcj2hoghl] {
        display: grid;
        gap: .65rem;
    }

    .judge-mini[b-1zcj2hoghl] {
        width: 100%;
        min-width: 18rem;
        table-layout: fixed;
    }

    .judge-mini th[b-1zcj2hoghl],
    .judge-mini td[b-1zcj2hoghl] {
        padding: .2rem .25rem;
    }
}
/* /Pages/PlayRecords.razor.rz.scp.css */
/* The page is intentionally constrained so desktop metrics stay close enough to scan as one record. */
.records-page[b-vfvc7xcpul] {
    width: 100%;
    max-width: 100rem;
    margin: 0 auto;
}

.records-page .rank[b-vfvc7xcpul] {
    letter-spacing: 0;
}

.records-list[b-vfvc7xcpul] {
    overflow: hidden;
    margin-bottom: .85rem;
    border: 1px solid rgba(var(--theme-brand-ink-rgb), .12);
    border-radius: .5rem;
    background: rgba(255, 255, 255, .74);
}

.records-list-head[b-vfvc7xcpul],
.record-row[b-vfvc7xcpul] {
    display: grid;
    grid-template-columns: 9.5rem minmax(17rem, 1fr) minmax(30rem, .95fr) 3.25rem;
    align-items: center;
    gap: .75rem;
}

.records-list-head[b-vfvc7xcpul] {
    min-height: 2rem;
    padding: .35rem .65rem;
    border-bottom: 1px solid rgba(var(--theme-brand-ink-rgb), .13);
    background: rgba(var(--theme-brand-surface-rgb), .045);
    color: var(--theme-brand-ink);
    font-size: .74rem;
    font-weight: 700;
}

.records-metrics-head[b-vfvc7xcpul],
.record-metrics[b-vfvc7xcpul] {
    display: grid;
    grid-template-columns: 6.7rem 4.2rem 7.5rem minmax(8.5rem, 1fr) 4.3rem;
    align-items: center;
    gap: .5rem;
    min-width: 0;
}

.records-metrics-head > span[b-vfvc7xcpul],
.record-metric[b-vfvc7xcpul] {
    min-width: 0;
    text-align: center;
}

.record-item[b-vfvc7xcpul] {
    border-bottom: 1px solid rgba(var(--theme-brand-ink-rgb), .1);
}

.record-item:last-child[b-vfvc7xcpul] {
    border-bottom: 0;
}

.record-row[b-vfvc7xcpul] {
    min-height: 3.65rem;
    padding: .42rem .65rem;
    transition: background-color .15s ease;
}

.record-item:hover > .record-row[b-vfvc7xcpul] {
    background: rgba(var(--theme-primary-rgb), .065);
}

.record-time[b-vfvc7xcpul],
.record-song[b-vfvc7xcpul],
.record-song-content[b-vfvc7xcpul],
.record-song-copy[b-vfvc7xcpul],
.record-metrics[b-vfvc7xcpul],
.record-metric[b-vfvc7xcpul],
.record-stat-value[b-vfvc7xcpul] {
    min-width: 0;
}

.record-time[b-vfvc7xcpul] {
    color: #746c7d;
    font-size: .76rem;
    white-space: nowrap;
}

.record-song-content[b-vfvc7xcpul] {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.record-song .jacket[b-vfvc7xcpul] {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: .35rem;
    object-fit: cover;
    background: rgba(var(--theme-brand-ink-rgb), .06);
}

.record-song-copy[b-vfvc7xcpul] {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.record-list-tags[b-vfvc7xcpul],
.record-status-badges[b-vfvc7xcpul],
.rec-head-tags[b-vfvc7xcpul],
.rec-clear-tags[b-vfvc7xcpul] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
    min-width: 0;
}

.record-list-tags .badge[b-vfvc7xcpul],
.record-status-badges .badge[b-vfvc7xcpul],
.record-list-tags .vs-badge[b-vfvc7xcpul] {
    margin-left: 0 !important;
}

.record-list-tags .diff-chip[b-vfvc7xcpul] {
    display: inline-flex;
    height: 1.4rem;
    min-width: 5.2rem;
    padding: 0 .5rem;
    border: 1px solid transparent;
    border-radius: .45rem;
    color: #fff;
    font-size: .72rem;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}

/* Expanded records are not inside the list grid, so their difficulty badge owns a complete style. */
.rec-card .diff-chip[b-vfvc7xcpul] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 1.5rem;
    padding: 0 .6rem;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: .45rem;
    color: #fff;
    font-size: .82rem;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}

.record-song .song-name[b-vfvc7xcpul] {
    display: -webkit-box;
    overflow: hidden;
    color: #18151c;
    font-size: .88rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.record-song .song-name.cond[b-vfvc7xcpul],
.record-song .song-name.cond2[b-vfvc7xcpul],
.rec-song-title.cond[b-vfvc7xcpul],
.rec-song-title.cond2[b-vfvc7xcpul] {
    letter-spacing: 0;
}

.record-song .song-name.cond[b-vfvc7xcpul] {
    font-size: .82rem;
}

.record-song .song-name.cond2[b-vfvc7xcpul] {
    font-size: .76rem;
}

.record-stat-label[b-vfvc7xcpul],
.rec-stat-label[b-vfvc7xcpul] {
    display: none;
}

.record-stat-value[b-vfvc7xcpul] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .12rem;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.record-rank .rank[b-vfvc7xcpul] {
    font-weight: 800;
}

.record-status-badges[b-vfvc7xcpul] {
    justify-content: center;
}

.record-empty[b-vfvc7xcpul] {
    color: var(--theme-muted);
}

.record-action[b-vfvc7xcpul] {
    text-align: right;
}

.record-action .btn[b-vfvc7xcpul] {
    font-weight: 700;
    white-space: nowrap;
}

.records-pagination[b-vfvc7xcpul] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.record-detail[b-vfvc7xcpul] {
    min-width: 0;
    border-top: 1px solid rgba(var(--theme-brand-ink-rgb), .1);
    background: rgba(var(--theme-brand-surface-rgb), .045);
}

.record-ranking-action[b-vfvc7xcpul] {
    display: flex;
    justify-content: flex-end;
    margin: .9rem 0 0;
}

.rec-card[b-vfvc7xcpul],
.vs-row[b-vfvc7xcpul] {
    border-radius: .5rem;
}

.rec-primary-stat[b-vfvc7xcpul],
.rec-rank-stat[b-vfvc7xcpul],
.rec-clear-tags[b-vfvc7xcpul] {
    display: contents;
}

.rec-song-title[b-vfvc7xcpul],
.rec-artist[b-vfvc7xcpul],
.rec-meta-item[b-vfvc7xcpul],
.rec-side-item .meta-name[b-vfvc7xcpul],
.chip[b-vfvc7xcpul] {
    overflow-wrap: anywhere;
}

.judge-table-wrap[b-vfvc7xcpul] {
    max-width: 100%;
    overflow-x: auto;
}

.judge-head-short[b-vfvc7xcpul] {
    display: none;
}

@media (max-width: 1180px) {
    .records-list-head[b-vfvc7xcpul],
    .record-row[b-vfvc7xcpul] {
        grid-template-columns: 8.5rem minmax(14rem, 1fr) minmax(19rem, .9fr) 3.25rem;
    }

    .records-metrics-head[b-vfvc7xcpul],
    .record-metrics[b-vfvc7xcpul] {
        grid-template-columns: 6.5rem 4rem minmax(8.5rem, 1fr);
    }

    .records-metrics-head > span:nth-child(3)[b-vfvc7xcpul],
    .records-metrics-head > span:nth-child(5)[b-vfvc7xcpul],
    .record-status[b-vfvc7xcpul],
    .record-rating[b-vfvc7xcpul] {
        display: none;
    }
}

@media (max-width: 1080px) {
    .records-list[b-vfvc7xcpul] {
        display: flex;
        overflow: visible;
        flex-direction: column;
        gap: .6rem;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .records-list-head[b-vfvc7xcpul] {
        display: none;
    }

    .record-item[b-vfvc7xcpul] {
        overflow: hidden;
        border: 1px solid rgba(var(--theme-brand-ink-rgb), .12);
        border-radius: .5rem;
        background: rgba(255, 255, 255, .88);
        box-shadow: 0 1px 3px rgba(45, 35, 58, .06);
    }

    .record-row[b-vfvc7xcpul] {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "song action"
            "metrics metrics"
            "time time";
        gap: .65rem .75rem;
        min-height: 0;
        padding: .7rem;
    }

    .record-song[b-vfvc7xcpul] { grid-area: song; }
    .record-action[b-vfvc7xcpul] { grid-area: action; align-self: start; }
    .record-metrics[b-vfvc7xcpul] { grid-area: metrics; }
    .record-time[b-vfvc7xcpul] { grid-area: time; }

    .record-song-content[b-vfvc7xcpul] {
        align-items: flex-start;
    }

    .record-song .jacket[b-vfvc7xcpul] {
        width: 56px;
        height: 56px;
        border-radius: .4rem;
    }

    .record-list-tags .diff-chip[b-vfvc7xcpul] {
        height: 1.35rem;
        min-width: 0;
        font-size: .68rem;
    }

    .record-list-tags .chart-kind-badge[b-vfvc7xcpul] {
        height: 1.35rem;
        font-size: .68rem;
    }

    .record-song .song-name[b-vfvc7xcpul],
    .record-song .song-name.cond[b-vfvc7xcpul],
    .record-song .song-name.cond2[b-vfvc7xcpul] {
        font-size: .88rem;
        line-height: 1.28;
    }

    .record-action .btn[b-vfvc7xcpul] {
        padding: .12rem .3rem !important;
        border: 1px solid rgba(var(--theme-primary-rgb), .28);
        border-radius: .35rem;
        background: rgba(var(--theme-primary-rgb), .045);
        text-decoration: none;
    }

    .record-metrics[b-vfvc7xcpul] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "achievement rank"
            "dx dx"
            "status rating";
        gap: .55rem .65rem;
        padding-top: .55rem;
        border-top: 1px solid rgba(var(--theme-brand-ink-rgb), .08);
    }

    .record-achievement[b-vfvc7xcpul] { grid-area: achievement; }
    .record-rank[b-vfvc7xcpul] { grid-area: rank; }
    .record-status[b-vfvc7xcpul] { grid-area: status; }
    .record-dx[b-vfvc7xcpul] { grid-area: dx; }
    .record-rating[b-vfvc7xcpul] { grid-area: rating; }

    .record-status[b-vfvc7xcpul],
    .record-rating[b-vfvc7xcpul] {
        display: flex;
    }

    .record-metric[b-vfvc7xcpul] {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .12rem;
        text-align: left;
    }

    .record-stat-label[b-vfvc7xcpul],
    .rec-stat-label[b-vfvc7xcpul] {
        display: block;
        color: var(--theme-muted);
        font-size: .66rem;
        font-weight: 700;
        line-height: 1.1;
    }

    .record-stat-value[b-vfvc7xcpul] {
        justify-content: flex-start;
        max-width: 100%;
        font-size: .8rem;
    }

    .record-status-badges[b-vfvc7xcpul] {
        justify-content: flex-start;
    }

    .record-dx-value[b-vfvc7xcpul] {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .record-time[b-vfvc7xcpul] {
        display: flex;
        align-items: baseline;
        gap: .4rem;
        padding-top: .05rem;
        font-size: .72rem;
    }

    .records-pagination[b-vfvc7xcpul] {
        align-items: flex-end;
    }

    .records-pagination > span[b-vfvc7xcpul] {
        min-width: 0;
    }

}

@media (max-width: 720px) {

    .record-detail[b-vfvc7xcpul] {
        border-top-color: rgba(var(--theme-brand-ink-rgb), .12);
    }

    .rec-detail[b-vfvc7xcpul] {
        padding: .45rem;
    }

    .rec-card[b-vfvc7xcpul] {
        padding: .75rem;
        box-shadow: none;
    }

    .rec-header[b-vfvc7xcpul] {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: .7rem;
    }

    .rec-jacket[b-vfvc7xcpul] {
        width: 76px;
        height: 76px;
        grid-row: span 2;
        border-radius: .45rem;
    }

    /* Hoist the nested header sections into one grid so version/genre can use the full card width. */
    .rec-head-main[b-vfvc7xcpul],
    .rec-mid-line[b-vfvc7xcpul] {
        display: contents;
    }

    .rec-title-line[b-vfvc7xcpul],
    .rec-mid-info[b-vfvc7xcpul] {
        grid-column: 2;
        min-width: 0;
    }

    .rec-song-title[b-vfvc7xcpul],
    .rec-song-title.cond[b-vfvc7xcpul],
    .rec-song-title.cond2[b-vfvc7xcpul] {
        font-size: 1rem;
        line-height: 1.25;
    }

    .rec-side[b-vfvc7xcpul] {
        display: grid;
        grid-column: 1 / -1;
        /* Version logos are generally wider than genre logos. Give them the larger mobile
           column so both assets stay close to their desktop visual proportions. */
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        align-items: stretch;
        align-self: auto;
        gap: .35rem 1.25rem;
        width: 100%;
        margin-top: .45rem;
        /* The shared horizontal breathing room keeps both logos away from the card edges and
           reduces their available width proportionally without introducing fixed image sizes. */
        padding: .55rem 1rem .4rem;
        box-sizing: border-box;
        border-left: 0;
        border-top: 1px solid rgba(0, 0, 0, .08);
    }

    .rec-side-item[b-vfvc7xcpul] {
        display: grid;
        /* Give both metadata cells the same label row and a flexible logo row. Centering the
           second row keeps differently shaped version / genre assets visually aligned. */
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 1rem minmax(0, 1fr);
        align-content: stretch;
        justify-items: center;
        gap: .25rem;
        width: 100%;
        height: 100%;
        min-width: 0;
        text-align: center;
        overflow: hidden;
    }

    .rec-side-item > b[b-vfvc7xcpul] {
        grid-row: 1;
        align-self: center;
        line-height: 1;
    }

    .rec-side-item .meta-name[b-vfvc7xcpul],
    .rec-side-item .meta-icon[b-vfvc7xcpul],
    .rec-side-item .meta-icon-ver[b-vfvc7xcpul] {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        justify-self: center;
    }

    .rec-side-item:only-child[b-vfvc7xcpul] {
        grid-column: 1 / -1;
    }

    .rec-side-item .meta-icon[b-vfvc7xcpul],
    .rec-side-item .meta-icon-ver[b-vfvc7xcpul] {
        width: auto;
        min-width: 0;
        max-width: 100%;
        object-fit: contain;
    }

    .rec-grid[b-vfvc7xcpul] {
        display: grid;
        gap: .9rem;
    }

    .judge-table-wrap[b-vfvc7xcpul] {
        width: 100%;
        overflow-x: visible;
    }

    .judge-table[b-vfvc7xcpul] {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
        font-size: .72rem;
        font-variant-numeric: tabular-nums;
    }

    .judge-table th[b-vfvc7xcpul],
    .judge-table td[b-vfvc7xcpul] {
        min-width: 0;
        padding: .36rem .08rem;
        overflow: hidden;
        text-overflow: clip;
        white-space: nowrap;
    }

    .judge-table thead th[b-vfvc7xcpul] {
        font-size: .65rem;
    }

    .judge-table th:first-child[b-vfvc7xcpul] {
        width: 22%;
    }

    .judge-table th:not(:first-child)[b-vfvc7xcpul] {
        width: 15.6%;
    }

    .judge-head-full[b-vfvc7xcpul] {
        display: none;
    }

    .judge-head-short[b-vfvc7xcpul] {
        display: inline;
    }

    .rec-stats[b-vfvc7xcpul] {
        width: 100%;
        min-width: 0;
    }

    .rec-ach-line[b-vfvc7xcpul] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "achievement rank"
            "clear clear";
        gap: .45rem .75rem;
        align-items: end;
    }

    .rec-primary-stat[b-vfvc7xcpul] {
        display: flex;
        grid-area: achievement;
        flex-direction: column;
        gap: .08rem;
        min-width: 0;
    }

    .rec-rank-stat[b-vfvc7xcpul] {
        display: flex;
        grid-area: rank;
        flex-direction: column;
        align-items: flex-end;
        gap: .08rem;
    }

    .rec-clear-tags[b-vfvc7xcpul] {
        display: flex;
        grid-area: clear;
    }

    .rec-ach-line .rec-ach-num[b-vfvc7xcpul],
    .rec-ach-line .rank[b-vfvc7xcpul] {
        line-height: 1.1;
        white-space: nowrap;
    }

    .dx-block[b-vfvc7xcpul],
    .vs-row[b-vfvc7xcpul],
    .chip[b-vfvc7xcpul] {
        max-width: 100%;
    }
}
/* /Pages/Redeem.razor.rz.scp.css */
.redeem-page[b-c8gri6db0d] {
    width: min(100%, 42rem);
}

.redeem-heading h1[b-c8gri6db0d] {
    margin-bottom: .45rem;
}

.redeem-heading p[b-c8gri6db0d] {
    max-width: 40rem;
    margin: 0;
    color: #686173;
    line-height: 1.7;
}

.redeem-box[b-c8gri6db0d] {
    width: min(100%, 32rem);
    margin-top: 1.35rem;
}

.redeem-box > label[b-c8gri6db0d] {
    display: block;
    margin-bottom: .45rem;
    color: #3d3349;
    font-size: .88rem;
    font-weight: 700;
}

.redeem-control[b-c8gri6db0d] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .55rem;
}

.redeem-control .form-control[b-c8gri6db0d],
.redeem-control .btn[b-c8gri6db0d] {
    min-height: 2.75rem;
    border-radius: .45rem;
}

.redeem-control .form-control[b-c8gri6db0d] {
    min-width: 0;
    border-color: rgba(92, 65, 112, .25);
    box-shadow: 0 1px 2px rgba(48, 30, 61, .04);
}

.redeem-control .form-control:focus[b-c8gri6db0d] {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--theme-primary-rgb), .14);
}

.redeem-control .btn[b-c8gri6db0d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-width: 6.5rem;
    padding-inline: 1rem;
}

.redeem-hint[b-c8gri6db0d] {
    margin: .55rem 0 0;
    color: #81788e;
    font-size: .78rem;
}

.redeem-error[b-c8gri6db0d] {
    display: grid;
    grid-template-columns: 1.65rem minmax(0, 1fr);
    gap: .65rem;
    margin-top: 1rem;
    padding: .8rem .9rem;
    border: 1px solid rgba(190, 60, 67, .22);
    border-radius: .5rem;
    background: #fff6f5;
    color: #722d32;
}

.redeem-error-mark[b-c8gri6db0d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #bd424a;
    color: #fff;
    font-weight: 800;
    line-height: 1;
}

.redeem-error strong[b-c8gri6db0d] {
    display: block;
    margin-bottom: .15rem;
    font-size: .88rem;
}

.redeem-error p[b-c8gri6db0d] {
    margin: 0;
    color: #82444a;
    font-size: .84rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.redeem-result-backdrop[b-c8gri6db0d] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(20, 15, 25, .58);
}

.redeem-result[b-c8gri6db0d] {
    position: relative;
    width: min(31rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 1.35rem;
    border: 1px solid rgba(85, 58, 102, .12);
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 1.25rem 3.5rem rgba(22, 13, 29, .28);
}

.redeem-result-close[b-c8gri6db0d] {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.redeem-result-heading[b-c8gri6db0d] {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: center;
    gap: .9rem;
    padding-right: 2rem;
}

.redeem-success-mark[b-c8gri6db0d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #def5e8;
    color: #218654;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
}

.redeem-result-eyebrow[b-c8gri6db0d] {
    margin: 0 0 .1rem;
    color: #27865a;
    font-size: .76rem;
    font-weight: 700;
}

.redeem-result-heading h2[b-c8gri6db0d] {
    margin: 0;
    color: #2d2434;
    font-size: 1.35rem;
    line-height: 1.25;
}

.redeem-result-heading div > p:last-child[b-c8gri6db0d] {
    margin: .25rem 0 0;
    color: #756d7e;
    font-size: .84rem;
}

.redeem-reward-list[b-c8gri6db0d] {
    margin-top: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(73, 54, 84, .14);
    border-radius: .5rem;
}

.redeem-reward-row[b-c8gri6db0d] {
    display: grid;
    grid-template-columns: 1.45rem minmax(0, 1fr);
    align-items: center;
    gap: .65rem;
    min-height: 3.1rem;
    padding: .65rem .8rem;
    color: #342b3a;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.redeem-reward-row + .redeem-reward-row[b-c8gri6db0d] {
    border-top: 1px solid rgba(73, 54, 84, .1);
}

.redeem-reward-row:nth-child(even)[b-c8gri6db0d] {
    background: #fbfafc;
}

.redeem-reward-check[b-c8gri6db0d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: #2b9b65;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1;
}

.redeem-activation-note[b-c8gri6db0d] {
    margin: .9rem 0 0;
    padding: .7rem .8rem;
    border-left: 3px solid #7192bf;
    background: #f4f7fb;
    color: #59677a;
    font-size: .82rem;
    line-height: 1.55;
}

.redeem-result-actions[b-c8gri6db0d] {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.redeem-result-actions .btn[b-c8gri6db0d] {
    min-width: 6.5rem;
}

@media (max-width: 520px) {
    .redeem-control[b-c8gri6db0d] {
        grid-template-columns: minmax(0, 1fr);
    }

    .redeem-control .btn[b-c8gri6db0d] {
        width: 100%;
    }

    .redeem-result-backdrop[b-c8gri6db0d] {
        align-items: flex-end;
        padding: 0;
    }

    .redeem-result[b-c8gri6db0d] {
        width: 100%;
        max-height: calc(100dvh - 1rem);
        padding: 1.15rem;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: .5rem .5rem 0 0;
    }

    .redeem-result-heading[b-c8gri6db0d] {
        grid-template-columns: 2.65rem minmax(0, 1fr);
        gap: .75rem;
    }

    .redeem-success-mark[b-c8gri6db0d] {
        width: 2.65rem;
        height: 2.65rem;
        font-size: 1.35rem;
    }

    .redeem-result-actions .btn[b-c8gri6db0d] {
        width: 100%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .redeem-result[b-c8gri6db0d] {
        animation: redeem-result-enter-b-c8gri6db0d .18s ease-out;
    }

    @keyframes redeem-result-enter-b-c8gri6db0d {
        from {
            opacity: 0;
            transform: translateY(.6rem);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
/* /Shared/BrandLogo.razor.rz.scp.css */
.brand-logo[b-8312jaj08f] {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-logo-navigation[b-8312jaj08f] {
    width: 160px;
    height: 3rem;
}

.brand-logo-reveal[b-8312jaj08f] {
    width: 170px;
    max-width: 60vw;
    margin: 0 auto 1.4rem;
    filter: drop-shadow(0 0 26px rgba(var(--theme-accent-strong-rgb), .6));
    opacity: 0;
    transform: scale(.6);
    animation: brand-logo-reveal-b-8312jaj08f 1.1s .25s cubic-bezier(.2, .8, .2, 1) forwards;
}

.brand-logo-about[b-8312jaj08f] {
    width: min(360px, 80%);
    max-height: 16rem;
    margin: 0 auto;
}

@keyframes brand-logo-reveal-b-8312jaj08f {
    0% { opacity: 0; transform: scale(.6); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 640.98px) {
    .brand-logo-navigation[b-8312jaj08f] {
        width: 150px;
        height: 3.25rem;
    }
}
/* /Shared/EmptyState.razor.rz.scp.css */
.empty-state[b-3kerwi051r] {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    min-height: 190px;
    padding: 3.2rem 1rem;
    border-top: 1px solid #dcd7df;
    border-bottom: 1px solid #dcd7df;
    color: #77717d;
    text-align: center;
}

.empty-state strong[b-3kerwi051r] {
    color: #37313d;
    font-size: 1rem;
}

.empty-state span[b-3kerwi051r] {
    font-size: 0.82rem;
}
/* /Shared/NumberStepper.razor.rz.scp.css */
.number-stepper[b-j8rkm9elwz] {
    display: block;
    min-width: 0;
}

/* 中间区域只展示实际效果，内部挡位值永远不会出现在玩家界面中。 */
.number-stepper-controls[b-j8rkm9elwz] {
    display: grid;
    /* 44px buttons meet a comfortable touch target while the fixed grid keeps minus, value and
       plus visually connected on every viewport. Never distribute these columns with space-between. */
    grid-template-columns: 2.75rem 6rem 2.75rem;
    width: 11.5rem;
    max-width: 100%;
    min-width: 0;
    /* 纵向拖动交给页面滚动，只有明确点击按钮才会修改数值。 */
    touch-action: pan-y;
}

.number-stepper-button[b-j8rkm9elwz],
.number-stepper-value[b-j8rkm9elwz] {
    box-sizing: border-box;
    height: 2.75rem;
    min-width: 0;
}

.number-stepper-button[b-j8rkm9elwz] {
    border: 1px solid #ced4da;
    background: #f8f9fa;
    color: #3a3346;
    font-size: 1.2rem;
    line-height: 1;
    touch-action: manipulation;
}

.number-stepper-button:first-child[b-j8rkm9elwz] { border-radius: .4rem 0 0 .4rem; }
.number-stepper-button:last-child[b-j8rkm9elwz] { border-radius: 0 .4rem .4rem 0; }
.number-stepper-button:hover:not(:disabled)[b-j8rkm9elwz] { background: rgba(var(--theme-primary-rgb), .08); color: var(--theme-primary); }
.number-stepper-button:focus-visible[b-j8rkm9elwz] { outline: 2px solid var(--theme-primary); outline-offset: 1px; z-index: 1; }
.number-stepper-button:disabled[b-j8rkm9elwz] { cursor: not-allowed; opacity: .55; }

.number-stepper-value[b-j8rkm9elwz] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    border: 1px solid #ced4da;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: .25rem .35rem;
    text-align: center;
    background: #fff;
    color: var(--theme-primary);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}
/* /Shared/PlayerAvatar.razor.rz.scp.css */
.player-avatar[b-j29mtck2iv] {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border: 1px solid #d8d2dc;
    border-radius: 7px;
    background: #eef3f2;
    color: #476f70;
    font-size: 1.05rem;
    font-weight: 800;
    overflow: hidden;
}

.player-avatar.large[b-j29mtck2iv] {
    width: 76px;
    height: 76px;
}

.player-avatar img[b-j29mtck2iv] {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 520px) {
    .player-avatar.large[b-j29mtck2iv] {
        width: 64px;
        height: 64px;
    }
}
/* /Shared/SongRankingLink.razor.rz.scp.css */
.song-ranking-link[b-y4ffjdviae] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    border-radius: .45rem;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .song-ranking-link[b-y4ffjdviae] {
        width: 100%;
    }
}
