
.fk-fw-entry {
  position: fixed;
  right: 22px;
  bottom: 88px;
  width: 248px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(145deg, rgba(239,246,255,0.97), rgba(255,255,255,0.98));
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.16);
  z-index: 9998;
  backdrop-filter: blur(10px);
  transition: width 0.22s ease, padding 0.22s ease, border-radius 0.22s ease;
}
.fk-fw-entry .fk-fw-entry-head {
  opacity: 1;
  transition: opacity 0.18s ease 0.08s;
}
.fk-fw-entry.collapsed {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fk-fw-entry.collapsed .fk-fw-entry-head,
.fk-fw-entry.collapsed .fk-fw-entry-btn {
  display: none;
  opacity: 0;
}
.fk-fw-entry.collapsed .fk-fw-entry-toggle {
  position: static;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
}
.fk-fw-entry.collapsed .fk-fw-entry-toggle-icon::before {
  content: "?";
  font-size: 18px;
  font-weight: 800;
}
.fk-fw-entry-toggle {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: #1d4ed8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
.fk-fw-entry-toggle:hover {
  background: rgba(37, 99, 235, 0.16);
}
.fk-fw-entry-toggle-icon::before {
  content: "\2013";
  font-size: 14px;
  font-weight: 800;
  color: inherit;
}
.fk-fw-entry-head {
  display: block;
  padding-right: 28px;
}
.fk-fw-entry-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}
.fk-fw-entry-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #334155;
}
.fk-fw-entry-btn {
  border: none;
  border-radius: 12px;
  padding: 9px 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
  width: 100%;
  margin-top: 12px;
}
.fk-fw-entry-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.fk-fw-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
}
.fk-fw-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.fk-fw-overlay.active {
  display: block;
  align-items: stretch;
  justify-content: center;
}
.fk-fw-panel {
  width: min(1180px, calc(100vw - 48px));
  min-height: 100vh;
  background: #f8fafc;
  overflow: auto;
  margin: 0 auto;
}
.fk-fw-hero {
  padding: 0 28px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #fff;
}
.fk-fw-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  max-width: 1020px;
  margin: 0 auto;
  padding: 32px 0 22px;
}
.fk-fw-close {
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.fk-fw-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 12px;
  font-weight: 700;
}
.fk-fw-hero h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
}
.fk-fw-hero p {
  margin: 0;
  max-width: 720px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}
.fk-fw-body {
  padding: 24px 28px 32px;
}
.fk-fw-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 22px;
  justify-content: center;
  align-items: start;
  max-width: 1020px;
  margin: 0 auto;
}
.fk-fw-side {
  align-self: start;
  position: sticky;
  top: 16px;
}
.fk-fw-side-card,
.fk-fw-main section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
.fk-fw-side-card {
  padding: 18px;
}
.fk-fw-side-card h3 {
  margin: 0 0 12px;
  font-size: 14px;
  color: #0f172a;
}
.fk-fw-side-card ol {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  line-height: 1.8;
  font-size: 13px;
}
.fk-fw-main {
  display: grid;
  gap: 16px;
}
.fk-fw-main section {
  padding: 22px 24px;
}
.fk-fw-main h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #0f172a;
}
.fk-fw-main h3 {
  margin: 16px 0 8px;
  font-size: 15px;
  color: #1e293b;
}
.fk-fw-main p,
.fk-fw-main li {
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
}
.fk-fw-main ul,
.fk-fw-main ol {
  margin: 8px 0 0;
  padding-left: 20px;
}
.fk-fw-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.7;
}
.fk-fw-ok {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 13px;
  line-height: 1.7;
}
.fk-fw-code {
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  background: #0f172a;
  color: #e2e8f0;
  overflow: auto;
  font-size: 13px;
  line-height: 1.7;
}
.fk-fw-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
}
.fk-fw-mini {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fk-fw-mini .card {
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.fk-fw-mini .card strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
}
@media (max-width: 840px) {
  .fk-fw-hero-top {
    flex-direction: column;
  }
  .fk-fw-entry {
    right: 12px;
    left: 12px;
    top: auto;
    bottom: 84px;
    width: auto;
    padding: 14px 14px 12px;
  }
  .fk-fw-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .fk-fw-side {
    position: static;
  }
  .fk-fw-mini {
    grid-template-columns: 1fr;
  }
}
