.relay-container { max-width: 1540px; }
.relay-directory { padding: 22px 12px 36px; color: var(--main-color, #25262a); }
.relay-directory h1, .relay-directory strong, .relay-table, .relay-table td { color: inherit; }
.relay-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.relay-heading h1 { font-size: 28px; line-height: 1.3; margin: 0 0 8px; font-weight: 700; letter-spacing: 0; }
.relay-heading p { margin: 0; color: var(--muted-color2, #737781); font-size: 14px; }
.relay-source { font-size: 12px; color: var(--muted-color2, #767b84); flex-shrink: 0; }
.relay-models { display: flex; flex-wrap: wrap; gap: 0 22px; border-bottom: 1px solid var(--border-color, #e5e7eb); margin-bottom: 20px; }
.relay-models a { padding: 11px 0; color: var(--muted-color2, #626773); font-size: 13px; border-bottom: 2px solid transparent; white-space: nowrap; }
.relay-models a[aria-current] { color: #df3e57; border-bottom-color: #df3e57; font-weight: 600; }
.relay-tools { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; flex-wrap: wrap; }
.relay-search { display: flex; align-items: center; gap: 8px; margin: 0; border: 1px solid var(--border-color, #dfe1e6); border-radius: 5px; padding: 7px 12px; width: 260px; background: var(--main-bg-color, #fff); }
.relay-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: inherit; font-size: 13px; }
.relay-search:focus-within { outline: 2px solid #df3e57; outline-offset: 2px; }
.relay-sort-label { margin: 0; display: flex; gap: 8px; align-items: center; color: var(--muted-color2, #747985); font-size: 13px; }
.relay-sort-label select { padding: 6px 8px; border: 1px solid var(--border-color, #dfe1e6); border-radius: 4px; color: inherit; background: var(--main-bg-color, #fff); max-width: 185px; }
.relay-result-count { margin-left: auto; font-size: 12px; color: var(--muted-color2, #747985); }
.relay-table-scroll { overflow-x: auto; max-width: 100%; }
.relay-table { width: 100%; min-width: 1020px; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.relay-table th { text-align: right; background: var(--main-bg-color, #f7f8fa); color: var(--muted-color2, #777d87); font-size: 12px; font-weight: 500; padding: 13px 12px; border: 0; border-bottom: 1px solid var(--border-color, #e4e6eb); }
.relay-table th:nth-child(1) { width: 200px; text-align: left; }
.relay-table th:nth-child(2) { width: 170px; text-align: left; }
.relay-table th:nth-child(3) { width: 150px; }
.relay-table th:nth-child(4) { width: 146px; }
.relay-table th:nth-child(5) { width: 106px; }
.relay-table th:nth-child(n+6) { width: 84px; }
.relay-table td { padding: 14px 12px; text-align: right; border: 0; border-bottom: 1px solid var(--border-color, #eceef2); font-variant-numeric: tabular-nums; vertical-align: middle; overflow-wrap: anywhere; }
.relay-table td:nth-child(2) { text-align: left; }
.relay-table tr:hover td { background: var(--main-bg-color, #fafbfc); }
.relay-table .relay-site-cell { text-align: left; }
.relay-site-cell a { color: inherit; font-weight: 600; line-height: 1.5; }
.relay-logo { width: 26px; height: 26px; object-fit: contain; border-radius: 5px; vertical-align: middle; margin-right: 9px; background: #fff; }
.relay-expand { display: inline-flex; gap: 2px; align-items: center; padding: 2px 3px; border: 0; background: transparent; font-size: 10px; color: #8a8f98; cursor: pointer; vertical-align: middle; }
.relay-expand[aria-expanded="true"] i { transform: rotate(90deg); }
.relay-extra td { background: var(--main-bg-color, #fafbfc); font-size: 12px; }
.relay-extra .relay-site-cell { padding-left: 34px; }
.relay-extra .relay-logo { display: none; }
.relay-table small { display: block; margin-top: 3px; color: var(--muted-color2, #8b9099); font-size: 10px; }
.relay-price strong { font-size: 13px; font-weight: 600; white-space: nowrap; }
.relay-discount { display: inline-block; width: 62px; height: 22px; color: #14876f; margin-top: 4px; }
.relay-trend { display: inline-grid; grid-template-columns: 80px 42px; align-items: center; gap: 2px; font-size: 11px; }
.relay-trend svg { width: 80px; height: 28px; }
.relay-trend.is-rising { color: #d54c58; }
.relay-trend.is-falling { color: #14876f; }
.io-black-mode .relay-discount, .io-black-mode .relay-trend.is-falling { color: #58c9ad; }
.io-black-mode .relay-trend.is-rising { color: #ff8591; }
.relay-variants { font-size: 10px; margin-top: 5px; color: #737985; }
.relay-variants summary { cursor: pointer; }
.relay-data-note { font-size: 11px; line-height: 1.9; color: var(--muted-color2, #8b9099); margin-top: 22px; }
.relay-muted { color: var(--muted-color2, #8b9099); }
#relay-empty { text-align: center; padding: 35px 10px; color: #737985; }
.relay-row[hidden], #relay-empty[hidden] { display: none; }
.ai123-relay-menu .sub-menu { max-height: 72vh; overflow-y: auto; }
@media (max-width: 767px) {
    .relay-directory { padding: 16px 0 25px; }
    .relay-heading { gap: 10px; align-items: flex-start; }
    .relay-heading h1 { font-size: 24px; }
    .relay-source { font-size: 10px; margin-top: 9px; }
    .relay-models { flex-wrap: nowrap; overflow-x: auto; gap: 18px; }
    .relay-models a { font-size: 12px; }
    .relay-tools { gap: 12px; }
    .relay-search { width: 100%; }
    .relay-table th:first-child, .relay-table td:first-child { position: sticky; left: 0; z-index: 2; background: var(--main-bg-color, #fff); border-right: 1px solid var(--border-color, #eceef2); width: 165px; }
    .relay-table th:first-child { z-index: 3; }
    .relay-table { min-width: 980px; }
    .relay-table td, .relay-table th { padding: 12px 9px; }
    .relay-site-cell a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .relay-directory * { scroll-behavior: auto !important; }
}
