
@import url("tokens.css");
html { font-family: var(--fk-font); font-size: var(--fk-fs); line-height: var(--fk-lh); color: var(--fk-text); background: var(--fk-bg); }
h1 { font-size: var(--fk-h1); color: var(--fk-heading); line-height: 1.4; margin: 0 0 var(--fk-sp-2); }
h2 { font-size: var(--fk-h2); color: var(--fk-heading); line-height: 1.5; margin: var(--fk-sp-4) 0 var(--fk-h2-mb); border-left: 6px solid var(--fk-primary); padding-left: 12px; }
h3 { font-size: var(--fk-h3); color: var(--fk-heading); margin: var(--fk-sp-3) 0 var(--fk-sp-1); }
a { color: var(--fk-primary); }
img { max-width: 100%; height: auto; }
.fk-wrap { max-width: var(--fk-wide-w); margin: 0 auto; padding: 0 var(--fk-sp-2); }
.fk-content { max-width: var(--fk-content-w); }
.fk-num { white-space: nowrap; }   


.fk-header { background: var(--fk-bg); border-bottom: 1px solid var(--fk-rule); position: sticky; top: 0; z-index: 30; }
.fk-header-1 { display: flex; align-items: center; justify-content: space-between; height: var(--fk-header-h); gap: var(--fk-sp-2); }
.fk-logo { font-weight: 800; font-size: 22px; color: var(--fk-primary); text-decoration: none; width: var(--fk-logo-w); }

.fk-badges { display: flex; flex-wrap: wrap; gap: var(--fk-sp-1); align-items: center; min-width: 0; }
.fk-badge { font-size: var(--fk-fs-xs); border: 1px solid var(--fk-primary); color: var(--fk-primary); border-radius: 4px; padding: 2px 8px; white-space: nowrap; }
.fk-counts { display: flex; gap: var(--fk-sp-2); font-size: var(--fk-fs-sm); color: var(--fk-muted); }
.fk-counts b { color: var(--fk-heading); font-size: 18px; }
.fk-header-2 { display: flex; align-items: center; justify-content: space-between; height: var(--fk-header2-h); border-top: 1px solid var(--fk-rule); }
.fk-nav { display: flex; gap: var(--fk-sp-3); list-style: none; margin: 0; padding: 0; }
.fk-nav a { text-decoration: none; color: var(--fk-heading); font-weight: 700; font-size: 15px; }
.fk-menu-btn { display: none; }
@media (max-width: 768px) {
  .fk-header-2 { display: none; }
  .fk-menu-btn { display: inline-block; border: 1px solid var(--fk-rule); border-radius: var(--fk-radius); padding: 6px 12px; font-weight: 700; background: none; }
  .fk-counts { display: none; }
  
  .fk-header-1 { height: auto; min-height: var(--fk-header-h); flex-wrap: wrap; align-content: center; row-gap: 0; }
  .fk-header-1 .fk-badges { order: 3; width: 100%; min-height: var(--fk-header2-h); justify-content: flex-start; }
  .fk-menu { position: fixed; inset: 0; background: var(--fk-bg); z-index: 40; padding: var(--fk-sp-3); overflow: auto; }
  .fk-menu[hidden] { display: none; }
  .fk-menu .fk-nav { flex-direction: column; gap: var(--fk-sp-2); }
  .fk-menu .fk-entry { display: grid; gap: var(--fk-sp-1); margin-top: var(--fk-sp-3); }
}


.fk-cta { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: var(--fk-cta-h); padding: 6px 20px; background: var(--fk-accent); color: #fff; border-radius: var(--fk-cta-radius); font-weight: 800; text-decoration: none; line-height: 1.25; text-align: center; }
.fk-cta small { font-size: var(--fk-fs-xs); font-weight: 700; opacity: .95; }
.fk-cta:hover { background: var(--fk-accent-deep); }
.fk-cta-block { display: flex; width: 100%; }
.fk-btn { display: inline-block; min-height: var(--fk-btn-h); line-height: var(--fk-btn-h); padding: 0 16px; border: 2px solid var(--fk-primary); color: var(--fk-primary); border-radius: var(--fk-radius); font-weight: 700; text-decoration: none; background: #fff; }
.fk-pr { font-size: var(--fk-fs-xs); color: var(--fk-muted); }
.fk-cta-bar { display: none; }
@media (max-width: 768px) { .fk-cta-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--fk-rule); z-index: 20; } .fk-cta-bar .fk-cta { width: 100%; } body { padding-bottom: 72px; } }


.fk-hero { background: var(--fk-primary-pale); padding: var(--fk-sp-4) 0; }
.fk-hero-inner { display: grid; grid-template-columns: 1fr 320px; gap: var(--fk-sp-3); align-items: center; }
.fk-hero-copy p { margin: 0; }
.fk-hero-lines { font-size: 30px; font-weight: 800; line-height: 1.35; color: var(--fk-heading); }
.fk-hero-lines b { color: var(--fk-primary); }
.fk-hero-eyebrow { font-size: var(--fk-fs-sm); color: var(--fk-muted); margin-bottom: var(--fk-sp-1); }
.fk-hero-visual { aspect-ratio: 4 / 3; border-radius: var(--fk-radius-lg); background: #fff; box-shadow: var(--fk-shadow); display: flex; align-items: center; justify-content: center; overflow: hidden; }
@media (max-width: 768px) { .fk-hero-inner { grid-template-columns: 1fr; } .fk-hero-lines { font-size: 24px; } }


.fk-search { display: flex; gap: var(--fk-sp-1); margin: var(--fk-sp-3) 0; }
.fk-search input { flex: 1; min-height: var(--fk-btn-h); border: 1px solid var(--fk-rule); border-radius: var(--fk-radius); padding: 0 12px; font-size: var(--fk-fs); }
.fk-search button { min-height: var(--fk-btn-h); padding: 0 16px; background: var(--fk-primary); color: #fff; border: 0; border-radius: var(--fk-radius); font-weight: 700; }
.fk-search-hits { list-style: none; padding: 0; margin: 4px 0 0; border: 1px solid var(--fk-rule); border-radius: var(--fk-radius); }
.fk-search-hits li a { display: block; padding: 8px 12px; border-top: 1px solid var(--fk-rule); text-decoration: none; }
.fk-search-hits li:first-child a { border-top: 0; }


.fk-carousel { display: flex; gap: var(--fk-sp-2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--fk-sp-1); }
.fk-carousel > * { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 769px) { .fk-carousel > * { flex-basis: 32%; } }
.fk-carousel-nav { display: flex; gap: var(--fk-sp-1); justify-content: flex-end; }
.fk-carousel-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--fk-rule); background: #fff; }


.fk-articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--fk-sp-3); }
.fk-articles.fk-cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .fk-articles, .fk-articles.fk-cols-3 { grid-template-columns: 1fr; } }
.fk-article { display: block; text-decoration: none; color: inherit; border-radius: var(--fk-radius); overflow: hidden; background: #fff; box-shadow: var(--fk-shadow); }
.fk-article img { width: 100%; aspect-ratio: var(--fk-thumb-ratio); object-fit: cover; display: block; }
.fk-article-body { padding: 12px var(--fk-card-pad) var(--fk-card-pad); }
.fk-article-meta { display: flex; gap: var(--fk-sp-1); font-size: var(--fk-fs-xs); color: var(--fk-muted); margin-bottom: 4px; }
.fk-article-cat { color: var(--fk-primary); font-weight: 700; }
.fk-article-title { font-weight: 700; line-height: 1.5; margin: 0; }


.fk-rank { background: #fff; border: 1px solid var(--fk-rule); border-top: var(--fk-card-border); border-radius: var(--fk-radius); padding: var(--fk-card-pad); box-shadow: var(--fk-shadow); margin: 0 0 var(--fk-card-mb); }
.fk-rank-head { display: grid; grid-template-columns: 56px 120px 1fr; gap: var(--fk-sp-2); align-items: center; }
.fk-rank-no { width: 56px; height: 56px; border-radius: 50%; background: var(--fk-primary); color: #fff; font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.fk-rank-no.is-1 { background: #f5b301; color: var(--fk-heading); }   
.fk-logo-box { width: 120px; height: 64px; border: 1px solid var(--fk-rule); border-radius: var(--fk-radius); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--fk-fs-sm); text-align: center; padding: 4px; background: #fff; }
.fk-rank-name { margin: 0; font-size: 20px; }
.fk-rank-score { font-size: var(--fk-fs-sm); color: var(--fk-muted); }
.fk-rank-score b { color: var(--fk-score); font-size: 20px; }   
.fk-rank-desc { margin: var(--fk-sp-2) 0; }
.fk-rank-table { width: 100%; border-collapse: collapse; font-size: var(--fk-fs-sm); margin: var(--fk-sp-2) 0; }
.fk-rank-table th, .fk-rank-table td { border: 1px solid var(--fk-rule); padding: 8px; text-align: left; }
.fk-rank-table th { background: var(--fk-primary-pale); width: 34%; }
@media (max-width: 768px) { .fk-rank-head { grid-template-columns: 48px 1fr; } .fk-logo-box { display: none; } .fk-rank-no { width: 48px; height: 48px; font-size: 20px; } }


.fk-bars { list-style: none; padding: 0; margin: var(--fk-sp-2) 0 0; display: grid; gap: 6px; }
.fk-bars li { display: grid; grid-template-columns: 9em 1fr auto; gap: 8px; align-items: center; font-size: var(--fk-fs-sm); }
.fk-bar { height: 10px; background: var(--fk-primary-pale); border-radius: 5px; position: relative; overflow: hidden; }
.fk-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--fk-primary); border-radius: 5px; }
.fk-bar em { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--fk-danger); }  
.fk-bars b { white-space: nowrap; }


.fk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--fk-sp-1) 0; }
.fk-tag { font-size: var(--fk-fs-xs); border-radius: 999px; padding: 3px 10px; background: var(--fk-primary-pale); color: var(--fk-primary-deep); }
.fk-tag.is-off { background: transparent; color: var(--fk-muted); border: 1px solid var(--fk-rule); text-decoration: line-through; }


.fk-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--fk-rule); border-radius: var(--fk-radius); }
.fk-table { border-collapse: collapse; min-width: 640px; width: 100%; font-size: var(--fk-fs-sm); }
.fk-table th, .fk-table td { padding: var(--fk-cell-pad) 10px; border-bottom: 1px solid var(--fk-rule); text-align: left; white-space: nowrap; }
.fk-table thead th { background: var(--fk-th-bg); position: sticky; top: 0; }
.fk-table th:first-child, .fk-table td:first-child { position: sticky; left: 0; background: #fff; z-index: 1; box-shadow: 1px 0 0 var(--fk-rule); }
.fk-table thead th:first-child { z-index: 2; background: #f2f2f2; }   


.fk-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--fk-rule); margin: var(--fk-sp-3) 0 var(--fk-sp-2); overflow-x: auto; }
.fk-tab { padding: 10px 16px; font-weight: 700; color: var(--fk-muted); background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; cursor: pointer; }
.fk-tab[aria-selected="true"] { color: var(--fk-primary); border-bottom-color: var(--fk-primary); }
.fk-tabpanel[hidden] { display: none; }


.fk-toc { border: 1px solid var(--fk-rule); border-radius: var(--fk-radius); padding: 12px 16px; margin: var(--fk-sp-3) 0; background: #fff; }
.fk-toc summary { font-weight: 700; cursor: pointer; }
.fk-toc ol { margin: 8px 0 0; padding-left: 20px; }
.fk-toc ol ol { padding-left: 16px; font-size: var(--fk-fs-sm); }


.fk-banners { display: grid; grid-template-columns: 1fr 1fr; gap: var(--fk-sp-2); margin: var(--fk-sp-4) 0; }
@media (max-width: 768px) { .fk-banners { grid-template-columns: 1fr; } }
.fk-banner { display: block; text-decoration: none; color: inherit; border: 2px solid var(--fk-primary); border-radius: var(--fk-radius-lg); padding: var(--fk-sp-3); text-align: center; font-weight: 800; background: var(--fk-primary-pale); }
.fk-banner small { display: block; font-weight: 400; color: var(--fk-muted); margin-top: 4px; }

.fk-bulk { border: 1px solid var(--fk-rule); border-radius: var(--fk-radius-lg); padding: var(--fk-sp-3); text-align: center; background: #fff; box-shadow: var(--fk-shadow); }
.fk-bulk-logos { display: flex; gap: var(--fk-sp-1); justify-content: center; flex-wrap: wrap; margin-bottom: var(--fk-sp-2); }
.fk-bulk-logos .fk-logo-box { width: 100px; height: 52px; }


.fk-layout { display: grid; grid-template-columns: 1fr var(--fk-side-w); gap: var(--fk-sp-4); }
@media (max-width: 1024px) { .fk-layout { grid-template-columns: 1fr; } }
.fk-side > section { margin-bottom: var(--fk-sp-4); }
.fk-side h2 { font-size: var(--fk-h3); border-left-width: 4px; margin-top: 0; }
.fk-side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--fk-sp-1); }
.fk-side-list a { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: center; text-decoration: none; color: inherit; font-size: var(--fk-fs-sm); font-weight: 700; }
.fk-side-list img { width: 96px; aspect-ratio: var(--fk-thumb-ratio); object-fit: cover; border-radius: 4px; }
.fk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fk-chip { font-size: var(--fk-fs-xs); border: 1px solid var(--fk-rule); border-radius: 999px; padding: 4px 10px; text-decoration: none; color: var(--fk-heading); background: #fff; }


.fk-super { display: grid; grid-template-columns: 72px 1fr; gap: var(--fk-sp-2); border: 1px solid var(--fk-rule); border-radius: var(--fk-radius-lg); padding: var(--fk-card-pad); background: #fff; margin: var(--fk-sp-3) 0; }
.fk-super-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--fk-primary-pale); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--fk-primary); }
.fk-super-name { font-weight: 800; margin: 0; }
.fk-super-role { font-size: var(--fk-fs-sm); color: var(--fk-muted); margin: 2px 0 8px; }
.fk-super details summary { color: var(--fk-primary); cursor: pointer; font-size: var(--fk-fs-sm); }


.fk-share { display: flex; gap: var(--fk-sp-1); align-items: center; margin: var(--fk-sp-2) 0; }
.fk-share a { font-size: var(--fk-fs-xs); border: 1px solid var(--fk-rule); border-radius: 4px; padding: 4px 10px; text-decoration: none; color: var(--fk-heading); }


.fk-footer { background: var(--fk-primary-pale); margin-top: var(--fk-sp-8); padding: var(--fk-sp-6) 0 var(--fk-sp-4); font-size: var(--fk-fs-sm); }
.fk-footer h2 { font-size: var(--fk-fs); border: 0; padding: 0; margin: var(--fk-sp-3) 0 var(--fk-sp-1); }
.fk-footer .fk-chips { margin-bottom: var(--fk-sp-2); }
.fk-pref { columns: 4; column-gap: var(--fk-sp-2); }
@media (max-width: 768px) { .fk-pref { columns: 2; } }
.fk-footer-links { display: flex; flex-wrap: wrap; gap: var(--fk-sp-2); list-style: none; padding: 0; margin: var(--fk-sp-3) 0; }
.fk-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--fk-sp-1); list-style: none; padding: 0; }
@media (max-width: 768px) { .fk-related { grid-template-columns: repeat(2, 1fr); } }
.fk-copy { color: var(--fk-muted); font-size: var(--fk-fs-xs); margin-top: var(--fk-sp-3); }


.fk-crumb { font-size: var(--fk-fs-xs); color: var(--fk-muted); margin: var(--fk-sp-2) 0; }
.fk-trust { font-size: var(--fk-fs-xs); color: var(--fk-muted); margin: 4px 0 var(--fk-sp-2); }


.fk-hero-inner > *, .fk-hero-visual { min-width: 0; }          
.fk-search { flex-wrap: wrap; }
.fk-search input { min-width: 0; }                              
.fk-rank, .fk-rank-head > * { min-width: 0; }                   
.fk-layout > *, .fk-articles > * { min-width: 0; }              
