@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/roboto-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../fonts/robotomono-latin.woff2') format('woff2');
}

:root {
  --blue: #1D63ED;
  --blue-d: #1554cf;
  --hdr: #1D63ED;
  --promo: #050b2e;
  --bg: #f7f7f7;
  --card: #ffffff;
  --border: #e0e0e0;
  --border-2: #d8d8d8;
  --ink: #16202b;
  --ink-2: #2e3644;
  --mut: #5f6b7c;
  --mut-2: #8a94a3;
  --link: #1D63ED;
  --green: #00784b;
  --purple: #7c3aed;
  --magenta: #a21caf;
  --vb-c: #8c1d26;
  --vb-h: #d2242f;
  --vb-m: #f0a24a;
  --vb-l: #f7dca6;
  --vb-u: #d9d9d9;
  --shadow: 0 1px 3px rgba(16, 24, 40, .08);
  --radius: 6px;
  --mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
[data-theme="dark"] {
  --bg: #10151c;
  --card: #1a212b;
  --border: #2a3441;
  --border-2: #333e4d;
  --ink: #e8ecf1;
  --ink-2: #cfd6df;
  --mut: #9aa7b6;
  --mut-2: #77828f;
  --link: #6ea1ff;
  --green: #35c08e;
  --shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
svg { display: inline-block; vertical-align: middle; }
h1, h2, h3, h4 { color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

#chrome { position: sticky; top: 0; z-index: 60; }

/* promo */
.promo { background: var(--promo); color: #fff; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 56px 8px 16px; position: relative; }
.promo-in { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.promo-new { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 20px; background: linear-gradient(90deg, #ff8a5c, #ffd45c, #7ee08a, #6ea1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-new svg { width: 18px; height: 18px; color: #b48cff; }
.promo-link { color: #fff; font-weight: 700; font-size: 15px; text-decoration: underline; display: inline-flex; align-items: center; gap: 8px; }
.promo-link svg { width: 18px; height: 18px; }
.promo-x { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
.promo-x svg { width: 16px; height: 16px; }

/* header */
.hdr { background: var(--hdr); }
.hdr-in { display: flex; align-items: center; gap: 20px; padding: 0 24px; height: 48px; max-width: 1880px; margin: 0 auto; }
.hdr-logo { display: flex; align-items: center; gap: 8px; color: #fff; }
.hdr-logo:hover { text-decoration: none; }
.whale { width: 44px; height: 28px; }
.whale.blue { color: var(--blue); }
.hdr-word { font-size: 26px; font-weight: 700; letter-spacing: .5px; color: #fff; }
.hdr-search { flex: 1; max-width: 720px; margin-left: auto; position: relative; }
.hdr-search-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #fff; pointer-events: none; }
.hdr-search-ic svg { width: 20px; height: 20px; }
#search-input {
  width: 100%; height: 46px; border: 0; border-radius: 8px;
  background: rgba(255, 255, 255, .18); color: #fff;
  padding: 0 64px 0 46px; font-size: 15px; font-family: inherit;
}
#search-input::placeholder { color: rgba(255, 255, 255, .85); }
#search-input:focus { background: rgba(255, 255, 255, .26); outline: 2px solid rgba(255,255,255,.5); }
.hdr-kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: 1.4px solid rgba(255,255,255,.8); border-radius: 6px; color: #fff; font-size: 13px; font-weight: 700; padding: 3px 8px; font-family: inherit; }
.hdr-icons { display: flex; align-items: center; gap: 8px; }
.hicon { background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; border-radius: 6px; display: inline-flex; }
.hicon:hover { background: rgba(255, 255, 255, .14); }
.hicon svg { width: 22px; height: 22px; }
.hdr-signin { color: #fff; font-weight: 500; font-size: 15px; margin: 0 6px; }
.hdr-signup { color: #fff; border: 1.4px solid rgba(255,255,255,.85); border-radius: 6px; padding: 9px 16px; font-weight: 500; font-size: 15px; }
.hdr-signup:hover { background: rgba(255,255,255,.14); text-decoration: none; }
.hdr-avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--blue); font-weight: 700; font-size: 16px; border: 0; cursor: pointer; }
.hmenu-wrap { position: relative; }
.hmenu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(10, 20, 40, .18); min-width: 220px; padding: 8px; display: flex; flex-direction: column; z-index: 80; }
.hmenu a, .hmenu button { display: block; text-align: left; padding: 9px 12px; border-radius: 6px; color: var(--ink-2); font-size: 14px; background: none; border: 0; cursor: pointer; }
.hmenu a:hover, .hmenu button:hover { background: var(--bg); text-decoration: none; }
.hmenu[hidden] { display: none; }
.suggest[hidden] { display: none; }
.hmenu a svg { width: 12px; height: 12px; margin-left: 4px; }
.user-menu { right: 24px; position: fixed; top: 108px; }
.user-menu-head { padding: 10px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; display: flex; flex-direction: column; gap: 2px; }
.user-menu-head span { color: var(--mut); font-size: 12.5px; }

/* suggestions */
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--card); border-radius: 8px; box-shadow: 0 12px 32px rgba(8, 15, 35, .25); overflow: hidden; z-index: 90; border: 1px solid var(--border); }
.sug { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; background: none; border: 0; cursor: pointer; text-align: left; }
.sug.on, .sug:hover { background: var(--bg); }
.sug-logo { width: 26px; height: 26px; flex: none; }
.sug-logo svg { width: 100%; height: 100%; }
.sug-name { font-weight: 500; color: var(--ink); font-size: 14px; }
.sug-meta { margin-left: auto; color: var(--mut); font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.sug-meta .badge { font-size: 11px; }
.sug-meta svg.vcheck { width: 14px; height: 14px; color: var(--blue); }
.sug-empty { padding: 14px; color: var(--mut); font-size: 13.5px; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.badge svg { width: 16px; height: 16px; }
.badge-official { color: var(--green); }
.badge-verified { color: var(--link); }
.badge-hardened { color: var(--purple); }
.vcheck { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* pages */
.page { min-height: 60vh; }

/* home */
.home-hero { margin: 8px 24px 0; border-radius: 4px; background: linear-gradient(120deg, #7b3ff2 0%, #5a54f0 30%, #3f6cf0 60%, #1D63ED 100%); color: #fff; position: relative; overflow: hidden; }
.home-hero::before, .home-hero::after { content: ''; position: absolute; border-radius: 50%; }
.home-hero::before { width: 900px; height: 900px; left: -200px; top: -500px; background: rgba(255, 255, 255, .07); }
.home-hero::after { width: 1200px; height: 1200px; right: -350px; bottom: -800px; background: rgba(20, 40, 160, .25); }
.home-hero-in { position: relative; text-align: center; padding: 110px 24px 120px; z-index: 1; }
.home-hero-in h1 { font-size: 40px; margin: 0 0 16px; font-weight: 700; color: #fff; }
.home-hero-in p { font-size: 16px; line-height: 1.55; margin: 0 0 26px; color: #eef1ff; }
.home-hero-cta { display: flex; gap: 14px; justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; font-size: 15px; font-weight: 500; padding: 11px 20px; cursor: pointer; border: 0; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 4px rgba(29, 99, 237, .4); }
.btn-primary:hover { background: var(--blue-d); }
.btn-outline-light { border: 1.4px solid rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-white { background: #fff; color: #16202b; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.btn-block { width: 100%; }

.home-body { display: flex; gap: 40px; padding: 24px 24px 60px; max-width: 1880px; margin: 0 auto; }
.home-side { width: 260px; flex: none; }
.side-group { margin-bottom: 26px; }
.side-group h3 { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.side-chev { background: none; border: 0; cursor: pointer; color: var(--blue); padding: 2px; }
.side-chev svg { width: 18px; height: 18px; transition: transform .15s; }
.side-group.collapsed ul, .fgroup.collapsed .fbody { display: none; }
.side-group.collapsed .side-chev svg { transform: rotate(-90deg); }
.side-group ul { list-style: none; margin: 0; padding: 0; }
.side-group li a { display: block; padding: 7px 0; color: var(--mut); font-size: 14.5px; }
.side-group li a:hover { color: var(--link); text-decoration: none; }
.home-main { flex: 1; min-width: 0; }
.home-sec { margin-bottom: 40px; }
.home-sec-head { display: flex; align-items: baseline; justify-content: space-between; }
.home-sec h2, .spot-title { font-size: 20px; font-weight: 500; color: #55617a; margin: 0 0 18px; }
[data-theme="dark"] .home-sec h2, [data-theme="dark"] .spot-title { color: var(--mut); }
.home-row, .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.spot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spot-card { background: var(--card); border: 1px solid var(--border); border-radius: 4px; display: flex; flex-direction: column; overflow: hidden; }
.spot-card:hover { box-shadow: var(--shadow); }
.spot-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .6px; color: var(--mut); padding: 12px 16px 0; }
.spot-card h3 { font-size: 16px; line-height: 1.35; margin: 8px 16px 8px; }
.spot-card p { color: var(--ink-2); font-size: 13px; line-height: 1.5; margin: 0 16px 14px; }
.spot-art { margin-top: auto; background: #0d1b3a; min-height: 180px; }
.spot-art svg { width: 100%; height: 180px; display: block; }
.art-chip { fill: #cfe0ff; font: 600 10px 'Roboto Mono', monospace; }
text.art-chip { font-size: 11px; }
.art-logo { fill: #fff; font: 700 22px 'Roboto', sans-serif; }
.art-plus { fill: #9fb4dd; font: 400 16px 'Roboto', sans-serif; }

/* repo cards */
.rcard { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 4px; padding: 20px; display: flex; flex-direction: column; gap: 12px; color: inherit; }
.rcard:hover { text-decoration: none; box-shadow: 0 2px 10px rgba(15, 30, 60, .12); border-color: var(--border-2); }
.rcard-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .7px; color: var(--mut-2); }
.rec-pill { position: absolute; top: 14px; right: 14px; background: #7c4dff; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .6px; border-radius: 999px; padding: 6px 14px; }
.rec-pill.abs { position: absolute; }
.rcard-head { display: flex; gap: 14px; align-items: flex-start; }
.rcard-logo { width: 44px; height: 44px; flex: none; }
.rcard-logo svg { width: 100%; height: 100%; }
.rcard-names { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rcard-name { font-size: 16.5px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard:hover .rcard-name { color: var(--link); }
.rcard-pub { color: var(--mut); font-size: 13px; }
.rcard-desc { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 21px; }
.rcard-stats { margin-top: auto; display: flex; gap: 18px; color: var(--ink-2); font-size: 13.5px; }
.stat { display: inline-flex; align-items: center; gap: 7px; }
.stat svg { width: 17px; height: 17px; color: var(--ink-2); }

/* search page */
.search-in { display: flex; gap: 44px; max-width: 1880px; margin: 0 auto; padding: 60px 24px 70px; }
.filters { width: 300px; flex: none; }
.filters-title { font-size: 20px; font-weight: 700; margin: 0 0 26px; }
.fgroup { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 22px; }
.fgroup h3 { display: flex; align-items: center; justify-content: space-between; font-size: 16.5px; font-weight: 700; margin: 0 0 14px; }
.fcheck { display: flex; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; position: relative; scroll-margin-top: 130px; }
.fcheck input { position: absolute; opacity: 0; }
.fbox { width: 20px; height: 20px; border: 1.6px solid var(--mut-2); border-radius: 4px; flex: none; position: relative; background: var(--card); }
.fcheck input:checked + .fbox { background: var(--blue); border-color: var(--blue); }
.fcheck input:checked + .fbox::after { content: ''; position: absolute; left: 5.5px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fcheck input:focus-visible + .fbox { outline: 2px solid var(--blue); outline-offset: 2px; }
.flabel { color: var(--ink-2); font-size: 15px; }
.fico { display: inline-flex; }
.fico svg { width: 18px; height: 18px; }
.fico-hardened { color: var(--purple); }
.fico-official { color: var(--green); }
.fico-verified { color: var(--blue); }
.fico-soss { color: var(--magenta); }
.fmore { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--ink-2); font-size: 15px; cursor: pointer; padding: 6px 0; }
.fmore svg { width: 15px; height: 15px; }
.results { flex: 1; min-width: 0; }
.results-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.results-count { font-size: 15px; color: var(--ink); margin: 0; }
.select { position: relative; display: inline-flex; }
.select select { appearance: none; -webkit-appearance: none; border: 1px solid var(--border-2); background: var(--card); color: var(--ink); border-radius: 6px; font-size: 15px; font-family: inherit; padding: 12px 44px 12px 16px; cursor: pointer; min-width: 170px; }
.select > svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--blue); pointer-events: none; }
.empty { text-align: center; padding: 70px 20px; }
.empty-circle { width: 120px; height: 120px; margin: 0 auto 24px; border-radius: 50%; background: #e8eefc; display: flex; align-items: center; justify-content: center; }
[data-theme="dark"] .empty-circle { background: #1c2740; }
.empty-circle svg { width: 44px; height: 44px; color: var(--blue); }
.empty h3 { font-size: 20px; margin: 0 0 10px; }
.empty p { color: var(--mut); margin: 0 0 24px; }
.empty.small { padding: 40px 20px; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; align-items: center; }
.pbtn { min-width: 38px; height: 38px; border: 1px solid var(--border-2); background: var(--card); color: var(--ink-2); border-radius: 6px; font-size: 14.5px; cursor: pointer; }
.pbtn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.pbtn.cur { background: var(--blue); border-color: var(--blue); color: #fff; }
.pbtn:disabled { opacity: .45; cursor: default; }
.pdots { color: var(--mut); padding: 0 4px; }

/* repo page */
.repo-in { max-width: 1880px; margin: 0 auto; padding: 40px 24px 80px; }
.crumbs { font-size: 15px; color: var(--mut); display: flex; gap: 10px; align-items: center; margin-bottom: 44px; flex-wrap: wrap; }
.csep { color: var(--mut-2); }
.repo-head { display: flex; gap: 34px; align-items: flex-start; margin-bottom: 40px; }
.repo-logo { width: 128px; height: 128px; flex: none; }
.repo-logo svg { width: 100%; height: 100%; }
.repo-head-txt h1 { font-size: 34px; margin: 0 0 8px; font-weight: 700; display: inline-block; margin-right: 18px; }
.repo-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.rmeta-stat { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 15px; font-weight: 700; }
.rmeta-stat svg { width: 18px; height: 18px; }
.rdot { color: var(--mut-2); }
.repo-desc { color: var(--ink-2); font-size: 16px; margin: 0 0 14px; }
.cat-pill { display: inline-block; background: var(--border); color: var(--ink-2); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .5px; padding: 7px 14px; }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: 34px; }
.tab { padding: 12px 18px 14px; font-size: 15.5px; font-weight: 500; color: var(--mut); border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--ink); text-decoration: none; }
.tab.on { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }

.repo-cols { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.mdcard { background: var(--card); border: 1px solid var(--border); border-radius: 4px; padding: 40px 46px; }
.mdcard h2 { font-size: 28px; font-weight: 700; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mdcard h3 { font-size: 21px; font-weight: 700; margin: 30px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.mdcard h4 { font-size: 17px; margin: 24px 0 10px; }
.mdcard h5 { font-size: 15px; margin: 18px 0 8px; }
.mdcard p { color: var(--ink-2); font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.mdul { color: var(--ink-2); font-size: 15px; line-height: 1.7; padding-left: 22px; margin: 0 0 14px; }
.mdul li { margin-bottom: 6px; }
.ic, .mdcard code.ic { font-family: var(--mono); font-size: 13px; background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 2px 7px; color: var(--ink-2); }
.codeblock { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }
.mdcard a .exti { width: 12px; height: 12px; margin-left: 4px; }

.tagsum { background: var(--card); border: 1px solid var(--border); border-radius: 4px; padding: 28px; position: sticky; top: 90px; }
.tagsum h3 { font-size: 20px; margin: 0 0 20px; font-weight: 700; }
.field-label { color: var(--mut); font-size: 13px; margin-bottom: 6px; }
.tagsum-sel { width: 100%; display: flex; }
.tagsum-sel select { width: 100%; }
.ts-row { margin-top: 20px; }
.ts-k { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.ts-v { color: var(--ink-2); font-size: 15px; }
.ts-v.mono { font-family: var(--mono); font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.copybtn { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 2px; display: inline-flex; }
.copybtn svg { width: 16px; height: 16px; }
.copybtn.copied { color: var(--green); }
.pullbox { margin-top: 24px; display: flex; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.pullbox code { flex: 1; background: var(--bg); font-family: var(--mono); font-size: 13px; padding: 13px 14px; color: var(--ink-2); overflow-x: auto; white-space: nowrap; }
.pullbtn { background: var(--blue); border: 0; color: #fff; width: 46px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pullbtn svg { width: 18px; height: 18px; }
.pullbtn:hover { background: var(--blue-d); }
.pullbtn.copied { background: var(--green); }

/* tags tab */
.tags-tools { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; flex-wrap: wrap; }
.tags-sort { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); }
.tags-filter { position: relative; flex: none; width: 300px; }
.tags-filter svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--mut); }
.tags-filter input { width: 100%; border: 1px solid var(--border-2); border-radius: 6px; background: var(--card); color: var(--ink); font-size: 14.5px; font-family: inherit; padding: 12px 14px 12px 40px; }
.tagcard { background: var(--card); border: 1px solid var(--border); border-radius: 4px; padding: 26px 28px; margin-bottom: 22px; }
.tagcard-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 22px; flex-wrap: wrap; }
.tagk { font-size: 11.5px; letter-spacing: .7px; font-weight: 700; color: var(--mut-2); margin-bottom: 6px; }
.tagname { font-size: 16.5px; font-weight: 700; }
.tagpushed { color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.tagcard-pull { display: flex; border-radius: 6px; overflow: hidden; align-self: center; }
.tagcard-pull code { background: var(--bg); border: 1px solid var(--border); border-right: 0; border-radius: 6px 0 0 6px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); padding: 12px 16px; white-space: nowrap; }
.tag-run { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0 12px; }
.tag-run svg { width: 20px; height: 20px; }
.tag-run.copied { color: var(--green); }
.tagtable { border-top: 1px solid var(--border); }
.trow { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr .8fr; gap: 18px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.trow.thead { border-bottom: 1px solid var(--border); padding: 14px 4px; font-weight: 700; color: var(--ink); }
.trow.thead span { display: inline-flex; align-items: center; gap: 8px; }
.trow.thead svg { width: 16px; height: 16px; }
.trow.thead .tsize-h { justify-content: flex-end; text-align: right; }
.tdigest { font-family: var(--mono); font-size: 13.5px; }
.tarch { color: var(--ink-2); }
.tsize { text-align: right; color: var(--ink-2); }
.tvuln-h svg { color: var(--mut); }
.vbar { display: inline-flex; height: 24px; border-radius: 3px; overflow: hidden; min-width: 120px; }
.vb-seg { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; padding: 0 8px; color: #fff; font-size: 12.5px; font-weight: 500; }
.vb-c { background: var(--vb-c); }
.vb-h { background: var(--vb-h); }
.vb-m { background: var(--vb-m); color: #4a2c00; }
.vb-l { background: var(--vb-l); color: #6b4a00; }
.vb-u { background: repeating-linear-gradient(45deg, var(--vb-u) 0 4px, #ececec 4px 8px); color: #555; }
.tmorebtn { background: none; border: 0; color: var(--link); font-size: 14.5px; font-weight: 500; cursor: pointer; padding: 14px 4px 0; }

/* publisher */
.pub-in { max-width: 1880px; margin: 0 auto; padding: 60px 24px 80px; }
.pub-head { display: flex; gap: 40px; align-items: center; margin-bottom: 44px; }
.pub-logo { width: 128px; height: 128px; background: var(--card); border-radius: 8px; padding: 10px; }
.pub-logo svg { width: 100%; height: 100%; }
.pub-head-txt h1 { font-size: 28px; margin: 0 0 14px; font-weight: 700; }
.pub-meta { display: flex; gap: 26px; color: var(--mut); font-size: 14.5px; flex-wrap: wrap; align-items: center; }
.pub-meta span, .pub-meta a { display: inline-flex; align-items: center; gap: 8px; }
.pub-meta svg { width: 17px; height: 17px; }
.pub-banner { display: flex; align-items: center; gap: 34px; border-radius: 6px; padding: 30px 40px; margin: 30px 0 34px; background: linear-gradient(90deg, #05070d 0%, #06264f 55%, #0a63c9 100%); color: #fff; overflow: hidden; }
.pub-banner-logo { width: 84px; height: 84px; background: #fff; border-radius: 8px; padding: 8px; flex: none; }
.pub-banner-logo svg { width: 100%; height: 100%; }
.pub-banner-txt { flex: 1; }
.pub-banner-txt h2 { color: #fff; font-size: 30px; margin: 0 0 6px; font-weight: 700; }
.pub-banner-txt p { margin: 0; color: #cfe0f5; font-size: 16px; }
.pub-tools { display: flex; align-items: center; gap: 26px; margin-bottom: 28px; flex-wrap: wrap; }
.pub-search { position: relative; width: 380px; max-width: 100%; }
.pub-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--mut); }
.pub-search input { width: 100%; border: 1px solid var(--border-2); border-radius: 6px; background: var(--card); color: var(--ink); padding: 13px 14px 13px 40px; font-size: 14.5px; font-family: inherit; }
.pub-count { color: var(--ink); font-size: 15px; margin: 0; }
.pub-cards { grid-template-columns: repeat(3, 1fr); }

/* auth */
.auth { display: flex; justify-content: center; padding: 70px 20px 90px; }
.auth-card { width: 460px; max-width: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 40px; box-shadow: var(--shadow); }
.auth-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.auth-logo .whale { width: 52px; height: 32px; }
.auth-logo span { font-size: 24px; font-weight: 700; color: var(--ink); }
.auth-card h1 { font-size: 24px; margin: 0 0 8px; }
.auth-sub { color: var(--mut); margin: 0 0 26px; font-size: 14.5px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 7px; font-size: 14.5px; }
.field input { width: 100%; border: 1px solid var(--border-2); border-radius: 6px; padding: 12px 14px; font-size: 15px; font-family: inherit; background: var(--card); color: var(--ink); }
.field input.invalid { border-color: var(--vb-h); }
.ferr { color: var(--vb-h); font-size: 13px; margin-top: 6px; display: none; }
.ferr.show { display: block; }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 14px; }
.auth-forgot { font-size: 14px; }
.remember { padding: 0; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--mut); font-size: 14.5px; }

/* 404 */
.nf { padding: 40px 24px 80px; max-width: 1880px; margin: 0 auto; }
.nf-circle { width: min(680px, 88vw); aspect-ratio: 1; margin: 30px auto 26px; border-radius: 50%; background: #129be5; position: relative; display: flex; justify-content: center; overflow: hidden; }
.nf-txt { text-align: center; color: #fff; margin-top: 16%; position: relative; z-index: 1; }
.nf-txt h1 { color: #fff; font-size: 64px; margin: 0 0 8px; font-weight: 700; }
.nf-txt h2 { color: #fff; font-size: 22px; margin: 0 0 10px; border-top: 1.5px solid rgba(255,255,255,.85); border-bottom: 1.5px solid rgba(255,255,255,.85); padding: 14px 0; }
.nf-txt p { font-size: 16px; margin: 0; padding-bottom: 16px; border-bottom: 1.5px solid rgba(255,255,255,.85); }
.nf-art { position: absolute; bottom: -6px; width: 220px; }
.nf-back { text-align: center; font-size: 17px; }

/* home cta + publisher program */
.home-cta { border-top: 1px solid var(--border); padding-top: 50px; text-align: center; }
.home-cta h2 { font-size: 26px; margin: 0 0 12px; }
.home-cta p { color: var(--ink-2); font-size: 16px; margin: 0 0 28px; }
.home-pub { border-top: 1px solid var(--border); margin-top: 60px; padding-top: 60px; }
.eyebrow-line { font-size: 14px; letter-spacing: .8px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.eyebrow-line::after { content: ''; display: block; width: 64px; height: 2px; background: var(--blue); margin-top: 14px; }
.home-pub-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.home-pub-txt h2 { font-size: 34px; line-height: 1.2; margin: 26px 0 18px; }
.home-pub-txt p { font-size: 16.5px; color: var(--ink-2); line-height: 1.6; margin: 0 0 30px; }
.mini { background: #fff; border-radius: 8px; box-shadow: 0 18px 44px rgba(10, 20, 50, .25); overflow: hidden; color: #16202b; }
.mini-hdr { background: var(--blue); color: #fff; display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 12px; font-weight: 700; }
.mini-hdr .thin { font-weight: 400; opacity: .8; }
.mini-logo { width: 18px; height: 12px; }
.mini-logo svg { width: 100%; height: 100%; }
.mini-body { padding: 16px; }
.mini-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.mini-cube { width: 44px; height: 44px; }
.mini-cube svg { width: 100%; height: 100%; }
.mini-vp { color: var(--blue); font-size: 11px; display: inline-flex; align-items: center; gap: 4px; }
.mini-vp svg { width: 12px; height: 12px; }
.mini-sub { color: #5f6b7c; font-size: 11px; margin-top: 3px; }
.mini-tabs { display: flex; gap: 4px; border-bottom: 1px solid #e0e0e0; margin-bottom: 12px; }
.mini-tabs span { font-size: 11px; padding: 6px 10px; color: #5f6b7c; border-bottom: 2px solid transparent; }
.mini-tabs span.on { color: var(--blue); border-color: var(--blue); font-weight: 700; }
.mini-md h5 { margin: 0 0 8px; font-size: 12px; }
.mini-md .sk { margin-bottom: 6px; }
.mini-pull { background: #f2f3f5; border: 1px solid #e0e0e0; font-family: var(--mono); font-size: 10.5px; color: #5f6b7c; border-radius: 4px; padding: 8px 10px; margin-top: 10px; }

/* footer */
.ftr { background: var(--bg); border-top: 1px solid var(--border); margin-top: 40px; }
[data-theme="dark"] .ftr { background: #0d1218; }
.ftr-in { max-width: 1880px; margin: 0 auto; padding: 60px 24px 40px; }
.ftr-top { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr 1.2fr; gap: 30px; }
.ftr-logo { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 30px; font-weight: 700; }
.ftr-logo .whale { width: 60px; height: 38px; }
.fcol h4 { font-size: 16.5px; margin: 0 0 16px; font-weight: 700; }
.fcol .fsub { margin-top: 22px; }
.fcol a { display: flex; align-items: center; gap: 6px; color: var(--mut); font-size: 15px; padding: 6px 0; }
.fcol a:hover { color: var(--link); }
.fcol a svg { width: 12px; height: 12px; }
.ftr-bottom { border-top: 1px solid var(--border); margin-top: 50px; padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ftr-legal { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 15px; flex-wrap: wrap; }
.ftr-legal a { color: var(--mut); text-decoration: underline; }
.fsep { color: var(--mut-2); }
.ftr-social { display: flex; gap: 26px; }
.ftr-social a { color: var(--mut); }
.ftr-social a:hover { color: var(--ink); }
.ftr-social svg { width: 20px; height: 20px; }

/* toast */
#toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); background: #16202b; color: #fff; font-size: 14px; padding: 12px 22px; border-radius: 8px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* skeletons */
.sk { display: block; background: linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 4px; height: 14px; margin-bottom: 10px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.w20 { width: 20%; } .w30 { width: 30%; } .w40 { width: 40%; } .w60 { width: 60%; } .w80 { width: 80%; } .w100 { width: 100%; }
.h24 { height: 24px; } .h28 { height: 28px; }
.skel-page { padding: 50px 24px; max-width: 1880px; margin: 0 auto; }
.sk-head { display: flex; gap: 24px; margin: 30px 0; }
.logo-sk { width: 128px; height: 128px; border-radius: 8px; }
.rcard.skel .rcard-logo.sk { width: 44px; height: 44px; border-radius: 6px; }
.rcard.skel .rcard-eyebrow.sk { width: 40%; height: 10px; }
.rcard.skel .rcard-names { flex: 1; }

/* feedback tab */
.fb-tab { position: fixed; right: 0; top: 45%; writing-mode: vertical-rl; background: var(--blue); color: #fff; padding: 14px 8px; font-size: 13px; border-radius: 6px 0 0 6px; cursor: pointer; border: 0; z-index: 50; }

/* responsive */
@media (max-width: 1400px) {
  .home-row { grid-template-columns: repeat(2, 1fr); }
  .cards, .pub-cards { grid-template-columns: repeat(2, 1fr); }
  .spot-row { grid-template-columns: repeat(2, 1fr); }
  .repo-cols { grid-template-columns: minmax(0, 1fr); }
  .mdcard { min-width: 0; }
  .tagsum { position: static; }
}
@media (max-width: 1100px) {
  .search-in { flex-direction: column; gap: 26px; padding-top: 30px; }
  .filters { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
  .filters-title { grid-column: 1 / -1; }
  .ftr-top { grid-template-columns: repeat(2, 1fr); }
  .home-body { flex-direction: column; }
  .home-side { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
  .home-pub-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hdr-in { gap: 10px; padding: 0 14px; }
  .hdr-icons .hicon { display: none; }
  .hdr-signin { display: none; }
  .home-row, .cards, .pub-cards, .spot-row { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .home-side { display: none; }
  .repo-head { flex-direction: column; gap: 20px; }
  .repo-logo { width: 88px; height: 88px; }
  .trow { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .tsize { text-align: left; }
  .home-hero-in { padding: 70px 16px 90px; }
  .home-hero-in h1 { font-size: 30px; }
  .pub-banner { flex-direction: column; text-align: center; }
  .mdcard { padding: 24px 20px; }
  .tagcard { padding: 18px 16px; }
  .tagcard-pull { width: 100%; }
  .tagcard-pull code { overflow-x: auto; max-width: 100%; }
}
