/* AI MODELS visual direction: a confident, data-led model platform. */
:root {
  --paper: #f5f7fc;
  --white: #fff;
  --ink: #18233a;
  --muted: #6d7890;
  --line: #e3e8f2;
  --green: #5969e8;
  --deep: #202c5a;
  --mint: #eef1ff;
}

body { background: #f5f7fc; color: #18233a; }
html.route-sub #main-content, html.route-sub .site-footer { display: none; }
.announcement { background: #eef2ff; color: #53618e; border-bottom: 1px solid #e4e9ff; }
.announce-dot, .live-dot { background: #6674ef; }
.announcement-note { color: #6a75a8; }
.site-header { max-width: 1320px; height: 76px; border-color: #e5e9f3; }
.brand-mark i { background: #5e70ed; }
.brand-mark i:nth-child(2) { background: #8b68ec; }
.brand-mark i:nth-child(4) { background: #25335f; }
.main-nav a.active:after { background: linear-gradient(90deg, #5267ed, #8c5de8); }
.main-nav a:hover, .main-nav a.active { color: #26345d; }
.language-toggle { border-color: #dce3f4; color: #4d5e94; border-radius: 7px; }
.language-toggle:hover { background: #f0f3ff; border-color: #bdc9f2; }
.submit-link span, .text-arrow span { color: #596ce8; }

.hero {
  max-width: 1320px;
  min-height: 540px;
  padding: 86px 42px 55px;
  border: 1px solid #e2e8fa;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: radial-gradient(ellipse at 78% 44%, #e4eaff 0%, #f0f3ff 25%, transparent 54%), linear-gradient(115deg, #fff 5%, #f6f8ff 56%, #eff2ff 100%);
  box-shadow: 0 20px 65px #3646840a;
}
.hero-copy { width: 56%; max-width: 680px; }
.eyebrow, .section-kicker { color: #6978a9; }
.eyebrow-line { background: #9aa8e7; }
.hero h1 { color: #18233d; font-size: clamp(52px, 5.5vw, 76px); }
.serif-word { color: #6268df; }
.hero-subtitle { max-width: 500px; color: #68758b; font-size: 15px; line-height: 1.85; }
.hero-search { height: 60px; max-width: 560px; border: 1px solid #dce3f3; border-radius: 12px; box-shadow: 0 12px 32px #384c8b12; }
.hero-search button { border-radius: 9px; background: linear-gradient(135deg, #5369ee, #7959e5); }
.hero-search kbd { border-radius: 5px; background: #f7f8ff; }
.popular-searches button { border-radius: 999px; background: #fff; }
.hero-art { width: 490px; height: 410px; right: 22px; top: 46px; opacity: 1; }
.hero-art:before { content: ''; position: absolute; inset: 22px 16px 35px; border-radius: 50%; background: radial-gradient(ellipse, #9daeff55, #bfa5ff24 45%, transparent 72%); filter: blur(11px); }
.orbit { border-color: #8795dc55; }
.orbit-one { border-color: #7788e066; }
.orbit-two { border-color: #9b85e055; }
.orbit-three { border-color: #9bb8ee70; }
.orbit-four { border-color: #b9a0ec66; }
.orbit-core { background: linear-gradient(145deg, #ffffff, #e9edff); box-shadow: 0 0 0 12px #e7ebffbb, 0 0 0 26px #e9ecff80, 0 20px 55px #5768c622; }
.core-inner { background: linear-gradient(145deg, #536fee, #875be5); box-shadow: 0 10px 30px #5a63d966; }
.orbit-label { color: #7883bb; }
.orbit-node { background: linear-gradient(135deg, #6278ef, #a179e9); box-shadow: 0 0 0 5px #e6eaff, 0 5px 18px #6476df55; }
.node-b { background: #a48bea; }
.node-c { background: #7c94ee; }
.node-d { background: #8dace4; }
.art-caption { color: #6675af; }
.hero-foot { position: relative; left: auto; right: auto; bottom: auto; z-index: 2; margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(120px, auto)) 1fr; align-items: center; gap: 16px; padding: 12px 20px; border: 1px solid #e0e6f7; border-radius: 12px; background: #ffffffd9; box-shadow: 0 8px 22px #253a7110; backdrop-filter: blur(10px); color: #71809a; }
.hero-metric { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.hero-metric strong { color: #394f9c; font: 700 19px var(--display); }
.hero-metric span { color: #71809a; font-size: 9px; }
.hero-foot-note { text-align: right; color: #71809a; font-size: 9px; }

.trust-strip { max-width: 1240px; height: 82px; margin-top: 20px; padding: 0 22px; border: 1px solid #e4e9f3; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px #23396e08; }
.trust-label { color: #8b96ad; }
.provider-word { color: #53617c; }
.text-arrow, .subtle-link { color: #5267dc; }
.section { max-width: 1240px; }
.directory-section, .categories-section { padding-top: 76px; }
.section-heading h2, .featured-copy h2 { color: #18233d; }
.filters { padding: 17px; border: 1px solid #e3e8f1; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px #25375d08; }
.filter-group select, .sort-label select { border-radius: 8px; border-color: #e0e5ef; }
.filter-note { border-radius: 9px; background: #f1f4ff; color: #6d79a0; }
.model-grid { gap: 15px; }
.model-card { min-height: 205px; padding: 19px; border: 1px solid #e4e8f1; border-radius: 15px; box-shadow: 0 7px 20px #26385f08; }
.model-card:hover { border-color: #aeb9f0; box-shadow: 0 15px 35px #4054a51a; }
.provider-logo { border-radius: 9px; background: linear-gradient(145deg, #edf1ff, #e7eaff); color: #4f63c5; }
.model-type { border-radius: 999px; background: #f0f3ff; color: #6271ad; }
.card-tags span { border-radius: 999px; background: #f8f9ff; border-color: #e7eafa; color: #64719a; }
.card-bottom { border-color: #edf0f8; }
.availability-dot { background: #6678ec; }
.featured-band { background: linear-gradient(115deg, #edf1ff, #e9efff 58%, #f3edff); }
.featured-copy .section-kicker { color: #6273b6; }
.featured-copy p { color: #67758f; }
.dark-button { border-radius: 9px; background: linear-gradient(135deg, #5369ed, #775be4); box-shadow: 0 8px 20px #626be533; }
.signal-card { border: 1px solid #e0e6f4; border-radius: 17px; box-shadow: 0 18px 45px #293d7415; }
.snapshot-label { border-radius: 5px; background: #eff1ff; color: #636fbd; }
.category-grid { gap: 13px; border: 0; }
.category-card { min-height: 100px; border: 1px solid #e3e8f2; border-radius: 14px; background: #fff; box-shadow: 0 6px 19px #25385f07; }
.category-card:hover { border-color: #b8c2ee; background: #fff; box-shadow: 0 12px 26px #364c8e12; }
.category-icon { border-radius: 9px; background: #eff2ff; color: #586ddc; }
.category-card strong { color: #273653; }
.closing-cta { max-width: 1240px; margin: 20px auto; padding: 54px 6%; border-radius: 22px; background: linear-gradient(115deg, #202e64, #3f4d9e 58%, #624bb2); }
.closing-cta .section-kicker { color: #c0c9f2; }
.closing-cta .serif-word { color: #d1d4ff; }
.light-button { border-radius: 9px; color: #303e82; background: #fff; box-shadow: 0 8px 22px #151d4940; }
.site-footer { max-width: 1240px; color: #7c879e; }
.footer-brand { color: #30426c; }

.data-page { max-width: 1240px; padding-top: 32px; }
.catalog-page, .compare-page, .standalone-detail { max-width: 1240px; }
.catalog-topline { color: #7e8aa1; }
.catalog-topline span { color: #7885b2; }
.data-page-heading, .catalog-heading {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 42px 44px 39px;
  border: 1px solid #e0e6f7;
  border-radius: 22px;
  background: radial-gradient(circle at 88% 42%, #dfe6ff 0, #edf0ff 22%, transparent 47%), linear-gradient(115deg, #fff 0%, #f8f9ff 58%, #f1f3ff 100%);
}
.data-page-heading:after, .catalog-heading:after { content: ''; position: absolute; width: 230px; height: 230px; right: 40px; top: 50%; transform: translateY(-50%); border: 1px solid #8795db36; border-radius: 50%; box-shadow: 0 0 0 22px #94a0df0b, 0 0 0 48px #94a0df09; }
.data-page-heading .section-kicker, .catalog-heading .section-kicker { position: relative; z-index: 1; color: #6676b3; }
.data-page-heading h1, .catalog-heading h1 { position: relative; z-index: 1; max-width: 850px; color: #192542; font-size: clamp(42px, 4.7vw, 60px); }
.data-page-heading p, .catalog-heading>p { position: relative; z-index: 1; color: #687692; }
.catalog-meta { position: relative; z-index: 1; color: #75819b; }
.catalog-meta strong { color: #4258bb; }
.data-tabs { gap: 10px; padding: 22px 0 11px; }
.data-tabs button { border-color: #e0e5f1; border-radius: 9px; color: #5f6d87; }
.data-tabs button[aria-selected="true"] { border-color: #566be4; background: linear-gradient(135deg, #5369e9, #775de2); box-shadow: 0 6px 16px #5d6ddd2b; }
.ranking-panel { overflow: hidden; margin: 16px 0; border: 1px solid #e1e6f1; border-radius: 18px; box-shadow: 0 12px 32px #25375d0b; }
.ranking-panel-head { padding: 22px 26px; border-color: #e9edf5; }
.ranking-source-name { color: #6574ad; }
.ranking-panel-head h2 { color: #1d2b49; font-size: 24px; }
.ranking-panel-head p { color: #6f7b93; }
.ranking-source-link { display: inline-flex; padding: 10px 14px; border: 1px solid #dce3f4; border-radius: 9px; color: #5368dc; background: #f8f9ff; font-size: 10px; }
.ranking-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 17px 24px 0; }
.ranking-stat { min-width: 0; padding: 15px 17px; border: 1px solid #e6eaf4; border-radius: 12px; background: linear-gradient(145deg, #fff, #f7f8ff); }
.ranking-stat span, .ranking-stat small { display: block; color: #7a86a0; font-size: 9px; }
.ranking-stat strong { display: block; margin: 7px 0 4px; color: #25355f; font: 700 21px var(--display); letter-spacing: -.03em; }
.ranking-stat small { color: #929cb1; }
.ranking-meta { padding: 13px 25px; color: #68758f; }
.ranking-updated { color: #5264bd; }
.ranking-table-wrap { padding: 0 17px 14px; }
.ranking-table { font-size: 11px; }
.ranking-table th { background: #f4f6fc; color: #677593; }
.ranking-table th, .ranking-table td { padding: 13px 15px; border-bottom-color: #edf0f6; }
.ranking-table tbody tr:hover { background: #f8f9ff; }
.ranking-rank { color: #596ce3; font: 700 13px var(--mono); }
.ranking-model { color: #283653; }
.ranking-notice { background: #f8f9fc; color: #75819a; }
.price-table-wrap { border-color: #e1e6f0; border-radius: 15px; box-shadow: 0 8px 24px #25375d08; }
.price-table { font-size: 11px; }
.price-table th { background: #f1f4fc; color: #667492; }
.price-table th, .price-table td { padding: 14px 13px; border-bottom-color: #e9edf5; }
.price-table td a { color: #5368d6; }
.pricing-controls select { border-radius: 8px; border-color: #dfe5f1; }
.benchmark-card, .data-empty-card { border-color: #e2e7f1; border-radius: 13px; box-shadow: 0 7px 22px #273b6708; }
.status-chip { border-radius: 999px; background: #eef1ff; color: #6472b4; }
.catalog-filters { border-color: #e1e6f1; border-radius: 14px; box-shadow: 0 8px 22px #273b6708; }
.catalog-field select, .catalog-field input { border-color: #dfe5f1; border-radius: 8px; }
.catalog-grid { gap: 14px; }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-card { border-color: #e2e7f1; border-radius: 14px; box-shadow: 0 6px 20px #26395f08; }
.catalog-card:hover { border-color: #b6c1ef; box-shadow: 0 14px 30px #3a50a515; }
.catalog-capabilities span { border-radius: 999px; background: #f0f3ff; color: #6571a4; }
.catalog-specs { border-color: #e9edf5; }
.catalog-specs div strong { color: #33466b; }
.catalog-card-foot { border-color: #e9edf5; }
.catalog-footnote { color: #7d89a0; }

@media (max-width: 900px) {
  .site-header { padding-inline: 22px; }
  .hero { padding-inline: 30px; }
  .hero-art { right: -74px; opacity: .7; }
  .hero-foot { left: auto; right: auto; bottom: auto; margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .hero-foot-note { grid-column: 1 / -1; text-align: left; }
  .section, .trust-strip { margin-left: 24px; margin-right: 24px; }
  .data-page-heading, .catalog-heading { padding: 34px 30px; }
}
@media (max-width: 650px) {
  .hero { min-height: 0; padding: 55px 20px 24px; border-radius: 0 0 20px 20px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 45px; }
  .hero-subtitle { max-width: 94%; font-size: 13px; }
  .hero-art { width: 310px; height: 280px; top: 280px; right: -70px; opacity: .35; }
  .hero-foot { left: auto; right: auto; bottom: auto; margin-top: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 11px 12px; }
  .hero-foot .hero-metric span { display: inline; }
  .hero-foot span.hero-foot-note { display: block; }
  .hero-metric strong { font-size: 17px; }
  .hero-metric span, .hero-foot-note { font-size: 8px; }
  .trust-strip { height: auto; min-height: 76px; padding: 15px; gap: 12px; border-radius: 12px; }
  .trust-label { display: none; }
  .provider-strip { gap: 16px; }
  .provider-word { font-size: 11px; }
  .directory-section, .categories-section { padding-top: 60px; }
  .model-card { border-radius: 12px; }
  .closing-cta { margin: 16px 15px; padding: 34px 24px; border-radius: 17px; }
  .data-page-heading, .catalog-heading { padding: 30px 22px; border-radius: 17px; }
  .data-page-heading:after, .catalog-heading:after { right: -90px; opacity: .5; }
  .data-page-heading h1, .catalog-heading h1 { font-size: 38px; }
  .ranking-overview { grid-template-columns: 1fr 1fr; gap: 8px; padding: 13px 14px 0; }
  .ranking-stat { padding: 12px; }
  .ranking-stat:last-child { grid-column: 1 / -1; }
  .ranking-panel-head { padding: 18px; }
  .ranking-meta { padding: 11px 18px; }
  .ranking-table-wrap { padding-inline: 8px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .ranking-table th, .ranking-table td { padding: 11px 10px; }
}

/* ===== Hero actions ===== */
.hero-actions { display: flex; align-items: center; gap: 13px; margin-top: 24px; flex-wrap: wrap; }
.hero-actions .dark-button { border-radius: 11px; padding: 14px 20px; font-size: 12px; gap: 26px; }
.ghost-button { display: inline-flex; align-items: center; gap: 26px; padding: 14px 20px; border: 1px solid #d4ddf3; border-radius: 11px; background: #fff; color: #3c4d86; font-size: 12px; font-weight: 600; transition: border-color .18s, background .18s, box-shadow .18s; }
.ghost-button:hover { border-color: #aeb9f0; background: #f6f8ff; box-shadow: 0 8px 20px #2b3f7a12; }
.ghost-button span { font-size: 14px; }

/* ===== Model card badges & metrics ===== */
.card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; }
.card-badge { font-size: 8px; font-weight: 600; letter-spacing: .02em; padding: 4px 8px; border-radius: 999px; }
.badge-featured { background: linear-gradient(135deg,#eef1ff,#f1ecff); color: #5a54d6; border: 1px solid #dcdcff; }
.badge-value { background: #eef8f0; color: #1f9d57; border: 1px solid #d3efdb; }
.badge-context { background: #eef4ff; color: #2f6fd0; border: 1px solid #d5e6fb; }
.badge-open { background: #f4f1ff; color: #7a5cd6; border: 1px solid #e4dbfb; }
.badge-new { background: #fff3ec; color: #d9712e; border: 1px solid #fadcc8; }
.card-metrics { display: flex; align-items: flex-end; gap: 16px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #edf0f8; }
.card-metrics .metric { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card-metrics .metric span { font-size: 7px; letter-spacing: .06em; color: #9aa4bd; }
.card-metrics .metric strong { font: 600 12px var(--mono); color: #2c3c63; }
.card-metrics .metric-api { margin-left: auto; flex-direction: row; align-items: center; gap: 5px; font-size: 9px; color: #7c879e; }
.card-metrics .metric-api i { flex: none; }

/* ===== Home ranking preview ===== */
.home-ranking-top3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 14px; }
.hr-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #e2e7f1; border-radius: 16px; background: #fff; box-shadow: 0 7px 20px #26385f08; transition: transform .18s, border-color .18s, box-shadow .18s; }
.hr-card:hover { transform: translateY(-3px); border-color: #b6c1ef; box-shadow: 0 14px 30px #3a50a515; }
.hr-rank { font: 800 26px var(--display); letter-spacing: -.03em; color: #c3ccdf; min-width: 42px; }
.hr-card.rank-1 .hr-rank { color: #f0a92e; }
.hr-card.rank-2 .hr-rank { color: #9aa7bd; }
.hr-card.rank-3 .hr-rank { color: #cf9468; }
.hr-card.rank-1 { border-color: #f3d9a4; background: linear-gradient(150deg,#fffdf7,#fff8ec); }
.hr-main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hr-name { font: 600 15px var(--display); color: #263653; overflow-wrap: anywhere; }
.hr-meta { font-size: 9px; color: #8b96ad; }
.hr-arrow { margin-left: auto; color: #9aa7c4; font-size: 16px; }
.home-ranking-list { border: 1px solid #e2e7f1; border-radius: 16px; background: #fff; overflow: hidden; }
.hr-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 13px 20px; border-bottom: 1px solid #eef1f7; }
.hr-row:last-child { border-bottom: 0; }
.hr-row:hover { background: #f8f9ff; }
.hr-row-rank { font: 600 13px var(--mono); color: #8b96ad; }
.hr-row-name { font: 500 13px var(--display); color: #2c3c5c; overflow-wrap: anywhere; }
.hr-row-score { font: 600 12px var(--mono); color: #4258bb; }

/* ===== Value & steps ===== */
.value-section { padding-top: 20px; }
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.value-card { padding: 22px 20px; border: 1px solid #e3e8f2; border-radius: 16px; background: #fff; box-shadow: 0 6px 19px #25385f07; transition: transform .18s, border-color .18s, box-shadow .18s; }
.value-card:hover { transform: translateY(-3px); border-color: #b8c2ee; box-shadow: 0 12px 26px #364c8e12; }
.value-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg,#eef1ff,#e9edff); color: #586ddc; font-size: 17px; margin-bottom: 15px; }
.value-card h3 { font: 600 14px var(--display); color: #273653; margin: 0 0 8px; }
.value-card p { font-size: 11px; line-height: 1.7; color: #71809a; margin: 0; }
.steps-section { padding-top: 60px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.step-card { position: relative; padding: 24px 22px; border: 1px solid #e3e8f2; border-radius: 16px; background: linear-gradient(155deg,#fff,#f7f9ff); }
.step-num { font: 800 30px var(--display); letter-spacing: -.03em; background: linear-gradient(135deg,#5369e8,#8b68ec); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-card h3 { font: 600 14px var(--display); color: #273653; margin: 12px 0 7px; }
.step-card p { font-size: 11px; line-height: 1.7; color: #71809a; margin: 0; }

@media (max-width: 900px) {
  .home-ranking-top3 { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .hero-actions { gap: 10px; }
  .hero-actions .dark-button, .ghost-button { padding: 12px 15px; font-size: 11px; }
  .value-grid { grid-template-columns: 1fr; }
  .hr-row { grid-template-columns: 40px 1fr auto; padding: 12px 15px; }
}

/* ===== Catalog (marketplace) cards ===== */
.catalog-card { position: relative; overflow: hidden; }
.catalog-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg,#5369ed,#8b68ec); opacity: 0; transition: opacity .18s; }
.catalog-card:hover::before { opacity: 1; }
.catalog-card .card-badges { margin: 0 0 12px; }
.catalog-specs div strong.price-listed { color: #4258bb; font-weight: 700; }

/* ===== Rankings: tab count, top3, share bar ===== */
.data-tabs .tab-count { display: inline-block; margin-left: 7px; padding: 2px 7px; border-radius: 999px; background: #eef1ff; color: #6271ad; font: 8px var(--mono); }
.data-tabs button[aria-selected="true"] .tab-count { background: rgba(255,255,255,.22); color: #fff; }
.ranking-top3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; padding: 20px 26px 4px; }
.rk-card { display: flex; align-items: center; gap: 13px; padding: 16px 17px; border: 1px solid #e6eaf4; border-radius: 14px; background: linear-gradient(155deg,#fff,#f8f9ff); transition: transform .18s, border-color .18s, box-shadow .18s; }
a.rk-card:hover { transform: translateY(-2px); border-color: #b6c1ef; box-shadow: 0 12px 26px #3a50a514; }
.rk-medal { font: 800 24px var(--display); letter-spacing: -.03em; color: #c3ccdf; min-width: 38px; }
.rk-card.rank-1 .rk-medal { color: #f0a92e; }
.rk-card.rank-2 .rk-medal { color: #9aa7bd; }
.rk-card.rank-3 .rk-medal { color: #cf9468; }
.rk-card.rank-1 { border-color: #f3d9a4; background: linear-gradient(155deg,#fffdf7,#fff8ec); }
.rk-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rk-name { font: 600 14px var(--display); color: #263653; overflow-wrap: anywhere; }
.rk-sub { font: 9px var(--mono); color: #8b96ad; }
.rk-arrow { margin-left: auto; color: #9aa7c4; }
.ranking-rank.rank-1 { color: #f0a92e; font-weight: 700; }
.ranking-rank.rank-2 { color: #7f8da3; font-weight: 700; }
.ranking-rank.rank-3 { color: #cf9468; font-weight: 700; }
.ranking-link { color: #2c3c5c; }
.ranking-link:hover { color: #4258bb; }
.score-cell { display: flex; flex-direction: column; gap: 6px; min-width: 120px; }
.score-cell strong { font: 600 12px var(--mono); color: #405c48; color: #33466b; }
.share-bar { display: block; width: 100%; height: 5px; border-radius: 999px; background: #eef1f8; overflow: hidden; }
.share-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,#5369ed,#8b68ec); }

@media (max-width: 760px) {
  .ranking-top3 { grid-template-columns: 1fr; padding: 16px 18px 0; }
  .score-cell { min-width: 90px; }
}

/* ---- Brand chips, heat & trend (added round) ---- */
.provider-logo { flex: none; letter-spacing: 0; }
.catalog-card-head { display: flex; align-items: center; gap: 9px; }
.catalog-card-head .provider-logo { width: 27px; height: 27px; font-size: 11px; }

.type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.type-chips .chip { border: 1px solid #e2e8f3; background: #fff; color: #5d6b8c; font-size: 11px; padding: 7px 13px; border-radius: 999px; transition: all .16s; }
.type-chips .chip:hover { border-color: #b6c1ef; color: #33466b; }
.type-chips .chip.active { background: linear-gradient(135deg,#5369ed,#7b5ce6); border-color: transparent; color: #fff; box-shadow: 0 6px 16px #5a63d933; }

.metric-trend { display: inline-flex; align-items: center; gap: 2px; font: 600 10px var(--mono); }
.metric-trend.trend-up { color: #16a34a; }
.metric-trend.trend-down { color: #e5484d; }
.metric-heat strong { color: #33466b; }
.metric-heat .metric-trend { margin-left: 5px; }

.catalog-specs .spec-heat strong { color: #33466b; display: inline-flex; align-items: center; gap: 5px; }
.ranking-trend { white-space: nowrap; }
.rk-card .metric-trend { font-size: 11px; }
.rk-card { flex-wrap: wrap; }

/* Bundled SVG icon inside the brand chip; letter chip stays as fallback. */
.provider-logo { position: relative; overflow: hidden; }
.provider-logo-img { position: relative; z-index: 1; width: 58%; height: 58%; object-fit: contain; display: block; }
.provider-logo-text { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; }
.provider-logo.has-icon .provider-logo-text { visibility: hidden; }

