/* 闲置栏目只定义本栏目专属视觉，公共页头、页脚和基础卡片复用共享样式。 */
.second-page { background: #f4faff; }
.second-page .second-grid { margin-top: 16px; }
.second-ad { padding: 0; border: 0; background: #d9ecff; }
.second-ad img { display: block; width: 100%; height: 100%; object-fit: cover; }
.second-page .top-ad { margin-top: 14px; }
.second-page .bottom-ad { margin-top: 20px; }
.second-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 128px; padding: 22px 26px; overflow: hidden; border: 1px solid #c8dfff; border-radius: var(--radius); background: #eaf5ff url('/static/images/responsive-second/second-campus-hero-v1.png') center 51% / cover no-repeat; }
.second-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, #edf7ff 0%, rgb(237 247 255 / 94%) 38%, rgb(237 247 255 / 58%) 100%); content: ''; }
.second-hero > * { position: relative; z-index: 1; }
.second-hero h1 { margin: 0; color: #0d477e; font-size: 29px; line-height: 1.3; }
.second-hero p { margin: 7px 0 0; color: #385c82; font-size: 14px; }
.second-hero__actions { display: flex; gap: 8px; }
.second-hero__actions a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.second-hero__actions .secondary-button { background: #fb7e23; color: #fff; }
.second-hero__actions .secondary-button:hover { background: #e96e18; }
.second-filter-panel { overflow: visible; }
.second-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; padding: 12px; border-bottom: 1px solid #e8eef7; }
.second-categories button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 67px; padding: 5px 2px; border: 1px solid transparent; border-radius: 8px; background: #f7faff; color: #425a7c; font-size: 13px; }
.second-categories button i { font-size: 18px; }
.second-categories button.is-active { border-color: #b8d8ff; background: #eaf4ff; color: #096fe5; font-weight: 700; }
.second-categories button:hover { border-color: #b8d8ff; }
.category-expand { display: none; }
.second-filters { display: grid; gap: 14px; padding: 14px 16px 16px; }
.filter-price-row, .filter-choice { display: flex; align-items: center; gap: 9px; }
.filter-price-row > label, .filter-choice > span { flex: none; color: #677892; font-size: 13px; }
.filter-price-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }
.filter-price-controls input { width: 100px; min-height: 38px; padding: 0 10px; border: 1px solid #dae5f3; border-radius: 8px; background: #fff; color: #293c57; font-size: 13px; }
.filter-price-controls > span { color: #8a9aaf; }
.filter-price-controls button { min-height: 36px; padding: 0 13px; border: 0; border-radius: 8px; font-size: 13px; font-weight: 700; }
.filter-apply { background: var(--blue); color: #fff; }
.filter-reset { background: #eaf3ff; color: #116bd1; }
.filter-choice-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.segmented-control { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 12px; background: #f2f4f8; }
.segmented-control button { min-height: 34px; padding: 0 15px; border: 0; border-radius: 10px; background: transparent; color: #667387; font-size: 13px; white-space: nowrap; }
.segmented-control button.is-active { background: var(--blue); box-shadow: 0 1px 5px rgb(0 96 225 / 18%); color: #fff; font-weight: 700; }
.second-main-ad { padding: 0 12px 12px; }
.second-page .main-ad { height: 96px; }
.second-list-section { min-width: 0; }
.second-list-heading { display: flex; align-items: center; justify-content: space-between; min-height: 32px; padding: 0 4px; }
.second-list-heading h2 { margin: 0; color: #162f56; font-size: 17px; }
.second-list-heading h2::before { display: inline-block; width: 4px; height: 18px; margin-right: 8px; border-radius: 3px; background: var(--blue); vertical-align: -4px; content: ''; }
.second-list-heading span { color: #8091a8; font-size: 13px; }
.second-list { display: grid; gap: 10px; }
.second-item { min-width: 0; padding: 13px 14px; border: 1px solid #e4edf8; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.second-item__head { display: flex; align-items: center; gap: 6px; min-width: 0; }
.second-badge { display: inline-flex; align-items: center; flex: none; min-height: 25px; padding: 2px 7px; border-radius: 6px; background: #eaf3ff; color: #1871d9; font-size: 11px; font-weight: 700; white-space: nowrap; }
.second-badge--sell { background: #e9faee; color: #169358; }
.second-badge--want { background: #fff0e5; color: #e37618; }
.second-badge--books { background: #fff3e8; color: #de7c2b; }
.second-badge--daily { background: #e8f8f0; color: #1b9a65; }
.second-badge--sports { background: #e8f4ff; color: #2978d2; }
.second-badge--games { background: #f4edff; color: #7753bd; }
.second-item h3 { min-width: 0; margin: 0; overflow: hidden; color: #152f58; font-size: 15px; line-height: 1.45; white-space: nowrap; text-overflow: ellipsis; }
.second-item h3 a:hover { color: var(--blue); }
.second-author { flex: none; margin-left: auto; color: #7b8ca5; font-size: 12px; white-space: nowrap; }
.second-item > p { margin: 7px 0 9px; color: #71829c; font-size: 13px; line-height: 1.5; }
.second-item__body { display: flex; justify-content: space-between; gap: 12px; }
.second-photos { display: flex; flex-wrap: nowrap; gap: 6px; min-width: 0; }
.second-photos img { display: block; width: 110px; height: 74px; object-fit: cover; border-radius: 6px; }
.second-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 15px; min-width: 0; }
.second-item__side > strong { color: #ed3e35; font-size: 18px; line-height: 1; white-space: nowrap; }
.second-stats { display: flex; align-items: center; gap: 10px; color: #8291a8; font-size: 12px; white-space: nowrap; }
.second-stats span, .second-stats button { display: inline-flex; align-items: center; gap: 4px; }
.second-stats button { padding: 0; border: 0; background: transparent; color: inherit; font-size: inherit; }
.second-empty { padding: 30px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: #75869f; text-align: center; }
.second-sidebar .search-card > div { grid-template-columns: 76px minmax(0, 1fr) 46px; }
.second-sidebar .search-card button { padding: 0; }
.second-sidebar .side-channel-grid a { min-height: 66px; background: #f4f9ff; color: #245991; }
.second-sidebar .side-channel-grid a.is-active { background: #1478ec; color: #fff; }
.second-sidebar .side-card header h2::before { height: 16px; }
.second-sidebar .side-rows { margin: 0; padding: 5px 13px 10px; list-style: none; }
.second-sidebar .side-rows li { display: flex; justify-content: space-between; gap: 8px; min-width: 0; padding: 7px 0; border-bottom: 1px solid #edf2f8; color: #506582; font-size: 13px; }
.second-sidebar .side-rows li:last-child { border-bottom: 0; }
.second-sidebar .side-rows li span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.second-sidebar .side-rows li time, .second-sidebar .side-rows li em { flex: none; color: #899ab0; font-size: 12px; font-style: normal; }
.second-sidebar .side-rows li b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 5px; border-radius: 4px; background: #ff624d; color: #fff; font-size: 12px; }
.second-sidebar .side-rows li:nth-child(2) b { background: #ff8a1e; }
.second-sidebar .side-rows li:nth-child(n+4) b { background: #e9eff8; color: #48617d; }
.second-sidebar .side-ad { height: 304px; }
.second-sidebar .side-ad img { object-position: center; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; margin-top: 12px; color: #7588a5; font-size: 13px; }
.breadcrumbs + .second-grid { margin-top: 8px; }
.second-detail { padding: 10px; }
.detail-gallery > img { display: block; width: 100%; height: 390px; object-fit: cover; border-radius: 8px; }
.detail-thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.detail-thumbnails button { min-width: 0; height: 80px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: #fff; }
.detail-thumbnails button.is-active { border-color: var(--blue); }
.detail-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-main-copy { padding: 14px 2px 2px; }
.detail-main-copy h1 { margin: 0 0 8px; color: #152f59; font-size: 25px; line-height: 1.35; }
.detail-tags { display: flex; gap: 7px; }
.detail-tags .second-badge { min-height: 30px; padding-inline: 11px; font-size: 13px; }
.detail-price { margin-top: 8px; color: #ed3e35; font-size: 29px; font-weight: 800; }
.detail-price del { margin-left: 8px; color: #a0aec1; font-size: 15px; font-weight: 400; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; color: #7184a2; font-size: 13px; }
.detail-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; padding: 10px 0; border-bottom: 1px solid #e7eef8; }
.detail-actions button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 0; border-right: 1px solid #e7eef8; background: #fff; color: #5d7091; font-size: 14px; }
.detail-actions button:last-child { border-right: 0; }
.detail-actions i { color: #5274ad; font-size: 18px; }
.detail-description { margin: 13px 0; color: #546a8e; font-size: 15px; line-height: 1.7; }
.seller-card { display: flex; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid #e7eef8; }
.seller-avatar, .comment-avatar { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: 50%; background: #d9ecff; color: #1574d8; font-weight: 800; }
.seller-card strong, .seller-card span { display: block; }
.seller-card strong { color: #263d64; font-size: 16px; }
.seller-card span { color: #788aa5; font-size: 13px; }
.contact-card { padding: 16px; border-radius: 10px; background: #edf6ff; }
.contact-card > div { display: flex; align-items: center; gap: 12px; }
.contact-card > div > i { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #d9ebff; color: var(--blue); font-size: 20px; }
.contact-card strong, .contact-card small { display: block; }
.contact-card small { color: #7185a3; }
.contact-card button { width: 100%; min-height: 42px; margin-top: 12px; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 700; }
.detail-comments .comment-item { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #e8eef6; }
.detail-comments .comment-item:last-child { border-bottom: 0; }
.detail-comments .comment-item > div:nth-child(2) { flex: 1; min-width: 0; }
.detail-comments strong { font-size: 13px; }
.detail-comments time { margin-left: 8px; color: #8799b0; font-size: 12px; }
.detail-comments p { margin: 2px 0 0; color: #536987; font-size: 13px; }
.detail-comments button { padding: 3px 0; border: 0; background: none; color: #6c83a1; font-size: 12px; }
.related-panel { margin-top: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.related-grid a { min-width: 0; }
.related-grid img { display: block; width: 100%; height: 115px; object-fit: cover; border-radius: 7px; }
.related-grid span { display: block; overflow: hidden; margin-top: 6px; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.related-grid strong { color: #e54137; font-size: 15px; }
.second-publish-page .second-grid { margin-top: 18px; }
.publish-intro { display: flex; align-items: center; gap: 12px; min-height: 82px; padding: 14px 18px; border-radius: var(--radius); background: linear-gradient(105deg, #1677e9, #74d0f9); color: #fff; }
.publish-intro > i { font-size: 24px; }
.publish-intro strong, .publish-intro span { display: block; }
.publish-intro strong { font-size: 20px; }
.publish-intro span { font-size: 13px; }
.second-publish-form { display: grid; gap: 12px; }
.second-publish-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.publish-type legend { width: 100%; margin-bottom: 6px; color: #334a67; font-weight: 700; }
.publish-type legend small { color: #8798ad; font-weight: 400; }
.publish-type > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.publish-type button { min-height: 54px; border: 1px solid var(--choice-color); border-radius: 9px; background: #fff; color: var(--choice-color); font-size: 16px; font-weight: 800; }
.publish-type button[data-publish-type="sell"] { --choice-color: #1677f2; }
.publish-type button[data-publish-type="want"] { --choice-color: #fa7132; }
.publish-type button.is-active { background: var(--choice-color); color: #fff; }
.publish-type .type-icon-selected { display: none; }
.publish-type .type-icon-unselected { display: inline-block; }
.publish-type button.is-active .type-icon-selected { display: inline-block; }
.publish-type button.is-active .type-icon-unselected { display: none; }
.publish-card { min-width: 0; padding: 15px 16px; border: 1px solid #e5edf8; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.publish-card h2 { display: flex; gap: 7px; align-items: center; margin: 0 0 12px; color: #213b61; font-size: 16px; }
.publish-card h2 i { color: var(--blue); }
.publish-card em, .publish-field em { color: #ec493a; font-style: normal; }
.publish-category-list { display: flex; flex-wrap: wrap; gap: 6px; }
.publish-category-list button { min-height: 35px; padding: 0 10px; border: 1px solid #edf1f7; border-radius: 7px; background: #f6f8fc; color: #526781; font-size: 13px; }
.publish-category-list button.is-active { border-color: #0872df; background: #0872df; color: #fff; box-shadow: 0 3px 9px rgb(8 114 223 / 20%); font-weight: 700; }
.publish-category-list button.is-active::before { margin-right: 5px; content: "✓"; }
.publish-field { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: start; gap: 8px; margin-top: 14px; }
.publish-field > label, .publish-field-label { padding-top: 8px; color: #52647e; font-size: 13px; }
.publish-field input, .publish-field textarea { width: 100%; min-width: 0; min-height: 40px; padding: 9px 11px; border: 1px solid #dbe6f3; border-radius: 8px; background: #fff; color: #24354f; font-size: 14px; }
.publish-field textarea { min-height: 156px; resize: vertical; }
@media (max-width: 800px) { .second-publish-form textarea { font-size: 16px; } }
.publish-field-main { min-width: 0; }
.publish-field-main > small { display: block; margin-top: 3px; color: #8b9ab0; font-size: 12px; }
.publish-field-main > .publish-field-note { color: #ec8324; }
.publish-tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.publish-tag-box { display: inline-flex; flex: 1 1 220px; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 44px; padding: 6px 10px; border: 1.5px solid #dbe6f3; border-radius: 10px; background: #fff; }
.publish-tag-box:focus-within { border-color: #1677f2; box-shadow: 0 0 0 3px rgb(22 119 242 / 10%); }
.publish-tag-chips, .publish-tag-pool { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.publish-tag-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px 5px 11px; border-radius: 8px; background: #1677f2; color: #fff; font-size: 13px; }
.publish-tag-chip button { display: grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 30%); color: #fff; cursor: pointer; }
.publish-field .publish-tag-box #item-tag-input { flex: 1 1 100px; width: 100px; min-height: 30px; padding: 3px; border: 0; outline: 0; }
.publish-tag-pool button { min-height: 30px; padding: 4px 10px; border: 1px solid #dbe6f3; border-radius: 8px; background: #f8fafc; color: #526781; font-size: 13px; cursor: pointer; }
.publish-tag-pool button:hover, .publish-tag-pool button:focus-visible { border-color: #1677f2; color: #126cce; }
#item-tags { display: none; }
.publish-tip { padding: 9px 11px; border: 1px solid #d5e8ff; border-radius: 8px; background: #f1f8ff; color: #3f648d; font-size: 12px; }
.publish-tip strong { color: #1675dc; }
.publish-tip p { margin: 2px 0 0; }
.publish-templates { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.publish-templates button { min-height: 32px; padding: 0 8px; border: 1px solid #dce7f4; border-radius: 6px; background: #fff; color: #4a6383; font-size: 12px; }
.publish-templates button.is-active { border-color: #81b7fa; background: #eaf4ff; color: #126cce; font-weight: 700; }
.second-publish-form[data-mode="want"] .publish-templates button.is-active { border-color: #ffc196; background: #fff2e8; color: #d56b21; }
.publish-templates button:last-child { margin-left: auto; color: #df594f; }
.publish-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.publish-prices label { color: #536681; font-size: 13px; }
.publish-prices label > span { display: flex; align-items: center; height: 40px; margin-top: 5px; padding-left: 10px; border: 1px solid #dbe6f3; border-radius: 8px; }
.publish-prices b { font-size: 15px; }
.publish-prices input { min-height: 36px; border: 0; }
.publish-prices small { grid-column: 1 / -1; color: #8c9ab0; font-size: 12px; }
.publish-scope { display: flex; gap: 7px; }
.publish-scope button { min-height: 38px; padding: 0 15px; border: 1px solid #dce7f4; border-radius: 20px; background: #fff; color: #536781; font-size: 13px; }
.publish-scope button.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }
.publish-hint { margin: 7px 0 0; color: #899ab0; font-size: 12px; }
.publish-upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 140px; border: 1px dashed #b5c9e1; border-radius: 9px; background: #fbfdff; color: #677c9a; text-align: center; cursor: pointer; }
.publish-upload i { font-size: 25px; }
.publish-upload strong { color: #3e5a80; font-size: 14px; }
.publish-upload span { font-size: 12px; }
#item-images { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; color: #526783; font-size: 12px; }
.upload-names span { padding: 4px 7px; border-radius: 5px; background: #edf5ff; }
.publish-submit { min-height: 48px; border: 0; border-radius: 9px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 800; }
.publish-rules { padding: 14px; }
.publish-rules h2 { margin: 0; padding-bottom: 9px; border-bottom: 1px solid #e5edf6; font-size: 16px; }
.publish-rules ul { display: grid; gap: 9px; margin: 12px 0 0; padding-left: 19px; color: #5f718c; font-size: 13px; }
@media (max-width: 1100px) and (min-width: 801px) {
  .second-photos img { width: 88px; height: 66px; }
  .filter-choice-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .second-item__head { flex-wrap: wrap; }
  .second-author { margin-left: auto; }
}
@media (max-width: 800px) {
  .second-grid { display: flex; flex-direction: column; }
  .second-grid > .main-rail, .second-grid > .side-rail { display: contents; }
  .second-sidebar .channel-side { display: block; }
  .second-list-page .search-card { order: 1; }
  .second-list-page .second-hero { order: 2; }
  .second-list-page .second-filter-panel { order: 3; }
  .second-list-page .second-list-section { order: 4; }
  .second-list-page .channel-side { order: 5; }
  .second-list-page .notice-side { order: 6; }
  .second-list-page .hot-side { order: 7; }
  .second-list-page .side-ad-card { order: 8; }
  .second-list-page .latest-side { order: 9; }
  .second-detail-page .second-detail { order: 1; }
  .second-detail-page .main-ad-card { order: 2; }
  .second-detail-page .detail-comments { order: 3; }
  .second-detail-page .search-card { order: 4; }
  .second-detail-page .channel-side { order: 5; }
  .second-detail-page .notice-side { order: 6; }
  .second-detail-page .hot-side { order: 7; }
  .second-detail-page .side-ad-card { order: 8; }
  .second-detail-page .latest-side { order: 9; }
  .second-publish-page .publish-intro { order: 1; }
  .second-publish-page .publish-rules { order: 2; }
  .second-publish-page .second-publish-form { order: 3; }
  .second-publish-page .main-ad-card { order: 4; }
  .second-publish-page .channel-side { order: 5; }
  .second-publish-page .hot-side { order: 6; }
  .second-publish-page .latest-side { order: 7; }
  .second-publish-page .side-ad-card { order: 8; }
  .second-hero { min-height: 136px; }
  .second-sidebar { gap: 12px; }
  .second-sidebar .side-ad { height: 250px; }
  .second-page .main-ad { height: 82px; }
  .detail-gallery > img { height: 340px; }
}
@media (max-width: 600px) {
  .second-page .top-ad { height: 72px; }
  .second-page .second-grid { margin-top: 12px; }
  .second-hero { align-items: flex-start; flex-direction: column; min-height: 156px; padding: 16px; }
  .second-hero h1 { font-size: 22px; }
  .second-hero p { margin-top: 2px; font-size: 13px; }
  .second-hero__actions { width: 100%; }
  .second-hero__actions a { flex: 1; min-height: 42px; padding-inline: 8px; font-size: 13px; }
  .second-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 9px; }
  .second-categories button { min-height: 67px; font-size: 12px; }
  .second-categories:not(.is-expanded) button:nth-child(n+7) { display: none; }
  .category-expand { display: block; width: 100%; min-height: 38px; border: 0; border-bottom: 1px solid #e8eef7; background: #fff; color: #2775d1; font-size: 12px; }
  .category-expand i { margin-left: 4px; }
  .second-filters { gap: 13px; padding: 12px; }
  .filter-price-row, .filter-choice { align-items: flex-start; flex-direction: column; gap: 6px; }
  .filter-price-controls { width: 100%; gap: 5px; }
  .filter-price-controls input { flex: 1; width: 0; min-width: 0; height: 42px; }
  .filter-price-controls button { min-height: 42px; padding: 0 9px; }
  .filter-choice-row { align-items: stretch; flex-direction: column; gap: 11px; }
  .segmented-control { max-width: 100%; }
  .segmented-control button { min-height: 38px; padding: 0 15px; }
  .second-main-ad { padding: 0 9px 9px; }
  .second-item { padding: 12px; }
  .second-item__head { flex-wrap: wrap; gap: 5px; }
  .second-item h3 { flex: 0 0 100%; order: 2; font-size: 16px; white-space: normal; }
  .second-author { margin-left: auto; }
  .second-item > p { margin: 5px 0 9px; font-size: 13px; }
  .second-item__body { flex-direction: column; gap: 8px; }
  .second-photos img { width: min(29vw, 105px); height: 70px; }
  .second-item__side { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
  .second-item__side > strong { font-size: 17px; }
  .second-stats { gap: 9px; }
  .second-sidebar .side-ad { height: 220px; }
  .detail-gallery > img { height: min(64vw, 255px); }
  .detail-thumbnails { gap: 5px; }
  .detail-thumbnails button { height: 58px; }
  .detail-main-copy h1 { font-size: 20px; }
  .detail-price { font-size: 25px; }
  .detail-meta { gap: 6px 15px; }
  .detail-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-actions button { flex-direction: column; gap: 1px; min-height: 52px; font-size: 11px; }
  .detail-actions i { font-size: 17px; }
  .detail-comments .comment-item { padding: 10px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .related-grid img { height: 110px; }
  .publish-intro { min-height: 72px; padding: 11px 13px; }
  .publish-intro strong { font-size: 17px; }
  .publish-type button { min-height: 52px; font-size: 14px; }
  .publish-card { padding: 12px; }
  .publish-category-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .publish-category-list button { min-height: 40px; padding: 4px; font-size: 12px; }
  .publish-field { display: block; margin-top: 13px; }
  .publish-field > label, .publish-field-label { display: block; margin-bottom: 5px; padding: 0; }
  .publish-field input { min-height: 44px; }
  .publish-templates { gap: 5px; }
  .publish-templates button { min-height: 38px; }
  .publish-prices { gap: 8px; }
  .publish-upload { min-height: 125px; }
}
@media (max-width: 380px) {
  .second-hero__actions a { font-size: 12px; }
  .second-photos img { width: 27vw; height: 64px; }
  .second-stats { gap: 6px; font-size: 11px; }
  .filter-price-controls button { padding-inline: 7px; font-size: 12px; }
}

/* 正式闲置页沿用公开数据和广告投放结构，仅补足源模板没有的真实状态。 */
.second-page .top-ad, .second-page .bottom-ad { width: min(1280px, calc(100% - 32px)); }
.second-page .ad-slot { min-height: 0; }
.second-page .top-ad, .second-page .bottom-ad, .second-page .main-ad { min-height: 96px; }
.second-page .second-categories > span { display: grid; place-items: center; min-height: 67px; border-radius: 8px; background: #eaf4ff; color: #096fe5; font-weight: 700; }
.second-page .filter-price-controls .filter-reset { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 13px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.second-page .segmented-control > span { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 15px; border-radius: 10px; color: #667387; font-size: 13px; white-space: nowrap; }
.second-page .segmented-control > span.is-active { background: var(--blue); color: #fff; font-weight: 700; }
.second-page .segmented-control .second-unavailable { opacity: .55; cursor: not-allowed; }
.second-page .filter-school-row { display: flex; align-items: center; gap: 9px; color: #677892; font-size: 13px; }
.second-page .filter-school-row select { min-height: 38px; padding: 0 10px; border: 1px solid #dae5f3; border-radius: 8px; background: #fff; }
.second-page .second-sidebar .channel-side { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.second-page .second-sidebar .channel-side header { min-height: 44px; padding: 8px 14px; border-bottom: 1px solid #edf1f6; }
.second-page .second-sidebar .channel-side h2 { margin: 0; font-size: 16px; line-height: 1.4; }
.second-page .second-sidebar .channel-side h2::before { display: inline-block; width: 4px; height: 18px; margin-right: 8px; border-radius: 3px; background: var(--blue); vertical-align: -4px; content: ''; }
.second-page .second-filter-error { margin: 0; padding: 14px; color: #627891; }
.second-page .second-filter-error a { color: #096fe5; text-decoration: underline; }
.second-page .second-photos--empty { display: grid; place-items: center; flex-direction: column; width: 110px; height: 74px; border: 1px dashed #cbd9e9; border-radius: 6px; background: #f4f8fc; color: #69819b; font-size: 12px; }
.second-page .second-photos--empty i { font-size: 20px; }
.second-page .second-photos--empty span { display: block; }
.second-page .second-empty h3 { margin: 0 0 5px; font-size: 16px; }
.second-page .second-empty p { margin: 0; }
.second-page .second-feed-more { text-align: center; }
.second-page .second-feed-more a, .second-page .second-contact-return { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 8px; background: #eaf3ff; color: #116bd1; font-weight: 700; }
.second-page .detail-gallery__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 390px; border-radius: 8px; background: #f1f6fc; color: #7186a0; }
.second-page .detail-gallery__empty i { font-size: 42px; }
.second-page .detail-actions button:disabled { cursor: not-allowed; opacity: .65; }
.second-page .second-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.second-page .second-detail-tags li { padding: 3px 8px; border-radius: 6px; background: #f2f7fd; color: #577393; font-size: 12px; }
.second-page .second-contact-return { width: 100%; margin-top: 12px; }
.second-page .second-comments-unavailable { margin: 0; padding: 14px; color: #71829c; }
.second-page .public-ad-groups { width: min(1280px, calc(100% - 32px)); margin: 14px auto 0; }
.second-page .second-main-ad .public-ad-groups, .second-page .main-ad-card .public-ad-groups, .second-page .side-ad-card .public-ad-groups { width: 100%; margin: 0; }
.second-page .public-ad-groups__grid { display: grid; grid-template-columns: repeat(var(--ad-grid-columns), minmax(0, 1fr)); gap: 8px; }
.second-page .public-ad-groups__slot { position: relative; display: grid; place-items: center; min-width: min(100%, var(--ad-min-width)); min-height: var(--ad-min-height); aspect-ratio: var(--ad-aspect-width) / var(--ad-aspect-height); overflow: hidden; border-radius: 8px; background: #edf5fc; }
.second-page .public-ad-groups__slot > a { display: block; width: 100%; height: 100%; }
.second-page .public-ad-groups__slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.second-page .public-ad-groups__slot > span { position: absolute; right: 4px; bottom: 4px; padding: 1px 4px; background: #fff9; color: #465a72; font-size: 10px; }
@media(max-width:800px) { .second-page .main-ad { min-height: 82px; } }
@media(max-width:600px) {
  .second-page .top-ad, .second-page .bottom-ad { min-height: 72px; }
  .second-page .filter-school-row select { min-height: 44px; }
  .second-page .second-photos--empty { width: min(29vw, 105px); height: 70px; }
  .second-page .filter-price-controls .filter-reset { min-height: 42px; padding: 0 9px; }
  .second-page .detail-gallery__empty { height: min(64vw, 255px); }
}

