/* Shared public-page access improvements. Keep the existing brand palette. */
html { scroll-padding-top: 88px; }
main, section[id], header[id] { scroll-margin-top: 88px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #f5c542;
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 8px;
  background: #f5c542;
  color: #171717;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
main:focus { outline: none; }
.footlinks a, footer a, .links a, .navlinks a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.legal-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.legal-links a { text-decoration: underline; text-underline-offset: 4px; }
.legal-content a { text-underline-offset: 3px; }
.small, .updated { color: #a9b3c0; }
.legal-content { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .cta .actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }
  .cta .btn { white-space: normal; }
  .cta .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 156px; }
  main, section[id], header[id] { scroll-margin-top: 156px; }
  .legal-content ~ footer .wrap { padding-inline: 20px; }
  nav .links, nav .navlinks { display: flex; gap: 12px; flex-wrap: wrap; }
  nav .nav:has(.links), nav .nav:has(.navlinks) {
    height: auto;
    min-height: 68px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  .cta .actions { grid-template-columns: minmax(0, 1fr); }
  .cta .btn:last-child:nth-child(odd) { grid-column: auto; }
  .footlinks { gap: 6px 16px; }
  .legal-links { gap: 6px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== KANK unified button system (13 Oct 2026) ===== */
body .btn,
body .footlinks a, body .legal-links a, body .kfoot .btnrow a, body .kf-legal a, body .kf-social a {
  display:inline-flex; align-items:center; justify-content:center; min-height:56px; padding:10px 18px;
  border-radius:14px; border:0; font-weight:850; font-size:16px; line-height:1.2; text-align:center;
  text-decoration:none; background:#475569; color:#fff; box-shadow:0 4px 14px rgba(0,0,0,.3);
}
body .btn:hover,
body .footlinks a:hover, body .legal-links a:hover, body .kfoot .btnrow a:hover, body .kf-legal a:hover { filter:brightness(1.12); color:#fff; transform:none; }
body .btn.primary, body .btn.primary:hover { background:#ffc800; color:#111; }
body a.btn[href*="t.me"], body .kf-social a[href*="t.me"] { background:#229ed9; color:#fff; }
body a.btn[href*="bscscan"], body a.btn[href*="#verification"]:not(.primary) { background:#16a34a; color:#fff; }
body .kf-social a[href*="x.com"] { background:#000; box-shadow:inset 0 0 0 2px #64748b; }
body .kf-social a[href^="mailto"] { background:#ffc800; color:#111; }
body .legal-links { gap:10px; }
body .legal-links a, body .kf-legal a { font-size:14px; }
body .kf-legal a+a::before { content:none; }
body .kf-legal { gap:10px; justify-content:center; }
body .footlinks { gap:10px; }
.kfoot { margin-top:40px; border-top:1px solid #283342; padding-top:22px; }
.kfoot .btnrow { display:flex; flex-wrap:wrap; gap:10px; }
.kfoot .kcopy { color:#a9b3c0; font-size:13px; margin:16px 0 0; }
/* report / record links inside cards and source lists */
body .card a.good, body .note a.good { display:flex; width:100%; align-items:center; justify-content:center; min-height:56px; padding:10px 16px; margin-top:8px; border-radius:14px; background:#16a34a; color:#fff; font-weight:850; text-decoration:none; text-align:center; }
body a.source { background:#16a34a; border:0; border-radius:14px; min-height:56px; color:#fff; box-shadow:0 4px 14px rgba(0,0,0,.3); }
body a.source span { color:#e8fff0; font-weight:600; }
body a.source b { background:transparent; color:#fff; padding:0; min-height:0; font-weight:900; }
body a.source:hover { filter:brightness(1.1); }
@media (max-width:760px) {
  body .actions:has(.btn) { display:grid; grid-template-columns:1fr; gap:12px; }
  body .actions .btn, body .cta .btn { width:100%; }
  body .footlinks, body .legal-links, body .kfoot .btnrow, body .kf-legal { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; width:100%; }
  body .footlinks a, body .legal-links a, body .kfoot .btnrow a, body .kf-legal a { width:100%; }
  body a.source { align-items:stretch; }
}
body a.card .go { display:flex; width:100%; align-items:center; justify-content:center; min-height:56px; margin-top:16px; padding:10px 16px; border-radius:14px; background:#ffc800; color:#111; font-weight:850; text-align:center; }
@media (max-width:760px) {
  body .footlinks a:last-child:nth-child(odd), body .legal-links a:last-child:nth-child(odd),
  body .kfoot .btnrow a:last-child:nth-child(odd), body .kf-legal a:last-child:nth-child(odd) { grid-column:1/-1; }
}

/* ===== Professional header ===== */
body nav.kbar { position:sticky; top:0; z-index:50; display:block; height:auto; margin:0; padding:0; border:0; border-bottom:1px solid #283342; background:rgba(13,16,21,.94); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }
.kbar-in, .kpills { max-width:1050px; margin:0 auto; padding:0 20px; }
.kbar-in { height:60px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.kbrand { display:inline-flex; align-items:center; gap:10px; color:#f6f7f9; font-weight:900; font-size:19px; letter-spacing:.02em; text-decoration:none; min-height:44px; }
.kbrand img { width:32px; height:32px; object-fit:contain; display:block; }
.kbuy { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 18px; border-radius:10px; background:#ffc800; color:#111 !important; font-weight:900; font-size:15px; text-decoration:none; white-space:nowrap; }
.kbuy:hover { filter:brightness(1.08); }
.kpills { display:flex; gap:8px; padding-bottom:10px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.kpills::-webkit-scrollbar { display:none; }
.kpill { flex:none; display:inline-flex; align-items:center; min-height:36px; padding:0 14px; border-radius:999px; background:#475569; color:#fff !important; font-weight:750; font-size:14px; text-decoration:none; white-space:nowrap; }
.kpill:hover { background:#566377; }
@media (min-width:900px) {
  body nav.kbar { display:flex; align-items:center; justify-content:center; }
  .kbar-in { display:contents; }
  body nav.kbar { padding:0 max(20px, calc((100% - 1050px)/2)); gap:20px; height:64px; justify-content:space-between; }
  .kbrand { order:1; } .kpills { order:2; padding:0; margin:0; flex:1; justify-content:center; overflow:visible; max-width:none; } .kbuy { order:3; }
}
