.compare-columns {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.compare-col {
    flex: 1;
    min-width: 0;
}

.compare-columns--single .compare-col--right {
    display: none;
}

.compare-columns--single .compare-col--left {
    flex: 1 1 100%;
}

.compare-columns--single .compare-col--left .banner-top-bar {
    display: block;
}

.compare-columns--single .compare-col--left .summary-grid {
    width: 100%;
}

.compare-columns--single .compare-col--left .equip-skill-row {
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
}

.compare-columns--single .compare-col--left .equip-skill-col--equip {
    flex: 0 0 auto;
    width: auto;
}

.compare-columns--single .compare-col--left .equip-skill-col--skill {
    flex: 1 1 0;
    width: auto;
}

.compare-columns--single .compare-col--left .wegame-tree-section {
    margin-top: 12px;
}

/* === 仅右列有构筑（--single-right）===
   镜像 --single 的所有规则，但把"左列"换成"右列"：
   - 隐藏左列
   - 右列拉满 100% 宽
   - 右列内部的 banner / summary / equip-skill / tree 等同单卡布局
   这样用户点构筑库卡片里的"对比"按钮（没有左列主构筑时）跳到入口页，
   右列自动加载的构筑就能按单卡效果完整显示，而不是窄窄一条。 */
.compare-columns--single-right .compare-col--left {
    display: none;
}

.compare-columns--single-right .compare-col--right {
    flex: 1 1 100%;
    display: block;
}

.compare-columns--single-right .compare-col--right .banner-top-bar {
    display: block;
}

.compare-columns--single-right .compare-col--right .summary-grid {
    width: 100%;
}

.compare-columns--single-right .compare-col--right .equip-skill-row {
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
}

.compare-columns--single-right .compare-col--right .equip-skill-col--equip {
    flex: 0 0 auto;
    width: auto;
}

.compare-columns--single-right .compare-col--right .equip-skill-col--skill {
    flex: 1 1 0;
    width: auto;
}

.compare-columns--single-right .compare-col--right .wegame-tree-section {
    margin-top: 12px;
}

.poe2-deep-library-page .page {
    padding-top: 20px;
}

.poe2-deep-library-page {
    margin-top: var(--navbar-height);
    min-height: calc(100vh - var(--navbar-height));
}

.poe2-deep-library-page #resultArea,
.poe2-deep-library-page #debugSection {
    display: none !important;
}

.compare-drop-bar {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.compare-drop-bar--inside {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 14px;
    margin-bottom: 0;
}

.compare-drop-zone {
    flex: 1;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--accent-gold-tint-strong);
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    transition: color 0.2s, transform 0.2s;
    cursor: pointer;
}

.compare-drop-zone.has-build {
    justify-content: center;
}

.compare-drop-zone.slot-selected {
    border-color: var(--accent-blue, #3b82f6);
    border-style: dashed;
    background: transparent;
    box-shadow: none;
}

.compare-drop-zone.drag-over {
    border-color: var(--brand);
    border-style: dashed;
    background: transparent;
    box-shadow: none;
    transform: translateY(-1px);
}

.compare-drop-hint {
    font-size: 13px;
    color: var(--muted);
    pointer-events: none;
    user-select: none;
}

.compare-drop-zone.drag-over .compare-drop-hint {
    color: var(--brand, #c9ab60);
}

.compare-drop-zone.has-build .compare-drop-hint {
    display: none;
}

.compare-drop-label {
    font-size: 12px;
    color: var(--brand-2, #e8d48b);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.compare-drop-build {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    min-width: 0;
    padding: 6px 12px;
}

.compare-drop-build__thumb {
    width: 38px;
    aspect-ratio: 2 / 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: visible;
}

.compare-drop-build__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
}

.compare-drop-build__thumb-fallback {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 800;
}

.compare-drop-build__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.compare-drop-build__name {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--brand-2, #e8d48b);
    font-size: 13px;
    font-weight: 800;
}

.compare-drop-build__meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
}

.compare-drop-build__dot {
    opacity: 0.72;
}

.compare-drop-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background: rgba(220, 80, 80, 0.2);
    color: #ff7a6e;
    font-size: 11px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.compare-drop-clear:hover {
    background: rgba(220, 80, 80, 0.4);
}

.compare-col .summary-grid:empty::before {
    content: "等待加载构筑摘要";
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    color: var(--muted);
    opacity: 0.55;
    font-size: 13px;
    border: 1px solid var(--divider-soft);
    border-radius: 12px;
    margin: 8px 0;
}

.season-build-panel {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 14px;
    align-items: stretch;
    position: relative;
    margin-bottom: 20px;
    padding: 16px;
    background: transparent;
    border: 0;
    border-radius: 14px;
}

.lib-sidebar {
    grid-column: 1;
    grid-row: 1;
    width: 160px;
    padding: 4px 16px 4px 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 0;
}

.lib-sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lib-season-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 162px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) transparent;
}

.lib-season-list::-webkit-scrollbar {
    width: 4px;
}

.lib-season-list::-webkit-scrollbar-track {
    background: transparent;
}

.lib-season-list::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 2px;
}

.lib-sidebar-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 4px;
}

.lib-sidebar-season {
    position: relative;
    width: 100%;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid var(--line);
    background: var(--card-bg-solid);
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: border-color 0.2s;
}

.lib-sidebar-season::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.7) 100%), var(--tab-bg, #0c0e14) center / cover no-repeat;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.lib-sidebar-season span {
    position: relative;
    z-index: 1;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    padding-bottom: 5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.lib-sidebar-season:hover {
    border-color: var(--brand);
}

.lib-sidebar-season:hover::before {
    opacity: 0.75;
}

.lib-sidebar-season.active {
    border-color: var(--brand);
}

.lib-sidebar-season.active::before {
    opacity: 1;
}

.lib-sidebar-season.active span {
    color: #fff;
}

.lib-sidebar-mode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    font: inherit;
    text-align: center;
}

.lib-sidebar-mode:hover {
    background: var(--accent-gold-tint);
    border-color: var(--accent-gold-tint-strong);
}

.lib-sidebar-mode.active {
    background: var(--chip-bg);
    border-color: var(--brand);
}

.lib-sidebar-mode span {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.lib-sidebar-mode.active span {
    color: var(--brand-2);
}

.lib-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 120px;
}

.lib-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.lib-main-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.lib-role-seg {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.lib-role-btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    background: var(--card-bg-solid);
    color: var(--muted);
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}

.lib-role-btn:hover {
    color: var(--text);
    background: var(--chip-bg);
}

.lib-role-btn.active {
    background: var(--chip-bg-active);
    color: var(--brand-2);
}

.lib-main-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.lib-view-btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--brand) 42%, transparent);
    background: color-mix(in srgb, var(--brand) 10%, transparent);
    color: var(--brand-2);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.05s ease;
}

.lib-view-btn:hover {
    background: color-mix(in srgb, var(--brand) 18%, transparent);
    border-color: color-mix(in srgb, var(--brand) 64%, transparent);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.lib-view-btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

.lib-story-view-only {
    display: flex;
    justify-content: center;
    padding: 24px 12px 10px;
}

.lib-story-view-only__btn {
    width: min(100%, 520px);
    min-height: 74px;
    border: 1px solid color-mix(in srgb, var(--brand) 58%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--brand) 14%, transparent);
    color: var(--brand-2);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 32px color-mix(in srgb, var(--brand) 10%, transparent);
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.08s ease;
}

.lib-story-view-only__btn:hover {
    border-color: var(--brand);
    background: color-mix(in srgb, var(--brand) 22%, transparent);
    color: var(--text);
    box-shadow: 0 16px 38px color-mix(in srgb, var(--brand) 16%, transparent);
    transform: translateY(-1px);
}

.lib-story-view-only__btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 10%, transparent);
}

.lib-delete-btn {
    padding: 8px 16px;
    border-radius: 6px;
    /* 默认就是 danger 语义（红色系，tint 底 + 红字 + 红细边），让用户一眼识别"破坏性操作" */
    border: 1px solid var(--danger-border);
    background: var(--danger-bg);
    color: var(--danger-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.05s ease;
}

.lib-delete-btn:hover {
    /* hover 时加深：红色实底 + 白字，按下去"危险感"更强 */
    background: var(--danger);
    color: #ffffff;
    border-color: var(--danger);
    box-shadow: var(--shadow-sm);
}

.lib-delete-btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

.lib-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 12px 14px;
    max-height: 446px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) transparent;
}

.lib-card-grid::-webkit-scrollbar {
    width: 5px;
}

.lib-card-grid::-webkit-scrollbar-track {
    background: transparent;
}

.lib-card-grid::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}

.season-build-card {
    position: relative;
    flex-shrink: 0;
    width: 128px;
    overflow: hidden;
    border-radius: 10px;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: grab;
    transition: filter 0.18s, transform 0.18s;
    user-select: none;
}

.season-build-card:active {
    cursor: grabbing;
}

.season-build-card.dragging {
    opacity: 0.35;
    transform: scale(0.93);
}

.season-build-card:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.season-build-card.active {
    z-index: 2;
    filter: brightness(1.1);
    outline: 3px dashed var(--brand);
    outline-offset: 6px;
}

.season-build-card.drop-target {
    filter: brightness(1.12);
    outline: 3px dashed var(--teal);
    outline-offset: 6px;
}

.season-build-thumb {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: transparent;
}

.season-build-thumb-tags {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    opacity: 0.8;
    pointer-events: none;
}

.season-build-thumb-tags .poe2-post-meta-badge {
    backdrop-filter: blur(6px);
}

.season-build-thumb-tags--story {
    justify-content: flex-start;
}

.season-build-story-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--brand) 36%, transparent);
    background: color-mix(in srgb, var(--card-bg-solid) 82%, transparent);
    color: var(--brand-2);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.season-build-story-tag--followed {
    border-color: color-mix(in srgb, var(--teal, #14b8a6) 40%, transparent);
    color: var(--teal, #14b8a6);
}

.season-build-story-tag--draft {
    border-color: color-mix(in srgb, var(--accent-gold, #d6a84f) 48%, transparent);
    color: var(--accent-gold, #d6a84f);
}

.season-build-card--story {
    cursor: pointer;
}

.season-build-thumb--story {
    border-radius: 10px;
}

.season-build-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.25s ease;
}

.season-build-card:hover .season-build-thumb img {
    transform: scale(1.05);
}

.season-build-thumb--text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: transparent;
}

.season-build-thumb-mark {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--brand-2);
    font-size: 22px;
    font-weight: 800;
}

.season-build-meta {
    padding: 8px 8px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.season-build-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.season-build-name.editable {
    cursor: text;
}

.season-build-name.editable:hover {
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 2px;
    text-decoration-color: var(--brand);
}

.season-build-name-input {
    width: 100%;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-2);
    background: var(--input-bg);
    border: 1px solid var(--brand);
    border-radius: 4px;
    padding: 1px 4px;
    outline: none;
    text-align: center;
}

.season-build-date {
    font-size: 10px;
    color: var(--muted);
    opacity: 0.75;
    line-height: 1.3;
}

.lib-add-card {
    border: 3px dashed var(--accent-gold-tint-strong) !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.lib-add-card:hover {
    border-color: var(--line-bright) !important;
    transform: none !important;
    box-shadow: none !important;
}

.lib-add-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    opacity: 0.92;
    transition: color 0.15s, opacity 0.15s;
}

.lib-add-card:hover .lib-add-card-inner {
    opacity: 1;
}

.lib-add-card:hover .lib-add-card-inner {
    color: var(--brand-2);
}

.lib-add-card-icon {
    font-size: 52px;
    line-height: 1;
    font-weight: 800;
}

.lib-add-card-label {
    font-size: 16px;
    font-weight: 900;
}

.abm-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 3px;
}

.abm-tab {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.18s;
    text-align: center;
}

.abm-tab:hover:not(.active) {
    color: var(--text-primary);
}

.abm-tab.active {
    color: var(--accent-blue, #3b82f6);
    background: var(--bg-primary);
}

.abm-pane {
    min-height: 80px;
}

.abm-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.abm-textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md, 8px);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font: inherit;
    font-size: 13px;
    line-height: 1.6;
    transition: border-color 0.2s;
}

.abm-textarea:focus {
    outline: none;
    border-color: var(--accent-blue, #3b82f6);
}

.abm-textarea::placeholder {
    color: var(--text-quaternary, var(--text-tertiary));
}

.abm-error {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-md, 8px);
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.22);
    color: var(--accent-red);
    font-size: 0.9rem;
}

.summary-layout--d {
    gap: 8px;
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.summary-hero {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.summary-hero-portrait {
    width: 72px;
    height: 108px;
    overflow: hidden;
    border-radius: 10px;
    background: transparent;
    border: none;
}

.summary-hero-portrait--link {
    display: block;
    cursor: pointer;
    transition: filter 0.16s ease, transform 0.16s ease;
}

.summary-hero-portrait--link:hover,
.summary-hero-portrait--link:focus-visible {
    outline: none;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.summary-hero-portrait--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.summary-hero-portrait--fallback {
    background: var(--panel-strong);
}

.summary-hero-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.summary-hero-title {
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.08;
    word-break: break-word;
}

.summary-hero-title--link {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.16s ease, transform 0.16s ease;
}

.summary-hero-title--link:hover,
.summary-hero-title--link:focus-visible {
    color: var(--accent-blue);
    outline: none;
    transform: translateY(-1px);
}

.summary-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.15;
}

.summary-hero-meta span + span::before {
    content: " - ";
    color: var(--chip-muted);
}

.summary-hero-class {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;
}

.summary-posts-details {
    margin-top: 8px;
}

.summary-posts-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-height: 382px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px 2px 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) transparent;
}

.summary-post-card {
    flex: 0 0 116px;
    width: 116px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: filter 0.16s ease, transform 0.16s ease;
}

.summary-post-card:hover,
.summary-post-card:focus-visible {
    outline: none;
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.summary-post-card__thumb {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: transparent;
}

.summary-post-card__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.summary-post-card__fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-2);
    font-size: 20px;
    font-weight: 800;
}

.summary-post-card__tags {
    position: absolute;
    z-index: 2;
    left: 6px;
    right: 6px;
    top: 6px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    opacity: 0.8;
    pointer-events: none;
}

.summary-post-card__body {
    padding: 7px 7px 8px;
    text-align: center;
}

.summary-post-card__title {
    color: var(--brand-2);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-post-card__date,
.summary-posts-empty {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.25;
}

.summary-posts-empty {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.banner-summary-hero-slot {
    margin-bottom: 2px;
}

.banner-summary-hero-slot:empty {
    display: none;
}

.banner-stats-wrap .summary-hero {
    display: none;
}

@media (max-width: 1024px) {
    .season-build-card {
        width: 118px;
    }

    .season-build-panel {
        grid-template-columns: 1fr;
    }

    .lib-sidebar {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 0 12px;
        margin-right: 0;
        margin-bottom: 12px;
        border-right: none;
        border-bottom: 0;
    }

    .lib-main {
        grid-column: 1;
        grid-row: auto;
    }

    .compare-drop-bar--inside {
        grid-column: 1;
        grid-row: auto;
    }

    .lib-sidebar-section {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    .lib-sidebar-label {
        margin-right: 4px;
    }

    .summary-hero {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .summary-hero-portrait {
        width: 64px;
        height: 96px;
    }

    .summary-hero-title {
        font-size: 18px;
    }

    .summary-hero-meta {
        gap: 8px;
        font-size: 12px;
    }

    .summary-hero-class {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .compare-columns {
        flex-direction: column;
        gap: 16px;
    }

    .compare-col {
        width: 100%;
    }

    .compare-columns--single .compare-col--left .equip-skill-row,
    .compare-columns--single-right .compare-col--right .equip-skill-row,
    .compare-columns--dual .compare-col .equip-skill-row {
        flex-direction: column;
    }

    .compare-columns--single .compare-col--left .equip-skill-col--equip,
    .compare-columns--single .compare-col--left .equip-skill-col--skill,
    .compare-columns--single-right .compare-col--right .equip-skill-col--equip,
    .compare-columns--single-right .compare-col--right .equip-skill-col--skill,
    .compare-columns--dual .compare-col .equip-skill-col--equip,
    .compare-columns--dual .compare-col .equip-skill-col--skill {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .season-build-panel {
        padding: 12px;
        margin-bottom: 16px;
    }

    .season-build-card {
        width: 108px;
    }

    .season-build-name {
        font-size: 11px;
    }

    .compare-drop-bar,
    .compare-drop-bar--inside {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }

    .compare-drop-zone {
        min-height: 64px;
        padding: 10px 12px;
    }

    .wegame-char-shell {
        margin-bottom: 8px;
    }

    .banner-summary-hero-slot {
        margin-bottom: 8px;
    }

    .abm-tabs {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .season-build-panel {
        padding: 10px;
        border-radius: 16px;
    }

    .lib-sidebar {
        gap: 8px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .lib-main-header {
        gap: 8px;
        flex-wrap: wrap;
    }

    .summary-hero {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 8px;
    }

    .summary-hero-portrait {
        width: 52px;
        height: 78px;
    }

    .summary-hero-title {
        font-size: 16px;
    }
}
