.passport-rankings { --rank-line: #e1dfe7; --rank-muted: #625e6c; }
.ranking-intro { padding: 24px 0; background: #f8f7fa; border-bottom: 1px solid var(--rank-line); }
.ranking-intro .breadcrumbs { margin: 0 0 9px; font-size: 13px; }
.ranking-intro h1 { font-size: clamp(24px, 3.3vw, 42px); letter-spacing: -.035em; margin: 0 0 8px; }
.ranking-intro p { margin: 0; }
.ranking-intro .ranking-snapshot { color: var(--rank-muted); font-size: 13px; margin-top: 10px; }
.ranking-content { padding-top: 24px; padding-bottom: 36px; }
.ranking-content h2 { font-size: 26px; margin: 0 0 14px; letter-spacing: -.02em; }
.ranking-content a { color: #a90b13; text-decoration: underline; text-underline-offset: 3px; }
.ranking-content :focus-visible { outline: 2px solid #a90b13; outline-offset: 3px; }
.ranking-panel { padding: 22px; border: 1px solid var(--rank-line); border-radius: 10px; }
.ranking-selects, .ranking-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ranking-content label { display: grid; gap: 5px; font-size: 14px; font-weight: 700; }
.ranking-content input, .ranking-content select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #a8a3b0; border-radius: 5px; padding: 8px 10px; font: 400 16px/1.4 Arial, sans-serif; background: white; color: #211e2b; }
.passport-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 18px; }
.passport-score { background: #f8f7fa; border-radius: 8px; padding: 18px; }
.passport-score h3 { font-size: 21px; margin: 0 0 10px; }
.passport-score .score-value { display: block; color: #191044; font-size: 40px; line-height: 1.1; font-weight: 800; }
.passport-score .score-caption { display: block; color: var(--rank-muted); font-size: 13px; margin: 4px 0 12px; }
.score-categories { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 13px; }
.ranking-method-note { font-size: 13px; margin: 14px 0 0; color: var(--rank-muted); }
.ranking-destinations, .ranking-leaderboard, .ranking-method { margin-top: 32px; scroll-margin-top: 110px; }
.ranking-travel-note, .ranking-count { font-size: 13px; color: var(--rank-muted); margin: 12px 0; }
.ranking-table-wrap { overflow-x: auto; border: 1px solid var(--rank-line); border-radius: 8px; }
.ranking-content table { border-collapse: collapse; width: 100%; text-align: left; font-size: 14px; }
.ranking-content th, .ranking-content td { padding: 12px 15px; border-bottom: 1px solid var(--rank-line); vertical-align: top; }
.ranking-content thead th { background: #f8f7fa; font-weight: 700; }
.ranking-content tbody tr:last-child > * { border-bottom: 0; }
.ranking-content tbody th { font-weight: 600; }
.ranking-entry-note { display: block; font-size: 12px; color: var(--rank-muted); margin-top: 4px; }
.ranking-entry-source { display: block; font-size: 12px; margin-top: 3px; }
.entry-status { display: inline-block; border-radius: 4px; padding: 2px 7px; font-weight: 600; font-size: 12px; }
.entry-status[data-category="visa_free"] { background: #e8f4ec; color: #215b3b; }
.entry-status[data-category="visa_on_arrival"] { background: #eaf1fc; color: #244f88; }
.entry-status[data-category="eta"] { background: #eeebfa; color: #52408a; }
.entry-status[data-category="evisa"] { background: #fff3db; color: #7a5205; }
.entry-status[data-category="visa_required"], .entry-status[data-category="no_admission"] { background: #f8e9e9; color: #8e3030; }
.ranking-content button { font-family: inherit; cursor: pointer; }
.ranking-content button:disabled { cursor: default; opacity: .45; }
.ranking-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 12px; font-size: 13px; }
.ranking-pagination button, #ranking-expand { padding: 7px 13px; border: 1px solid #bdb6c6; border-radius: 5px; background: white; color: #8f1019; font-size: 14px; }
.ranking-search { max-width: 450px; }
#ranking-expand { margin-top: 12px; }
.ranking-passport-link { background: transparent; border: 0; padding: 0; color: #a90b13; text-decoration: underline; text-underline-offset: 3px; font: inherit; text-align: left; }
.ranking-country { display: inline-flex; align-items: center; gap: 9px; }
.ranking-flag { display: inline-block; width: 24px; height: 18px; object-fit: contain; flex-shrink: 0; box-shadow: 0 0 0 1px #00000012; }
.ranking-select-with-flag { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ranking-select-with-flag select { flex: 1; }
.ranking-method { padding-top: 20px; border-top: 1px solid var(--rank-line); font-size: 14px; color: var(--rank-muted); }
.ranking-method summary { cursor: pointer; color: #24202f; font-weight: 700; }
.ranking-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media(max-width: 640px) {
  .ranking-selects, .ranking-filters { grid-template-columns: 1fr; }
  .ranking-panel { padding: 16px; }
  .ranking-content th, .ranking-content td { padding: 10px 8px; }
  .ranking-content table { font-size: 13px; }
  .ranking-intro { padding: 18px 0; }
}
