.home .body-image.a6-filter-enabled > .van-sticky,
.home .body-image.a6-filter-enabled > .a6-legacy-gallery-filter,
.home .body-image.a6-filter-enabled .body-image-hd,
.home .body-image.a6-filter-enabled > .van-list { display: none !important; }
#a6-gallery, #a6-gallery-modal { --ag-green: #08ba63; --ag-ink: #303536; --ag-muted: #737b7e; color: var(--ag-ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; box-sizing: border-box; }
#a6-gallery *, #a6-gallery-modal * { box-sizing: border-box; letter-spacing: 0; }
#a6-gallery [hidden] { display: none !important; }
#a6-gallery button, #a6-gallery-modal button { font: inherit; cursor: pointer; border: 1px solid #e2e7e5; border-radius: 5px; background: #fff; color: var(--ag-ink); line-height: 1.3; min-height: 42px; padding: 7px 10px; }
#a6-gallery button:focus-visible, #a6-gallery-modal button:focus-visible { outline: 2px solid #086c40; outline-offset: 2px; }
#a6-gallery button[aria-pressed="true"], #a6-gallery-modal button[aria-pressed="true"] { background: var(--ag-green); border-color: var(--ag-green); color: #fff; font-weight: 600; }
#a6-gallery-modal button:disabled { color: #969e9a; background: #f6f7f6; cursor: not-allowed; }
#a6-gallery .ag-bar { display: flex; gap: 6px; padding: 8px; background: #fff; border-bottom: 1px solid #eef0ef; position: static; top: auto; z-index: auto; }
#a6-gallery .ag-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
#a6-gallery .ag-tabs::-webkit-scrollbar { display: none; }
#a6-gallery .ag-tabs button { white-space: nowrap; flex-shrink: 0; font-size: 14px; }
#a6-gallery .ag-more { flex-shrink: 0; display: flex; gap: 4px; align-items: center; color: #07974f; font-size: 14px; background: #f0faf4; border-color: #daeee1; }
#a6-gallery .ag-summary { display: flex; gap: 8px; justify-content: space-between; align-items: center; padding: 10px 9px; font-size: 12px; color: var(--ag-muted); background: #fff; }
#a6-gallery .ag-summary strong { font-weight: 500; color: var(--ag-ink); overflow-wrap: anywhere; }
#a6-gallery .ag-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0 8px 10px; align-items: start; }
#a6-gallery .ag-column { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
#a6-gallery .ag-picture { display: block; color: inherit; text-decoration: none; background: #fff; border: 1px solid #e9eeeb; border-radius: 5px; overflow: hidden; min-width: 0; }
#a6-gallery .ag-image { position: relative; overflow: hidden; background: #f3f5f4; }
#a6-gallery .ag-image img { width: 100%; height: auto; display: block; }
#a6-gallery .ag-issue { position: absolute; top: 5px; right: 5px; padding: 2px 5px; border-radius: 4px; color: #fff; background: #555e5bc9; font-size: 11px; }
#a6-gallery .ag-caption { padding: 7px 8px; }
#a6-gallery .ag-name { display: block; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
#a6-gallery .ag-series { display: flex; justify-content: space-between; gap: 4px; margin-top: 4px; font-size: 11px; color: var(--ag-muted); }
#a6-gallery .ag-status { text-align: center; padding: 28px 12px; color: var(--ag-muted); background: #fff; font-size: 14px; }
#a6-gallery .ag-load { display: block; width: calc(100% - 16px); margin: 0 8px 15px; }
#a6-gallery svg, #a6-gallery-modal svg { width: 18px; height: 18px; flex-shrink: 0; }
#a6-gallery-modal { position: fixed; inset: 0; z-index: 3200; background: #0008; padding: 14px; display: flex; align-items: center; justify-content: center; }
#a6-gallery-modal[hidden] { display: none !important; }
#a6-gallery-modal .ag-dialog { width: min(100%, 520px); max-height: min(88vh,850px); max-height: min(88dvh,850px); display: flex; flex-direction: column; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 40px #0002; }
#a6-gallery-modal .ag-dialog-hd { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid #edf0ee; flex-shrink: 0; }
#a6-gallery-modal h2 { font-size: 19px; font-weight: 600; margin: 0; }
#a6-gallery-modal .ag-close { border: 0; min-width: 42px; padding: 7px; display: grid; place-items: center; }
#a6-gallery-modal .ag-scroll { padding: 0 15px 16px; overflow: auto; overscroll-behavior: contain; }
#a6-gallery-modal .ag-section { padding-top: 18px; }
#a6-gallery-modal .ag-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
#a6-gallery-modal h3 { margin: 0; font-size: 16px; font-weight: 600; }
#a6-gallery-modal .ag-years { display: flex; gap: 6px; flex-wrap: wrap; }
#a6-gallery-modal .ag-years button { min-height: 36px; border: 0; padding: 4px 9px; font-size: 16px; color: #8b9290; font-weight: 600; }
#a6-gallery-modal .ag-years button[aria-pressed="true"] { color: #08a256; background: #eef9f2; }
#a6-gallery-modal .ag-options { display: grid; gap: 8px; grid-template-columns: repeat(3,minmax(0,1fr)); }
#a6-gallery-modal .ag-options button { font-size: 14px; min-width: 0; overflow-wrap: anywhere; display: flex; justify-content: center; align-items: center; gap: 5px; }
#a6-gallery-modal .ag-periods { grid-template-columns: repeat(4,minmax(0,1fr)); }
#a6-gallery-modal .ag-periods button { padding: 6px 3px; font-size: 13px; }
#a6-gallery-modal .ag-periods.ag-expanded { max-height: 206px; overflow: auto; padding: 2px; }
#a6-gallery-modal .ag-search { display: flex; margin-bottom: 10px; gap: 8px; }
#a6-gallery-modal .ag-search input { min-width: 0; flex: 1; height: 42px; border: 1px solid #e2e7e5; border-radius: 5px; background: #f7f8f7; padding: 0 10px; font-size: 16px; color: var(--ag-ink); }
#a6-gallery-modal .ag-search button { display: flex; align-items: center; gap: 4px; font-size: 14px; color: #fff; background: var(--ag-green); border-color: var(--ag-green); }
#a6-gallery-modal .ag-swatches { width: 17px; height: 17px; border-radius: 50%; background: conic-gradient(#ee4545,#f7bb27,#74be48,#13aece,#6547cc,#ec41a4,#ee4545); flex-shrink: 0; }
#a6-gallery-modal .ag-swatches.ag-bw { background: linear-gradient(#222 50%,#d3d5d4 50%); }
#a6-gallery-modal .ag-tag[data-tag="心水"] { color: #ef6572; }
#a6-gallery-modal .ag-tag[data-tag="爆款"] { color: #ed5334; }
#a6-gallery-modal .ag-tag[data-tag="推荐"] { color: #d69b10; }
#a6-gallery-modal .ag-tag[data-tag="精选"] { color: #1599c5; }
#a6-gallery-modal .ag-tag[data-tag="置顶"] { color: #d69b10; }
#a6-gallery-modal .ag-tag[data-tag="热门"] { color: #e47730; }
#a6-gallery-modal button[aria-pressed="true"] .ag-tag { color: #fff; }
#a6-gallery-modal button:disabled .ag-tag { opacity: .45; }
#a6-gallery-modal .ag-note { color: var(--ag-muted); font-size: 12px; margin: 10px 0 0; }
#a6-gallery-modal .ag-dialog-ft { display: grid; grid-template-columns: 1fr 2fr; gap: 9px; padding: 12px 15px max(12px,env(safe-area-inset-bottom)); border-top: 1px solid #edf0ee; flex-shrink: 0; background: #fff; }
#a6-gallery-modal .ag-dialog-ft button { min-height: 45px; font-size: 16px; font-weight: 600; }
#a6-gallery-modal .ag-confirm { color: #fff; background: var(--ag-green); border-color: var(--ag-green); }
#a6-gallery-modal .ag-reset { background: #f3f5f4; }
@media (max-width: 350px) { #a6-gallery-modal { padding: 8px; } #a6-gallery-modal .ag-scroll { padding-left: 10px; padding-right: 10px; } #a6-gallery-modal .ag-options { gap: 6px; } #a6-gallery-modal .ag-options button { font-size: 13px; padding-left: 4px; padding-right: 4px; } }
