:root {
  --text: #171719;
  --muted: rgba(0, 0, 0, 0.42);
  --soft: rgba(0, 0, 0, 0.08);
  --blue: #4567ff;
  --yellow: #ffd43b;
  --panel: rgba(255, 255, 255, 0.82);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #fff;
  font-family: Inter, "Noto Sans SC", -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 clamp(80px, 11.7vw, 240px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  height: 18px;
  width: auto;
  aspect-ratio: 2096 / 388;
  flex: 0 0 auto;
  color: transparent;
  background: url("assets/site-logo.png") center / contain no-repeat;
}

/* 顶部导航的 logo：小水智能横版字标（图标+文字同高合并），按内容宽高比(2096:388)以 18px 高展示。 */
.site-nav .brand-mark {
  height: 18px;
  width: auto;
  aspect-ratio: 2096 / 388;
  border-radius: 0;
}

.site-nav .brand {
  gap: 6px;
}

.brand-mark::after {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 42px;
  margin-left: 24px;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
  min-width: 213px;
}

.nav-hinted-auth-actions {
  display: none;
  align-items: center;
  gap: 14px;
}

.has-auth-hint .nav-guest-login {
  display: none;
}

.has-auth-hint .nav-hinted-auth-actions {
  display: inline-flex;
}

/* 已登录提示存在时，先藏起「需要登录」卡片，避免水合(/auth/me)前闪现登录页；
   登录后 JS 会把 .dashboard-auth-main 整块换成 .dashboard-source-main，规则自动失效。
   若 /me 失败（实际未登录），clearAuthHint() 会移除该类，卡片照常显示。 */
.has-auth-hint .dashboard-auth-main {
  visibility: hidden;
}

.nav-publish,
.nav-login,
.nav-icon {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-publish {
  min-width: 113px;
  color: #fff;
  background: #202024;
  padding: 0 20px;
}

.nav-login {
  width: 86px;
  min-width: 86px;
  padding: 0 20px;
  color: #111;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-icon {
  position: relative;
  width: 38px;
  min-width: 38px;
  padding: 0;
  color: rgba(0, 0, 0, 0.56);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-icon::before,
.nav-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.nav-user::before {
  top: 9px;
  left: 15px;
  width: 7px;
  height: 7px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}

.nav-user::after {
  left: 11px;
  bottom: 8px;
  width: 15px;
  height: 9px;
  border: 1.7px solid currentColor;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.nav-bell::before {
  left: 13px;
  top: 9px;
  width: 11px;
  height: 15px;
  border: 1.7px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 5px 5px;
}

.nav-bell::after {
  left: 12px;
  top: 23px;
  width: 15px;
  height: 6px;
  border-top: 1.7px solid currentColor;
  border-radius: 50%;
  box-shadow: 5px 3px 0 -3px currentColor;
}

.hero {
  position: relative;
  min-height: 873px;
  padding-top: 60px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 13%, rgba(90, 200, 250, 0.16), transparent 32%),
    radial-gradient(circle at 18% 79%, rgba(94, 211, 246, 0.22), transparent 24%),
    radial-gradient(circle at 51% 41%, rgba(255, 141, 188, 0.12), transparent 27%),
    radial-gradient(circle at 78% 33%, rgba(225, 238, 92, 0.18), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fbfdff 67%, #fff 100%);
}

.sun {
  display: none;
}

.hero-inner {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 88px 24px 0;
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  color: #111;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.hero-copy h1 {
  width: min(100%, 1260px);
  margin-top: 40px;
  font-size: 48px;
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-word {
  color: var(--blue);
}

.hero-eyes {
  display: inline-block;
  margin: 0 4px 0 6px;
  color: #111;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-5px);
}

.hero-comma {
  color: var(--blue);
}

.hero-copy p {
  margin-top: 22px;
  color: rgba(0, 0, 0, 0.36);
  font-size: 18px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 50px;
}

.btn-primary,
.btn-secondary {
  height: 50px;
  min-width: 188px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: #202024;
  border: 0;
}

.btn-secondary {
  color: rgba(0, 0, 0, 0.62);
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-primary:not(.active) {
  color: rgba(0, 0, 0, 0.62);
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary.active {
  color: #fff;
  background: #202024;
  border-color: #202024;
}

.install-card {
  width: clamp(544px, 39vw, 697px);
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(67, 99, 255, 0.14), 0 12px 46px rgba(255, 207, 71, 0.14);
  overflow: hidden;
}

.install-tabs {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(108px, 128px);
  align-items: stretch;
  gap: 16px;
  padding: 0 16px;
}

.install-tabs button {
  position: relative;
  min-height: 64px;
  min-width: 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.46);
  background: transparent;
  border: 0;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 700;
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.25;
}

.install-tabs button.active {
  color: #111;
}

/* 选中态下划线改为固定长度指示条，两个 tab 宽度不同也一样长 */
.install-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #111;
  border-radius: 1px;
}

.mascot {
  position: relative;
  width: 82px;
  height: 78px;
  margin-left: -34px;
  margin-bottom: -10px;
  display: block;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  transform: none;
  clip-path: none;
}

.mascot img {
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 82px;
  height: auto;
  display: block;
}

.mascot::before,
.mascot::after,
.mascot i,
.mascot i::before,
.mascot i::after {
  display: none;
}

.mascot::before {
  width: 9px;
  height: 9px;
  left: 40px;
  top: 28px;
  box-shadow: 23px 1px 0 #111;
}

.mascot::after {
  width: 18px;
  height: 7px;
  left: 46px;
  top: 48px;
  background: transparent;
  border-bottom: 3px solid #111;
}

.mascot i {
  position: absolute;
  left: -4px;
  bottom: 15px;
  width: 30px;
  height: 24px;
  background: var(--yellow);
  border-radius: 16px 12px 12px 18px;
  transform: rotate(-18deg);
}

.mascot i::before,
.mascot i::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--yellow);
  border-radius: 50%;
}

.mascot i::before {
  left: 25px;
  top: -50px;
}

.mascot i::after {
  left: 56px;
  top: -43px;
}

.install-command {
  min-height: 104px;
  margin: 20px 20px 18px;
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 8px 8px;
  align-items: center;
  padding: 18px 18px;
  text-align: left;
  background: rgba(116, 116, 128, 0.08);
  border-radius: 14px;
}

.install-command span {
  grid-column: 1 / -1;
  color: rgba(0, 0, 0, 0.28);
  font-size: 13px;
  line-height: 1.6;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.install-command strong {
  min-width: 0;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.install-command strong.is-cli-command {
  color: #2f7b28;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 500;
}

.install-command button {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  color: rgba(0, 0, 0, 0.45);
  background: transparent;
  border: 0;
  font-size: 0;
}

.install-command button::before,
.install-command button::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.install-command button::before {
  left: 9px;
  top: 4px;
}

.install-command button::after {
  left: 5px;
  top: 8px;
  background: rgba(245, 245, 245, 0.92);
}

.hero-banner {
  width: clamp(620px, 48.2vw, 986px);
  min-height: 78px;
  margin-top: 66px;
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr) 124px;
  align-items: center;
  text-align: left;
  color: #202024;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 201, 53, 0.70);
  border-radius: 18px;
  box-shadow: 10px 10px 0 #ffc928, 0 18px 60px rgba(255, 194, 31, 0.16);
  overflow: visible;
}

.banner-mascot {
  position: relative;
  height: 78px;
  display: block;
  background: transparent;
  overflow: visible;
}

.banner-mascot img {
  position: absolute;
  left: 12px;
  top: -23px;
  width: 112px;
  height: auto;
  display: block;
}

.banner-mascot::before,
.banner-mascot::after,
.banner-mascot i,
.banner-mascot i::before,
.banner-mascot em {
  display: none;
}

.banner-mascot::before {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -24px;
  width: 74px;
  height: 84px;
  background: linear-gradient(145deg, #ffe686, #ffc928);
  border-radius: 26px 26px 24px 24px;
  transform: rotate(-8deg);
  box-shadow: inset 0 10px 18px rgba(255, 255, 255, 0.22);
}

.banner-mascot::after {
  content: "";
  position: absolute;
  left: 53px;
  top: 31px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 27px -2px 0 #fff;
}

.banner-mascot i {
  position: absolute;
  left: 57px;
  top: 35px;
  width: 4px;
  height: 4px;
  background: #111;
  border-radius: 50%;
  box-shadow: 27px -2px 0 #111;
  z-index: 2;
}

.banner-mascot i::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  width: 26px;
  height: 9px;
  border-bottom: 3px solid #111;
  border-radius: 50%;
}

.banner-mascot em {
  position: absolute;
  left: 22px;
  top: -13px;
  width: 24px;
  height: 45px;
  border: 4px solid #ffc928;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  transform: rotate(-16deg);
}

.hero-banner strong,
.hero-banner small {
  display: block;
}

.hero-banner strong {
  font-size: 16px;
  font-weight: 800;
}

.hero-banner small {
  margin-top: 5px;
  color: rgba(0, 0, 0, 0.42);
  font-size: 12px;
}

.hero-banner b {
  justify-self: center;
  padding: 10px 18px;
  color: #111;
  background: #ffc928;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(112, 81, 255, 0.26);
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  background: #dedee5;
  border-radius: 999px;
}

.slider-dots span.active {
  width: 28px;
  background: var(--blue);
}

.feedback-tab {
  position: fixed;
  right: 16px;
  top: 690px;
  z-index: 20;
  width: 48px;
  min-height: 104px;
  /* 建议反馈功能暂未开放：先隐藏悬浮按钮，功能上线后改回 display: flex。见 TASK.md FE-FEEDBACK。 */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(69, 103, 255, 0.16);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.05;
  writing-mode: vertical-rl;
  letter-spacing: 1px;
}

.source-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
}

.source-login-overlay[hidden] {
  display: none;
}

.source-login-dialog {
  position: relative;
  width: 412px;
  padding: 28px 36px 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.source-login-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: transparent;
  background: #f2f2f2;
  border: 0;
  border-radius: 50%;
  font-size: 0;
}

.source-login-close::before,
.source-login-close::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.46);
  border-radius: 1px;
}

.source-login-close::before {
  transform: rotate(45deg);
}

.source-login-close::after {
  transform: rotate(-45deg);
}

.source-login-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 38px;
  padding-right: 0;
}

.source-login-tabs button {
  width: 100px;
  height: 40px;
  padding: 8px 20px;
  color: rgba(0, 0, 0, 0.40);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

.source-login-tabs button.active {
  color: rgba(0, 0, 0, 0.90);
  background: #f2f3f5;
  border: 0;
}

.source-login-tabs span {
  position: relative;
  top: -6px;
  margin-left: 3px;
  color: #007aff;
  font-size: 10px;
  line-height: 1;
}

.source-login-dialog h2 {
  margin: 8px 0 24px;
  color: #171719;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  text-align: center;
}

.source-phone-field,
.source-code-field {
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
}

.source-phone-field span {
  width: 68px;
  color: rgba(0, 0, 0, 0.72);
  text-align: center;
  font-size: 14px;
  line-height: 22.4px;
}

.source-phone-field input,
.source-code-field input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 16px 0 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
  line-height: 22.4px;
  color: rgba(0, 0, 0, 0.90);
}

.source-phone-field input {
  padding-left: 0;
}

.source-code-field input {
  padding-left: 24px;
}

.source-code-field button {
  width: 86px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-right: 24px;
  padding: 0;
  color: #007aff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 22.4px;
}

.source-code-field button:disabled,
.source-login-submit:disabled {
  cursor: not-allowed;
}

.source-code-field button:disabled {
  color: #bbd3fb;
}

.source-code-spinner {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(0, 122, 255, 0.22);
  border-top-color: #007aff;
  border-radius: 50%;
  animation: source-code-spin 0.8s linear infinite;
}

.source-code-field button:disabled .source-code-spinner {
  border-color: rgba(187, 211, 251, 0.45);
  border-top-color: #7fb5ff;
}

@keyframes source-code-spin {
  to {
    transform: rotate(360deg);
  }
}

.source-login-agree {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 24px 0 20px;
  color: rgba(0, 0, 0, 0.90);
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}

.source-login-agree input {
  margin: 2px 0 0;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.source-login-agree a {
  color: #3478f6;
}

.source-login-submit {
  width: 100%;
  height: 56px;
  color: #fff;
  background: rgba(32, 32, 32, 0.6);
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  line-height: 25.6px;
}

.source-login-submit:not(:disabled) {
  background: #202020;
}

.source-login-dialog p {
  margin-top: 12px;
  color: rgba(0, 0, 0, 0.36);
  font-size: 14px;
  line-height: 22.4px;
  text-align: center;
}

.dashboard-auth-main {
  min-height: 630px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 206px 24px 0;
}

.dashboard-auth-card {
  width: 294px;
  display: block;
  text-align: center;
}

.dashboard-auth-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(0, 0, 0, 0.72);
}

.dashboard-auth-icon svg {
  width: 64px;
  height: 64px;
}

.dashboard-auth-card h1 {
  margin: 0 0 8px;
  color: #1c1c1e;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.dashboard-auth-card p {
  margin: 0 0 31px;
  color: rgba(0, 0, 0, 0.70);
  font-size: 14px;
  line-height: 22.75px;
  font-weight: 300;
}

.dashboard-login-button {
  width: 100px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #fff;
  background: #202020;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  line-height: 22.4px;
  font-weight: 500;
  box-shadow: 0 2px 0 rgba(187, 187, 187, 0.05);
}

.dashboard-shell {
  width: min(1180px, calc(100% - 160px));
  min-height: 630px;
  margin: 0 auto;
  padding: 108px 0 92px;
}

.dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.dashboard-head h1 {
  margin: 0 0 8px;
  color: #1c1c1e;
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
}

.dashboard-head p {
  margin: 0;
  color: rgba(0, 0, 0, 0.58);
  font-size: 14px;
  line-height: 22px;
}

.dashboard-logout {
  height: 36px;
  padding: 0 16px;
  color: rgba(0, 0, 0, 0.72);
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.dashboard-stats,
.dashboard-panels {
  display: grid;
  gap: 16px;
}

.dashboard-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.dashboard-stat,
.dashboard-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

.dashboard-stat {
  padding: 18px 20px;
}

.dashboard-stat span {
  display: block;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 13px;
}

.dashboard-stat strong {
  color: #1c1c1e;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
}

.dashboard-panels {
  grid-template-columns: 1fr 1fr;
}

.dashboard-panel {
  min-height: 188px;
  padding: 22px;
}

.dashboard-panel h2 {
  margin: 0 0 14px;
  color: #1c1c1e;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
}

.dashboard-panel p,
.dashboard-panel li {
  color: rgba(0, 0, 0, 0.58);
  font-size: 14px;
  line-height: 24px;
}

.dashboard-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-authed-user,
.nav-authed-bell {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.72);
  background: #f4f4f4;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  padding: 0;
}

.nav-authed-bell {
  position: relative;
  background: #fff;
}

.nav-authed-user svg,
.nav-authed-bell svg {
  width: 18px;
  height: 18px;
  display: block;
}

.nav-authed-bell span {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  color: #fff;
  background: #ff3b30;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 10px;
  line-height: 12px;
  font-weight: 600;
}

.nav-authed-wrap {
  position: relative;
}

.nav-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  width: 200px;
  padding: 12px 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
}

.nav-user-menu-head {
  display: grid;
  gap: 3px;
  padding: 4px 8px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-user-menu-head strong {
  color: rgba(0, 0, 0, 0.9);
  font-size: 14px;
  line-height: 22px;
}

.nav-user-menu-head span {
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  line-height: 18px;
}

.nav-user-menu a,
.nav-user-menu button {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: rgba(0, 0, 0, 0.78);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
}

.nav-user-menu a:hover,
.nav-user-menu button:hover {
  background: #f7f8fa;
}

.nav-notification-panel {
  position: absolute;
  top: 56px;
  right: 196px;
  z-index: 75;
  width: 380px;
  min-height: 318px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
}

.nav-notification-panel header {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-notification-panel h3 {
  flex: 1;
  color: #111;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.nav-notification-panel header button {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.45);
}

.nav-notification-panel header [data-nav-notification-close] {
  font-size: 20px;
  line-height: 24px;
  font-weight: 300;
}

.nav-notification-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: rgba(0, 0, 0, 0.5);
}

.nav-notification-empty span {
  font-size: 34px;
  line-height: 1;
}

.nav-notification-list {
  max-height: 320px;
  overflow: auto;
  padding: 8px;
}

.nav-notification-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
}

.nav-notification-item.unread {
  background: #f5f8ff;
}

.nav-notification-item strong {
  color: rgba(0, 0, 0, 0.86);
  font-size: 14px;
  line-height: 22px;
}

.nav-notification-item p,
.nav-notification-item time {
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  line-height: 18px;
}

.dashboard-source-main {
  min-height: 857px;
  padding: 96px 0 48px;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
}

.dashboard-source-container {
  width: min(1280px, calc(100% - 160px));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.dashboard-source-sidebar {
  width: 240px;
  height: calc(100vh - 120px);
  min-height: 713px;
  display: flex;
  flex: 0 0 240px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 8px;
  background: #f9f9f9;
  border-radius: 16px;
}

.dashboard-source-sidebar-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.dashboard-source-profile {
  padding: 0 12px;
}

.dashboard-source-userline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-source-avatar {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  color: rgba(0, 0, 0, 0.70);
  background: #f4f4f4;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}

.dashboard-source-usertext {
  min-width: 0;
  flex: 1;
}

.dashboard-source-usertext p,
.dashboard-source-usertext span,
.dashboard-source-bio {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-source-usertext p {
  color: rgba(0, 0, 0, 0.90);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.dashboard-source-usertext span,
.dashboard-source-bio {
  display: block;
  color: rgba(0, 0, 0, 0.50);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}

.dashboard-source-bio {
  margin-top: 20px;
}

.dashboard-source-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-source-menu a,
.dashboard-source-logout {
  width: 224px;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  color: rgba(0, 0, 0, 0.70);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}

.dashboard-source-menu a.active {
  color: #3957ff;
  background: rgba(57, 87, 255, 0.08);
}

.dashboard-source-menu svg,
.dashboard-source-logout svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.dashboard-source-logout-wrap {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.dashboard-source-logout {
  min-height: 52px;
  line-height: 24px;
  text-align: left;
}

.dashboard-source-content {
  flex: 1;
  min-width: 0;
}

.dashboard-source-title {
  margin-bottom: 24px;
}

.dashboard-source-title h1 {
  color: #000;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.dashboard-source-title p {
  margin-top: 10px;
  color: rgba(0, 0, 0, 0.50);
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
}

.dashboard-source-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.dashboard-source-search {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 40px;
}

.dashboard-source-search svg {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 1;
  width: 20px;
  height: 20px;
  color: rgba(0, 0, 0, 0.30);
}

.dashboard-source-search input {
  width: 100%;
  height: 40px;
  padding: 0 16px 0 44px;
  color: rgba(0, 0, 0, 0.90);
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  outline: 0;
  font-size: 14px;
  line-height: 22px;
}

.dashboard-source-search input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.dashboard-source-publish,
.dashboard-source-empty-button {
  height: 40px;
  width: 148px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 32px;
  color: #fff;
  background: #202020;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 22.4px;
  font-weight: 500;
  white-space: nowrap;
}

.dashboard-source-publish {
  flex-basis: 148px;
}

.dashboard-source-publish svg,
.dashboard-source-empty-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.dashboard-source-empty {
  min-height: 495px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  border-radius: 8px;
}

.dashboard-source-empty-inner {
  width: 267px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.dashboard-source-empty-copy {
  width: 267px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dashboard-source-empty-icon {
  width: 120px;
  height: 120px;
}

.dashboard-source-empty-icon svg {
  width: 120px;
  height: 120px;
  display: block;
}

.dashboard-source-empty-copy h3 {
  color: #000;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.dashboard-source-empty-copy p {
  color: rgba(0, 0, 0, 0.50);
  font-size: 14px;
  line-height: 22px;
  font-weight: 300;
  white-space: nowrap;
}

.dashboard-source-empty-button {
  border-radius: 25px;
}

.dashboard-settings-card {
  width: 100%;
  min-height: 528px;
  padding: 40px 50px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

.dashboard-settings-summary {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-bottom: 38px;
}

.dashboard-settings-avatar {
  width: 100px;
  height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 100px;
  color: rgba(0, 0, 0, 0.70);
  background: #f4f4f4;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
}

.dashboard-settings-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dashboard-settings-identity strong {
  color: rgba(0, 0, 0, 0.90);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
}

.dashboard-settings-identity span,
.dashboard-settings-phone {
  color: rgba(0, 0, 0, 0.50);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}

.dashboard-settings-divider {
  height: 1px;
  margin-bottom: 32px;
  background: #e6e6e6;
}

.dashboard-settings-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dashboard-settings-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dashboard-settings-field > span {
  color: rgba(0, 0, 0, 0.90);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}

.dashboard-settings-field input,
.dashboard-settings-field textarea {
  width: 100%;
  color: rgba(0, 0, 0, 0.90);
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  outline: 0;
  font-size: 14px;
  line-height: 22px;
}

.dashboard-settings-field input {
  height: 44px;
  padding: 0 14px;
}

.dashboard-settings-field textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: none;
}

.dashboard-settings-field input::placeholder,
.dashboard-settings-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.dashboard-settings-field small {
  align-self: flex-end;
  color: rgba(0, 0, 0, 0.35);
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
}

.dashboard-settings-field small b {
  font-weight: 400;
}

.dashboard-settings-save {
  width: 118px;
  height: 46px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #202020;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}

.dashboard-settings-save:disabled {
  background: rgba(32, 32, 32, 0.48);
  cursor: not-allowed;
}

.dashboard-settings-status {
  min-height: 22px;
  color: rgba(0, 0, 0, 0.50);
  font-size: 14px;
  line-height: 22px;
}

.dashboard-skill-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-skill-card {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 8px;
}

.dashboard-skill-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard-skill-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  overflow: hidden;
  color: #fff;
  background: #a7bf47;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 600;
}

.dashboard-skill-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-skill-meta {
  min-width: 0;
}

.dashboard-skill-meta h3 {
  margin: 0 0 8px;
  color: #111;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.dashboard-skill-subline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-reject-reason-popup .dashboard-reject-reason-skill {
  margin: 0 0 8px;
  font-size: 13px;
  color: #6b7280;
}

.dashboard-reject-reason-popup .dashboard-reject-reason-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #cf1322;
  white-space: pre-wrap;
  word-break: break-word;
}

.dashboard-appeal {
  margin-top: 16px;
  border-top: 1px solid #eceef3;
  padding-top: 14px;
}

.dashboard-appeal-note {
  margin: 0 0 8px;
  font-size: 12px;
  color: #b45309;
}

.dashboard-appeal-start:disabled,
.dashboard-appeal-start[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.dashboard-appeal-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d9d9e3;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  line-height: 1.6;
  resize: vertical;
}

.dashboard-appeal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.dashboard-appeal-status {
  font-size: 12px;
  color: #cf1322;
}

.dashboard-appeal-done strong {
  display: block;
  color: #1677ff;
  margin-bottom: 6px;
}

.dashboard-appeal-done p {
  margin: 0 0 6px;
  white-space: pre-wrap;
  word-break: break-word;
  color: #333;
}

.dashboard-appeal-done small {
  color: #6b7280;
}

.dashboard-skill-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
}

.dashboard-skill-status i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.dashboard-skill-status.pending-review,
.dashboard-skill-status.scanning {
  color: #1764e8;
  background: #eaf2ff;
}

.dashboard-skill-status.published {
  color: #15803d;
  background: #ecfdf3;
}

.dashboard-skill-status.rejected,
.dashboard-skill-status.scan-failed {
  color: #b42318;
  background: #fef3f2;
}

.dashboard-skill-status.offline,
.dashboard-skill-status.unknown {
  color: rgba(0, 0, 0, 0.55);
  background: #f3f4f6;
}

.dashboard-skill-version {
  color: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  line-height: 20px;
}

.dashboard-skill-counts {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(0, 0, 0, 0.42);
  font-size: 13px;
  line-height: 20px;
}

.dashboard-skill-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.dashboard-skill-versions {
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: #3957FF;
  font-size: 12px;
  line-height: 19px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.dashboard-skill-versions:hover {
  color: rgba(57, 87, 255, 0.8);
}

.dashboard-skill-update-dialog,
.dashboard-offline-dialog {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: rgba(0, 0, 0, 0.28);
}

.dashboard-skill-update-dialog.is-open,
.dashboard-offline-dialog.is-open {
  display: flex;
}

.dashboard-skill-update-dialog > section {
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 33, 163, 0.07);
}

.dashboard-skill-update-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.dashboard-skill-update-head h2 {
  margin: 0 0 10px;
  color: #111;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.dashboard-skill-update-head p {
  margin: 0;
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  line-height: 22px;
}

.dashboard-skill-update-head button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(0, 0, 0, 0.45);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.dashboard-skill-update-form {
  width: 100%;
  padding: 0;
}

.dashboard-offline-dialog > section {
  width: min(512px, calc(100vw - 32px));
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
}

.dashboard-offline-dialog h2 {
  margin: 0;
  color: #111;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.dashboard-offline-dialog p {
  margin: 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 14px;
  line-height: 22px;
}

.dashboard-offline-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
}

.dashboard-offline-actions button {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dashboard-offline-actions [data-dashboard-offline-cancel] {
  min-width: 70px;
  border: 1px solid #e6e9ef;
  background: #fff;
  color: rgba(0, 0, 0, 0.9);
}

.dashboard-offline-actions [data-dashboard-offline-confirm] {
  min-width: 96px;
  border: 0;
  background: #202020;
  color: #fff;
}

.dashboard-offline-actions [data-dashboard-offline-confirm]:hover {
  background: #383838;
}

.dashboard-skill-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(15, 23, 42, 0.28);
}

.dashboard-skill-panel.is-open {
  display: flex;
}

.dashboard-skill-panel section {
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 56px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 22px 80px rgba(15, 23, 42, 0.22);
}

.dashboard-skill-panel header {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dashboard-skill-panel h3 {
  flex: 1;
  color: #111;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.dashboard-skill-panel header button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(0, 0, 0, 0.45);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.dashboard-skill-panel header button:hover {
  background: #f5f6f8;
}

.dashboard-skill-panel-body {
  overflow: auto;
  padding: 18px 20px 22px;
}

.dashboard-skill-panel-muted,
.dashboard-skill-panel-error {
  color: rgba(0, 0, 0, 0.56);
  font-size: 14px;
  line-height: 22px;
}

.dashboard-skill-panel-error {
  color: #b42318;
}

.dashboard-version-list {
  display: grid;
  gap: 10px;
}

.dashboard-version-row {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #eceff3;
  border-radius: 10px;
}

.dashboard-version-row > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-version-row strong,
.dashboard-report-summary strong {
  color: #111;
  font-size: 15px;
  line-height: 22px;
}

.dashboard-version-row span,
.dashboard-version-row time,
.dashboard-version-row p,
.dashboard-report-summary span,
.dashboard-report-summary p {
  color: rgba(0, 0, 0, 0.52);
  font-size: 13px;
  line-height: 20px;
}

.dashboard-report-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.dashboard-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-report-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f7f8fa;
  border-radius: 10px;
}

.dashboard-report-grid span {
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  line-height: 18px;
}

.dashboard-report-grid strong {
  color: #111;
  font-size: 15px;
  line-height: 22px;
}

.dashboard-report-json {
  margin: 12px 0 0;
  padding: 12px;
  overflow: auto;
  color: rgba(0, 0, 0, 0.72);
  background: #f7f8fa;
  border-radius: 10px;
  font-size: 12px;
  line-height: 18px;
}

.dashboard-report-findings {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.dashboard-report-findings div {
  padding: 12px;
  border: 1px solid #eceff3;
  border-radius: 10px;
}

.dashboard-report-page {
  display: grid;
  gap: 20px;
}

.dashboard-report-page-head {
  display: grid;
  gap: 14px;
}

.dashboard-report-page-head a {
  width: fit-content;
  color: rgba(0, 0, 0, 0.58);
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
}

.dashboard-report-page-head h1 {
  margin: 0;
  color: #111;
  font-size: 28px;
  line-height: 40px;
  font-weight: 600;
}

.dashboard-report-page-head p {
  margin: 4px 0 0;
  color: rgba(0, 0, 0, 0.52);
  font-size: 14px;
  line-height: 22px;
}

.dashboard-report-page-body {
  display: grid;
  gap: 16px;
}

.dashboard-report-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 8px;
}

.dashboard-report-hero span,
.dashboard-report-hero p,
.dashboard-report-hero-score span,
.dashboard-report-section-title p,
.dashboard-report-dimension span {
  color: rgba(0, 0, 0, 0.52);
  font-size: 14px;
  line-height: 22px;
}

.dashboard-report-hero h2 {
  margin: 6px 0;
  color: #111;
  font-size: 30px;
  line-height: 40px;
  font-weight: 600;
}

.dashboard-report-hero h2.dashboard-report-verdict-safe {
  color: #15803d;
}

.dashboard-report-hero h2.dashboard-report-verdict-suspicious {
  color: #b45309;
}

.dashboard-report-hero h2.dashboard-report-verdict-dangerous {
  color: #b42318;
}

.dashboard-report-hero p {
  margin: 0;
}

.dashboard-report-hero-score {
  min-width: 108px;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 18px;
  background: #f7f8fa;
  border-radius: 8px;
}

.dashboard-report-hero-score strong {
  color: #111;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
}

.dashboard-report-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-report-metrics div,
.dashboard-report-dimension {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 8px;
}

.dashboard-report-dimension > div {
  display: grid;
  gap: 4px;
}

.dashboard-report-stars {
  color: #ff9f0a;
  font-size: 16px;
  letter-spacing: 2px;
  white-space: nowrap;
  cursor: help;
}

.dashboard-report-metrics span {
  color: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  line-height: 20px;
}

.dashboard-report-metrics strong,
.dashboard-report-dimension strong {
  color: #111;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.dashboard-report-dimensions {
  display: grid;
  gap: 12px;
}

.dashboard-report-section-title {
  margin-top: 4px;
}

.dashboard-report-section-title h2 {
  margin: 0 0 4px;
  color: #111;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
}

.dashboard-report-section-title p {
  margin: 0;
}

.dashboard-publish-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 20px 80px;
}

.dashboard-publish-view .dashboard-source-title,
.dashboard-publish-view .dashboard-publish-form {
  align-self: stretch;
}

.dashboard-publish-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.dashboard-publish-form label {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 12px;
  color: rgba(0, 0, 0, 0.72);
  font-size: 14px;
  font-weight: 500;
}

.dashboard-publish-form label span {
  color: #323235;
  line-height: 1.57;
}

.dashboard-publish-form label span b {
  color: #f64041;
  font-size: 12px;
  font-weight: 500;
}

.dashboard-publish-form input,
.dashboard-publish-form textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  color: rgba(0, 0, 0, 0.9);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  outline: 0;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-publish-form input:focus,
.dashboard-publish-form textarea:focus {
  border-color: #0052d9;
  box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.2);
}

.dashboard-publish-form .dashboard-slug-input.is-locked {
  color: rgba(0, 0, 0, 0.48);
  background: #f3f4f6;
  border-color: rgba(0, 0, 0, 0.08);
  cursor: not-allowed;
}

.dashboard-publish-form .dashboard-slug-input.is-locked:focus {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

.dashboard-slug-lock-note {
  margin-top: -6px;
  color: rgba(0, 0, 0, 0.46);
  font-size: 12px;
  line-height: 1.5;
}

.dashboard-publish-form textarea {
  min-height: 96px;
  resize: vertical;
}

.dashboard-publish-upload {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 50px;
  background: #fff;
  border: 1px dashed #d6dbe3;
  border-radius: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dashboard-publish-upload:hover,
.dashboard-publish-upload.is-dragging {
  background: rgba(0, 82, 217, 0.03);
  border-color: rgba(0, 82, 217, 0.5);
}

.dashboard-publish-upload.has-files {
  min-height: 0;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
}

.dashboard-publish-upload.has-files:hover,
.dashboard-publish-upload.has-files.is-dragging {
  background: transparent;
  border: 0;
}

.dashboard-publish-upload.has-files .dashboard-publish-upload-main {
  display: none;
}

.dashboard-publish-upload-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.dashboard-publish-upload-icon {
  width: 40px;
  height: 40px;
  display: block;
}

.dashboard-publish-upload-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  gap: 4px;
}

.dashboard-publish-upload-copy strong {
  color: rgba(0, 0, 0, 0.9);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
}

.dashboard-publish-upload-copy small {
  color: rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.67;
}

.dashboard-publish-upload-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.dashboard-publish-upload-actions button {
  width: auto;
  height: 32px;
  min-width: 0;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease;
}

.dashboard-publish-upload-actions button:active {
  transform: scale(0.97);
}

.dashboard-publish-upload-primary {
  color: #fff;
  background: #202020;
  border: 0;
}

.dashboard-publish-upload-primary:hover {
  background: #383838;
}

.dashboard-publish-upload-secondary {
  color: rgba(0, 0, 0, 0.9);
  background: #f5f5f5;
  border: 1px solid #e6e9ef;
}

.dashboard-publish-upload-secondary:hover {
  background: #e8e8e8;
}

.dashboard-publish-upload-selected {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.dashboard-publish-upload-selected[hidden] {
  display: none;
}

.dashboard-publish-file-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-publish-file-summary p {
  margin: 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  line-height: 1.67;
}

.dashboard-publish-file-summary button {
  width: auto;
  height: auto;
  padding: 0;
  color: #0052d9;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
}

.dashboard-publish-file-list {
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  background: #fff;
}

.dashboard-publish-file-row {
  min-height: 33px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 13px;
  transition: background 0.2s ease;
}

.dashboard-publish-file-row:hover {
  background: rgba(0, 0, 0, 0.03);
}

.dashboard-publish-file-caret {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.45);
  font-size: 16px;
  line-height: 1;
}

.dashboard-publish-folder-icon,
.dashboard-publish-file-doc {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: inline-flex;
  color: #f59e0b;
}

.dashboard-publish-file-doc {
  color: rgba(0, 0, 0, 0.45);
}

.dashboard-publish-file-doc svg,
.dashboard-publish-folder-icon svg {
  width: 16px;
  height: 16px;
}

.dashboard-publish-form label .dashboard-publish-folder-icon {
  color: #f59e0b;
}

.dashboard-publish-form label .dashboard-publish-file-doc {
  color: rgba(0, 0, 0, 0.45);
}

.dashboard-publish-file-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-publish-file-name em {
  margin-left: 6px;
  color: rgba(0, 82, 217, 0.7);
  font-style: normal;
  font-size: 11px;
}

.dashboard-publish-file-row:has(.dashboard-publish-file-name em) .dashboard-publish-file-name,
.dashboard-publish-file-row:has(.dashboard-publish-file-name em) .dashboard-publish-file-doc,
.dashboard-publish-form label .dashboard-publish-file-row:has(.dashboard-publish-file-name em) .dashboard-publish-file-doc {
  color: #0052d9;
}

.dashboard-publish-file-size {
  flex: 0 0 auto;
  color: rgba(0, 0, 0, 0.35);
  font-size: 11px;
}

.dashboard-publish-form label .dashboard-publish-file-size {
  color: rgb(142, 142, 147);
  font-weight: 400;
  line-height: 18px;
}

.dashboard-publish-form .dashboard-publish-file-row button {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: rgb(142, 142, 147);
  background: transparent;
  border: 0;
  border-radius: 4px;
  opacity: 0;
  font-size: 0;
  font-weight: 400;
}

.dashboard-publish-form .dashboard-publish-file-row button svg {
  width: 14px;
  height: 14px;
}

.dashboard-publish-form .dashboard-publish-file-row:hover button,
.dashboard-publish-form .dashboard-publish-file-row button:focus-visible {
  opacity: 1;
}

.dashboard-publish-form .dashboard-publish-file-row button:hover {
  color: #f64041;
  background: rgba(246, 64, 65, 0.08);
}

.dashboard-publish-file-error {
  margin-top: 14px;
  color: #f64041;
  font-size: 12px;
  line-height: 1.67;
}

.dashboard-icon-selector {
  position: relative;
  width: 100%;
}

.dashboard-icon-trigger {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 16px;
  color: rgba(0, 0, 0, 0.3);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-icon-trigger:hover,
.dashboard-icon-selector.is-open .dashboard-icon-trigger {
  border-color: rgba(0, 82, 217, 0.4);
}

.dashboard-icon-selector.is-open .dashboard-icon-trigger {
  box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.2);
}

.dashboard-icon-preview {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 4px;
}

.dashboard-icon-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-icon-label {
  flex: 1;
  color: inherit;
  text-align: left;
}

.dashboard-icon-selector.has-value .dashboard-icon-label {
  color: rgba(0, 0, 0, 0.9);
}

.dashboard-icon-chevron {
  color: rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.dashboard-icon-clear {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease;
}

.dashboard-icon-clear[hidden] {
  display: none;
}

.dashboard-icon-clear:hover,
.dashboard-icon-clear:focus-visible {
  color: rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.05);
  outline: 0;
}

.dashboard-icon-selector.is-open .dashboard-icon-chevron {
  transform: rotate(180deg);
}

.dashboard-icon-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: 340px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.dashboard-icon-popover[hidden] {
  display: none;
}

.dashboard-icon-popover p {
  margin: 0 0 12px;
  color: rgba(0, 0, 0, 0.7);
  font-size: 13px;
  font-weight: 500;
}

.dashboard-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 40px);
  gap: 10px;
}

.dashboard-publish-form .dashboard-icon-grid button {
  width: 40px;
  height: 40px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dashboard-publish-form .dashboard-icon-grid button:hover,
.dashboard-publish-form .dashboard-icon-grid button.active {
  border-color: rgba(0, 82, 217, 0.4);
}

.dashboard-publish-form .dashboard-icon-grid button.active {
  box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.2);
}

.dashboard-icon-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-publish-form .dashboard-icon-remove {
  width: 100%;
  height: auto;
  margin-top: 12px;
  padding: 0;
  color: rgba(0, 0, 0, 0.5);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
}

.dashboard-publish-form button {
  width: 148px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  background: #202020;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.dashboard-publish-form button svg {
  width: 18px;
  height: 18px;
}

.dashboard-publish-form button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.dashboard-publish-form .dashboard-icon-trigger {
  width: 100%;
  height: 40px;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 16px;
  color: rgba(0, 0, 0, 0.3);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
}

.dashboard-publish-form .dashboard-icon-trigger:hover,
.dashboard-publish-form .dashboard-icon-selector.is-open .dashboard-icon-trigger {
  background: #fff;
  border-color: rgba(0, 82, 217, 0.4);
}

.dashboard-publish-form .dashboard-icon-selector.is-open .dashboard-icon-trigger {
  box-shadow: 0 0 0 2px rgba(0, 82, 217, 0.2);
}

.dashboard-publish-form .dashboard-icon-trigger svg {
  width: 16px;
  height: 16px;
}

.dashboard-publish-form .dashboard-publish-upload-actions button {
  width: auto;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.dashboard-publish-form .dashboard-publish-upload-actions button span {
  color: inherit;
  line-height: inherit;
}

.dashboard-publish-form .dashboard-publish-upload-primary {
  color: #fff;
  background: #202020;
  border: 0;
}

.dashboard-publish-form .dashboard-publish-upload-secondary {
  color: rgba(0, 0, 0, 0.9);
  background: #f5f5f5;
  border: 1px solid #e6e9ef;
}

.dashboard-publish-form .dashboard-publish-file-summary button {
  width: auto;
  height: auto;
  padding: 0;
  color: #0052d9;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 400;
}

.dashboard-publish-form p {
  align-self: center;
  margin: 0;
  color: rgba(0, 0, 0, 0.5);
  font-size: 13px;
}

.dashboard-publish-form .dashboard-publish-file-error {
  align-self: stretch;
  margin-top: 14px;
  color: #f64041;
  font-size: 12px;
  line-height: 1.67;
}

.source-login-error {
  min-height: 20px;
  margin: -12px 0 10px;
  color: #ff3b30;
  font-size: 12px;
  line-height: 20px;
}

.section {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 92px;
}

.section-wide {
  width: min(1280px, calc(100% - 160px));
}

#skills {
  padding-top: 68px;
}

#skills.section-wide {
  margin-bottom: 0;
}

.section-head {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 34px;
  text-align: center;
}

.section-head h2,
.two-column h2,
.submit-band h2 {
  font-size: 44px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
}

.section-head p,
.two-column p,
.submit-band p {
  color: var(--muted);
  font-size: 16px;
}

.skill-search-row {
  width: 890px;
  max-width: 100%;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 700px 174px;
  gap: 16px;
}

.search-card {
  position: relative;
}

.search-card::before {
  content: "⌕";
  position: absolute;
  left: 22px;
  top: 6px;
  z-index: 1;
  color: rgba(0, 0, 0, 0.42);
  font-size: 25px;
}

.search-row input {
  width: 100%;
  height: 50px;
  padding: 0 20px 0 56px;
  color: #111;
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 1000px;
  outline: 0;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.05);
  font-size: 14px;
}

.explore-all {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #202020;
  border-radius: 28px;
  font-weight: 500;
  white-space: nowrap;
}

.identity-strip {
  display: none;
}

.category-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  margin-bottom: 32px;
}

.pill {
  padding: 0 0 8px;
  color: rgba(0, 0, 0, 0.4);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  white-space: nowrap;
}

.pill.active {
  color: #111;
  border-color: #111;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.skill-card {
  position: relative;
  min-height: 131px;
  display: flex;
  align-content: start;
  gap: 12px;
  padding: 16px;
  color: #1c1c1e;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: none;
}

.skill-card:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.skill-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
}

.card-heading {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding-top: 1px;
  flex: 1;
}

.score {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.score.gold {
  color: #8d5d00;
  background: rgba(255, 212, 59, 0.28);
  border: 1px solid rgba(255, 193, 7, 0.26);
}

.score.silver {
  color: rgba(0, 0, 0, 0.58);
  background: rgba(116, 116, 128, 0.10);
  border: 1px solid rgba(116, 116, 128, 0.14);
}

.skill-card h3 {
  min-width: 0;
  padding-right: 96px;
  margin: 0;
  color: #171719;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-badge {
  position: absolute;
  top: 17px;
  right: 16px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  color: #d97706;
  background: #fff4e5;
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: 12px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.api-badge svg {
  flex: 0 0 auto;
}

.skill-card p {
  margin: 1px 0 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 60px;
  margin-top: -18px;
}

.tag {
  color: rgba(0, 0, 0, 0.38);
  font-size: 12px;
  font-weight: 700;
}

.card-footer {
  position: static;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  color: rgba(0, 0, 0, 0.38);
  font-size: 12px;
  font-weight: 700;
}

.card-action {
  display: none;
}

.save-btn {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  padding: 0;
  color: rgba(0, 0, 0, 0.45);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 7px;
  font-size: 12px;
  line-height: 1;
}

.save-btn.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.view-more {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 42px auto 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: 15px;
  font-weight: 700;
}

.view-more span {
  color: rgba(0, 0, 0, 0.42);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.home-community {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 15px;
  padding: 82px 20px 112px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 35% 100%, rgba(255, 201, 53, 0.16), transparent 24%),
    radial-gradient(circle at 54% 100%, rgba(69, 103, 255, 0.20), transparent 26%),
    linear-gradient(180deg, #fff 0%, #fff 60%, #fbfdff 100%);
}

.home-community h2 {
  font-size: 30px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: 0;
}

.home-community p {
  color: rgba(0, 0, 0, 0.40);
  font-size: 15px;
  font-weight: 500;
}

.home-community .community-note {
  margin-top: 22px;
  color: rgba(0, 0, 0, 0.32);
  font-size: 13px;
}

.source-footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.source-footer-inner {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 72px;
  padding: 42px 0 35px;
}

.footer-brand-block {
  max-width: 360px;
}

.footer-brand-block p {
  margin-top: 12px;
  color: rgba(0, 0, 0, 0.40);
  font-size: 13px;
  line-height: 1.8;
}

.footer-brand-block .community-note {
  margin-top: 18px;
  color: rgba(0, 0, 0, 0.30);
  font-size: 12px;
}

.footer-columns {
  display: flex;
  gap: 92px;
}

.footer-columns div {
  display: grid;
  gap: 10px;
  min-width: 86px;
}

.footer-columns h3 {
  color: rgba(0, 0, 0, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.footer-columns a {
  color: rgba(0, 0, 0, 0.42);
  font-size: 13px;
  font-weight: 500;
}

.footer-legal {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: rgba(0, 0, 0, 0.32);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
}

.skills-footer .source-footer-inner,
.skills-footer .footer-legal {
  width: min(1280px, calc(100% - 80px));
}

.skills-footer .source-footer-inner {
  padding: 42px 0 34px;
}

.skills-footer .brand.muted {
  color: #171719;
  font-size: 20px;
}

.skills-footer .footer-brand-block {
  max-width: 660px;
}

.skills-footer .footer-brand-block p {
  font-size: 13px;
  line-height: 1.8;
}

.skills-footer .footer-columns {
  gap: 110px;
}

.skills-footer .footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  line-height: 1.85;
}

.skills-footer .footer-legal > div:first-child {
  max-width: 760px;
}

.skills-footer .footer-legal > div:last-child {
  min-width: 420px;
  text-align: right;
}

.ranking-panel,
.submit-band,
.site-footer,
.workflow-grid article {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
}

.ranking-panel {
  padding: 28px;
}

.section-eyebrow {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #111;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.section-head.compact {
  justify-items: start;
  text-align: left;
}

.rank-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
}

.rank-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
}

.rank-no {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #202024;
  border-radius: 10px;
  font-weight: 800;
}

.rank-item h3 {
  font-size: 16px;
}

.rank-item p {
  color: var(--muted);
  font-size: 13px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.two-column > div:first-child {
  display: grid;
  gap: 14px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.workflow-grid article {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.workflow-grid span {
  color: var(--blue);
  font-weight: 800;
}

.workflow-grid h3 {
  font-size: 18px;
}

.workflow-grid p {
  color: var(--muted);
  font-size: 13px;
}

.submit-band {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: 28px;
}

.submit-band > div {
  display: grid;
  align-content: start;
  gap: 14px;
}

.submit-form {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 12px;
}

.submit-form input,
.submit-form select,
.submit-form textarea {
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  outline: 0;
}

.submit-form textarea {
  grid-column: 1 / -1;
  min-height: 110px;
  resize: vertical;
}

.submit-form .btn-primary {
  border: 0;
}

.submit-form output {
  align-self: center;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

.brand.muted {
  color: rgba(0, 0, 0, 0.45);
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: rgba(0, 0, 0, 0.50);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a.active {
  font-weight: 800;
}

.page-shell {
  min-height: 100vh;
  padding-top: 60px;
  background:
    radial-gradient(circle at 18% 30%, rgba(94, 211, 246, 0.22), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(225, 238, 92, 0.24), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fbfdff 64%, #fff 100%);
}

.page-hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 90px 0 56px;
  text-align: center;
}

.compact-page-hero {
  padding-bottom: 38px;
}

.page-hero h1 {
  margin-top: 8px;
  font-size: 52px;
  line-height: 1.08;
}

.page-hero p {
  width: min(650px, 100%);
  color: rgba(0, 0, 0, 0.42);
  font-size: 18px;
}

.skills-page-section {
  padding-top: 0;
}

.skills-source-shell {
  padding-top: 62px;
  background: #fff;
}

.skills-source-hero {
  position: relative;
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  min-height: 104px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 0 22px;
}

.skills-source-copy h1 {
  color: #171719;
  font-size: 32px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0;
}

.skills-source-copy {
  flex: 1 1 auto;
  transform: translateY(16px);
}

.skills-source-copy p {
  margin-top: 12px;
  color: rgba(0, 0, 0, 0.9);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.skills-source-copy strong {
  color: inherit;
  font-weight: 500;
}

.skills-source-copy span {
  color: rgba(0, 0, 0, 0.4);
}

.skills-source-art {
  width: 206px;
  height: 134px;
  margin-right: 2px;
  margin-bottom: -12px;
  object-fit: cover;
  pointer-events: none;
  transform: translateY(62px);
}

.skills-source-section {
  width: min(1280px, calc(100% - 80px));
  margin: -36px auto 36px;
}

.skills-category-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  overflow-x: auto;
  scrollbar-width: none;
}

.skills-category-row::-webkit-scrollbar {
  display: none;
}

.source-pill {
  height: 38px;
  flex: 0 0 auto;
  padding: 0 20px;
  color: rgba(0, 0, 0, 0.48);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.source-pill.active {
  color: #fff;
  background: #050505;
  border-color: #050505;
}

.source-filter-row {
  display: grid;
  grid-template-columns: 1fr 50px;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.source-filter-input {
  position: relative;
  height: 42px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  padding: 0 12px;
  color: rgba(0, 0, 0, 0.45);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 8px;
}

.source-filter-leading {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0.6;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.source-filter-leading:hover,
.source-filter-leading:focus-visible {
  opacity: 0.9;
}

.source-filter-leading img {
  width: 16px;
  height: 16px;
  display: block;
}

.source-filter-content {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.source-filter-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  color: rgba(0, 0, 0, 0.62);
  background: rgba(116, 116, 128, 0.10);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1;
}

.source-filter-chip[hidden] {
  display: none;
}

.source-filter-chip span {
  color: rgba(0, 0, 0, 0.54);
}

.source-filter-chip strong {
  color: rgba(0, 0, 0, 0.78);
  font-weight: 500;
}

.source-filter-chip button {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(0, 0, 0, 0.42);
  background: transparent;
  border: 0;
  font-size: 15px;
  line-height: 1;
}

.source-filter-input input {
  flex: 1 1 180px;
  min-width: 180px;
  width: 100%;
  height: 32px;
  padding: 0;
  color: #111;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.source-filter-input input::placeholder {
  color: rgba(0, 0, 0, 0.32);
}

.source-filter-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 260px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.source-filter-panel[hidden] {
  display: none;
}

.source-filter-panel p {
  margin: 0 0 8px;
  padding: 0 8px;
  color: rgba(0, 0, 0, 0.42);
  font-size: 12px;
  line-height: 20px;
}

.source-filter-panel button {
  width: 100%;
  display: block;
  padding: 9px 10px;
  color: rgba(0, 0, 0, 0.72);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
}

.source-filter-panel button:hover,
.source-filter-panel button.active {
  color: #111;
  background: rgba(0, 122, 255, 0.08);
}

.source-filter-button {
  width: 40px;
  height: 40px;
  justify-self: end;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.54);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 8px;
  font-size: 0;
}

.source-filter-button svg {
  width: 16px;
  height: 16px;
  display: block;
  color: #636366;
}

.source-sort-wrap {
  position: relative;
  width: 50px;
  height: 40px;
  display: grid;
  justify-items: end;
}

.source-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 112px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
}

.source-sort-menu[hidden] {
  display: none;
}

.source-sort-menu button {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: rgba(0, 0, 0, 0.68);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}

.source-sort-menu button:hover,
.source-sort-menu button.active {
  color: #111;
  background: rgba(0, 0, 0, 0.05);
}

.source-skill-list {
  max-height: 980px;
  overflow-y: scroll;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.source-skill-list::-webkit-scrollbar {
  width: 8px;
}

.source-skill-list::-webkit-scrollbar-track {
  background: transparent;
}

.source-skill-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.source-skill-row {
  min-height: 103px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: inherit;
  text-decoration: none;
}

.source-skill-row:hover {
  background: #f9f9f9;
}

.source-skill-row:last-child {
  border-bottom: 0;
}

.source-skill-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
}

.source-skill-main {
  flex: 1 1 auto;
  min-width: 0;
}

.source-skill-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.source-skill-title h2 {
  flex: 0 1 auto;
  min-width: 0;
  color: #232327;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-skill-title .api-badge {
  position: static;
  height: 22px;
  flex: 0 0 auto;
}

.source-skill-desc {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.69;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-skill-meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 3px;
  color: rgba(0, 0, 0, 0.4);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.67;
  white-space: nowrap;
}

.source-skill-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.source-skill-metric.favorite {
  width: 60px;
}

.source-skill-metric.download {
  width: 68px;
}

.source-skill-metric svg {
  flex: 0 0 12px;
}

.source-skill-origin {
  width: 80px;
  text-align: right;
}

.source-load-more {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(0, 0, 0, 0.36);
  font-size: 14px;
}

.source-load-more span {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  border-top-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
}

.source-detail-shell {
  width: min(932px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 64px;
}

.source-detail-back {
  float: left;
  width: 18px;
  height: 24px;
  display: grid;
  place-items: center;
  margin: 0 8px 0 0;
  color: rgba(0, 0, 0, 0.34);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 15px;
  line-height: 1;
}

.source-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 48px;
  color: rgba(0, 0, 0, 0.42);
  font-size: 13px;
}

.source-detail-breadcrumb i {
  color: rgba(0, 0, 0, 0.42);
  font-style: normal;
}

.source-detail-breadcrumb a,
.source-detail-source a,
.source-security-grid a {
  color: #3478f6;
  text-decoration: none;
}

.source-detail-breadcrumb a {
  color: rgba(0, 0, 0, 0.5);
}

.source-detail-breadcrumb span {
  color: rgba(0, 0, 0, 0.78);
  font-weight: 600;
}

.source-detail-hero {
  clear: both;
  display: block;
  margin-bottom: 28px;
}

.source-detail-heading {
  display: flex;
  align-items: center;
  gap: 24px;
}

.source-detail-icon {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.source-skill-icon-student {
  position: relative;
  background: #a8c64a;
}

.source-skill-icon-student::before,
.source-skill-icon-student::after {
  content: "";
  position: absolute;
  inset: 14px;
  background:
    linear-gradient(#fff, #fff) center / 4px 100% no-repeat,
    linear-gradient(90deg, #fff, #fff) center / 100% 4px no-repeat;
  border-radius: 999px;
}

.source-skill-icon-student::after {
  transform: rotate(45deg);
}

.source-detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.source-detail-title h1 {
  color: #171719;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
}

.source-detail-hero p {
  max-width: 860px;
  color: rgba(0, 0, 0, 0.56);
  font-size: 14px;
  line-height: 1.8;
}

.source-detail-source {
  margin-top: 0;
}

.source-detail-favorite {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.42);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 22px;
  line-height: 1;
}

.source-detail-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 32px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.source-detail-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.source-detail-stats div {
  height: 80px;
  min-height: 80px;
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.source-detail-stats div:last-child {
  border-right: 0;
}

.source-detail-stats strong,
.source-security-grid strong,
.source-related-list strong {
  color: rgba(0, 0, 0, 0.62);
  font-size: 14px;
  font-weight: 500;
}

.source-detail-stats strong {
  color: rgba(0, 0, 0, 0.42);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.source-detail-stats .source-stat-icon {
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.source-stat-origin-icon {
  width: 31px;
  height: 31px;
  display: block;
}

.source-stat-svg-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.source-security-grid strong,
.source-related-list strong {
  color: rgba(0, 0, 0, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.source-detail-stats span,
.source-related-list span,
.source-related-list p,
.source-detail-card p {
  color: rgba(0, 0, 0, 0.42);
  font-size: 13px;
  line-height: 1.6;
}

.source-detail-card {
  margin-top: 30px;
  padding: 0;
  border: 0;
}

/* 安全检测免责声明：紧贴统计框下方、相关推荐上方的小字说明 */
.source-detail-disclaimer {
  margin: -20px 0 0;
  color: rgba(0, 0, 0, 0.4);
  font-size: 12px;
  line-height: 1.7;
}

.source-detail-card h2 {
  margin-bottom: 16px;
  color: #171719;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.source-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.source-related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.source-security-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 7px;
  text-decoration: none;
}

.source-security-grid span {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 10px;
  color: #00a870;
  background: #e8f8ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.source-related-list a {
  height: 130px;
  display: grid;
  grid-template-rows: 40px 1fr;
  gap: 12px;
  padding: 16px;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  text-decoration: none;
  overflow: hidden;
}

.source-related-top {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.source-related-list .source-skill-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}

.source-related-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.source-related-list strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 20px;
}

.source-related-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 20px;
  margin-top: 2px;
  color: rgba(0, 0, 0, 0.35);
  font-size: 12px;
  line-height: 20px;
}

.source-related-metrics span {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  white-space: nowrap;
}

.source-related-list p {
  display: -webkit-box;
  margin-top: 0;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 20px;
}

.source-detail-security {
  padding: 20px;
  background: #eefaf0;
  border: 0;
}

.source-detail-security h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.source-detail-security h2::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  background: #39c95a;
  border-radius: 4px;
  clip-path: polygon(50% 0, 88% 14%, 82% 70%, 50% 100%, 18% 70%, 12% 14%);
}

.source-detail-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.source-detail-card-head h2 {
  margin: 0;
}

.source-detail-card-head button,
.source-detail-tabs button {
  height: 34px;
  padding: 0 14px;
  color: rgba(0, 0, 0, 0.52);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-size: 13px;
}

.source-detail-tabs {
  display: flex;
  align-items: center;
  gap: 46px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.source-detail-tabs button.active {
  color: #111;
  background: transparent;
  border-color: transparent;
}

.source-detail-tabs button.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #111;
}

.source-detail-tabs button {
  position: relative;
  height: 50px;
  padding: 0;
  color: rgba(0, 0, 0, 0.52);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
}

.source-install-tabs {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px;
  background: #eeeeee;
  border-radius: 8px;
  overflow-x: auto;
}

.source-detail-markdown {
  color: #222;
  font-size: 15px;
  line-height: 1.9;
}

.source-detail-markdown h2 {
  margin: 0 0 22px;
  color: #171719;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.source-detail-markdown h3 {
  margin: 34px 0 12px;
  color: #171719;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.source-detail-markdown h4 {
  margin: 26px 0 10px;
  color: #171719;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.source-detail-markdown p {
  margin: 0 0 18px;
  color: rgba(0, 0, 0, 0.72);
  font-size: 15px;
}

.source-detail-markdown ul {
  margin: 0 0 20px 20px;
  color: rgba(0, 0, 0, 0.72);
}

.source-detail-markdown li {
  margin: 5px 0;
}

.source-detail-markdown strong {
  color: #171719;
  font-weight: 700;
}

.source-detail-markdown code {
  padding: 2px 5px;
  color: rgba(0, 0, 0, 0.74);
  background: rgba(0, 0, 0, 0.045);
  border-radius: 4px;
  font: 13px/1.5 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.source-detail-markdown pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 14px 0 24px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.035);
  border-radius: 8px;
}

.source-detail-markdown pre code {
  padding: 0;
  background: transparent;
}

.source-detail-markdown hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.source-detail-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 14px 0 30px;
}

.source-detail-markdown table {
  width: 100%;
  border-collapse: collapse;
  color: rgba(0, 0, 0, 0.72);
  font-size: 14px;
}

.source-detail-markdown th,
.source-detail-markdown td {
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
  vertical-align: top;
}

.source-detail-markdown th {
  color: #171719;
  background: rgba(0, 0, 0, 0.025);
  font-weight: 700;
}

.source-install-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 16px;
  color: rgba(0, 0, 0, 0.7);
  background: transparent;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.source-install-tabs button:hover {
  background: #e1e1e1;
}

.source-install-tabs button.active,
.source-install-tabs button.active:hover {
  color: rgba(0, 0, 0, 0.9);
  background: #fff;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.source-install-tabs button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.source-install-panel {
  margin-top: 20px;
}

/* Shared copy icon-button (chat + cli) */
.source-copy-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.source-copy-icon:hover {
  background: #d9d9d9;
}

.source-copy-icon svg {
  width: 16px;
  height: 16px;
  color: rgba(0, 0, 0, 0.6);
}

.source-copy-icon.copied svg {
  color: #16a34a;
}

/* Install content column */
.source-install-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 选择器特异性需高于 .source-detail-card p（安装面板在详情卡内），否则蓝色被灰色覆盖 */
.source-install-content .source-install-intro {
  margin: 0;
  color: #3478f6;
  font-size: 14px;
  line-height: 1.6;
}

.source-install-method {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.source-install-method-title {
  margin: 0;
  color: rgba(0, 0, 0, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.source-install-prompt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: #f9f9f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.source-install-prompt-text {
  flex: 1;
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
  line-height: 22px;
  white-space: pre-line;
}

/* CLI panel */
.source-install-cli {
  gap: 24px;
}

.source-install-step {
  margin: 0;
  color: #1c1c1e;
  font-size: 14px;
  line-height: 1.6;
}

.source-cli-card {
  background: #fff;
  border: 1px solid rgba(60, 60, 67, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.source-cli-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #f9f9f9;
  border-bottom: 1px solid rgba(60, 60, 67, 0.05);
}

.source-cli-card-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
}

.source-cli-card-tabs button {
  position: relative;
  padding: 12px 0;
  color: #8e8e93;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s;
}

.source-cli-card-tabs button:hover {
  color: #1c1c1e;
}

.source-cli-card-tabs button.active {
  color: #1c1c1e;
}

.source-cli-card-tabs button.active span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #000;
  border-radius: 9999px;
}

.source-cli-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.source-cli-comment {
  margin: 0;
  color: #8e8e93;
  font-size: 13px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.source-cli-code {
  color: #1c1c1e;
  font-size: 13px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.source-cli-card-body .source-cli-code {
  display: block;
  line-height: 1.625;
  word-break: break-all;
}

.source-cli-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(60, 60, 67, 0.08);
  border-radius: 8px;
}

/* Zip panel */
.source-zip {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.source-zip-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.source-zip-step {
  position: relative;
}

.source-zip-step-head {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.source-zip-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #f5f5f5;
  border-radius: 9999px;
  color: rgba(0, 0, 0, 0.9);
  font-size: 12px;
  font-weight: 500;
}

.source-zip-label {
  color: rgba(0, 0, 0, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.source-zip-line {
  position: absolute;
  left: 12px;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.source-zip-desc {
  position: absolute;
  left: 34px;
  margin: 0;
  color: rgba(0, 0, 0, 0.9);
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
}

.source-zip-download {
  position: absolute;
  left: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.source-zip-download:hover {
  background: #222;
}

.source-zip-download svg {
  width: 12.54px;
  height: 12.54px;
}

.source-zip-tree-card {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.source-zip-tree-head {
  display: flex;
  align-items: center;
  padding: 4px 16px;
  background: #f9f9f9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.source-zip-tree-head p {
  margin: 0;
  color: rgba(0, 0, 0, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.source-zip-tree-body {
  max-height: 219px;
  padding: 16px;
  background: #fff;
  overflow-y: auto;
}

.source-zip-tree-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.source-zip-tree-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
}

.source-zip-ico {
  display: inline-flex;
  flex-shrink: 0;
}

.source-zip-ico svg {
  width: 12px;
  height: 12px;
}

.source-zip-ico.amber {
  color: #f59e0b;
}

.source-zip-ico.blue {
  color: #3b82f6;
}

.source-zip-ico.muted {
  color: #8e8e93;
}

.source-zip-tree-name {
  color: rgba(0, 0, 0, 0.9);
  font-size: 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

@media (min-width: 768px) {
  .source-zip {
    flex-direction: row;
    justify-content: center;
    gap: 100px;
  }

  .source-zip-tree-card {
    width: 299px;
    flex-shrink: 0;
  }
}

.source-version-list {
  display: grid;
  gap: 12px;
}

.source-version-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  padding: 18px;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.source-version-item span {
  color: #171719;
  font-size: 15px;
  font-weight: 600;
}

.source-version-item strong {
  margin-left: 8px;
  padding: 2px 7px;
  color: #fff;
  background: #171719;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.source-version-item time,
.source-version-item p {
  color: rgba(0, 0, 0, 0.42);
  font-size: 13px;
}

.source-version-item p {
  grid-column: 1 / -1;
  margin: 0;
}

.source-trace-intro {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  margin-top: 28px;
  padding: 26px 20px 22px;
  background: #fafaff;
  border: 1px solid #d9defe;
  border-top: 4px solid #6157ff;
  border-radius: 12px;
}

.source-trace-intro h2,
.source-report-heading {
  margin: 0;
  color: #171719;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.source-report-intro-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #4267ff, #a34cff);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
}

.source-report-intro-body {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.source-trace-intro p,
.source-report-intro-footer {
  margin: 0;
  color: #4d5568;
  font-size: 13px;
  line-height: 1.75;
}

.source-trace-intro a,
.source-report-intro-footer a {
  width: fit-content;
  color: #3b63ff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.source-report-intro-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.source-report-intro-footer span::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 6px;
  background: #f5a400;
  border-radius: 999px;
  vertical-align: 1px;
}

.source-report-score {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
  margin-top: 32px;
  min-height: 310px;
  padding: 40px 64px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.source-report-radar {
  width: 320px;
  height: 260px;
  margin: 0 auto;
}

.source-report-radar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.source-report-score-copy {
  display: grid;
  gap: 16px;
}

.source-report-score-copy > strong {
  color: #171719;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
}

.source-report-score-copy > strong span,
.source-report-item b span {
  color: rgba(0, 0, 0, 0.4);
  font-size: 16px;
  font-weight: 500;
}

.source-report-score b {
  font-weight: 600;
}

.source-report-grade {
  margin: 0;
}

.source-report-grade b {
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin-left: 4px;
  padding: 0 10px;
  color: #6157ff;
  background: #f1efff;
  border-radius: 999px;
  font-size: 12px;
}

.source-report-heading {
  margin-top: 28px;
}

.source-report-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.source-report-dimension-list {
  display: grid;
  gap: 0;
  margin-top: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

.source-report-dimension-card {
  display: grid;
  gap: 14px;
  padding: 22px 20px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
}

.source-report-dimension-card:last-child {
  border-bottom: 0;
}

.source-report-dimension-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.source-report-dimension-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #00a870;
  background: #e8f8ef;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.source-report-dimension-card strong {
  color: #171719;
  font-size: 16px;
  font-weight: 600;
}

.source-report-dimension-head > span:last-child {
  color: rgba(0, 0, 0, 0.48);
  font-size: 13px;
}

.source-report-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  align-items: center;
  gap: 14px;
}

.source-report-progress-track {
  height: 6px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f0f1f5;
  border-radius: 999px;
}

.source-report-progress-fill {
  height: 6px;
  display: block;
  margin-left: 0;
  background: linear-gradient(90deg, #18c37d, #3aa0ff);
  border-radius: 999px;
}

.source-report-progress b {
  min-width: 0;
  color: #4d5568;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  text-align: right;
}

.source-report-progress b span {
  color: rgba(0, 0, 0, 0.4);
  font-size: 12px;
  font-weight: 500;
}

.source-report-dimension-card p {
  margin: 0;
  color: #4d5568;
  font-size: 13px;
  line-height: 1.75;
}

.source-report-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  padding: 18px;
}

.source-report-item div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.source-report-item strong {
  color: #171719;
  font-size: 15px;
  font-weight: 600;
}

.source-report-item div span {
  color: rgba(0, 0, 0, 0.46);
  font-size: 13px;
}

.source-report-item b {
  color: #171719;
  font-size: 18px;
  font-weight: 600;
}

.source-report-item p {
  grid-column: 1 / -1;
  margin: 0;
}

.audit-report-table {
  margin-top: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.audit-report-row {
  display: grid;
  grid-template-columns: 120px 1fr 130px;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.audit-report-row:first-child {
  border-top: none;
}

.audit-report-head {
  background: rgba(0, 0, 0, 0.02);
  color: rgba(0, 0, 0, 0.46);
  font-size: 13px;
  font-weight: 500;
}

.audit-report-dim {
  color: #171719;
  font-size: 15px;
  font-weight: 600;
}

.audit-report-head .audit-report-dim {
  color: rgba(0, 0, 0, 0.46);
  font-size: 13px;
  font-weight: 500;
}

.audit-report-points {
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
}

.audit-report-stars {
  color: #ff9f0a;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: help;
}

.audit-report-head .audit-report-stars {
  color: rgba(0, 0, 0, 0.46);
  font-size: 13px;
  letter-spacing: normal;
  cursor: default;
}

.source-detail-card pre {
  white-space: pre-wrap;
  color: rgba(0, 0, 0, 0.62);
  font: 13px/1.75 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.doc-layout {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 92px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

.doc-side {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
}

.doc-side a {
  padding: 12px 14px;
  color: rgba(0, 0, 0, 0.58);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

.doc-side a:hover {
  color: #111;
  background: rgba(69, 103, 255, 0.08);
}

.doc-content,
.timeline,
.about-grid {
  display: grid;
  gap: 16px;
}

.doc-content article,
.timeline article,
.about-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(69, 103, 255, 0.06);
}

.doc-content article span,
.timeline time {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.doc-content h2,
.timeline h2,
.about-grid h2 {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.doc-content p,
.timeline p,
.about-grid p {
  margin-top: 10px;
  color: rgba(0, 0, 0, 0.48);
  font-size: 15px;
}

.doc-content code {
  display: block;
  margin-top: 16px;
  padding: 14px 16px;
  color: #111;
  background: rgba(116, 116, 128, 0.08);
  border-radius: 14px;
  font: 700 14px/1.5 Inter, "Noto Sans SC", sans-serif;
}

.publish-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.publish-form label {
  display: grid;
  gap: 7px;
  color: rgba(0, 0, 0, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.publish-form label:nth-child(3),
.publish-form label:nth-child(6) {
  grid-column: 1 / -1;
}

.publish-form label span {
  color: rgba(0, 0, 0, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.publish-form input,
.publish-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  color: #111;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  outline: 0;
  font: inherit;
}

.publish-form textarea {
  min-height: 112px;
  resize: vertical;
}

.publish-form button {
  width: fit-content;
  padding: 12px 18px;
  color: #fff;
  background: #202020;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.publish-form #submitStatus {
  align-self: center;
  margin: 0;
  color: rgba(0, 0, 0, 0.58);
  font-size: 13px;
}

.timeline,
.about-grid {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 92px;
}

.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .site-nav {
    padding: 0 28px;
  }

  .nav-links {
    gap: 26px;
    margin-left: 24px;
  }

  .section-wide {
    width: calc(100% - 48px);
  }
}

@media (max-width: 940px) {
  .site-nav {
    display: flex;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-bottom: 64px;
  }

  .skill-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .submit-band {
    grid-template-columns: 1fr;
  }

  .dashboard-publish-view {
    padding: 20px;
  }

  .dashboard-publish-file-row:not(.is-dir) .dashboard-publish-file-size {
    margin-right: 0;
  }

  .feedback-tab {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-nav {
    height: 60px;
    padding: 0 16px;
  }

  .brand {
    font-size: 22px;
  }

  .nav-icon {
    display: none;
  }

  .nav-publish {
    width: 42px;
    min-width: 42px;
    height: 38px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .nav-publish::before {
    content: "+";
    font-size: 22px;
    line-height: 1;
  }

  .nav-actions {
    min-width: 0;
  }

  .nav-hinted-auth-actions {
    gap: 10px;
  }

  .nav-login {
    width: auto;
    min-width: 66px;
  }

  .hero {
    min-height: 850px;
  }

  .hero-inner {
    width: 100%;
    padding: 80px 14px 56px;
  }

  .hero-copy {
    width: 390px;
    max-width: 100%;
    margin-right: auto;
    margin-left: 0;
  }

  .eyebrow {
    max-width: 100%;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-copy h1 {
    width: min(100%, 340px);
    margin-top: 30px;
    font-size: 34px;
    line-height: 1.12;
  }

  .hero-word {
    display: block;
  }

  .hero-copy p {
    width: min(100%, 320px);
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
    margin-top: 44px;
  }

  .btn-primary,
  .btn-secondary {
    min-width: 0;
    height: 46px;
    padding: 0 18px;
    font-size: 14px;
  }

  .install-card {
    width: min(100%, 320px);
    margin-top: 28px;
  }

  .install-tabs {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 116px);
    gap: 8px;
    padding: 0 10px;
  }

  .install-tabs button {
    font-size: 12px;
  }

  .install-command {
    display: block;
    margin: 10px;
    padding: 12px 14px;
  }

  .install-command span,
  .install-command strong {
    display: block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-size: 12px;
  }

  .install-command strong {
    margin-top: 8px;
    line-height: 1.45;
  }

  .install-command button {
    display: none;
  }

  .hero-banner {
    width: min(100%, 320px);
    min-height: 74px;
    margin-top: 34px;
    grid-template-columns: 72px minmax(0, 1fr);
    box-shadow: 0 7px 0 #7895ff;
  }

  .banner-mascot {
    height: 74px;
  }

  .banner-mascot img {
    left: 6px;
    top: -10px;
    width: 84px;
  }

  .banner-mascot::before {
    left: 18px;
    width: 48px;
    height: 58px;
  }

  .hero-banner strong {
    padding-right: 12px;
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-banner small,
  .hero-banner b {
    display: none;
  }

  .slider-dots {
    margin-top: 38px;
  }

  .section,
  .section-wide,
  .submit-band,
  .site-footer,
  .source-footer-inner,
  .footer-legal,
  .page-hero,
  .doc-layout,
  .timeline,
  .about-grid {
    width: calc(100% - 28px);
  }

  .page-hero {
    padding: 76px 0 36px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-hero p {
    font-size: 15px;
    line-height: 1.7;
  }

  .doc-layout,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .doc-side {
    position: static;
  }

  #skills {
    padding-top: 32px;
  }

  .section-head h2,
  .two-column h2,
  .submit-band h2 {
    font-size: 28px;
  }

  .skill-search-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-row {
    justify-content: flex-start;
    gap: 26px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .pill {
    flex: 0 0 auto;
    font-size: 16px;
  }

  .skill-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 40px 1fr;
  }

  .rank-item .score {
    grid-column: 2;
    width: fit-content;
    margin-left: 0;
  }

  .submit-form {
    grid-template-columns: 1fr;
  }

  .skills-source-hero,
  .skills-source-section {
    width: calc(100% - 32px);
  }

  .skills-source-hero {
    min-height: 260px;
    display: block;
    padding: 42px 0 28px;
  }

  .skills-source-copy {
    position: relative;
    z-index: 1;
    max-width: 210px;
  }

  .skills-source-copy h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .skills-source-copy p {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.55;
  }

  .skills-source-art {
    position: absolute;
    right: 88px;
    bottom: 34px;
    width: 145px;
    margin: 0;
  }

  .skills-category-row {
    gap: 10px;
    margin-bottom: 34px;
  }

  .source-pill {
    height: 46px;
    padding: 0 26px;
    font-size: 16px;
  }

  .source-filter-row {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
  }

  .source-filter-button {
    display: none;
  }

  .source-skill-list {
    max-height: none;
    overflow: visible;
  }

  .source-skill-row {
    width: calc(100vw - 32px);
    min-height: 126px;
    grid-template-columns: 64px minmax(0, calc(100vw - 132px));
    gap: 16px;
    padding: 22px 18px;
    overflow: hidden;
  }

  .source-skill-icon {
    width: 58px;
    height: 58px;
  }

  .source-skill-main,
  .source-skill-title {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .source-skill-title {
    flex-wrap: wrap;
  }

  .source-skill-title h2 {
    max-width: 100%;
    font-size: 19px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .source-skill-meta {
    grid-column: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: -8px;
    font-size: 13px;
    white-space: normal;
  }

  .source-skill-desc {
    margin-top: 10px;
    font-size: 14px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home-community {
    padding: 78px 18px 92px;
  }

  .home-community h2 {
    font-size: 26px;
  }

  .source-footer-inner {
    flex-direction: column;
    gap: 28px;
    padding: 32px 0 28px;
  }

  .footer-columns {
    width: 100%;
    justify-content: space-between;
    gap: 32px;
  }

  .skills-footer .source-footer-inner,
  .skills-footer .footer-legal {
    width: calc(100% - 32px);
  }

  .skills-footer .footer-legal {
    display: block;
  }

  .skills-footer .footer-legal > div:first-child,
  .skills-footer .footer-legal > div:last-child {
    max-width: none;
    min-width: 0;
    text-align: left;
  }

  .skills-footer .footer-legal > div + div {
    margin-top: 14px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }
}
