/* CDM-116 PC feed polish from 2026-10-25 screenshot.
 * Only affects DESKTOP + saved LIGHT appearance. Dark and mobile untouched.
 * Never crops author media or changes interaction handlers. */
@media (min-width:1024px) {
  html[data-bbs-appearance="light"] .discovery-app-shell .post-list.discovery-list--feed {
    row-gap:28px;
    column-gap:22px;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed > .discovery-card {
    background:#fff!important;
    border:1px solid #d9dee6!important;
    border-radius:13px!important;
    box-shadow:0 2px 11px rgba(22,33,48,.035)!important;
    overflow:hidden;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-photo {
    position:relative;
    background:#eef0f3!important;
    border-bottom:1px solid #e1e5eb;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-photo :is(img,video) {
    object-fit:contain!important;
    max-width:100%;
    max-height:100%;
  }
  /* Place the photo navigation inside the image frame, not at card edges. */
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-photo-arrow {
    top:50%!important;
    width:32px!important;
    height:34px!important;
    padding:0!important;
    font-size:23px!important;
    font-weight:600;
    border:1px solid rgba(114,124,136,.6)!important;
    border-radius:9px!important;
    background:rgba(255,255,255,.88)!important;
    color:#334255!important;
    box-shadow:0 2px 8px rgba(0,0,0,.12)!important;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-photo-arrow:hover:not(:disabled) {
    background:#fff!important;
    color:#1c2838!important;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-photo-prev {
    left:10px!important;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-photo-next {
    right:10px!important;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-media-count {
    top:12px!important;
    right:12px!important;
    bottom:auto!important;
    left:auto!important;
    padding:5px 9px!important;
    border-radius:14px!important;
    background:rgba(20,25,31,.8)!important;
    color:#fff!important;
    font-size:11px!important;
    line-height:1.25;
    letter-spacing:0;
    box-shadow:none!important;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-info {
    padding:13px 14px 13px!important;
    gap:9px;
    background:#fff!important;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-title {
    color:#202731!important;
    font-size:15px;
    line-height:1.5;
    min-height:3em;
    max-height:3em;
    font-weight:750;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .discovery-meta {
    color:#596474!important;
    font-size:12px;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .reaction-summary-bar {
    color:#545e6a!important;
    font-size:12px;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .post-action-bar {
    background:#f9fafc!important;
    border:1px solid #d7dce5!important;
    border-radius:10px!important;
    margin:2px 0 0!important;
    overflow:hidden;
    min-height:45px;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .post-action-segment {
    color:#4e5866!important;
    font-size:12px;
    font-weight:650;
    gap:5px;
  }
  /* Existing white vector icons are invisible against light action bars. */
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .post-action-bar > button.post-action-segment:nth-child(2) > span[aria-hidden="true"],
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .post-action-bar .bookmark-btn > span[aria-hidden="true"] {
    filter:brightness(0) opacity(.70)!important;
    width:24px!important;
    min-width:24px!important;
    height:24px!important;
    min-height:24px!important;
    flex-basis:24px!important;
    background-size:20px 20px!important;
  }
  html[data-bbs-appearance="light"] .discovery-app-shell .discovery-list--feed .cdm116-inline-comment-icon {
    filter:brightness(0) opacity(.60)!important;
  }
}
