:root {
    --color-bg: #f7f7f5;
    --color-surface: #ffffff;
    --color-surface-soft: #fbf8f7;
    --color-text: #252328;
    --color-muted: #706b73;
    --color-border: #e6e2e4;
    --color-accent: #d7356f;
    --color-accent-dark: #b82458;
    --color-accent-soft: #fff0f5;
    --color-warning: #8a6612;
    --color-warning-bg: #fff8dc;
    --shadow-sm: 0 1px 2px rgba(34, 25, 29, .05), 0 8px 24px rgba(34, 25, 29, .05);
    --radius-sm: 8px;
    --radius-md: 14px;
    --page-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 0;
    margin: 0;
    background: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-accent-dark);
    text-decoration: none;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

button,
input,
select,
textarea {
    max-width: 100%;
    font: inherit;
}

button,
input[type="submit"] {
    cursor: pointer;
}

h1,
h2,
h3 {
    color: var(--color-text);
    line-height: 1.3;
}

h1 {
    margin: 0 0 24px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
    margin: 36px 0 18px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
}

h3 {
    margin: 0 0 20px;
    font-size: 1.35rem;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    padding-left: 1.4em;
}

.page-width {
    width: min(calc(100% - 40px), var(--page-width));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-shell {
    min-height: 100vh;
}

.site-header {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--color-border);
}

.site-header__bar,
.primary-nav {
    width: min(calc(100% - 40px), var(--page-width));
    margin-inline: auto;
}

.site-header__bar {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    align-items: center;
    gap: 32px;
    min-height: 112px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
}

.site-brand img {
    display: block;
    width: 190px;
}

.header-search,
.hero-search {
    display: flex;
    width: 100%;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid #d9d4d7;
    border-radius: 999px;
    transition: border-color .2s, box-shadow .2s;
}

.header-search:focus-within,
.hero-search:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(215, 53, 111, .12);
}

.header-search input,
.hero-search input {
    min-width: 0;
    flex: 1;
    padding: 13px 20px;
    color: var(--color-text);
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search button,
.hero-search button,
.button,
input.buttons,
.form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    color: #fff;
    font-weight: 650;
    background: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 999px;
}

.header-search button,
.hero-search button {
    margin: 4px;
    min-height: 40px;
    padding-block: 6px;
}

.header-search button:hover,
.hero-search button:hover,
.button:hover,
input.buttons:hover,
.form input[type="submit"]:hover {
    color: #fff;
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    text-decoration: none;
}

.button--small {
    min-height: 36px;
    padding: 6px 16px;
}

.account-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    white-space: nowrap;
    font-size: .9rem;
}

.account-links__upgrade {
    color: var(--color-accent);
    font-weight: 650;
}

.vip-badge {
    padding: 2px 8px;
    color: #8a5c00;
    font-size: .75rem;
    font-weight: 750;
    background: #fff2bd;
    border-radius: 999px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 52px;
    overflow-x: auto;
    scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
    display: none;
}

.primary-nav a {
    flex: 0 0 auto;
    padding: 10px 15px;
    color: #4c4750;
    font-size: .94rem;
    font-weight: 550;
    border-radius: 999px;
}

.primary-nav a:hover {
    color: var(--color-accent-dark);
    background: var(--color-accent-soft);
    text-decoration: none;
}

.mobile-menu {
    display: none;
}

.breadcrumbs-wrap {
    padding-top: 18px;
}

.breadcrumbs {
    color: var(--color-muted);
    font-size: .88rem;
}

.site-content {
    min-height: 55vh;
    padding-block: 38px 64px;
}

.site-footer {
    color: #615c63;
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 56px;
    padding-block: 36px;
}

.site-footer strong {
    color: var(--color-text);
    font-size: 1.1rem;
}

.site-footer p {
    margin: 3px 0 0;
    font-size: .9rem;
}

.site-footer__contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .88rem;
}

.site-footer__contact img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.site-footer__legal {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
    font-size: .82rem;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 6vw, 76px);
    background: linear-gradient(135deg, #fff 0%, #fff7fa 58%, #f7f1f4 100%);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.home-hero::after {
    position: absolute;
    right: -60px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    content: "♪";
    color: rgba(215, 53, 111, .07);
    font-family: Georgia, serif;
    font-size: 260px;
    line-height: 1;
    transform: rotate(-8deg);
    pointer-events: none;
}

.home-hero__eyebrow {
    margin-bottom: 8px;
    color: var(--color-accent-dark);
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: .12em;
}

.home-hero h1 {
    max-width: 720px;
    margin-bottom: 14px;
}

.home-hero__intro {
    max-width: 680px;
    margin-bottom: 28px;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.hero-search {
    position: relative;
    z-index: 1;
    max-width: 720px;
    box-shadow: 0 12px 32px rgba(52, 37, 44, .08);
}

.category-links {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.category-links a {
    padding: 7px 13px;
    color: #625b63;
    font-size: .88rem;
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--color-border);
    border-radius: 999px;
}

.category-links a:hover {
    color: var(--color-accent-dark);
    border-color: #edb4c8;
    text-decoration: none;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 48px 0 18px;
}

.section-heading h2 {
    margin: 0;
}

.section-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: .9rem;
}

.grid-view {
    width: 100%;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.grid-view .summary,
.grid-view .pager {
    padding: 16px 20px;
    color: var(--color-muted);
    font-size: .86rem;
}

.grid-view .pager {
    overflow-x: auto;
    scrollbar-width: none;
}

.grid-view .pager::-webkit-scrollbar {
    display: none;
}

.grid-view .pager ul.yiiPager {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    min-width: max-content;
    margin: 0;
    padding: 0;
    border: 0;
}

.grid-view .pager ul.yiiPager li {
    display: block;
    margin: 0;
}

.grid-view .pager ul.yiiPager li.hidden {
    display: none;
}

.grid-view .pager ul.yiiPager li a,
.grid-view .pager ul.yiiPager li a:link,
.grid-view .pager ul.yiiPager li a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    color: #5d5760;
    font-size: .88rem;
    font-weight: 600;
    line-height: 1;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    transition: color .18s, background-color .18s, border-color .18s, transform .18s;
}

.grid-view .pager ul.yiiPager li:not(.selected) a:hover {
    color: var(--color-accent-dark);
    background: var(--color-accent-soft);
    border-color: #eab3c7;
    text-decoration: none;
    transform: translateY(-1px);
}

.grid-view .pager ul.yiiPager li.selected a,
.grid-view .pager ul.yiiPager li.selected a:link,
.grid-view .pager ul.yiiPager li.selected a:visited {
    color: #fff;
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 5px 14px rgba(215, 53, 111, .22);
}

.grid-view table.items {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.grid-view table.items th,
.grid-view table.items td {
    padding: 15px 18px;
    overflow-wrap: anywhere;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: middle;
}

.grid-view table.items th {
    color: #736d75;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    background: #faf9f9;
}

.grid-view table.items tbody tr:last-child td {
    border-bottom: 0;
}

.grid-view table.items tr.odd,
.grid-view table.items tr.even {
    background: #fff;
}

.grid-view table.items tbody tr:nth-child(even) {
    background: #fdfcfc;
}

.grid-view table.items tbody tr:hover td {
    background: var(--color-surface-soft);
}

.grid-view table.items td:first-child a,
.score-grid--home table.items td:first-child a {
    color: var(--color-text);
    font-weight: 650;
}

.score-grid--home table.items th:nth-child(1),
.score-grid--home table.items td:nth-child(1) {
    width: 34%;
}

.score-grid--home table.items th:nth-child(2),
.score-grid--home table.items td:nth-child(2),
.score-grid--home table.items th:nth-child(3),
.score-grid--home table.items td:nth-child(3) {
    width: 9%;
    text-align: center;
}

.score-grid--catalog table.items th:nth-child(1),
.score-grid--catalog table.items td:nth-child(1),
.score-grid--library table.items th:nth-child(1),
.score-grid--library table.items td:nth-child(1) {
    width: 96px;
}

.score-grid--catalog table.items th:nth-child(2),
.score-grid--catalog table.items td:nth-child(2),
.score-grid--library table.items th:nth-child(2),
.score-grid--library table.items td:nth-child(2) {
    width: 30%;
}

.grid-view table.items img {
    display: block;
    width: 62px;
    max-height: 78px;
    margin: auto;
    object-fit: contain;
    border: 1px solid var(--color-border);
    border-radius: 5px;
}

.sheet-detail__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.sheet-detail__header h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(1.55rem, 3.5vw, 2.25rem);
}

.sheet-detail__bundle {
    flex: 0 0 auto;
    padding: 9px 14px;
    color: var(--color-accent-dark);
    font-size: .9rem;
    font-weight: 650;
    background: var(--color-accent-soft);
    border-radius: 999px;
}

.sheet-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 230px;
    gap: 30px;
    padding: 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.sheet-card__cover {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 150px;
    padding: 8px;
    color: var(--color-muted);
    font-size: .85rem;
    background: #f4f1f2;
    border-radius: var(--radius-sm);
}

.sheet-card__cover img {
    max-height: 170px;
    object-fit: contain;
}

.sheet-card__meta {
    min-width: 0;
}

.meta-list {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 10px 18px;
    margin: 0 0 24px;
}

.meta-list dt {
    color: var(--color-muted);
}

.meta-list dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.download-panel {
    padding: 18px;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.download-panel p:last-child,
.download-panel div:last-child {
    margin-bottom: 0;
}

.inline-action-form {
    display: inline-flex;
    align-items: baseline;
    margin: 0;
    vertical-align: baseline;
}

.link-button {
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    color: var(--color-accent-dark);
    font: inherit;
    line-height: inherit;
    background: none;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    text-underline-offset: 3px;
}

.link-button:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.download-action {
    display: inline-block;
    margin: 4px 8px 8px 0;
    padding: 9px 15px;
    color: #fff;
    font-weight: 650;
    background: var(--color-accent);
    border-radius: 8px;
}

.download-action:hover {
    color: #fff;
    background: var(--color-accent-dark);
    text-decoration: none;
}

.sheet-card__qrcode {
    align-self: start;
    padding-left: 28px;
    color: var(--color-muted);
    text-align: center;
    font-size: .84rem;
    border-left: 1px solid var(--color-border);
}

.sheet-card__qrcode img {
    display: block;
    width: 170px;
    margin: 0 auto 12px;
    border-radius: var(--radius-sm);
}

.sheet-description {
    margin-top: 42px;
}

.sheet-description h2 {
    padding-bottom: 13px;
    border-bottom: 1px solid var(--color-border);
}

.file-intro {
    color: #4f4a51;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.file-preview {
    margin-top: 18px;
    text-align: center;
}

.file-preview img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.flash-error,
.flash-notice,
.flash-success,
.errorSummary {
    padding: 13px 16px;
    margin: 16px 0;
    border: 1px solid;
    border-radius: var(--radius-sm);
}

.flash-notice {
    color: var(--color-warning);
    background: var(--color-warning-bg);
    border-color: #eedb8d;
}

.flash-error,
.errorSummary {
    color: #9b2739;
    background: #fff0f2;
    border-color: #f0bcc5;
}

.flash-success {
    color: #23643c;
    background: #edf9f1;
    border-color: #b8dfc4;
}

.form {
    width: min(100%, 480px) !important;
    margin: 0 auto;
    padding: 28px;
    text-align: left !important;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form form {
    width: 100% !important;
    text-align: left !important;
}

.form .row {
    margin-bottom: 18px !important;
}

.form label {
    display: block;
    margin-bottom: 6px;
    color: #4e4950;
    font-size: .9rem !important;
    font-weight: 650;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="number"],
.form textarea,
.form select {
    width: 100% !important;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px !important;
    color: var(--color-text);
    background: #fff;
    border: 1px solid #d7d1d5;
    border-radius: 8px;
    outline: none;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(215, 53, 111, .1);
}

.form .rememberMe label,
.form .rememberMe input {
    display: inline-block;
    width: auto !important;
}

.form .row.buttons {
    padding: 0 !important;
}

.form input.buttons {
    width: auto !important;
    margin: 0 !important;
}

#login-form .row.buttons input.buttons,
#user-reg-form .row.buttons input.buttons {
    width: 100% !important;
    padding: 10px 22px !important;
}

.auth-switch {
    width: min(100%, 480px);
    margin: 16px auto 0;
    color: var(--color-muted);
    text-align: center;
    font-size: .9rem;
}

.auth-switch a {
    margin-left: 4px;
    color: var(--color-accent-dark);
    font-weight: 650;
}

.auth-title {
    width: min(100%, 480px);
    margin: 0 auto 20px;
    text-align: center;
}

.recharge-page {
    width: min(100%, 920px);
    margin: 0 auto;
}

.recharge-header {
    margin-bottom: 28px;
    text-align: center;
}

.recharge-header__eyebrow {
    margin-bottom: 6px;
    color: var(--color-accent-dark);
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .12em;
}

.recharge-header h1 {
    margin-bottom: 10px;
}

.recharge-header p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--color-muted);
}

.recharge-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.recharge-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 26px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.recharge-card__step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    font-size: 1rem;
    font-weight: 750;
    background: var(--color-accent);
    border-radius: 50%;
}

.recharge-card__content {
    min-width: 0;
}

.recharge-card h2 {
    margin: 4px 0 10px;
    font-size: 1.25rem;
}

.recharge-card p {
    min-height: 52px;
    margin-bottom: 20px;
    color: var(--color-muted);
    font-size: .9rem;
}

.recharge-card__action {
    width: 100%;
}

.recharge-form {
    display: grid;
    gap: 10px;
}

.recharge-form input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    color: var(--color-text);
    background: #fff;
    border: 1px solid #d7d1d5;
    border-radius: 9px;
    outline: none;
}

.recharge-form input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(215, 53, 111, .1);
}

.recharge-form .button {
    width: 100%;
}

.recharge-switch {
    margin: 20px 0 0;
    color: var(--color-muted);
    text-align: center;
    font-size: .9rem;
}

.recharge-switch a {
    margin-left: 4px;
    font-weight: 650;
}

.recharge-wechat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 36px;
    padding: 28px 34px;
    background: linear-gradient(135deg, #fff 0%, #fff7fa 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.recharge-wechat h2 {
    margin: 0 0 8px;
    font-size: 1.3rem;
}

.recharge-wechat p {
    max-width: 580px;
    margin: 0;
    color: var(--color-muted);
    font-size: .9rem;
}

.recharge-wechat img {
    flex: 0 0 auto;
    width: 138px;
    height: 138px;
    border-radius: var(--radius-sm);
}

.errorMessage {
    margin-top: 5px;
    color: #b52841;
    font-size: .82rem;
}

.bundle-page img,
#content > div > img {
    max-width: 100%;
}

.clear {
    clear: both;
}

.gray {
    color: var(--color-muted);
}

.red {
    color: #bf1f3e;
}

@media (max-width: 900px) {
    .site-header__bar {
        grid-template-columns: auto 1fr;
        gap: 20px;
        min-height: auto;
        padding-block: 18px;
    }

    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .account-links--desktop {
        justify-self: end;
    }

    .site-footer__inner {
        grid-template-columns: 1fr auto;
        gap: 24px;
    }

    .site-footer__legal {
        grid-column: 1 / -1;
        text-align: left;
    }

    .sheet-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .sheet-card__qrcode {
        display: none;
    }
}

@media (max-width: 680px) {
    .page-width,
    .site-header__bar,
    .primary-nav {
        width: min(calc(100% - 28px), var(--page-width));
    }

    .site-header__bar {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .site-brand img {
        width: 150px;
    }

    .header-search {
        flex-basis: 100%;
        order: 3;
    }

    .header-search input,
    .hero-search input {
        padding-inline: 15px;
        font-size: .94rem;
    }

    .header-search button,
    .hero-search button {
        padding-inline: 16px;
    }

    .account-links--desktop,
    .primary-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
        width: calc(100% - 28px);
        margin: 0 auto 14px;
    }

    .mobile-menu summary {
        padding: 10px 14px;
        color: #534d55;
        font-size: .92rem;
        font-weight: 650;
        background: #f8f4f6;
        border-radius: 9px;
        cursor: pointer;
        list-style-position: inside;
    }

    .mobile-menu nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding: 10px 4px 0;
    }

    .mobile-menu nav a {
        padding: 9px 10px;
        color: #4f4951;
        background: #fff;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        text-align: center;
        font-size: .88rem;
    }

    .site-content {
        padding-block: 24px 48px;
    }

    .home-hero {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .home-hero__intro {
        font-size: .96rem;
    }

    .home-hero::after {
        right: -95px;
        bottom: -105px;
    }

    .category-links {
        gap: 7px;
    }

    .category-links a {
        padding: 6px 10px;
        font-size: .8rem;
    }

    .section-heading {
        display: block;
        margin-top: 36px;
    }

    .section-heading p {
        margin-top: 5px;
    }

    .grid-view {
        border-radius: 11px;
    }

    .grid-view table.items {
        display: block;
    }

    .grid-view table.items thead {
        display: none;
    }

    .grid-view table.items tbody {
        display: block;
    }

    .grid-view table.items tbody tr {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        padding: 14px;
        border-bottom: 1px solid var(--color-border);
    }

    .grid-view table.items tbody tr:last-child {
        border-bottom: 0;
    }

    .grid-view table.items td {
        display: block;
        width: auto !important;
        padding: 0;
        background: transparent !important;
        border: 0;
        text-align: left !important;
    }

    .score-grid--home table.items tbody tr,
    .home-results .grid-view table.items tbody tr {
        display: block;
        padding: 16px;
    }

    .score-grid--home table.items td:not(:first-child),
    .home-results .grid-view table.items td:not(:first-child),
    .score-grid--catalog table.items td:nth-child(n+3),
    .catalog-results .grid-view table.items td:nth-child(n+3),
    .score-grid--library table.items td:nth-child(n+3) {
        display: none;
    }

    .score-grid--catalog table.items img,
    .score-grid--library table.items img {
        width: 64px;
        max-height: 80px;
    }

    .sheet-detail__header {
        display: block;
    }

    .sheet-detail__bundle {
        display: inline-block;
        margin-top: 14px;
    }

    .sheet-card {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 16px;
        padding: 20px;
    }

    .sheet-card__cover {
        width: auto;
        min-height: 108px;
        margin: 0;
    }

    .sheet-card__meta {
        display: contents;
    }

    .meta-list {
        grid-column: 2;
        grid-template-columns: max-content minmax(0, 1fr);
        gap: 7px 12px;
        margin: 0;
    }

    .meta-list dt {
        float: none;
    }

    .meta-list dd {
        margin: 0;
    }

    .download-panel {
        grid-column: 1 / -1;
        padding: 15px;
    }

    .sheet-description {
        margin-top: 32px;
    }

    .form {
        padding: 22px !important;
    }

    .recharge-header {
        margin-bottom: 22px;
    }

    .recharge-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .recharge-card {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 13px;
        padding: 20px;
    }

    .recharge-card__step {
        width: 36px;
        height: 36px;
    }

    .recharge-card p {
        min-height: 0;
    }

    .recharge-wechat {
        display: block;
        margin-top: 28px;
        padding: 22px;
        text-align: center;
    }

    .recharge-wechat img {
        width: 140px;
        height: 140px;
        margin-top: 18px;
    }

    .site-footer__inner {
        display: block;
        padding-block: 28px;
    }

    .site-footer__contact {
        margin: 20px 0;
    }

    .site-footer__legal {
        text-align: left;
    }
}

@media (max-width: 380px) {
    .site-brand img {
        width: 138px;
    }

    .hero-search button,
    .header-search button {
        padding-inline: 13px;
    }
}
