/*
 * 云白睿蓝 · 本地 UI 改造层
 * 仅覆盖展示样式；业务 DOM 契约、接口与路由保持原样。
 */

body.a-theme {
  color-scheme: light;
  --primary: #2f66f6;
  --primary-hover: #2455d8;
  --primary-weak: #e8effe;
  --primary-ring: rgba(47, 102, 246, .10);
  --success: #21835b;
  --success-weak: #e8f6ef;
  --warning: #a96d08;
  --warning-weak: #fff4dc;
  --danger: #c34949;
  --danger-weak: #feeeee;
  --info: #238b96;
  --info-weak: #e4f4f5;
  --bg: #f4f7fb;
  --bg-subtle: #edf1f5;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --border: #e1e7ef;
  --border-strong: #d4dde8;
  --text: #18243a;
  --text-2: #66758a;
  --text-3: #8b97a8;
  --muted: #8b97a8;
  --r-sm: 7px;
  --r-md: 10px;
  --r-lg: 14px;
  --header-h: 72px;
  --shadow-xs: none;
  --shadow-sm: 0 6px 18px rgba(35, 59, 95, .05);
  --shadow-md: 0 12px 30px rgba(35, 59, 95, .07);
  --shadow-lg: 0 24px 70px rgba(22, 39, 67, .18);
  --font: "Segoe UI Variable", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.a-theme *, .a-theme *::before, .a-theme *::after { box-sizing: border-box; }
.a-theme h1, .a-theme h2, .a-theme h3, .a-theme h4 { color: var(--text); font-weight: 700; letter-spacing: -.025em; }
.a-theme button, .a-theme input, .a-theme select, .a-theme textarea { font-family: inherit; }
.a-theme ::selection { background: #dbe7ff; color: var(--text); }
.a-theme :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.a-theme .container { width: 100%; max-width: 1280px; padding-left: 32px; padding-right: 32px; }
.a-theme .page { padding-top: 32px; padding-bottom: 64px; }
.a-theme .section { padding: 34px 0 64px; }
.a-theme .muted, .a-theme .apikey-meta { color: var(--text-3); }
.a-theme .hidden, .a-theme [hidden] { display: none !important; }

/* 顶部导航 */
.a-theme .site-header {
  height: var(--header-h);
  z-index: 70;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(150%);
}
.a-theme .site-header .container { position: relative; height: 100%; display: flex; align-items: center; gap: 18px; }
.a-theme .logo { gap: 10px; flex: none; letter-spacing: 0; }
.a-theme .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  box-shadow: none;
}
.a-theme .logo-text { display: flex; flex-direction: column; line-height: 1.2; overflow: visible; }
.a-theme .logo-text strong { font-size: 15px; font-weight: 750; color: var(--text); }
.a-theme .logo-text small { margin-top: 3px; color: var(--text-3); font-size: 10px; font-weight: 500; letter-spacing: .04em; }
.a-theme .nav { display: flex; align-items: center; gap: 3px; }
.a-theme .nav a { padding: 8px 11px; border-radius: 8px; color: var(--text-2); font-size: 13px; transition: background .18s, color .18s; white-space: nowrap; }
.a-theme .nav a:hover { background: var(--surface-2); color: var(--text); }
.a-theme .nav a.active { background: var(--primary-weak); color: var(--primary); font-weight: 650; }
.a-theme .nav-toggle { display: none; flex: none; }
.a-theme .site-header .search { max-width: 300px; }
.a-theme .site-header .search .input { height: 38px; background: var(--surface-2); }
.a-theme .user-trigger { height: 40px; padding: 0 10px 0 5px; border-color: transparent; border-radius: 10px; }
.a-theme .user-trigger:hover { background: var(--surface-2); border-color: transparent; }
.a-theme .avatar { width: 31px; height: 31px; background: var(--primary-weak); color: var(--primary); font-size: 12px; }
.a-theme .dropdown { min-width: 214px; padding: 7px; border-radius: 12px; box-shadow: 0 16px 40px rgba(30, 49, 79, .12); }
.a-theme .dropdown-item { border-radius: 7px; padding: 9px 10px; }
.a-theme .dropdown-item:hover { background: var(--primary-weak); color: var(--primary); }

/* 按钮与表单 */
.a-theme .btn {
  min-height: 38px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid #ccd6e2;
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  transition: background .18s, border-color .18s, color .18s, transform .12s;
}
.a-theme .btn:hover { background: var(--surface-2); border-color: #aebdd0; color: var(--text); }
.a-theme .btn:active { transform: scale(.98); }
.a-theme .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.a-theme .btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.a-theme .btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.a-theme .btn-danger { color: var(--danger); border-color: #efc9c9; }
.a-theme .btn-danger:hover { color: var(--danger); background: var(--danger-weak); border-color: #e4aaaa; }
.a-theme .btn-ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.a-theme .btn-ghost:hover { background: var(--primary-weak); border-color: transparent; color: var(--primary); }
.a-theme .btn-sm { min-height: 32px; height: 32px; padding: 0 11px; border-radius: 7px; font-size: 12px; }
.a-theme .btn-lg { min-height: 44px; height: 44px; padding: 0 20px; font-size: 14px; }
.a-theme .icon-btn { width: 36px; height: 36px; border-radius: 8px; color: var(--text-2); }
.a-theme .icon-btn:hover { background: var(--primary-weak); color: var(--primary); }
.a-theme .label { color: var(--text-2); font-size: 12px; font-weight: 650; }
.a-theme .field { gap: 7px; }
.a-theme .input, .a-theme .select, .a-theme .textarea {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background-color: #fff;
  color: var(--text);
  font-size: 13px;
  transition: border-color .18s, box-shadow .18s;
}
.a-theme .textarea { height: auto; min-height: 108px; padding: 11px 12px; }
.a-theme .input:focus, .a-theme .select:focus, .a-theme .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.a-theme .search .input { height: 42px; padding-left: 38px; }
.a-theme .search svg { left: 13px; }
.a-theme .hint { color: var(--text-3); font-size: 12px; }

/* 通用组件 */
.a-theme .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: none;
}
.a-theme .card-pad { padding: 24px; }
.a-theme .card-head { padding: 18px 22px; border-bottom: 1px solid var(--border); }
.a-theme .card-title { color: var(--text); font-size: 15px; font-weight: 700; }
.a-theme .card-body { padding: 22px; }
.a-theme a.card:hover { border-color: #c8d8f5; box-shadow: 0 12px 30px rgba(35, 59, 95, .06); }
.a-theme .badge, .a-theme .tg-badge {
  height: 23px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 650;
}
.a-theme .tag { padding: 2px 8px; border-radius: 5px; background: var(--surface-2); color: var(--text-2); font-size: 11px; }
.a-theme .tag-btn { border-color: var(--border); background: #fff; }
.a-theme .tag-btn.active { background: var(--primary-weak); color: var(--primary); border-color: #c9d9fb; }
.a-theme .tabs { gap: 6px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.a-theme .tab { padding: 11px 14px; color: var(--text-2); font-size: 13px; }
.a-theme .tab.active { color: var(--primary); font-weight: 650; }
.a-theme .chips { gap: 7px; }
.a-theme .chip { padding: 7px 13px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--text-2); font-size: 12px; }
.a-theme .chip:hover { background: #fff; border-color: var(--border); color: var(--text); }
.a-theme .chip.active { background: var(--primary-weak); border-color: transparent; color: var(--primary); font-weight: 650; }
.a-theme .chip .muted { color: inherit; opacity: .65; margin-left: 3px; }
.a-theme .toolbar { gap: 12px; margin-bottom: 20px; }
.a-theme .table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.a-theme table.data, .a-theme table.table { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; }
.a-theme table.data th, .a-theme table.table th { padding: 12px 14px; background: var(--surface-2); color: var(--text-2); border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 650; white-space: nowrap; }
.a-theme table.data td, .a-theme table.table td { padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.a-theme table.data tbody tr:hover, .a-theme table.table tbody tr:hover { background: #fafbff; }
.a-theme .stat { padding: 19px 20px; border-radius: 12px; box-shadow: none; }
.a-theme .stat-label { color: var(--text-2); font-size: 12px; }
.a-theme .stat-value { margin-top: 8px; color: var(--text); font-size: 29px; font-weight: 750; letter-spacing: -.04em; }
.a-theme .stat-sub { color: var(--text-3); font-size: 11px; }
.a-theme .empty { min-height: 240px; color: var(--text-3); }
.a-theme .empty-title { color: var(--text-2); font-size: 14px; }
.a-theme .pager { gap: 7px; padding-top: 22px; flex-wrap: wrap; }
.a-theme .pager button { min-width: 34px; height: 34px; border-radius: 7px; font-size: 12px; }
.a-theme .pager button.active { background: var(--primary); border-color: var(--primary); }
.a-theme .callout { padding: 12px 14px; border-radius: 9px; background: var(--primary-weak); border-color: #d9e4fa; }
.a-theme .callout-info { background: var(--primary-weak); color: var(--text-2); border: 1px solid #d9e4fa; }
.a-theme .callout-warn { background: var(--warning-weak); color: var(--warning); border: 1px solid #eedfbf; }
.a-theme .badge-soft { background: var(--primary-weak); color: var(--primary); }
.a-theme .dropzone { min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; background: var(--surface-2); }
.a-theme .dropzone:hover, .a-theme .dropzone.over { background: var(--primary-weak); border-color: var(--primary); }
.a-theme .modal-backdrop { background: rgba(20, 31, 49, .42); backdrop-filter: blur(4px); }
.a-theme .modal { max-width: 550px; border-radius: 16px; box-shadow: var(--shadow-lg); }
.a-theme .modal-lg { max-width: 780px; }
.a-theme .modal-head { padding: 19px 22px; }
.a-theme .modal-title { font-size: 16px; font-weight: 700; }
.a-theme .modal-body { padding: 22px; gap: 16px; }
.a-theme .modal-foot { padding: 15px 22px; }
#toast-host { top: auto; left: auto; right: 24px; bottom: 24px; transform: none; align-items: flex-end; }
.a-theme .toast, #toast-host .toast { padding: 12px 16px; border-radius: 10px; background: var(--text); color: #fff; box-shadow: 0 14px 40px rgba(24, 36, 58, .20); font-size: 12px; }
.a-theme .toast.success, #toast-host .toast.success { background: var(--text); color: #fff; }
.a-theme .toast.error, #toast-host .toast.error { background: var(--danger); color: #fff; }
.a-theme .site-footer { margin-top: 20px; padding: 25px 0 30px; border-top: 1px solid var(--border); text-align: center; }
.a-theme .site-footer .beian-link { color: var(--text-3); font-size: 11px; }

/* 首页 · 开放工作台 */
.a-index main.page { padding-top: 0; }
.a-index .site-header .search { display: none; }
.a-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 64px; align-items: center; padding: 52px 0 34px; }
.a-hero-copy { min-width: 0; }
.a-hero-label { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 17px; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.a-hero-label::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--primary); }
.a-hero h1 { max-width: 620px; font-size: clamp(40px, 4.1vw, 54px); line-height: 1.16; letter-spacing: -.055em; }
.a-hero-copy > p { max-width: 590px; margin-top: 18px; color: var(--text-2); font-size: 15px; line-height: 1.8; }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 620px; height: 56px; margin-top: 26px; padding: 6px 6px 6px 17px; border: 1px solid #d7e0ec; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(36, 61, 98, .06); }
.hero-search > svg { flex: none; color: var(--text-3); }
.hero-search input { min-width: 0; flex: 1; height: 40px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }
.hero-search input::placeholder { color: var(--text-3); }
.hero-search .btn { height: 42px; min-width: 74px; }
.hero-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring), 0 8px 24px rgba(36, 61, 98, .06); }
.quick-search { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 13px; color: var(--text-3); font-size: 11px; }
.quick-search button { padding: 0; border: 0; background: none; color: var(--text-2); cursor: pointer; font-size: 11px; }
.quick-search button:hover { color: var(--primary); }
.featured-skill { display: flex; min-width: 0; min-height: 315px; flex-direction: column; padding: 26px; border: 1px solid #dce6fb; border-radius: 18px; background: #edf3ff; color: var(--text); transition: border-color .18s, box-shadow .18s, transform .18s; }
.featured-skill:hover { border-color: #c3d5fb; box-shadow: 0 14px 32px rgba(47, 102, 246, .08); transform: translateY(-2px); }
.featured-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--primary); font-size: 11px; font-weight: 700; }
.featured-top span:last-child { padding: 3px 8px; border-radius: 5px; background: rgba(255, 255, 255, .72); color: var(--text-2); font-weight: 550; }
.featured-icon { width: 46px; height: 46px; margin-top: 25px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--primary); font-size: 20px; font-weight: 700; }
.featured-skill h2 { margin-top: 15px; font-size: 21px; letter-spacing: -.03em; }
.featured-skill > p { margin-top: 8px; color: #5c7094; font-size: 12px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.featured-tags span { padding: 2px 7px; border-radius: 4px; background: rgba(255, 255, 255, .7); color: #5c7094; font-size: 10px; }
.featured-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.featured-bottom strong { margin-right: 5px; color: var(--text); font-size: 21px; }
.featured-bottom span { color: var(--text-2); font-size: 11px; }
.featured-link { display: inline-flex; align-items: center; gap: 5px; color: var(--primary) !important; font-weight: 650; }
.a-index .metrics-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.a-index .hero-stats { display: flex; align-items: center; gap: 44px; margin: 0; }
.a-index .hero-stats > div { display: flex; align-items: baseline; gap: 8px; }
.a-index .hero-stat-value { color: var(--text); font-size: 24px; font-weight: 750; line-height: 28px; letter-spacing: -.04em; }
.a-index .hero-stat-label { color: var(--text-2); font-size: 11px; line-height: 18px; }
.catalog-section { margin-top: 42px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { font-size: 27px; letter-spacing: -.04em; }
.section-heading p { margin-top: 5px; color: var(--text-2); font-size: 12px; }
.result-count { color: var(--text-3); font-size: 11px; white-space: nowrap; }
.a-index .browse-toolbar { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
.a-index .browse-toolbar .chips { min-width: 0; flex: 1; }
.a-index #sort-select { width: 132px !important; height: 38px; background-color: #fff; }
.a-index .active-tags-row { padding: 0 0 14px; }
.a-index #skill-list.skill-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.a-index #skill-list > .skill-card { position: relative; display: grid; grid-template-columns: minmax(230px, 1.1fr) minmax(280px, 1.55fr) 190px; grid-template-rows: auto auto; gap: 7px 24px; min-width: 0; padding: 21px 22px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; cursor: pointer; transition: background .18s; }
.a-index #skill-list > .skill-card:last-child { border-bottom: 0; }
.a-index #skill-list > .skill-card:hover { background: #f8faff; transform: none; box-shadow: none; }
.a-index #skill-list > .skill-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); opacity: 0; transition: opacity .18s; }
.a-index #skill-list > .skill-card:hover::before { opacity: 1; }
.a-index .skill-card-top { grid-column: 1; grid-row: 1 / span 2; align-items: center; }
.a-index .skill-summary { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 0; -webkit-line-clamp: 2; line-clamp: 2; font-size: 12px; }
.a-index #skill-list .skill-card > .row.wrap { grid-column: 3; grid-row: 1; align-self: end; }
.a-index .skill-footer { grid-column: 3; grid-row: 2; align-self: start; padding: 0; border: 0; font-size: 10px; }
.a-index .skill-name { font-size: 15px; font-weight: 700; }
.a-index .skill-meta { margin-top: 3px; font-size: 10px; }
.a-theme .skill-icon, .a-theme .detail-icon { background: var(--skill-soft, var(--primary-weak)); color: var(--skill-accent, var(--primary)); font-weight: 750; }
.a-index .skill-icon { width: 42px; height: 42px; border-radius: 10px; font-size: 16px; }
.a-index .skill-stats { gap: 11px; }
.package-promo { display: flex; align-items: center; gap: 20px; margin-top: 44px !important; padding: 27px 28px !important; border-color: #dce6fb !important; border-radius: 16px !important; background: #edf3ff !important; text-decoration: none; }
.package-promo .logo-mark { width: 46px !important; height: 46px !important; border-radius: 12px !important; background: #fff !important; color: var(--primary) !important; }
.package-promo strong { font-size: 18px; }
.package-promo .package-promo-title { color: var(--text); font-size: 18px; font-weight: 700; }
.package-promo .package-promo-sub { margin-top: 5px; color: #5c7094; font-size: 12px; }
.package-promo .package-promo-link { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--primary); font-size: 12px; font-weight: 700; white-space: nowrap; }
.a-index .metric-upload { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 7px; margin-left: auto; }
.a-index .metric-upload-btn { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 0 16px; border: 1px solid var(--primary); border-radius: 8px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 650; white-space: nowrap; }
.a-index .metric-upload-btn svg { color: #fff; }
.a-index .metric-upload-btn:hover { border-color: #2456d8; background: #2456d8; color: #fff; }
.a-index .metric-upload-note { color: var(--text-2); font-size: 12px; line-height: 18px; white-space: nowrap; }

/* 列表页通用标题 */
.a-packages .hero, .a-connect .hero { padding: 26px 0 28px; gap: 9px; }
.a-packages .hero h1, .a-connect .hero h1 { font-size: 34px !important; letter-spacing: -.045em; }
.a-packages .hero p, .a-connect .hero p { max-width: 720px; color: var(--text-2); font-size: 13px; }
.a-my main > .row-between:first-child, .a-admin main > .row-between:first-child, .a-booking main > .row-between:first-child, .a-innovation main > .row-between:first-child { margin-bottom: 28px !important; }
.a-my main > .row-between:first-child h1, .a-admin main > .row-between:first-child h1, .a-booking main > .row-between:first-child h1, .a-innovation main > .row-between:first-child h1 { font-size: 30px !important; letter-spacing: -.04em; }
.a-my main > .row-between:first-child p, .a-admin main > .row-between:first-child p, .a-booking main > .row-between:first-child p, .a-innovation main > .row-between:first-child p { margin-top: 7px !important; font-size: 12px !important; }

/* 岗位包 */
.a-packages #pkg-list.skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.a-packages #pkg-list > .skill-card { min-height: 220px; padding: 23px; border-radius: 14px; box-shadow: none; }
.a-packages #pkg-list > .skill-card:hover { transform: none; box-shadow: 0 12px 30px rgba(35, 59, 95, .06); }
.a-packages .skill-name { font-size: 19px; }
.a-packages .skill-summary { -webkit-line-clamp: 2; line-clamp: 2; }
.a-packages .skill-footer { margin-top: auto; }
.a-packages .skill-footer > span:last-child { color: var(--primary); font-weight: 650; }
.a-packages .search { max-width: 440px; }
.a-package #pkg-detail > .card.card-pad { padding: 30px; border-color: #dce6fb; background: #edf3ff; }
.a-package #pkg-detail h1 { font-size: 28px !important; letter-spacing: -.04em; }
.a-package #pkg-detail > .card .muted { color: #5c7094; line-height: 1.8; }
.a-package #pkg-detail > h2 { margin-top: 30px !important; font-size: 21px !important; }
.a-package #pkg-detail .skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-package #pkg-detail .skill-card { box-shadow: none; }
.a-package #pkg-detail .skill-card:hover { transform: none; box-shadow: 0 12px 30px rgba(35, 59, 95, .06); }

/* 技能详情 */
.a-skill #app > .card.card-pad { padding: 27px; }
.a-skill .detail-head { gap: 20px; }
.a-skill .detail-icon { width: 58px; height: 58px; border-radius: 13px; }
.a-skill .detail-title { font-size: 28px; letter-spacing: -.04em; }
.a-skill .detail-sub { color: var(--text-2); line-height: 1.8; }
.a-skill .layout-2col { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
.a-skill .layout-2col > * { min-width: 0; }
.a-skill .card-body.markdown { padding: 27px; }
.a-skill .side-block { padding: 19px 21px; }
.a-skill .side-label { margin-bottom: 9px; color: var(--text-2); font-size: 11px; font-weight: 650; }
.a-skill .kv { font-size: 12px; }
.a-theme .markdown { min-width: 0; color: var(--text); font-size: 14px; line-height: 1.85; }
.a-theme .markdown h1 { font-size: 22px; }
.a-theme .markdown h2 { font-size: 18px; padding-bottom: 9px; }
.a-theme .markdown h3 { font-size: 15px; }
.a-theme .markdown code { border-radius: 4px; background: var(--primary-weak); color: var(--primary); }
.a-theme .markdown pre { max-width: 100%; border-radius: 10px; background: var(--text); border-color: var(--text); color: #e8effe; }
.a-theme .markdown pre code { padding: 0; background: transparent; color: #e8effe; }

/* 我的技能与 API Key */
.a-my #status-tabs { padding: 0 4px; }
.a-my #my-list { gap: 12px; }
.a-my #my-list > .card { padding: 20px 22px; transition: border-color .18s, background .18s; }
.a-my #my-list > .card:hover { border-color: #c8d8f5; background: #fbfcff; }
.a-my .dropzone-title { font-size: 14px; }
.a-keys .page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.a-keys .page-title { font-size: 30px; letter-spacing: -.04em; }
.a-keys .page-desc { max-width: 790px; margin-top: 8px; color: var(--text-2); font-size: 12px; line-height: 1.8; }
.a-keys .card-list { display: flex; flex-direction: column; gap: 12px; }
.a-keys .apikey-card { padding: 20px; }
.a-keys .apikey-name { font-size: 14px; }
.a-keys .apikey-text code, .a-keys .apikey-reveal-box code { border-radius: 8px; background: var(--surface-2); color: var(--text-2); }

/* Agent 接入 */
.a-connect .conn-tabs { max-width: 420px; }
.a-connect .conn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.a-connect .conn-feat { padding: 20px; gap: 11px; }
.a-connect .conn-feat h3 { font-size: 14px; }
.a-connect .conn-feat p { color: var(--text-2); font-size: 12px; line-height: 1.75; }
.a-connect .stat-icon { width: 34px; height: 34px; border-radius: 9px; }
.a-connect .conn-section { padding: 25px; }
.a-connect .conn-h2 { font-size: 18px; }
.a-connect .conn-code { padding: 18px 20px; border: 1px solid var(--text); border-radius: 10px; background: var(--text); color: #e8effe; font-size: 12px; line-height: 1.8; }
.a-connect .conn-quote { padding: 14px 16px; border: 1px solid #dce6fb; border-radius: 9px; background: #f5f8ff; color: #526887; }
.a-connect .conn-install { padding: 16px; border-radius: 10px; background: var(--surface-2); }
.a-connect .table-wrap { margin-top: 16px !important; }

/* 登录 */
.a-login.auth-page { min-height: 100dvh; display: block; padding: 0 32px; background: #f4f7fb; }
.login-layout { width: 100%; max-width: 1120px; min-height: calc(100dvh - 86px); margin: 0 auto; padding: 52px 0; display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 90px; }
.login-intro { min-width: 0; }
.login-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 48px; }
.login-brand .logo-mark { width: 40px; height: 40px; border-radius: 11px; }
.login-brand strong { display: block; font-size: 16px; }
.login-brand small { display: block; margin-top: 2px; color: var(--text-3); font-size: 11px; }
.login-eyebrow { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.login-intro h1 { max-width: 540px; margin-top: 14px; font-size: 42px; line-height: 1.22; letter-spacing: -.05em; }
.login-intro > p { max-width: 520px; margin-top: 18px; color: var(--text-2); font-size: 14px; line-height: 1.85; }
.login-benefits { display: grid; gap: 14px; margin-top: 32px; }
.login-benefit { display: flex; align-items: center; gap: 12px; color: #40577f; font-size: 13px; }
.login-benefit span:first-child { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #dce6fb; border-radius: 8px; background: #edf3ff; color: var(--primary); font-size: 12px; font-weight: 750; }
.a-login .auth-card { width: 100%; max-width: 420px; padding: 34px; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 50px rgba(35, 59, 95, .07); }
.a-login .auth-brand { align-items: flex-start; margin-bottom: 26px; }
.a-login .auth-brand .logo-mark { display: none; }
.a-login .auth-title { font-size: 22px; }
.a-login .auth-sub { margin-top: 5px; color: var(--text-2); text-align: left; font-size: 12px; }
.a-login #login-form { gap: 17px; }
.a-login .input { height: 46px; }
.a-login #submit-btn { height: 46px; margin-top: 2px; }
.a-login .auth-alt { margin-top: 21px; padding-top: 18px; font-size: 11px; }
.a-login .site-footer { margin-top: 0; }

/* 管理后台 */
.a-admin main.container { max-width: 1440px; }
.a-admin .admin-layout { grid-template-columns: 208px minmax(0, 1fr); gap: 24px; }
.a-admin .sidebar { top: calc(var(--header-h) + 22px); padding: 9px; border-radius: 12px; box-shadow: none; }
.a-admin .sidebar-item { min-height: 40px; padding: 9px 12px; border-radius: 8px; font-size: 12px; }
.a-admin .sidebar-item.active { background: var(--primary-weak); color: var(--primary); font-weight: 650; }
.a-admin .sidebar-count { border-radius: 5px; background: var(--warning-weak); color: var(--warning); }
.a-admin .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.a-admin .card { border-radius: 12px; }
.a-admin .card-head { padding: 16px 19px; }
.a-admin .card-body { padding: 19px; }
.a-admin .module-card { border-radius: 10px; box-shadow: none; }
.a-admin .switch-track { width: 40px; height: 23px; background: #d6dee8; }
.a-admin .switch-thumb { width: 17px; height: 17px; }
.a-admin .switch input:checked + .switch-track .switch-thumb { transform: translateX(17px); }
.a-admin .bulk-bar { border-radius: 9px; }

/* 天工启智 */
.a-tg .tg-hero { padding: 28px 0 0; background: transparent; color: var(--text); }
.a-tg .tg-hero-inner { position: relative; width: calc(100% - 64px); max-width: 1280px; margin: 0 auto; padding: 32px 34px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; overflow: hidden; border: 1px solid #dce6fb; border-radius: 18px; background: #edf3ff; }
.a-tg .tg-hero h1 { color: var(--text); font-size: 34px; letter-spacing: -.04em; }
.a-tg .tg-hero h1 .tg-seal { border: 1px solid #cfddf8; border-radius: 6px; background: rgba(255,255,255,.7); color: var(--primary); font-size: 11px; font-weight: 650; letter-spacing: 0; }
.a-tg .tg-hero p { margin-top: 10px; color: #5c7094; opacity: 1; font-size: 13px; }
.tg-hero-flow { display: flex; align-items: center; gap: 0; }
.tg-flow-node { position: relative; min-width: 115px; padding: 16px 14px; border: 1px solid #d6e2f7; border-radius: 11px; background: rgba(255,255,255,.72); text-align: center; }
.tg-flow-node + .tg-flow-node { margin-left: 24px; }
.tg-flow-node + .tg-flow-node::before { content: ""; position: absolute; left: -25px; top: 50%; width: 24px; height: 1px; background: #b9cdef; }
.tg-flow-node b { display: block; color: var(--primary); font-size: 11px; }
.tg-flow-node span { display: block; margin-top: 4px; color: var(--text-2); font-size: 11px; }
.a-tg .tg-subtab-wrap { top: var(--header-h); z-index: 55; margin-top: 22px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.a-tg .tg-subtabs { max-width: 1280px; padding: 0 32px; }
.a-tg .tg-subtabs button { padding: 14px 17px; font-size: 13px; }
.a-tg main.container { max-width: 1280px; }
.a-tg main.page { padding-top: 24px; }
.a-tg .card { padding: 21px; border: 1px solid var(--border); border-radius: 13px; box-shadow: none; }
.a-tg .card-title { margin-bottom: 16px; font-size: 14px; }
.a-tg .card-title::before { width: 3px; height: 15px; background: var(--primary); }
.a-tg .tg-stat-grid { gap: 13px; }
.a-tg .tg-stat { padding: 18px 19px; border: 1px solid var(--border); border-radius: 12px; box-shadow: none; }
.a-tg .tg-stat::after { opacity: .45; }
.a-tg .tg-stat .num { font-size: 29px; letter-spacing: -.04em; }
.a-tg .tg-grid-2, .a-tg .tg-grid-3-2 { gap: 16px; }
.a-tg .tg-proj-card { padding: 20px; border: 1px solid var(--border); border-radius: 13px; box-shadow: none; transition: border-color .18s, box-shadow .18s; }
.a-tg .tg-proj-card:hover { transform: none; border-color: #c8d8f5; box-shadow: 0 10px 26px rgba(35,59,95,.06); }
.a-tg .tg-proj-card h3 { font-size: 15px; }
.a-tg .tg-pbar { height: 7px; background: #edf1f5; }
.a-tg .tg-pbar > i { background: var(--primary); }
.a-tg .tg-pbar.done > i { background: var(--success); }
.a-tg .tg-badge.pending { background: var(--warning-weak); color: var(--warning); }
.a-tg .tg-badge.in_progress { background: var(--primary-weak); color: var(--primary); }
.a-tg .tg-badge.completed { background: var(--success-weak); color: var(--success); }
.a-tg .tg-badge.rejected { background: var(--danger-weak); color: var(--danger); }
.a-tg .tg-line-1 { background: var(--primary-weak); color: var(--primary); }
.a-tg .tg-chip { border-radius: 5px; background: var(--primary-weak); color: var(--primary); }
.a-tg .tg-tl-body, .a-tg .tg-textbox { border-radius: 9px; background: var(--surface-2); }
.a-tg .tg-filterbar { padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.a-tg .tg-grid th, .a-tg .tg-grid td { border-color: var(--border); }
.a-tg .tg-grid thead th { background: var(--surface-2); }
.a-tg .tg-grid tbody tr:hover { background: #fafbff; }

/* 会议与微创新 */
.a-booking .room-card, .a-innovation .idea-card { padding: 20px; }
.a-booking .two-col { gap: 18px; }
.a-booking .slot { height: 37px; border-radius: 7px; }
.a-booking input[type="date"] { height: 38px !important; border-radius: 8px !important; }
.a-innovation .cat-tab { padding: 7px 13px; border-radius: 8px; }
.a-innovation .cat-tab.active { background: var(--primary-weak); border-color: transparent; color: var(--primary); font-weight: 650; }
.a-innovation .idea-title { font-size: 16px; }
.a-change-password main > .card { padding: 30px; border-radius: 16px; }

/* 响应式 */
@media (max-width: 1180px) {
  .a-theme .site-header .container { gap: 12px; }
  .a-theme .nav a { padding-left: 9px; padding-right: 9px; }
  .a-hero { gap: 38px; }
  .a-index #skill-list > .skill-card { grid-template-columns: minmax(220px, 1.1fr) minmax(230px, 1.3fr) 150px; gap: 7px 18px; }
  .a-connect .conn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-package #pkg-detail .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-tg .tg-hero-inner { grid-template-columns: 1fr; gap: 22px; }
  .tg-hero-flow { justify-content: flex-start; }
}

@media (max-width: 1080px) {
  .a-theme .nav-toggle { display: grid; }
  .a-theme .site-header .nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(30,49,79,.12); }
  .a-theme .site-header.nav-open .nav { display: grid; }
  .a-theme .nav a { padding: 10px 12px; text-align: center; }
  .a-theme .site-header .search { display: none; }
  .a-index .hero-stats { gap: 20px; }
  .a-admin .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .a-hero { grid-template-columns: 1fr; gap: 26px; padding-top: 38px; }
  .featured-skill { min-height: 270px; }
  .a-index #skill-list > .skill-card { grid-template-columns: minmax(200px, 1fr) minmax(220px, 1.2fr); }
  .a-index #skill-list .skill-card > .row.wrap { display: none; }
  .a-index .skill-footer { grid-column: 1 / -1; grid-row: 2; flex-direction: row; }
  .a-index .skill-card-top, .a-index .skill-summary { grid-row: 1; }
  .a-index .skill-summary { grid-column: 2; }
  .a-index .metrics-row { padding: 18px 0; }
  .a-index .browse-toolbar { align-items: flex-start; flex-direction: column; }
  .a-index .browse-toolbar .chips { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .a-index .chip { flex: none; }
  .a-skill .layout-2col { grid-template-columns: minmax(0, 1fr); }
  .login-layout { grid-template-columns: 1fr; max-width: 520px; gap: 34px; padding: 38px 0; }
  .login-brand { margin-bottom: 28px; }
  .login-intro h1 { font-size: 34px; }
  .login-benefits { display: none; }
  .a-login .auth-card { max-width: none; }
  .a-tg .tg-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .a-theme .container { padding-left: 18px; padding-right: 18px; }
  .a-theme .page { padding-top: 23px; padding-bottom: 45px; }
  .a-theme .logo-text small { display: none; }
  .a-theme .logo-text strong { font-size: 14px; }
  .a-theme .logo-mark { width: 33px; height: 33px; border-radius: 9px; }
  .a-theme .site-header .container { gap: 8px; }
  .a-theme .user-trigger { padding-right: 6px; }
  .a-theme .user-trigger .nowrap { display: none; }
  .a-theme .site-header .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-theme .card-pad { padding: 19px; }
  .a-theme .modal-backdrop { padding: 12px; }
  .a-theme .modal-body { padding: 18px; }
  #toast-host { left: 16px; right: 16px; bottom: 16px; align-items: stretch; }
  .a-hero { padding-top: 30px; }
  .a-hero h1 { font-size: 38px; }
  .a-hero-copy > p { font-size: 13px; }
  .hero-search { height: 52px; padding-left: 13px; }
  .hero-search .btn { min-width: 64px; height: 39px; padding: 0 12px; }
  .featured-skill { min-height: 290px; padding: 22px; }
  .a-index .metrics-row { align-items: stretch; flex-direction: column; gap: 16px; }
  .a-index .hero-stats { width: 100%; justify-content: space-between; gap: 12px; }
  .a-index .hero-stats > div { flex-direction: column; gap: 0; }
  .a-index .hero-stat-value { font-size: 22px; }
  .catalog-section { margin-top: 32px; }
  .section-heading h2 { font-size: 24px; }
  .a-index #skill-list > .skill-card { display: flex; flex-direction: column; gap: 12px; padding: 19px; }
  .a-index .skill-card-top, .a-index .skill-summary, .a-index .skill-footer, .a-index #skill-list .skill-card > .row.wrap { display: flex; grid-column: auto; grid-row: auto; }
  .a-index #skill-list .skill-card > .row.wrap { flex-wrap: wrap; }
  .a-index .skill-footer { padding-top: 11px; border-top: 1px solid var(--border); }
  .package-promo { align-items: flex-start; padding: 21px !important; }
  .package-promo .package-promo-link { align-self: center; font-size: 0; }
  .package-promo .package-promo-link::after { content: "→"; font-size: 20px; }
  .a-index .metric-upload { margin-left: 0; align-items: flex-end; }
  .a-packages .hero h1, .a-connect .hero h1 { font-size: 28px !important; }
  .a-packages #pkg-list.skill-grid, .a-package #pkg-detail .skill-grid { grid-template-columns: 1fr; }
  .a-package #pkg-detail > .card.card-pad { padding: 22px; }
  .a-package #pkg-detail h1 { font-size: 24px !important; }
  .a-skill .detail-head { flex-direction: column; }
  .a-skill .detail-title { font-size: 24px; }
  .a-skill .card-body.markdown { padding: 20px; }
  .a-my main > .row-between:first-child h1, .a-admin main > .row-between:first-child h1, .a-booking main > .row-between:first-child h1, .a-innovation main > .row-between:first-child h1, .a-keys .page-title { font-size: 25px !important; }
  .a-keys .page-head { flex-direction: column; }
  .a-keys .apikey-main { min-width: 100%; }
  .a-connect .conn-grid { grid-template-columns: 1fr; }
  .a-connect .conn-section { padding: 20px; }
  .a-login.auth-page { padding: 0 18px; }
  .login-layout { padding: 28px 0; }
  .login-intro h1 { font-size: 30px; }
  .login-intro > p { font-size: 13px; }
  .a-login .auth-card { padding: 25px 21px; }
  .a-admin .admin-layout { grid-template-columns: 1fr; }
  .a-admin .sidebar { display: flex; position: static; overflow-x: auto; }
  .a-admin .sidebar-item { flex: none; white-space: nowrap; }
  .a-admin .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-tg .tg-hero { padding-top: 18px; }
  .a-tg .tg-hero-inner { width: calc(100% - 36px); padding: 24px 21px; }
  .a-tg .tg-hero h1 { font-size: 28px; }
  .tg-hero-flow { width: 100%; }
  .tg-flow-node { min-width: 0; flex: 1; padding: 13px 7px; }
  .tg-flow-node + .tg-flow-node { margin-left: 14px; }
  .tg-flow-node + .tg-flow-node::before { left: -15px; width: 14px; }
  .a-tg .tg-subtabs { padding: 0 12px; overflow-x: auto; }
  .a-tg .tg-subtabs button { flex: none; padding: 13px 12px; }
  .a-tg .tg-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-tg .tg-filterbar { flex-direction: column; }
  .a-tg .tg-filterbar .input { width: 100% !important; min-width: 0 !important; }
  .a-booking .slot-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 420px) {
  .a-theme .logo-text { display: none; }
  .a-hero h1 { font-size: 35px; }
  .quick-search { gap: 9px; }
  .a-admin .stat-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .a-theme *, .a-theme *::before, .a-theme *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 福小端人物 Logo 与能力模块插画 · 本地实装 */
.a-theme .logo-mark.logo-mark-image {
  width: 46px;
  height: 46px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.a-theme .logo-mark-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.a-theme .logo:has(.logo-mark-image) { gap: 8px; }

.a-index .a-hero { grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: 54px; align-items: start; padding: 42px 0 34px; }
.a-hero-scene { position: relative; isolation: isolate; min-height: 400px; margin-left: -24px; margin-right: -42px; }
.a-hero-scene-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .96;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 72% 50%, #000 38%, rgba(0,0,0,.85) 58%, transparent 82%);
  mask-image: radial-gradient(ellipse at 72% 50%, #000 38%, rgba(0,0,0,.85) 58%, transparent 82%);
}
.a-hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244,247,251,.94) 0%, rgba(244,247,251,.84) 34%, rgba(244,247,251,.44) 52%, rgba(244,247,251,.04) 74%, rgba(244,247,251,0) 100%);
}
.a-hero-scene-copy { position: relative; z-index: 2; max-width: 490px; min-height: 400px; display: flex; flex-direction: column; padding: 28px 24px 30px; }
.a-hero-scene-copy .a-hero-label { margin-bottom: 48px; }
.a-hero-scene-copy h1 { max-width: 460px; }
.a-hero-scene-copy > p { max-width: 440px; margin-top: auto; padding-top: 18px; }
.a-index .hero-search { margin-top: 12px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* 近期热门 · 五卡层叠轮播 */
.hot-skills { min-width: 0; width: 100%; max-width: 480px; justify-self: end; padding-top: 14px; }
.hot-skills-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.hot-kicker { display: block; margin-bottom: 5px; color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.hot-skills-head h2 { font-size: 24px; letter-spacing: -.04em; }
.hot-count { padding: 4px 8px; border: 1px solid #d9e4f7; border-radius: 6px; background: #edf3ff; color: var(--primary); font-size: 10px; font-weight: 750; letter-spacing: .06em; }
.hot-stack { position: relative; width: calc(100% - 32px); height: 340px; }
.hot-card {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  padding: 25px;
  border: 1px solid #dce5f1;
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 18px 44px rgba(35, 59, 95, .10);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(30px, 38px, 0) scale(.91);
  transition: transform .62s cubic-bezier(.16, 1, .3, 1), opacity .38s ease;
}
.hot-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--hot-accent, var(--primary)); opacity: .9; }
.hot-card[data-pos="0"] { z-index: 5; opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
.hot-card[data-pos="1"] { z-index: 4; opacity: .78; transform: translate3d(14px, 17px, 0) rotate(1.2deg) scale(.965); }
.hot-card[data-pos="2"] { z-index: 3; opacity: .46; transform: translate3d(25px, 33px, 0) rotate(2.4deg) scale(.93); }
.hot-card[data-pos="3"] { z-index: 2; opacity: 0; transform: translate3d(30px, 44px, 0) rotate(3deg) scale(.90); }
.hot-card[data-pos="4"] { z-index: 6; opacity: 0; transform: translate3d(-30px, -8px, 0) rotate(-3deg) scale(1.02); }
.hot-card[data-pos="0"]:hover { transform: translate3d(0, -3px, 0) rotate(0deg) scale(1); box-shadow: 0 22px 48px rgba(35, 59, 95, .13); }
.hot-card-content { width: 100%; min-width: 0; display: flex; flex-direction: column; opacity: 1; transition: opacity .28s ease; }
.hot-card:not([data-pos="0"]) .hot-card-content { opacity: 0; }
.hot-card-skeleton { position: relative; height: 100%; opacity: 1; }
.hot-skill-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hot-rank { color: var(--primary); font-size: 11px; font-weight: 750; letter-spacing: .10em; }
.hot-category { padding: 3px 8px; border-radius: 5px; background: var(--primary-weak); color: #526a96; font-size: 10px; }
.hot-skill-heading { display: flex; align-items: center; gap: 14px; margin-top: 27px; }
.hot-card .skill-icon { width: 52px; height: 52px; flex: none; border-radius: 14px; font-size: 19px; }
.hot-skill-heading > div { min-width: 0; }
.hot-skill-heading h3 { overflow: hidden; color: var(--text); font-size: 22px; line-height: 1.3; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.hot-skill-meta { display: block; margin-top: 5px; overflow: hidden; color: var(--text-3); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.hot-summary { margin-top: 20px; color: var(--text-2); font-size: 13px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.hot-tags span { padding: 2px 7px; border-radius: 5px; background: #f3f6fa; color: var(--text-2); font-size: 10px; }
.hot-skill-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid #edf1f5; }
.hot-skill-bottom strong { margin-right: 5px; color: var(--text); font-size: 22px; letter-spacing: -.04em; }
.hot-skill-bottom span { color: var(--text-3); font-size: 10px; }
.hot-skill-bottom .hot-open { display: inline-flex; align-items: center; gap: 5px; color: var(--primary); font-size: 11px; font-weight: 700; }
.hot-stack-footer { width: calc(100% - 32px); display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 55px; }
.hot-dots { display: flex; align-items: center; gap: 7px; }
.hot-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #c8d3e3; cursor: pointer; }
.hot-dot.active { width: 20px; border-radius: 5px; background: var(--primary); }
.hot-actions { display: flex; align-items: center; gap: 12px; }
#featured-counter { color: var(--text-3); font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hot-pause { padding: 4px 0; border: 0; background: transparent; color: var(--text-2); cursor: pointer; font-size: 10px; }
.hot-pause:hover { color: var(--primary); }
.hot-pause:disabled { cursor: default; opacity: .5; }
.hot-card-error { position: relative; height: 100%; display: grid; place-items: center; opacity: 1; color: var(--text-2); text-align: center; }

@media (max-width: 1180px) {
  .a-index .a-hero { grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr); gap: 32px; }
  .a-hero-scene { min-height: 385px; margin-left: -18px; margin-right: -28px; }
  .a-hero-scene-copy { min-height: 385px; padding-left: 18px; padding-right: 18px; }
  .a-hero-scene-copy .a-hero-label { margin-bottom: 38px; }
}
@media (max-width: 900px) {
  .a-index .a-hero { grid-template-columns: 1fr; gap: 24px; }
  .a-hero-scene { min-height: 400px; margin-left: -20px; margin-right: -20px; }
  .a-hero-scene-copy { min-height: 400px; max-width: 560px; padding-left: 20px; padding-right: 20px; }
  .hot-skills { max-width: 620px; justify-self: center; padding-top: 12px; }
}
@media (max-width: 680px) {
  .a-hero-scene { min-height: 390px; margin-left: -12px; margin-right: -12px; }
  .a-hero-scene-art { object-position: 62% center; opacity: .84; }
  .a-hero-scene::after { background: linear-gradient(90deg, rgba(244,247,251,.96) 0%, rgba(244,247,251,.86) 52%, rgba(244,247,251,.34) 78%, rgba(244,247,251,.02) 100%); }
  .a-hero-scene-copy { min-height: 390px; padding: 24px 12px 26px; }
  .a-hero-scene-copy .a-hero-label { margin-bottom: 42px; }
  .a-hero-scene-copy > p { max-width: 330px; }
  .hot-skills { padding-top: 10px; }
  .hot-skills-head { margin-bottom: 16px; }
  .hot-skills-head h2 { font-size: 22px; }
  .hot-stack { width: calc(100% - 20px); height: 340px; }
  .hot-card { padding: 22px; border-radius: 19px; }
  .hot-card[data-pos="1"] { transform: translate3d(9px, 14px, 0) rotate(1deg) scale(.97); }
  .hot-card[data-pos="2"] { transform: translate3d(16px, 27px, 0) rotate(1.8deg) scale(.94); }
  .hot-skill-heading h3 { font-size: 20px; }
  .hot-stack-footer { width: calc(100% - 20px); margin-top: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  .hot-card, .hot-card-content { transition: none !important; }
}

.login-layout { max-width: 1180px; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; padding: 42px 0; }
.login-intro {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-left: -24px;
  margin-right: -24px;
  padding: 30px 24px;
  border: 0;
  background: transparent;
}
.login-scene-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  opacity: .93;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 72% 58%, #000 36%, rgba(0,0,0,.84) 58%, transparent 84%);
  mask-image: radial-gradient(ellipse at 72% 58%, #000 36%, rgba(0,0,0,.84) 58%, transparent 84%);
}
.login-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244,247,251,.94) 0%, rgba(244,247,251,.84) 35%, rgba(244,247,251,.42) 54%, rgba(244,247,251,.04) 78%, rgba(244,247,251,0) 100%);
}
.login-brand, .login-copy { position: relative; z-index: 2; }
.login-brand { gap: 10px; margin-bottom: 60px; }
.login-brand .logo-mark.logo-mark-image { width: 52px; height: 52px; border-radius: 0; background: transparent; }
.login-copy { flex: 1; max-width: 450px; display: flex; flex-direction: column; }
.login-intro h1 { max-width: 450px; margin-top: 12px; font-size: 36px; }
.login-intro > p, .login-copy > p { max-width: 420px; margin-top: auto; padding-top: 20px; font-size: 13px; line-height: 1.8; }
.login-benefits { display: none; }

@media (max-width: 1180px) {
  .a-index .a-hero { grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr); gap: 32px; }
  .a-hero-visual { min-height: 410px; }
  .login-layout { gap: 38px; }
  .login-intro { min-height: 580px; margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .login-intro h1 { font-size: 33px; }
}

@media (max-width: 900px) {
  .a-index .a-hero { grid-template-columns: 1fr; gap: 26px; }
  .a-hero-visual { min-height: 440px; }
  .login-layout { grid-template-columns: 1fr; max-width: 520px; gap: 30px; padding: 38px 0; }
  .login-intro { min-height: 560px; }
  .login-intro h1 { max-width: 440px; font-size: 34px; }
  .login-brand { margin-bottom: 48px; }
}

@media (max-width: 680px) {
  .a-theme .logo-mark.logo-mark-image { width: 40px; height: 40px; border-radius: 0; }
  .a-index .a-hero { padding-top: 30px; }
  .a-hero-visual { min-height: 370px; border-radius: 18px; }
  .a-hero-visual .featured-skill { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 14px 16px; }
  .a-hero-visual .featured-skill h2 { font-size: 16px; }
  .login-layout { gap: 26px; }
  .login-intro { min-height: 500px; margin-left: -12px; margin-right: -12px; padding: 23px 12px; }
  .login-scene-art { object-position: 68% center; opacity: .82; }
  .login-intro::after { background: linear-gradient(90deg, rgba(244,247,251,.96) 0%, rgba(244,247,251,.86) 52%, rgba(244,247,251,.34) 78%, rgba(244,247,251,.02) 100%); }
  .login-brand .logo-mark.logo-mark-image { width: 46px; height: 46px; }
  .login-brand { margin-bottom: 38px; }
  .login-intro h1 { font-size: 29px; }
  .login-copy > p { font-size: 12px; }
}

@media (max-width: 420px) {
  .a-hero-visual { min-height: 350px; }
  .login-intro { min-height: 480px; }
}
