/* 冒险岛小册子站点专用样式 */
html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
}

@media (max-width: 767px) {
    .layout-shell {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .layout-shell.tw-py-5,
    .layout-shell.md\:tw-py-7 {
        padding-top: 8px !important;
        padding-bottom: 10px !important;
    }

    .layout-shell > .tw-mb-4 {
        margin-bottom: 6px !important;
    }

    .layout-shell :is(.tw-p-4, .lg\:tw-p-4, .lg\:tw-p-5, .lg\:tw-p-6) {
        padding: 8px !important;
    }

    .layout-shell :is(.tw-p-3) {
        padding: 6px !important;
    }

    .layout-shell :is(.tw-gap-4) {
        gap: 8px !important;
    }

    .layout-shell :is(.tw-gap-3) {
        gap: 6px !important;
    }

    .layout-shell :is(.tw-mt-4) {
        margin-top: 8px !important;
    }

    .layout-shell :is(.tw-py-4) {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .nav-shell {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    #header-box .tw-h-\[64px\] {
        height: 52px !important;
    }

    .booklet-footer {
        margin-top: 0 !important;
    }

    .booklet-related-case-chip {
        display: none !important;
    }

    .global-search-input {
        font-size: 15px !important;
        font-weight: 500 !important;
    }

    [data-ui-search-tabs] button {
        height: 32px !important;
        gap: 4px !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
        font-size: 12px !important;
    }

    [data-ui-search-tabs] button > span:first-child {
        font-size: 16px !important;
    }

    [data-ui-search-tabs] button > span:last-child {
        font-size: 10px !important;
    }

    [data-ui-global-search][role="dialog"] {
        --global-search-mobile-top: max(14px, calc(env(safe-area-inset-top, 0px) + 12px));
        --global-search-mobile-bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 18px));
        align-items: flex-start !important;
        padding-top: var(--global-search-mobile-top) !important;
        padding-bottom: var(--global-search-mobile-bottom) !important;
    }

    [data-ui-global-search][role="dialog"] [data-ui-search-panel] {
        height: calc(100dvh - var(--global-search-mobile-top) - var(--global-search-mobile-bottom)) !important;
        max-height: calc(100dvh - var(--global-search-mobile-top) - var(--global-search-mobile-bottom)) !important;
    }

    @supports not (height: 100dvh) {
        [data-ui-global-search][role="dialog"] [data-ui-search-panel] {
            height: calc(100vh - var(--global-search-mobile-top) - var(--global-search-mobile-bottom)) !important;
            max-height: calc(100vh - var(--global-search-mobile-top) - var(--global-search-mobile-bottom)) !important;
        }
    }
}

.set-card-title {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.set-card-kind {
    max-width: 104px;
    white-space: nowrap;
}

.set-detail-head h1 {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.tw-icon-\[mdi--layers-triple-outline\],
.tw-icon-\[mdi--shield-sword-outline\],
.tw-icon-\[mdi--paw-outline\],
.tw-icon-\[mdi--tshirt-crew-outline\],
.tw-icon-\[mdi--chevron-down\] {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.tw-icon-\[mdi--layers-triple-outline\] {
    --svg: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23000' d='m12 2 10 5-10 5L2 7zm0 2.2L6.45 7 12 9.8 17.55 7zm-8 7.3 2.2-1.1L12 13.3l5.8-2.9 2.2 1.1-8 4zm0 4.5 2.2-1.1 5.8 2.9 5.8-2.9L20 16l-8 4z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--shield-sword-outline\] {
    --svg: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23000' d='M12 2 4 5.5v5.2c0 4.9 3.4 9.5 8 11.3 1.7-.7 3.3-1.8 4.6-3.1l-1.4-1.4A11 11 0 0 1 12 19.8c-3.5-1.5-6-5.1-6-9.1v-3.9l6-2.6 6 2.6v4.7l2 2V5.5zm6.8 10.2-1.4 1.4 1.2 1.2-4.6 4.6 1.4 1.4 4.6-4.6 1.2 1.2 1.4-1.4z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--paw-outline\] {
    --svg: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23000' d='M7.5 8C6.1 8 5 6.7 5 5s1.1-3 2.5-3S10 3.3 10 5 8.9 8 7.5 8m9 0C15.1 8 14 6.7 14 5s1.1-3 2.5-3S19 3.3 19 5s-1.1 3-2.5 3M4.5 14C3.1 14 2 12.9 2 11.5S3.1 9 4.5 9 7 10.1 7 11.5 5.9 14 4.5 14m15 0c-1.4 0-2.5-1.1-2.5-2.5S18.1 9 19.5 9 22 10.1 22 11.5 20.9 14 19.5 14M12 10c2.3 0 6 3.6 6 6.6 0 1.7-1.3 3.4-3.2 3.4-1 0-1.8-.5-2.8-.5s-1.8.5-2.8.5C7.3 20 6 18.3 6 16.6c0-3 3.7-6.6 6-6.6m0 2c-1.4 0-4 2.9-4 4.6 0 .7.5 1.4 1.2 1.4.5 0 1.4-.5 2.8-.5s2.3.5 2.8.5c.7 0 1.2-.7 1.2-1.4 0-1.7-2.6-4.6-4-4.6'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--tshirt-crew-outline\] {
    --svg: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23000' d='m16 3 5 3-2.2 5-2.3-1.2V21h-9V9.8L5.2 11 3 6l5-3h2c.4 1.2 1.1 2 2 2s1.6-.8 2-2zm-.6 2h-.2C14.4 6.3 13.3 7 12 7s-2.4-.7-3.2-2h-.2L5.5 6.9l.6 1.4 3.4-1.7V19h5V6.6l3.4 1.7.6-1.4z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--chevron-down\] {
    --svg: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23000' d='m7.4 8.6 4.6 4.6 4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--check-bold\] {
    --svg: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23000' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.tw-icon-\[mdi--palette-outline\] {
    --svg: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath fill='%23000' d='M12 22C6.49 22 2 17.97 2 13C2 7.48 6.48 3 12 3s10 4.48 10 10c0 1.66-1.34 3-3 3h-1.77c-.78 0-1.42.67-1.31 1.45c.11.78.48 1.5.48 2.29C16.4 20.99 15.39 22 14.14 22H12m0-17c-4.42 0-8 3.58-8 8c0 3.86 3.58 7 8 7h2.14c.11 0 .2-.09.2-.2c0-.21-.12-.52-.23-.81c-.23-.56-.49-1.2-.58-1.97c-.11-.92.17-1.85.77-2.55c.6-.71 1.49-1.12 2.42-1.12H19c.55 0 1-.45 1-1C20 8.29 16.42 5 12 5M6.5 11C5.67 11 5 10.33 5 9.5S5.67 8 6.5 8S8 8.67 8 9.5S7.33 11 6.5 11m3-3C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5S11 5.67 11 6.5S10.33 8 9.5 8m5 0C13.67 8 13 7.33 13 6.5S13.67 5 14.5 5S16 5.67 16 6.5S15.33 8 14.5 8m3 3c-.83 0-1.5-.67-1.5-1.5S16.67 8 17.5 8S19 8.67 19 9.5S18.33 11 17.5 11Z'/%3E%3C/svg%3E");
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.booklet-footer {
    flex: 0 0 auto;
}

.booklet-home {
    background: #f3f4f6;
}

.booklet-hero {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.94) 62%, rgba(243,244,246,1) 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.booklet-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
    pointer-events: none;
}

.booklet-hero-inner {
    padding-top: 58px;
    padding-bottom: 44px;
}

.booklet-hero-kicker {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    color: #059669;
}

.booklet-hero-title {
    font-size: clamp(42px, 5.2vw, 72px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
    color: #0f172a;
}

.booklet-hero-desc {
    max-width: 620px;
    margin: 14px auto 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.7;
}

.booklet-hero-search {
    border: 1px solid rgba(203, 213, 225, 0.95);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.booklet-search-btn {
    height: 32px;
    padding-left: 16px;
    padding-right: 16px;
}

.booklet-feature-grid {
    margin-top: 34px;
}

.booklet-feature-card {
    min-height: 126px;
    gap: 10px;
    padding: 20px 14px 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.booklet-feature-icon {
    width: 46px;
    height: 46px;
    background: #e9f0ff;
    color: #475569;
}

.booklet-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.booklet-home-body {
    padding-top: 42px;
    background: #f3f4f6;
}

.booklet-preview-grid {
    align-items: start;
}

.booklet-preview-card,
.booklet-module-card {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
}

.booklet-preview-card {
    min-height: 420px;
}

.booklet-section-block {
    padding-top: 18px;
}

.booklet-section-head {
    padding-top: 12px;
}

.booklet-section-head h2 {
    line-height: 1.2;
}

.booklet-module-card {
    min-height: 86px;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.booklet-module-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.pagerRegion {
    padding-top: 10px;
    padding-bottom: 10px;
}

.pagerRegion li a,
.pagerRegion li span {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 0 10px;
    color: #475569;
}

.pagerRegion li a:hover,
.pagerRegion li .now_page,
.pagerRegion li a.now_page {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.booklet-footer {
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 38px 0 24px;
}

.booklet-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    color: #64748b;
    font-size: 14px;
}

.booklet-footer-title {
    margin-bottom: 14px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

.booklet-footer-links {
    display: grid;
    gap: 9px;
}

.booklet-footer-links a {
    color: #64748b;
    transition: color .15s ease;
}

.booklet-footer-links a:hover {
    color: #2563eb;
}

.booklet-footer-meta {
    display: flex;
    margin-top: 32px;
    padding-top: 18px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid #edf2f7;
    color: #64748b;
    font-size: 13px;
}

.booklet-footer-copy {
    line-height: 1.7;
}

.booklet-footer-versions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.booklet-footer-versions a {
    display: inline-flex;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 0 10px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.booklet-footer-versions a:hover,
.booklet-footer-versions a.is-active {
    border-color: #a855f7;
    background: #faf5ff;
    color: #7e22ce;
}

.booklet-item-page {
    padding-top: 22px;
    padding-bottom: 46px;
}

[v-cloak] {
    display: none;
}

[data-ui-item-tip-layer] {
    position: fixed !important;
    z-index: 1400 !important;
    pointer-events: none !important;
    color: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.24);
}

[data-ui-item-tip-layer].tw-hidden {
    display: none !important;
}

.tw-animate-spin {
    animation: mxdRegionTipSpin .75s linear infinite;
}

.tw-icon-\[mdi--loading\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 0 1 10 10h-2a8 8 0 0 0-8-8z'/%3E%3C/svg%3E");
    display: inline-block;
    width: 1em;
    height: 1em;
    background: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.booklet-uiv8-list .db-tree-row {
    display: flex;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    padding: 7px 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    transition: background .15s ease, color .15s ease;
}

.booklet-item-category-head {
    border-bottom: 1px solid #eef2f7;
    background: #fff;
}

.booklet-item-category-search {
    display: flex;
    height: 34px;
    align-items: center;
    gap: 7px;
    border: 1px solid #dbe7f5;
    border-radius: 6px;
    background: #f8fbff;
    padding: 0 9px;
    color: #64748b;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.booklet-item-category-search:focus-within {
    border-color: #93c5fd;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.booklet-item-category-search input {
    min-width: 0;
    flex: 1;
    background: transparent;
    color: #1e293b;
    font-size: 13px;
}

.booklet-item-category-search input::placeholder {
    color: #94a3b8;
}

.booklet-item-category-search button {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #94a3b8;
}

.booklet-item-category-search button:hover {
    background: #eaf2ff;
    color: #2563eb;
}

.booklet-item-category-scroll {
    padding-top: 8px;
    scrollbar-width: thin;
    scrollbar-color: #aeb8c6 transparent;
}

.booklet-item-category-scroll .db-tree-row,
.booklet-item-category-scroll .db-tree-row > span {
    font-weight: 400 !important;
}

.booklet-item-category-scroll .booklet-item-category-top > span:first-child {
    color: #64748b;
}

.booklet-item-category-scroll .booklet-item-category-top[data-category-key="scope:Armor"] > span:first-child {
    color: #2563eb;
}

.booklet-item-category-scroll .booklet-item-category-top[data-category-key="scope:Weapon"] > span:first-child {
    color: #dc2626;
}

.booklet-item-category-scroll .booklet-item-category-top[data-category-key="scope:Consume"] > span:first-child {
    color: #16a34a;
}

.booklet-item-category-scroll .booklet-item-category-top[data-category-key="scope:Cash"] > span:first-child {
    color: #d97706;
}

.booklet-item-category-scroll .booklet-item-category-top[data-category-key="scope:Etc"] > span:first-child {
    color: #7c3aed;
}

.booklet-item-category-scroll .booklet-item-category-top[data-category-key="scope:Appearance"] > span:first-child {
    color: #db2777;
}

.booklet-item-category-scroll .booklet-item-category-top[data-category-key="scope:Special"] > span:first-child {
    color: #0891b2;
}

.booklet-item-version-switch {
    display: inline-flex;
    min-width: 148px;
    height: 36px;
    align-items: center;
    gap: 8px;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: #f8fbff;
    padding: 0 10px;
    color: #0f172a;
    box-shadow: none;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.booklet-item-version-switch:hover {
    border-color: #60a5fa;
    background: #eff6ff;
}

.booklet-item-version-switch:active {
    transform: translateY(1px);
}

.booklet-item-version-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #e0edff;
    color: #2563eb;
    font-size: 14px;
}

.booklet-item-version-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.booklet-item-version-copy > span {
    color: #64748b;
    font-size: 10px;
}

.booklet-item-version-copy > strong {
    margin-top: 1px;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.booklet-item-version-arrow {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 18px;
}

.booklet-item-all-version-toggle {
    display: inline-flex;
    height: 36px;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbe7f5;
    border-radius: 6px;
    background: #fff;
    padding: 0 12px 0 10px;
    color: #334155;
    font-size: 14px;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.booklet-item-all-version-toggle:hover {
    border-color: #93c5fd;
    background: #f8fbff;
    color: #1d4ed8;
}

.booklet-item-all-version-toggle.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.booklet-item-all-version-check {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    color: transparent;
    font-size: 13px;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.booklet-item-all-version-toggle.is-active .booklet-item-all-version-check {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.booklet-item-version-toggle {
    display: inline-flex;
    height: 32px;
    align-items: center;
    gap: 6px;
    border: 1px solid #dbe7f5;
    border-radius: 6px;
    background: #fff;
    padding: 0 9px;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.booklet-item-version-toggle:hover {
    border-color: #93c5fd;
    background: #f8fbff;
    color: #1d4ed8;
}

.booklet-item-version-toggle.is-active {
    border-color: #60a5fa;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: none;
}

.booklet-item-version-toggle-check {
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    color: transparent;
    font-size: 12px;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.booklet-item-version-toggle.is-active .booklet-item-version-toggle-check {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.booklet-item-version-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
}

.booklet-item-version-tags-table {
    margin-top: 5px;
}

.booklet-item-version-tags-card {
    margin-top: 5px;
}

.booklet-item-version-tag {
    display: inline-flex;
    min-width: 18px;
    height: 17px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
}

.booklet-item-meta-chip {
    display: inline-flex;
    height: 22px;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    border: 1px solid #e5edf6;
    border-radius: 3px;
    background: #f8fafc;
    padding: 0 6px;
    color: #64748b;
    line-height: 1;
}

.booklet-item-meta-id {
    color: #475569;
}

.booklet-item-version-tag[data-version="cms"] {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.booklet-item-version-tag[data-version="tms"] {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.booklet-item-version-tag[data-version="gms"] {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

.booklet-item-version-tag[data-version="kms"] {
    border-color: #ddd6fe;
    background: #f5f3ff;
    color: #6d28d9;
}

.booklet-item-version-tag[data-version="079"] {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #be123c;
}

.booklet-item-version-tag[data-version="083"] {
    border-color: #bae6fd;
    background: #f0f9ff;
    color: #0369a1;
}

.booklet-item-version-tag[data-version="143"] {
    border-color: #fde68a;
    background: #fffbeb;
    color: #a16207;
}

.booklet-appearance-version-menu {
    z-index: 1200;
}

.booklet-item-icon-box {
    position: relative;
    overflow: visible;
}

.booklet-item-dye-badge {
    position: absolute;
    right: -5px;
    bottom: -5px;
    z-index: 2;
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .96);
    border-radius: 6px;
    background: linear-gradient(135deg, #ff8ec7 0%, #ffd166 38%, #35d0ff 70%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .18);
}

.booklet-item-dye-badge::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 4px;
    background: rgba(15, 23, 42, .18);
}

.booklet-item-dye-badge > span {
    position: relative;
    z-index: 1;
    font-size: 12px;
    filter: drop-shadow(0 1px 1px rgba(15, 23, 42, .28));
}

.booklet-item-category-scroll::-webkit-scrollbar {
    width: 8px;
}

.booklet-item-category-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.booklet-item-category-scroll::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #aeb8c6;
    background-clip: content-box;
}

.booklet-item-category-scroll::-webkit-scrollbar-thumb:hover {
    background: #8491a3;
    background-clip: content-box;
}

.tw-dark .booklet-item-category-head,
.dark .booklet-item-category-head {
    border-bottom-color: #2a2a2a;
    background: #171717;
}

.tw-dark .booklet-item-category-search,
.dark .booklet-item-category-search {
    border-color: #2a2a2a;
    background: #101010;
    color: #94a3b8;
}

.tw-dark .booklet-item-category-search:focus-within,
.dark .booklet-item-category-search:focus-within {
    border-color: #2563eb;
    background: #141414;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}

.tw-dark .booklet-item-category-search input,
.dark .booklet-item-category-search input {
    color: #e5e7eb;
}

.tw-dark .booklet-item-category-search button:hover,
.dark .booklet-item-category-search button:hover {
    background: rgba(37, 99, 235, .16);
    color: #93c5fd;
}

.tw-dark .booklet-item-version-switch,
.dark .booklet-item-version-switch {
    border-color: rgba(96, 165, 250, .35);
    background: rgba(37, 99, 235, .08);
    color: #f3f4f6;
    box-shadow: none;
}

.tw-dark .booklet-item-version-switch:hover,
.dark .booklet-item-version-switch:hover {
    border-color: #60a5fa;
    background: rgba(37, 99, 235, .14);
}

.tw-dark .booklet-item-version-icon,
.dark .booklet-item-version-icon {
    background: rgba(96, 165, 250, .18);
    color: #93c5fd;
}

.tw-dark .booklet-item-version-copy > span,
.dark .booklet-item-version-copy > span {
    color: #94a3b8;
}

.tw-dark .booklet-item-version-copy > strong,
.dark .booklet-item-version-copy > strong,
.tw-dark .booklet-item-version-arrow,
.dark .booklet-item-version-arrow {
    color: #93c5fd;
}

.tw-dark .booklet-item-all-version-toggle,
.dark .booklet-item-all-version-toggle {
    border-color: #2a2a2a;
    background: #171717;
    color: #d1d5db;
}

.tw-dark .booklet-item-all-version-toggle:hover,
.dark .booklet-item-all-version-toggle:hover {
    border-color: rgba(96, 165, 250, .45);
    background: rgba(37, 99, 235, .1);
    color: #93c5fd;
}

.tw-dark .booklet-item-all-version-toggle.is-active,
.dark .booklet-item-all-version-toggle.is-active {
    border-color: #60a5fa;
    background: rgba(37, 99, 235, .16);
    color: #93c5fd;
}

.tw-dark .booklet-item-all-version-check,
.dark .booklet-item-all-version-check {
    border-color: #3a3a3a;
    background: #101010;
}

.tw-dark .booklet-item-all-version-toggle.is-active .booklet-item-all-version-check,
.dark .booklet-item-all-version-toggle.is-active .booklet-item-all-version-check {
    border-color: #60a5fa;
    background: #60a5fa;
    color: #0f172a;
}

.tw-dark .booklet-item-version-toggle,
.dark .booklet-item-version-toggle {
    border-color: #2a2a2a;
    background: #171717;
    color: #d1d5db;
}

.tw-dark .booklet-item-version-toggle:hover,
.dark .booklet-item-version-toggle:hover {
    border-color: rgba(96, 165, 250, .45);
    background: rgba(37, 99, 235, .1);
    color: #93c5fd;
}

.tw-dark .booklet-item-version-toggle.is-active,
.dark .booklet-item-version-toggle.is-active {
    border-color: #60a5fa;
    background: rgba(37, 99, 235, .16);
    color: #93c5fd;
    box-shadow: none;
}

.tw-dark .booklet-item-version-toggle-check,
.dark .booklet-item-version-toggle-check {
    border-color: #3a3a3a;
    background: #101010;
}

.tw-dark .booklet-item-version-toggle.is-active .booklet-item-version-toggle-check,
.dark .booklet-item-version-toggle.is-active .booklet-item-version-toggle-check {
    border-color: #60a5fa;
    background: #60a5fa;
    color: #0f172a;
}

.tw-dark .booklet-item-meta-chip,
.dark .booklet-item-meta-chip {
    border-color: #2a2f38;
    background: #171a20;
    color: #9ca3af;
}

.tw-dark .booklet-item-meta-id,
.dark .booklet-item-meta-id {
    color: #cbd5e1;
}

.tw-dark .booklet-item-version-tag[data-version="cms"],
.dark .booklet-item-version-tag[data-version="cms"] {
    border-color: rgba(96, 165, 250, .35);
    background: rgba(37, 99, 235, .16);
    color: #93c5fd;
}

.tw-dark .booklet-item-version-tag[data-version="tms"],
.dark .booklet-item-version-tag[data-version="tms"] {
    border-color: rgba(74, 222, 128, .35);
    background: rgba(22, 163, 74, .16);
    color: #86efac;
}

.tw-dark .booklet-item-version-tag[data-version="gms"],
.dark .booklet-item-version-tag[data-version="gms"] {
    border-color: rgba(251, 146, 60, .38);
    background: rgba(234, 88, 12, .16);
    color: #fdba74;
}

.tw-dark .booklet-item-version-tag[data-version="kms"],
.dark .booklet-item-version-tag[data-version="kms"] {
    border-color: rgba(167, 139, 250, .4);
    background: rgba(109, 40, 217, .2);
    color: #c4b5fd;
}

.tw-dark .booklet-item-version-tag[data-version="079"],
.dark .booklet-item-version-tag[data-version="079"] {
    border-color: rgba(251, 113, 133, .42);
    background: rgba(225, 29, 72, .18);
    color: #fda4af;
}

.tw-dark .booklet-item-version-tag[data-version="083"],
.dark .booklet-item-version-tag[data-version="083"] {
    border-color: rgba(56, 189, 248, .38);
    background: rgba(3, 105, 161, .2);
    color: #7dd3fc;
}

.tw-dark .booklet-item-version-tag[data-version="143"],
.dark .booklet-item-version-tag[data-version="143"] {
    border-color: rgba(250, 204, 21, .38);
    background: rgba(161, 98, 7, .2);
    color: #fde68a;
}

.tw-dark .booklet-item-dye-badge,
.dark .booklet-item-dye-badge {
    border-color: rgba(15, 23, 42, .92);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}

.tw-dark .booklet-item-category-scroll,
.dark .booklet-item-category-scroll {
    scrollbar-color: #5f6877 transparent;
}

.tw-dark .booklet-item-category-scroll::-webkit-scrollbar-thumb,
.dark .booklet-item-category-scroll::-webkit-scrollbar-thumb {
    background: #5f6877;
    background-clip: content-box;
}

.tw-dark .booklet-item-category-scroll::-webkit-scrollbar-thumb:hover,
.dark .booklet-item-category-scroll::-webkit-scrollbar-thumb:hover {
    background: #758195;
    background-clip: content-box;
}

.booklet-uiv8-body {
    grid-template-columns: minmax(0, 1fr);
}

.booklet-uiv8-filter-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
}

.booklet-item-filterbar {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(260px, 1fr);
}

.appearance-filterbar {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(260px, 1fr);
}

.booklet-item-filterbar > label,
.booklet-item-filterbar > select,
.booklet-item-filterbar > div,
.booklet-item-filterbar > button,
.appearance-filterbar > label,
.appearance-filterbar > select,
.appearance-filterbar > button {
    min-width: 0;
}

.booklet-item-filterbar > button,
.appearance-filterbar > button {
    white-space: nowrap;
}

.booklet-item-filterbar > button.booklet-filter-toggle.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 3px rgba(37, 99, 235, .16);
}

.booklet-item-filterbar > button.booklet-filter-toggle.is-active > span {
    color: #2563eb;
}

.dark .booklet-item-filterbar > button.booklet-filter-toggle.is-active,
.tw-dark .booklet-item-filterbar > button.booklet-filter-toggle.is-active {
    border-color: #38bdf8;
    background: rgba(37, 99, 235, .18);
    color: #7dd3fc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 1px 3px rgba(14, 165, 233, .18);
}

.dark .booklet-item-filterbar > button.booklet-filter-toggle.is-active > span,
.tw-dark .booklet-item-filterbar > button.booklet-filter-toggle.is-active > span {
    color: #7dd3fc;
}

.booklet-item-filterbar > label {
    border-color: #93c5fd;
    background: #eff6ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 3px rgba(37, 99, 235, .12);
}

.booklet-item-filterbar > label:hover {
    border-color: #60a5fa;
    background: #dbeafe;
}

.booklet-item-filterbar > label:focus-within {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12), 0 1px 2px rgba(15, 23, 42, .06);
}

.booklet-item-filterbar > label > span:first-child {
    color: #2563eb;
}

.booklet-item-filterbar > label input::placeholder {
    color: #475569;
}

.booklet-item-actionbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
}

.booklet-item-activebar {
    display: flex;
    min-height: 32px;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.booklet-item-active-chip {
    border-radius: 3px;
}

.booklet-item-controlbar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 980px) {
    .booklet-item-actionbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .booklet-item-controlbar {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.dark .booklet-item-filterbar > label,
.tw-dark .booklet-item-filterbar > label {
    border-color: #2563eb;
    background: rgba(37, 99, 235, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 1px 3px rgba(37, 99, 235, .22);
}

.dark .booklet-item-filterbar > label:hover,
.tw-dark .booklet-item-filterbar > label:hover {
    border-color: #38bdf8;
    background: rgba(37, 99, 235, .22);
}

.dark .booklet-item-filterbar > label:focus-within,
.tw-dark .booklet-item-filterbar > label:focus-within {
    border-color: #38bdf8;
    background: #18181b;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .16), 0 1px 2px rgba(0, 0, 0, .3);
}

@media (min-width: 760px) {
    .booklet-item-filterbar {
        grid-template-columns: minmax(320px, 1fr) repeat(2, minmax(136px, 170px));
    }

    .booklet-item-filterbar > label {
        grid-column: 1 / -1;
    }

    .appearance-filterbar {
        grid-template-columns: minmax(320px, 1fr) repeat(2, minmax(136px, 170px));
    }

    .appearance-filterbar > label {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1160px) {
    .booklet-item-filterbar {
        grid-template-columns: minmax(420px, 1fr) 132px 150px 150px;
    }

    .booklet-item-filterbar > label {
        grid-column: auto;
    }

    .appearance-filterbar {
        grid-template-columns: minmax(260px, 1fr) 132px 132px 132px 132px;
    }

    .appearance-filterbar > label {
        grid-column: auto;
    }
}

@media (min-width: 1536px) {
    .appearance-layout {
        grid-template-columns: 246px minmax(0, 1fr);
    }

    .appearance-filter-panel {
        position: sticky !important;
        top: 76px !important;
        z-index: auto !important;
        height: auto !important;
        max-height: calc(100vh - 92px);
        width: auto !important;
        transform: none !important;
    }

    .appearance-filter-close,
    .appearance-mobile-filterbar {
        display: none !important;
    }
}

.tw-icon-\[mdi--database-search-outline\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2C6.58 2 3 3.79 3 6v12c0 2.21 3.58 4 8 4c.74 0 1.45-.05 2.13-.15a6.47 6.47 0 0 1-1.7-1.87L11 20c-3.87 0-6-1.5-6-2v-2.23C6.61 16.55 8.72 17 11 17h.08A6.5 6.5 0 0 1 11 16c0-.34.03-.67.08-1H11c-3.87 0-6-1.5-6-2v-2.23C6.61 11.55 8.72 12 11 12c1.33 0 2.59-.15 3.71-.43A6.42 6.42 0 0 1 17 11.05V6c0-2.21-3.58-4-8-4m0 2c3.87 0 6 1.5 6 2s-2.13 2-6 2s-6-1.5-6-2s2.13-2 6-2m0 6c3.87 0 6-1.5 6-2v2.23C15.39 11 13.28 11.5 11 11.5S6.61 11 5 10.23V8c0 .5 2.13 2 6 2m6.5 3a4.5 4.5 0 0 0-4.5 4.5a4.5 4.5 0 0 0 4.5 4.5c.88 0 1.69-.25 2.38-.68L22.56 24L24 22.56l-2.68-2.68c.43-.69.68-1.5.68-2.38a4.5 4.5 0 0 0-4.5-4.5m0 2a2.5 2.5 0 0 1 2.5 2.5a2.5 2.5 0 0 1-2.5 2.5a2.5 2.5 0 0 1-2.5-2.5a2.5 2.5 0 0 1 2.5-2.5Z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--table-large\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3h18v18H3zm2 2v4h14V5zm0 6v3h4v-3zm6 0v3h8v-3zm-6 5v3h4v-3zm6 0v3h8v-3z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--file-tree-outline\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3h6v6H3zm2 2v2h2V5zm2 7h2v3h4v-3h2v3h4v6h-6v-4H9v4H3v-6h4zm8 5v2h2v-2zM5 17v2h2v-2zm8-14h8v6h-8zm2 2v2h4V5z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--filter-check-outline\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4h18l-7 8v6l-4 2v-8zm4.41 2L12 11.26L16.59 6zm9.18 10.58L18 15.17l2 2l4-4L22.59 12L18 16.58z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--hanger\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 7a3 3 0 1 0-3-3'/%3E%3Cpath d='M12 7v2L4 14.5V18h16v-3.5L12 9'/%3E%3C/g%3E%3C/svg%3E");
}

.tw-icon-\[mdi--glasses\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Ccircle cx='7' cy='14' r='4'/%3E%3Ccircle cx='17' cy='14' r='4'/%3E%3Cpath d='M11 14h2M3 13l-1-3m19 3 1-3'/%3E%3C/g%3E%3C/svg%3E");
}

.tw-icon-\[mdi--face-man-outline\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 10h.01M16 10h.01M8.5 15c1.1 1 2.2 1.5 3.5 1.5s2.4-.5 3.5-1.5M7 7c1.4-1.2 3-1.8 5-1.8s3.6.6 5 1.8'/%3E%3C/g%3E%3C/svg%3E");
}

.tw-icon-\[mdi--chair-rolling\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M8 3h8v7H8zM7 10h10v4a3 3 0 0 1-3 3h-4a3 3 0 0 1-3-3zM12 17v3M7 21h10M8 21l-2 1m10-1 2 1'/%3E%3C/g%3E%3C/svg%3E");
}

.tw-icon-\[mdi--paw-outline\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000'%3E%3Cellipse cx='6.5' cy='8' rx='2' ry='3'/%3E%3Cellipse cx='11' cy='6' rx='2' ry='3'/%3E%3Cellipse cx='15.5' cy='8' rx='2' ry='3'/%3E%3Cellipse cx='19' cy='11.5' rx='2' ry='2.6'/%3E%3Cpath d='M7.5 17.5c0-3 2.6-5.5 5-5.5s5 2.5 5 5.5c0 2.1-1.5 3.5-3.1 3.5-.8 0-1.3-.4-1.9-.4s-1.1.4-1.9.4c-1.6 0-3.1-1.4-3.1-3.5Z'/%3E%3C/g%3E%3C/svg%3E");
}

.tw-icon-\[mdi--cart-outline\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M3 4h2l2.2 11.2a2 2 0 0 0 2 1.8h8.6a2 2 0 0 0 2-1.6L21 8H7'/%3E%3Ccircle cx='10' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

.tw-icon-\[mdi--cash\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M6 9h1m10 6h1'/%3E%3C/g%3E%3C/svg%3E");
}

.tw-icon-\[mdi--filter-remove-outline\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4h18l-7 8v6l-4 2v-8zm4.41 2L12 11.26L16.59 6zM19 16.59L21.59 14L23 15.41L20.41 18L23 20.59L21.59 22L19 19.41L16.41 22L15 20.59L17.59 18L15 15.41L16.41 14z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--format-list-bulleted\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 5h14v2H7zm0 6h14v2H7zm0 6h14v2H7zM3 5h2v2H3zm0 6h2v2H3zm0 6h2v2H3z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--view-grid-outline\] {
    --svg: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3h8v8H3zm2 2v4h4V5zm8-2h8v8h-8zm2 2v4h4V5zM3 13h8v8H3zm2 2v4h4v-4zm8-2h8v8h-8zm2 2v4h4v-4z'/%3E%3C/svg%3E");
}

.tw-icon-\[mdi--database-search-outline\],
.tw-icon-\[mdi--table-large\],
.tw-icon-\[mdi--file-tree-outline\],
.tw-icon-\[mdi--filter-check-outline\],
.tw-icon-\[mdi--hanger\],
.tw-icon-\[mdi--glasses\],
.tw-icon-\[mdi--face-man-outline\],
.tw-icon-\[mdi--chair-rolling\],
.tw-icon-\[mdi--paw-outline\],
.tw-icon-\[mdi--cart-outline\],
.tw-icon-\[mdi--cash\],
.tw-icon-\[mdi--filter-remove-outline\],
.tw-icon-\[mdi--format-list-bulleted\],
.tw-icon-\[mdi--view-grid-outline\] {
    display: inline-block;
    width: 1em;
    height: 1em;
    background: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.booklet-uiv8-head-stats > div {
    min-height: 62px;
}

.booklet-uiv8-head-stats {
    position: relative;
    border-top-width: 0 !important;
}

.booklet-uiv8-head-stats::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: #e5e7eb;
}

@media (min-width: 768px) {
    .booklet-uiv8-head-stats > div {
        position: relative;
        border-left-width: 0 !important;
        border-top-width: 0 !important;
    }

    .booklet-uiv8-head-stats > div + div::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background: #e5e7eb;
    }
}

.booklet-uiv8-search {
    display: flex;
    height: 36px;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 0 10px;
    color: #64748b;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.booklet-uiv8-search:focus-within,
.booklet-uiv8-search.is-active {
    border-color: #a855f7;
    box-shadow: inset 0 0 0 1px #a855f7;
}

.booklet-uiv8-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 14px;
}

.booklet-uiv8-search input::placeholder {
    color: #94a3b8;
}

.booklet-uiv8-search button {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #64748b;
}

.booklet-uiv8-search button:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.booklet-uiv8-list select:focus,
.booklet-uiv8-list button:focus-visible {
    border-color: #a855f7 !important;
    outline: 0;
    box-shadow: inset 0 0 0 1px #a855f7;
}

.booklet-uiv8-table-wrap {
    min-height: 360px;
}

.booklet-list-content {
    min-height: 360px;
}

.booklet-uiv8-table-wrap table {
    transition: opacity .18s ease, filter .18s ease;
}

.booklet-uiv8-table-wrap.is-loading table {
    opacity: .28;
    filter: blur(1px);
}

.booklet-uiv8-loading-layer {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 360px;
    padding-top: 72px;
    background: #fff;
    backdrop-filter: blur(1px);
}

.booklet-list-loading-layer {
    align-items: flex-start !important;
    min-height: 360px;
    padding-top: 72px !important;
    background: #fff !important;
    backdrop-filter: blur(1px);
}

.booklet-uiv8-loading-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: rgba(255, 255, 255, .96);
    padding: 10px 14px;
    color: #475569;
    font-size: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

@media (max-width: 767px) {
    .booklet-uiv8-table-wrap,
    .booklet-uiv8-loading-layer,
    .booklet-list-content,
    .booklet-list-loading-layer {
        min-height: 260px;
    }

    .booklet-uiv8-loading-layer,
    .booklet-list-loading-layer {
        padding-top: 44px !important;
    }
}

@media (min-width: 1024px) {
    .booklet-uiv8-filter-grid {
        grid-template-columns: minmax(260px, 1fr) 150px 116px 110px;
    }
}

@media (min-width: 1280px) {
    .booklet-uiv8-body {
        grid-template-columns: 280px minmax(0, 1fr);
        align-items: start;
    }
}

.booklet-uiv8-list .db-tree-row:hover,
.booklet-uiv8-list .db-tree-row.db-tree-active {
    background: #eff6ff;
    color: #1d4ed8;
}

.booklet-look-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

.booklet-look-grid .db-tree-row {
    min-height: 34px;
}

.booklet-uiv8-list .db-tree-root {
    color: #0f172a;
    font-weight: 400;
}

.booklet-uiv8-list details[open] > summary .tw-icon-\[mdi--chevron-right\] {
    transform: rotate(90deg);
}

.booklet-uiv8-list summary.db-tree-row {
    cursor: pointer;
    list-style: none;
}

.booklet-uiv8-list summary.db-tree-row::-webkit-details-marker {
    display: none;
}

.booklet-uiv8-list .gear-page-btn {
    display: inline-flex;
    min-width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0 10px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}

.booklet-uiv8-list .gear-page-btn:hover:not(:disabled),
.booklet-uiv8-list .gear-page-btn.is-active {
    background: #2563eb;
    color: #fff;
}

.booklet-uiv8-list .gear-page-btn:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.booklet-sticky-pager {
    position: sticky;
    bottom: 20px;
    z-index: 40;
}

.booklet-sticky-pager-inner {
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

.booklet-uiv8-sort {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0f172a;
    font-weight: 700;
}

.booklet-uiv8-sort:hover {
    color: #1d4ed8;
}

.booklet-uiv8-sort.is-active {
    padding-bottom: 4px;
}

.booklet-uiv8-sort.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 0;
    background: #2563eb;
}

.booklet-uiv8-loading-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 999px;
    animation: mxdRegionTipSpin .75s linear infinite;
}

.booklet-sort-icon-both {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 16px;
    flex: 0 0 auto;
}

.booklet-sort-icon-both::before,
.booklet-sort-icon-both::after {
    content: "";
    position: absolute;
    left: 2px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
}

.booklet-sort-icon-both::before {
    top: 3px;
    border-bottom: 4px solid currentColor;
}

.booklet-sort-icon-both::after {
    bottom: 3px;
    border-top: 4px solid currentColor;
}

.booklet-clear-filter-btn {
    display: inline-flex;
    height: 28px;
    align-items: center;
    gap: 6px;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    background: #eff6ff;
    padding: 0 10px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.booklet-clear-filter-btn:hover {
    border-color: #bfdbfe;
    background: #dbeafe;
}

.booklet-view-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    padding: 2px;
}

.booklet-view-switch-btn {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #64748b;
    font-size: 16px;
    transition: background .15s ease, color .15s ease;
}

.booklet-view-switch-btn:hover {
    background: #fff;
    color: #0f172a;
}

.booklet-view-switch-btn.is-active {
    background: #fff;
    color: #2563eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

.booklet-card-grid {
    display: grid;
    gap: 12px;
    padding: 12px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.booklet-card-empty {
    grid-column: 1 / -1;
    padding: 48px 16px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.booklet-item-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8faff;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.booklet-item-card:hover {
    border-color: #c084fc;
    background: #fff;
    transform: translateY(-1px);
}

.booklet-item-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, .55);
    padding: 12px;
}

.booklet-item-card-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #fff;
    color: #64748b;
}

.booklet-item-card-icon img {
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
}

.booklet-item-card-icon > span {
    font-size: 24px;
}

.booklet-item-card-name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #2563eb;
    font-weight: 700;
}

.booklet-item-card-name:hover {
    text-decoration: underline;
}

.booklet-item-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
}

.booklet-item-card-meta > span {
    border-radius: 6px;
    background: #eef2f7;
    padding: 2px 6px;
}

.booklet-list-copy {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #64748b;
    transition: color .16s ease, background .16s ease, border-color .16s ease;
}

.booklet-list-copy:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #2563eb;
}

.booklet-list-copy .tw-icon-\[mdi--content-copy\],
.booklet-list-copy .tw-icon-\[mdi--check\] {
    font-size: 14px;
}

.booklet-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 12px;
    padding: 20px 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
}

.booklet-detail-page {
    --detail-dark: #171717;
    --detail-line: rgba(255, 255, 255, .1);
    font-weight: 400;
}

.booklet-detail-page b,
.booklet-detail-page strong {
    font-weight: 600;
}

.booklet-detail-layout {
    align-items: start;
}

@media (min-width: 1280px) {
    .booklet-detail-layout {
        grid-template-columns: 380px minmax(0, 1fr);
    }
}

.booklet-detail-main-grid {
    display: grid;
    align-items: start;
    gap: 16px;
}

@media (min-width: 1280px) {
    .booklet-detail-main-grid {
        grid-template-columns: minmax(0, 1fr) 410px;
    }

    .booklet-detail-preview-side {
        position: sticky;
        top: 80px;
    }
}

.booklet-detail-preview-side {
    min-width: 0;
}

.booklet-detail-top-grid {
    display: grid;
    gap: 12px;
}

@media (min-width: 1024px) {
    .booklet-detail-top-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
        align-items: stretch;
    }

    .booklet-detail-top-grid > .booklet-detail-tip-card {
        grid-row: 1 / span 2;
        align-self: stretch;
    }

    .booklet-detail-top-grid > .booklet-detail-extra-modules {
        grid-column: 2;
        align-self: stretch;
    }

    .booklet-detail-top-grid > .booklet-detail-info-panel:last-child {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: stretch;
    }
}

.booklet-detail-float-icon {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 10;
    display: flex;
    width: 64px;
    height: 64px;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    border: 1px solid #64748b;
    border-radius: 7px;
    background: #151515;
    color: #e2e8f0;
    font-size: 34px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .22);
}

.booklet-detail-float-icon img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
}

.booklet-detail-card {
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: var(--detail-dark);
    color: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.booklet-detail-tip-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    height: 100%;
    justify-content: stretch;
}

.booklet-detail-item-head {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 88px;
    border: 1px solid rgba(226, 232, 240, .72);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #f6f9ff;
    padding: 14px;
    color: #0f172a;
}

.booklet-detail-item-head-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, .30);
    border-radius: 6px;
    background: #f8fafc;
}

.booklet-detail-item-head-icon img {
    max-width: 46px;
    max-height: 46px;
    object-fit: contain;
    image-rendering: pixelated;
}

.booklet-detail-item-head-icon span[class*="tw-icon-"] {
    color: #cbd5e1;
    font-size: 28px;
}

.booklet-detail-item-head-main {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.booklet-detail-item-head-name {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booklet-detail-item-head-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.booklet-detail-item-head-meta span {
    display: inline-flex;
    height: 25px;
    align-items: center;
    border-radius: 5px;
    background: #f1f5f9;
    padding: 0 8px;
    color: #334155;
    font-size: 13px;
    line-height: 25px;
}

.booklet-detail-item-head-id {
    align-self: start;
    grid-column: 3;
    grid-row: 1;
    color: #94a3b8;
    font-family: Consolas, monospace;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.booklet-fav-btn {
    display: inline-flex;
    height: 32px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #dbe4f0;
    border-radius: 6px;
    background: #fff;
    padding: 0 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    line-height: 32px;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.booklet-fav-btn:hover {
    border-color: #fecaca;
    background: #fff5f5;
    color: #e11d48;
}

.booklet-fav-btn.is-active {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #e11d48;
}

.booklet-fav-btn.is-loading {
    opacity: .68;
    pointer-events: none;
}

.booklet-fav-btn span[class*="tw-icon-"] {
    font-size: 16px;
}

.booklet-fav-btn-head {
    align-self: start;
    grid-column: 3;
    grid-row: 1;
    margin-top: 24px;
    min-width: 76px;
}

.booklet-detail-tip-card .tip3-wrap {
    width: 100%;
    max-width: 100%;
}

.booklet-detail-extra-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
    min-height: 100%;
}

.booklet-detail-extra-modules > .tip3-side-card:only-child,
.booklet-detail-extra-modules > .tip3-side-card:nth-child(odd):last-child,
.booklet-detail-extra-modules > .tip3-side-stack {
    grid-column: 1 / -1;
}

.booklet-detail-extra-modules .tip3-side-stack {
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 100%;
    flex-direction: column;
    gap: 8px;
}

.booklet-detail-extra-modules .tip3-side-stack .tip3-side-card,
.booklet-detail-extra-modules .tip3-side-stack .tip3-skill-card {
    width: 100%;
    max-width: none;
}

.booklet-detail-extra-modules .tip3-card,
.booklet-detail-extra-modules .tip3-side-card {
    width: 100%;
    max-width: none;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #0f172a;
    box-shadow: none;
}

.booklet-detail-extra-modules .tip3-side-card {
    padding: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
}

.booklet-detail-extra-modules > .tip3-side-card,
.booklet-detail-extra-modules .tip3-side-stack > .tip3-side-card:last-child {
    height: 100%;
}

.booklet-detail-extra-modules .tip3-side-stack > .tip3-side-card:last-child {
    flex: 1 1 auto;
    min-height: 0;
}

.booklet-detail-extra-modules .tip3-side-title {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    padding: 11px 14px;
    color: #047857;
    font-size: 15px;
    font-weight: 600;
}

.booklet-detail-extra-modules .tip3-skill-card {
    min-height: 0;
    padding: 9px 14px;
    border-color: #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #047857;
    line-height: 22px;
}

.booklet-detail-extra-modules .tip3-set-items,
.booklet-detail-extra-modules .tip3-side-block,
.booklet-detail-extra-modules .tip3-growth-note,
.booklet-detail-extra-modules .tip3-side-level,
.booklet-detail-extra-modules .tip3-side-icon {
    margin-right: 14px;
    margin-left: 14px;
}

.booklet-detail-extra-modules .tip3-set-items {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 10px;
}

.booklet-detail-extra-modules .tip3-set-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 10px;
    min-height: 24px;
    color: #334155;
}

.booklet-detail-extra-modules .tip3-set-item.has-icon {
    grid-template-columns: 34px minmax(0, 1fr) max-content;
    min-height: 38px;
}

.booklet-detail-extra-modules .tip3-set-item.on {
    color: #059669;
    font-weight: 600;
}

.booklet-detail-extra-modules .tip3-set-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.booklet-detail-extra-modules .tip3-set-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booklet-detail-extra-modules .tip3-set-item b {
    color: #64748b;
    font-weight: 400;
}

.booklet-detail-extra-modules .tip3-side-block {
    margin-top: 0;
    border-top: 1px dashed #e2e8f0;
    padding-top: 7px;
    padding-bottom: 7px;
    color: #0f172a;
    line-height: 20px;
}

.booklet-detail-extra-modules .tip3-set-items + .tip3-side-block {
    border-top: 0;
    padding-top: 6px;
}

.booklet-detail-extra-modules .tip3-side-block:last-child {
    margin-bottom: 2px;
}

.booklet-detail-extra-modules .tip3-side-level {
    margin-top: 10px;
    color: #047857;
    font-weight: 600;
}

.booklet-detail-extra-modules .tip3-side-block .tip3-side-level {
    margin: 0 0 3px;
    line-height: 20px;
}

.booklet-detail-extra-modules .tip3-side-card > div:not(.tip3-side-title):not(.tip3-set-items):not(.tip3-side-block):not(.tip3-growth-note):not(.tip3-side-level):not(.tip3-side-icon) {
    margin-right: 14px;
    margin-left: 14px;
}

.booklet-detail-extra-modules .tip3-side-card > div:last-child {
    margin-bottom: 16px;
}

.booklet-detail-extra-modules .tip3-growth-note {
    margin-top: 12px;
    border-radius: 6px;
    background: #fff7ed;
    padding: 7px 10px;
    color: #b45309;
    text-align: center;
    font-weight: 600;
}

.booklet-detail-extra-modules .tip3-skill-line {
    color: #b45309;
}

.booklet-detail-extra-modules .tip3-skill-line span {
    color: #047857;
}

.booklet-detail-extra-modules .tip3-side-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 16px;
    color: #334155;
}

.booklet-detail-extra-modules .tip3-side-icon img {
    max-width: 36px;
    max-height: 36px;
    object-fit: contain;
}

.booklet-detail-tip-card .tip3-card {
    border: 1px solid rgba(226, 232, 240, .72);
    border-radius: 0 0 8px 8px;
    background: #fff;
    color: #0f172a;
    box-shadow: none;
}

.booklet-detail-tip-card .tip3-object-id {
    display: none;
}

.booklet-detail-tip-card .tip3-main,
.booklet-detail-tip-card .tip3-item,
.booklet-detail-tip-card .tip3-left-stack {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
}

.booklet-detail-tip-card .tip3-main {
    display: flex;
    height: 100%;
    flex-direction: column;
    min-height: 0;
}

.booklet-detail-tip-card .tip3-main > .tip3-body {
    flex: 1 1 auto;
}

.booklet-detail-tip-card .tip3-item {
    min-height: 0;
}

.booklet-detail-tip-card .tip3-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-bottom: 0;
    background: #fff;
    padding: 22px 24px 8px;
}

.booklet-detail-tip-card .tip3-name,
.booklet-detail-tip-card .tip3-item-title {
    margin: 0;
    color: #0f172a;
    font-size: 19px;
    font-weight: 600;
    line-height: 25px;
}

.booklet-detail-tip-card .tip3-rank,
.booklet-detail-tip-card .tip3-head-flags {
    font-size: 13px;
    line-height: 19px;
}

.booklet-detail-tip-card .tip3-rank {
    color: #15803d;
}

.booklet-detail-tip-card .tip3-head-flags {
    width: fit-content;
    max-width: calc(100% - 48px);
    margin: 8px auto 20px;
    border-radius: 999px;
    background: #fff7ed;
    padding: 3px 11px;
    color: #b45309;
    text-align: center;
}

.booklet-detail-tip-card .tip3-gear-main {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    margin: 0;
    border-top: 0;
    border-bottom: 0;
    background: #f8fbff;
    padding: 18px 14px;
}

.booklet-detail-tip-card .tip3-gear-icon {
    width: 82px;
    height: 82px;
    grid-column: 1;
    grid-row: 1;
    border-color: rgba(148, 163, 184, .30);
    background: #fff;
}

.booklet-detail-tip-card .tip3-gear-icon img {
    max-width: 74px;
    max-height: 74px;
}

.booklet-detail-tip-card .tip3-summary {
    color: #334155;
    font-size: 13px;
    line-height: 17px;
    text-align: right;
    white-space: nowrap;
}

.booklet-detail-tip-card .tip3-summary b {
    color: #0f172a;
    font-size: 34px;
    line-height: 36px;
}

.booklet-detail-tip-card .tip3-req-grid {
    max-width: 620px;
    gap: 4px 14px;
}

.booklet-detail-tip-card .tip3-req-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.booklet-detail-tip-card .tip3-req-item span,
.booklet-detail-tip-card .tip3-req-item b {
    min-width: 0;
    white-space: nowrap;
}

.booklet-detail-tip-card .tip3-req-item.on {
    color: #b45309;
}

.booklet-detail-tip-card .tip3-job-row {
    border-top: 0;
    border-bottom: 0;
    background: #f8fbff;
    margin: 0;
    padding: 12px 24px;
    gap: 7px;
}

.booklet-detail-tip-card .tip3-job-row span {
    height: 28px;
    min-width: 48px;
    border-color: rgba(203, 213, 225, .72);
    background: #f8fafc;
    color: #64748b;
    font-size: 14px;
}

.booklet-detail-tip-card .tip3-job-row span.is-on {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.booklet-detail-tip-card .tip3-body {
    padding: 18px 24px 20px;
    color: #0f172a;
    font-size: 15px;
    line-height: 25px;
}

.booklet-detail-tip-card .tip3-row {
    padding: 3px 0;
    color: #0f172a;
    line-height: 25px;
    border-top: 0;
}

.booklet-detail-tip-card .tip3-row span,
.booklet-detail-tip-card .tip3-row b,
.booklet-detail-tip-card .tip3-row b span {
    line-height: 25px;
}

.booklet-detail-tip-card .tip3-desc,
.booklet-detail-tip-card .tip3-potential {
    color: #334155;
    line-height: 21px;
    border-top: 0;
}

.booklet-detail-tip-card .tip3-preview {
    height: 170px;
    border: 0;
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 48%, rgba(219, 234, 254, .34) 0, rgba(219, 234, 254, .18) 26%, rgba(248, 250, 252, 0) 58%),
        linear-gradient(180deg, #fbfdff 0%, #f7faff 100%);
    margin-top: 16px;
    padding-top: 0;
}

.booklet-detail-tip-card .tip3-left-stack > .tip3-card,
.booklet-detail-tip-card .tip3-left-stack > .tip3-item,
.booklet-detail-tip-card .tip3-left-stack > .tip3-recipe-card {
    width: 100%;
    max-width: none;
}

.booklet-detail-tip-card .tip3-item-main {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    margin-top: 0;
    border-top: 0;
    background: #f8fbff;
    padding: 20px 24px 22px;
}

.booklet-detail-tip-card .tip3-item-icon {
    width: 82px;
    height: 82px;
    border-color: rgba(148, 163, 184, .30);
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.booklet-detail-tip-card .tip3-item-icon img {
    max-width: 74px;
    max-height: 74px;
}

.booklet-detail-tip-card .tip3-item-body,
.booklet-detail-tip-card .tip3-recipe-card {
    margin-top: 0;
    padding: 0;
}

.booklet-detail-tip-card .tip3-recipe-req {
    border-top-color: #e2e8f0;
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
    background: #f8fafc;
}

.booklet-detail-tip-card .tip3-recipe-debug {
    color: #64748b;
}

.booklet-detail-tip-card .tip3-stars {
    color: #94a3b8;
    display: grid;
    gap: 2px;
    min-height: 24px;
    margin-bottom: 1px;
    font-size: 14px;
    line-height: 13px;
}

.booklet-detail-tip-card .tip3-stars-line {
    height: 13px;
    line-height: 13px;
}

.booklet-detail-tip-card .tip3-star {
    width: 10px;
}

.booklet-detail-tip-card .tip3-potential {
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.booklet-detail-tip-card .tip3-desc.tip3-orange {
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.booklet-detail-tip-card .tip3-special {
    border-radius: 8px;
    background: #f0fdf4;
}

.booklet-detail-tip-card .tip3-main > .tip3-body > .tip3-row:first-child {
    border-top: 0;
}

.booklet-detail-tip-card .tip3-main > .tip3-body {
    background: #fff;
}

.booklet-detail-tip-card .tip3-item {
    padding: 0;
}

.booklet-detail-tip-card .tip3-item > .tip3-item-title {
    display: none;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    padding: 18px 20px 12px;
    text-align: center;
}

.booklet-detail-tip-card .tip3-item .tip3-object-id {
    left: 10px;
    top: 8px;
}

.booklet-detail-tip-card .tip3-left-stack {
    gap: 0;
}

.booklet-detail-tip-card .tip3-left-stack > .tip3-card:first-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.booklet-detail-tip-card .tip3-left-stack > .tip3-card + .tip3-card {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.booklet-detail-tip-card .tip3-main .tip3-object-id {
    left: 10px;
    top: 8px;
}

.booklet-detail-tip-card .tip3-gear-main > div:last-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: end;
    gap: 4px;
    min-width: 0;
}

.booklet-detail-tip-card .tip3-gear-main .tip3-summary {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: end;
}

.booklet-detail-tip-card .tip3-gear-main .tip3-req-grid {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    justify-self: stretch;
    min-width: 0;
}

.booklet-detail-tip-card .tip3-body::before {
    content: "\57FA\7840\5C5E\6027";
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
}

.booklet-detail-tip-card .tip3-preview::before {
    content: "";
}

.booklet-detail-tip-card .tip3-version-tags {
    display: none;
}

.booklet-detail-tip-card .tip3-item .tip3-version-tags {
    display: none;
    align-items: center;
    gap: 10px;
    border-top: 0;
    padding: 0;
    color: #64748b;
}

.booklet-detail-tip-card .tip3-item .tip3-version-tags b {
    flex: 0 0 auto;
    color: #64748b;
    font-weight: 400;
}

.booklet-detail-tip-card .tip3-item .tip3-version-tags div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.booklet-detail-tip-card .tip3-item .tip3-version-tags span {
    height: 22px;
    border-radius: 5px;
    background: #dbeafe;
    padding: 0 8px;
    color: #2563eb;
    font-size: 12px;
    line-height: 22px;
}

.booklet-detail-tip-card .tip3-item-desc-main {
    margin-top: 12px;
    max-width: 620px;
    color: #0f172a;
    font-size: 15px;
    line-height: 25px;
}

.booklet-detail-tip-card .tip3-item-body,
.booklet-detail-tip-card .tip3-recipe-card {
    color: #0f172a;
    font-size: 14px;
    line-height: 21px;
}

.booklet-detail-tip-card .tip3-recipe-title,
.booklet-detail-tip-card .tip3-recipe-section,
.booklet-detail-tip-card .tip3-special {
    color: #15803d;
}

.booklet-detail-tip-card .tip3-recipe-row {
    color: #0f172a;
}

.booklet-detail-tip-card .tip3-recipe-row b {
    color: #0f172a;
}

.booklet-detail-tip-card .tip3-blue {
    color: #1d4ed8;
}

.booklet-detail-tip-card .tip3-gold,
.booklet-detail-tip-card .tip3-yellow,
.booklet-detail-tip-card .tip3-note {
    color: #b45309;
}

.booklet-detail-tip-card .tip3-green {
    color: #15803d;
}

.booklet-detail-tip-card .tip3-orange {
    color: #c2410c;
}

.booklet-detail-tip-card .tip3-red {
    color: #dc2626;
}

.booklet-detail-tip-card .tip3-recipe-row,
.booklet-detail-tip-card .tip3-recipe-req {
    line-height: 22px;
}

.dark .booklet-detail-tip-card .tip3-card,
.tw-dark .booklet-detail-tip-card .tip3-card {
    background: linear-gradient(180deg, rgba(39, 39, 39, .99), rgba(28, 28, 28, .99));
    border-color: rgba(148, 163, 184, .18);
    color: #f8fafc;
    box-shadow: none;
}

.dark .booklet-detail-item-head,
.tw-dark .booklet-detail-item-head {
    border-color: rgba(148, 163, 184, .18);
    background: #151515;
    color: #f8fafc;
}

.dark .booklet-detail-item-head-icon,
.tw-dark .booklet-detail-item-head-icon {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
}

.dark .booklet-detail-item-head-name,
.tw-dark .booklet-detail-item-head-name {
    color: #fff;
}

.dark .booklet-detail-item-head-meta span,
.tw-dark .booklet-detail-item-head-meta span {
    background: rgba(255, 255, 255, .08);
    color: #f8fafc;
}

.dark .booklet-detail-item-head-id,
.tw-dark .booklet-detail-item-head-id {
    color: #94a3b8;
}

.dark .booklet-fav-btn,
.tw-dark .booklet-fav-btn {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    color: #cbd5e1;
}

.dark .booklet-fav-btn:hover,
.tw-dark .booklet-fav-btn:hover,
.dark .booklet-fav-btn.is-active,
.tw-dark .booklet-fav-btn.is-active {
    border-color: rgba(251, 113, 133, .42);
    background: rgba(244, 63, 94, .14);
    color: #fb7185;
}

.dark .booklet-detail-extra-modules .tip3-card,
.tw-dark .booklet-detail-extra-modules .tip3-card,
.dark .booklet-detail-extra-modules .tip3-side-card,
.tw-dark .booklet-detail-extra-modules .tip3-side-card {
    border-color: rgba(148, 163, 184, .18);
    background: linear-gradient(180deg, rgba(39, 39, 39, .99), rgba(28, 28, 28, .99));
    color: #f8fafc;
}

.dark .booklet-detail-extra-modules .tip3-side-title,
.tw-dark .booklet-detail-extra-modules .tip3-side-title {
    border-bottom-color: rgba(255, 255, 255, .11);
    background: transparent;
    color: #b9ff4a;
}

.dark .booklet-detail-extra-modules .tip3-set-items,
.tw-dark .booklet-detail-extra-modules .tip3-set-items,
.dark .booklet-detail-extra-modules .tip3-side-block,
.tw-dark .booklet-detail-extra-modules .tip3-side-block {
    border-color: rgba(255, 255, 255, .12);
}

.dark .booklet-detail-extra-modules .tip3-set-item,
.tw-dark .booklet-detail-extra-modules .tip3-set-item,
.dark .booklet-detail-extra-modules .tip3-side-block,
.tw-dark .booklet-detail-extra-modules .tip3-side-block,
.dark .booklet-detail-extra-modules .tip3-side-icon,
.tw-dark .booklet-detail-extra-modules .tip3-side-icon {
    color: #e5e7eb;
}

.dark .booklet-detail-extra-modules .tip3-set-item.on,
.tw-dark .booklet-detail-extra-modules .tip3-set-item.on,
.dark .booklet-detail-extra-modules .tip3-side-level,
.tw-dark .booklet-detail-extra-modules .tip3-side-level,
.dark .booklet-detail-extra-modules .tip3-skill-line span,
.tw-dark .booklet-detail-extra-modules .tip3-skill-line span {
    color: #b9ff4a;
}

.dark .booklet-detail-extra-modules .tip3-set-item b,
.tw-dark .booklet-detail-extra-modules .tip3-set-item b {
    color: #9dbde0;
}

.dark .booklet-detail-extra-modules .tip3-growth-note,
.tw-dark .booklet-detail-extra-modules .tip3-growth-note {
    background: rgba(245, 158, 11, .10);
    color: #ffcc00;
}

.dark .booklet-detail-extra-modules .tip3-skill-line,
.tw-dark .booklet-detail-extra-modules .tip3-skill-line {
    color: #ffb000;
}

.dark .booklet-detail-tip-card .tip3-main,
.tw-dark .booklet-detail-tip-card .tip3-main,
.dark .booklet-detail-tip-card .tip3-item,
.tw-dark .booklet-detail-tip-card .tip3-item {
    border-color: rgba(148, 163, 184, .18);
    outline: 0;
}

.dark .booklet-detail-tip-card .tip3-object-id,
.tw-dark .booklet-detail-tip-card .tip3-object-id {
    color: #e5e7eb;
}

.dark .booklet-detail-tip-card .tip3-name,
.tw-dark .booklet-detail-tip-card .tip3-name,
.dark .booklet-detail-tip-card .tip3-item-title,
.tw-dark .booklet-detail-tip-card .tip3-item-title {
    color: #fff;
}

.dark .booklet-detail-tip-card .tip3-rank,
.tw-dark .booklet-detail-tip-card .tip3-rank {
    color: #d7ffad;
}

.dark .booklet-detail-tip-card .tip3-head-flags,
.tw-dark .booklet-detail-tip-card .tip3-head-flags {
    color: #ffcc00;
    background: rgba(245, 158, 11, .10);
}

.dark .booklet-detail-tip-card .tip3-gear-icon,
.tw-dark .booklet-detail-tip-card .tip3-gear-icon,
.dark .booklet-detail-tip-card .tip3-item-icon,
.tw-dark .booklet-detail-tip-card .tip3-item-icon {
    border-color: rgba(148, 163, 184, .42);
    background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
}

.dark .booklet-detail-tip-card .tip3-title,
.tw-dark .booklet-detail-tip-card .tip3-title,
.dark .booklet-detail-tip-card .tip3-item > .tip3-item-title,
.tw-dark .booklet-detail-tip-card .tip3-item > .tip3-item-title {
    border-bottom-color: rgba(255, 255, 255, .11);
    background: transparent;
}

.dark .booklet-detail-tip-card .tip3-gear-main,
.tw-dark .booklet-detail-tip-card .tip3-gear-main,
.dark .booklet-detail-tip-card .tip3-item-main,
.tw-dark .booklet-detail-tip-card .tip3-item-main,
.dark .booklet-detail-tip-card .tip3-job-row,
.tw-dark .booklet-detail-tip-card .tip3-job-row,
.dark .booklet-detail-tip-card .tip3-main > .tip3-body,
.tw-dark .booklet-detail-tip-card .tip3-main > .tip3-body {
    background: transparent;
    border-color: rgba(255, 255, 255, .08);
}

.dark .booklet-detail-tip-card .tip3-item .tip3-version-tags,
.tw-dark .booklet-detail-tip-card .tip3-item .tip3-version-tags,
.dark .booklet-detail-tip-card .tip3-item .tip3-version-tags b,
.tw-dark .booklet-detail-tip-card .tip3-item .tip3-version-tags b {
    color: #cbd5e1;
}

.dark .booklet-detail-tip-card .tip3-item .tip3-version-tags span,
.tw-dark .booklet-detail-tip-card .tip3-item .tip3-version-tags span {
    background: rgba(59, 130, 246, .24);
    color: #93c5fd;
}

.dark .booklet-detail-tip-card .tip3-item-desc-main,
.tw-dark .booklet-detail-tip-card .tip3-item-desc-main {
    color: #e5e7eb;
}

.dark .booklet-detail-tip-card .tip3-summary,
.tw-dark .booklet-detail-tip-card .tip3-summary {
    color: #94a3b8;
}

.dark .booklet-detail-tip-card .tip3-summary b,
.tw-dark .booklet-detail-tip-card .tip3-summary b,
.dark .booklet-detail-tip-card .tip3-body,
.tw-dark .booklet-detail-tip-card .tip3-body,
.dark .booklet-detail-tip-card .tip3-row,
.tw-dark .booklet-detail-tip-card .tip3-row,
.dark .booklet-detail-tip-card .tip3-item-body,
.tw-dark .booklet-detail-tip-card .tip3-item-body,
.dark .booklet-detail-tip-card .tip3-recipe-card,
.tw-dark .booklet-detail-tip-card .tip3-recipe-card,
.dark .booklet-detail-tip-card .tip3-recipe-row,
.tw-dark .booklet-detail-tip-card .tip3-recipe-row,
.dark .booklet-detail-tip-card .tip3-recipe-row b,
.tw-dark .booklet-detail-tip-card .tip3-recipe-row b {
    color: #f8fafc;
}

.dark .booklet-detail-tip-card .tip3-req-item,
.tw-dark .booklet-detail-tip-card .tip3-req-item {
    color: #8b8f96;
}

.dark .booklet-detail-tip-card .tip3-req-item.on,
.tw-dark .booklet-detail-tip-card .tip3-req-item.on {
    color: #fff600;
}

.dark .booklet-detail-tip-card .tip3-job-row span,
.tw-dark .booklet-detail-tip-card .tip3-job-row span {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .05);
    color: #7b828c;
}

.dark .booklet-detail-tip-card .tip3-job-row span.is-on,
.tw-dark .booklet-detail-tip-card .tip3-job-row span.is-on {
    border-color: rgba(255, 255, 255, .76);
    background: rgba(255, 255, 255, .05);
    color: #fff;
}

.dark .booklet-detail-tip-card .tip3-desc,
.tw-dark .booklet-detail-tip-card .tip3-desc,
.dark .booklet-detail-tip-card .tip3-potential,
.tw-dark .booklet-detail-tip-card .tip3-potential {
    color: #d1d5db;
    background: transparent;
}

.dark .booklet-detail-tip-card .tip3-body::before,
.tw-dark .booklet-detail-tip-card .tip3-body::before {
    color: #e5e7eb;
}

.dark .booklet-detail-tip-card .tip3-special,
.tw-dark .booklet-detail-tip-card .tip3-special,
.dark .booklet-detail-tip-card .tip3-desc.tip3-orange,
.tw-dark .booklet-detail-tip-card .tip3-desc.tip3-orange {
    background: transparent;
}

.dark .booklet-detail-tip-card .tip3-recipe-req,
.tw-dark .booklet-detail-tip-card .tip3-recipe-req {
    border-top-color: rgba(255, 255, 255, .11);
    background: transparent;
}

.dark .booklet-detail-tip-card .tip3-gear-main,
.tw-dark .booklet-detail-tip-card .tip3-gear-main,
.dark .booklet-detail-tip-card .tip3-row,
.tw-dark .booklet-detail-tip-card .tip3-row,
.dark .booklet-detail-tip-card .tip3-desc,
.tw-dark .booklet-detail-tip-card .tip3-desc,
.dark .booklet-detail-tip-card .tip3-preview,
.tw-dark .booklet-detail-tip-card .tip3-preview {
    border-color: rgba(255, 255, 255, .08);
    background: transparent;
}

.dark .booklet-detail-tip-card .tip3-preview,
.tw-dark .booklet-detail-tip-card .tip3-preview {
    background:
        radial-gradient(circle at 50% 48%, rgba(59, 130, 246, .10) 0, rgba(59, 130, 246, .045) 28%, rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, .008));
}

.dark .booklet-detail-tip-card .tip3-blue,
.tw-dark .booklet-detail-tip-card .tip3-blue {
    color: #cfe8ff;
}

.dark .booklet-detail-tip-card .tip3-gold,
.tw-dark .booklet-detail-tip-card .tip3-gold {
    color: #ffd75a;
}

.dark .booklet-detail-tip-card .tip3-yellow,
.tw-dark .booklet-detail-tip-card .tip3-yellow {
    color: #ffcc00;
}

.dark .booklet-detail-tip-card .tip3-note,
.tw-dark .booklet-detail-tip-card .tip3-note {
    color: #fff600;
}

.dark .booklet-detail-tip-card .tip3-green,
.tw-dark .booklet-detail-tip-card .tip3-green {
    color: #b9ff4a;
}

.dark .booklet-detail-tip-card .tip3-orange,
.tw-dark .booklet-detail-tip-card .tip3-orange {
    color: #ffb000;
}

.dark .booklet-detail-tip-card .tip3-red,
.tw-dark .booklet-detail-tip-card .tip3-red {
    color: #ff8080;
}

@media (max-width: 560px) {
    .booklet-detail-tip-card .tip3-card {
        border-radius: 7px;
    }

    .booklet-detail-tip-card .tip3-object-id,
    .booklet-detail-tip-card .tip3-main .tip3-object-id,
    .booklet-detail-tip-card .tip3-item .tip3-object-id {
        left: 10px;
        top: 8px;
        font-size: 11px;
    }

    .booklet-detail-tip-card .tip3-title,
    .booklet-detail-tip-card .tip3-item > .tip3-item-title {
        padding: 20px 14px 8px;
    }

    .booklet-detail-tip-card .tip3-name,
    .booklet-detail-tip-card .tip3-item-title {
        font-size: 18px;
        line-height: 24px;
    }

    .booklet-detail-tip-card .tip3-rank,
    .booklet-detail-tip-card .tip3-head-flags {
        font-size: 13px;
        line-height: 18px;
    }

    .booklet-detail-tip-card .tip3-head-flags {
        max-width: calc(100% - 28px);
        margin: 8px auto 16px;
        padding: 3px 10px;
    }

    .booklet-detail-tip-card .tip3-stars {
        min-height: 22px;
        font-size: 13px;
        line-height: 12px;
    }

    .booklet-detail-tip-card .tip3-stars-line {
        height: 12px;
        line-height: 12px;
    }

    .booklet-detail-tip-card .tip3-gear-main {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px 14px;
        padding: 16px 14px;
    }

    .booklet-detail-tip-card .tip3-gear-icon {
        grid-column: 1;
        grid-row: 1;
        width: 82px;
        height: 82px;
        align-self: center;
    }

    .booklet-detail-tip-card .tip3-gear-main > div:last-child {
        display: contents;
    }

    .booklet-detail-tip-card .tip3-gear-main .tip3-summary {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        justify-self: end;
        min-width: 96px;
        text-align: right;
        font-size: 14px;
        line-height: 19px;
    }

    .booklet-detail-tip-card .tip3-summary b {
        display: block;
        font-size: 36px;
        line-height: 38px;
    }

    .booklet-detail-tip-card .tip3-gear-main .tip3-req-grid {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 18px;
        max-width: none;
        padding: 10px 8px 0;
    }

    .booklet-detail-tip-card .tip3-req-item {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: baseline;
        gap: 6px;
        min-width: 0;
        font-size: 12px;
        line-height: 18px;
        white-space: nowrap;
    }

    .booklet-detail-tip-card .tip3-req-item span,
    .booklet-detail-tip-card .tip3-req-item b {
        min-width: 0;
        white-space: nowrap;
    }

    .booklet-detail-tip-card .tip3-job-row {
        justify-content: center;
        padding: 12px 12px;
        gap: 6px;
    }

    .booklet-detail-tip-card .tip3-job-row span {
        box-sizing: border-box;
        flex: 0 0 auto;
        width: 48px;
        min-width: 48px;
        height: 28px;
        padding: 0;
        font-size: 14px;
        white-space: nowrap;
    }

    .booklet-detail-tip-card .tip3-body {
        padding: 16px 16px 18px;
        font-size: 15px;
        line-height: 25px;
    }

    .booklet-detail-tip-card .tip3-row {
        line-height: 25px;
    }

    .booklet-detail-tip-card .tip3-preview {
        height: 160px;
        margin-top: 12px;
    }

    .booklet-detail-tip-card .tip3-item-main {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 14px;
        padding: 16px 14px 18px;
    }

    .booklet-detail-tip-card .tip3-item-icon {
        width: 76px;
        height: 76px;
    }

    .booklet-detail-tip-card .tip3-item .tip3-version-tags {
        align-items: flex-start;
    }

    .booklet-detail-tip-card .tip3-item-desc-main {
        font-size: 14px;
        line-height: 23px;
    }
}

.booklet-detail-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 88px;
    padding: 12px 14px;
}

.booklet-detail-card-head h1 {
    overflow-wrap: anywhere;
    color: #f8fafc;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.booklet-detail-card-icon,
.booklet-detail-big-icon,
.booklet-detail-mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, .36);
    border-radius: 7px;
    background: rgba(255, 255, 255, .08);
    image-rendering: pixelated;
}

.booklet-detail-card-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
}

.booklet-detail-card-icon img {
    max-width: 46px;
    max-height: 46px;
    object-fit: contain;
    image-rendering: pixelated;
}

.booklet-detail-fav {
    display: inline-flex;
    height: 34px;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    padding: 0 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
}

.booklet-detail-fav.is-hidden {
    display: none !important;
}

.booklet-detail-card-title {
    border-top: 1px solid var(--detail-line);
    border-bottom: 1px solid var(--detail-line);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .055) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .055) 50%, rgba(255, 255, 255, .055) 75%, transparent 75%, transparent);
    background-size: 28px 28px;
    padding: 18px 16px;
    text-align: center;
}

.booklet-detail-card-title h1,
.booklet-detail-card-title h2 {
    overflow-wrap: anywhere;
    color: #f8fafc;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.booklet-detail-card-title p {
    margin-top: 6px;
    color: #94a3b8;
    font-size: 13px;
}

.booklet-detail-card-code {
    margin-bottom: 8px;
    color: #dbeafe;
    font-size: 12px;
}

.booklet-detail-card-body {
    padding: 12px;
}

.booklet-detail-equip-row {
    position: relative;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    min-height: 96px;
}

.booklet-detail-big-icon {
    width: 78px;
    height: 78px;
    background: rgba(255, 255, 255, .78);
}

.booklet-detail-big-icon img {
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
    image-rendering: pixelated;
}

.booklet-detail-req {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 500;
    padding-top: 26px;
}

.booklet-detail-major {
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    min-width: 74px;
    padding-top: 16px;
}

.booklet-detail-major span {
    color: #94a3b8;
    font-size: 12px;
}

.booklet-detail-major b {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.booklet-detail-jobline {
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 4px;
    color: #f8fafc;
    text-align: center;
    font-size: 12px;
    line-height: 22px;
}

.booklet-detail-lines {
    margin-top: 12px;
    display: grid;
    gap: 5px;
    border-top: 1px dashed rgba(255, 255, 255, .22);
    padding-top: 12px;
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.55;
}

.booklet-detail-damage {
    border: 1px solid var(--detail-line);
    border-radius: 7px;
    background: #222;
    padding: 12px;
}

.booklet-detail-damage span {
    display: block;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
}

.booklet-detail-damage strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.booklet-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .055);
    padding: 7px 9px;
    color: #e2e8f0;
    font-size: 13px;
}

.booklet-detail-row span {
    color: #cbd5e1;
}

.booklet-detail-row b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-weight: 500;
}

.booklet-detail-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.booklet-detail-info-table th,
.booklet-detail-info-table td {
    border-bottom: 1px solid #edf0f4;
    padding: 13px 14px;
    vertical-align: middle;
}

.booklet-detail-info-table tr:last-child th,
.booklet-detail-info-table tr:last-child td {
    border-bottom: 0;
}

.booklet-detail-info-table th {
    width: 86px;
    background: rgba(248, 250, 252, .8);
    color: #475569;
    text-align: center;
    font-weight: 500;
}

.booklet-detail-info-table td {
    color: #0f172a;
    font-weight: 500;
}

.booklet-copy-inline {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    vertical-align: middle;
}

[data-copy-id].is-copied,
.booklet-copy-inline.is-copied {
    background: #dcfce7 !important;
    color: #047857 !important;
}

.booklet-detail-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    padding: 4px 8px;
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 500;
}

.booklet-detail-chip.is-blue {
    background: #dbeafe;
    color: #2563eb;
}

.booklet-detail-chip.is-emerald {
    background: #d1fae5;
    color: #047857;
}

.booklet-detail-card .booklet-detail-chip.is-blue {
    background: rgba(59, 130, 246, .18);
    color: #bfdbfe;
}

.booklet-detail-card .booklet-detail-chip.is-emerald {
    background: rgba(16, 185, 129, .18);
    color: #a7f3d0;
}

.booklet-detail-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #edf0f4;
    background: #eff6ff;
    padding: 11px 14px;
    color: #475569;
    font-size: 13px;
}

/* Home v2 */
.booklet-home-v2 {
    --home-card: #ffffff;
    --home-line: #e6ebf2;
    --home-line-soft: #f0f3f8;
    --home-muted: #667085;
    --home-soft: #f7f9fc;
    --home-ink: #102033;
    --home-accent: #e5484d;
    --home-blue: #2468d8;
}

.homev2-top {
    padding-top: 18px;
}

.homev2-hero-panel,
.homev2-search-panel,
.homev2-card {
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: var(--home-card);
    box-shadow: none;
}

.homev2-hero-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: 24px 26px;
    background: #fff;
}

.homev2-hero-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    /* background: linear-gradient(90deg, #f59e0b, #ef4444 42%, #2563eb); */
}

.homev2-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 18px;
}

.homev2-logo {
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    image-rendering: auto;
}

.homev2-title {
    color: var(--home-ink);
    font-size: 29px;
    font-weight: 900;
    line-height: 1.15;
}

.homev2-desc {
    max-width: 760px;
    margin-top: 8px;
    color: #405169;
    font-size: 14px;
    line-height: 1.75;
}

.homev2-qq {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: var(--home-accent);
    font-size: 13px;
}

.homev2-qq a,
.homev2-sponsor a {
    display: inline-flex;
    height: 26px;
    align-items: center;
    border: 1px solid #f2b35e;
    border-radius: 999px;
    background: #fff8ed;
    padding: 0 10px;
    color: #a35a08;
    font-size: 12px;
    font-weight: 600;
}

.homev2-qrs {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    gap: 12px;
}

.homev2-qrs span {
    display: grid;
    justify-items: center;
    gap: 5px;
    color: var(--home-muted);
    font-size: 12px;
    white-space: nowrap;
}

.homev2-qrs img {
    width: 76px;
    height: 76px;
    border-radius: 6px;
    border: 1px solid var(--home-line-soft);
    object-fit: cover;
}

.homev2-search-panel {
    margin-top: 12px;
    padding: 13px 14px;
    background: #fff;
}

.homev2-search {
    display: flex;
    height: 42px;
    align-items: center;
    gap: 10px;
    border: 1px solid #d7e0ec;
    border-radius: 8px;
    background: #fbfcfe;
    padding: 0 8px 0 15px;
}

.homev2-search > span {
    color: #94a3b8;
    font-size: 20px;
}

.homev2-search input {
    min-width: 0;
    flex: 1;
    background: transparent;
    color: #111827;
    font-size: 14px;
}

.homev2-search button {
    display: inline-flex;
    height: 30px;
    align-items: center;
    gap: 5px;
    border-radius: 7px;
    background: #edf3fb;
    padding: 0 13px;
    color: #163454;
    font-size: 12px;
    font-weight: 600;
}

.homev2-search-tabs,
.homev2-icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.homev2-search-tabs {
    margin-top: 12px;
}

.homev2-search-tabs a {
    display: inline-flex;
    height: 31px;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: #f7f9fc;
    padding: 0 11px;
    color: #31445c;
    font-size: 13px;
    font-weight: 500;
}

.homev2-search-tabs a:hover {
    border-color: #dbe5f1;
    background: #fff;
    color: var(--home-blue);
}

.homev2-content {
    display: grid;
    gap: 16px;
}

.homev2-sidebar,
.homev2-main {
    display: grid;
    align-content: start;
    gap: 14px;
}

.homev2-card {
    border-radius: 6px;
    overflow: hidden;
}

.homev2-card-head {
    position: relative;
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--home-line-soft);
    background: #fbfcfe;
    padding: 0 13px;
}

.homev2-card-head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    bottom: 11px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--home-accent);
}

.homev2-card-head h2 {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: #14243a;
    font-size: 15px;
    font-weight: 700;
}

.homev2-card-head h2 > span {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    color: var(--home-accent);
    font-size: 18px;
}

.homev2-card-head > a,
.homev2-card-head > span {
    flex: 0 0 auto;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 500;
}

.homev2-card-body {
    padding: 14px;
}

.homev2-prose {
    color: #405169;
    font-size: 13px;
    line-height: 1.8;
}

.homev2-sponsor {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 6px;
    overflow: hidden;
    border-radius: 6px;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 58%, #f8fafc 100%);
    padding: 14px 14px 14px 46px;
    color: #405169;
    font-size: 13px;
    line-height: 1.7;
}

.homev2-sponsor::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 16px;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #f97316;
    box-shadow: inset 0 0 0 4px #ffedd5;
}

.homev2-sponsor::after {
    /* content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #f97316; */
}

.homev2-sponsor b {
    display: block;
    min-width: 0;
    color: #0f2744;
    font-size: 16px;
    font-weight: 600;
}

.homev2-sponsor a {
    margin: 0;
    border-color: #fb923c;
    background: #fff;
    color: #c2410c;
}

.homev2-sponsor p {
    grid-column: 1 / -1;
    margin: 0;
}

.homev2-update-list {
    padding: 2px 12px 4px;
}

.homev2-update-list article {
    border-bottom: 1px dashed #d8e0eb;
    padding: 12px 0;
}

.homev2-update-list article + article {
    margin-top: 0;
}

.homev2-update-list article:last-child {
    border-bottom: 0;
}

.homev2-update-list article > div:first-child {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--home-ink);
    font-size: 13px;
    font-weight: 600;
}

.homev2-update-list time {
    margin-left: auto;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 500;
}

.homev2-update-list article.is-recent time {
    border-radius: 999px;
    background: #fff1f2;
    padding: 2px 7px;
    color: #e11d48;
}

.homev2-update-content {
    margin-top: 7px;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.7;
}

.homev2-update-content p,
.homev2-update-content div,
.homev2-update-content ul,
.homev2-update-content ol,
.homev2-update-content blockquote,
.homev2-update-content table {
    margin: 6px 0 0;
}

.homev2-update-content p:first-child,
.homev2-update-content div:first-child,
.homev2-update-content ul:first-child,
.homev2-update-content ol:first-child,
.homev2-update-content blockquote:first-child,
.homev2-update-content table:first-child {
    margin-top: 0;
}

.homev2-update-content ul,
.homev2-update-content ol {
    padding-left: 18px;
}

.homev2-update-content ul {
    list-style: disc;
}

.homev2-update-content ol {
    list-style: decimal;
}

.homev2-update-content a {
    color: #2563eb;
}

.homev2-hot-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.homev2-hot {
    position: relative;
    min-height: 118px;
    overflow: hidden;
    border-radius: 8px;
    background: #dbe3ee center/cover no-repeat;
}

.homev2-hot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(15,23,42,.78));
}

.homev2-hot span {
    position: absolute;
    z-index: 1;
    right: 10px;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.homev2-link-cloud {
    display: grid;
    padding: 14px;
}

.homev2-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    padding: 7px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.homev2-link-row:first-child {
    padding-top: 0;
}

.homev2-link-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.homev2-link-cloud a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    border: 1px solid transparent;
    border-radius: 7px;
    padding: 3px 7px 3px 4px;
    color: #263a52;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.homev2-link-cloud a:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}

.homev2-link-cloud a > span {
    width: 14px;
    height: 14px;
    color: #64748b;
    transition: color .15s ease, transform .15s ease;
}

.homev2-link-cloud a:hover > span {
    color: #2563eb;
    transform: translate(1px, -1px);
}

.homev2-link-cloud em {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    border: 1px solid #f5cf95;
    background: #fff7e8;
    padding: 2px 8px;
    color: #a35a08;
    font-style: normal;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.1;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.homev2-tool-grid,
.homev2-case-grid,
.homev2-item-grid,
.homev2-job-grid,
.homev2-mini-list {
    display: grid;
    gap: 10px;
    padding: 10px;
}

.homev2-tool-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.homev2-tool-grid a,
.homev2-case-grid a,
.homev2-item-grid a,
.homev2-job-grid a,
.homev2-mini-list a,
.homev2-icon-grid a {
    border: 1px solid var(--home-line-soft);
    border-radius: 7px;
    background: #fff;
    transition: border-color .15s ease, transform .15s ease, background .15s ease;
}

.homev2-tool-grid a:hover,
.homev2-case-grid a:hover,
.homev2-item-grid a:hover,
.homev2-job-grid a:hover,
.homev2-mini-list a:hover,
.homev2-icon-grid a:hover {
    border-color: #c9d8ea;
    background: #fbfdff;
}

.homev2-tool-grid a {
    display: grid;
    min-height: 96px;
    grid-template-columns: 48px minmax(0, 1fr);
    align-content: center;
    align-items: center;
    justify-items: start;
    gap: 8px 13px;
    padding: 14px 16px;
    text-align: left;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .02);
    position: relative;
    overflow: hidden;
}

.homev2-tool-grid a > span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    grid-row: span 2;
    align-items: center;
    justify-content: center;
    border: 0;
    background-color: #2563eb !important;
    color: #2563eb;
    font-size: 27px;
    opacity: 1;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.homev2-tool-grid a:hover {
    transform: translateY(-1px);
    border-color: #bdd3f1;
    box-shadow: 0 8px 18px rgba(30, 64, 175, .07);
}

.homev2-tool-grid a:hover > span {
    background-color: #1d4ed8 !important;
    color: #1e40af;
    transform: scale(1.04);
}

.homev2-tool-grid b,
.homev2-case-grid b,
.homev2-item-grid b {
    color: var(--home-ink);
    font-size: 13px;
    font-weight: 600;
}

.homev2-tool-grid b {
    align-self: end;
    font-size: 14px;
    font-weight: 500;
}

.homev2-tool-grid small,
.homev2-case-grid small,
.homev2-item-grid small,
.homev2-mini-list small {
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.4;
}

.homev2-tool-grid small {
    align-self: start;
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.homev2-icon-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
}

.homev2-icon-grid a {
    display: flex;
    min-width: 0;
    height: 38px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    color: #263a52;
    font-size: 13px;
    font-weight: 500;
}

.homev2-icon-grid span {
    color: var(--home-blue);
    font-size: 20px;
}

.homev2-appearance-board {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 11px;
    padding: 13px 14px;
}

.homev2-appearance-card {
    display: flex;
    min-height: 78px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #dfe7f2;
    border-radius: 6px;
    background: #fff;
    color: #24384f;
    font-size: 14px;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.homev2-appearance-card:hover {
    border-color: #bad3f3;
    background: #f8fbff;
    color: var(--home-blue);
}

.homev2-appearance-card > span {
    color: var(--home-blue);
    font-size: 30px;
}

.homev2-appearance-card > b {
    max-width: 100%;
    overflow: hidden;
    padding: 0 4px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homev2-case-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.homev2-case-card {
    overflow: hidden;
    border: 1px solid var(--home-line-soft);
    border-radius: 6px;
    background: #fff;
    transition: border-color .15s ease, background .15s ease;
}

.homev2-case-card:hover {
    border-color: #c9d8ea;
    background: #fbfdff;
}

.homev2-case-card > a {
    position: relative;
    display: grid;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    text-align: left;
}

.homev2-item-grid a {
    display: grid;
    gap: 8px;
    padding: 10px;
    text-align: center;
}

.homev2-case-img,
.homev2-item-grid a > span {
    display: flex;
    height: 112px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    border: 1px solid #eef2f7;
    background: #f6f8fb;
}

.homev2-case-img {
    height: 168px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #f8fafc, #eef4ff);
}

.homev2-case-img img {
    max-width: 92%;
    max-height: 150px;
    object-fit: contain;
    transition: transform .15s ease;
}

.homev2-case-card:hover .homev2-case-img img {
    transform: scale(1.02);
}

.homev2-case-id,
.homev2-case-badges {
    position: absolute;
    top: 9px;
    z-index: 1;
}

.homev2-case-id {
    left: 9px;
    display: inline-flex;
    height: 22px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: rgba(255,255,255,.9);
    padding: 0 7px;
    color: #64748b;
    font-size: 11px;
}

.homev2-case-badges {
    right: 9px;
    display: flex;
    gap: 5px;
}

.homev2-case-badges em {
    display: inline-flex;
    height: 22px;
    align-items: center;
    gap: 3px;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: rgba(255,255,255,.92);
    padding: 0 6px;
    color: #2563eb;
    font-style: normal;
    font-size: 11px;
    line-height: 1;
}

.homev2-case-grid b {
    display: block;
    min-height: 38px;
    padding: 10px 11px 0;
    color: var(--home-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.homev2-case-grid small {
    display: none;
}

.homev2-case-designer {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    padding: 8px 11px 0;
    color: #64748b;
    font-size: 12px;
}

.homev2-case-designer img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 6px;
    object-fit: cover;
    background: #e2e8f0;
}

.homev2-case-designer span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homev2-case-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: 10px 11px 11px;
    border-top: 1px solid #eef2f7;
    padding-top: 9px;
    color: #64748b;
    font-size: 12px;
}

.homev2-case-stats > span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.homev2-case-stats .tw-icon-\[mdi--fire\] {
    color: #f97316;
}

.homev2-case-stats .tw-icon-\[mdi--heart-outline\] {
    color: #e11d48;
}

.homev2-designer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
}

.homev2-designer-card {
    display: grid;
    gap: 10px;
    border: 1px solid var(--home-line-soft);
    border-radius: 6px;
    background: #fff;
    padding: 12px;
    transition: border-color .15s ease, background .15s ease;
}

.homev2-designer-card:hover {
    border-color: #c9d8ea;
    background: #fbfdff;
}

.homev2-designer-main {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    color: #263a52;
}

.homev2-designer-main img {
    width: 54px;
    height: 54px;
    border-radius: 6px;
    object-fit: cover;
    background: #e2e8f0;
}

.homev2-designer-main > span {
    display: grid;
    min-width: 0;
    align-self: center;
}

.homev2-designer-main b {
    display: block;
    overflow: hidden;
    color: #1451d8;
    font-size: 14px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homev2-designer-main em {
    display: inline-flex;
    width: max-content;
    max-width: calc(100% - 62px);
    min-width: 0;
    align-items: center;
    justify-self: start;
    gap: 4px;
    margin-top: 5px;
    overflow: hidden;
    color: #64748b;
    font-style: normal;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homev2-designer-main strong {
    display: inline-flex;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 24px;
    align-items: center;
    gap: 4px;
    max-width: 58px;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: rgba(255,255,255,.9);
    padding: 0 8px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.homev2-designer-main em > span {
    color: #fb7185;
    font-size: 15px;
}

.homev2-designer-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    border-top: 1px solid #eef2f7;
    padding-top: 9px;
    color: #64748b;
    font-size: 12px;
}

.homev2-designer-stats > span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 6px;
    background: #f8fafc;
    padding: 5px 4px;
}

.homev2-designer-stats .tw-icon-\[mdi--fire\] {
    color: #f97316;
}

.homev2-designer-stats .tw-icon-\[mdi--heart-outline\] {
    color: #e11d48;
}

.xcz-home-version-card {
    background: #fff;
}

.xcz-home-panel-head {
    position: relative;
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--home-line-soft);
    background: #fbfcfe;
    padding: 0 13px;
}

.xcz-home-panel-head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    bottom: 11px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--home-accent);
}

.xcz-home-panel-head-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.xcz-home-panel-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    color: var(--home-accent);
    font-size: 18px;
}

.xcz-home-panel-title {
    color: var(--home-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.xcz-home-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--home-muted);
    font-size: 12px;
}

.xcz-home-panel-link:hover {
    color: var(--home-blue);
}

.xcz-home-region-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    border-bottom: 1px solid var(--home-line-soft);
    padding: 10px 12px;
}

.xcz-home-region-tab {
    display: inline-flex;
    height: 28px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    padding: 0 10px;
    color: #4d5d75;
    font-size: 12px;
    white-space: nowrap;
}

.xcz-home-region-tab.is-active {
    border-color: #fb923c;
    background: #fff7ed;
    color: #c2410c;
}

.xcz-home-region-panel {
    display: none;
    padding: 12px;
}

.xcz-home-region-panel.is-active {
    display: block;
}

.xcz-home-region-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    border-radius: 6px;
    background: #f8fafc;
    padding: 10px;
}

.xcz-home-region-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.xcz-home-region-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff7ed;
    padding: 3px 9px;
    color: #c2410c;
    font-size: 12px;
    font-weight: 600;
}

.xcz-home-region-copy {
    color: var(--home-muted);
    font-size: 12px;
}

.xcz-home-region-search {
    display: flex;
    flex: 1 1 520px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.xcz-home-inline-label {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 0 10px;
}

.xcz-home-inline-label-text {
    color: var(--home-muted);
    font-size: 12px;
}

.xcz-home-select,
.xcz-home-search-input {
    min-height: 30px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--home-ink);
    font-size: 12px;
}

.xcz-home-select {
    min-width: 98px;
}

.xcz-home-inline-search {
    flex: 1 1 240px;
}

.xcz-home-inline-search-mark {
    display: inline-flex;
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 999px;
    background: #a8b4c8;
}

.xcz-home-search-input {
    width: 100%;
}

.xcz-home-search-clear {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #90a0b6;
}

.xcz-home-search-clear:hover {
    background: #f1f5f9;
    color: #52627b;
}

.xcz-home-search-clear.is-hidden {
    display: none;
}

.xcz-home-action-btn {
    display: inline-flex;
    min-width: 58px;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: #243043;
    padding: 0 12px;
    color: #fff;
    font-size: 12px;
}

.xcz-home-load-state {
    display: none;
    margin-bottom: 8px;
    color: var(--home-muted);
    font-size: 12px;
}

.xcz-home-item-grid {
    display: grid;
    grid-template-columns: repeat(20, minmax(0, 1fr));
    gap: 6px;
}

.xcz-home-item-card {
    position: relative;
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eef2f7;
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease;
}

.xcz-home-item-card:hover {
    border-color: #ffd7ba;
    background: #fff7ed;
}

.xcz-home-item-card img {
    max-width: 62%;
    max-height: 62%;
    object-fit: contain;
}

.xcz-home-item-card-id {
    position: absolute;
    left: 5px;
    top: 5px;
    max-width: calc(100% - 10px);
    overflow: hidden;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xcz-home-loadmore-row {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.xcz-home-loadmore-btn {
    display: none;
    min-width: 88px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    padding: 0 12px;
    color: #48586f;
    font-size: 12px;
}

.xcz-home-loadmore-btn[disabled] {
    opacity: .65;
}

.homev2-job-grid a {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 12px 8px;
    color: #263a52;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
}

.homev2-item-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.homev2-item-grid a > span {
    height: 82px;
}

.homev2-item-grid img {
    max-width: 58px;
    max-height: 58px;
    object-fit: contain;
}

.homev2-job-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.homev2-job-grid img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.homev2-category-stack {
    display: grid;
    gap: 14px;
}

.homev2-mini-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.homev2-mini-list a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    padding: 8px;
}

.homev2-mini-list span {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #eef2f7;
    background: #fbfcfe;
}

.homev2-mini-list img {
    max-width: 34px;
    max-height: 34px;
    object-fit: contain;
}

.homev2-mini-list b,
.homev2-mini-list small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homev2-mini-list b {
    color: var(--home-ink);
    font-size: 13px;
    font-weight: 500;
}

html.tw-dark .booklet-home-v2,
html.dark .booklet-home-v2 {
    --home-card: #18181b;
    --home-line: #2b2f36;
    --home-line-soft: #262a31;
    --home-muted: #a1a8b3;
    --home-soft: #20242b;
    --home-ink: #f4f7fb;
    --home-accent: #fb7185;
    --home-blue: #7dd3fc;
    background:
        radial-gradient(circle at 0 0, rgba(251, 113, 133, .08), transparent 30%),
        radial-gradient(circle at 100% 10%, rgba(125, 211, 252, .07), transparent 32%),
        #0b0d10 !important;
}

html.tw-dark .homev2-hero-panel,
html.tw-dark .homev2-search-panel,
html.tw-dark .homev2-card,
html.tw-dark .xcz-home-version-card,
html.dark .homev2-hero-panel,
html.dark .homev2-search-panel,
html.dark .homev2-card,
html.dark .xcz-home-version-card {
    border-color: var(--home-line);
    background: var(--home-card);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

html.tw-dark .homev2-hero-panel::before,
html.dark .homev2-hero-panel::before {
    background: linear-gradient(90deg, rgba(251, 113, 133, .75), rgba(125, 211, 252, .7));
}

html.tw-dark .homev2-desc,
html.tw-dark .homev2-prose,
html.tw-dark .homev2-sponsor,
html.tw-dark .homev2-update-content,
html.dark .homev2-desc,
html.dark .homev2-prose,
html.dark .homev2-sponsor,
html.dark .homev2-update-content {
    color: #c4cbd5;
}

html.tw-dark .homev2-card-head,
html.tw-dark .xcz-home-panel-head,
html.dark .homev2-card-head,
html.dark .xcz-home-panel-head {
    border-color: var(--home-line-soft);
    background: #1d2026;
}

html.tw-dark .homev2-card-head h2,
html.dark .homev2-card-head h2 {
    color: var(--home-ink);
}

html.tw-dark .homev2-qq a,
html.tw-dark .homev2-sponsor a,
html.tw-dark .homev2-link-cloud em,
html.tw-dark .xcz-home-region-badge,
html.dark .homev2-qq a,
html.dark .homev2-sponsor a,
html.dark .homev2-link-cloud em,
html.dark .xcz-home-region-badge {
    border-color: rgba(251, 146, 60, .42);
    background: rgba(251, 146, 60, .12);
    color: #fdba74;
}

html.tw-dark .homev2-search,
html.dark .homev2-search {
    border-color: #334155;
    background: #111827;
}

html.tw-dark .homev2-search input,
html.tw-dark .xcz-home-select,
html.tw-dark .xcz-home-search-input,
html.dark .homev2-search input,
html.dark .xcz-home-select,
html.dark .xcz-home-search-input {
    color: var(--home-ink);
}

html.tw-dark .homev2-search input::placeholder,
html.tw-dark .xcz-home-search-input::placeholder,
html.dark .homev2-search input::placeholder,
html.dark .xcz-home-search-input::placeholder {
    color: #7c8796;
}

html.tw-dark .homev2-search button,
html.dark .homev2-search button {
    background: #243043;
    color: #dbeafe;
}

html.tw-dark .homev2-search-tabs a,
html.tw-dark .homev2-tool-grid a,
html.tw-dark .homev2-case-grid a,
html.tw-dark .homev2-item-grid a,
html.tw-dark .homev2-job-grid a,
html.tw-dark .homev2-mini-list a,
html.tw-dark .homev2-icon-grid a,
html.tw-dark .homev2-appearance-card,
html.tw-dark .homev2-case-card,
html.tw-dark .homev2-designer-card,
html.tw-dark .xcz-home-region-tab,
html.tw-dark .xcz-home-inline-label,
html.tw-dark .xcz-home-item-card,
html.tw-dark .xcz-home-loadmore-btn,
html.dark .homev2-search-tabs a,
html.dark .homev2-tool-grid a,
html.dark .homev2-case-grid a,
html.dark .homev2-item-grid a,
html.dark .homev2-job-grid a,
html.dark .homev2-mini-list a,
html.dark .homev2-icon-grid a,
html.dark .homev2-appearance-card,
html.dark .homev2-case-card,
html.dark .homev2-designer-card,
html.dark .xcz-home-region-tab,
html.dark .xcz-home-inline-label,
html.dark .xcz-home-item-card,
html.dark .xcz-home-loadmore-btn {
    border-color: var(--home-line-soft);
    background: #1f232a;
    color: #d7dde7;
}

html.tw-dark .homev2-search-tabs a:hover,
html.tw-dark .homev2-tool-grid a:hover,
html.tw-dark .homev2-case-grid a:hover,
html.tw-dark .homev2-item-grid a:hover,
html.tw-dark .homev2-job-grid a:hover,
html.tw-dark .homev2-mini-list a:hover,
html.tw-dark .homev2-icon-grid a:hover,
html.tw-dark .homev2-appearance-card:hover,
html.tw-dark .homev2-case-card:hover,
html.tw-dark .homev2-designer-card:hover,
html.tw-dark .xcz-home-item-card:hover,
html.dark .homev2-search-tabs a:hover,
html.dark .homev2-tool-grid a:hover,
html.dark .homev2-case-grid a:hover,
html.dark .homev2-item-grid a:hover,
html.dark .homev2-job-grid a:hover,
html.dark .homev2-mini-list a:hover,
html.dark .homev2-icon-grid a:hover,
html.dark .homev2-appearance-card:hover,
html.dark .homev2-case-card:hover,
html.dark .homev2-designer-card:hover,
html.dark .xcz-home-item-card:hover {
    border-color: #42536a;
    background: #252b34;
    color: #e8eef7;
}

html.tw-dark .homev2-sponsor,
html.dark .homev2-sponsor {
    background: linear-gradient(135deg, rgba(251, 146, 60, .13), #1f232a 58%, rgba(125, 211, 252, .06));
}

html.tw-dark .homev2-sponsor::before,
html.dark .homev2-sponsor::before {
    background: #fb923c;
    box-shadow: inset 0 0 0 4px rgba(255, 237, 213, .22);
}

html.tw-dark .homev2-sponsor b,
html.tw-dark .homev2-link-cloud a,
html.tw-dark .homev2-icon-grid a,
html.tw-dark .homev2-job-grid a,
html.tw-dark .homev2-designer-main,
html.dark .homev2-sponsor b,
html.dark .homev2-link-cloud a,
html.dark .homev2-icon-grid a,
html.dark .homev2-job-grid a,
html.dark .homev2-designer-main {
    color: #dce4ef;
}

html.tw-dark .homev2-link-cloud a:hover,
html.dark .homev2-link-cloud a:hover {
    border-color: #334d75;
    background: rgba(37, 99, 235, .16);
    color: #bfdbfe;
    box-shadow: none;
}

html.tw-dark .homev2-link-cloud a > span,
html.dark .homev2-link-cloud a > span {
    color: #94a3b8;
}

html.tw-dark .homev2-link-cloud a:hover > span,
html.dark .homev2-link-cloud a:hover > span {
    color: #93c5fd;
}

html.tw-dark .homev2-update-list article,
html.tw-dark .homev2-link-row,
html.tw-dark .homev2-case-stats,
html.tw-dark .homev2-designer-stats,
html.tw-dark .xcz-home-region-tabs,
html.dark .homev2-update-list article,
html.dark .homev2-link-row,
html.dark .homev2-case-stats,
html.dark .homev2-designer-stats,
html.dark .xcz-home-region-tabs {
    border-color: var(--home-line-soft);
}

html.tw-dark .homev2-update-list article.is-recent time,
html.dark .homev2-update-list article.is-recent time {
    background: rgba(251, 113, 133, .14);
    color: #fda4af;
}

html.tw-dark .homev2-update-content a,
html.tw-dark .homev2-designer-main b,
html.dark .homev2-update-content a,
html.dark .homev2-designer-main b {
    color: #93c5fd;
}

html.tw-dark .homev2-case-img,
html.tw-dark .homev2-item-grid a > span,
html.tw-dark .homev2-mini-list span,
html.tw-dark .homev2-designer-stats > span,
html.tw-dark .xcz-home-region-toolbar,
html.dark .homev2-case-img,
html.dark .homev2-item-grid a > span,
html.dark .homev2-mini-list span,
html.dark .homev2-designer-stats > span,
html.dark .xcz-home-region-toolbar {
    border-color: var(--home-line-soft);
    background: #141820;
}

html.tw-dark .homev2-case-id,
html.tw-dark .homev2-case-badges em,
html.tw-dark .homev2-designer-main strong,
html.dark .homev2-case-id,
html.dark .homev2-case-badges em,
html.dark .homev2-designer-main strong {
    border-color: rgba(125, 211, 252, .34);
    background: rgba(15, 23, 42, .82);
    color: #93c5fd;
}

html.tw-dark .homev2-case-designer,
html.tw-dark .homev2-case-stats,
html.tw-dark .homev2-designer-main em,
html.tw-dark .homev2-designer-stats,
html.tw-dark .xcz-home-region-copy,
html.tw-dark .xcz-home-inline-label-text,
html.tw-dark .xcz-home-item-card-id,
html.dark .homev2-case-designer,
html.dark .homev2-case-stats,
html.dark .homev2-designer-main em,
html.dark .homev2-designer-stats,
html.dark .xcz-home-region-copy,
html.dark .xcz-home-inline-label-text,
html.dark .xcz-home-item-card-id {
    color: var(--home-muted);
}

html.tw-dark .xcz-home-region-tab.is-active,
html.dark .xcz-home-region-tab.is-active {
    border-color: rgba(251, 146, 60, .5);
    background: rgba(251, 146, 60, .14);
    color: #fdba74;
}

html.tw-dark .xcz-home-search-clear:hover,
html.dark .xcz-home-search-clear:hover {
    background: #2b3442;
    color: #d7dde7;
}

html.tw-dark .xcz-home-action-btn,
html.dark .xcz-home-action-btn {
    background: #2f6fed;
    color: #fff;
}

@media (max-width: 1180px) {
    .homev2-hero-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .homev2-hot-grid,
    .homev2-case-grid,
    .homev2-item-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homev2-tool-grid,
    .homev2-icon-grid,
    .homev2-appearance-board,
    .homev2-job-grid,
    .homev2-designer-grid,
    .homev2-mini-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .xcz-home-item-grid {
        grid-template-columns: repeat(16, minmax(0, 1fr));
    }
}

@media (min-width: 1181px) {
    .homev2-content {
        grid-template-columns: 300px minmax(0, 1fr);
        align-items: start;
    }
}

@media (max-width: 720px) {
    .homev2-hero-panel {
        padding: 16px;
    }

    .homev2-brand {
        align-items: flex-start;
    }

    .homev2-logo {
        width: 46px;
        height: 46px;
    }

    .homev2-title {
        font-size: 24px;
    }

    .homev2-qrs {
        width: 100%;
        overflow-x: auto;
        justify-content: center;
        padding-bottom: 4px;
    }

    .homev2-designer-main strong {
        display: none;
    }

    .homev2-designer-card {
        gap: 8px;
        padding: 9px;
    }

    .homev2-designer-main {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 8px;
    }

    .homev2-designer-main img {
        width: 44px;
        height: 44px;
    }

    .homev2-designer-main em {
        max-width: 100%;
    }

    .homev2-designer-stats {
        gap: 5px;
        padding-top: 7px;
    }

    .homev2-designer-stats > span {
        flex-direction: column;
        gap: 3px;
        padding: 6px 3px;
        overflow: hidden;
        font-size: 11px;
        line-height: 1.15;
        text-align: center;
        white-space: nowrap;
    }

    .homev2-designer-stats > span > span {
        font-size: 16px;
    }

    .homev2-search {
        border-radius: 8px;
    }

    .homev2-search button span {
        display: none;
    }

    .homev2-hot-grid,
    .homev2-tool-grid,
    .homev2-icon-grid,
    .homev2-case-grid,
    .homev2-item-grid,
    .homev2-appearance-board,
    .homev2-job-grid,
    .homev2-designer-grid,
    .homev2-mini-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homev2-mini-list a {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .xcz-home-region-search,
    .xcz-home-inline-label,
    .xcz-home-action-btn {
        width: 100%;
    }

    .xcz-home-item-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

}

.booklet-detail-section-head > div {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.member-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.member-quick-action {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 12px;
    color: #0f172a;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.member-quick-action:hover {
    transform: translateY(-1px);
    border-color: #bfdbfe;
    box-shadow: 0 8px 18px rgba(30, 64, 175, .08);
}

.member-quick-action > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    grid-row: span 2;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background-color: #2563eb;
    color: #2563eb;
    font-size: 22px;
}

.member-quick-action b {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-quick-action small {
    overflow: hidden;
    color: #64748b;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.tw-dark .member-quick-action,
html.dark .member-quick-action {
    border-color: #2f3540;
    background: #1f232a;
    color: #f4f7fb;
}

html.tw-dark .member-quick-action:hover,
html.dark .member-quick-action:hover {
    border-color: #42536a;
    background: #252b34;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

html.tw-dark .member-quick-action > span,
html.dark .member-quick-action > span {
    background-color: #60a5fa !important;
    color: #60a5fa;
}

html.tw-dark .member-quick-action small,
html.dark .member-quick-action small {
    color: #a1a8b3;
}

.member-center-page {
    color: #0f172a;
}

.member-center-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 18px;
}

.member-center-hero p {
    color: #64748b;
    font-size: 12px;
}

.member-center-hero h1 {
    margin-top: 4px;
    font-size: 24px;
    font-weight: 600;
}

.member-center-tabs,
.member-fav-tabs {
    display: inline-flex;
    gap: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    padding: 4px;
}

.member-center-tabs button,
.member-fav-tabs button {
    display: inline-flex;
    height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 5px;
    padding: 0 12px;
    color: #475569;
    font-size: 13px;
}

.member-center-tabs button.is-active,
.member-fav-tabs button.is-active {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
}

.member-center-panel {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
}

.member-center-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 16px;
}

.member-center-panel-head h2 {
    font-size: 16px;
    font-weight: 600;
}

.member-center-panel-head p,
.member-center-panel-head span {
    color: #64748b;
    font-size: 12px;
}

.member-follow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
}

.member-follow-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
    border: 1px solid #e6edf6;
    border-radius: 6px;
    background: #fff;
    padding: 12px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.member-follow-card:hover,
.member-fav-case:hover,
.member-fav-data:hover {
    transform: translateY(-1px);
    border-color: #bfdbfe;
    box-shadow: 0 8px 18px rgba(30, 64, 175, .08);
}

.member-follow-card > img {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
}

.member-follow-card b,
.member-fav-case b,
.member-fav-data b {
    overflow: hidden;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-follow-card p,
.member-follow-card em,
.member-fav-case small,
.member-fav-case em,
.member-fav-data small,
.member-fav-data em {
    color: #64748b;
    font-size: 12px;
    font-style: normal;
}

.member-follow-card > em {
    align-self: start;
    border: 1px solid #bfdbfe;
    border-radius: 5px;
    padding: 3px 7px;
    color: #1d4ed8;
}

.member-follow-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    border-top: 1px solid #eef2f7;
    padding-top: 10px;
}

.member-follow-stats span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 5px;
    background: #f8fafc;
    padding: 6px 4px;
    color: #475569;
    font-size: 12px;
}

.member-follow-stats i {
    color: #64748b;
}

.member-fav-tabs {
    margin: 14px 14px 0;
}

.member-fav-case-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
}

.member-fav-case {
    display: grid;
    overflow: hidden;
    border: 1px solid #e6edf6;
    border-radius: 6px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.member-fav-case-media {
    position: relative;
    display: flex;
    aspect-ratio: 1.35;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #eef4fb;
}

.member-fav-case-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.member-fav-case-media i,
.member-fav-case-media em,
.member-fav-case-media strong {
    position: absolute;
    top: 8px;
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfe0f7;
    border-radius: 5px;
    background: rgba(255, 255, 255, .88);
    padding: 2px 7px;
    color: #31506f;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.member-fav-case-media i {
    left: 8px;
}

.member-fav-case-media em {
    right: 43px;
    gap: 3px;
    color: #2563eb;
}

.member-fav-case-media strong {
    right: 8px;
    color: #2563eb;
}

.member-fav-case > b {
    display: block;
    margin: 12px 12px 0;
}

.member-fav-case > small {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    margin: 10px 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
}

.member-fav-case > small img {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.member-fav-case-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 12px 12px;
}

.member-fav-case-stats em {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 5px;
    background: #f8fafc;
    padding: 6px 4px;
    color: #475569;
    font-size: 12px;
    font-style: normal;
}

.member-fav-case-stats em:nth-child(2) span {
    color: #f97316;
}

.member-fav-case-stats em:nth-child(3) span {
    color: #e11d48;
}

.member-fav-data-list {
    display: grid;
    gap: 10px;
    padding: 14px;
}

.member-fav-data {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid #e6edf6;
    border-radius: 6px;
    background: #fff;
    padding: 11px 12px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.member-fav-data > span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f8fafc;
}

.member-fav-data img {
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
}

.member-fav-data i {
    color: #2563eb;
    font-size: 22px;
}

.member-fav-data > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.member-fav-data small {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.member-fav-data small em,
.member-fav-data small i {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    padding: 2px 7px;
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    line-height: 1.35;
}

.member-fav-data small em {
    color: #1d4ed8;
}

.member-load-more {
    display: flex;
    min-width: 160px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: #eff6ff;
    margin: 0 auto 16px;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
}

.member-load-more:disabled {
    opacity: .65;
}

.member-center-empty {
    margin: 14px;
    border: 1px dashed #dbe3ef;
    border-radius: 6px;
    background: #f8fafc;
    padding: 28px;
    color: #64748b;
    text-align: center;
}

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

    .member-fav-case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .member-center-hero,
    .member-center-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .member-center-tabs,
    .member-fav-tabs {
        width: 100%;
    }

    .member-center-tabs button,
    .member-fav-tabs button {
        flex: 1;
    }

    .member-follow-grid,
    .member-fav-case-grid {
        grid-template-columns: 1fr;
    }

    .member-fav-data {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .member-fav-data em {
        grid-column: 2;
    }
}

.booklet-detail-section-head b {
    color: #0f172a;
    font-size: 16px;
    font-weight: 600;
}

.booklet-detail-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 1px solid #edf0f4;
    background: rgba(248, 250, 252, .72);
    padding: 8px;
}

.booklet-detail-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    padding: 8px 12px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
}

.booklet-detail-tabs button:hover {
    background: #f3e8ff;
    color: #7e22ce;
}

.booklet-detail-tabs button.is-active {
    background: #a855f7;
    color: #fff;
}

.booklet-detail-tabs span {
    border-radius: 5px;
    background: rgba(0, 0, 0, .1);
    padding: 1px 6px;
    font-size: 12px;
}

.booklet-detail-soft,
.booklet-detail-stat,
.booklet-detail-preview,
.booklet-detail-empty {
    border: 1px solid #edf0f4;
    border-radius: 7px;
    background: rgba(248, 250, 252, .72);
}

.booklet-detail-soft {
    padding: 14px;
}

.booklet-detail-soft h3,
.booklet-detail-preview-title {
    color: #151515;
    font-size: 15px;
    font-weight: 600;
}

.booklet-detail-stat {
    min-width: 0;
    padding: 12px;
}

.booklet-detail-stat span {
    display: block;
    color: #64748b;
    font-size: 12px;
}

.booklet-detail-stat b {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #0f172a;
    font-size: 18px;
    font-weight: 600;
}

.booklet-detail-preview {
    padding: 14px;
}

.booklet-detail-preview-box {
    display: flex;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    border-radius: 7px;
    background:
        linear-gradient(45deg, rgba(15, 23, 42, .055) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(15, 23, 42, .055) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(15, 23, 42, .055) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(15, 23, 42, .055) 75%);
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.booklet-detail-preview-box.is-large {
    min-height: 240px;
    overflow: hidden;
    touch-action: none;
    user-select: none;
}

.booklet-detail-lite-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 36px;
    margin-bottom: 12px;
}

.booklet-detail-lite-head .booklet-detail-preview-title {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.booklet-detail-lite-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 32px;
    min-width: 82px;
    border: 1px solid #bfd7ff;
    border-radius: 6px;
    background: #f8fbff;
    color: #2563eb;
    padding: 0 9px 0 7px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.booklet-detail-lite-head .booklet-detail-preview-title span[class*="tw-icon-"] {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    font-size: 17px;
}

.booklet-detail-lite-switch {
    display: inline-flex;
    width: 32px;
    height: 18px;
    align-items: center;
    justify-content: flex-start;
    border-radius: 5px;
    background: #dbeafe;
    padding: 2px;
    transition: background .16s ease;
}

.booklet-detail-lite-switch span[class*="tw-icon-"] {
    display: inline-flex;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #fff;
    color: #2563eb;
    font-size: 12px;
    line-height: 1;
    transition: transform .16s ease, color .16s ease;
}

.booklet-detail-lite-toggle:hover {
    border-color: #8bb8ff;
    background: #eef6ff;
    color: #0f4bc0;
}

.booklet-detail-lite-toggle.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.booklet-detail-lite-toggle.is-active .booklet-detail-lite-switch {
    background: #2563eb;
}

.booklet-detail-lite-toggle.is-active .booklet-detail-lite-switch span[class*="tw-icon-"] {
    color: #1d4ed8;
    transform: translateX(14px);
}

.booklet-detail-preview-box.is-large.is-lite {
    position: relative;
    padding: 0;
    background: #f8fafc;
    touch-action: pan-y;
}

.booklet-detail-lite-frame {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
    background: transparent;
}

.booklet-detail-lite-scroll-proxy {
    display: none;
}

@media (max-width: 760px) {
    .booklet-detail-preview-box.is-large.is-lite .booklet-detail-lite-scroll-proxy {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: block;
        background: transparent;
        touch-action: pan-y;
    }
}

.booklet-detail-preview-box.is-large span {
    color: #94a3b8;
    font-size: 13px;
}

.booklet-detail-zoombar {
    display: grid;
    grid-template-columns: auto auto auto auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    border-radius: 999px;
    background: #eff6ff;
    padding: 6px 10px;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
}

.booklet-detail-zoombar b,
.booklet-detail-zoombar button {
    border-radius: 999px;
    background: #fff;
    padding: 2px 8px;
    color: #0f172a;
}

.booklet-detail-zoombar input {
    width: 100%;
    accent-color: #2563eb;
}

.booklet-detail-preview-box img {
    max-width: 90%;
    max-height: 240px;
    object-fit: contain;
    image-rendering: pixelated;
    transform-origin: center center;
    transition: transform .16s ease;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}

.booklet-detail-preview-box.is-dragging img {
    transition: none;
}

.booklet-detail-drop-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.booklet-drop-version-wrap {
    padding: 12px;
}

.booklet-drop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.booklet-drop-tabs button {
    display: inline-flex;
    min-width: 96px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #e5edf7;
    border-radius: 6px;
    background: #fff;
    padding: 8px 10px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.booklet-drop-tabs button:hover {
    border-color: #bfdbfe;
    background: #f8fbff;
    color: #2563eb;
}

.booklet-drop-tabs button.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.booklet-drop-tabs em {
    min-width: 24px;
    border-radius: 999px;
    background: #f1f5f9;
    padding: 1px 7px;
    color: #64748b;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}

.booklet-drop-tabs button.is-active em {
    background: #2563eb;
    color: #fff;
}

.booklet-related-case-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 12px;
}

.booklet-related-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 13px;
}

.booklet-related-more span:not([class*="tw-icon-"]) {
    display: inline-flex;
    height: 26px;
    align-items: center;
    gap: 3px;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    background: #fff;
    padding: 0 10px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 500;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.booklet-related-more:hover {
    color: #2563eb;
}

.booklet-related-more:hover span:not([class*="tw-icon-"]) {
    border-color: #93c5fd;
    background: #eff6ff;
}

.booklet-related-more > .tw-icon-\[mdi--chevron-right\] {
    width: 14px;
    height: 14px;
    margin-left: -6px;
    color: #94a3b8;
    transition: transform .15s ease, color .15s ease;
}

.booklet-related-more:hover > .tw-icon-\[mdi--chevron-right\] {
    color: #2563eb;
    transform: translateX(1px);
}

.booklet-related-case {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e6edf6;
    border-radius: 6px;
    background: #fff;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.booklet-related-case:hover {
    transform: translateY(-1px);
    border-color: #bfdbfe;
    background: #fbfdff;
}

.booklet-related-case-media {
    position: relative;
    display: flex;
    height: 160px;
    align-items: center;
    justify-content: center;
    background: #eef4fb;
}

.booklet-related-case-media img {
    max-width: 92%;
    max-height: 146px;
    object-fit: contain;
}

.booklet-related-case-id,
.booklet-related-case-badges {
    position: absolute;
    top: 8px;
    z-index: 1;
}

.booklet-related-case-id {
    left: 8px;
    display: inline-flex;
    height: 22px;
    align-items: center;
    border: 1px solid #dbe5f2;
    border-radius: 5px;
    background: rgba(255, 255, 255, .92);
    padding: 0 7px;
    color: #64748b;
    font-size: 11px;
}

.booklet-related-case-badges {
    right: 8px;
    display: flex;
    gap: 4px;
}

.booklet-related-case-badges em {
    display: inline-flex;
    height: 22px;
    align-items: center;
    gap: 3px;
    border: 1px solid #bfdbfe;
    border-radius: 5px;
    background: rgba(255, 255, 255, .92);
    padding: 0 6px;
    color: #2563eb;
    font-size: 11px;
    font-style: normal;
    line-height: 1;
}

.booklet-related-case-title {
    display: -webkit-box;
    min-height: 38px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    padding: 10px 10px 0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    line-height: 19px;
}

.booklet-related-case-title:hover {
    color: #2563eb;
}

.booklet-related-case-designer {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    padding: 8px 10px 0;
    color: #64748b;
    font-size: 12px;
}

.booklet-related-case-designer img {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 5px;
    background: #e2e8f0;
    object-fit: cover;
}

.booklet-related-case-designer span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booklet-related-case-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 9px 10px 10px;
    border-top: 1px solid #eef2f7;
    padding-top: 8px;
    color: #64748b;
    font-size: 12px;
}

.booklet-related-case-stats > span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.booklet-related-case-stats .tw-icon-\[mdi--fire\] {
    color: #f97316;
}

.booklet-related-case-stats .tw-icon-\[mdi--heart-outline\] {
    color: #e11d48;
}

@media (max-width: 900px) {
    .booklet-related-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .booklet-related-case-grid {
        grid-template-columns: 1fr;
    }
}

.booklet-detail-drop {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #edf0f4;
    border-radius: 7px;
    background: #fff;
    padding: 10px;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.booklet-detail-drop-id,
.booklet-detail-mini-id {
    display: block;
    align-self: auto;
    min-width: 0;
    border-radius: 0;
    background: transparent;
    color: #475569;
    font-size: 12px;
    font-weight: 500;
}

.booklet-detail-drop-id small,
.booklet-detail-mini-id small {
    display: inline;
    margin-right: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 500;
}

.booklet-detail-drop:hover {
    border-color: #a855f7;
    background: #faf5ff;
    transform: translateY(-1px);
}

.booklet-detail-drop-tip {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: flex-start;
    gap: 10px;
}

.booklet-detail-drop-meta {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
}

.booklet-detail-drop-id {
    line-height: 1.2;
}

.booklet-detail-mini-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.booklet-detail-mini {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #edf0f4;
    border-radius: 7px;
    background: #fff;
    padding: 10px;
    color: #0f172a;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.booklet-detail-mini:hover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateY(-1px);
}

.booklet-detail-mini.is-current {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .28);
}

.booklet-detail-mini-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    background: #f8fafc;
}

.booklet-detail-mini-icon img {
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
    image-rendering: pixelated;
}

.booklet-detail-mini-meta,
.booklet-detail-mini-text {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
}

.booklet-detail-mini-id {
    line-height: 1.2;
}

.booklet-detail-mini-meta b,
.booklet-detail-mini-meta em,
.booklet-detail-mini-text b,
.booklet-detail-mini-text em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booklet-detail-mini-meta b,
.booklet-detail-mini-text b {
    color: #2563eb;
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}

.booklet-detail-mini-meta em,
.booklet-detail-mini-text em {
    color: #64748b;
    font-size: 12px;
    line-height: 16px;
    font-style: normal;
}

.booklet-detail-drop-icon {
    display: flex;
    width: 72px;
    height: 58px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #f8fafc;
    overflow: hidden;
}

.booklet-detail-drop-icon img {
    max-width: 68px;
    max-height: 54px;
    object-fit: contain;
    image-rendering: auto;
}

.booklet-detail-drop b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
}

.booklet-detail-drop em {
    display: block;
    color: #64748b;
    line-height: 16px;
    font-size: 12px;
    font-style: normal;
}

.booklet-detail-drop-rate {
    align-self: center;
    flex: 0 0 auto;
    border-radius: 6px;
    background: #ecfdf5;
    padding: 4px 7px;
    color: #047857;
    font-size: 12px;
    font-weight: 500;
}

.booklet-detail-empty {
    padding: 48px 16px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.booklet-detail-json {
    max-height: 560px;
    overflow: auto;
    border-radius: 7px;
    background: #0f172a;
    padding: 14px;
    color: #dbeafe;
    font-size: 12px;
    line-height: 1.65;
}

.booklet-detail-orange {
    color: #f59e0b;
}

.booklet-item-head h1 {
    margin-top: 3px;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}

.booklet-item-head .tw-text-\[12px\] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #eff6ff;
    padding: 4px 9px;
    color: #1d4ed8;
    line-height: 1;
}

.booklet-item-head p {
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.booklet-item-head-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.booklet-mini-btn {
    display: inline-flex;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 0 14px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.booklet-mini-btn:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}

.booklet-mini-btn span {
    font-size: 17px;
}

.booklet-item-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 14px;
}

.booklet-item-side {
    position: sticky;
    top: 78px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}

.booklet-side-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.booklet-side-title a {
    color: #2563eb;
    font-weight: 700;
    text-transform: none;
}

.booklet-side-title button {
    color: #2563eb;
    font-weight: 700;
    text-transform: none;
}

.booklet-cat-group {
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.booklet-cat-group + .booklet-cat-group {
    margin-top: 10px;
}

.booklet-cat-group-title {
    margin-bottom: 8px;
    padding: 0 6px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.booklet-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.booklet-cat-link {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 8px;
    min-height: 44px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #f8fafc;
    padding: 8px 9px;
    color: #334155;
}

.booklet-cat-link > span {
    color: #64748b;
    font-size: 22px;
}

.booklet-cat-link b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.booklet-cat-link em {
    color: #94a3b8;
    font-size: 11px;
    font-style: normal;
}

.booklet-cat-link:hover,
.booklet-cat-link.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.booklet-cat-link:hover > span,
.booklet-cat-link.is-active > span {
    color: #2563eb;
}

.booklet-tree-wrap {
    border-top: 1px solid #f1f5f9;
    margin-top: 12px;
    padding-top: 10px;
}

.booklet-tree-section {
    border-top: 1px solid #f1f5f9;
    margin-top: 12px;
    padding-top: 12px;
}

.booklet-tree-section-title {
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
    padding-bottom: 9px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
}

.booklet-tree-section-title span {
    color: #0f172a;
    font-size: 21px;
}

.booklet-tree-group + .booklet-tree-group {
    margin-top: 4px;
}

.booklet-tree-summary {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 18px;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    padding: 7px 9px;
    color: #0f172a;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    list-style: none;
}

.booklet-tree-summary::-webkit-details-marker {
    display: none;
}

.booklet-tree-summary > span {
    color: #64748b;
    font-size: 22px;
}

.booklet-tree-summary > i {
    color: #64748b;
    font-size: 16px;
    transition: transform .15s ease;
}

.booklet-tree-group[open] .booklet-tree-summary > i {
    transform: rotate(90deg);
}

.booklet-tree-summary:hover {
    background: #f8fafc;
}

.booklet-tree-children {
    display: grid;
    gap: 3px;
    padding: 2px 0 8px 34px;
}

.booklet-tree-child {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 34px;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    padding: 6px 8px;
    color: #334155;
    font-size: 14px;
    text-align: left;
}

.booklet-tree-child > span {
    color: #64748b;
    font-size: 18px;
}

.booklet-tree-child b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.booklet-tree-child:hover,
.booklet-tree-child.is-active {
    background: #eff6ff;
    color: #1d4ed8;
}

.booklet-tree-child:hover > span,
.booklet-tree-child.is-active > span {
    color: #2563eb;
}

.booklet-item-main {
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.booklet-item-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 140px 150px auto auto;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px;
}

.booklet-item-search {
    display: flex;
    height: 38px;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 0 12px;
    color: #64748b;
}

.booklet-item-search input {
    min-width: 0;
    flex: 1;
    background: transparent;
    font-size: 14px;
}

.booklet-item-toolbar select,
.booklet-check-filter,
.booklet-search-submit {
    height: 38px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 0 10px;
    color: #334155;
    font-size: 14px;
}

.booklet-check-filter,
.booklet-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
}

.booklet-search-submit {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.booklet-active-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 12px;
}

.booklet-active-line span {
    border-radius: 999px;
    background: #f1f5f9;
    padding: 4px 9px;
    color: #64748b;
    font-size: 12px;
}

.booklet-item-table-wrap {
    position: relative;
    overflow-x: auto;
}

.booklet-item-table-wrap.is-loading {
    min-height: 260px;
}

.booklet-item-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    font-size: 14px;
}

.booklet-item-table th {
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 10px 12px;
    color: #475569;
    text-align: left;
    font-weight: 800;
}

.booklet-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    color: #0f172a;
    font-weight: 800;
}

.booklet-sort-btn:hover {
    border-color: #2563eb;
    color: #1d4ed8;
}

.booklet-sort-btn i {
    color: #64748b;
    font-size: 14px;
}

.booklet-item-table td {
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 12px;
    color: #334155;
    vertical-align: middle;
}

.booklet-item-table tr:hover td {
    background: #f8fafc;
}

.booklet-item-table .col-icon {
    width: 58px;
}

.booklet-item-table .col-icon img,
.booklet-item-noimg {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.booklet-item-noimg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
}

.booklet-item-name {
    color: #0f172a;
    font-weight: 800;
}

.booklet-item-name:hover {
    color: #2563eb;
}

.booklet-item-sub {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 12px;
}

.booklet-mono {
    font-family: Consolas, Monaco, monospace;
    color: #475569;
}

.booklet-item-req {
    color: #64748b;
    font-size: 12px;
}

.booklet-pill {
    display: inline-flex;
    border-radius: 999px;
    background: #f1f5f9;
    padding: 3px 8px;
    color: #64748b;
    font-size: 12px;
}

.booklet-pill.yes {
    background: #ecfdf5;
    color: #059669;
}

.booklet-table-action {
    text-align: right;
}

.booklet-table-action a {
    color: #2563eb;
    font-weight: 700;
}

.booklet-async-tip {
    position: fixed;
    z-index: 80;
    width: 350px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .12s ease, transform .12s ease;
}

.booklet-async-tip.is-show {
    opacity: 1;
    transform: translateY(0);
}

.booklet-tip-card,
.booklet-tip-loading {
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.24);
    color: #e5e7eb;
}

.booklet-tip-card {
    padding: 12px;
}

.booklet-tip-loading {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
}

.booklet-tip-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(203, 213, 225, 0.22);
    border-top-color: #93c5fd;
    border-radius: 999px;
    animation: mxdRegionTipSpin .75s linear infinite;
}

@keyframes mxdRegionTipSpin {
    to {
        transform: rotate(360deg);
    }
}

.booklet-tip-head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.booklet-tip-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
}

.booklet-tip-icon img {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.booklet-tip-name {
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 800;
}

.booklet-tip-id {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
}

.booklet-tip-line {
    height: 1px;
    margin: 8px 0;
    background: rgba(226, 232, 240, 0.16);
}

.booklet-tip-req {
    display: grid;
    gap: 2px;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.35;
}

.booklet-tip-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 10px;
    font-size: 12px;
    line-height: 1.35;
}

.booklet-tip-stats div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.booklet-tip-stats span {
    color: #cbd5e1;
}

.booklet-tip-stats b {
    color: #93c5fd;
    font-weight: 800;
}

.booklet-tip-desc {
    color: #e2e8f0;
    font-size: 12px;
    line-height: 1.45;
}

.booklet-tip-preview-title {
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
}

.booklet-tip-preview-box {
    display: flex;
    min-height: 155px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 232, 240, 0.14);
    border-radius: 7px;
    background:
        linear-gradient(45deg, rgba(255,255,255,.055) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,.055) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,.055) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.055) 75%);
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
    overflow: hidden;
    padding: 10px;
}

.booklet-tip-preview-box img {
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    transform: scale(1.35);
    transform-origin: center center;
}

.booklet-tip-orange {
    color: #fbbf24;
}

.booklet-tip-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.booklet-tip-meta span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    color: #cbd5e1;
    font-size: 12px;
}

.booklet-empty {
    height: 180px;
    text-align: center;
    color: #94a3b8;
}

.booklet-list-loading {
    position: absolute;
    inset: 44px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.78);
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.booklet-vue-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
}

.booklet-vue-pager button,
.booklet-vue-pager span {
    display: inline-flex;
    min-width: 38px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    padding: 0 11px;
    color: #475569;
    font-size: 13px;
}

.booklet-vue-pager button:hover:not(:disabled) {
    border-color: #2563eb;
    color: #2563eb;
}

.booklet-vue-pager button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.booklet-item-pager {
    padding: 12px;
}

@media (max-width: 767px) {
    .booklet-hero-inner {
        padding-top: 38px;
        padding-bottom: 34px;
    }

    .booklet-hero-title {
        font-size: 38px;
    }

    .booklet-feature-card {
        min-height: 118px;
    }

    .booklet-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booklet-footer-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .booklet-footer-versions {
        justify-content: flex-start;
    }

    .booklet-item-head {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .booklet-item-head-actions {
        width: 100%;
    }

    .booklet-mini-btn {
        flex: 1;
    }
}

.booklet-gear-page {
    background: #f3f4f6;
}

.booklet-gear-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    margin-bottom: 16px;
    padding: 22px 24px 18px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.booklet-gear-head-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.booklet-gear-head-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 28px;
}

.booklet-gear-head-copy {
    min-width: 0;
}

.booklet-gear-kicker {
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
}

.booklet-gear-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.booklet-gear-title-row h1 {
    color: #0f172a;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
}

.booklet-gear-badge {
    display: inline-flex;
    height: 24px;
    align-items: center;
    border-radius: 999px;
    background: #ecfdf5;
    padding: 0 10px;
    color: #059669;
    font-size: 12px;
    font-weight: 800;
}

.booklet-gear-head-copy p {
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.booklet-gear-head-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.booklet-gear-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.booklet-gear-stat {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 12px 14px;
}

.booklet-gear-stat b {
    display: block;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.booklet-gear-stat span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
}

.booklet-gear-layout {
    display: grid;
    grid-template-columns: 304px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.booklet-gear-side {
    position: sticky;
    top: 82px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.035);
}

.booklet-gear-main {
    min-width: 0;
}

.booklet-gear-panel {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.035);
}

.booklet-gear-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 12px;
}

.booklet-gear-filter-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 150px 150px 150px 110px;
    gap: 9px;
}

.booklet-gear-filter-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.booklet-gear-chipline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
}

.booklet-gear-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 6px;
    background: #eff6ff;
    padding: 5px 8px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

.booklet-gear-chip:hover {
    background: #dbeafe;
}

.booklet-gear-clear {
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
}

.booklet-gear-clear:hover {
    text-decoration: underline;
}

.booklet-gear-toolbar {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 140px 160px auto auto;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 12px;
}

.booklet-gear-search,
.booklet-gear-control,
.booklet-gear-check,
.booklet-gear-submit {
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
}

.booklet-gear-search {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    border: 1px solid #dbe3ef;
    background: #fff;
    padding: 0 12px;
    color: #64748b;
}

.booklet-gear-search input {
    min-width: 0;
    flex: 1;
    background: transparent;
    color: #0f172a;
}

.booklet-gear-control,
.booklet-gear-check {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #334155;
}

.booklet-gear-control {
    padding: 0 11px;
}

.booklet-gear-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    font-weight: 700;
    white-space: nowrap;
}

.booklet-gear-check input {
    width: 15px;
    height: 15px;
}

.booklet-gear-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #2563eb;
    background: #2563eb;
    padding: 0 18px;
    color: #fff;
    font-weight: 800;
    transition: background .15s ease, box-shadow .15s ease;
}

.booklet-gear-submit:hover {
    background: #1d4ed8;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.booklet-gear-view-btn {
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.booklet-gear-view-btn:hover,
.booklet-gear-view-btn.is-active {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #2563eb;
}

.booklet-gear-active {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 10px 12px;
}

.booklet-gear-active span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    border-radius: 999px;
    background: #eef2f7;
    padding: 3px 10px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.booklet-gear-table-wrap {
    position: relative;
    min-height: 360px;
    overflow-x: auto;
}

.booklet-gear-table {
    width: 100%;
    min-width: 1040px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.booklet-gear-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid #dbe3ef;
    background: #f8fafc;
    padding: 11px 14px;
    color: #0f172a;
    text-align: left;
    font-weight: 900;
}

.booklet-gear-table th.col-name {
    width: 290px;
}

.booklet-gear-table td {
    border-bottom: 1px solid #edf2f7;
    background: #ffffff;
    padding: 11px 14px;
    color: #0f2a45;
    vertical-align: middle;
}

.booklet-gear-table tbody tr:nth-child(even) td {
    background: #fcfdff;
}

.booklet-gear-table tbody tr:hover td {
    background: #f4f8ff;
}

.booklet-gear-sort {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    color: #0f172a;
    font-weight: 900;
}

.booklet-gear-sort:hover {
    border-color: #2563eb;
    color: #1d4ed8;
}

.booklet-gear-sort i {
    color: #64748b;
    font-size: 15px;
}

.booklet-gear-namecell {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.booklet-gear-iconbox {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f8fafc;
}

.booklet-gear-iconbox img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    image-rendering: auto;
}

.booklet-gear-iconbox > span {
    color: #64748b;
    font-size: 22px;
}

.booklet-gear-name {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    color: #0f172a;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 900;
}

.booklet-gear-name:hover {
    color: #2563eb;
}

.booklet-gear-sub,
.booklet-gear-muted,
.booklet-gear-req {
    color: #7b8aa1;
    font-size: 12px;
}

.booklet-gear-mono {
    color: #334155;
    font-family: Consolas, Monaco, monospace;
}

.booklet-gear-loading {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 250, 252, 0.78);
    backdrop-filter: blur(2px);
}

.booklet-gear-loading-card {
    display: grid;
    min-width: 220px;
    justify-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #ffffff;
    padding: 18px 20px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.booklet-gear-loading-card b {
    margin-top: 10px;
    color: #0f172a;
    font-size: 14px;
}

.booklet-gear-loading-card em {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-style: normal;
}

.booklet-gear-loading-spin {
    width: 26px;
    height: 26px;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 999px;
    animation: mxdRegionTipSpin .75s linear infinite;
}

.booklet-gear-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    margin: 16px auto 0;
    padding: 5px;
}

.booklet-gear-page-btn,
.booklet-gear-page-gap {
    display: inline-flex;
    min-width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 800;
}

.booklet-gear-page-btn {
    border: 1px solid transparent;
    background: transparent;
    color: #334155;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.booklet-gear-page-btn:hover:not(:disabled),
.booklet-gear-page-btn.is-active {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.booklet-gear-page-btn:disabled {
    cursor: not-allowed;
    opacity: .48;
}

.booklet-gear-page-gap {
    color: #94a3b8;
}

.booklet-gear-table-uiv8 {
    min-width: 1080px;
}

.booklet-gear-table-uiv8 th {
    height: 44px;
    padding: 8px 12px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
}

.booklet-gear-table-uiv8 th.col-check {
    width: 44px;
}

.booklet-gear-table-uiv8 th.col-name {
    width: 360px;
}

.booklet-gear-table-uiv8 td {
    height: 56px;
    padding: 8px 12px;
}

.booklet-gear-table-uiv8 tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.booklet-gear-table-uiv8 tbody tr:hover td {
    background: #eff6ff;
}

.booklet-gear-table-uiv8 input[type="checkbox"],
.booklet-gear-check-cell input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    accent-color: #2563eb;
}

.booklet-gear-table-uiv8 .booklet-gear-sort {
    padding-bottom: 5px;
}

.booklet-gear-table-uiv8 .booklet-gear-sort i {
    font-size: 16px;
}

.booklet-gear-table-uiv8 .booklet-gear-iconbox {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.booklet-gear-table-uiv8 .booklet-gear-iconbox img {
    max-width: 32px;
    max-height: 32px;
}

.booklet-gear-table-uiv8 .booklet-gear-name {
    max-width: 260px;
    color: #2563eb;
    font-weight: 700;
}

.booklet-gear-table-uiv8 .booklet-gear-sub {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booklet-gear-tag {
    display: inline-flex;
    max-width: 160px;
    align-items: center;
    border-radius: 6px;
    background: #f1f5f9;
    padding: 4px 8px;
    color: #0f172a;
    font-size: 12px;
    line-height: 1.2;
}

@media (max-width: 1180px) {
    .booklet-gear-layout {
        grid-template-columns: 1fr;
    }

    .booklet-gear-side {
        position: static;
        max-height: none;
    }
}

@media (max-width: 900px) {
    .booklet-gear-head {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .booklet-gear-head-actions {
        justify-content: flex-start;
    }

    .booklet-gear-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booklet-gear-toolbar {
        grid-template-columns: 1fr;
    }

    .booklet-gear-filter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .booklet-gear-head-main {
        align-items: flex-start;
    }

    .booklet-gear-head-icon {
        width: 44px;
        height: 44px;
        font-size: 23px;
    }

    .booklet-gear-title-row h1 {
        font-size: 24px;
    }

    .booklet-gear-stats {
        grid-template-columns: 1fr;
    }
}

/* Dark mode polish for mxdRegion pages. The project uses runtime Vue classes in
   several places, so these scoped rules keep the dark theme consistent. */
.tw-dark .booklet-home,
.dark .booklet-home,
.tw-dark .booklet-home-body,
.dark .booklet-home-body {
    background: #101010;
}

.tw-dark .booklet-hero,
.dark .booklet-hero {
    background: #101010;
    border-bottom-color: #2a2a2a;
}

.tw-dark .booklet-hero::before,
.dark .booklet-hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

.tw-dark .booklet-hero-title,
.dark .booklet-hero-title {
    color: #f8fafc;
}

.tw-dark .booklet-hero-desc,
.dark .booklet-hero-desc {
    color: #cbd5e1;
}

.tw-dark .booklet-hero-search,
.dark .booklet-hero-search {
    border-color: #2a2a2a;
    background: #171717;
    color: #d1d5db;
    box-shadow: none;
}

.tw-dark .booklet-hero-search input,
.dark .booklet-hero-search input {
    color: #f3f4f6;
}

.tw-dark .booklet-feature-card,
.dark .booklet-feature-card,
.tw-dark .booklet-preview-card,
.dark .booklet-preview-card,
.tw-dark .booklet-module-card,
.dark .booklet-module-card {
    border-color: #2a2a2a !important;
    background: #171717;
    box-shadow: none;
}

.tw-dark .booklet-feature-icon,
.dark .booklet-feature-icon {
    background: #202020;
    color: #93c5fd;
}

.tw-dark .booklet-feature-card:hover,
.dark .booklet-feature-card:hover,
.tw-dark .booklet-module-card:hover,
.dark .booklet-module-card:hover {
    border-color: #334155 !important;
    background: #1c1c1c;
}

.tw-dark .booklet-footer,
.dark .booklet-footer {
    border-top-color: #2a2a2a;
    background: #141414;
}

.tw-dark .booklet-footer-title,
.dark .booklet-footer-title {
    color: #f3f4f6;
}

.tw-dark .booklet-footer-grid,
.dark .booklet-footer-grid,
.tw-dark .booklet-footer-links a,
.dark .booklet-footer-links a,
.tw-dark .booklet-footer-meta,
.dark .booklet-footer-meta {
    color: #a3a3a3;
}

.tw-dark .booklet-footer-meta,
.dark .booklet-footer-meta {
    border-top-color: #2a2a2a;
}

.tw-dark .booklet-footer-versions a,
.dark .booklet-footer-versions a {
    border-color: #2a2a2a;
    background: #171717;
    color: #d1d5db;
}

.tw-dark .booklet-footer-versions a:hover,
.dark .booklet-footer-versions a:hover,
.tw-dark .booklet-footer-versions a.is-active,
.dark .booklet-footer-versions a.is-active {
    border-color: #a855f7;
    background: #2a1738;
    color: #e9d5ff;
}

.tw-dark .booklet-uiv8-head,
.dark .booklet-uiv8-head,
.tw-dark .booklet-uiv8-list .tw-bg-panel-light,
.dark .booklet-uiv8-list .tw-bg-panel-light {
    border-color: #2a2a2a !important;
    background: #151515 !important;
    color: #f3f4f6;
}

.tw-dark .booklet-uiv8-head-stats,
.dark .booklet-uiv8-head-stats {
    background: #171717 !important;
    border-color: #2a2a2a !important;
}

.tw-dark .booklet-uiv8-head-stats::before,
.dark .booklet-uiv8-head-stats::before,
.tw-dark .booklet-uiv8-head-stats > div + div::before,
.dark .booklet-uiv8-head-stats > div + div::before {
    background: #2a2a2a;
}

.tw-dark .booklet-uiv8-list .db-tree-row,
.dark .booklet-uiv8-list .db-tree-row {
    color: #cbd5e1;
}

.tw-dark .booklet-uiv8-list .db-tree-root,
.dark .booklet-uiv8-list .db-tree-root {
    color: #f3f4f6;
}

.tw-dark .booklet-uiv8-list .db-tree-row:hover,
.dark .booklet-uiv8-list .db-tree-row:hover,
.tw-dark .booklet-uiv8-list .db-tree-row.db-tree-active,
.dark .booklet-uiv8-list .db-tree-row.db-tree-active {
    background: #243044;
    color: #93c5fd;
}

.tw-dark .booklet-uiv8-search,
.dark .booklet-uiv8-search,
.tw-dark .booklet-uiv8-list select,
.dark .booklet-uiv8-list select {
    border-color: #2a2a2a;
    background: #101010;
    color: #d1d5db;
}

.tw-dark .booklet-uiv8-search input,
.dark .booklet-uiv8-search input {
    color: #f3f4f6;
}

.tw-dark .booklet-uiv8-search input::placeholder,
.dark .booklet-uiv8-search input::placeholder {
    color: #737373;
}

.tw-dark .booklet-uiv8-search button:hover,
.dark .booklet-uiv8-search button:hover {
    background: #262626;
    color: #f3f4f6;
}

.tw-dark .booklet-uiv8-list .tw-bg-blue-50,
.dark .booklet-uiv8-list .tw-bg-blue-50 {
    background: rgba(37, 99, 235, 0.16) !important;
}

.tw-dark .booklet-uiv8-table-wrap,
.dark .booklet-uiv8-table-wrap {
    background: #111;
}

.tw-dark .booklet-uiv8-table-wrap thead,
.dark .booklet-uiv8-table-wrap thead,
.tw-dark .booklet-uiv8-table-wrap th,
.dark .booklet-uiv8-table-wrap th {
    background: #1f1f1f !important;
    color: #f3f4f6 !important;
}

.tw-dark .booklet-uiv8-table-wrap tr,
.dark .booklet-uiv8-table-wrap tr,
.tw-dark .booklet-uiv8-table-wrap td,
.dark .booklet-uiv8-table-wrap td {
    border-color: #2a2a2a !important;
}

.tw-dark .booklet-uiv8-table-wrap tbody tr,
.dark .booklet-uiv8-table-wrap tbody tr {
    background: #141414 !important;
    color: #f3f4f6 !important;
}

.tw-dark .booklet-uiv8-table-wrap tbody tr:nth-child(even),
.dark .booklet-uiv8-table-wrap tbody tr:nth-child(even) {
    background: #1f1f1f !important;
}

.tw-dark .booklet-uiv8-table-wrap tbody tr:hover,
.dark .booklet-uiv8-table-wrap tbody tr:hover {
    background: #242424 !important;
}

.tw-dark .booklet-uiv8-table-wrap tbody td,
.dark .booklet-uiv8-table-wrap tbody td {
    background: transparent !important;
}

.tw-dark .booklet-uiv8-sort,
.dark .booklet-uiv8-sort {
    color: #f3f4f6;
}

.tw-dark .booklet-uiv8-sort:hover,
.dark .booklet-uiv8-sort:hover,
.tw-dark .booklet-uiv8-sort.is-active,
.dark .booklet-uiv8-sort.is-active {
    color: #60a5fa;
}

.tw-dark .booklet-uiv8-loading-layer,
.dark .booklet-uiv8-loading-layer {
    background: #141414;
}

.tw-dark .booklet-list-loading-layer,
.dark .booklet-list-loading-layer {
    background: #141414 !important;
}

.tw-dark .booklet-uiv8-loading-pill,
.dark .booklet-uiv8-loading-pill,
.tw-dark .booklet-list-loading-layer > div,
.dark .booklet-list-loading-layer > div,
.tw-dark .booklet-list-loading-layer > span,
.dark .booklet-list-loading-layer > span {
    border-color: #2a2a2a;
    background: #171717;
    color: #d1d5db;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .28);
}

.tw-dark .booklet-detail-tabs,
.dark .booklet-detail-tabs {
    border-bottom-color: #2a2a2a;
    background: #151515;
}

.tw-dark .booklet-detail-tabs button,
.dark .booklet-detail-tabs button {
    color: #a3a3a3;
}

.tw-dark .booklet-detail-tabs button:hover,
.dark .booklet-detail-tabs button:hover {
    background: rgba(168, 85, 247, .15);
    color: #d8b4fe;
}

.tw-dark .booklet-detail-tabs button.is-active,
.dark .booklet-detail-tabs button.is-active {
    background: #a855f7;
    color: #fff;
}

.tw-dark .booklet-detail-card,
.dark .booklet-detail-card {
    border-color: #3a3a3a;
    background: #151515;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
}

.tw-dark .booklet-detail-card-head,
.dark .booklet-detail-card-head {
    background: #171717;
}

.tw-dark .booklet-detail-card-title,
.dark .booklet-detail-card-title {
    border-color: rgba(255, 255, 255, .08);
    background-color: #191919;
}

.tw-dark .booklet-detail-card-body,
.dark .booklet-detail-card-body {
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.tw-dark .booklet-detail-big-icon,
.dark .booklet-detail-big-icon {
    border-color: #3a3a3a;
    background: #d1d5db;
}

.tw-dark .booklet-detail-jobline,
.dark .booklet-detail-jobline {
    border-color: #3a3a3a;
    background: rgba(255, 255, 255, .02);
}

.tw-dark .booklet-detail-lines,
.dark .booklet-detail-lines {
    border-top-color: #3a3a3a;
}

.tw-dark .booklet-detail-info-table th,
.dark .booklet-detail-info-table th {
    border-color: #2a2a2a;
    background: #202020;
    color: #a3a3a3;
}

.tw-dark .booklet-detail-info-table td,
.dark .booklet-detail-info-table td {
    border-color: #2a2a2a;
    color: #f3f4f6;
}

.tw-dark .booklet-copy-inline,
.dark .booklet-copy-inline {
    background: rgba(59, 130, 246, .18);
    color: #93c5fd;
}

.tw-dark .booklet-detail-section-head,
.dark .booklet-detail-section-head {
    border-color: #2a2a2a;
    background: #172033;
    color: #a3a3a3;
}

.tw-dark .booklet-detail-section-head b,
.dark .booklet-detail-section-head b {
    color: #f3f4f6;
}

.tw-dark .booklet-detail-soft,
.dark .booklet-detail-soft,
.tw-dark .booklet-detail-stat,
.dark .booklet-detail-stat,
.tw-dark .booklet-detail-preview,
.dark .booklet-detail-preview,
.tw-dark .booklet-detail-empty,
.dark .booklet-detail-empty {
    border-color: #2a2a2a;
    background: #1d1d1d;
}

.tw-dark .booklet-detail-soft h3,
.dark .booklet-detail-soft h3,
.tw-dark .booklet-detail-preview-title,
.dark .booklet-detail-preview-title {
    color: #f3f4f6;
}

.tw-dark .booklet-detail-lite-head .booklet-detail-preview-title span[class*="tw-icon-"],
.dark .booklet-detail-lite-head .booklet-detail-preview-title span[class*="tw-icon-"] {
    background: #3b82f6;
    color: #fff;
}

.tw-dark .booklet-detail-lite-toggle,
.dark .booklet-detail-lite-toggle {
    border-color: #2f4d78;
    background: #172033;
    color: #bfdbfe;
}

.tw-dark .booklet-detail-lite-toggle:hover,
.dark .booklet-detail-lite-toggle:hover {
    border-color: #3b68a6;
    background: #1d2b43;
}

.tw-dark .booklet-detail-lite-toggle.is-active,
.dark .booklet-detail-lite-toggle.is-active {
    border-color: #60a5fa;
    background: #172033;
    color: #bfdbfe;
}

.tw-dark .booklet-detail-lite-switch,
.dark .booklet-detail-lite-switch {
    background: #2f4d78;
}

.tw-dark .booklet-detail-lite-switch span[class*="tw-icon-"],
.dark .booklet-detail-lite-switch span[class*="tw-icon-"] {
    background: #0f172a;
    color: #bfdbfe;
}

.tw-dark .booklet-detail-lite-toggle.is-active .booklet-detail-lite-switch,
.dark .booklet-detail-lite-toggle.is-active .booklet-detail-lite-switch {
    background: #3b82f6;
}

.tw-dark .booklet-detail-lite-toggle.is-active .booklet-detail-lite-switch span[class*="tw-icon-"],
.dark .booklet-detail-lite-toggle.is-active .booklet-detail-lite-switch span[class*="tw-icon-"] {
    color: #93c5fd;
}

.tw-dark .booklet-detail-stat span,
.dark .booklet-detail-stat span {
    color: #a3a3a3;
}

.tw-dark .booklet-detail-stat b,
.dark .booklet-detail-stat b {
    color: #f3f4f6;
}

.tw-dark .booklet-detail-preview-box,
.dark .booklet-detail-preview-box {
    color: #a3a3a3;
    background:
        linear-gradient(45deg, rgba(255, 255, 255, .045) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, .045) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .045) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .045) 75%);
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.tw-dark .booklet-detail-drop,
.dark .booklet-detail-drop {
    border-color: #2a2a2a;
    background: #171717;
}

.tw-dark .booklet-related-case,
.dark .booklet-related-case {
    border-color: #2a2a2a;
    background: #171717;
}

.tw-dark .booklet-related-more,
.dark .booklet-related-more {
    color: #a3a3a3;
}

.tw-dark .booklet-related-more:hover,
.dark .booklet-related-more:hover {
    color: #7dd3fc;
}

.tw-dark .booklet-related-more span:not([class*="tw-icon-"]),
.dark .booklet-related-more span:not([class*="tw-icon-"]) {
    border-color: #2563eb;
    background: rgba(37, 99, 235, .14);
    color: #7dd3fc;
}

.tw-dark .booklet-related-more:hover span:not([class*="tw-icon-"]),
.dark .booklet-related-more:hover span:not([class*="tw-icon-"]) {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, .12);
}

.tw-dark .booklet-related-case:hover,
.dark .booklet-related-case:hover {
    border-color: #3b82f6;
    background: #202020;
}

.tw-dark .booklet-related-case-media,
.dark .booklet-related-case-media {
    background: #111827;
}

.tw-dark .booklet-related-case-id,
.dark .booklet-related-case-id,
.tw-dark .booklet-related-case-badges em,
.dark .booklet-related-case-badges em {
    border-color: #333;
    background: rgba(23, 23, 23, .9);
}

.tw-dark .booklet-related-case-title,
.dark .booklet-related-case-title {
    color: #f3f4f6;
}

.tw-dark .booklet-related-case-title:hover,
.dark .booklet-related-case-title:hover {
    color: #7dd3fc;
}

.tw-dark .booklet-related-case-designer,
.dark .booklet-related-case-designer,
.tw-dark .booklet-related-case-stats,
.dark .booklet-related-case-stats {
    color: #a3a3a3;
}

.tw-dark .booklet-related-case-stats,
.dark .booklet-related-case-stats {
    border-top-color: #2a2a2a;
}

.tw-dark .booklet-drop-tabs button,
.dark .booklet-drop-tabs button {
    border-color: #2a2a2a;
    background: #171717;
    color: #a3a3a3;
}

.tw-dark .booklet-drop-tabs button:hover,
.dark .booklet-drop-tabs button:hover,
.tw-dark .booklet-drop-tabs button.is-active,
.dark .booklet-drop-tabs button.is-active {
    border-color: #3b82f6;
    background: rgba(37, 99, 235, .14);
    color: #93c5fd;
}

.tw-dark .booklet-drop-tabs em,
.dark .booklet-drop-tabs em {
    background: #101010;
    color: #a3a3a3;
}

.tw-dark .booklet-drop-tabs button.is-active em,
.dark .booklet-drop-tabs button.is-active em {
    background: #2563eb;
    color: #fff;
}

.tw-dark .booklet-detail-drop:hover,
.dark .booklet-detail-drop:hover {
    border-color: #a855f7;
    background: #202020;
}

.tw-dark .booklet-detail-drop-icon,
.dark .booklet-detail-drop-icon {
    background: #101010;
}

.tw-dark .booklet-detail-drop-id,
.dark .booklet-detail-drop-id,
.tw-dark .booklet-detail-mini-id,
.dark .booklet-detail-mini-id {
    background: transparent;
    color: #94a3b8;
}

.tw-dark .booklet-detail-mini-icon,
.dark .booklet-detail-mini-icon {
    background: #101010;
    color: #cbd5e1;
}

.tw-dark .booklet-detail-drop b,
.dark .booklet-detail-drop b {
    color: #7dd3fc;
}

.tw-dark .booklet-detail-drop em,
.dark .booklet-detail-drop em,
.tw-dark .booklet-detail-empty,
.dark .booklet-detail-empty {
    color: #a3a3a3;
}

.tw-dark .booklet-detail-drop-rate,
.dark .booklet-detail-drop-rate {
    background: rgba(16, 185, 129, .16);
    color: #a7f3d0;
}

.tw-dark .booklet-detail-mini,
.dark .booklet-detail-mini {
    border-color: #2a2a2a;
    background: #171717;
    color: #f3f4f6;
}

.tw-dark .booklet-detail-mini.is-current,
.dark .booklet-detail-mini.is-current {
    border-color: #38bdf8;
    background: rgba(37, 99, 235, .14);
    box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .28);
}

.tw-dark .booklet-detail-mini:hover,
.dark .booklet-detail-mini:hover {
    border-color: #3b82f6;
    background: #202020;
}

.tw-dark .booklet-detail-mini-text b,
.dark .booklet-detail-mini-text b {
    color: #7dd3fc;
}

.tw-dark .booklet-detail-mini-text em,
.dark .booklet-detail-mini-text em {
    color: #a3a3a3;
}

.tw-dark .booklet-detail-zoombar,
.dark .booklet-detail-zoombar {
    background: #172033;
    color: #cbd5e1;
}

.tw-dark .booklet-detail-zoombar b,
.dark .booklet-detail-zoombar b,
.tw-dark .booklet-detail-zoombar button,
.dark .booklet-detail-zoombar button {
    background: #101010;
    color: #f3f4f6;
}

.tw-dark .booklet-clear-filter-btn,
.dark .booklet-clear-filter-btn {
    border-color: rgba(59, 130, 246, .24);
    background: rgba(59, 130, 246, .16);
    color: #93c5fd;
}

.tw-dark .booklet-clear-filter-btn:hover,
.dark .booklet-clear-filter-btn:hover {
    border-color: rgba(96, 165, 250, .38);
    background: rgba(59, 130, 246, .24);
}

.tw-dark .booklet-view-switch,
.dark .booklet-view-switch {
    border-color: #2a2a2a;
    background: #151515;
}

.tw-dark .booklet-view-switch-btn,
.dark .booklet-view-switch-btn {
    color: #94a3b8;
}

.tw-dark .booklet-view-switch-btn:hover,
.dark .booklet-view-switch-btn:hover {
    background: #202020;
    color: #f3f4f6;
}

.tw-dark .booklet-view-switch-btn.is-active,
.dark .booklet-view-switch-btn.is-active {
    background: #262626;
    color: #93c5fd;
    box-shadow: none;
}

.tw-dark .booklet-card-empty,
.dark .booklet-card-empty {
    color: #94a3b8;
}

.tw-dark .booklet-item-card,
.dark .booklet-item-card {
    border-color: #2b2b2b;
    background: #141414;
    color: #f3f4f6;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .02) inset;
}

.tw-dark .booklet-item-card:hover,
.dark .booklet-item-card:hover {
    border-color: #3b82f6;
    background: #181818;
}

.tw-dark .booklet-item-card-head,
.dark .booklet-item-card-head {
    border-bottom-color: #2a2a2a;
    background: #1e1e1e;
}

.tw-dark .booklet-item-card-icon,
.dark .booklet-item-card-icon {
    border-color: #333842;
    background: #0f0f0f;
    color: #94a3b8;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset;
}

.tw-dark .booklet-item-card-meta,
.dark .booklet-item-card-meta {
    color: #9ca3af;
}

.tw-dark .booklet-item-card-meta > span,
.dark .booklet-item-card-meta > span {
    border: 1px solid #303030;
    background: #151515;
    color: #cbd5e1;
}

.tw-dark .booklet-list-copy,
.dark .booklet-list-copy {
    color: #94a3b8;
}

.tw-dark .booklet-list-copy:hover,
.dark .booklet-list-copy:hover {
    border-color: #1e3a8a;
    background: rgba(37, 99, 235, .16);
    color: #93c5fd;
}

.tw-dark .booklet-uiv8-list .gear-page-btn,
.dark .booklet-uiv8-list .gear-page-btn {
    color: #cbd5e1;
}

.tw-dark .booklet-sticky-pager-inner,
.dark .booklet-sticky-pager-inner {
    box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

.tw-dark .booklet-uiv8-list .gear-page-btn:hover:not(:disabled),
.dark .booklet-uiv8-list .gear-page-btn:hover:not(:disabled),
.tw-dark .booklet-uiv8-list .gear-page-btn.is-active,
.dark .booklet-uiv8-list .gear-page-btn.is-active {
    background: #7c3aed;
    color: #fff;
}

.tw-dark .pagerRegion li a,
.dark .pagerRegion li a,
.tw-dark .pagerRegion li span,
.dark .pagerRegion li span {
    border-color: #2a2a2a;
    background: #171717;
    color: #cbd5e1;
}

.tw-dark .pagerRegion li a:hover,
.dark .pagerRegion li a:hover,
.tw-dark .pagerRegion li .now_page,
.dark .pagerRegion li .now_page,
.tw-dark .pagerRegion li a.now_page,
.dark .pagerRegion li a.now_page {
    border-color: #7c3aed;
    background: #7c3aed;
    color: #fff;
}

html.tw-dark body,
body.tw-dark,
html.dark body,
body.dark {
    background: #101010;
}

html.tw-dark .booklet-uiv8-list,
body.tw-dark .booklet-uiv8-list,
html.dark .booklet-uiv8-list,
body.dark .booklet-uiv8-list {
    color: #f3f4f6;
}

.set-category-legacy {
    display: none !important;
}

.set-filterbar {
    grid-template-columns: minmax(340px, 1fr) minmax(190px, 240px) 124px auto auto !important;
    align-items: center;
    overflow: visible;
}

.set-type-dropdown {
    position: relative;
    z-index: 20;
    min-width: 0;
}

.set-type-dropdown summary {
    display: flex;
    height: 40px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--set-border);
    border-radius: 7px;
    background: #fff;
    padding: 0 11px;
    color: #334155;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.set-type-dropdown summary::-webkit-details-marker {
    display: none;
}

.set-type-dropdown summary > span:first-child {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 18px;
}

.set-type-dropdown summary > span:nth-child(2) {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.set-type-dropdown summary em {
    color: var(--set-soft);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}

.set-type-dropdown summary i {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 18px;
    transition: transform .16s ease;
}

.set-type-dropdown[open] summary {
    border-color: rgba(37, 99, 235, .45);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .16);
}

.set-type-dropdown[open] summary i {
    transform: rotate(180deg);
}

.set-type-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 50;
    width: min(280px, calc(100vw - 24px));
    border: 1px solid var(--set-border);
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
}

.set-type-option {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    border-radius: 7px;
    padding: 0 9px;
    color: #334155;
    font-size: 13px;
}

.set-type-option:hover,
.set-type-option.is-active {
    background: #eff6ff;
    color: #2563eb;
}

.set-type-option > span:first-child {
    flex: 0 0 auto;
    font-size: 18px;
}

.set-type-option b {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 650;
}

.set-type-option em {
    color: var(--set-soft);
    font-size: 12px;
    font-style: normal;
}

.set-type-option i {
    flex: 0 0 auto;
    font-size: 15px;
}

.set-card-preview {
    height: 260px !important;
}

.set-card-preview img {
    transform: scale(1.12);
}

.dark .set-type-dropdown summary,
.tw-dark .set-type-dropdown summary,
.dark .set-type-menu,
.tw-dark .set-type-menu {
    border-color: rgba(255, 255, 255, .12);
    background: #171d24;
    color: #e5e7eb;
}

.dark .set-type-option,
.tw-dark .set-type-option {
    color: #e5e7eb;
}

.dark .set-type-option:hover,
.dark .set-type-option.is-active,
.tw-dark .set-type-option:hover,
.tw-dark .set-type-option.is-active {
    background: rgba(59, 130, 246, .14);
    color: #7dd3fc;
}

@media (max-width: 900px) {
    .set-filterbar {
        grid-template-columns: 1fr !important;
    }

    .set-type-menu {
        left: 0;
        right: auto;
        width: 100%;
    }

    .set-card-preview {
        height: 230px !important;
    }
}

@media (max-width: 640px) {
    .set-card-preview {
        height: 220px !important;
    }
}

.set-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 500px) !important;
}

.set-detail-grid > .tw-min-w-0 {
    grid-column: 1;
    grid-row: 1;
}

.set-preview-panel {
    grid-column: 2;
    grid-row: 1;
    top: 80px;
    padding: 12px;
}

.set-preview-figure figcaption.booklet-detail-lite-head {
    margin-bottom: 10px;
}

.set-lite-preview-box {
    min-height: 420px !important;
    padding: 0 !important;
    background: #f8fafc !important;
}

.set-lite-frame {
    width: 100%;
    height: 420px !important;
    border: 0;
}

.dark .set-lite-preview-box,
.tw-dark .set-lite-preview-box {
    background: #111827 !important;
}

@media (max-width: 1180px) {
    .set-detail-grid {
        grid-template-columns: minmax(0, 1fr) 430px !important;
    }

    .set-lite-preview-box {
        min-height: 390px !important;
    }

    .set-lite-frame {
        height: 390px !important;
    }
}

@media (max-width: 900px) {
    .set-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .set-detail-grid > .tw-min-w-0,
    .set-preview-panel {
        grid-column: auto;
        grid-row: auto;
    }

    .set-lite-preview-box {
        min-height: 360px !important;
    }

    .set-lite-frame {
        height: 360px !important;
    }
}

.tools-drop-panel {
    width: min(560px, calc(100vw - 24px));
    padding: 10px;
}

.tools-drop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.tools-drop-card {
    display: flex;
    min-width: 0;
    min-height: 64px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: #fff;
    padding: 9px 10px;
    color: #0f172a;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}

.tools-drop-card:hover,
.tools-drop-card:focus-visible {
    border-color: rgba(37, 99, 235, .32);
    background: #f8fbff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.tools-drop-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef6ff;
    color: #2563eb;
    font-size: 21px;
}

.tools-drop-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.tools-drop-title {
    overflow: hidden;
    color: #0f172a;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tools-drop-desc {
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.database-drop-panel {
    width: min(420px, calc(100vw - 24px));
    padding: 10px;
}

.database-drop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.database-drop-card {
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: #fff;
    padding: 8px 9px;
    color: #0f172a;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}

.database-drop-card:hover,
.database-drop-card:focus-visible {
    border-color: rgba(37, 99, 235, .32);
    background: #f8fbff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.database-drop-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef6ff;
    color: #2563eb;
    font-size: 19px;
}

.database-drop-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.database-drop-title {
    overflow: hidden;
    color: #0f172a;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.database-drop-desc {
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.database-drop-card:hover .database-drop-title,
.database-drop-card:focus-visible .database-drop-title {
    color: #1d4ed8;
}

.tools-drop-card:hover .tools-drop-title,
.tools-drop-card:focus-visible .tools-drop-title {
    color: #1d4ed8;
}

.tw-dark .tools-drop-panel,
.dark .tools-drop-panel {
    background: #171717;
}

.tw-dark .database-drop-panel,
.dark .database-drop-panel {
    background: #171717;
}

.tw-dark .tools-drop-card,
.dark .tools-drop-card {
    border-color: rgba(255, 255, 255, .1);
    background: #202020;
    color: #f8fafc;
}

.tw-dark .database-drop-card,
.dark .database-drop-card {
    border-color: rgba(255, 255, 255, .1);
    background: #202020;
    color: #f8fafc;
}

.tw-dark .tools-drop-card:hover,
.tw-dark .tools-drop-card:focus-visible,
.dark .tools-drop-card:hover,
.dark .tools-drop-card:focus-visible {
    border-color: rgba(56, 189, 248, .28);
    background: #242424;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
}

.tw-dark .database-drop-card:hover,
.tw-dark .database-drop-card:focus-visible,
.dark .database-drop-card:hover,
.dark .database-drop-card:focus-visible {
    border-color: rgba(56, 189, 248, .28);
    background: #242424;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
}

.tw-dark .tools-drop-icon,
.dark .tools-drop-icon {
    background: rgba(59, 130, 246, .15);
    color: #7dd3fc;
}

.tw-dark .database-drop-icon,
.dark .database-drop-icon {
    background: rgba(59, 130, 246, .15);
    color: #7dd3fc;
}

.tw-dark .tools-drop-title,
.dark .tools-drop-title {
    color: #f8fafc;
}

.tw-dark .database-drop-title,
.dark .database-drop-title {
    color: #f8fafc;
}

.tw-dark .tools-drop-desc,
.dark .tools-drop-desc {
    color: #a3a3a3;
}

.tw-dark .database-drop-desc,
.dark .database-drop-desc {
    color: #a3a3a3;
}

.tw-dark .tools-drop-card:hover .tools-drop-title,
.tw-dark .tools-drop-card:focus-visible .tools-drop-title,
.dark .tools-drop-card:hover .tools-drop-title,
.dark .tools-drop-card:focus-visible .tools-drop-title {
    color: #7dd3fc;
}

.tw-dark .database-drop-card:hover .database-drop-title,
.tw-dark .database-drop-card:focus-visible .database-drop-title,
.dark .database-drop-card:hover .database-drop-title,
.dark .database-drop-card:focus-visible .database-drop-title {
    color: #7dd3fc;
}

@media (max-width: 760px) {
    .tools-drop-panel {
        width: 100%;
        padding: 0;
    }

    .tools-drop-grid {
        grid-template-columns: 1fr;
    }

    .database-drop-panel {
        width: min(420px, calc(100vw - 24px));
        padding: 8px;
    }

    .database-drop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .database-drop-card {
        min-height: 54px;
        padding: 8px;
    }

    .database-drop-icon {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .database-drop-title {
        font-size: 13px;
    }

    .database-drop-desc {
        font-size: 11px;
    }
}

.booklet-list-search {
    border-color: rgba(59, 130, 246, .34) !important;
    background: #eff6ff !important;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .08);
}

.booklet-list-search:focus-within {
    border-color: rgba(37, 99, 235, .72) !important;
    background: #f8fbff !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.tw-dark .booklet-list-search,
.dark .booklet-list-search {
    border-color: rgba(56, 189, 248, .34) !important;
    background: rgba(14, 36, 61, .55) !important;
}

.booklet-mob-card-sortbar {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

.booklet-mob-card-sortbar > span {
    flex: 0 0 auto;
    border-radius: 6px;
    background: #eff6ff;
    padding: 5px 9px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 650;
}

.booklet-mob-card-sortbar .booklet-uiv8-sort {
    flex: 0 0 auto;
    height: 30px;
    border-radius: 6px;
    padding: 0 9px;
}

.tw-dark .booklet-mob-card-sortbar,
.dark .booklet-mob-card-sortbar {
    border-color: rgba(255, 255, 255, .1);
    background: #171d24;
}
.set-page{--set-border:rgba(148,163,184,.22);--set-soft:#64748b;--set-panel:#fff}.dark .set-page,.tw-dark .set-page{--set-border:rgba(255,255,255,.1);--set-soft:#a1a1aa;--set-panel:#171d24}.set-panel,.set-hero,.set-detail-head{border:1px solid var(--set-border);border-radius:8px;background:var(--set-panel)}.set-hero,.set-detail-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px}.set-hero-main,.set-detail-title{display:flex;min-width:0;align-items:center;gap:14px}.set-hero-icon{display:inline-flex;width:48px;height:48px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:8px;background:#eff6ff;color:#2563eb;font-size:26px}.dark .set-hero-icon,.tw-dark .set-hero-icon{background:rgba(59,130,246,.16);color:#7dd3fc}.set-hero h1,.set-detail-head h1{margin:4px 0 0;color:#0f172a;font-size:26px;font-weight:650;line-height:1.2}.dark .set-hero h1,.tw-dark .set-hero h1,.dark .set-detail-head h1,.tw-dark .set-detail-head h1{color:#f8fafc}.set-hero p,.set-detail-head p{margin-top:6px;color:var(--set-soft);font-size:14px;line-height:1.7}.set-hero-stats,.set-detail-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.set-hero-stats span{min-width:116px;border:1px solid var(--set-border);border-radius:8px;padding:9px 12px;color:var(--set-soft);font-size:12px;text-align:right}.set-hero-stats b{display:block;color:#0f172a;font-size:18px;font-weight:650}.dark .set-hero-stats b,.tw-dark .set-hero-stats b{color:#f8fafc}.set-type-link{display:flex;height:38px;align-items:center;gap:9px;border-radius:7px;padding:0 10px;color:#334155;font-size:14px;transition:background .15s ease,color .15s ease}.set-type-link:hover,.set-type-link.is-active{background:#eff6ff;color:#2563eb}.dark .set-type-link,.tw-dark .set-type-link{color:#d4d4d8}.dark .set-type-link:hover,.dark .set-type-link.is-active,.tw-dark .set-type-link:hover,.tw-dark .set-type-link.is-active{background:rgba(59,130,246,.14);color:#7dd3fc}.set-type-link em{margin-left:auto;color:var(--set-soft);font-size:12px;font-style:normal}.set-filterbar{display:grid;grid-template-columns:minmax(240px,1fr) 150px 124px auto auto;gap:10px;padding:12px}.set-filterbar select,.set-filterbar button,.set-mini-btn{display:inline-flex;height:40px;align-items:center;justify-content:center;gap:7px;border:1px solid var(--set-border);border-radius:7px;background:#fff;padding:0 12px;color:#334155;font-size:13px;font-weight:600}.set-filterbar button{border-color:#2563eb;background:#2563eb;color:#fff}.dark .set-filterbar select,.dark .set-mini-btn,.tw-dark .set-filterbar select,.tw-dark .set-mini-btn{background:#111827;color:#e5e7eb}.set-search{display:flex;height:40px;min-width:0;align-items:center;gap:9px;border:1px solid var(--set-border);border-radius:7px;background:#fff;padding:0 12px;color:var(--set-soft)}.dark .set-search,.tw-dark .set-search{background:#111827}.set-search input{min-width:0;flex:1;background:transparent;color:#0f172a;font-size:14px}.dark .set-search input,.tw-dark .set-search input{color:#f8fafc}.set-check{display:inline-flex;height:40px;align-items:center;justify-content:center;gap:7px;border:1px solid var(--set-border);border-radius:7px;padding:0 12px;color:#334155;font-size:13px}.dark .set-check,.tw-dark .set-check{color:#e5e7eb}.set-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--set-soft);font-size:13px}.set-result-head em{font-style:normal}.set-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.set-card{overflow:hidden;border:1px solid var(--set-border);border-radius:8px;background:var(--set-panel);transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.set-card:hover{border-color:rgba(37,99,235,.45);transform:translateY(-2px);box-shadow:0 16px 34px rgba(15,23,42,.08)}.dark .set-card:hover,.tw-dark .set-card:hover{box-shadow:0 16px 34px rgba(0,0,0,.28)}.set-card-preview{display:flex;height:190px;align-items:center;justify-content:center;background:linear-gradient(180deg,#f8fafc,#eef6ff);color:#94a3b8;font-size:34px}.dark .set-card-preview,.tw-dark .set-card-preview{background:#111827}.set-card-preview img{max-width:none;max-height:none}.set-card-body{padding:12px}.set-card-title{min-width:0;color:#0f172a;font-size:15px;font-weight:650;line-height:1.45}.set-card-title:hover{color:#2563eb}.dark .set-card-title,.tw-dark .set-card-title{color:#f8fafc}.set-card-kind{display:inline-flex;height:24px;flex:0 0 auto;align-items:center;gap:4px;border-radius:6px;background:#f1f5f9;padding:0 7px;color:#475569;font-size:12px}.dark .set-card-kind,.tw-dark .set-card-kind{background:rgba(255,255,255,.08);color:#cbd5e1}.set-card-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;color:var(--set-soft);font-size:12px}.set-card-tags,.set-detail-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.set-chip{display:inline-flex;min-height:22px;align-items:center;border-radius:6px;background:#f1f5f9;padding:3px 7px;color:#475569;font-size:12px;line-height:1.2}.set-chip.is-blue{background:#eff6ff;color:#2563eb}.set-chip.is-gold{background:#fff7ed;color:#c2410c}.dark .set-chip,.tw-dark .set-chip{background:rgba(255,255,255,.08);color:#d4d4d8}.dark .set-chip.is-blue,.tw-dark .set-chip.is-blue{background:rgba(59,130,246,.16);color:#7dd3fc}.dark .set-chip.is-gold,.tw-dark .set-chip.is-gold{background:rgba(251,146,60,.14);color:#fdba74}.set-detail-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:16px;align-items:start}.set-preview-panel{position:sticky;top:76px;padding:12px}.set-preview-figure+.set-preview-figure{margin-top:12px}.set-preview-figure figcaption{margin-bottom:8px;color:#334155;font-size:13px;font-weight:650}.dark .set-preview-figure figcaption,.tw-dark .set-preview-figure figcaption{color:#e5e7eb}.set-preview-box{display:flex;min-height:260px;align-items:center;justify-content:center;border-radius:8px;background:linear-gradient(180deg,#f8fafc,#eef6ff);color:#94a3b8;overflow:hidden}.dark .set-preview-box,.tw-dark .set-preview-box{background:#111827}.set-preview-box img{max-width:none;max-height:none}.set-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--set-border);padding:12px 14px}.set-section-head div{display:flex;align-items:center;gap:8px;color:#0f172a;font-size:15px;font-weight:650}.dark .set-section-head div,.tw-dark .set-section-head div{color:#f8fafc}.set-section-head em{color:var(--set-soft);font-size:12px;font-style:normal}.set-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px}.set-info-grid div{border-radius:8px;background:#f8fafc;padding:12px}.dark .set-info-grid div,.tw-dark .set-info-grid div{background:#111827}.set-info-grid span{display:block;color:var(--set-soft);font-size:12px}.set-info-grid b{display:block;margin-top:5px;color:#0f172a;font-size:15px;font-weight:650}.dark .set-info-grid b,.tw-dark .set-info-grid b{color:#f8fafc}.set-part-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.set-part{display:flex;min-width:0;gap:10px;border:1px solid var(--set-border);border-radius:8px;padding:10px;transition:border-color .15s ease,background .15s ease}.set-part:hover{border-color:rgba(37,99,235,.45);background:#eff6ff}.dark .set-part:hover,.tw-dark .set-part:hover{background:rgba(59,130,246,.12)}.set-part-icon{display:flex;width:46px;height:46px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:8px;background:#f8fafc;color:#94a3b8;font-size:22px}.dark .set-part-icon,.tw-dark .set-part-icon{background:#111827}.set-part-icon img{max-width:38px;max-height:38px;object-fit:contain}.set-part-main{min-width:0}.set-part-name{display:block;overflow:hidden;color:#0f172a;font-size:14px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.dark .set-part-name,.tw-dark .set-part-name{color:#f8fafc}.set-part-id,.set-part-type{display:block;margin-top:2px;color:var(--set-soft);font-size:12px}.set-effect-list{display:grid;gap:10px;padding:12px}.set-effect-card{border:1px solid var(--set-border);border-radius:8px;padding:12px}.set-effect-count{margin-bottom:9px;color:#2563eb;font-size:14px;font-weight:650}.set-effect-stats{display:flex;flex-wrap:wrap;gap:8px}.set-effect-stats span{display:inline-flex;align-items:center;gap:6px;border-radius:7px;background:#f8fafc;padding:7px 9px;font-size:13px}.dark .set-effect-stats span,.tw-dark .set-effect-stats span{background:#111827}.set-effect-stats em{color:var(--set-soft);font-style:normal}.set-effect-stats b{color:#0f172a;font-weight:650}.dark .set-effect-stats b,.tw-dark .set-effect-stats b{color:#f8fafc}.set-empty{padding:28px;color:var(--set-soft);text-align:center}@media (max-width:1180px){.set-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.set-hero,.set-detail-head{align-items:flex-start;flex-direction:column}.set-hero-stats{width:100%;justify-content:stretch}.set-hero-stats span{flex:1;text-align:left}.set-filterbar{grid-template-columns:1fr}.set-detail-grid{grid-template-columns:1fr}.set-preview-panel{position:static}}@media (max-width:640px){.set-hero-main,.set-detail-title{align-items:flex-start}.set-card-grid,.set-part-grid,.set-info-grid{grid-template-columns:1fr}.set-card-preview{height:176px}}.set-category-legacy{display:none!important}.set-filterbar{grid-template-columns:minmax(340px,1fr) minmax(190px,240px) 124px auto auto!important;align-items:center;overflow:visible}.set-type-dropdown{position:relative;z-index:20;min-width:0}.set-type-dropdown summary{display:flex;height:40px;align-items:center;gap:8px;border:1px solid var(--set-border);border-radius:7px;background:#fff;padding:0 11px;color:#334155;font-size:13px;font-weight:650;cursor:pointer;list-style:none}.set-type-dropdown summary::-webkit-details-marker{display:none}.set-type-dropdown summary>span:first-child{flex:0 0 auto;color:#2563eb;font-size:18px}.set-type-dropdown summary>span:nth-child(2){min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.set-type-dropdown summary em{color:var(--set-soft);font-size:12px;font-style:normal;font-weight:500}.set-type-dropdown summary i{flex:0 0 auto;color:#94a3b8;font-size:18px;transition:transform .16s ease}.set-type-dropdown[open] summary{border-color:rgba(37,99,235,.45);box-shadow:inset 0 0 0 1px rgba(37,99,235,.16)}.set-type-dropdown[open] summary i{transform:rotate(180deg)}.set-type-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:50;width:min(280px,calc(100vw - 24px));border:1px solid var(--set-border);border-radius:8px;background:#fff;padding:6px;box-shadow:0 18px 42px rgba(15,23,42,.16)}.set-type-option{display:flex;min-height:38px;align-items:center;gap:9px;border-radius:7px;padding:0 9px;color:#334155;font-size:13px}.set-type-option:hover,.set-type-option.is-active{background:#eff6ff;color:#2563eb}.set-type-option>span:first-child{flex:0 0 auto;font-size:18px}.set-type-option b{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.set-type-option em{color:var(--set-soft);font-size:12px;font-style:normal}.set-type-option i{flex:0 0 auto;font-size:15px}.set-card-preview{height:260px!important}.set-card-preview img{transform:scale(1.12)}.dark .set-type-dropdown summary,.tw-dark .set-type-dropdown summary,.dark .set-type-menu,.tw-dark .set-type-menu{border-color:rgba(255,255,255,.12);background:#171d24;color:#e5e7eb}.dark .set-type-option,.tw-dark .set-type-option{color:#e5e7eb}.dark .set-type-option:hover,.dark .set-type-option.is-active,.tw-dark .set-type-option:hover,.tw-dark .set-type-option.is-active{background:rgba(59,130,246,.14);color:#7dd3fc}@media (max-width:900px){.set-filterbar{grid-template-columns:1fr!important}.set-type-menu{left:0;right:auto;width:100%}.set-card-preview{height:230px!important}}@media (max-width:640px){.set-card-preview{height:220px!important}}

.set-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 500px) !important;
}

.set-detail-grid > .tw-min-w-0 {
    grid-column: 1;
    grid-row: 1;
}

.set-preview-panel {
    grid-column: 2;
    grid-row: 1;
    top: 80px;
    padding: 12px;
}

.set-preview-figure figcaption.booklet-detail-lite-head {
    margin-bottom: 10px;
}

.set-lite-preview-box {
    min-height: 420px !important;
    padding: 0 !important;
    background: #f8fafc !important;
}

.set-lite-frame {
    width: 100%;
    height: 420px !important;
    border: 0;
}

.dark .set-lite-preview-box,
.tw-dark .set-lite-preview-box {
    background: #111827 !important;
}

@media (max-width: 1180px) {
    .set-detail-grid {
        grid-template-columns: minmax(0, 1fr) 430px !important;
    }

    .set-lite-preview-box {
        min-height: 390px !important;
    }

    .set-lite-frame {
        height: 390px !important;
    }
}

@media (max-width: 900px) {
    .set-detail-grid {
        grid-template-columns: 1fr !important;
    }

    .set-detail-grid > .tw-min-w-0,
    .set-preview-panel {
        grid-column: auto;
        grid-row: auto;
    }

    .set-lite-preview-box {
        min-height: 360px !important;
    }

    .set-lite-frame {
        height: 360px !important;
    }
}
