.cases-content { width: 100%; max-width: none; margin: 0; padding-top: 28px; padding-bottom: 0; background: radial-gradient(circle at 82% -8%, rgba(242,140,24,.1), transparent 28rem); }
.cases-filter-panel { --cases-filter-top: 0px; position: sticky; top: var(--cases-filter-top); z-index: 12; padding: 22px 24px; background: #fff; border: 1px solid #e1e5ea; border-radius: 14px; box-shadow: 0 9px 26px rgba(31,35,41,.055); }
.cases-filter-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.cases-filter-head h1 { margin: 0; color: #1f2329; line-height: 1.5; }
.cases-filter-head h1 span { color: var(--poa-module-copy-color, #41505f); font-size: 13px; font-weight: 400; }
.cases-filter-head p { margin: 0; color: #41505f; font-size: 12px; }
.cases-filter-row { display: grid; grid-template-columns: minmax(280px,1.45fr) 68px repeat(3,minmax(145px,1fr)) minmax(188px,.78fr) 68px; gap: 12px; }
.case-search-field, .case-select { position: relative; display: flex; align-items: center; height: 44px; border: 1px solid #d9dee5; border-radius: 10px; background: #fff; }
.case-search-field { padding: 0 38px 0 36px; }
.case-search-field > i { position: absolute; left: 13px; color: #8b95a1; font-size: 14px; }
.case-search-field input { width: 100%; border: 0; outline: none; color: #1f2329; font-size: 13px; }
.case-search-field input::-webkit-search-cancel-button,
.case-search-field input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.case-search-field input::-ms-clear { display: none; width: 0; height: 0; }
.case-search-field button { position: absolute; right: 5px; width: 32px; height: 32px; border-radius: 50%; color: #a25109; font-size: 22px; line-height: 1; }
.case-search-field button:hover { background: #fff2df; }
.case-select { padding: 0 32px 0 13px; }
.case-select select { width: 100%; border: 0; outline: 0; appearance: none; color: #1f2329; background: transparent; font-size: 13px; cursor: pointer; }
.case-select::after { content: ""; position: absolute; right: 12px; width: 7px; height: 7px; border-right: 1.5px solid #8a939e; border-bottom: 1.5px solid #8a939e; transform: rotate(45deg) translateY(-3px); pointer-events: none; }
.case-search-field:focus-within, .case-select:focus-within { border-color: #f0a34e; box-shadow: 0 0 0 3px rgba(242,140,24,.12); }
.case-apply { height: 44px; border: 1px solid #efaa59; border-radius: 10px; color: var(--tro-btn-ink); background: #f28c18; font-size: 13px; font-weight: 700; }
.case-apply:hover { background: #db7607; }
.case-reset { height: 44px; border: 1px solid #edc18e; border-radius: 10px; color: #a85a12; background: #fffaf4; font-size: 13px; font-weight: 700; }
.case-reset:hover { background: #fff3e5; }
.case-contact-copy { position: relative; min-width: 0; height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 0 7px 0 13px; border: 1px solid #d9dee5; border-radius: 10px; background: #fff; }
.case-contact-copy strong { min-width: 0; overflow: hidden; color: #17283d; font: 800 13px/1 "DM Sans", sans-serif; letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.case-contact-copy button { min-width: 58px; height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 0 9px; border: 1px solid #f0d5b2; border-radius: 999px; color: #a85a12; background: #fffaf2; font-size: 11px; font-weight: 700; white-space: nowrap; transition: color .16s ease, border-color .16s ease, background .16s ease; }
.case-contact-copy button:hover, .case-contact-copy button:focus-visible { border-color: #f0a34e; color: #8d4908; background: #fff1dc; }
.case-contact-copy button:focus-visible { outline: 2px solid rgba(242,140,24,.25); outline-offset: 2px; }
.case-contact-copy button.is-copied { color: #286749; border-color: #b9ddca; background: #edf8f2; }
.case-copy-feedback { position: absolute; z-index: 30; top: calc(100% + 7px); right: 6px; padding: 7px 11px; border: 1px solid #b9ddca; border-radius: 7px; color: #286749; background: #f0faf5; box-shadow: 0 8px 20px rgba(27,68,48,.16); font-size: 11px; font-weight: 700; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(-5px); pointer-events: none; transition: opacity .18s ease, visibility .18s ease, transform .18s ease; }
.case-copy-feedback::before { content: ""; position: absolute; right: 20px; bottom: 100%; border: 5px solid transparent; border-bottom-color: #b9ddca; }
.case-copy-feedback.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.case-copy-feedback.is-error { color: #a34f41; border-color: #efc8bf; background: #fff7f5; }
.cases-result-count { margin: 7px 0 -3px; color: #41505f; font-size: 12px; }
.cases-insights { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 14px 0 31px; }
.cases-insights article { position: relative; min-height: 94px; padding: 17px 18px 14px; overflow: hidden; border: 1px solid #dfe5ec; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(31,43,58,.08); }
.cases-insights article::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: #f28c18; }
.cases-insights span, .cases-insights strong, .cases-insights small { display: block; }
.cases-insights span { color: #536b84; font-size: 12px; font-weight: 600; }
.cases-insights span i { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #f28c18; box-shadow: 0 0 0 3px rgba(242,140,24,.12); }
.cases-insights strong { margin-top: 3px; color: #16283d; font-size: 18px; line-height: 1.25; }
.cases-insights small { color: #41505f; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cases-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.cases-results-head h2 { margin: 0; color: #1f2329; font-size: 24px; letter-spacing: -.03em; }
.case-sort { display: flex; align-items: center; gap: 8px; color: #41505f; font-size: 12px; }
.case-list { display: grid; gap: 13px; }
.case-card { padding: 22px 24px 18px; border: 1px solid #f1be77; border-radius: 16px; background: linear-gradient(110deg,#fff8ec 0%,#fffdf9 68%); box-shadow: 0 10px 24px rgba(194,111,28,.08); transition: .2s ease; }
.case-card:hover { border-color: #f4be7c; box-shadow: 0 14px 28px rgba(194,111,28,.1); transform: translateY(-2px); }
.case-card-header { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px dashed #e3e7eb; }
.case-status-badge { display: flex; flex: 0 0 46px; flex-direction: column; align-items: center; justify-content: center; min-height: 60px; padding: 5px 4px; border: 1px solid #f1c58c; border-top: 3px solid #f28c18; border-radius: 10px; color: #a25109; background: #fff; font-size: 12px; font-weight: 800; line-height: 1.45; }
.case-card-heading { min-width: 0; flex: 1; }
.case-card h3 { margin: 0 0 11px; color: #16283d; font-size: 21px; line-height: 1.45; letter-spacing: -.02em; }
.case-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.case-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.case-badge.site { color: #1f664d; border: 1px solid #c9ebda; background: #eaf7f0; }.case-badge.issue { color: #a25109; border: 1px solid #f5d0a3; background: #fff9f1; }.case-badge.status { color: #4d5864; border: 1px solid #e3e7eb; background: #f4f6f8; }
.case-inline-section { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #e6e9ed; }
.case-inline-title { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: #4f5964; font-size: 12px; font-weight: 800; }.case-inline-title::before { content: ""; width: 3px; height: 14px; border-radius: 3px; background: #f28c18; }

.case-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 0; }.case-fact { padding: 9px 10px; border: 1px solid #eceff2; border-radius: 9px; background: #fbfcfd; }.case-fact dt,.case-fact dd { margin: 0; }.case-fact dt { color: #41505f; font-size: 10px; }.case-fact dd { margin-top: 2px; color: #343b43; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.case-summary { color: #41505f; font-size: 13px; line-height: 1.85; white-space: pre-line; }
.case-gallery { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }.case-gallery figure { margin: 0; overflow: hidden; aspect-ratio: 16/9; border: 1px solid #e5e8ed; border-radius: 8px; background: #f5f6f8; }.case-gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }.case-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-empty { display: none; padding: 56px 20px; border: 1px dashed #d8dde4; border-radius: 16px; color: #41505f; text-align: center; background: rgba(255,255,255,.58); }.case-empty.show { display: block; }.case-empty strong,.case-empty span { display: block; }.case-empty strong { margin-bottom: 4px; color: #1f2329; }
.case-card-footer { margin-top: 16px; padding-top: 13px; border-top: 1px dashed #e6e9ed; color: #895e37; font-size: 11px; }
.case-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 38px; margin-top: 24px; }
.case-pagination-status { color: #41505f; font-size: 12px; white-space: nowrap; }
.case-pagination-controls { display: flex; align-items: center; gap: 6px; }
.case-pagination button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 1px solid #dfe4ea; border-radius: 8px; color: #41505f; background: #fff; font-size: 13px; cursor: pointer; }
.case-pagination button:hover:not(:disabled) { border-color: #efaa59; color: #a25109; background: #fff8ef; }
.case-pagination button:focus-visible { outline: 3px solid rgba(242,140,24,.22); outline-offset: 2px; }
.case-pagination button.active { border-color: #f28c18; color: var(--tro-btn-ink); background: #f28c18; font-weight: 700; cursor: default; }
.case-pagination button:disabled:not(.active) { color: #b8bec6; background: #f5f6f7; cursor: not-allowed; }
.case-pagination-gap { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 36px; color: #41505f; font-size: 13px; }
.case-pagination .case-page-direction { color: #a85a12; }
.case-lightbox[hidden] { display: none; }
.case-lightbox { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 30px; background: rgba(10,14,18,.88); }.case-lightbox > button { position: absolute; top: 18px; right: 22px; z-index: 2; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: #fff; background: rgba(20,24,28,.56); font-size: 20px; line-height: 1; transition: color .16s ease, border-color .16s ease, background .16s ease, transform .2s ease; }.case-lightbox img { max-width: min(1100px,94vw); max-height: 88vh; object-fit: contain; }
.case-lightbox > button:hover, .case-lightbox > button:focus-visible { color: #ffd48b; border-color: rgba(255,212,139,.7); background: rgba(20,24,28,.8); }
.case-lightbox > button:focus-visible { outline: 2px solid #ffd48b; outline-offset: 2px; }
@media (min-width: 1500px) { .case-lightbox > button { right: calc(50% - 680px); } }
@media (max-width: 760px) { .case-lightbox > button { top: calc(50% + min(180px, 45vw)); right: auto; left: 50%; transform: translateX(-50%); } }
@media (max-width: 1580px) { .cases-filter-row { grid-template-columns: repeat(4,minmax(0,1fr)); }.case-search-field { grid-column: span 2; } }
@media (max-width: 1100px) { .cases-filter-row { grid-template-columns: repeat(3,minmax(0,1fr)); }.case-search-field,.case-contact-copy { grid-column: span 2; }.case-reset { grid-column: 3; }.cases-content { max-width: none; } }
@media (max-width: 900px) { .cases-filter-head { align-items: flex-start; flex-direction: column; gap: 3px; }.cases-filter-row { grid-template-columns: 1fr 1fr; }.case-search-field { grid-column: span 2; }.case-contact-copy,.case-reset { grid-column: auto; }.case-apply,.case-reset { width: 100%; }.cases-insights { grid-template-columns: repeat(2,1fr); }.case-facts { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 760px) { .cases-filter-panel { --cases-filter-top: 58px; transition: transform .56s cubic-bezier(.22,.75,.25,1), opacity .42s ease; will-change: transform, opacity; } .cases-filter-panel.is-footer-hidden { transform: translate3d(0, calc(-100% - 12px), 0); opacity: 0; pointer-events: none; } }
@media (max-width: 620px) { .cases-content { padding: 16px 12px 0; }.cases-filter-panel { padding: 14px 10px 12px; border-radius: 15px; }.cases-filter-head h1 { font-size: 14px; }.cases-filter-head h1 span { font-size: 12px; }.cases-filter-head p { font-size: 10px; }.cases-filter-row { grid-template-columns: repeat(3,1fr); column-gap: 6px; row-gap: 9px; }.case-search-field { grid-column: span 2; }.case-search-field input { font-size: clamp(10px, 2.8vw, 11px); }.case-select { min-width: 0; padding: 0 22px 0 8px; }.case-select select { font-size: 12px; }.case-apply { grid-column: 3; height: 44px; }.case-contact-copy { grid-column: span 2; }.case-reset { grid-column: 3; height: 44px; }.cases-insights { gap: 6px; margin-bottom: 22px; }.cases-insights article { min-height: 88px; padding: 10px 8px; border-radius: 9px; }.cases-insights span { font-size: 10px; white-space: nowrap; }.cases-insights span i { width: 5px; height: 5px; margin-right: 4px; }.cases-insights strong { font-size: 16px; }.cases-insights small { min-height: 2.7em; font-size: 9px; line-height: 1.35; white-space: normal; }.cases-results-head { align-items: flex-start; }.cases-results-head h2 { font-size: 21px; }.case-sort { display: block; text-align: right; }.case-sort-select { display: inline-flex; width: 150px; min-width: 0; margin-top: 5px; }.case-card { padding: 16px 14px 14px; border-radius: 14px; }.case-card-header { align-items: flex-start; gap: 11px; }.case-status-badge { flex-basis: 42px; min-height: 54px; font-size: 11px; }.case-card h3 { font-size: 18px; }.case-facts { grid-template-columns: repeat(3,1fr); gap: 6px; }.case-fact { padding: 8px 7px; }.case-fact dt { font-size: 9px; }.case-fact dd { font-size: 10px; }.case-gallery { grid-template-columns: repeat(2,1fr); }.case-pagination { flex-direction: column; gap: 8px; }.case-pagination-controls { gap: 3px; }.case-pagination button { flex-basis: 32px; width: 32px; height: 32px; border-radius: 7px; font-size: 12px; }.case-pagination-gap { flex-basis: 16px; width: 16px; height: 32px; }}
@media (prefers-reduced-motion: reduce) { .cases-filter-panel { transition: none; } }
@media (prefers-reduced-motion: reduce) { .case-copy-feedback { transition: none; } }
/* --------------------------------------------------------------------------
   筛选与排序下拉框统一外观
   申诉时间 / 销售站点 / 封号类型 / 恢复时间 四个下拉共用同一套尺寸、圆角、
   边框与交互反馈；展开后的面板样式见 css/custom-select.css（公共下拉组件）。
   -------------------------------------------------------------------------- */
.case-select,
.case-sort-select {
  height: 44px;
  border: 1px solid #dbe1e9;
  border-radius: 10px;
  background-color: #fff;
  /* 这张箭头图只在没有启用 JS 增强时可见 */
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2398a2ae'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%209.5%2012%2015.5l6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 16px 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.case-select:hover,
.case-sort-select:hover {
  border-color: #f0c08a;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23f28c18'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%209.5%2012%2015.5l6-6'/%3E%3C/svg%3E");
}

.case-select:focus-within,
.case-sort-select:focus-within {
  border-color: #f0a34e;
  box-shadow: 0 0 0 3px rgba(242, 140, 24, .14);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23f28c18'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%209.5%2012%2015.5l6-6'/%3E%3C/svg%3E");
}

/* 三个筛选下拉：容器承载边框，原生 select 透明铺满 */
.case-select { padding: 0 34px 0 13px; }
.case-select::after { content: none; }

.case-select select,
.case-sort-select select {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  color: #1f2329;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* 未选择时按占位色显示，选中后才用正文色 */
.case-select select:has(option[value=""]:checked) { color: #8b95a1; }

/* 恢复时间排序：尺寸与三个筛选框保持一致 */
.case-sort-select {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 165px;
  padding: 0 34px 0 13px;
}

/* 启用公共下拉增强后，容器不再画箭头、不再为箭头预留内边距，
   文字排版交给 .poa-select-trigger（见 css/custom-select.css） */
.case-select.is-enhanced,
.case-sort-select.is-enhanced { padding: 0; }

/* 系统原生下拉列表项，能着色的部分一并统一（未增强时生效） */
.case-select option,
.case-sort-select option {
  color: #1f2329;
  background: #fff;
  font-size: 13px;
}

@media (max-width: 620px) {
  .case-select { padding: 0 32px 0 11px; }
  .case-select.is-enhanced { padding: 0; }
  .case-select select,
  .case-sort-select select { font-size: 12px; }
  .case-sort-select { min-width: 0; }
  .poa-select.is-enhanced .poa-select-trigger { padding: 0 10px; font-size: 12px; }
}

/* 紧凑分页断点（420px 及以下）页码固定是「1 2 3 … N」这一组，一行放得下，
   所以居中显示；421px 以上窗口可能变宽、需要横向滚动，那里保留左对齐。
   （page-refinements.css 里给小屏写的 justify-content: flex-start 是给后一种
   情况准备的，这里按断点把它修正过来。） */
@media (max-width: 420px) {
  .case-pagination .case-pagination-controls { justify-content: center; }
}
